Repository navigation
Commit c8961ec
committed
Add agentic search command and modularize related state
- don't utilize featres/agentic-search folder, but `apps/editor/src/commands/agentic-search-command`
- create a command 'agentic search', while placing shared logic in `apps/editor/src/features`
- add 'agentic search' command to `README.md`
- the locking mechanism of 'agentic search' should be set in `apps/editor/src/extension.ts` so both command and backend handler are blocked together
- Replace the `{ in_progress: boolean }` agentic search flag with a small `AgenticSearchState` class with getter and setter.
- move 'headless cli invocation' to utils, update translation keys
├── README.md
└── 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
│ ├── 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
│ └── index.ts
├── extension.ts
├── features
│ ├── agentic-search
│ │ ├── agentic-search-state.ts
│ │ ├── agentic-search.ts
│ │ ├── index.ts
│ │ └── utils
│ │ ├── build-agent-prompt.ts
│ │ ├── index.ts
│ │ └── prompt-for-search-term.ts
│ └── checkpoints
│ ├── actions
│ │ ├── accept-checkpoint.ts
│ │ ├── create-checkpoint.ts
│ │ ├── delete-checkpoint.ts
│ │ ├── get-checkpoints.ts
│ │ └── index.ts
│ ├── types
│ │ ├── checkpoint.ts
│ │ └── index.ts
│ └── utils
│ ├── copy-optimised-recursively.ts
│ ├── get-checkpoint-path.ts
│ ├── get-incremented-description.ts
│ ├── git-utils.ts
│ └── index.ts
├── i18n
│ └── translations
│ ├── commands
│ │ ├── history-command.ts
│ │ └── index.ts
│ ├── features
│ │ ├── checkpoints.ts
│ │ └── index.ts
│ └── utils
│ ├── git-repository-utils.ts
│ ├── headless-cli-invocation.ts
│ ├── index.ts
│ ├── show-missing-configuration-notification.ts
│ └── show-parent-folder-quick-pick.ts
├── utils
│ ├── apply-reasoning-effort.ts
│ ├── build-user-content.ts
│ ├── commit-message-details.ts
│ ├── extract-paths-from-text
│ │ ├── extract-paths-from-text.spec.ts
│ │ ├── extract-paths-from-text.ts
│ │ └── index.ts
│ └── files-collector.ts
└── views
└── prompt
└── backend
├── message-handlers
│ ├── handle-agentic-search
│ │ ├── handle-agentic-search.ts
│ │ └── index.ts
│ └── handle-invoke-headless-cli.ts
└── prompt-view-provider.ts1 parent dfef234 commit c8961ec
48 files changed
Lines changed: 160 additions & 47 deletions
File tree
- apps/editor
- src
- commands
- agentic-search-command
- features/agentic-search
- utils
- i18n/translations
- features
- utils
- utils/headless-cli-invocation
- agents
- utils
- views/prompt/backend
- message-handlers
- handle-agentic-search
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
358 | 363 | | |
359 | 364 | | |
360 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments