Add todo hook companion to todo custom tool
- /todos command displays all todos on current branch with custom UI - Update hooks.md to clarify components must not be wrapped in Box/Container - Cross-reference tool and hook in example READMEs
This commit is contained in:
@@ -28,6 +28,7 @@ cp permission-gate.ts ~/.pi/agent/hooks/
|
||||
| `snake.ts` | Snake game with custom UI, keyboard handling, and session persistence |
|
||||
| `status-line.ts` | Shows turn progress in footer via `ctx.ui.setStatus()` with themed colors |
|
||||
| `handoff.ts` | Transfer context to a new focused session via `/handoff <goal>` |
|
||||
| `todo/` | Adds `/todos` command to view todos managed by the [todo custom tool](../custom-tools/todo/) |
|
||||
|
||||
## Writing Hooks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user