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:
parent
f15409bc1e
commit
d97d90b10e
1
schemas/clawdbot.d.ts
vendored
1
schemas/clawdbot.d.ts
vendored
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
export interface ClawdbotConfig {
|
||||
$schema?: string;
|
||||
meta?: {
|
||||
lastTouchedVersion?: string;
|
||||
lastTouchedAt?: string;
|
||||
|
||||
@ -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
Loading…
Reference in New Issue
Block a user