@dawn-ai/vite-plugin
v0.1.4
Published
Vite plugin for build-time Dawn tool schema inference.
Readme
@dawn-ai/vite-plugin
Vite plugin for build-time Dawn tool schema inference.
Public surface:
dawnToolSchemaPlugin()— Vite plugin that watches tool files and runs typegentransformToolSource()— injectsdescriptionandschemaexports from TypeScript types and JSDocextractJsDoc()— extracts JSDoc descriptions and@paramtagsextractParameterType()— extracts TypeScript function parameter typesgenerateZodSchema()— generates Zod schema code from extracted type info
This plugin enables zero-boilerplate tool authoring by inferring Zod schemas from TypeScript function signatures at build time.
