MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / CommandSupervision

Interface CommandSupervision

src/bin/command-supervision.ts:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35import { HOST_PPID_ENV } from '../extraction/wasm-runtime-flags';
36
37export interface CommandSupervision {
38 /** Tear down both watchdogs. Idempotent; call when the command finishes. */
39 stop(): void;
40}
41
42/**
43 * Install the liveness + PPID watchdogs for the duration of a CLI command.

Callers 4

stopFunction · 0.65
runIndexFunction · 0.65
renderIndexFunction · 0.65
mainFunction · 0.65

Implementers 9

MemoryMonitorsrc/utils.ts
Daemonsrc/mcp/daemon.ts
MCPServersrc/mcp/index.ts
StdioTransportsrc/mcp/transport.ts
SocketTransportsrc/mcp/transport.ts
MCPEnginesrc/mcp/engine.ts
MCPSessionsrc/mcp/session.ts
FileWatchersrc/sync/watcher.ts
WalCheckpointValvesrc/db/wal-valve.ts

Calls

no outgoing calls

Tested by

no test coverage detected