chore: fix prompt regressions

This commit is contained in:
can1357
2026-07-18 21:16:42 +02:00
parent 8a57bcd4f0
commit 7c769a3d55
3 changed files with 2 additions and 10 deletions
@@ -1,7 +1,6 @@
Runs commands in a persistent shell session.
Use ONLY for: single binary call or short pipeline that COMPUTES a fact (`wc -l`, `sort | uniq -c`, `comm`, `diff`).
GitHub repository file? MUST use `github` `file_read` when available; otherwise `read`. NEVER use `curl`/`wget`.
{{#if hasLaunch}}Services, watchers, debuggers, REPLs → `hub` (`op:"start"`).{{/if}}
{{#if hasEval}}Inline scripts, heredocs, shell control flow, `$(…)`, multi-stage pipelines, `&&`-chains, quote/JSON escaping → `eval` cells.{{else}}Inline scripts, heredocs, shell control flow, `$(…)`, multi-stage pipelines, `&&`-chains → purpose-built tool or checked-in script.{{/if}}
@@ -1,9 +1,3 @@
Debugger access. Prefer over bash for program state, breakpoints, stepping, or thread inspection.
Only one active session at a time. `program` is a target path, not a shell command. Directories need a directory-capable adapter (`dlv`).
Adapters:
- Python: `debugpy` (`pip install debugpy`)
- JavaScript/TypeScript: vscode-js-debug via Mason, or set `JS_DEBUG_DAP_SERVER` to its `dapDebugServer.js`
- Go: Delve (`go install github.com/go-delve/delve/cmd/dlv@latest`)
- Ruby: `rdbg` (`gem install debug`)
Only one active session at a time. `program` is a target path, not a shell command.
Directories need a directory-capable adapter (e.g. `dlv`).
@@ -3,7 +3,6 @@ Read files, directories, archives, SQLite, images, documents, internal resources
<instruction>
- SHOULD parallelize independent reads.
- SHOULD use `read` (not browser) for web content; browser only when `read` can't deliver.
- GitHub repository file? MUST use `github` `file_read` when available; otherwise `read`. NEVER use `curl`/`wget`.
</instruction>
## Selectors — append `:<sel>` to `path` (e.g. `src/foo.ts:50-200`, `src/foo.ts:raw`, `db.sqlite:users:42`)