ReplBridgeHandle Interface

Description

The TypeScript interface the REPL uses to drive the bridge: write messages, send control requests (initialize/set_model/interrupt/set_permission_mode/set_max_thinking_tokens), and teardown. getReplBridgeHandle() returns null when the bridge is disabled, enabling unguarded static imports elsewhere in the codebase.

Key claims

Relations

Sources

src-20260420-6c8c272379b4