MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / call

Function call

src/commands/autonomyPanel.tsx:196–208  ·  view source on GitHub ↗
(onDone: LocalJSXCommandOnDone, _context: unknown, args?: string)

Source from the content-addressed store, hash-verified

194}
195
196export async function call(onDone: LocalJSXCommandOnDone, _context: unknown, args?: string): Promise<React.ReactNode> {
197 const trimmed = args?.trim() ?? '';
198 if (trimmed) {
199 const result = await getAutonomyCommandText(trimmed, {
200 enqueueInMemory: true,
201 removeQueuedInMemory: true,
202 });
203 onDone(result, { display: 'system' });
204 return null;
205 }
206
207 return <AutonomyPanel onDone={onDone} />;
208}

Callers

nothing calls this directly

Calls 2

getAutonomyCommandTextFunction · 0.85
onDoneFunction · 0.50

Tested by

no test coverage detected