Skip to content
docs/src/content/docs/contributing/boundaries.md
web/src/lib/components/CommandPalette.svelte — how existing commands register and call api.ts
web/src/lib/api.ts — only if you need a new client helper
- Add one command descriptor (label, keywords, run handler) next to similar commands.
- Call an existing API helper if possible.
- Close or keep palette consistent with sibling commands (see nearby handlers).
- Palette open/close infrastructure unless broken
- Hub/SSE
- Unrelated command blocks (no drive-by cleanup)
- ⌘K finds the command; action works on a live session
- No new dependencies
- pi –session / Resume session — match pi
/resume and pi --session <path|id>. Pair with Copy pi –session.