summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdk/openapi.json')
-rw-r--r--packages/sdk/openapi.json232
1 files changed, 116 insertions, 116 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index bfca971ef..22e66c7d1 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -8743,6 +8743,102 @@
},
"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.restore": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "workspace.restore"
+ },
+ "properties": {
+ "type": "object",
+ "properties": {
+ "workspaceID": {
+ "type": "string",
+ "pattern": "^wrk.*"
+ },
+ "sessionID": {
+ "type": "string",
+ "pattern": "^ses.*"
+ },
+ "total": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ },
+ "step": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ }
+ },
+ "required": ["workspaceID", "sessionID", "total", "step"]
+ }
+ },
+ "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"]
+ }
+ },
+ "required": ["workspaceID", "status"]
+ }
+ },
+ "required": ["type", "properties"]
+ },
"Event.worktree.ready": {
"type": "object",
"properties": {
@@ -8901,102 +8997,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.restore": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "const": "workspace.restore"
- },
- "properties": {
- "type": "object",
- "properties": {
- "workspaceID": {
- "type": "string",
- "pattern": "^wrk.*"
- },
- "sessionID": {
- "type": "string",
- "pattern": "^ses.*"
- },
- "total": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- },
- "step": {
- "type": "integer",
- "minimum": 0,
- "maximum": 9007199254740991
- }
- },
- "required": ["workspaceID", "sessionID", "total", "step"]
- }
- },
- "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"]
- }
- },
- "required": ["workspaceID", "status"]
- }
- },
- "required": ["type", "properties"]
- },
"OutputFormatText": {
"type": "object",
"properties": {
@@ -11048,34 +11048,34 @@
"$ref": "#/components/schemas/Event.vcs.branch.updated"
},
{
- "$ref": "#/components/schemas/Event.worktree.ready"
+ "$ref": "#/components/schemas/Event.workspace.ready"
},
{
- "$ref": "#/components/schemas/Event.worktree.failed"
+ "$ref": "#/components/schemas/Event.workspace.failed"
},
{
- "$ref": "#/components/schemas/Event.pty.created"
+ "$ref": "#/components/schemas/Event.workspace.restore"
},
{
- "$ref": "#/components/schemas/Event.pty.updated"
+ "$ref": "#/components/schemas/Event.workspace.status"
},
{
- "$ref": "#/components/schemas/Event.pty.exited"
+ "$ref": "#/components/schemas/Event.worktree.ready"
},
{
- "$ref": "#/components/schemas/Event.pty.deleted"
+ "$ref": "#/components/schemas/Event.worktree.failed"
},
{
- "$ref": "#/components/schemas/Event.workspace.ready"
+ "$ref": "#/components/schemas/Event.pty.created"
},
{
- "$ref": "#/components/schemas/Event.workspace.failed"
+ "$ref": "#/components/schemas/Event.pty.updated"
},
{
- "$ref": "#/components/schemas/Event.workspace.restore"
+ "$ref": "#/components/schemas/Event.pty.exited"
},
{
- "$ref": "#/components/schemas/Event.workspace.status"
+ "$ref": "#/components/schemas/Event.pty.deleted"
},
{
"$ref": "#/components/schemas/Event.message.updated"
@@ -13341,34 +13341,34 @@
"$ref": "#/components/schemas/Event.vcs.branch.updated"
},
{
- "$ref": "#/components/schemas/Event.worktree.ready"
+ "$ref": "#/components/schemas/Event.workspace.ready"
},
{
- "$ref": "#/components/schemas/Event.worktree.failed"
+ "$ref": "#/components/schemas/Event.workspace.failed"
},
{
- "$ref": "#/components/schemas/Event.pty.created"
+ "$ref": "#/components/schemas/Event.workspace.restore"
},
{
- "$ref": "#/components/schemas/Event.pty.updated"
+ "$ref": "#/components/schemas/Event.workspace.status"
},
{
- "$ref": "#/components/schemas/Event.pty.exited"
+ "$ref": "#/components/schemas/Event.worktree.ready"
},
{
- "$ref": "#/components/schemas/Event.pty.deleted"
+ "$ref": "#/components/schemas/Event.worktree.failed"
},
{
- "$ref": "#/components/schemas/Event.workspace.ready"
+ "$ref": "#/components/schemas/Event.pty.created"
},
{
- "$ref": "#/components/schemas/Event.workspace.failed"
+ "$ref": "#/components/schemas/Event.pty.updated"
},
{
- "$ref": "#/components/schemas/Event.workspace.restore"
+ "$ref": "#/components/schemas/Event.pty.exited"
},
{
- "$ref": "#/components/schemas/Event.workspace.status"
+ "$ref": "#/components/schemas/Event.pty.deleted"
},
{
"$ref": "#/components/schemas/Event.message.updated"