chore: generate
This commit is contained in:
@@ -21,16 +21,10 @@ export class SchemaErrorMiddleware extends HttpApiMiddleware.Service<SchemaError
|
|||||||
"@opencode/HttpApiSchemaError",
|
"@opencode/HttpApiSchemaError",
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
export const schemaErrorLayer = HttpApiMiddleware.layerSchemaErrorTransform(
|
export const schemaErrorLayer = HttpApiMiddleware.layerSchemaErrorTransform(SchemaErrorMiddleware, (error) => {
|
||||||
SchemaErrorMiddleware,
|
|
||||||
(error) => {
|
|
||||||
const reason = truncateReason(error.cause.message)
|
const reason = truncateReason(error.cause.message)
|
||||||
log.warn("schema rejection", { kind: error.kind, reason })
|
log.warn("schema rejection", { kind: error.kind, reason })
|
||||||
return Effect.succeed(
|
return Effect.succeed(
|
||||||
HttpServerResponse.jsonUnsafe(
|
HttpServerResponse.jsonUnsafe({ name: "BadRequest", data: { message: reason, kind: error.kind } }, { status: 400 }),
|
||||||
{ name: "BadRequest", data: { message: reason, kind: error.kind } },
|
|
||||||
{ status: 400 },
|
|
||||||
),
|
|
||||||
)
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
})
|
||||||
|
|||||||
@@ -5,12 +5,6 @@ export type ClientOptions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type Event =
|
export type Event =
|
||||||
| EventTuiPromptAppend
|
|
||||||
| EventTuiCommandExecute
|
|
||||||
| EventTuiToastShow1
|
|
||||||
| EventTuiSessionSelect
|
|
||||||
| EventServerConnected
|
|
||||||
| EventGlobalDisposed
|
|
||||||
| EventServerInstanceDisposed
|
| EventServerInstanceDisposed
|
||||||
| EventFileEdited
|
| EventFileEdited
|
||||||
| EventFileWatcherUpdated
|
| EventFileWatcherUpdated
|
||||||
@@ -30,6 +24,10 @@ export type Event =
|
|||||||
| EventSessionStatus
|
| EventSessionStatus
|
||||||
| EventSessionIdle
|
| EventSessionIdle
|
||||||
| EventSessionCompacted
|
| EventSessionCompacted
|
||||||
|
| EventTuiPromptAppend
|
||||||
|
| EventTuiCommandExecute
|
||||||
|
| EventTuiToastShow1
|
||||||
|
| EventTuiSessionSelect
|
||||||
| EventMcpToolsChanged
|
| EventMcpToolsChanged
|
||||||
| EventMcpBrowserOpenFailed
|
| EventMcpBrowserOpenFailed
|
||||||
| EventCommandExecuted
|
| EventCommandExecuted
|
||||||
@@ -77,6 +75,8 @@ export type Event =
|
|||||||
| EventSessionNextCompactionStarted
|
| EventSessionNextCompactionStarted
|
||||||
| EventSessionNextCompactionDelta
|
| EventSessionNextCompactionDelta
|
||||||
| EventSessionNextCompactionEnded
|
| EventSessionNextCompactionEnded
|
||||||
|
| EventServerConnected
|
||||||
|
| EventGlobalDisposed
|
||||||
|
|
||||||
export type OAuth = {
|
export type OAuth = {
|
||||||
type: "oauth"
|
type: "oauth"
|
||||||
@@ -103,61 +103,6 @@ export type WellKnownAuth = {
|
|||||||
|
|
||||||
export type Auth = OAuth | ApiAuth | WellKnownAuth
|
export type Auth = OAuth | ApiAuth | WellKnownAuth
|
||||||
|
|
||||||
export type EventTuiPromptAppend = {
|
|
||||||
id: string
|
|
||||||
type: "tui.prompt.append"
|
|
||||||
properties: {
|
|
||||||
text: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventTuiCommandExecute = {
|
|
||||||
id: string
|
|
||||||
type: "tui.command.execute"
|
|
||||||
properties: {
|
|
||||||
command:
|
|
||||||
| "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"
|
|
||||||
| string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventTuiToastShow = {
|
|
||||||
id: string
|
|
||||||
type: "tui.toast.show"
|
|
||||||
properties: {
|
|
||||||
title?: string
|
|
||||||
message: string
|
|
||||||
variant: "info" | "success" | "warning" | "error"
|
|
||||||
duration?: number
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventTuiSessionSelect = {
|
|
||||||
id: string
|
|
||||||
type: "tui.session.select"
|
|
||||||
properties: {
|
|
||||||
/**
|
|
||||||
* Session ID to navigate to
|
|
||||||
*/
|
|
||||||
sessionID: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type PermissionRequest = {
|
export type PermissionRequest = {
|
||||||
id: string
|
id: string
|
||||||
sessionID: string
|
sessionID: string
|
||||||
@@ -335,6 +280,61 @@ export type SessionStatus =
|
|||||||
type: "busy"
|
type: "busy"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventTuiPromptAppend = {
|
||||||
|
id: string
|
||||||
|
type: "tui.prompt.append"
|
||||||
|
properties: {
|
||||||
|
text: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventTuiCommandExecute = {
|
||||||
|
id: string
|
||||||
|
type: "tui.command.execute"
|
||||||
|
properties: {
|
||||||
|
command:
|
||||||
|
| "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"
|
||||||
|
| string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventTuiToastShow = {
|
||||||
|
id: string
|
||||||
|
type: "tui.toast.show"
|
||||||
|
properties: {
|
||||||
|
title?: string
|
||||||
|
message: string
|
||||||
|
variant: "info" | "success" | "warning" | "error"
|
||||||
|
duration?: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventTuiSessionSelect = {
|
||||||
|
id: string
|
||||||
|
type: "tui.session.select"
|
||||||
|
properties: {
|
||||||
|
/**
|
||||||
|
* Session ID to navigate to
|
||||||
|
*/
|
||||||
|
sessionID: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type Project = {
|
export type Project = {
|
||||||
id: string
|
id: string
|
||||||
worktree: string
|
worktree: string
|
||||||
@@ -778,12 +778,6 @@ export type GlobalEvent = {
|
|||||||
project?: string
|
project?: string
|
||||||
workspace?: string
|
workspace?: string
|
||||||
payload:
|
payload:
|
||||||
| EventTuiPromptAppend
|
|
||||||
| EventTuiCommandExecute
|
|
||||||
| EventTuiToastShow
|
|
||||||
| EventTuiSessionSelect
|
|
||||||
| EventServerConnected
|
|
||||||
| EventGlobalDisposed
|
|
||||||
| EventServerInstanceDisposed
|
| EventServerInstanceDisposed
|
||||||
| EventFileEdited
|
| EventFileEdited
|
||||||
| EventFileWatcherUpdated
|
| EventFileWatcherUpdated
|
||||||
@@ -803,6 +797,10 @@ export type GlobalEvent = {
|
|||||||
| EventSessionStatus
|
| EventSessionStatus
|
||||||
| EventSessionIdle
|
| EventSessionIdle
|
||||||
| EventSessionCompacted
|
| EventSessionCompacted
|
||||||
|
| EventTuiPromptAppend
|
||||||
|
| EventTuiCommandExecute
|
||||||
|
| EventTuiToastShow
|
||||||
|
| EventTuiSessionSelect
|
||||||
| EventMcpToolsChanged
|
| EventMcpToolsChanged
|
||||||
| EventMcpBrowserOpenFailed
|
| EventMcpBrowserOpenFailed
|
||||||
| EventCommandExecuted
|
| EventCommandExecuted
|
||||||
@@ -850,6 +848,8 @@ export type GlobalEvent = {
|
|||||||
| EventSessionNextCompactionStarted
|
| EventSessionNextCompactionStarted
|
||||||
| EventSessionNextCompactionDelta
|
| EventSessionNextCompactionDelta
|
||||||
| EventSessionNextCompactionEnded
|
| EventSessionNextCompactionEnded
|
||||||
|
| EventServerConnected
|
||||||
|
| EventGlobalDisposed
|
||||||
| SyncEventMessageUpdated
|
| SyncEventMessageUpdated
|
||||||
| SyncEventMessageRemoved
|
| SyncEventMessageRemoved
|
||||||
| SyncEventMessagePartUpdated
|
| SyncEventMessagePartUpdated
|
||||||
@@ -2330,22 +2330,6 @@ export type SyncEventSessionNextCompactionEnded = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventServerConnected = {
|
|
||||||
id: string
|
|
||||||
type: "server.connected"
|
|
||||||
properties: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventGlobalDisposed = {
|
|
||||||
id: string
|
|
||||||
type: "global.disposed"
|
|
||||||
properties: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventServerInstanceDisposed = {
|
export type EventServerInstanceDisposed = {
|
||||||
id: string
|
id: string
|
||||||
type: "server.instance.disposed"
|
type: "server.instance.disposed"
|
||||||
@@ -3060,6 +3044,22 @@ export type EventSessionNextCompactionEnded = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventServerConnected = {
|
||||||
|
id: string
|
||||||
|
type: "server.connected"
|
||||||
|
properties: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventGlobalDisposed = {
|
||||||
|
id: string
|
||||||
|
type: "global.disposed"
|
||||||
|
properties: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type SessionInfo = {
|
export type SessionInfo = {
|
||||||
id: string
|
id: string
|
||||||
parentID?: string
|
parentID?: string
|
||||||
|
|||||||
+206
-206
@@ -8868,24 +8868,6 @@
|
|||||||
"schemas": {
|
"schemas": {
|
||||||
"Event": {
|
"Event": {
|
||||||
"anyOf": [
|
"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"
|
"$ref": "#/components/schemas/EventServerInstanceDisposed"
|
||||||
},
|
},
|
||||||
@@ -8943,6 +8925,18 @@
|
|||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventSessionCompacted"
|
"$ref": "#/components/schemas/EventSessionCompacted"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$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"
|
"$ref": "#/components/schemas/EventMcpToolsChanged"
|
||||||
},
|
},
|
||||||
@@ -9083,6 +9077,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventServerConnected"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventGlobalDisposed"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -9163,140 +9163,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
|
|
||||||
},
|
|
||||||
"PermissionRequest": {
|
"PermissionRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -9756,6 +9622,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
|
||||||
|
},
|
||||||
"Project": {
|
"Project": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -11129,24 +11129,6 @@
|
|||||||
},
|
},
|
||||||
"payload": {
|
"payload": {
|
||||||
"anyOf": [
|
"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"
|
"$ref": "#/components/schemas/EventServerInstanceDisposed"
|
||||||
},
|
},
|
||||||
@@ -11204,6 +11186,18 @@
|
|||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventSessionCompacted"
|
"$ref": "#/components/schemas/EventSessionCompacted"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$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"
|
"$ref": "#/components/schemas/EventMcpToolsChanged"
|
||||||
},
|
},
|
||||||
@@ -11345,6 +11339,12 @@
|
|||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
"$ref": "#/components/schemas/EventSessionNextCompactionEnded"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventServerConnected"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventGlobalDisposed"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/SyncEventMessageUpdated"
|
"$ref": "#/components/schemas/SyncEventMessageUpdated"
|
||||||
},
|
},
|
||||||
@@ -15843,42 +15843,6 @@
|
|||||||
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
||||||
"additionalProperties": false
|
"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": {
|
"EventServerInstanceDisposed": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -18047,6 +18011,42 @@
|
|||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"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
|
||||||
|
},
|
||||||
"SessionInfo": {
|
"SessionInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user