references/structure.md | Package layout, package.json, tsconfig, config, entry points, API-key pattern. |
references/tools.md | defineTool, schemas, execute signature, prompt metadata, rendering, truncation, concurrency. |
references/commands.md | Slash commands, argument completion, session methods, rich UI fallback. |
references/hooks.md | Event lifecycle, blocking/cancelling, input transforms, system prompt hooks, bash hooks. |
references/components.md | Pi TUI component interface, built-ins, custom UI, overlays, key handling. |
references/providers.md | pi.registerProvider(name, config), OAuth, streaming, model metadata. |
references/modes.md | Interactive/RPC/JSON/Print behavior and fallback patterns. |
references/messages.md | sendMessage, registerMessageRenderer, notification choices. |
references/state.md | Reconstructible state via tool result details, appendEntry usage. |
references/additional-apis.md | Shortcuts, flags, exec, session control, reload, UI customization. |
references/publish.md | npm publishing, changesets, GitHub Actions, pre-publish checklist. |
references/testing.md | Local testing, type checking, hook tests, core-unit testing. |
references/documentation.md | README and changelog guidance. |