Skip to content

Commit 9e8c57d

Browse files
committed
Move agentic search from a command to the prompt view
- create a clean copy of 'agentic search' command into `apps/editor/src/views/prompt/backend/message-handlers/handle-agentic-search` - trigger agentic search fom action of [Fragment] - agentic search should use [Fragment] instead of asking the user - should not show back arrow on the very first quick pick - remove 'agentic search' command - place 'search files' to the left of 'clear checks' - move 'search files' to the left of 'restore file selection' ├── apps │ └── editor │ ├── package.json │ ├── package.nls.bg.json │ ├── package.nls.cs.json │ ├── package.nls.de.json │ ├── package.nls.es.json │ ├── package.nls.fr.json │ ├── package.nls.hu.json │ ├── package.nls.it.json │ ├── package.nls.ja.json │ ├── package.nls.json │ ├── package.nls.ko.json │ ├── package.nls.pl.json │ ├── package.nls.pt-br.json │ ├── package.nls.ru.json │ ├── package.nls.tr.json │ ├── package.nls.zh-cn.json │ ├── package.nls.zh-tw.json │ └── src │ ├── commands │ │ ├── agentic-search-command │ │ │ ├── agentic-search-command.ts │ │ │ ├── index.ts │ │ │ └── utils │ │ │ └── prompt-for-search-term.ts │ │ └── index.ts │ ├── extension.ts │ ├── i18n │ │ └── translations │ │ ├── commands │ │ │ └── index.ts │ │ └── views │ │ └── prompt │ │ └── handlers │ │ ├── handle-agentic-search.ts │ │ └── index.ts │ └── views │ └── prompt │ ├── backend │ │ ├── message-handlers │ │ │ ├── handle-agentic-search │ │ │ │ ├── agentic-search.ts │ │ │ │ ├── agents │ │ │ │ │ ├── antigravity.ts │ │ │ │ │ ├── claude.ts │ │ │ │ │ ├── codex.ts │ │ │ │ │ ├── cursor.ts │ │ │ │ │ ├── grok.ts │ │ │ │ │ ├── muse.ts │ │ │ │ │ └── opencode.ts │ │ │ │ ├── handle-agentic-search.ts │ │ │ │ ├── index.ts │ │ │ │ ├── types.ts │ │ │ │ └── utils │ │ │ │ ├── build-agent-prompt.ts │ │ │ │ ├── check-command-exists.ts │ │ │ │ ├── format-duration.ts │ │ │ │ ├── get-progress-dots.ts │ │ │ │ ├── index.ts │ │ │ │ └── show-search-results-quick-pick.ts │ │ │ └── handle-autofill.ts │ │ └── prompt-view-provider.ts │ ├── frontend │ │ ├── Main │ │ │ ├── Main.tsx │ │ │ └── MainView │ │ │ ├── MainView.tsx │ │ │ └── components │ │ │ └── PromptAttachments │ │ │ ├── PromptAttachments.tsx │ │ │ └── index.ts │ │ ├── Prompt.tsx │ │ ├── hooks │ │ │ └── use-prompt │ │ │ └── use-prompt.ts │ │ └── i18n │ │ ├── translations │ │ │ ├── actions.ts │ │ │ ├── common.ts │ │ │ ├── configurations.ts │ │ │ ├── footer.ts │ │ │ ├── header.ts │ │ │ ├── home.ts │ │ │ ├── index.ts │ │ │ ├── main.ts │ │ │ ├── modals.ts │ │ │ ├── prompt-field.ts │ │ │ ├── recent-donations.ts │ │ │ └── selected-files.ts │ │ └── use-translation.tsx │ └── types │ └── messages.ts └── packages └── ui └── src └── components └── editor └── prompt └── StatusBar └── StatusBar.tsx
1 parent a888101 commit 9e8c57d

50 files changed

Lines changed: 185 additions & 327 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/editor/package.json‎

