MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / output.test.ts

File output.test.ts

packages/agent-core/test/mcp/output.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ContentBlockSchema } from '@modelcontextprotocol/sdk/types.js';
2import type { ContentPart } from '@moonshot-ai/kosong';
3import { Jimp } from 'jimp';
4import { mkdtemp, readFile, rm, unlink } from 'node:fs/promises';

Callers

nothing calls this directly

Calls 11

convertMCPContentBlockFunction · 0.90
sniffImageDimensionsFunction · 0.90
testFunction · 0.85
assertValidMcpBlockFunction · 0.85
mkdtempFunction · 0.85
getBufferMethod · 0.80
resultFunction · 0.70
toStringMethod · 0.65
execMethod · 0.65
readFileFunction · 0.50

Tested by

no test coverage detected