MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / shellOut

Function shellOut

test/completion-gate.test.ts:22–22  ·  view source on GitHub ↗
(out: string)

Source from the content-addressed store, hash-verified

20const editErr = (name: string): MsgLike => ({ role: 'tool', name, content: '[SYNTAX_REJECTED] would break file' });
21const shellRun = (cmd: string): MsgLike => ({ role: 'assistant', tool_calls: [{ function: { name: 'shell', arguments: JSON.stringify({ command: cmd }) } }] });
22const shellOut = (out: string): MsgLike => ({ role: 'tool', name: 'shell', content: out });
23
24console.log('— claim extraction (EN + FA) —');
25{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected