Repository navigation
Commit 951ffc5
committed
Refactor agent search flags to use workspace configuration settings and standardize undo translations
- we want to make a few changes: 1) store flags of each agent in settings.json as .e.g 'agenticSearchCodexFlags' 2) update the flow to allow managing multiple sets of flag strings in each supported agent
- if there are agents with custom flags, show one without any as well
- drop parenthesis [Image], move the value to description
- change icon from 'add' to 'flags'
- allow undoing an agent with flags deletion, make sure the quick pick re-appear with the item restored
- rename 'flag deleted' to 'Flags deleted.'
- add missing translations [Fragment]
- move [Fragment] to common translations
- use the shared 'common.undo'
└── apps
└── editor
├── package.json
└── src
├── commands
│ ├── copy-paths-command.ts
│ ├── duplicate-workspace-command.ts
│ └── history-command
│ ├── actions
│ │ ├── clear-all-checkpoints.ts
│ │ ├── create-temporary-checkpoint.ts
│ │ ├── delete-checkpoint-with-undo.ts
│ │ ├── restore-checkpoint.ts
│ │ ├── sync-workspace-from-dir.ts
│ │ ├── toggle-checkpoint-pin.ts
│ │ └── update-checkpoint-description.ts
│ ├── history-command.ts
│ ├── index.ts
│ └── utils
│ └── sync-directory.ts
├── constants
│ └── state-keys.ts
├── context
│ └── context-initialization.ts
├── features
│ ├── context-restoration
│ │ └── utils
│ │ └── source-selector.ts
│ └── search-files
│ └── search-modes
│ └── perform-agent-search-mode
│ ├── agents
│ │ ├── antigravity.ts
│ │ ├── claude.ts
│ │ ├── codex.ts
│ │ └── opencode.ts
│ ├── index.ts
│ ├── types.ts
│ └── utils.ts
├── i18n
│ └── translations
│ ├── commands
│ │ └── history.ts
│ ├── common.ts
│ ├── features
│ │ └── search-files.ts
│ └── views
│ ├── settings
│ │ └── handlers
│ │ ├── handle-delete-model-provider.ts
│ │ └── handle-delete-template.ts
│ └── shared
│ └── actions
│ ├── api
│ │ └── delete.ts
│ └── web
│ └── delete.ts
└── views
├── prompt
│ └── backend
│ ├── message-handlers
│ │ ├── handle-autofill.ts
│ │ ├── handle-delete-task.ts
│ │ ├── handle-save-edit-format.ts
│ │ ├── handle-select-edit-format-instructions.ts
│ │ ├── handle-template-quick-pick.ts
│ │ └── handle-update-last-used-web-configuration.ts
│ └── prompt-view-provider.ts
├── settings
│ └── backend
│ └── message-handlers
│ ├── handle-delete-model-provider.ts
│ └── handle-delete-template.ts
└── shared
└── actions
├── api
│ └── delete.ts
└── web
└── delete.ts1 parent 76bc806 commit 951ffc5
14 files changed
Lines changed: 282 additions & 164 deletions
File tree
- apps/editor
- src
- commands/history-command/actions
- constants
- features/search-files/search-modes/perform-agent-search-mode
- i18n/translations
- commands
- features
- views
- settings/handlers
- views
- settings/backend/message-handlers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
1047 | 1075 | | |
1048 | 1076 | | |
1049 | 1077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | | - | |
| 78 | + | |
72 | 79 | | |
73 | 80 | | |
74 | 81 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
82 | 102 | | |
83 | | - | |
84 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
85 | 130 | | |
86 | 131 | | |
87 | 132 | | |
88 | 133 | | |
89 | 134 | | |
90 | 135 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 136 | + | |
| 137 | + | |
95 | 138 | | |
96 | 139 | | |
97 | 140 | | |
98 | 141 | | |
99 | 142 | | |
100 | 143 | | |
101 | 144 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
118 | 150 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
126 | 171 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
133 | 229 | | |
134 | | - | |
| 230 | + | |
135 | 231 | | |
136 | 232 | | |
137 | 233 | | |
138 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
139 | 239 | | |
140 | 240 | | |
141 | 241 | | |
| |||
144 | 244 | | |
145 | 245 | | |
146 | 246 | | |
| 247 | + | |
147 | 248 | | |
148 | 249 | | |
149 | 250 | | |
150 | 251 | | |
151 | 252 | | |
152 | 253 | | |
153 | 254 | | |
154 | | - | |
| 255 | + | |
155 | 256 | | |
156 | 257 | | |
157 | 258 | | |
158 | | - | |
| 259 | + | |
159 | 260 | | |
160 | 261 | | |
161 | 262 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
170 | 285 | | |
| 286 | + | |
| 287 | + | |
171 | 288 | | |
172 | 289 | | |
173 | 290 | | |
174 | 291 | | |
175 | | - | |
| 292 | + | |
176 | 293 | | |
177 | 294 | | |
178 | | - | |
179 | 295 | | |
180 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
181 | 311 | | |
182 | 312 | | |
183 | 313 | | |
184 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
185 | 318 | | |
186 | 319 | | |
187 | 320 | | |
| |||
330 | 463 | | |
331 | 464 | | |
332 | 465 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 466 | | |
339 | 467 | | |
340 | 468 | | |
| |||
0 commit comments