Repository navigation
Commit c81dc74
committed
Encapsulate agent search output channel creation and disposal within perform agent search mode
- ERROR in ./src/utils/git-repository-utils.ts:461:52 TS2345: Argument of type '{ get_files: () => Promise<any[]>; workspace_provider: WorkspaceProvider; extension_context: vscode.ExtensionContext; websocket_manager: WebSocketManager; show_back_button: true; }' is not assignable to parameter of type '{ get_files: () => Promise<string[]>; workspace_provider: WorkspaceProvider; extension_context: ExtensionContext; websocket_manager: WebSocketManager; ... 5 more ...; is_workspace_action?: boolean | undefined; }'. Property 'output_channel' is missing in type '{ get_files: () => Promise<any[]>; workspace_provider: WorkspaceProvider; extension_context: vscode.ExtensionContext; websocket_manager: WebSocketManager; show_back_button: true; }' but required in type '{ get_files: () => Promise<string[]>; workspace_provider: WorkspaceProvider; extension_context: ExtensionContext; websocket_manager: WebSocketManager; ... 5 more ...; is_workspace_action?: boolean | undefined; }'. 459 | ...
- create output channel deeper, in 'perform agent search'
└── apps
└── editor
└── 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
│ ├── select-files-of-commit-command.ts
│ ├── select-imported-files-commands
│ │ └── utils
│ │ └── prompt-for-imported-files.ts
│ ├── select-modified-files-command.ts
│ └── select-referencing-files-commands
│ └── utils
│ └── prompt-for-referencing-files.ts
├── features
│ └── search-files
│ ├── index.ts
│ ├── search-files.ts
│ ├── search-modes
│ │ ├── perform-agent-search-mode
│ │ │ ├── agents
│ │ │ │ ├── antigravity.ts
│ │ │ │ ├── claude.ts
│ │ │ │ ├── codex.ts
│ │ │ │ ├── cursor.ts
│ │ │ │ ├── grok.ts
│ │ │ │ ├── muse.ts
│ │ │ │ └── opencode.ts
│ │ │ ├── index.ts
│ │ │ ├── perform-agent-search-mode.ts
│ │ │ ├── types.ts
│ │ │ └── utils.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
└── utils
└── git-repository-utils.ts1 parent 3c0fb2d commit c81dc74
3 files changed
Lines changed: 598 additions & 588 deletions
File tree
- apps/editor/src
- commands/search-files-commands
- features/search-files
- search-modes/perform-agent-search-mode
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
182 | 180 | | |
183 | 181 | | |
184 | 182 | | |
185 | | - | |
186 | 183 | | |
187 | 184 | | |
188 | 185 | | |
| |||
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
243 | | - | |
244 | 240 | | |
245 | 241 | | |
246 | 242 | | |
| |||
259 | 255 | | |
260 | 256 | | |
261 | 257 | | |
262 | | - | |
263 | 258 | | |
264 | 259 | | |
265 | 260 | | |
| |||
271 | 266 | | |
272 | 267 | | |
273 | 268 | | |
274 | | - | |
275 | 269 | | |
276 | 270 | | |
277 | 271 | | |
| |||
306 | 300 | | |
307 | 301 | | |
308 | 302 | | |
309 | | - | |
310 | 303 | | |
311 | 304 | | |
312 | 305 | | |
| |||
326 | 319 | | |
327 | 320 | | |
328 | 321 | | |
329 | | - | |
330 | 322 | | |
331 | 323 | | |
332 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | | - | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
| |||
0 commit comments