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 {
|
export interface ClawdbotConfig {
|
||||||
|
$schema?: string;
|
||||||
meta?: {
|
meta?: {
|
||||||
lastTouchedVersion?: string;
|
lastTouchedVersion?: string;
|
||||||
lastTouchedAt?: string;
|
lastTouchedAt?: string;
|
||||||
|
|||||||
@ -2,6 +2,9 @@
|
|||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"$schema": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"meta": {
|
"meta": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user