docs: fix subagents load path to ~/.pi/agent/subagents
This commit is contained in:
@@ -9,7 +9,7 @@ This repo implements the `subagent` pi extension in `index.ts`.
|
||||
- Parent-facing tool: `subagent`.
|
||||
- Internal child-only tool: `subagent_finalize`.
|
||||
- Never register `subagent_finalize` in the parent context; only when `PI_SUBAGENT_CHILD=1`.
|
||||
- Subagents are loaded from `~/.pi/subagents/*.md` (user config only).
|
||||
- Subagents are loaded from `~/.pi/agent/subagents/*.md` (user config only).
|
||||
- The `subagent` tool is only registered when at least one subagent exists.
|
||||
- Subagent sessions are sticky and persisted at:
|
||||
`~/.pi/subagent-sessions/<cwd-hash>/<agent>_<sessionId>.jsonl`.
|
||||
|
||||
Reference in New Issue
Block a user