MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / savedOutputPath

Function savedOutputPath

packages/agent-core/test/agent/tool.test.ts:509–514  ·  view source on GitHub ↗
(output: unknown)

Source from the content-addressed store, hash-verified

507}
508
509function savedOutputPath(output: unknown): string {
510 expect(typeof output).toBe('string');
511 const outputPath = /^output_path: (.+)$/m.exec(output as string)?.[1];
512 expect(outputPath).toBeTruthy();
513 return outputPath!;
514}
515
516function hookErrorMessageAssertCommand(expected: string): string {
517 const script = [

Callers 1

tool.test.tsFile · 0.85

Calls 1

execMethod · 0.65

Tested by

no test coverage detected