MCPcopy
hub / github.com/colbymchenry/codegraph / CommandSupervision

Interface CommandSupervision

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

Source from the content-addressed store, hash-verified

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

Callers 2

stopFunction · 0.65
mainFunction · 0.65

Implementers 8

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

Calls

no outgoing calls

Tested by

no test coverage detected