
> vercel-ai-sdk-schemas@1.0.0 extract /home/nathan/sandbox-daemon/resources/vercel-ai-sdk-schemas
> tsx src/index.ts

Vercel AI SDK UIMessage Schema Extractor
========================================

  [cache hit] https://registry.npmjs.org/ai
Target version: ai@6.0.50
  [debug] temp dir: /tmp/vercel-ai-sdk-JnQ1yL
  [cache hit] https://registry.npmjs.org/ai
  [cache hit] https://registry.npmjs.org/@opentelemetry%2Fapi
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fgateway
  [cache hit] https://registry.npmjs.org/@vercel%2Foidc
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fprovider
  [cache hit] https://registry.npmjs.org/json-schema
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fprovider-utils
  [cache hit] https://registry.npmjs.org/@standard-schema%2Fspec
  [cache hit] https://registry.npmjs.org/eventsource-parser
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fprovider
  [cache hit] https://registry.npmjs.org/zod
  [cache hit] https://registry.npmjs.org/zod
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fprovider
  [cache hit] https://registry.npmjs.org/@ai-sdk%2Fprovider-utils
  [cache hit] https://registry.npmjs.org/zod
  [shim] Wrote type-fest ValueOf shim
  [debug] DataUIPart alias snippet: type DataUIPart<DATA_TYPES extends UIDataTypes> = ValueOf<{
    [NAME in keyof DATA_TYPES & string]: {
        type: `data-${NAME}`;
  [patch] Simplified DataUIPart to avoid indexed access
  [debug] ToolUIPart alias snippet: type ToolUIPart<TOOLS extends UITools = UITools> = ValueOf<{
    [NAME in keyof TOOLS & string]: {
        type: `tool-${NAME}`;
  [patch] Simplified ToolUIPart to avoid indexed access
  [warn] ValueOf alias declaration not found
  [warn] ValueOf alias not found in ai types
  [debug] ai types path: /tmp/vercel-ai-sdk-JnQ1yL/node_modules/ai/dist/index.d.ts
  [debug] preview: ValueOf} from 'type-fest';
import data = require('./data.json');

export function getData(name: string): ValueOf<typeof data> {
    return data[name];
}

export function onlyBar(name: string): ValueOf
  [debug] entry path: /tmp/vercel-ai-sdk-JnQ1yL/entry.ts
  [debug] tsconfig path: /tmp/vercel-ai-sdk-JnQ1yL/tsconfig.json
  [debug] entry size: 89

  [wrote] /home/nathan/sandbox-daemon/resources/vercel-ai-sdk-schemas/artifacts/json-schema/ui-message.json
