|
@@ -6534,6 +6534,98 @@
|
|
|
},
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
},
|
|
|
|
|
+ "Event.tui.prompt.append": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "tui.prompt.append"
|
|
|
|
|
+ },
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "text": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["text"]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "properties"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "Event.tui.command.execute": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "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.half.page.up",
|
|
|
|
|
+ "session.half.page.down",
|
|
|
|
|
+ "session.first",
|
|
|
|
|
+ "session.last",
|
|
|
|
|
+ "prompt.clear",
|
|
|
|
|
+ "prompt.submit",
|
|
|
|
|
+ "agent.cycle"
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["command"]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "properties"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "Event.tui.toast.show": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "const": "tui.toast.show"
|
|
|
|
|
+ },
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "title": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "message": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "variant": {
|
|
|
|
|
+ "type": "string",
|
|
|
|
|
+ "enum": ["info", "success", "warning", "error"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "duration": {
|
|
|
|
|
+ "description": "Duration in milliseconds",
|
|
|
|
|
+ "default": 5000,
|
|
|
|
|
+ "type": "number"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["message", "variant"]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["type", "properties"]
|
|
|
|
|
+ },
|
|
|
"Event.command.executed": {
|
|
"Event.command.executed": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"properties": {
|
|
"properties": {
|
|
@@ -6828,98 +6920,6 @@
|
|
|
},
|
|
},
|
|
|
"required": ["type", "properties"]
|
|
"required": ["type", "properties"]
|
|
|
},
|
|
},
|
|
|
- "Event.tui.prompt.append": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "tui.prompt.append"
|
|
|
|
|
- },
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "text": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["text"]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "properties"]
|
|
|
|
|
- },
|
|
|
|
|
- "Event.tui.command.execute": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "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.half.page.up",
|
|
|
|
|
- "session.half.page.down",
|
|
|
|
|
- "session.first",
|
|
|
|
|
- "session.last",
|
|
|
|
|
- "prompt.clear",
|
|
|
|
|
- "prompt.submit",
|
|
|
|
|
- "agent.cycle"
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- }
|
|
|
|
|
- ]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["command"]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "properties"]
|
|
|
|
|
- },
|
|
|
|
|
- "Event.tui.toast.show": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "const": "tui.toast.show"
|
|
|
|
|
- },
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "type": "object",
|
|
|
|
|
- "properties": {
|
|
|
|
|
- "title": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "message": {
|
|
|
|
|
- "type": "string"
|
|
|
|
|
- },
|
|
|
|
|
- "variant": {
|
|
|
|
|
- "type": "string",
|
|
|
|
|
- "enum": ["info", "success", "warning", "error"]
|
|
|
|
|
- },
|
|
|
|
|
- "duration": {
|
|
|
|
|
- "description": "Duration in milliseconds",
|
|
|
|
|
- "default": 5000,
|
|
|
|
|
- "type": "number"
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["message", "variant"]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- "required": ["type", "properties"]
|
|
|
|
|
- },
|
|
|
|
|
"Pty": {
|
|
"Pty": {
|
|
|
"type": "object",
|
|
"type": "object",
|
|
|
"properties": {
|
|
"properties": {
|
|
@@ -7114,6 +7114,15 @@
|
|
|
{
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.session.compacted"
|
|
"$ref": "#/components/schemas/Event.session.compacted"
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ "$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.command.executed"
|
|
"$ref": "#/components/schemas/Event.command.executed"
|
|
|
},
|
|
},
|
|
@@ -7138,15 +7147,6 @@
|
|
|
{
|
|
{
|
|
|
"$ref": "#/components/schemas/Event.vcs.branch.updated"
|
|
"$ref": "#/components/schemas/Event.vcs.branch.updated"
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- "$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.pty.created"
|
|
"$ref": "#/components/schemas/Event.pty.created"
|
|
|
},
|
|
},
|