Repository navigation
Commit 1f1b040
committed
Add agentic search mode for workspace actions using external CLI tools
- when run from workspace's action button (only from there), place below 'intelligent' option: 'agent' (desc: Run CLI non-interactively), when selected do nothing
- let's work on Agent search mode: once clicked, if in multi-root folder workspace, let user select workspace, then list available agents e.g. user has antigravity if 'agy' is in path
- remember last selected root-folder of the workspace (if many such)
- once an agent is selected, ask the user for the query, then submit. Process response similarly to `apps/editor/src/commands/select-clipboard-paths-command.ts`
- do you call agy according to [Website]?
- checbox state on agentic results should follow the actual selection in the context (those selected are selected in the quick pick, those not selected are not selected there)
- preserve agent query
- allow searching in results for agent search
- add correct 'back' flow for agent search
- in agentic search, on the input's title bar say 'Agentic Search', instead of 'Intelligent Search'
- in description, when you say sth like 'agy -p', place full command you use for greter visibility
- instead of aider we use codex, finish changes
- add support for claude code
- capitalize antigravity
- don't use descriptions (hide the command from user's sight)
- upon cancellation, should not show "No files found containing this phrase."
- as agent work, tool calls made should appear in notification [Website]
- as agent works, we want to stream more readable progress updates [Website]
- in agentic search, skip 'Searching...:' prefix. Should immediately say Running:
- select one of available agent before selecting eventual root-folder
- limit the progress tool call lines to 60 characters
└── apps
└── editor
├── package.json
└── src
├── commands
│ ├── search-files-commands
│ │ ├── index.ts
│ │ ├── search-files-commands.ts
│ │ └── utils
│ │ ├── get-target-folder-path.ts
│ │ └── prompt-for-provided-results.ts
│ └── select-clipboard-paths-command.ts
├── constants
│ ├── instructions.ts
│ └── state-keys.ts
├── extension.ts
├── features
│ └── search-files
│ ├── index.ts
│ ├── search-files.ts
│ ├── search-modes
│ │ ├── perform-agent-search-mode.ts
│ │ ├── perform-intelligent-search-mode.ts
│ │ ├── perform-keywords-search-mode.ts
│ │ └── perform-phrase-search-mode.ts
│ └── utils
│ ├── analyze-files.ts
│ ├── check-matches-condition.ts
│ ├── create-search-regex.ts
│ ├── group-quick-pick-items.ts
│ ├── handle-parent-folder-result.ts
│ ├── map-files-to-quick-pick-items.ts
│ ├── prompt-for-config.ts
│ ├── prompt-for-intelligent-search-results.ts
│ ├── prompt-for-keywords-match-mode.ts
│ ├── prompt-for-keywords-target.ts
│ ├── prompt-for-search-mode.ts
│ ├── prompt-for-search-results.ts
│ ├── prompt-for-search-term.ts
│ ├── prompt-for-shrink-mode.ts
│ ├── search-files-by-intelligent.ts
│ ├── search-files-by-keywords.ts
│ ├── search-files-by-phrase.ts
│ └── show-search-results-quick-pick.ts
├── i18n
│ └── translations
│ ├── commands
│ │ └── search-files.ts
│ └── features
│ └── search-files.ts
└── utils
└── git-repository-utils.ts1 parent 90b7c3b commit 1f1b040
9 files changed
Lines changed: 761 additions & 63 deletions
File tree
- apps/editor
- src
- commands/search-files-commands
- constants
- features/search-files
- search-modes
- utils
- i18n/translations/features
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
576 | 582 | | |
577 | 583 | | |
578 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
579 | 589 | | |
580 | 590 | | |
581 | 591 | | |
| |||
676 | 686 | | |
677 | 687 | | |
678 | 688 | | |
679 | | - | |
| 689 | + | |
680 | 690 | | |
681 | 691 | | |
682 | 692 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | | - | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | 229 | | |
228 | 230 | | |
| |||
295 | 297 | | |
296 | 298 | | |
297 | 299 | | |
| 300 | + | |
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
| |||
303 | 306 | | |
304 | 307 | | |
305 | 308 | | |
306 | | - | |
| 309 | + | |
| 310 | + | |
307 | 311 | | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
313 | 320 | | |
314 | 321 | | |
315 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
100 | 111 | | |
101 | 112 | | |
102 | 113 | | |
| |||
0 commit comments