Lines changed: 6 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,6 @@
330330
"title": "%codeWebChat.setRanges.title%",
331331
"category": "Code Web Chat"
332332
},
333-
{
334-
"command": "codeWebChat.agenticSearch",
335-
"title": "%codeWebChat.agenticSearch.title%",
336-
"category": "Code Web Chat",
337-
"icon": "$(search-sparkle)"
338-
},
339333
{
340334
"command": "codeWebChat.searchFiles",
341335
"title": "%codeWebChat.searchFiles.title%",
@@ -344,12 +338,14 @@
344338
{
345339
"command": "codeWebChat.searchFilesWorkspaceAction",
346340
"title": "%codeWebChat.searchFilesWorkspaceAction.title%",
347-
"category": "Code Web Chat"
341+
"category": "Code Web Chat",
342+
"icon": "$(search)"
348343
},
349344
{
350345
"command": "codeWebChat.searchSelectedFiles",
351346
"title": "%codeWebChat.searchSelectedFiles.title%",
352-
"category": "Code Web Chat"
347+
"category": "Code Web Chat",
348+
"icon": "$(search)"
353349
},
354350
{
355351
"command": "codeWebChat.searchFilesFromDirectory",
@@ -649,7 +645,7 @@
649645
{
650646
"command": "codeWebChat.searchSelectedFiles",
651647
"when": "view == codeWebChatViewSelectedFiles",
652-
"group": "2_more@0"
648+
"group": "navigation@0"
653649
},
654650
{
655651
"command": "codeWebChat.selectReferencingFilesForSelected",
@@ -671,11 +667,6 @@
671667
"when": "view == codeWebChatViewSelectedFiles",
672668
"group": "3_more@2"
673669
},
674-
{
675-
"command": "codeWebChat.agenticSearch",
676-
"when": "view == codeWebChatViewWorkspace",
677-
"group": "navigation@1"
678-
},
679670
{
680671
"command": "codeWebChat.clearChecks",
681672
"when": "view == codeWebChatViewWorkspace",
@@ -699,7 +690,7 @@
699690
{
700691
"command": "codeWebChat.searchFilesWorkspaceAction",
701692
"when": "view == codeWebChatViewWorkspace",
702-
"group": "2_more@0"
693+
"group": "navigation@2"
703694
},
704695
{
705696
"command": "codeWebChat.selectFile",
@@ -998,42 +989,10 @@
998989
"type": "string",
999990
"scope": "resource"
1000991
},
1001-
"codeWebChat.agenticSearchInstructions": {
1002-
"type": "string",
1003-
"scope": "resource"
1004-
},
1005992
"codeWebChat.editFilesSystemInstructions": {
1006993
"type": "string",
1007994
"scope": "resource"
1008995
},
1009-
"codeWebChat.agenticSearchAntigravityFlags": {
1010-
"type": "array",
1011-
"scope": "resource",
1012-
"items": {
1013-
"type": "string"
1014-
}
1015-
},
1016-
"codeWebChat.agenticSearchClaudeFlags": {
1017-
"type": "array",
1018-
"scope": "resource",
1019-
"items": {
1020-
"type": "string"
1021-
}
1022-
},
1023-
"codeWebChat.agenticSearchCodexFlags": {
1024-
"type": "array",
1025-
"scope": "resource",
1026-
"items": {
1027-
"type": "string"
1028-
}
1029-
},
1030-
"codeWebChat.agenticSearchOpencodeFlags": {
1031-
"type": "array",
1032-
"scope": "resource",
1033-
"items": {
1034-
"type": "string"
1035-
}
1036-
},
1037996
"codeWebChat.webConfigurations": {
1038997
"type": "array",
1039998
"scope": "resource",

‎apps/editor/package.nls.bg.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Настройки",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Генерирай commit съобщение",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Потвърди промените",
43-
"codeWebChat.agenticSearch.title": "Търсене с агент...",
4443
"codeWebChat.setRanges.title": "Задай диапазони...",
4544
"codeWebChat.searchFiles.title": "Търсене на файлове...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Търсене на файлове...",

‎apps/editor/package.nls.cs.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Nastavení",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generovat zprávu commitu",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Potvrdit změny",
43-
"codeWebChat.agenticSearch.title": "Hledání pomocí agenta...",
4443
"codeWebChat.setRanges.title": "Nastavit rozsahy...",
4544
"codeWebChat.searchFiles.title": "Hledat soubory...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Hledat soubory...",

‎apps/editor/package.nls.de.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Einstellungen",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Commit-Nachricht generieren",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Änderungen committen",
43-
"codeWebChat.agenticSearch.title": "Agentenbasierte Suche...",
4443
"codeWebChat.setRanges.title": "Bereiche festlegen...",
4544
"codeWebChat.searchFiles.title": "Dateien suchen...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Dateien suchen...",

‎apps/editor/package.nls.es.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Configuración",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generar mensaje de commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Hacer commit de los cambios",
43-
"codeWebChat.agenticSearch.title": "Búsqueda con agente...",
4443
"codeWebChat.setRanges.title": "Establecer rangos...",
4544
"codeWebChat.searchFiles.title": "Buscar archivos...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Buscar archivos...",

‎apps/editor/package.nls.fr.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Paramètres",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Générer un message de commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Valider les modifications",
43-
"codeWebChat.agenticSearch.title": "Recherche par agent...",
4443
"codeWebChat.setRanges.title": "Définir les plages...",
4544
"codeWebChat.searchFiles.title": "Rechercher des fichiers...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Rechercher des fichiers...",

‎apps/editor/package.nls.hu.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Beállítások",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Commit üzenet generálása",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Változások commitálása",
43-
"codeWebChat.agenticSearch.title": "Keresés ügynökkel...",
4443
"codeWebChat.setRanges.title": "Tartományok beállítása...",
4544
"codeWebChat.searchFiles.title": "Fájlok keresése...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Fájlok keresése...",

‎apps/editor/package.nls.it.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Impostazioni",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Genera messaggio di commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Esegui commit delle modifiche",
43-
"codeWebChat.agenticSearch.title": "Ricerca con agente...",
4443
"codeWebChat.setRanges.title": "Imposta intervalli...",
4544
"codeWebChat.searchFiles.title": "Cerca file...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Cerca file...",

‎apps/editor/package.nls.ja.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "設定",
4141
"codeWebChat.generateCommitMessage.title": "CWC: コミットメッセージを生成",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "変更をコミット",
43-
"codeWebChat.agenticSearch.title": "エージェント検索...",
4443
"codeWebChat.setRanges.title": "範囲を設定...",
4544
"codeWebChat.searchFiles.title": "ファイルを検索...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "ファイルを検索...",

‎apps/editor/package.nls.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"codeWebChat.settings.title": "Settings",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generate Commit Message",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Commit Changes",
43-
"codeWebChat.agenticSearch.title": "Agentic Search...",
4443
"codeWebChat.setRanges.title": "Set Ranges...",
4544
"codeWebChat.searchFiles.title": "Search Files...",
4645
"codeWebChat.searchFilesWorkspaceAction.title": "Search Files...",

0 commit comments

Comments
 (0)