|
|
@@ -9043,6 +9043,24 @@
|
|
|
"schemas": {
|
|
|
"Event": {
|
|
|
"anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.prompt.append"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.command.execute"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventTuiToastShow1"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.session.select"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventServerConnected"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventGlobalDisposed"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventServerInstanceDisposed"
|
|
|
},
|
|
|
@@ -9091,18 +9109,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventSessionIdle"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.prompt.append"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.command.execute"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventTuiToastShow1"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.session.select"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventMcpToolsChanged"
|
|
|
},
|
|
|
@@ -9253,12 +9259,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventServerConnected"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventGlobalDisposed"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventCatalogModelUpdated"
|
|
|
},
|
|
|
@@ -9419,6 +9419,140 @@
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
+ "Event.tui.prompt.append": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["tui.prompt.append"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "text": {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["text"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "Event.tui.command.execute": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["tui.command.execute"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "command": {
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "type": "string",
|
|
|
+ "enum": [
|
|
|
+ "session.list",
|
|
|
+ "session.new",
|
|
|
+ "session.share",
|
|
|
+ "session.interrupt",
|
|
|
+ "session.compact",
|
|
|
+ "session.page.up",
|
|
|
+ "session.page.down",
|
|
|
+ "session.line.up",
|
|
|
+ "session.line.down",
|
|
|
+ "session.half.page.up",
|
|
|
+ "session.half.page.down",
|
|
|
+ "session.first",
|
|
|
+ "session.last",
|
|
|
+ "prompt.clear",
|
|
|
+ "prompt.submit",
|
|
|
+ "agent.cycle"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["command"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "Event.tui.toast.show": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["tui.toast.show"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "title": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "message": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "variant": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["info", "success", "warning", "error"]
|
|
|
+ },
|
|
|
+ "duration": {
|
|
|
+ "type": "integer",
|
|
|
+ "exclusiveMinimum": 0
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["message", "variant"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "Event.tui.session.select": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["tui.session.select"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses",
|
|
|
+ "description": "Session ID to navigate to"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"PermissionRequest": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -9878,140 +10012,6 @@
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- "Event.tui.prompt.append": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["tui.prompt.append"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "text": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["text"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
- "Event.tui.command.execute": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["tui.command.execute"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "command": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "type": "string",
|
|
|
- "enum": [
|
|
|
- "session.list",
|
|
|
- "session.new",
|
|
|
- "session.share",
|
|
|
- "session.interrupt",
|
|
|
- "session.compact",
|
|
|
- "session.page.up",
|
|
|
- "session.page.down",
|
|
|
- "session.line.up",
|
|
|
- "session.line.down",
|
|
|
- "session.half.page.up",
|
|
|
- "session.half.page.down",
|
|
|
- "session.first",
|
|
|
- "session.last",
|
|
|
- "prompt.clear",
|
|
|
- "prompt.submit",
|
|
|
- "agent.cycle"
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["command"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
- "Event.tui.toast.show": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["tui.toast.show"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "title": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "message": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "variant": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["info", "success", "warning", "error"]
|
|
|
- },
|
|
|
- "duration": {
|
|
|
- "type": "integer",
|
|
|
- "exclusiveMinimum": 0
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["message", "variant"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
- "Event.tui.session.select": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["tui.session.select"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "sessionID": {
|
|
|
- "type": "string",
|
|
|
- "pattern": "^ses",
|
|
|
- "description": "Session ID to navigate to"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["sessionID"],
|
|
|
- "additionalProperties": false
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"Project": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -11423,6 +11423,24 @@
|
|
|
},
|
|
|
"payload": {
|
|
|
"anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.prompt.append"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.command.execute"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.toast.show"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/Event.tui.session.select"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventServerConnected"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventGlobalDisposed"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventServerInstanceDisposed"
|
|
|
},
|
|
|
@@ -11471,18 +11489,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventSessionIdle"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.prompt.append"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.command.execute"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.toast.show"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/Event.tui.session.select"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventMcpToolsChanged"
|
|
|
},
|
|
|
@@ -11633,12 +11639,6 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
|
|
},
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventServerConnected"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/EventGlobalDisposed"
|
|
|
- },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventCatalogModelUpdated"
|
|
|
},
|
|
|
@@ -16400,6 +16400,42 @@
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "EventServerConnected": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["server.connected"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventGlobalDisposed": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["global.disposed"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"EventServerInstanceDisposed": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -18603,42 +18639,6 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "EventServerConnected": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["server.connected"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {}
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
- "EventGlobalDisposed": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "id": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "type": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["global.disposed"]
|
|
|
- },
|
|
|
- "properties": {
|
|
|
- "type": "object",
|
|
|
- "properties": {}
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["id", "type", "properties"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"ModelV2Info": {
|
|
|
"type": "object",
|
|
|
"properties": {
|