From d6c39655e68f7cd137ddb88e9c36e4f1c72fc329 Mon Sep 17 00:00:00 2001 From: Will Hampson Date: Sat, 3 Jan 2026 13:36:58 -0800 Subject: [PATCH] docs(coding-agent): correct filename in subagent example README (#427) The README referenced subagent.ts but the actual file is index.ts. Co-authored-by: Will Hampson --- .../coding-agent/examples/custom-tools/subagent/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/examples/custom-tools/subagent/README.md b/packages/coding-agent/examples/custom-tools/subagent/README.md index 592ab0ca..84ba282b 100644 --- a/packages/coding-agent/examples/custom-tools/subagent/README.md +++ b/packages/coding-agent/examples/custom-tools/subagent/README.md @@ -16,7 +16,7 @@ Delegate tasks to specialized subagents with isolated context windows. ``` subagent/ ├── README.md # This file -├── subagent.ts # The custom tool (entry point) +├── index.ts # The custom tool (entry point) ├── agents.ts # Agent discovery logic ├── agents/ # Sample agent definitions │ ├── scout.md # Fast recon, returns compressed context @@ -36,7 +36,7 @@ From the repository root, symlink the files: ```bash # Symlink the tool (must be in a subdirectory with index.ts) mkdir -p ~/.pi/agent/tools/subagent -ln -sf "$(pwd)/packages/coding-agent/examples/custom-tools/subagent/subagent.ts" ~/.pi/agent/tools/subagent/index.ts +ln -sf "$(pwd)/packages/coding-agent/examples/custom-tools/subagent/index.ts" ~/.pi/agent/tools/subagent/index.ts ln -sf "$(pwd)/packages/coding-agent/examples/custom-tools/subagent/agents.ts" ~/.pi/agent/tools/subagent/agents.ts # Symlink agents