diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-12 00:58:05 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-12 00:58:05 +0000 |
| commit | 17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301 (patch) | |
| tree | 7b0742f502c12bab529bf751dff65d91d532d8aa /packages/sdk/openapi.json | |
| parent | 003010bdb63210f9f21485b9abc54b35b38035ce (diff) | |
| download | opencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.tar.gz opencode-17b290088485bd8c1ccdfbf13e8e9c2f3b2c3301.zip | |
chore: generate
Diffstat (limited to 'packages/sdk/openapi.json')
| -rw-r--r-- | packages/sdk/openapi.json | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index 5e5058fde..e8d6e6a08 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -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": { @@ -9950,6 +9950,9 @@ "$ref": "#/components/schemas/Event.question.rejected" }, { + "$ref": "#/components/schemas/Event.todo.updated" + }, + { "$ref": "#/components/schemas/Event.session.status" }, { @@ -9959,9 +9962,6 @@ "$ref": "#/components/schemas/Event.session.compacted" }, { - "$ref": "#/components/schemas/Event.todo.updated" - }, - { "$ref": "#/components/schemas/Event.worktree.ready" }, { |
