/** * chassis: an OpenCode-style TUI for pi, with a brand that another package can replace (brand.ts). * * Pieces (each in its own file): * layout.ts right sidebar (fullscreen split, overlay fallback) ctrl+x b * home.ts OpenCode-style home screen (logo, centred prompt, tip, bottom bar) * sidebar.ts session title, context/cost, status widgets, files, todo * footer.ts one-line status bar under the prompt * editor.ts left-rail prompt with mode badge + model, leader key, Tab mode switch * commands.ts ctrl+x leader actions and the ctrl+p command palette * modes.ts Build / Plan (read-only) agent modes * tools.ts one-line tool rows ("→ Read x.ts 120 lines") * messages.ts user prompts with a coloured left bar * peek.ts thinking peek in the hidden-thinking label * telemetry.ts per-run TPS/TTFT/tokens/cost summary * api.ts the widget registry other extensions use (registerWidget) * * Commands: /chassis [on|off|sidebar|status] */ import { type ExtensionAPI } from "@earendil-works/pi-coding-agent"; export default function (pi: ExtensionAPI): void;