|
|
@@ -7592,103 +7592,63 @@
|
|
|
},
|
|
|
"components": {
|
|
|
"schemas": {
|
|
|
- "Project": {
|
|
|
+ "Event.server.instance.disposed": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "worktree": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "vcs": {
|
|
|
+ "type": {
|
|
|
"type": "string",
|
|
|
- "const": "git"
|
|
|
- },
|
|
|
- "name": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "icon": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "url": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "override": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "color": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- }
|
|
|
+ "const": "server.instance.disposed"
|
|
|
},
|
|
|
- "commands": {
|
|
|
+ "properties": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "start": {
|
|
|
- "description": "Startup script to run when creating a new workspace (worktree)",
|
|
|
+ "directory": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
- }
|
|
|
- },
|
|
|
- "time": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "created": {
|
|
|
- "type": "integer",
|
|
|
- "minimum": 0,
|
|
|
- "maximum": 9007199254740991
|
|
|
- },
|
|
|
- "updated": {
|
|
|
- "type": "integer",
|
|
|
- "minimum": 0,
|
|
|
- "maximum": 9007199254740991
|
|
|
- },
|
|
|
- "initialized": {
|
|
|
- "type": "integer",
|
|
|
- "minimum": 0,
|
|
|
- "maximum": 9007199254740991
|
|
|
- }
|
|
|
},
|
|
|
- "required": ["created", "updated"]
|
|
|
- },
|
|
|
- "sandboxes": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
+ "required": ["directory"]
|
|
|
}
|
|
|
},
|
|
|
- "required": ["id", "worktree", "time", "sandboxes"]
|
|
|
+ "required": ["type", "properties"]
|
|
|
},
|
|
|
- "Event.project.updated": {
|
|
|
+ "Event.file.edited": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
"type": "string",
|
|
|
- "const": "project.updated"
|
|
|
+ "const": "file.edited"
|
|
|
},
|
|
|
"properties": {
|
|
|
- "$ref": "#/components/schemas/Project"
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "file": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["file"]
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
- "Event.server.instance.disposed": {
|
|
|
+ "Event.file.watcher.updated": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
"type": "string",
|
|
|
- "const": "server.instance.disposed"
|
|
|
+ "const": "file.watcher.updated"
|
|
|
},
|
|
|
"properties": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
- "directory": {
|
|
|
+ "file": {
|
|
|
"type": "string"
|
|
|
+ },
|
|
|
+ "event": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["add", "change", "unlink"]
|
|
|
}
|
|
|
},
|
|
|
- "required": ["directory"]
|
|
|
+ "required": ["file", "event"]
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
@@ -8155,144 +8115,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"]
|
|
|
- },
|
|
|
- "Event.file.edited": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "file.edited"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "file": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["file"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
- "Event.file.watcher.updated": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "const": "file.watcher.updated"
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "file": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "event": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["add", "change", "unlink"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["file", "event"]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["type", "properties"]
|
|
|
- },
|
|
|
"QuestionOption": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -8793,6 +8615,88 @@
|
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
|
+ "Project": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "worktree": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "vcs": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "git"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "icon": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "url": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "override": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "color": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "commands": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "start": {
|
|
|
+ "description": "Startup script to run when creating a new workspace (worktree)",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "created": {
|
|
|
+ "type": "integer",
|
|
|
+ "minimum": 0,
|
|
|
+ "maximum": 9007199254740991
|
|
|
+ },
|
|
|
+ "updated": {
|
|
|
+ "type": "integer",
|
|
|
+ "minimum": 0,
|
|
|
+ "maximum": 9007199254740991
|
|
|
+ },
|
|
|
+ "initialized": {
|
|
|
+ "type": "integer",
|
|
|
+ "minimum": 0,
|
|
|
+ "maximum": 9007199254740991
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["created", "updated"]
|
|
|
+ },
|
|
|
+ "sandboxes": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "worktree", "time", "sandboxes"]
|
|
|
+ },
|
|
|
+ "Event.project.updated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "const": "project.updated"
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "$ref": "#/components/schemas/Project"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["type", "properties"]
|
|
|
+ },
|
|
|
"Event.vcs.branch.updated": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -8811,6 +8715,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": {
|
|
|
@@ -10958,10 +10958,13 @@
|
|
|
"payload": {
|
|
|
"anyOf": [
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.project.updated"
|
|
|
+ "$ref": "#/components/schemas/Event.server.instance.disposed"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.server.instance.disposed"
|
|
|
+ "$ref": "#/components/schemas/Event.file.edited"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.file.watcher.updated"
|
|
|
},
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.lsp.client.diagnostics"
|
|
|
@@ -10990,24 +10993,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.installation.update-available"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.restore"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.file.edited"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.file.watcher.updated"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.asked"
|
|
|
},
|
|
|
@@ -11050,9 +11035,24 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.command.executed"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.project.updated"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.vcs.branch.updated"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.restore"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.worktree.ready"
|
|
|
},
|
|
|
@@ -13253,10 +13253,13 @@
|
|
|
"Event": {
|
|
|
"anyOf": [
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.project.updated"
|
|
|
+ "$ref": "#/components/schemas/Event.server.instance.disposed"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/Event.server.instance.disposed"
|
|
|
+ "$ref": "#/components/schemas/Event.file.edited"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.file.watcher.updated"
|
|
|
},
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.lsp.client.diagnostics"
|
|
|
@@ -13285,24 +13288,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.installation.update-available"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.restore"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.file.edited"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.file.watcher.updated"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.question.asked"
|
|
|
},
|
|
|
@@ -13345,9 +13330,24 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.command.executed"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.project.updated"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.vcs.branch.updated"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.ready"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.failed"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.restore"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.workspace.status"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.worktree.ready"
|
|
|
},
|