Featured answer
Give me an overview of plannotator
Plannotator is a local, browser-based review surface for AI coding agents such as Claude Code, Codex, and Gemini CLI, where developers annotate plans, specs, documents and code diffs and send their feedback back to the agent. It connects to agents through plugins, hooks and commands, using agent-specific entry points such as apps/hook/server/cli.ts for hooks, apps/opencode-plugin/server.ts for OpenCode and apps/pi-extension/server.ts for Pi. When an agent proposes a plan or finishes work, the review app opens in the browser, and build/pack-app.ts packs the review, hook and inbox front ends into single HTML pages. Most of the code lives in the packages directory, including packages/inbox/App.tsx for the Inbox interface and packages/server/inbox.ts for its server side, while the bin directory holds the command-line entry point. The repository's layers by file count are UI, Application, Data, CLI, Config, Service, Utility, and Docs & Tooling, and a new reader should start with apps/hook/server/cli.ts, the packages/inbox and packages/server directories, and then build/pack-app.ts.
| Layer | Files |
|---|---|
| UI | 544 |
| Application | 2036 |
| Data | 38 |
| CLI | 14 |
| Config | 48 |
| Service | 178 |
| Utility | 483 |
| Docs & Tooling | 129 |
Basis: Inferred · knowledge graph· as of 5fb90d0