You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you.",
107
-
tools: {
108
-
todoread: false,
109
-
todowrite: false,
110
-
...defaultTools,
60
+
constplanPermission=mergeAgentPermissions(
61
+
{
62
+
edit: "deny",
63
+
bash: {
64
+
"cut*": "allow",
65
+
"diff*": "allow",
66
+
"du*": "allow",
67
+
"file *": "allow",
68
+
"find * -delete*": "ask",
69
+
"find * -exec*": "ask",
70
+
"find * -fprint*": "ask",
71
+
"find * -fls*": "ask",
72
+
"find * -fprintf*": "ask",
73
+
"find * -ok*": "ask",
74
+
"find *": "allow",
75
+
"git diff*": "allow",
76
+
"git log*": "allow",
77
+
"git show*": "allow",
78
+
"git status*": "allow",
79
+
"git branch": "allow",
80
+
"git branch -v": "allow",
81
+
"grep*": "allow",
82
+
"head*": "allow",
83
+
"less*": "allow",
84
+
"ls*": "allow",
85
+
"more*": "allow",
86
+
"pwd*": "allow",
87
+
"rg*": "allow",
88
+
"sort --output=*": "ask",
89
+
"sort -o *": "ask",
90
+
"sort*": "allow",
91
+
"stat*": "allow",
92
+
"tail*": "allow",
93
+
"tree -o *": "ask",
94
+
"tree*": "allow",
95
+
"uniq*": "allow",
96
+
"wc*": "allow",
97
+
"whereis*": "allow",
98
+
"which*": "allow",
99
+
"*": "ask",
100
+
},
101
+
webfetch: "allow",
111
102
},
112
-
options: {},
113
-
permission: agentPermission,
114
-
mode: "subagent",
115
-
builtIn: true,
116
-
},
117
-
build: {
118
-
name: "build",
119
-
tools: { ...defaultTools},
120
-
options: {},
121
-
permission: agentPermission,
122
-
mode: "primary",
123
-
builtIn: true,
124
-
},
125
-
plan: {
126
-
name: "plan",
127
-
options: {},
128
-
permission: planPermission,
129
-
tools: {
130
-
...defaultTools,
103
+
cfg.permission??{},
104
+
)
105
+
106
+
constresult: Record<string,Info>={
107
+
general: {
108
+
name: "general",
109
+
description:
110
+
"General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you.",
0 commit comments