MCPcopy
hub / github.com/claude-code-best/claude-code / BgEngine

Interface BgEngine

src/cli/bg/engine.ts:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42export interface BgEngine {
43 readonly name: 'tmux' | 'detached'
44 /** Whether the engine provides a TTY for interactive REPL input. */
45 readonly supportsInteractiveInput: boolean
46 available(): Promise<boolean>
47 start(opts: BgStartOptions): Promise<BgStartResult>
48 attach(session: SessionEntry): Promise<void>
49}

Callers 10

engine.test.tsFile · 0.65
detached.test.tsFile · 0.65
lanBeacon.test.tsFile · 0.65
rebuildTransportFunction · 0.65
wireTransportFunction · 0.65
runFunction · 0.65
runHeadlessStreamingFunction · 0.65
handleBgStartFunction · 0.65
ensureServerStartedFunction · 0.65
startFunction · 0.65

Implementers 2

TmuxEnginesrc/cli/bg/engines/tmux.ts
DetachedEnginesrc/cli/bg/engines/detached.ts

Calls

no outgoing calls

Tested by

no test coverage detected