MCPcopy
hub / github.com/TanStack/ai / devtools.test.ts

File devtools.test.ts

packages/ai-client/tests/devtools.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, it, vi } from 'vitest'
2import { EventType, toolDefinition } from '@tanstack/ai'
3import { aiEventClient } from '@tanstack/ai-event-client'
4import { z } from 'zod'

Callers

nothing calls this directly

Calls 15

toolDefinitionFunction · 0.90
createTextChunksFunction · 0.90
createToolCallChunksFunction · 0.90
unsubscribeFunction · 0.85
createClientFunction · 0.85
dispatchToolFixtureFunction · 0.85
waitForConditionFunction · 0.85
createRunTrackingAdapterFunction · 0.85
textContentChunkFunction · 0.85
findStructuredOutputPartFunction · 0.85
latestSnapshotMessagesFunction · 0.85

Tested by

no test coverage detected