Repository navigation
Commit 619d1d3
committed
Use sequential numbered temporary directories for CLI isolation
- temporary directories created for interactive code editing with CLIs are using naming scheme: `cwc-cli-edit-[hash]`. becase using each requires permission from the user for interactive session, we'd like to replace hash with autoincremented number, with lowest not used by any concurrent invocation re-used for next interactive cli invocation.
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ ├── apply-from-terminal-command.ts
│ │ ├── code-at-cursor-command
│ │ │ └── utils
│ │ │ └── perform-code-at-cursor.ts
│ │ └── generate-commit-message-commands
│ │ └── actions
│ │ └── run-generate-action.ts
│ ├── features
│ │ ├── agentic-search
│ │ │ └── agentic-search.ts
│ │ └── search-files
│ │ └── search-modes
│ │ └── perform-intelligent-search-mode.ts
│ ├── utils
│ │ └── agentic-cli-invocation
│ │ ├── agents
│ │ │ ├── antigravity.ts
│ │ │ ├── claude.ts
│ │ │ ├── codex.ts
│ │ │ ├── copilot.ts
│ │ │ ├── cursor.ts
│ │ │ ├── devin.ts
│ │ │ ├── grok.ts
│ │ │ ├── index.ts
│ │ │ └── opencode.ts
│ │ ├── index.ts
│ │ ├── invoke-agentic-cli.ts
│ │ ├── types.ts
│ │ └── utils
│ │ ├── check-command-exists.ts
│ │ ├── format-duration.ts
│ │ ├── generate-diff-markdown.ts
│ │ └── get-progress-dots.ts
│ └── views
│ └── prompt
│ └── backend
│ ├── message-handlers
│ │ ├── handle-apply-from.ts
│ │ ├── handle-invoke-agentic-cli.ts
│ │ ├── handle-patch-repair.ts
│ │ └── handle-voice-input.ts
│ └── prompt-view-provider.ts
└── packages
└── shared
└── src
└── types
├── prompt-types.ts
└── terminal-interactivity.ts1 parent a2787e1 commit 619d1d3
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
379 | 390 | | |
380 | 391 | | |
381 | 392 | | |
| |||
0 commit comments