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.
This commit is contained in:
CJ Winslow 2026-01-26 23:50:35 -08:00
parent f15409bc1e
commit d97d90b10e
3 changed files with 543 additions and 538 deletions

View File

@ -6,6 +6,7 @@
*/
export interface ClawdbotConfig {
$schema?: string;
meta?: {
lastTouchedVersion?: string;
lastTouchedAt?: string;

View File

@ -2,6 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"meta": {
"type": "object",
"properties": {

File diff suppressed because it is too large Load Diff