mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-21 14:05:18 +00:00
chore: sync workspace changes
This commit is contained in:
parent
4b5b390b7f
commit
4083baa1c1
55 changed files with 2431 additions and 840 deletions
23
resources/vercel-ai-sdk-schemas/README.md
Normal file
23
resources/vercel-ai-sdk-schemas/README.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# 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.y` to pin an exact version
|
||||
- `--major=6` to 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue