Roo-Code/packages/types
Roo Code 3fd2ca47c8 refactor: dynamically generate roomodes JSON schema from Zod types
Replace the hand-crafted schemas/roomodes.json with one generated from
the Zod schemas in packages/types/src/mode.ts using zod-to-json-schema.
This ensures the schema stays in sync when TypeScript types change.

- Add zod-to-json-schema dev dependency to packages/types
- Create packages/types/scripts/generate-roomodes-schema.ts
- Add generate:schema npm script to packages/types
- Add drift-detection test in packages/types to catch schema/type mismatches
- Update existing AJV validation tests with documentation comment
2026-03-02 15:31:19 +00:00
..
npm Release: v1.113.0 (#11782) 2026-02-26 22:26:23 -08:00
scripts refactor: dynamically generate roomodes JSON schema from Zod types 2026-03-02 15:31:19 +00:00
src refactor: dynamically generate roomodes JSON schema from Zod types 2026-03-02 15:31:19 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json refactor: dynamically generate roomodes JSON schema from Zod types 2026-03-02 15:31:19 +00:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00