mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 09:01:17 +00:00
606 B
606 B
Vercel AI SDK Schemas
This package extracts JSON Schema for UIMessage from the Vercel AI SDK v6 TypeScript types.
Usage
- Install dependencies in this folder.
- Run the extractor:
pnpm install
pnpm extract
Optional flags:
--version=6.x.yto pin an exact version--major=6to select the latest version for a major (default: 6)
Output:
artifacts/json-schema/ui-message.json
The registry response is cached under .cache/ for 24 hours. The extractor downloads the AI SDK package
and the minimal dependency tree needed for TypeScript type resolution into a temporary folder.