Commit Graph

2 Commits

Author SHA1 Message Date
CJ Winslow
d97d90b10e allow $schema key in config for IDE integration
Users can now add "$schema": "./schemas/clawdbot.schema.json" to their
clawdbot.json for autocomplete without validation errors.
2026-01-26 23:50:35 -08:00
CJ Winslow
f15409bc1e add config schema generation for IDE autocomplete
- scripts/gen-config-schema.ts: generates JSON schema + TypeScript types from ClawdbotSchema
- schemas/clawdbot.schema.json: for $schema reference in config files
- schemas/clawdbot.d.ts: full types without digging into code
- pnpm schema:gen / schema:check scripts (mirrors protocol:check pattern)
- CI: add schema:check to catch drift
2026-01-26 23:43:55 -08:00