|
|
@@ -7986,71 +7986,6 @@
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
- "Event.workspace.ready": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "workspace.ready"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "name": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["name"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
- "Event.workspace.failed": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "workspace.failed"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "message": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["message"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
- "Event.workspace.status": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "workspace.status"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "workspaceID": {
|
|
|
- "type": "string",
|
|
|
- "pattern": "^wrk.*"
|
|
|
- },
|
|
|
- "status": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["connected", "connecting", "disconnected", "error"]
|
|
|
- },
|
|
|
- "error": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["workspaceID", "status"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
"QuestionOption": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -8201,6 +8136,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": [
|
|
|
{
|
|
|
@@ -8307,50 +8286,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": {
|
|
|
@@ -8505,6 +8440,71 @@
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
+ "Event.workspace.ready": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "workspace.ready"
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["name"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["type", "properties"]
|
|
|
+ },
|
|
|
+ "Event.workspace.failed": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "workspace.failed"
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["message"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["type", "properties"]
|
|
|
+ },
|
|
|
+ "Event.workspace.status": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "workspace.status"
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "workspaceID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^wrk.*"
|
|
|
+ },
|
|
|
+ "status": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["connected", "connecting", "disconnected", "error"]
|
|
|
+ },
|
|
|
+ "error": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["workspaceID", "status"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["type", "properties"]
|
|
|
+ },
|
|
|
"OutputFormatText": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -9937,15 +9937,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.command.executed"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.asked"
|
|
|
},
|
|
|
@@ -9955,6 +9946,9 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.rejected"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.todo.updated"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.session.status"
|
|
|
},
|
|
|
@@ -9964,9 +9958,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.session.compacted"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.todo.updated"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.worktree.ready"
|
|
|
},
|
|
|
@@ -9985,6 +9976,15 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.pty.deleted"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.message.updated"
|
|
|
},
|