MCPcopy Create free account
hub / github.com/beita6969/ScienceClaw / getProgramContext

Function getProgramContext

src/cli/program/program-context.ts:11–15  ·  view source on GitHub ↗
(program: Command)

Source from the content-addressed store, hash-verified

9}
10
11export function getProgramContext(program: Command): ProgramContext | undefined {
12 return (program as Command & { [PROGRAM_CONTEXT_SYMBOL]?: ProgramContext })[
13 PROGRAM_CONTEXT_SYMBOL
14 ];
15}

Callers 3

registerCompletionCliFunction · 0.85
runCliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected