|
|
@@ -9154,6 +9154,27 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventInstallationUpdate-available"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessageUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessageRemoved"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessagePartUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessagePartRemoved"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionCreated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionDeleted"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventServerConnected"
|
|
|
},
|
|
|
@@ -10017,34 +10038,6 @@
|
|
|
"required": ["id", "title", "command", "args", "cwd", "status", "pid"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "Prompt": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "text": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "files": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/PromptFileAttachment"
|
|
|
- }
|
|
|
- },
|
|
|
- "agents": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/PromptAgentAttachment"
|
|
|
- }
|
|
|
- },
|
|
|
- "references": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "$ref": "#/components/schemas/PromptReferenceAttachment"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["text"],
|
|
|
- "additionalProperties": false
|
|
|
- },
|
|
|
"OutputFormatText": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -11310,6 +11303,34 @@
|
|
|
"required": ["id", "slug", "projectID", "directory", "title", "version", "time"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "Prompt": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "text": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "files": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/PromptFileAttachment"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "agents": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/PromptAgentAttachment"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "references": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "$ref": "#/components/schemas/PromptReferenceAttachment"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["text"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"GlobalEvent": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
@@ -11435,6 +11456,27 @@
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventInstallationUpdate-available"
|
|
|
},
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessageUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessageRemoved"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessagePartUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventMessagePartRemoved"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionCreated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionUpdated"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/EventSessionDeleted"
|
|
|
+ },
|
|
|
{
|
|
|
"$ref": "#/components/schemas/EventServerConnected"
|
|
|
},
|
|
|
@@ -11580,31 +11622,34 @@
|
|
|
"$ref": "#/components/schemas/SyncEventSessionNextTextEnded"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolInputStarted"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextReasoningStarted"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolInputDelta"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextReasoningDelta"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolInputEnded"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextReasoningEnded"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolCalled"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolInputStarted"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolSuccess"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolInputDelta"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolFailed"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolInputEnded"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextReasoningStarted"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolCalled"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextReasoningDelta"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolProgress"
|
|
|
},
|
|
|
{
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextReasoningEnded"
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolSuccess"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/SyncEventSessionNextToolFailed"
|
|
|
},
|
|
|
{
|
|
|
"$ref": "#/components/schemas/SyncEventSessionNextRetried"
|
|
|
@@ -11617,9 +11662,6 @@
|
|
|
},
|
|
|
{
|
|
|
"$ref": "#/components/schemas/SyncEventSessionNextCompactionEnded"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/SyncEventSessionNextToolProgress"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
@@ -15512,7 +15554,7 @@
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolInputStarted": {
|
|
|
+ "SyncEventSessionNextReasoningStarted": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15521,7 +15563,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.input.started.1"]
|
|
|
+ "enum": ["session.next.reasoning.started.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15543,21 +15585,18 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "callID": {
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "name": {
|
|
|
+ "reasoningID": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "name"],
|
|
|
+ "required": ["timestamp", "sessionID", "reasoningID"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolInputDelta": {
|
|
|
+ "SyncEventSessionNextReasoningDelta": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15566,7 +15605,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.input.delta.1"]
|
|
|
+ "enum": ["session.next.reasoning.delta.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15588,21 +15627,21 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "callID": {
|
|
|
+ "reasoningID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"delta": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "delta"],
|
|
|
+ "required": ["timestamp", "sessionID", "reasoningID", "delta"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolInputEnded": {
|
|
|
+ "SyncEventSessionNextReasoningEnded": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15611,7 +15650,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.input.ended.1"]
|
|
|
+ "enum": ["session.next.reasoning.ended.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15633,21 +15672,21 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "callID": {
|
|
|
+ "reasoningID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
"text": {
|
|
|
"type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "text"],
|
|
|
+ "required": ["timestamp", "sessionID", "reasoningID", "text"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolCalled": {
|
|
|
+ "SyncEventSessionNextToolInputStarted": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15656,7 +15695,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.called.1"]
|
|
|
+ "enum": ["session.next.tool.input.started.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15681,34 +15720,18 @@
|
|
|
"callID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "tool": {
|
|
|
+ "name": {
|
|
|
"type": "string"
|
|
|
- },
|
|
|
- "input": {
|
|
|
- "type": "object"
|
|
|
- },
|
|
|
- "provider": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "executed": {
|
|
|
- "type": "boolean"
|
|
|
- },
|
|
|
- "metadata": {
|
|
|
- "type": "object"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["executed"],
|
|
|
- "additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "tool", "input", "provider"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "name"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolSuccess": {
|
|
|
+ "SyncEventSessionNextToolInputDelta": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15717,7 +15740,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.success.1"]
|
|
|
+ "enum": ["session.next.tool.input.delta.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15742,44 +15765,18 @@
|
|
|
"callID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "structured": {
|
|
|
- "type": "object"
|
|
|
- },
|
|
|
- "content": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ToolTextContent"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ToolFileContent"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- "provider": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "executed": {
|
|
|
- "type": "boolean"
|
|
|
- },
|
|
|
- "metadata": {
|
|
|
- "type": "object"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["executed"],
|
|
|
- "additionalProperties": false
|
|
|
+ "delta": {
|
|
|
+ "type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "structured", "content", "provider"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "delta"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolFailed": {
|
|
|
+ "SyncEventSessionNextToolInputEnded": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15788,7 +15785,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.failed.1"]
|
|
|
+ "enum": ["session.next.tool.input.ended.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15813,31 +15810,18 @@
|
|
|
"callID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "error": {
|
|
|
- "$ref": "#/components/schemas/SessionErrorUnknown"
|
|
|
- },
|
|
|
- "provider": {
|
|
|
- "type": "object",
|
|
|
- "properties": {
|
|
|
- "executed": {
|
|
|
- "type": "boolean"
|
|
|
- },
|
|
|
- "metadata": {
|
|
|
- "type": "object"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["executed"],
|
|
|
- "additionalProperties": false
|
|
|
+ "text": {
|
|
|
+ "type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "error", "provider"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "text"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextReasoningStarted": {
|
|
|
+ "SyncEventSessionNextToolCalled": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15846,7 +15830,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.reasoning.started.1"]
|
|
|
+ "enum": ["session.next.tool.called.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15868,18 +15852,37 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "reasoningID": {
|
|
|
+ "callID": {
|
|
|
"type": "string"
|
|
|
+ },
|
|
|
+ "tool": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "input": {
|
|
|
+ "type": "object"
|
|
|
+ },
|
|
|
+ "provider": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "executed": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "metadata": {
|
|
|
+ "type": "object"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["executed"],
|
|
|
+ "additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "reasoningID"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "tool", "input", "provider"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextReasoningDelta": {
|
|
|
+ "SyncEventSessionNextToolProgress": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15888,7 +15891,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.reasoning.delta.1"]
|
|
|
+ "enum": ["session.next.tool.progress.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15910,21 +15913,34 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "reasoningID": {
|
|
|
+ "callID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "delta": {
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- },
|
|
|
- "required": ["timestamp", "sessionID", "reasoningID", "delta"],
|
|
|
+ "structured": {
|
|
|
+ "type": "object"
|
|
|
+ },
|
|
|
+ "content": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ToolTextContent"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ToolFileContent"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "structured", "content"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextReasoningEnded": {
|
|
|
+ "SyncEventSessionNextToolSuccess": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15933,7 +15949,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.reasoning.ended.1"]
|
|
|
+ "enum": ["session.next.tool.success.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -15955,21 +15971,47 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "reasoningID": {
|
|
|
+ "callID": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "text": {
|
|
|
- "type": "string"
|
|
|
+ "structured": {
|
|
|
+ "type": "object"
|
|
|
+ },
|
|
|
+ "content": {
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "anyOf": [
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ToolTextContent"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "$ref": "#/components/schemas/ToolFileContent"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "provider": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "executed": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "metadata": {
|
|
|
+ "type": "object"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["executed"],
|
|
|
+ "additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "reasoningID", "text"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "structured", "content", "provider"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextRetried": {
|
|
|
+ "SyncEventSessionNextToolFailed": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -15978,7 +16020,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.retried.1"]
|
|
|
+ "enum": ["session.next.tool.failed.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -16000,21 +16042,34 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "attempt": {
|
|
|
- "type": "number"
|
|
|
+ "callID": {
|
|
|
+ "type": "string"
|
|
|
},
|
|
|
"error": {
|
|
|
- "$ref": "#/components/schemas/SessionNextRetry_error"
|
|
|
+ "$ref": "#/components/schemas/SessionErrorUnknown"
|
|
|
+ },
|
|
|
+ "provider": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "executed": {
|
|
|
+ "type": "boolean"
|
|
|
+ },
|
|
|
+ "metadata": {
|
|
|
+ "type": "object"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["executed"],
|
|
|
+ "additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "attempt", "error"],
|
|
|
+ "required": ["timestamp", "sessionID", "callID", "error", "provider"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextCompactionStarted": {
|
|
|
+ "SyncEventSessionNextRetried": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -16023,7 +16078,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.compaction.started.1"]
|
|
|
+ "enum": ["session.next.retried.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -16045,19 +16100,21 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "reason": {
|
|
|
- "type": "string",
|
|
|
- "enum": ["auto", "manual"]
|
|
|
+ "attempt": {
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "error": {
|
|
|
+ "$ref": "#/components/schemas/SessionNextRetry_error"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "reason"],
|
|
|
+ "required": ["timestamp", "sessionID", "attempt", "error"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextCompactionDelta": {
|
|
|
+ "SyncEventSessionNextCompactionStarted": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -16066,7 +16123,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.compaction.delta.1"]
|
|
|
+ "enum": ["session.next.compaction.started.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -16088,18 +16145,19 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "text": {
|
|
|
- "type": "string"
|
|
|
+ "reason": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["auto", "manual"]
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "text"],
|
|
|
+ "required": ["timestamp", "sessionID", "reason"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextCompactionEnded": {
|
|
|
+ "SyncEventSessionNextCompactionDelta": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -16108,7 +16166,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.compaction.ended.1"]
|
|
|
+ "enum": ["session.next.compaction.delta.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -16132,9 +16190,6 @@
|
|
|
},
|
|
|
"text": {
|
|
|
"type": "string"
|
|
|
- },
|
|
|
- "include": {
|
|
|
- "type": "string"
|
|
|
}
|
|
|
},
|
|
|
"required": ["timestamp", "sessionID", "text"],
|
|
|
@@ -16144,7 +16199,7 @@
|
|
|
"required": ["type", "name", "id", "seq", "aggregateID", "data"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
- "SyncEventSessionNextToolProgress": {
|
|
|
+ "SyncEventSessionNextCompactionEnded": {
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"type": {
|
|
|
@@ -16153,7 +16208,7 @@
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
- "enum": ["session.next.tool.progress.1"]
|
|
|
+ "enum": ["session.next.compaction.ended.1"]
|
|
|
},
|
|
|
"id": {
|
|
|
"type": "string"
|
|
|
@@ -16162,7 +16217,8 @@
|
|
|
"type": "number"
|
|
|
},
|
|
|
"aggregateID": {
|
|
|
- "type": "string"
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["sessionID"]
|
|
|
},
|
|
|
"data": {
|
|
|
"type": "object",
|
|
|
@@ -16174,27 +16230,14 @@
|
|
|
"type": "string",
|
|
|
"pattern": "^ses"
|
|
|
},
|
|
|
- "callID": {
|
|
|
+ "text": {
|
|
|
"type": "string"
|
|
|
},
|
|
|
- "structured": {
|
|
|
- "type": "object"
|
|
|
- },
|
|
|
- "content": {
|
|
|
- "type": "array",
|
|
|
- "items": {
|
|
|
- "anyOf": [
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ToolTextContent"
|
|
|
- },
|
|
|
- {
|
|
|
- "$ref": "#/components/schemas/ToolFileContent"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ "include": {
|
|
|
+ "type": "string"
|
|
|
}
|
|
|
},
|
|
|
- "required": ["timestamp", "sessionID", "callID", "structured", "content"],
|
|
|
+ "required": ["timestamp", "sessionID", "text"],
|
|
|
"additionalProperties": false
|
|
|
}
|
|
|
},
|
|
|
@@ -17055,6 +17098,212 @@
|
|
|
"required": ["id", "type", "properties"],
|
|
|
"additionalProperties": false
|
|
|
},
|
|
|
+ "EventMessageUpdated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["message.updated"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "$ref": "#/components/schemas/Message"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "info"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventMessageRemoved": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["message.removed"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "messageID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^msg"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "messageID"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventMessagePartUpdated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["message.part.updated"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "part": {
|
|
|
+ "$ref": "#/components/schemas/Part"
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "type": "integer",
|
|
|
+ "minimum": 0
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "part", "time"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventMessagePartRemoved": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["message.part.removed"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "messageID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^msg"
|
|
|
+ },
|
|
|
+ "partID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^prt"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "messageID", "partID"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventSessionCreated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["session.created"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "$ref": "#/components/schemas/Session"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "info"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventSessionUpdated": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["session.updated"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "$ref": "#/components/schemas/Session"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "info"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
+ "EventSessionDeleted": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "type": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["session.deleted"]
|
|
|
+ },
|
|
|
+ "properties": {
|
|
|
+ "type": "object",
|
|
|
+ "properties": {
|
|
|
+ "sessionID": {
|
|
|
+ "type": "string",
|
|
|
+ "pattern": "^ses"
|
|
|
+ },
|
|
|
+ "info": {
|
|
|
+ "$ref": "#/components/schemas/Session"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["sessionID", "info"],
|
|
|
+ "additionalProperties": false
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "required": ["id", "type", "properties"],
|
|
|
+ "additionalProperties": false
|
|
|
+ },
|
|
|
"EventServerConnected": {
|
|
|
"type": "object",
|
|
|
"properties": {
|