File size: 2,611 Bytes
a53fc63 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "AI Cockpit State",
"type": "object",
"required": [
"active_focus",
"current_work",
"sidecars",
"next_allowed_step",
"todos",
"open_threads"
],
"additionalProperties": false,
"properties": {
"active_focus": {
"type": "object",
"required": ["name", "subtitle", "goal", "active_for"],
"additionalProperties": false,
"properties": {
"name": {"type": "string"},
"subtitle": {"type": "string"},
"goal": {"type": "string"},
"active_for": {"type": "string"}
}
},
"current_work": {
"type": "object",
"required": ["file_path", "status", "language", "saved", "code_lines", "notes"],
"additionalProperties": false,
"properties": {
"file_path": {"type": "string"},
"status": {"type": "string"},
"language": {"type": "string"},
"saved": {"type": "string"},
"code_lines": {
"type": "array",
"items": {"type": "string"}
},
"notes": {
"type": "array",
"items": {"type": "string"}
}
}
},
"sidecars": {
"type": "array",
"minItems": 5,
"maxItems": 5,
"items": {
"type": "object",
"required": ["id", "title", "tone", "is_lead", "sentences"],
"additionalProperties": false,
"properties": {
"id": {"type": "string"},
"title": {"type": "string"},
"tone": {"type": "string", "enum": ["HARD", "MEDIUM", "LOW"]},
"is_lead": {"type": "boolean"},
"sentences": {
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": {"type": "string"}
}
}
}
},
"next_allowed_step": {"type": "string"},
"todos": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "text", "status"],
"additionalProperties": false,
"properties": {
"id": {"type": "string"},
"text": {"type": "string"},
"status": {"type": "string", "enum": ["open", "done"]}
}
}
},
"open_threads": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "title", "kind", "status"],
"additionalProperties": false,
"properties": {
"id": {"type": "string"},
"title": {"type": "string"},
"kind": {"type": "string"},
"status": {"type": "string"}
}
}
}
}
}
|