|
|
@@ -8139,6 +8139,50 @@
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
+ "Todo": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "content": {
|
|
|
+ "description": "Brief description of the task",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "description": "Current status of the task: pending, in_progress, completed, cancelled",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "priority": {
|
|
|
+ "description": "Priority level of the task: high, medium, low",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["content", "status", "priority"]
|
|
|
+ },
|
|
|
+ "Event.todo.updated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "todo.updated"
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses.*"
|
|
|
+ },
|
|
|
+ "todos": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/Todo"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "todos"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["type", "properties"]
|
|
|
+ },
|
|
|
"SessionStatus": {
|
|
|
"anyOf": [
|
|
|
{
|
|
|
@@ -8245,50 +8289,6 @@
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
- "Todo": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "content": {
|
|
|
- "description": "Brief description of the task",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "description": "Current status of the task: pending, in_progress, completed, cancelled",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "priority": {
|
|
|
- "description": "Priority level of the task: high, medium, low",
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["content", "status", "priority"]
|
|
|
- },
|
|
|
- "Event.todo.updated": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "todo.updated"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "sessionID": {
|
|
|
- "type": "string",
|
|
|
- "pattern": "^ses.*"
|
|
|
- },
|
|
|
- "todos": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/Todo"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["sessionID", "todos"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
"Event.worktree.ready": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -9949,6 +9949,9 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.rejected"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.todo.updated"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.session.status"
|
|
|
},
|
|
|
@@ -9958,9 +9961,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.session.compacted"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.todo.updated"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.worktree.ready"
|
|
|
},
|