wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-05 05:43:33 -05:00
parent f3e31130ba
commit 04bd98cf4d
2 changed files with 71 additions and 1 deletions

View File

@@ -426,6 +426,9 @@
{
"$ref": "#/components/schemas/Event.message.updated"
},
{
"$ref": "#/components/schemas/Event.message.part.updated"
},
{
"$ref": "#/components/schemas/Event.lsp.client.diagnostics"
},
@@ -441,6 +444,7 @@
"mapping": {
"storage.write": "#/components/schemas/Event.storage.write",
"message.updated": "#/components/schemas/Event.message.updated",
"message.part.updated": "#/components/schemas/Event.message.part.updated",
"lsp.client.diagnostics": "#/components/schemas/Event.lsp.client.diagnostics",
"permission.updated": "#/components/schemas/Event.permission.updated",
"session.updated": "#/components/schemas/Event.session.updated"
@@ -533,6 +537,9 @@
"created"
]
},
"error": {
"type": "string"
},
"sessionID": {
"type": "string"
},
@@ -841,6 +848,30 @@
"type"
]
},
"Event.message.part.updated": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "message.part.updated"
},
"properties": {
"type": "object",
"properties": {
"part": {
"$ref": "#/components/schemas/Message.Part"
}
},
"required": [
"part"
]
}
},
"required": [
"type",
"properties"
]
},
"Event.lsp.client.diagnostics": {
"type": "object",
"properties": {