This repository has been archived on 2026-04-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
claude-code-2026-04-02/docs-site/docs/reference/repl-ui.md
2026-03-31 15:38:58 +05:00

976 B

REPL and terminal UI

Primary paths: src/screens/REPL.tsx, src/components/, src/ink/, src/replLauncher.tsx, src/interactiveHelpers.tsx

The interactive session is a React + Ink application. replLauncher.tsx mounts the Ink root and wraps the tree with providers for app state, keybindings, MCP connections, and plugin context.

REPL.tsx is large and central: it manages the transcript, loading state, onQuery invocations, tool use UI, permission prompts, teammate inbox polling, mailbox bridge, voice integration when VOICE_MODE is compiled in, scheduled cron integration, and queue processing between turns.

ink/ contains layout primitives, terminal I/O helpers, and event wiring specific to the TUI. components/ holds feature UI (modals, tool output, plan mode, etc.).

See also: Interactive mode, Fullscreen, Workflows.