Skip to content

Runtime and UI

Runtime and UI

Bootstrap, root command routing, interactive TUI, terminal ergonomics, voice mode, protocol server modes, and rendering support.

How this volume fits

flowchart TD
Loader[Loader/bootstrap] --> CLI[CLI workflows]
CLI --> TUI[TUI and slash commands]
TUI --> Terminal[Terminal setup]
TUI --> Voice[Voice mode]
CLI --> Server[Embedded server / ACP]
TUI --> Render[Tree-sitter rich diff rendering]

Pages

PageWhy read itFile
Loader and bootstrap workflowsSEA/npm loader chain, restart wrapper, secure module loading, and bootstrap safeguards.loader-bootstrap.md
CLI runtime workflowsRoot CLI routing, pre-action setup, prompt/headless/server dispatch, and session resolution.cli-runtime-workflows.md
Interactive TUI and slash-command workflowsInteractive TUI event loop, dialogs, slash command macros, and permission surfaces.tui-and-slash-commands.md
Terminal setup and shell environmentTerminal detection, Shift+Enter setup, shell context, and command-history state.terminal-setup-and-shell-environment.md
Voice mode and Foundry LocalFoundry Local dictation runtime, voice settings, native audio modules, and model cache checks.voice-mode-foundry-local.md
Embedded server, ACP, and JSON-RPC protocolJSON-RPC/ACP server modes, external tool calls, elicitation, sampling, and commands.embedded-server-acp-protocol.md
Tree-sitter WASM usage in the Copilot CLIPackaged Tree-sitter grammars, highlight queries, rich diff rendering, and fallback behavior.tree-sitter-wasm-usage.md

Reading guidance

  • Follow the process lifecycle from bootstrap to TUI/server modes.
  • Terminal setup and voice mode are user-facing runtime add-ons.

Back to wiki home