docs: add background agent files to AGENTS.md; update prompts; add background_agent tool and tests; detached launcher in process-runner; status counts

This commit is contained in:
pi
2026-04-12 14:03:11 +01:00
parent 6c87a9a1a2
commit 4919833b4e
6 changed files with 16 additions and 21 deletions

View File

@@ -13,8 +13,10 @@ Applies to entire `pi-subagents` package in this repo root.
## Key files
- `index.ts` — extension entrypoint; registers tool, provider override, and runner selection.
- `src/process-runner.ts` — default background child-process launcher.
- `index.ts` — extension entrypoint; registers tools, provider override, background registry, and runner selection.
- `src/background-tool.ts` — background_agent tool that launches detached process-backed runs and returns handle metadata.
- `src/background-status-tool.ts` — background_agent_status tool that queries counts and runs.
- `src/process-runner.ts` — default background child-process launcher and detached-launch helper.
- `src/tmux-runner.ts` — tmux-backed launcher.
- `src/tmux.ts` — tmux helper functions only. Keep tmux requirements/comments here or other tmux-specific files.
- `src/config.ts` — runner config loading and validation.