docs: fix subagents load path to ~/.pi/agent/subagents

This commit is contained in:
2026-05-12 16:49:18 -04:00
parent fbbc58810c
commit 959f0068f5

View File

@@ -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`.