MCPcopy
hub / github.com/CodebuffAI/codebuff / prompts-schema-handling.test.ts

File prompts-schema-handling.test.ts

packages/agent-runtime/src/__tests__/prompts-schema-handling.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TEST_AGENT_RUNTIME_IMPL } from '@codebuff/common/testing/impl/agent-runtime'
2import { describe, test, expect, mock } from 'bun:test'
3import { convertJsonSchemaToZod } from 'zod-from-json-schema'
4import { z } from 'zod/v4'

Callers

nothing calls this directly

Calls 7

buildAgentToolSetFunction · 0.90
buildToolDescriptionFunction · 0.90
getToolSetFunction · 0.90
ensureZodSchemaFunction · 0.90
createMockLoggerFunction · 0.70

Tested by

no test coverage detected