diff --git a/packages/ai/test/schema.test.ts b/packages/ai/test/schema.test.ts index 692585ef69..bcade58e4e 100644 --- a/packages/ai/test/schema.test.ts +++ b/packages/ai/test/schema.test.ts @@ -92,9 +92,10 @@ describe("AI.Usage", () => { test("sseFraming maps decoder failures to AI errors", async () => { const error = await Effect.runPromise( - ProviderShared.sseFraming( - Stream.make(new TextEncoder().encode(`data: ${"x".repeat(10 * 1024 * 1024)}`)), - ).pipe(Stream.runCollect, Effect.flip), + ProviderShared.sseFraming(Stream.make(new TextEncoder().encode(`data: ${"x".repeat(10 * 1024 * 1024)}`))).pipe( + Stream.runCollect, + Effect.flip, + ), ) expect(error).toBeInstanceOf(AIError) diff --git a/packages/cli/src/acp/error.ts b/packages/cli/src/acp/error.ts index 004c9b1467..fcdd3bc65c 100644 --- a/packages/cli/src/acp/error.ts +++ b/packages/cli/src/acp/error.ts @@ -25,10 +25,9 @@ export class InvalidModeError extends Schema.TaggedError()("AC export class AuthRequiredError extends Schema.TaggedError()("ACPAuthRequiredError", {}) {} -export class UnknownAuthMethodError extends Schema.TaggedError()( - "ACPUnknownAuthMethodError", - { methodId: Schema.String }, -) {} +export class UnknownAuthMethodError extends Schema.TaggedError()("ACPUnknownAuthMethodError", { + methodId: Schema.String, +}) {} export class ServiceFailureError extends Schema.TaggedError()("ACPServiceFailureError", { safeMessage: Schema.String, diff --git a/packages/core/src/generate.ts b/packages/core/src/generate.ts index 8e2f1a0df6..0671935889 100644 --- a/packages/core/src/generate.ts +++ b/packages/core/src/generate.ts @@ -12,10 +12,9 @@ export interface TextInput { readonly model?: Model.Ref } -export class ModelSelectionError extends Schema.TaggedError()( - "Generate.ModelSelectionError", - { message: Schema.String }, -) {} +export class ModelSelectionError extends Schema.TaggedError()("Generate.ModelSelectionError", { + message: Schema.String, +}) {} export class UnavailableError extends Schema.TaggedError()("Generate.UnavailableError", { message: Schema.String, diff --git a/packages/core/src/repository-cache.ts b/packages/core/src/repository-cache.ts index f3fdabeee7..106faa3ce8 100644 --- a/packages/core/src/repository-cache.ts +++ b/packages/core/src/repository-cache.ts @@ -31,13 +31,10 @@ export type EnsureInput = { readonly branch?: string } -export class InvalidBranchError extends Schema.TaggedError()( - "RepositoryCacheInvalidBranchError", - { - branch: Schema.String, - message: Schema.String, - }, -) {} +export class InvalidBranchError extends Schema.TaggedError()("RepositoryCacheInvalidBranchError", { + branch: Schema.String, + message: Schema.String, +}) {} export class CloneFailedError extends Schema.TaggedError()("RepositoryCacheCloneFailedError", { repository: Schema.String, @@ -68,14 +65,11 @@ export class LockFailedError extends Schema.TaggedError()("Repo message: Schema.String, }) {} -export class CacheOperationError extends Schema.TaggedError()( - "RepositoryCacheOperationError", - { - operation: Schema.String, - path: Schema.String, - message: Schema.String, - }, -) {} +export class CacheOperationError extends Schema.TaggedError()("RepositoryCacheOperationError", { + operation: Schema.String, + path: Schema.String, + message: Schema.String, +}) {} export type Error = | InvalidBranchError diff --git a/packages/core/src/session/revert.ts b/packages/core/src/session/revert.ts index 675986367c..515f1b1c15 100644 --- a/packages/core/src/session/revert.ts +++ b/packages/core/src/session/revert.ts @@ -11,13 +11,10 @@ import { SessionMessage } from "./message.js" import { SessionSchema } from "./schema.js" import { SessionMessageTable } from "./sql.js" -export class MessageNotFoundError extends Schema.TaggedError()( - "Session.MessageNotFoundError", - { - sessionID: SessionSchema.ID, - messageID: SessionMessage.ID, - }, -) {} +export class MessageNotFoundError extends Schema.TaggedError()("Session.MessageNotFoundError", { + sessionID: SessionSchema.ID, + messageID: SessionMessage.ID, +}) {} interface BoundaryInput { readonly sessionID: SessionSchema.ID diff --git a/packages/core/src/websearch.ts b/packages/core/src/websearch.ts index c790410356..7881793d4d 100644 --- a/packages/core/src/websearch.ts +++ b/packages/core/src/websearch.ts @@ -33,12 +33,9 @@ export class ProviderRequiredError extends Schema.TaggedError()( - "WebSearch.ProviderNotFound", - { - providerID: ID, - }, -) {} +export class ProviderNotFoundError extends Schema.TaggedError()("WebSearch.ProviderNotFound", { + providerID: ID, +}) {} export class DisabledError extends Schema.TaggedError()("WebSearch.Disabled", {}) {} diff --git a/packages/httpapi-codegen/src/index.ts b/packages/httpapi-codegen/src/index.ts index 333d06e6a1..f93cee3243 100644 --- a/packages/httpapi-codegen/src/index.ts +++ b/packages/httpapi-codegen/src/index.ts @@ -461,7 +461,9 @@ function effectType(schema: Schema.Top, references: ReturnType [reference.$ref, reference.code.Type])) const expand = (type: string, seen = new Set()): string => { for (const [name, value] of source) { @@ -1844,10 +1846,9 @@ function renderSchemas(slots: ReadonlyArray) { ] const [first, ...rest] = expanded const document = SchemaRepresentation.toCodeDocument( - SchemaRepresentation.toRepresentations(codegenAsts(expanded.map((slot) => slot.schema.ast)) as [ - SchemaAST.AST, - ...Array, - ]), + SchemaRepresentation.toRepresentations( + codegenAsts(expanded.map((slot) => slot.schema.ast)) as [SchemaAST.AST, ...Array], + ), ) const artifacts = document.artifacts.flatMap((artifact) => { if (artifact._tag === "Import") return [artifact.importDeclaration] diff --git a/packages/protocol/openapi.json b/packages/protocol/openapi.json index 0c01a29509..efc51ffea5 100644 --- a/packages/protocol/openapi.json +++ b/packages/protocol/openapi.json @@ -28,7 +28,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -38,7 +38,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -70,7 +70,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -80,7 +80,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -132,7 +132,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -142,7 +142,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -161,37 +161,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -205,7 +175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" } } } @@ -215,7 +185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -225,7 +195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -244,37 +214,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -291,7 +231,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -311,7 +251,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -321,7 +261,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -348,37 +288,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -395,7 +305,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Agent.Info" @@ -412,7 +322,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -422,7 +332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -432,7 +342,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentNotFoundError" + "$ref": "#/components/schemas/AgentNotFoundErrorEncoded" } } } @@ -451,37 +361,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -498,7 +378,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -518,7 +398,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -528,7 +408,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -600,14 +480,7 @@ "name": "search", "in": "query", "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "required": false }, @@ -721,13 +594,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -739,7 +612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -776,7 +649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -786,7 +659,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -816,44 +689,16 @@ ] }, "title": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "additionalProperties": false @@ -893,7 +738,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -903,7 +748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -913,7 +758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -931,20 +776,10 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "required": ["info", "messages"], @@ -978,15 +813,7 @@ "name": "sanitize", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -1015,7 +842,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1025,7 +852,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1035,7 +862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1045,7 +872,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -1089,7 +916,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1099,7 +926,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1152,7 +979,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1162,7 +989,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1172,7 +999,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1209,7 +1036,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1219,7 +1046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1231,10 +1058,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1291,10 +1118,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1306,7 +1133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1318,13 +1145,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1382,7 +1209,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1392,7 +1219,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1404,10 +1231,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1465,7 +1292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1475,7 +1302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1487,10 +1314,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1548,7 +1375,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1558,7 +1385,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1570,10 +1397,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1633,10 +1460,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1648,7 +1475,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1658,7 +1485,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1684,14 +1511,7 @@ ] }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "required": ["directory"], @@ -1748,10 +1568,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1763,7 +1583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1775,10 +1595,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1790,7 +1610,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1805,63 +1625,28 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -1918,10 +1703,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1933,7 +1718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1945,13 +1730,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/CommandNotFoundError" + "$ref": "#/components/schemas/CommandNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1963,7 +1748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1973,7 +1758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CommandEvaluationError" + "$ref": "#/components/schemas/CommandEvaluationErrorEncoded" } } } @@ -1988,90 +1773,34 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "command": { "type": "string" }, "arguments": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["command"], @@ -2112,7 +1841,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2122,7 +1851,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2134,13 +1863,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SkillNotFoundError" + "$ref": "#/components/schemas/SkillNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2157,32 +1886,13 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "skill": { "type": "string" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["skill"], @@ -2237,7 +1947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2247,7 +1957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2259,10 +1969,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2274,7 +1984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2289,55 +1999,22 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -2378,7 +2055,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2388,7 +2065,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2400,10 +2077,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2490,7 +2167,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2500,7 +2177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2512,10 +2189,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2527,7 +2204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2542,29 +2219,10 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "additionalProperties": false @@ -2604,7 +2262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2614,7 +2272,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2626,10 +2284,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2641,7 +2299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -2694,7 +2352,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2704,7 +2362,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2716,13 +2374,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2734,7 +2392,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2744,7 +2402,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2767,14 +2425,7 @@ ] }, "files": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["messageID"], @@ -2815,7 +2466,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2825,7 +2476,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2837,10 +2488,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2852,7 +2503,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2862,7 +2513,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2900,7 +2551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2910,7 +2561,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2922,10 +2573,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2937,7 +2588,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2992,7 +2643,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3002,7 +2653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3012,7 +2663,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3022,7 +2673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -3078,7 +2729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3088,7 +2739,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3098,7 +2749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3150,7 +2801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3160,7 +2811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3170,7 +2821,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3180,7 +2831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3232,7 +2883,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3242,7 +2893,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3252,7 +2903,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3262,7 +2913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3314,7 +2965,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3324,7 +2975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3334,7 +2985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3344,7 +2995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3400,7 +3051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3410,7 +3061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3422,10 +3073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3474,7 +3125,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3484,7 +3135,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3496,10 +3147,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3511,7 +3162,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InstructionEntryValueTooLargeError" + "$ref": "#/components/schemas/InstructionEntryValueTooLargeErrorEncoded" } } } @@ -3571,7 +3222,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3581,7 +3232,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3593,10 +3244,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3644,7 +3295,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3654,7 +3305,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3666,10 +3317,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3681,7 +3332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -3745,15 +3396,7 @@ "name": "follow", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3781,7 +3424,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/SessionLogItemJsonString" + "$ref": "#/components/schemas/SessionLogItemEncoded" } }, "required": ["id", "event", "data"], @@ -3856,7 +3499,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3866,7 +3509,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3876,7 +3519,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3908,15 +3551,7 @@ "name": "continue", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3931,7 +3566,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3941,7 +3576,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3953,10 +3588,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3997,7 +3632,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4007,7 +3642,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4019,10 +3654,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -4090,7 +3725,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4100,7 +3735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4112,10 +3747,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" } ] } @@ -4156,7 +3791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4166,7 +3801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4176,7 +3811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4293,10 +3928,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4308,7 +3943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4318,7 +3953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4328,7 +3963,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -4347,37 +3982,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4394,7 +3999,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4414,7 +4019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4424,7 +4029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4434,7 +4039,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4453,37 +4058,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4500,7 +4075,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -4524,7 +4099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4534,7 +4109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4544,7 +4119,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4563,37 +4138,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4619,10 +4164,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4634,7 +4179,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4644,7 +4189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4662,14 +4207,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" } }, "required": ["prompt"], @@ -4690,37 +4228,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4737,7 +4245,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4757,7 +4265,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4767,7 +4275,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4777,7 +4285,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4804,37 +4312,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4851,7 +4329,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Provider.Info" @@ -4868,7 +4346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4878,7 +4356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4888,7 +4366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderNotFoundError" + "$ref": "#/components/schemas/ProviderNotFoundErrorEncoded" } } } @@ -4898,7 +4376,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4917,37 +4395,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4964,7 +4412,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4984,7 +4432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4994,7 +4442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5021,37 +4469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5068,7 +4486,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -5092,7 +4510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5102,7 +4520,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5121,37 +4539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5170,10 +4558,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5185,7 +4573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5229,37 +4617,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5278,10 +4636,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5293,7 +4651,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5311,24 +4669,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["key"], @@ -5357,37 +4701,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5404,10 +4718,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Integration.Attempt" + "$ref": "#/components/schemas/Integration.AttemptEncoded" } }, "required": ["location", "data"], @@ -5423,10 +4737,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5438,7 +4752,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5456,24 +4770,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5510,37 +4810,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5557,7 +4827,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.AttemptStatus" @@ -5574,7 +4844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5584,7 +4854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5617,37 +4887,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5664,7 +4904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5674,7 +4914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5709,37 +4949,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5758,10 +4968,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5773,7 +4983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5788,14 +4998,7 @@ "type": "object", "properties": { "code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -5823,37 +5026,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5870,7 +5043,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttempt" @@ -5889,10 +5062,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5904,7 +5077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5922,14 +5095,7 @@ "type": "string" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5966,37 +5132,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6013,7 +5149,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttemptStatus" @@ -6030,7 +5166,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6040,7 +5176,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6073,37 +5209,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6120,7 +5226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6130,7 +5236,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6149,37 +5255,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6196,7 +5272,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -6216,7 +5292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6226,7 +5302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6253,37 +5329,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6300,7 +5346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6310,7 +5356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6327,10 +5373,10 @@ "config": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -6359,37 +5405,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6406,7 +5422,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6416,7 +5432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6426,7 +5442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6453,37 +5469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6500,7 +5486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6510,7 +5496,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6520,7 +5506,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6547,37 +5533,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6594,7 +5550,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6604,7 +5560,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6614,7 +5570,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6633,37 +5589,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6680,7 +5606,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Mcp.ResourceCatalog" @@ -6697,7 +5623,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6707,7 +5633,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6734,37 +5660,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6781,7 +5677,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6791,7 +5687,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6833,37 +5729,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6880,7 +5746,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6890,7 +5756,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6925,7 +5791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6935,7 +5801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6954,37 +5820,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7008,7 +5844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7018,7 +5854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7037,37 +5873,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7084,7 +5890,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7104,7 +5910,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7114,7 +5920,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7165,7 +5971,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7175,7 +5981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7187,10 +5993,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7240,10 +6046,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7255,7 +6061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7267,10 +6073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7282,7 +6088,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -7353,7 +6159,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7363,7 +6169,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7375,13 +6181,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7444,7 +6250,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7454,7 +6260,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7466,13 +6272,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7523,10 +6329,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormInvalidAnswerError" + "$ref": "#/components/schemas/FormInvalidAnswerErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7538,7 +6344,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7550,13 +6356,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7568,7 +6374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7625,7 +6431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7635,7 +6441,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7647,13 +6453,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7665,7 +6471,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7684,37 +6490,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7731,7 +6507,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7751,7 +6527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7761,7 +6537,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7819,7 +6595,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7829,7 +6605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7863,7 +6639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7873,7 +6649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7941,7 +6717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7951,7 +6727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7963,10 +6739,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8001,32 +6777,19 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" } }, "required": ["action", "resources"], @@ -8082,7 +6845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8092,7 +6855,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8104,10 +6867,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8175,7 +6938,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8185,7 +6948,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8197,13 +6960,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8257,7 +7020,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8267,7 +7030,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8279,13 +7042,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8305,14 +7068,7 @@ "$ref": "#/components/schemas/Permission.Reply" }, "message": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["reply"], @@ -8333,37 +7089,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8388,7 +7114,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8398,7 +7124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8417,37 +7143,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8479,7 +7175,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8499,7 +7195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8509,7 +7205,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8528,37 +7224,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8607,7 +7273,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8627,7 +7293,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8637,7 +7303,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8656,37 +7322,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8703,7 +7339,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8723,7 +7359,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8733,7 +7369,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8752,37 +7388,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8799,7 +7405,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8819,7 +7425,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8829,7 +7435,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8867,7 +7473,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/V2EventJsonString" + "$ref": "#/components/schemas/V2EventEncoded" } }, "required": ["id", "event", "data"], @@ -8942,7 +7548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8952,7 +7558,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8971,37 +7577,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9018,7 +7594,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -9038,7 +7614,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9048,7 +7624,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9065,37 +7641,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9112,7 +7658,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9129,7 +7675,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9139,7 +7685,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9205,37 +7751,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9252,7 +7768,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9269,7 +7785,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9279,7 +7795,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9289,7 +7805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9319,37 +7835,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9366,7 +7852,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9383,7 +7869,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9393,7 +7879,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9403,7 +7889,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9472,37 +7958,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9519,7 +7975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9529,7 +7985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9539,7 +7995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9571,37 +8027,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9618,7 +8044,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/PtyTicket.ConnectToken" @@ -9635,7 +8061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9645,7 +8071,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9655,7 +8081,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9665,7 +8091,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9739,7 +8165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9749,7 +8175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9759,7 +8185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9769,7 +8195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9789,37 +8215,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9836,12 +8232,12 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } } }, @@ -9856,7 +8252,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9866,7 +8262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9883,37 +8279,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9930,10 +8296,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -9947,7 +8313,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9957,7 +8323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10020,37 +8386,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10067,10 +8403,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10084,7 +8420,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10094,7 +8430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10104,7 +8440,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10134,37 +8470,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10181,7 +8487,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10191,7 +8497,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10201,7 +8507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10233,37 +8539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10280,10 +8556,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10297,7 +8573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10307,7 +8583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10317,7 +8593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10371,37 +8647,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10444,36 +8690,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["location", "data"], @@ -10487,7 +8707,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10497,7 +8717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10507,7 +8727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10526,37 +8746,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10573,7 +8763,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -10593,7 +8783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10603,7 +8793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10644,7 +8834,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10654,7 +8844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10695,10 +8885,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10710,7 +8900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10770,10 +8960,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10785,7 +8975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10841,10 +9031,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10856,7 +9046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10875,37 +9065,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10922,7 +9082,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Vcs.Info" @@ -10939,7 +9099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10949,7 +9109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10968,37 +9128,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11015,7 +9145,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11035,7 +9165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11045,7 +9175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11064,37 +9194,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11134,7 +9234,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11154,7 +9254,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11164,7 +9264,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11199,7 +9299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11209,7 +9309,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11226,37 +9326,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11273,7 +9343,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11283,7 +9353,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11392,7 +9462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11402,7 +9472,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11421,37 +9491,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11468,7 +9508,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11488,7 +9528,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11498,7 +9538,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11508,7 +9548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11527,37 +9567,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11574,10 +9584,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/WebSearch.Response" + "$ref": "#/components/schemas/WebSearch.ResponseEncoded" } }, "required": ["location", "data"], @@ -11593,10 +9603,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -11608,7 +9618,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11618,7 +9628,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11657,37 +9667,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11714,7 +9694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11724,7 +9704,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11759,7 +9739,7 @@ "required": ["healthy", "version", "pid"], "additionalProperties": false }, - "UnauthorizedError": { + "UnauthorizedErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11773,7 +9753,17 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError": { + "Union_": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "InvalidRequestErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11784,24 +9774,10 @@ "type": "string" }, "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -11827,7 +9803,26 @@ "required": ["accepted"], "additionalProperties": false }, - "Location.Info": { + "Union_1": { + "anyOf": [ + { + "type": "object", + "properties": { + "directory": { + "$ref": "#/components/schemas/Union_" + }, + "workspace": { + "$ref": "#/components/schemas/Union_" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "Location.InfoEncoded": { "type": "object", "properties": { "directory": { @@ -11974,7 +9969,7 @@ "required": ["id", "name", "request", "mode", "hidden", "permissions"], "additionalProperties": false }, - "AgentNotFoundError": { + "AgentNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12276,7 +10271,7 @@ "required": ["data", "cursor"], "additionalProperties": false }, - "InvalidCursorError": { + "InvalidCursorErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12290,38 +10285,47 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError1": { - "type": "object", - "properties": { - "_tag": { - "type": "string", - "enum": ["InvalidRequestError"] - }, - "message": { + "Union_2": { + "anyOf": [ + { "type": "string" }, - "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_3": { + "anyOf": [ + { + "$ref": "#/components/schemas/Model.Ref" }, - "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_4": { + "anyOf": [ + { + "$ref": "#/components/schemas/Location.Ref" + }, + { + "type": "null" + } + ] + }, + "Objects_": { + "type": "object" + }, + "Objects_1": { + "type": "object", + "properties": { + "created": { + "type": "number" } }, - "required": ["_tag", "message"], + "required": ["created"], "additionalProperties": false }, "Session.Message.AgentSelected": { @@ -12336,17 +10340,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12374,17 +10371,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12412,17 +10402,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12535,6 +10518,12 @@ "required": ["data", "mime", "source"], "additionalProperties": false }, + "Arrays_1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.FileAttachment" + } + }, "Prompt.AgentAttachment": { "type": "object", "properties": { @@ -12548,6 +10537,12 @@ "required": ["name"], "additionalProperties": false }, + "Arrays_2": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "Prompt.SkillAttachment": { "type": "object", "properties": { @@ -12567,6 +10562,12 @@ "required": ["id", "name", "text"], "additionalProperties": false }, + "Arrays_3": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.SkillAttachment" + } + }, "Session.Message.User": { "type": "object", "properties": { @@ -12579,38 +10580,22 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "type": { "type": "string", @@ -12632,17 +10617,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" @@ -12670,17 +10648,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12708,17 +10679,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12737,6 +10701,43 @@ "required": ["id", "time", "type", "skill", "name", "text"], "additionalProperties": false }, + "Union_5": { + "type": "string", + "enum": ["running", "exited", "timeout", "killed"] + }, + "Union_6": { + "type": "string", + "enum": ["Infinity", "-Infinity", "NaN"] + }, + "Objects_2": { + "type": "object", + "properties": { + "output": { + "type": "string" + }, + "cursor": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "size": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "truncated": { + "type": "boolean" + } + }, + "required": ["output", "cursor", "size", "truncated"], + "additionalProperties": false + }, "Session.Message.Shell": { "type": "object", "properties": { @@ -12749,7 +10750,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -12780,64 +10781,20 @@ "type": "string" }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "exit": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["id", "time", "type", "shellID", "command", "status"], @@ -12863,6 +10820,9 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_1": { + "type": "object" + }, "Session.Message.Assistant.Reasoning": { "type": "object", "properties": { @@ -12874,7 +10834,7 @@ "type": "string" }, "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_1" }, "time": { "type": "object", @@ -12893,6 +10853,12 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_2": { + "type": "object" + }, + "Session.Message.ProviderState_3": { + "type": "object" + }, "Session.Message.ToolState.Streaming": { "type": "object", "properties": { @@ -12952,14 +10918,7 @@ "type": "string" }, "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["type", "uri", "mime"], @@ -13075,10 +11034,10 @@ "type": "boolean" }, "providerState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_2" }, "providerResultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_3" }, "state": { "anyOf": [ @@ -13149,7 +11108,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -13244,17 +11203,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13290,17 +11242,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13336,17 +11281,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13410,7 +11348,13 @@ } ] }, - "ConflictError": { + "Arrays_": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Session.Message.Info" + } + }, + "ConflictErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13421,19 +11365,23 @@ "type": "string" }, "resource": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, + "Union_7": { + "anyOf": [ + { + "type": "string", + "enum": ["true", "false"] + }, + { + "type": "null" + } + ] + }, "SessionTransfer.Data": { "type": "object", "properties": { @@ -13441,16 +11389,13 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" } }, "required": ["info", "messages"], "additionalProperties": false }, - "SessionNotFoundError": { + "SessionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13467,7 +11412,7 @@ "required": ["_tag", "sessionID", "message"], "additionalProperties": false }, - "UnknownError": { + "UnknownErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13478,14 +11423,7 @@ "type": "string" }, "ref": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -13536,7 +11474,7 @@ } ] }, - "MessageNotFoundError": { + "MessageNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13560,6 +11498,31 @@ "type": "string", "enum": ["steer", "queue"] }, + "Union_8": { + "anyOf": [ + { + "$ref": "#/components/schemas/Session.Inbox.Delivery" + }, + { + "type": "null" + } + ] + }, + "Union_9": { + "anyOf": [ + { + "type": "string", + "allOf": [ + { + "pattern": "^msg_" + } + ] + }, + { + "type": "null" + } + ] + }, "PromptInput.FileAttachment": { "type": "object", "properties": { @@ -13579,6 +11542,18 @@ "required": ["uri"], "additionalProperties": false }, + "Arrays_4": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.FileAttachment" + } + }, + "Arrays_5": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "PromptInput.SkillAttachment": { "type": "object", "properties": { @@ -13592,6 +11567,25 @@ "required": ["id"], "additionalProperties": false }, + "Arrays_6": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.SkillAttachment" + } + }, + "Objects_3": { + "type": "object" + }, + "Union_10": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "Session.Inbox.UserPayload": { "type": "object", "properties": { @@ -13599,25 +11593,16 @@ "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" } }, "required": ["text"], @@ -13659,7 +11644,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "CommandNotFoundError": { + "CommandNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13676,7 +11661,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "CommandEvaluationError": { + "CommandEvaluationErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13693,7 +11678,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "SkillNotFoundError": { + "SkillNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13808,7 +11793,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "ServiceUnavailableError": { + "ServiceUnavailableErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13819,20 +11804,13 @@ "type": "string" }, "service": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, - "SessionBusyError": { + "SessionBusyErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13932,12 +11910,14 @@ "key": { "$ref": "#/components/schemas/InstructionEntry.Key" }, - "value": {} + "value": { + "description": "JSON value attached to the session's instructions" + } }, "required": ["key", "value"], "additionalProperties": false }, - "InstructionEntryValueTooLargeError": { + "InstructionEntryValueTooLargeErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13974,3552 +11954,8 @@ "required": ["data"], "additionalProperties": false }, - "session.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.created"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "projectID": { - "type": "string" - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "subpath": { - "type": "string" - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "slug": { - "type": "string" - }, - "title": { - "type": "string" - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "version": { - "type": "string" - } - }, - "required": ["sessionID", "projectID", "location", "slug", "version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.agent.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.agent.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "agent": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["sessionID", "agent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.model.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.model.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "previous": { - "$ref": "#/components/schemas/Model.Ref" - } - }, - "required": ["sessionID", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.moved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.moved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "projectID": { - "type": "string" - }, - "subpath": { - "type": "string" - } - }, - "required": ["sessionID", "location", "projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.renamed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.renamed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "title": { - "type": "string" - } - }, - "required": ["sessionID", "title"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.deleted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.forked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.forked"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "boundary": { - "$ref": "#/components/schemas/Session.ForkBoundary" - }, - "instructions": { - "type": "object", - "patternProperties": { - "^[a-z0-9][a-z0-9._-]*\\/[a-z0-9][a-z0-9._/-]*$": { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - } - } - } - }, - "required": ["sessionID", "parentID", "boundary"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivered": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivered"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Inbox.UserPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } - }, - "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } - }, - "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.SyntheticPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.Item": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["user"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.UserPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["synthetic"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.SyntheticPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["compaction"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.CompactionPayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["move"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.MovePayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - } - ] - }, - "session.inbox.enqueued": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.enqueued"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "item": { - "$ref": "#/components/schemas/Session.Inbox.Item" - } - }, - "required": ["sessionID", "inboxID", "item"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.cancelled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivery.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivery.changed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["sessionID", "inboxID", "delivery"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.succeeded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.succeeded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.interrupted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.interrupted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["user", "shutdown", "superseded"] - } - }, - "required": ["sessionID", "reason"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.instructions.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.instructions.updated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "delta": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - }, - { - "type": "string", - "enum": ["removed"] - } - ] - } - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.synthetic": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.synthetic"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.skill.activated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.skill.activated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "id", "name", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Shell.Info": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - }, - "command": { - "type": "string" - }, - "cwd": { - "type": "string" - }, - "shell": { - "type": "string" - }, - "file": { - "type": "string" - }, - "pid": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "exit": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "time": { - "type": "object", - "properties": { - "started": { - "type": "number" - }, - "completed": { - "type": "number" - } - }, - "required": ["started"], - "additionalProperties": false - } - }, - "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], - "additionalProperties": false - }, - "session.shell.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["sessionID", "shell"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.shell.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - }, - "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false - } - }, - "required": ["sessionID", "shell", "output"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "snapshot": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "agent", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "finish": { - "type": "string", - "enum": ["stop", "length", "tool-calls", "content-filter", "error", "unknown"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "finish", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.text.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState4": { - "type": "object" - }, - "session.text.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState4" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState5": { - "type": "object" - }, - "session.reasoning.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState5" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState6": { - "type": "object" - }, - "session.reasoning.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState6" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState7": { - "type": "object" - }, - "session.tool.called": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.called"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "input": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState7" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "input", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Tool.FileContent1": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["file"] - }, - "uri": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": ["type", "uri", "mime"], - "additionalProperties": false - }, - "Tool.Content1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tool.TextContent" - }, - { - "$ref": "#/components/schemas/Tool.FileContent1" - } - ] - }, - "Session.Message.ProviderState8": { - "type": "object" - }, - "session.tool.success": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.success"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState8" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "content", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState9": { - "type": "object" - }, - "session.tool.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState9" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "error", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.retry.scheduled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.retry.scheduled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "at": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "assistantMessageID", "attempt", "at", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "recent": { - "type": "string" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "text": { - "type": "string" - }, - "recent": { - "type": "string" - } - }, - "required": ["sessionID", "reason", "text", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.staged": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.staged"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "revert": { - "$ref": "#/components/schemas/Session.Revert" - } - }, - "required": ["sessionID", "revert"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.cleared": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.cleared"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.committed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.committed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "to": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "to"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.usage.recorded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.recorded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "source": { - "type": "string", - "enum": ["title", "compaction"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "source", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Event.Durable": { - "oneOf": [ - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/session.usage.recorded" - } - ] - }, - "EventLog.Synced": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["log.synced"] - }, - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "aggregateID"], - "additionalProperties": false, - "description": "Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq." - }, - "SessionLogItem": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Event.Durable" - }, - { - "$ref": "#/components/schemas/EventLog.Synced" - } - ] - }, - "SessionLogItemJsonString": { + "SessionLogItemEncoded": { "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/SessionLogItem" - }, "contentMediaType": "application/json" }, "SessionMessagesResponse": { @@ -17535,24 +11971,10 @@ "type": "object", "properties": { "previous": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "next": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -17591,6 +12013,18 @@ }, "additionalProperties": false }, + "Objects_4": { + "type": "object" + }, + "Objects_5": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_6": { + "type": "object" + }, "Model.Capabilities": { "type": "object", "properties": { @@ -17620,16 +12054,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id"], @@ -17703,16 +12134,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -17815,22 +12243,19 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id", "name", "activation", "package"], "additionalProperties": false }, - "ProviderNotFoundError": { + "ProviderNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -17847,6 +12272,16 @@ "required": ["_tag", "providerID", "message"], "additionalProperties": false }, + "Union_11": { + "anyOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/Union_6" + } + ] + }, "Form.When": { "type": "object", "properties": { @@ -17863,31 +12298,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -17898,6 +12309,12 @@ "required": ["key", "op", "value"], "additionalProperties": false }, + "Arrays_7": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Form.When" + } + }, "Form.Option": { "type": "object", "properties": { @@ -17930,10 +12347,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -17997,10 +12411,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18009,81 +12420,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18107,10 +12467,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18119,81 +12476,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18217,10 +12523,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18249,10 +12552,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18393,6 +12693,18 @@ "required": ["id", "type", "label", "command"], "additionalProperties": false }, + "Form.Fields_1": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Integration.KeyMethod": { "type": "object", "properties": { @@ -18404,7 +12716,7 @@ "type": "string" }, "form": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_1" } }, "required": ["type"], @@ -18515,31 +12827,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -18558,7 +12846,30 @@ "$ref": "#/components/schemas/Form.Value" } }, - "Integration.Attempt": { + "Union_12": { + "anyOf": [ + { + "$ref": "#/components/schemas/Form.Answer" + }, + { + "type": "null" + } + ] + }, + "Objects_7": { + "type": "object", + "properties": { + "created": { + "$ref": "#/components/schemas/Union_11" + }, + "expires": { + "$ref": "#/components/schemas/Union_11" + } + }, + "required": ["created", "expires"], + "additionalProperties": false + }, + "Integration.AttemptEncoded": { "type": "object", "properties": { "attemptID": { @@ -18575,65 +12886,7 @@ "enum": ["auto", "code"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "url", "instructions", "mode", "time"], @@ -18649,65 +12902,7 @@ "enum": ["pending"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18721,65 +12916,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18796,65 +12933,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -18868,65 +12947,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18941,65 +12962,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "time"], @@ -19018,65 +12981,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19090,65 +12995,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19165,65 +13012,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -19237,65 +13026,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19393,7 +13124,37 @@ "required": ["name", "status"], "additionalProperties": false }, - "Mcp.LocalConfig": { + "Objects_8": { + "type": "object", + "properties": { + "startup": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "catalog": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "execution": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + } + }, + "additionalProperties": false + }, + "Mcp.LocalConfigEncoded": { "type": "object", "properties": { "type": { @@ -19422,40 +13183,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "command"], "additionalProperties": false }, - "Mcp.OAuthConfig": { + "Mcp.OAuthConfigEncoded": { "type": "object", "properties": { "client_id": { @@ -19482,7 +13216,7 @@ }, "additionalProperties": false }, - "Mcp.RemoteConfig": { + "Mcp.RemoteConfigEncoded": { "type": "object", "properties": { "type": { @@ -19501,7 +13235,7 @@ "oauth": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.OAuthConfig" + "$ref": "#/components/schemas/Mcp.OAuthConfigEncoded" }, { "type": "boolean", @@ -19516,40 +13250,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "url"], "additionalProperties": false }, - "McpServerNotFoundError": { + "McpServerNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19742,6 +13449,18 @@ "Form.Metadata": { "type": "object" }, + "Form.Fields_2": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Form.Info": { "type": "object", "properties": { @@ -19763,7 +13482,7 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["id", "sessionID", "title", "fields"], @@ -19794,13 +13513,13 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["title", "fields"], "additionalProperties": false }, - "FormNotFoundError": { + "FormNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19867,7 +13586,7 @@ "required": ["answer"], "additionalProperties": false }, - "FormAlreadySettledError": { + "FormAlreadySettledErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19884,7 +13603,7 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, - "FormInvalidAnswerError": { + "FormInvalidAnswerErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19901,6 +13620,21 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, + "Arrays_8": { + "type": "array", + "items": { + "type": "string" + } + }, + "Arrays_9": { + "type": "array", + "items": { + "type": "string" + } + }, + "Objects_9": { + "type": "object" + }, "Permission.Source": { "anyOf": [ { @@ -19945,19 +13679,13 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" @@ -19985,7 +13713,7 @@ "required": ["id", "projectID", "action", "resource"], "additionalProperties": false }, - "PermissionNotFoundError": { + "PermissionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -20073,1028 +13801,9 @@ "required": ["id", "name", "location", "content"], "additionalProperties": false }, - "models-dev.refreshed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["models-dev.refreshed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.connection.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.connection.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "integrationID": { - "type": "string" - } - }, - "required": ["integrationID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "catalog.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["catalog.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "agent.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["agent.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.usage.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.text.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.reasoning.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.input.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.progress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.progress"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "metadata"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.compaction.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "filesystem.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["filesystem.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "file": { - "type": "string" - }, - "event": { - "type": "string", - "enum": ["add", "change", "unlink"] - } - }, - "required": ["file", "event"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "reference.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["reference.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.asked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.asked"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "action": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "save": { - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "type": "object" - }, - "source": { - "$ref": "#/components/schemas/Permission.Source" - } - }, - "required": ["id", "sessionID", "action", "resources"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "requestID": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "reply": { - "$ref": "#/components/schemas/Permission.Reply" - } - }, - "required": ["sessionID", "requestID", "reply"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.added": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.added"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - } - }, - "required": ["projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.resolved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.resolved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - }, - "directory": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["projectID", "directory", "previous"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "command.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["command.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "config.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["config.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "skill.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["skill.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false + "V2EventEncoded": { + "type": "string", + "contentMediaType": "application/json" }, "Pty": { "type": "object", @@ -21146,1835 +13855,7 @@ "required": ["id", "title", "command", "args", "cwd", "status", "pid"], "additionalProperties": false }, - "pty.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - }, - "exitCode": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["id", "exitCode"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "exit": { - "type": "number" - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - } - }, - "required": ["id", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Metadata1": { - "type": "object" - }, - "Form.When1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "op": { - "type": "string", - "enum": ["eq", "neq"] - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - } - ] - } - }, - "required": ["key", "op", "value"], - "additionalProperties": false - }, - "Form.StringField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["string"] - }, - "format": { - "type": "string", - "enum": ["email", "uri", "date", "date-time"] - }, - "minLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "pattern": { - "type": "string" - }, - "placeholder": { - "type": "string" - }, - "default": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "custom": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.NumberField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["number"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.IntegerField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["integer"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.BooleanField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["boolean"] - }, - "default": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.MultiselectField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["multiselect"] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "minItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "custom": { - "type": "boolean" - }, - "default": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["key", "type", "options"], - "additionalProperties": false - }, - "Form.Field1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.StringField1" - }, - { - "$ref": "#/components/schemas/Form.NumberField1" - }, - { - "$ref": "#/components/schemas/Form.IntegerField1" - }, - { - "$ref": "#/components/schemas/Form.BooleanField1" - }, - { - "$ref": "#/components/schemas/Form.MultiselectField1" - }, - { - "$ref": "#/components/schemas/Form.ExternalField" - } - ] - }, - "Form.Fields3": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Form.Field1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Form.Field1" - } - }, - "Form.Info1": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "title": { - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/Form.Metadata1" - }, - "fields": { - "$ref": "#/components/schemas/Form.Fields3" - } - }, - "required": ["id", "sessionID", "title", "fields"], - "additionalProperties": false - }, - "form.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "form": { - "$ref": "#/components/schemas/Form.Info1" - } - }, - "required": ["form"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Value1": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "Form.Answer1": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Form.Value1" - } - }, - "form.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "answer": { - "$ref": "#/components/schemas/Form.Answer1" - } - }, - "required": ["id", "sessionID", "answer"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "form.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.cancelled"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - } - }, - "required": ["id", "sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "websearch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["websearch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "SessionStatus": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["idle"] - } - }, - "required": ["type"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["retry"] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "message": { - "type": "string" - }, - "action": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "label": { - "type": "string" - }, - "link": { - "type": "string" - } - }, - "required": ["reason", "provider", "title", "message", "label"], - "additionalProperties": false - }, - "next": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "attempt", "message", "next"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["busy"] - } - }, - "required": ["type"], - "additionalProperties": false - } - ] - }, - "session.status": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.status"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "status": { - "$ref": "#/components/schemas/SessionStatus" - } - }, - "required": ["sessionID", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.idle": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.idle"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.prompt.append": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.prompt.append"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": ["text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.command.execute": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.command.execute"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "command": { - "anyOf": [ - { - "type": "string", - "enum": [ - "session.list", - "session.new", - "session.share", - "session.interrupt", - "session.background", - "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", "created", "type", "data"], - "additionalProperties": false - }, - "tui.toast.show": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.toast.show"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "variant": { - "type": "string", - "enum": ["info", "success", "warning", "error"] - }, - "duration": { - "anyOf": [ - { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - { - "type": "null" - } - ] - } - }, - "required": ["message", "variant"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.session.select": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.session.select"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses", - "description": "Session ID to navigate to" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.update-available": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.update-available"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "vcs.branch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["vcs.branch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "branch": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.status.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.status.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.resources.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.resources.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "V2Event.server.connected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "metadata": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string", - "enum": ["server.connected"] - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "type", "data"], - "additionalProperties": false - }, - "V2Event": { - "anyOf": [ - { - "$ref": "#/components/schemas/models-dev.refreshed" - }, - { - "$ref": "#/components/schemas/integration.updated" - }, - { - "$ref": "#/components/schemas/integration.connection.updated" - }, - { - "$ref": "#/components/schemas/catalog.updated" - }, - { - "$ref": "#/components/schemas/agent.updated" - }, - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.usage.updated" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.delta" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.delta" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.delta" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.progress" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.delta" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/filesystem.changed" - }, - { - "$ref": "#/components/schemas/reference.updated" - }, - { - "$ref": "#/components/schemas/permission.asked" - }, - { - "$ref": "#/components/schemas/permission.replied" - }, - { - "$ref": "#/components/schemas/plugin.added" - }, - { - "$ref": "#/components/schemas/plugin.updated" - }, - { - "$ref": "#/components/schemas/worktree.updated" - }, - { - "$ref": "#/components/schemas/worktree.resolved" - }, - { - "$ref": "#/components/schemas/command.updated" - }, - { - "$ref": "#/components/schemas/config.updated" - }, - { - "$ref": "#/components/schemas/skill.updated" - }, - { - "$ref": "#/components/schemas/pty.created" - }, - { - "$ref": "#/components/schemas/pty.updated" - }, - { - "$ref": "#/components/schemas/pty.exited" - }, - { - "$ref": "#/components/schemas/pty.deleted" - }, - { - "$ref": "#/components/schemas/shell.created" - }, - { - "$ref": "#/components/schemas/shell.exited" - }, - { - "$ref": "#/components/schemas/shell.deleted" - }, - { - "$ref": "#/components/schemas/form.created" - }, - { - "$ref": "#/components/schemas/form.replied" - }, - { - "$ref": "#/components/schemas/form.cancelled" - }, - { - "$ref": "#/components/schemas/websearch.updated" - }, - { - "$ref": "#/components/schemas/session.status" - }, - { - "$ref": "#/components/schemas/session.idle" - }, - { - "$ref": "#/components/schemas/tui.prompt.append" - }, - { - "$ref": "#/components/schemas/tui.command.execute" - }, - { - "$ref": "#/components/schemas/tui.toast.show" - }, - { - "$ref": "#/components/schemas/tui.session.select" - }, - { - "$ref": "#/components/schemas/installation.updated" - }, - { - "$ref": "#/components/schemas/installation.update-available" - }, - { - "$ref": "#/components/schemas/vcs.branch.updated" - }, - { - "$ref": "#/components/schemas/mcp.status.changed" - }, - { - "$ref": "#/components/schemas/mcp.resources.changed" - }, - { - "$ref": "#/components/schemas/V2Event.server.connected" - } - ] - }, - "V2EventJsonString": { - "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/V2Event" - }, - "contentMediaType": "application/json" - }, - "PtyNotFoundError": { + "PtyNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23009,7 +13890,7 @@ "required": ["ticket", "expires_in"], "additionalProperties": false }, - "ForbiddenError": { + "ForbiddenErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23023,7 +13904,7 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "Shell.Info1": { + "Shell.Info": { "type": "object", "properties": { "id": { @@ -23035,8 +13916,7 @@ ] }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "command": { "type": "string" @@ -23081,7 +13961,7 @@ "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], "additionalProperties": false }, - "ShellNotFoundError": { + "ShellNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23202,7 +14082,7 @@ "required": ["directory"], "additionalProperties": false }, - "WorktreeError": { + "WorktreeErrorEncoded": { "type": "object", "properties": { "name": { @@ -23216,14 +14096,7 @@ "type": "string" }, "forceRequired": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["message"], @@ -23327,7 +14200,7 @@ "required": ["url", "time"], "additionalProperties": false }, - "WebSearch.Response": { + "WebSearch.ResponseEncoded": { "type": "object", "properties": { "providerID": { @@ -23343,63 +14216,72 @@ "required": ["providerID", "results"], "additionalProperties": false }, - "Config.Agent": { - "type": "object", - "properties": { - "model": { - "anyOf": [ + "Union_13": { + "anyOf": [ + { + "type": "string", + "allOf": [ { + "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + } + ] + }, + { + "type": "object", + "properties": { + "providerID": { "type": "string", "allOf": [ { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + "pattern": "^[^/#]+$" } ] }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] + "model": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" } - }, - "required": ["providerID", "model"], - "additionalProperties": false + ] + }, + "variant": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" + } + ] } - ] + }, + "required": ["providerID", "model"], + "additionalProperties": false + } + ] + }, + "Objects_10": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_11": { + "type": "object" + }, + "Config.AgentEncoded": { + "type": "object", + "properties": { + "model": { + "$ref": "#/components/schemas/Union_13" }, "request": { "type": "object", "properties": { "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "additionalProperties": false @@ -23442,7 +14324,7 @@ }, "additionalProperties": false }, - "Config.Formatter.Entry": { + "Config.Formatter.EntryEncoded": { "type": "object", "properties": { "disabled": { @@ -23469,7 +14351,7 @@ }, "additionalProperties": false }, - "Config.LSP.Server": { + "Config.LSP.ServerEncoded": { "type": "object", "properties": { "command": { @@ -23500,7 +14382,7 @@ "required": ["command"], "additionalProperties": false }, - "Config.Command": { + "Config.CommandEncoded": { "type": "object", "properties": { "template": { @@ -23513,47 +14395,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "subtask": { "type": "boolean" @@ -23562,7 +14404,7 @@ "required": ["template"], "additionalProperties": false }, - "Config.Reference.Git": { + "Config.Reference.GitEncoded": { "type": "object", "properties": { "repository": { @@ -23581,7 +14423,7 @@ "required": ["repository"], "additionalProperties": false }, - "Config.Reference.Local": { + "Config.Reference.LocalEncoded": { "type": "object", "properties": { "path": { @@ -23597,7 +14439,7 @@ "required": ["path"], "additionalProperties": false }, - "ConfigWebSearch.Info": { + "ConfigWebSearch.InfoEncoded": { "type": "object", "properties": { "provider": { @@ -23615,7 +14457,7 @@ "required": ["provider"], "additionalProperties": false }, - "Config.Plugin.Entry": { + "Config.Plugin.EntryEncoded": { "type": "object", "properties": { "package": { @@ -23628,7 +14470,7 @@ "required": ["package"], "additionalProperties": false }, - "Config.Warming": { + "Config.WarmingEncoded": { "type": "object", "properties": { "prompt": { @@ -23643,7 +14485,7 @@ }, "additionalProperties": false }, - "Config.Model.Cost": { + "Config.Model.CostEncoded": { "type": "object", "properties": { "tier": { @@ -23682,7 +14524,7 @@ "required": ["input", "output"], "additionalProperties": false }, - "Config.Model": { + "Config.ModelEncoded": { "type": "object", "properties": { "modelID": { @@ -23701,16 +14543,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -23724,16 +14563,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "required": ["id"], @@ -23743,12 +14579,12 @@ "cost": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" }, { "type": "array", "items": { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" } } ] @@ -23774,7 +14610,7 @@ }, "additionalProperties": false }, - "Config.Provider": { + "Config.ProviderEncoded": { "type": "object", "properties": { "name": { @@ -23790,27 +14626,24 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "models": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Model" + "$ref": "#/components/schemas/Config.ModelEncoded" } } }, "additionalProperties": false }, - "Config.Info": { + "Config.InfoEncoded": { "type": "object", "properties": { "$schema": { @@ -23820,47 +14653,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "default_agent": { "type": "string" @@ -23898,7 +14691,7 @@ "agents": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Agent" + "$ref": "#/components/schemas/Config.AgentEncoded" } }, "snapshots": { @@ -23924,7 +14717,7 @@ { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Formatter.Entry" + "$ref": "#/components/schemas/Config.Formatter.EntryEncoded" } } ] @@ -23950,7 +14743,7 @@ "additionalProperties": false }, { - "$ref": "#/components/schemas/Config.LSP.Server" + "$ref": "#/components/schemas/Config.LSP.ServerEncoded" } ] } @@ -24022,44 +14815,17 @@ "type": "object", "properties": { "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" }, "servers": { "type": "object", "additionalProperties": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -24107,7 +14873,7 @@ "commands": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Command" + "$ref": "#/components/schemas/Config.CommandEncoded" } }, "instructions": { @@ -24124,10 +14890,10 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Reference.Git" + "$ref": "#/components/schemas/Config.Reference.GitEncoded" }, { - "$ref": "#/components/schemas/Config.Reference.Local" + "$ref": "#/components/schemas/Config.Reference.LocalEncoded" } ] } @@ -24139,7 +14905,7 @@ "enum": [false] }, { - "$ref": "#/components/schemas/ConfigWebSearch.Info" + "$ref": "#/components/schemas/ConfigWebSearch.InfoEncoded" } ] }, @@ -24151,7 +14917,7 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Plugin.Entry" + "$ref": "#/components/schemas/Config.Plugin.EntryEncoded" } ] } @@ -24162,14 +14928,14 @@ "type": "boolean" }, { - "$ref": "#/components/schemas/Config.Warming" + "$ref": "#/components/schemas/Config.WarmingEncoded" } ] }, "providers": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Provider" + "$ref": "#/components/schemas/Config.ProviderEncoded" } }, "experimental": { @@ -24213,7 +14979,7 @@ }, "additionalProperties": false }, - "Config.Document": { + "Config.DocumentEncoded": { "type": "object", "properties": { "type": { @@ -24224,13 +14990,13 @@ "type": "string" }, "info": { - "$ref": "#/components/schemas/Config.Info" + "$ref": "#/components/schemas/Config.InfoEncoded" } }, "required": ["type", "info"], "additionalProperties": false }, - "Config.Directory": { + "Config.DirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24244,7 +15010,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.AgentsDirectory": { + "Config.AgentsDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24258,7 +15024,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.ClaudeDirectory": { + "Config.ClaudeDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24275,16 +15041,16 @@ "Config.Entry": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Document" + "$ref": "#/components/schemas/Config.DocumentEncoded" }, { - "$ref": "#/components/schemas/Config.Directory" + "$ref": "#/components/schemas/Config.DirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.AgentsDirectory" + "$ref": "#/components/schemas/Config.AgentsDirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.ClaudeDirectory" + "$ref": "#/components/schemas/Config.ClaudeDirectoryEncoded" } ] } diff --git a/packages/protocol/src/simulation.ts b/packages/protocol/src/simulation.ts index f9700d5a35..cde2027214 100644 --- a/packages/protocol/src/simulation.ts +++ b/packages/protocol/src/simulation.ts @@ -60,15 +60,12 @@ export namespace JsonRpc { } } -export class SimulationRequestError extends Schema.TaggedError()( - "SimulationRequestError", - { - method: Schema.String, - code: Schema.Number, - message: Schema.String, - data: Schema.optionalKey(Schema.Json), - }, -) {} +export class SimulationRequestError extends Schema.TaggedError()("SimulationRequestError", { + method: Schema.String, + code: Schema.Number, + message: Schema.String, + data: Schema.optionalKey(Schema.Json), +}) {} const request = < const Tag extends string, diff --git a/packages/simulation/src/backend/simulated-provider.ts b/packages/simulation/src/backend/simulated-provider.ts index 1d5a255419..2fa73355d0 100644 --- a/packages/simulation/src/backend/simulated-provider.ts +++ b/packages/simulation/src/backend/simulated-provider.ts @@ -147,10 +147,9 @@ class ToolInvocationNotFoundError extends Schema.TaggedError()( - "SimulatedProvider.ToolControllerError", - { message: Schema.String }, -) {} +class ToolControllerError extends Schema.TaggedError()("SimulatedProvider.ToolControllerError", { + message: Schema.String, +}) {} export const layerDrive = (options: { readonly endpoint: string; readonly version: string }) => Layer.effect( diff --git a/packages/www/openapi.json b/packages/www/openapi.json index 0c01a29509..efc51ffea5 100644 --- a/packages/www/openapi.json +++ b/packages/www/openapi.json @@ -28,7 +28,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -38,7 +38,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -70,7 +70,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -80,7 +80,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -132,7 +132,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -142,7 +142,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -161,37 +161,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -205,7 +175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" } } } @@ -215,7 +185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -225,7 +195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -244,37 +214,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -291,7 +231,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -311,7 +251,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -321,7 +261,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -348,37 +288,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -395,7 +305,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Agent.Info" @@ -412,7 +322,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -422,7 +332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -432,7 +342,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentNotFoundError" + "$ref": "#/components/schemas/AgentNotFoundErrorEncoded" } } } @@ -451,37 +361,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -498,7 +378,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -518,7 +398,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -528,7 +408,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -600,14 +480,7 @@ "name": "search", "in": "query", "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "required": false }, @@ -721,13 +594,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -739,7 +612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -776,7 +649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -786,7 +659,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -816,44 +689,16 @@ ] }, "title": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "additionalProperties": false @@ -893,7 +738,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -903,7 +748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -913,7 +758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -931,20 +776,10 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "required": ["info", "messages"], @@ -978,15 +813,7 @@ "name": "sanitize", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -1015,7 +842,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1025,7 +852,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1035,7 +862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1045,7 +872,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -1089,7 +916,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1099,7 +926,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1152,7 +979,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1162,7 +989,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1172,7 +999,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1209,7 +1036,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1219,7 +1046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1231,10 +1058,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1291,10 +1118,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1306,7 +1133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1318,13 +1145,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1382,7 +1209,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1392,7 +1219,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1404,10 +1231,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1465,7 +1292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1475,7 +1302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1487,10 +1314,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1548,7 +1375,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1558,7 +1385,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1570,10 +1397,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1633,10 +1460,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1648,7 +1475,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1658,7 +1485,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1684,14 +1511,7 @@ ] }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "required": ["directory"], @@ -1748,10 +1568,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1763,7 +1583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1775,10 +1595,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1790,7 +1610,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1805,63 +1625,28 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -1918,10 +1703,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1933,7 +1718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1945,13 +1730,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/CommandNotFoundError" + "$ref": "#/components/schemas/CommandNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1963,7 +1748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1973,7 +1758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CommandEvaluationError" + "$ref": "#/components/schemas/CommandEvaluationErrorEncoded" } } } @@ -1988,90 +1773,34 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "command": { "type": "string" }, "arguments": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["command"], @@ -2112,7 +1841,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2122,7 +1851,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2134,13 +1863,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SkillNotFoundError" + "$ref": "#/components/schemas/SkillNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2157,32 +1886,13 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "skill": { "type": "string" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["skill"], @@ -2237,7 +1947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2247,7 +1957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2259,10 +1969,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2274,7 +1984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2289,55 +1999,22 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -2378,7 +2055,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2388,7 +2065,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2400,10 +2077,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2490,7 +2167,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2500,7 +2177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2512,10 +2189,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2527,7 +2204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2542,29 +2219,10 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "additionalProperties": false @@ -2604,7 +2262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2614,7 +2272,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2626,10 +2284,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2641,7 +2299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -2694,7 +2352,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2704,7 +2362,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2716,13 +2374,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2734,7 +2392,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2744,7 +2402,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2767,14 +2425,7 @@ ] }, "files": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["messageID"], @@ -2815,7 +2466,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2825,7 +2476,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2837,10 +2488,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2852,7 +2503,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2862,7 +2513,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2900,7 +2551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2910,7 +2561,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2922,10 +2573,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2937,7 +2588,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2992,7 +2643,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3002,7 +2653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3012,7 +2663,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3022,7 +2673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -3078,7 +2729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3088,7 +2739,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3098,7 +2749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3150,7 +2801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3160,7 +2811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3170,7 +2821,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3180,7 +2831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3232,7 +2883,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3242,7 +2893,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3252,7 +2903,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3262,7 +2913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3314,7 +2965,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3324,7 +2975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3334,7 +2985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3344,7 +2995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3400,7 +3051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3410,7 +3061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3422,10 +3073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3474,7 +3125,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3484,7 +3135,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3496,10 +3147,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3511,7 +3162,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InstructionEntryValueTooLargeError" + "$ref": "#/components/schemas/InstructionEntryValueTooLargeErrorEncoded" } } } @@ -3571,7 +3222,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3581,7 +3232,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3593,10 +3244,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3644,7 +3295,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3654,7 +3305,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3666,10 +3317,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3681,7 +3332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -3745,15 +3396,7 @@ "name": "follow", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3781,7 +3424,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/SessionLogItemJsonString" + "$ref": "#/components/schemas/SessionLogItemEncoded" } }, "required": ["id", "event", "data"], @@ -3856,7 +3499,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3866,7 +3509,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3876,7 +3519,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3908,15 +3551,7 @@ "name": "continue", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3931,7 +3566,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3941,7 +3576,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3953,10 +3588,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3997,7 +3632,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4007,7 +3642,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4019,10 +3654,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -4090,7 +3725,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4100,7 +3735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4112,10 +3747,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" } ] } @@ -4156,7 +3791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4166,7 +3801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4176,7 +3811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4293,10 +3928,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4308,7 +3943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4318,7 +3953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4328,7 +3963,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -4347,37 +3982,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4394,7 +3999,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4414,7 +4019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4424,7 +4029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4434,7 +4039,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4453,37 +4058,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4500,7 +4075,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -4524,7 +4099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4534,7 +4109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4544,7 +4119,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4563,37 +4138,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4619,10 +4164,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4634,7 +4179,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4644,7 +4189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4662,14 +4207,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" } }, "required": ["prompt"], @@ -4690,37 +4228,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4737,7 +4245,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4757,7 +4265,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4767,7 +4275,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4777,7 +4285,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4804,37 +4312,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4851,7 +4329,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Provider.Info" @@ -4868,7 +4346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4878,7 +4356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4888,7 +4366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderNotFoundError" + "$ref": "#/components/schemas/ProviderNotFoundErrorEncoded" } } } @@ -4898,7 +4376,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4917,37 +4395,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4964,7 +4412,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4984,7 +4432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4994,7 +4442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5021,37 +4469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5068,7 +4486,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -5092,7 +4510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5102,7 +4520,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5121,37 +4539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5170,10 +4558,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5185,7 +4573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5229,37 +4617,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5278,10 +4636,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5293,7 +4651,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5311,24 +4669,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["key"], @@ -5357,37 +4701,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5404,10 +4718,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Integration.Attempt" + "$ref": "#/components/schemas/Integration.AttemptEncoded" } }, "required": ["location", "data"], @@ -5423,10 +4737,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5438,7 +4752,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5456,24 +4770,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5510,37 +4810,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5557,7 +4827,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.AttemptStatus" @@ -5574,7 +4844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5584,7 +4854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5617,37 +4887,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5664,7 +4904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5674,7 +4914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5709,37 +4949,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5758,10 +4968,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5773,7 +4983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5788,14 +4998,7 @@ "type": "object", "properties": { "code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -5823,37 +5026,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5870,7 +5043,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttempt" @@ -5889,10 +5062,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5904,7 +5077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5922,14 +5095,7 @@ "type": "string" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5966,37 +5132,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6013,7 +5149,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttemptStatus" @@ -6030,7 +5166,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6040,7 +5176,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6073,37 +5209,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6120,7 +5226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6130,7 +5236,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6149,37 +5255,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6196,7 +5272,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -6216,7 +5292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6226,7 +5302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6253,37 +5329,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6300,7 +5346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6310,7 +5356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6327,10 +5373,10 @@ "config": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -6359,37 +5405,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6406,7 +5422,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6416,7 +5432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6426,7 +5442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6453,37 +5469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6500,7 +5486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6510,7 +5496,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6520,7 +5506,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6547,37 +5533,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6594,7 +5550,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6604,7 +5560,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6614,7 +5570,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6633,37 +5589,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6680,7 +5606,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Mcp.ResourceCatalog" @@ -6697,7 +5623,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6707,7 +5633,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6734,37 +5660,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6781,7 +5677,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6791,7 +5687,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6833,37 +5729,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6880,7 +5746,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6890,7 +5756,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6925,7 +5791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6935,7 +5801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6954,37 +5820,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7008,7 +5844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7018,7 +5854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7037,37 +5873,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7084,7 +5890,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7104,7 +5910,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7114,7 +5920,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7165,7 +5971,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7175,7 +5981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7187,10 +5993,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7240,10 +6046,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7255,7 +6061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7267,10 +6073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7282,7 +6088,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -7353,7 +6159,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7363,7 +6169,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7375,13 +6181,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7444,7 +6250,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7454,7 +6260,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7466,13 +6272,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7523,10 +6329,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormInvalidAnswerError" + "$ref": "#/components/schemas/FormInvalidAnswerErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7538,7 +6344,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7550,13 +6356,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7568,7 +6374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7625,7 +6431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7635,7 +6441,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7647,13 +6453,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7665,7 +6471,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7684,37 +6490,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7731,7 +6507,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7751,7 +6527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7761,7 +6537,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7819,7 +6595,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7829,7 +6605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7863,7 +6639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7873,7 +6649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7941,7 +6717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7951,7 +6727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7963,10 +6739,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8001,32 +6777,19 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" } }, "required": ["action", "resources"], @@ -8082,7 +6845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8092,7 +6855,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8104,10 +6867,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8175,7 +6938,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8185,7 +6948,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8197,13 +6960,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8257,7 +7020,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8267,7 +7030,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8279,13 +7042,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8305,14 +7068,7 @@ "$ref": "#/components/schemas/Permission.Reply" }, "message": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["reply"], @@ -8333,37 +7089,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8388,7 +7114,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8398,7 +7124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8417,37 +7143,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8479,7 +7175,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8499,7 +7195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8509,7 +7205,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8528,37 +7224,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8607,7 +7273,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8627,7 +7293,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8637,7 +7303,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8656,37 +7322,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8703,7 +7339,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8723,7 +7359,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8733,7 +7369,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8752,37 +7388,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8799,7 +7405,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8819,7 +7425,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8829,7 +7435,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8867,7 +7473,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/V2EventJsonString" + "$ref": "#/components/schemas/V2EventEncoded" } }, "required": ["id", "event", "data"], @@ -8942,7 +7548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8952,7 +7558,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8971,37 +7577,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9018,7 +7594,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -9038,7 +7614,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9048,7 +7624,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9065,37 +7641,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9112,7 +7658,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9129,7 +7675,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9139,7 +7685,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9205,37 +7751,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9252,7 +7768,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9269,7 +7785,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9279,7 +7795,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9289,7 +7805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9319,37 +7835,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9366,7 +7852,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9383,7 +7869,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9393,7 +7879,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9403,7 +7889,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9472,37 +7958,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9519,7 +7975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9529,7 +7985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9539,7 +7995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9571,37 +8027,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9618,7 +8044,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/PtyTicket.ConnectToken" @@ -9635,7 +8061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9645,7 +8071,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9655,7 +8081,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9665,7 +8091,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9739,7 +8165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9749,7 +8175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9759,7 +8185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9769,7 +8195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9789,37 +8215,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9836,12 +8232,12 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } } }, @@ -9856,7 +8252,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9866,7 +8262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9883,37 +8279,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9930,10 +8296,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -9947,7 +8313,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9957,7 +8323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10020,37 +8386,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10067,10 +8403,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10084,7 +8420,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10094,7 +8430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10104,7 +8440,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10134,37 +8470,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10181,7 +8487,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10191,7 +8497,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10201,7 +8507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10233,37 +8539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10280,10 +8556,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10297,7 +8573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10307,7 +8583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10317,7 +8593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10371,37 +8647,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10444,36 +8690,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["location", "data"], @@ -10487,7 +8707,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10497,7 +8717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10507,7 +8727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10526,37 +8746,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10573,7 +8763,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -10593,7 +8783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10603,7 +8793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10644,7 +8834,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10654,7 +8844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10695,10 +8885,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10710,7 +8900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10770,10 +8960,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10785,7 +8975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10841,10 +9031,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10856,7 +9046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10875,37 +9065,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10922,7 +9082,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Vcs.Info" @@ -10939,7 +9099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10949,7 +9109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10968,37 +9128,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11015,7 +9145,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11035,7 +9165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11045,7 +9175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11064,37 +9194,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11134,7 +9234,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11154,7 +9254,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11164,7 +9264,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11199,7 +9299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11209,7 +9309,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11226,37 +9326,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11273,7 +9343,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11283,7 +9353,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11392,7 +9462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11402,7 +9472,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11421,37 +9491,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11468,7 +9508,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11488,7 +9528,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11498,7 +9538,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11508,7 +9548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11527,37 +9567,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11574,10 +9584,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/WebSearch.Response" + "$ref": "#/components/schemas/WebSearch.ResponseEncoded" } }, "required": ["location", "data"], @@ -11593,10 +9603,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -11608,7 +9618,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11618,7 +9628,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11657,37 +9667,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11714,7 +9694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11724,7 +9704,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11759,7 +9739,7 @@ "required": ["healthy", "version", "pid"], "additionalProperties": false }, - "UnauthorizedError": { + "UnauthorizedErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11773,7 +9753,17 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError": { + "Union_": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "InvalidRequestErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11784,24 +9774,10 @@ "type": "string" }, "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -11827,7 +9803,26 @@ "required": ["accepted"], "additionalProperties": false }, - "Location.Info": { + "Union_1": { + "anyOf": [ + { + "type": "object", + "properties": { + "directory": { + "$ref": "#/components/schemas/Union_" + }, + "workspace": { + "$ref": "#/components/schemas/Union_" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "Location.InfoEncoded": { "type": "object", "properties": { "directory": { @@ -11974,7 +9969,7 @@ "required": ["id", "name", "request", "mode", "hidden", "permissions"], "additionalProperties": false }, - "AgentNotFoundError": { + "AgentNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12276,7 +10271,7 @@ "required": ["data", "cursor"], "additionalProperties": false }, - "InvalidCursorError": { + "InvalidCursorErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12290,38 +10285,47 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError1": { - "type": "object", - "properties": { - "_tag": { - "type": "string", - "enum": ["InvalidRequestError"] - }, - "message": { + "Union_2": { + "anyOf": [ + { "type": "string" }, - "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_3": { + "anyOf": [ + { + "$ref": "#/components/schemas/Model.Ref" }, - "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_4": { + "anyOf": [ + { + "$ref": "#/components/schemas/Location.Ref" + }, + { + "type": "null" + } + ] + }, + "Objects_": { + "type": "object" + }, + "Objects_1": { + "type": "object", + "properties": { + "created": { + "type": "number" } }, - "required": ["_tag", "message"], + "required": ["created"], "additionalProperties": false }, "Session.Message.AgentSelected": { @@ -12336,17 +10340,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12374,17 +10371,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12412,17 +10402,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12535,6 +10518,12 @@ "required": ["data", "mime", "source"], "additionalProperties": false }, + "Arrays_1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.FileAttachment" + } + }, "Prompt.AgentAttachment": { "type": "object", "properties": { @@ -12548,6 +10537,12 @@ "required": ["name"], "additionalProperties": false }, + "Arrays_2": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "Prompt.SkillAttachment": { "type": "object", "properties": { @@ -12567,6 +10562,12 @@ "required": ["id", "name", "text"], "additionalProperties": false }, + "Arrays_3": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.SkillAttachment" + } + }, "Session.Message.User": { "type": "object", "properties": { @@ -12579,38 +10580,22 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "type": { "type": "string", @@ -12632,17 +10617,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" @@ -12670,17 +10648,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12708,17 +10679,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12737,6 +10701,43 @@ "required": ["id", "time", "type", "skill", "name", "text"], "additionalProperties": false }, + "Union_5": { + "type": "string", + "enum": ["running", "exited", "timeout", "killed"] + }, + "Union_6": { + "type": "string", + "enum": ["Infinity", "-Infinity", "NaN"] + }, + "Objects_2": { + "type": "object", + "properties": { + "output": { + "type": "string" + }, + "cursor": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "size": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "truncated": { + "type": "boolean" + } + }, + "required": ["output", "cursor", "size", "truncated"], + "additionalProperties": false + }, "Session.Message.Shell": { "type": "object", "properties": { @@ -12749,7 +10750,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -12780,64 +10781,20 @@ "type": "string" }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "exit": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["id", "time", "type", "shellID", "command", "status"], @@ -12863,6 +10820,9 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_1": { + "type": "object" + }, "Session.Message.Assistant.Reasoning": { "type": "object", "properties": { @@ -12874,7 +10834,7 @@ "type": "string" }, "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_1" }, "time": { "type": "object", @@ -12893,6 +10853,12 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_2": { + "type": "object" + }, + "Session.Message.ProviderState_3": { + "type": "object" + }, "Session.Message.ToolState.Streaming": { "type": "object", "properties": { @@ -12952,14 +10918,7 @@ "type": "string" }, "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["type", "uri", "mime"], @@ -13075,10 +11034,10 @@ "type": "boolean" }, "providerState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_2" }, "providerResultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_3" }, "state": { "anyOf": [ @@ -13149,7 +11108,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -13244,17 +11203,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13290,17 +11242,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13336,17 +11281,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13410,7 +11348,13 @@ } ] }, - "ConflictError": { + "Arrays_": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Session.Message.Info" + } + }, + "ConflictErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13421,19 +11365,23 @@ "type": "string" }, "resource": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, + "Union_7": { + "anyOf": [ + { + "type": "string", + "enum": ["true", "false"] + }, + { + "type": "null" + } + ] + }, "SessionTransfer.Data": { "type": "object", "properties": { @@ -13441,16 +11389,13 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" } }, "required": ["info", "messages"], "additionalProperties": false }, - "SessionNotFoundError": { + "SessionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13467,7 +11412,7 @@ "required": ["_tag", "sessionID", "message"], "additionalProperties": false }, - "UnknownError": { + "UnknownErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13478,14 +11423,7 @@ "type": "string" }, "ref": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -13536,7 +11474,7 @@ } ] }, - "MessageNotFoundError": { + "MessageNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13560,6 +11498,31 @@ "type": "string", "enum": ["steer", "queue"] }, + "Union_8": { + "anyOf": [ + { + "$ref": "#/components/schemas/Session.Inbox.Delivery" + }, + { + "type": "null" + } + ] + }, + "Union_9": { + "anyOf": [ + { + "type": "string", + "allOf": [ + { + "pattern": "^msg_" + } + ] + }, + { + "type": "null" + } + ] + }, "PromptInput.FileAttachment": { "type": "object", "properties": { @@ -13579,6 +11542,18 @@ "required": ["uri"], "additionalProperties": false }, + "Arrays_4": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.FileAttachment" + } + }, + "Arrays_5": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "PromptInput.SkillAttachment": { "type": "object", "properties": { @@ -13592,6 +11567,25 @@ "required": ["id"], "additionalProperties": false }, + "Arrays_6": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.SkillAttachment" + } + }, + "Objects_3": { + "type": "object" + }, + "Union_10": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "Session.Inbox.UserPayload": { "type": "object", "properties": { @@ -13599,25 +11593,16 @@ "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" } }, "required": ["text"], @@ -13659,7 +11644,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "CommandNotFoundError": { + "CommandNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13676,7 +11661,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "CommandEvaluationError": { + "CommandEvaluationErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13693,7 +11678,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "SkillNotFoundError": { + "SkillNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13808,7 +11793,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "ServiceUnavailableError": { + "ServiceUnavailableErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13819,20 +11804,13 @@ "type": "string" }, "service": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, - "SessionBusyError": { + "SessionBusyErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13932,12 +11910,14 @@ "key": { "$ref": "#/components/schemas/InstructionEntry.Key" }, - "value": {} + "value": { + "description": "JSON value attached to the session's instructions" + } }, "required": ["key", "value"], "additionalProperties": false }, - "InstructionEntryValueTooLargeError": { + "InstructionEntryValueTooLargeErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13974,3552 +11954,8 @@ "required": ["data"], "additionalProperties": false }, - "session.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.created"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "projectID": { - "type": "string" - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "subpath": { - "type": "string" - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "slug": { - "type": "string" - }, - "title": { - "type": "string" - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "version": { - "type": "string" - } - }, - "required": ["sessionID", "projectID", "location", "slug", "version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.agent.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.agent.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "agent": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["sessionID", "agent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.model.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.model.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "previous": { - "$ref": "#/components/schemas/Model.Ref" - } - }, - "required": ["sessionID", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.moved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.moved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "projectID": { - "type": "string" - }, - "subpath": { - "type": "string" - } - }, - "required": ["sessionID", "location", "projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.renamed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.renamed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "title": { - "type": "string" - } - }, - "required": ["sessionID", "title"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.deleted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.forked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.forked"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "boundary": { - "$ref": "#/components/schemas/Session.ForkBoundary" - }, - "instructions": { - "type": "object", - "patternProperties": { - "^[a-z0-9][a-z0-9._-]*\\/[a-z0-9][a-z0-9._/-]*$": { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - } - } - } - }, - "required": ["sessionID", "parentID", "boundary"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivered": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivered"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Inbox.UserPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } - }, - "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } - }, - "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.SyntheticPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.Item": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["user"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.UserPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["synthetic"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.SyntheticPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["compaction"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.CompactionPayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["move"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.MovePayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - } - ] - }, - "session.inbox.enqueued": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.enqueued"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "item": { - "$ref": "#/components/schemas/Session.Inbox.Item" - } - }, - "required": ["sessionID", "inboxID", "item"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.cancelled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivery.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivery.changed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["sessionID", "inboxID", "delivery"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.succeeded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.succeeded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.interrupted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.interrupted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["user", "shutdown", "superseded"] - } - }, - "required": ["sessionID", "reason"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.instructions.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.instructions.updated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "delta": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - }, - { - "type": "string", - "enum": ["removed"] - } - ] - } - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.synthetic": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.synthetic"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.skill.activated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.skill.activated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "id", "name", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Shell.Info": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - }, - "command": { - "type": "string" - }, - "cwd": { - "type": "string" - }, - "shell": { - "type": "string" - }, - "file": { - "type": "string" - }, - "pid": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "exit": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "time": { - "type": "object", - "properties": { - "started": { - "type": "number" - }, - "completed": { - "type": "number" - } - }, - "required": ["started"], - "additionalProperties": false - } - }, - "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], - "additionalProperties": false - }, - "session.shell.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["sessionID", "shell"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.shell.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - }, - "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false - } - }, - "required": ["sessionID", "shell", "output"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "snapshot": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "agent", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "finish": { - "type": "string", - "enum": ["stop", "length", "tool-calls", "content-filter", "error", "unknown"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "finish", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.text.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState4": { - "type": "object" - }, - "session.text.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState4" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState5": { - "type": "object" - }, - "session.reasoning.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState5" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState6": { - "type": "object" - }, - "session.reasoning.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState6" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState7": { - "type": "object" - }, - "session.tool.called": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.called"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "input": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState7" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "input", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Tool.FileContent1": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["file"] - }, - "uri": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": ["type", "uri", "mime"], - "additionalProperties": false - }, - "Tool.Content1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tool.TextContent" - }, - { - "$ref": "#/components/schemas/Tool.FileContent1" - } - ] - }, - "Session.Message.ProviderState8": { - "type": "object" - }, - "session.tool.success": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.success"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState8" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "content", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState9": { - "type": "object" - }, - "session.tool.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState9" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "error", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.retry.scheduled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.retry.scheduled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "at": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "assistantMessageID", "attempt", "at", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "recent": { - "type": "string" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "text": { - "type": "string" - }, - "recent": { - "type": "string" - } - }, - "required": ["sessionID", "reason", "text", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.staged": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.staged"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "revert": { - "$ref": "#/components/schemas/Session.Revert" - } - }, - "required": ["sessionID", "revert"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.cleared": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.cleared"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.committed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.committed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "to": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "to"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.usage.recorded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.recorded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "source": { - "type": "string", - "enum": ["title", "compaction"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "source", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Event.Durable": { - "oneOf": [ - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/session.usage.recorded" - } - ] - }, - "EventLog.Synced": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["log.synced"] - }, - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "aggregateID"], - "additionalProperties": false, - "description": "Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq." - }, - "SessionLogItem": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Event.Durable" - }, - { - "$ref": "#/components/schemas/EventLog.Synced" - } - ] - }, - "SessionLogItemJsonString": { + "SessionLogItemEncoded": { "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/SessionLogItem" - }, "contentMediaType": "application/json" }, "SessionMessagesResponse": { @@ -17535,24 +11971,10 @@ "type": "object", "properties": { "previous": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "next": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -17591,6 +12013,18 @@ }, "additionalProperties": false }, + "Objects_4": { + "type": "object" + }, + "Objects_5": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_6": { + "type": "object" + }, "Model.Capabilities": { "type": "object", "properties": { @@ -17620,16 +12054,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id"], @@ -17703,16 +12134,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -17815,22 +12243,19 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id", "name", "activation", "package"], "additionalProperties": false }, - "ProviderNotFoundError": { + "ProviderNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -17847,6 +12272,16 @@ "required": ["_tag", "providerID", "message"], "additionalProperties": false }, + "Union_11": { + "anyOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/Union_6" + } + ] + }, "Form.When": { "type": "object", "properties": { @@ -17863,31 +12298,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -17898,6 +12309,12 @@ "required": ["key", "op", "value"], "additionalProperties": false }, + "Arrays_7": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Form.When" + } + }, "Form.Option": { "type": "object", "properties": { @@ -17930,10 +12347,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -17997,10 +12411,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18009,81 +12420,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18107,10 +12467,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18119,81 +12476,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18217,10 +12523,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18249,10 +12552,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18393,6 +12693,18 @@ "required": ["id", "type", "label", "command"], "additionalProperties": false }, + "Form.Fields_1": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Integration.KeyMethod": { "type": "object", "properties": { @@ -18404,7 +12716,7 @@ "type": "string" }, "form": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_1" } }, "required": ["type"], @@ -18515,31 +12827,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -18558,7 +12846,30 @@ "$ref": "#/components/schemas/Form.Value" } }, - "Integration.Attempt": { + "Union_12": { + "anyOf": [ + { + "$ref": "#/components/schemas/Form.Answer" + }, + { + "type": "null" + } + ] + }, + "Objects_7": { + "type": "object", + "properties": { + "created": { + "$ref": "#/components/schemas/Union_11" + }, + "expires": { + "$ref": "#/components/schemas/Union_11" + } + }, + "required": ["created", "expires"], + "additionalProperties": false + }, + "Integration.AttemptEncoded": { "type": "object", "properties": { "attemptID": { @@ -18575,65 +12886,7 @@ "enum": ["auto", "code"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "url", "instructions", "mode", "time"], @@ -18649,65 +12902,7 @@ "enum": ["pending"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18721,65 +12916,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18796,65 +12933,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -18868,65 +12947,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18941,65 +12962,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "time"], @@ -19018,65 +12981,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19090,65 +12995,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19165,65 +13012,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -19237,65 +13026,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19393,7 +13124,37 @@ "required": ["name", "status"], "additionalProperties": false }, - "Mcp.LocalConfig": { + "Objects_8": { + "type": "object", + "properties": { + "startup": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "catalog": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "execution": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + } + }, + "additionalProperties": false + }, + "Mcp.LocalConfigEncoded": { "type": "object", "properties": { "type": { @@ -19422,40 +13183,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "command"], "additionalProperties": false }, - "Mcp.OAuthConfig": { + "Mcp.OAuthConfigEncoded": { "type": "object", "properties": { "client_id": { @@ -19482,7 +13216,7 @@ }, "additionalProperties": false }, - "Mcp.RemoteConfig": { + "Mcp.RemoteConfigEncoded": { "type": "object", "properties": { "type": { @@ -19501,7 +13235,7 @@ "oauth": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.OAuthConfig" + "$ref": "#/components/schemas/Mcp.OAuthConfigEncoded" }, { "type": "boolean", @@ -19516,40 +13250,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "url"], "additionalProperties": false }, - "McpServerNotFoundError": { + "McpServerNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19742,6 +13449,18 @@ "Form.Metadata": { "type": "object" }, + "Form.Fields_2": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Form.Info": { "type": "object", "properties": { @@ -19763,7 +13482,7 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["id", "sessionID", "title", "fields"], @@ -19794,13 +13513,13 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["title", "fields"], "additionalProperties": false }, - "FormNotFoundError": { + "FormNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19867,7 +13586,7 @@ "required": ["answer"], "additionalProperties": false }, - "FormAlreadySettledError": { + "FormAlreadySettledErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19884,7 +13603,7 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, - "FormInvalidAnswerError": { + "FormInvalidAnswerErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19901,6 +13620,21 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, + "Arrays_8": { + "type": "array", + "items": { + "type": "string" + } + }, + "Arrays_9": { + "type": "array", + "items": { + "type": "string" + } + }, + "Objects_9": { + "type": "object" + }, "Permission.Source": { "anyOf": [ { @@ -19945,19 +13679,13 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" @@ -19985,7 +13713,7 @@ "required": ["id", "projectID", "action", "resource"], "additionalProperties": false }, - "PermissionNotFoundError": { + "PermissionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -20073,1028 +13801,9 @@ "required": ["id", "name", "location", "content"], "additionalProperties": false }, - "models-dev.refreshed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["models-dev.refreshed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.connection.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.connection.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "integrationID": { - "type": "string" - } - }, - "required": ["integrationID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "catalog.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["catalog.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "agent.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["agent.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.usage.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.text.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.reasoning.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.input.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.progress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.progress"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "metadata"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.compaction.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "filesystem.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["filesystem.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "file": { - "type": "string" - }, - "event": { - "type": "string", - "enum": ["add", "change", "unlink"] - } - }, - "required": ["file", "event"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "reference.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["reference.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.asked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.asked"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "action": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "save": { - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "type": "object" - }, - "source": { - "$ref": "#/components/schemas/Permission.Source" - } - }, - "required": ["id", "sessionID", "action", "resources"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "requestID": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "reply": { - "$ref": "#/components/schemas/Permission.Reply" - } - }, - "required": ["sessionID", "requestID", "reply"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.added": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.added"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - } - }, - "required": ["projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.resolved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.resolved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - }, - "directory": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["projectID", "directory", "previous"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "command.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["command.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "config.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["config.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "skill.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["skill.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false + "V2EventEncoded": { + "type": "string", + "contentMediaType": "application/json" }, "Pty": { "type": "object", @@ -21146,1835 +13855,7 @@ "required": ["id", "title", "command", "args", "cwd", "status", "pid"], "additionalProperties": false }, - "pty.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - }, - "exitCode": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["id", "exitCode"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "exit": { - "type": "number" - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - } - }, - "required": ["id", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Metadata1": { - "type": "object" - }, - "Form.When1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "op": { - "type": "string", - "enum": ["eq", "neq"] - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - } - ] - } - }, - "required": ["key", "op", "value"], - "additionalProperties": false - }, - "Form.StringField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["string"] - }, - "format": { - "type": "string", - "enum": ["email", "uri", "date", "date-time"] - }, - "minLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "pattern": { - "type": "string" - }, - "placeholder": { - "type": "string" - }, - "default": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "custom": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.NumberField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["number"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.IntegerField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["integer"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.BooleanField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["boolean"] - }, - "default": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.MultiselectField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["multiselect"] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "minItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "custom": { - "type": "boolean" - }, - "default": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["key", "type", "options"], - "additionalProperties": false - }, - "Form.Field1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.StringField1" - }, - { - "$ref": "#/components/schemas/Form.NumberField1" - }, - { - "$ref": "#/components/schemas/Form.IntegerField1" - }, - { - "$ref": "#/components/schemas/Form.BooleanField1" - }, - { - "$ref": "#/components/schemas/Form.MultiselectField1" - }, - { - "$ref": "#/components/schemas/Form.ExternalField" - } - ] - }, - "Form.Fields3": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Form.Field1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Form.Field1" - } - }, - "Form.Info1": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "title": { - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/Form.Metadata1" - }, - "fields": { - "$ref": "#/components/schemas/Form.Fields3" - } - }, - "required": ["id", "sessionID", "title", "fields"], - "additionalProperties": false - }, - "form.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "form": { - "$ref": "#/components/schemas/Form.Info1" - } - }, - "required": ["form"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Value1": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "Form.Answer1": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Form.Value1" - } - }, - "form.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "answer": { - "$ref": "#/components/schemas/Form.Answer1" - } - }, - "required": ["id", "sessionID", "answer"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "form.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.cancelled"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - } - }, - "required": ["id", "sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "websearch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["websearch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "SessionStatus": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["idle"] - } - }, - "required": ["type"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["retry"] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "message": { - "type": "string" - }, - "action": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "label": { - "type": "string" - }, - "link": { - "type": "string" - } - }, - "required": ["reason", "provider", "title", "message", "label"], - "additionalProperties": false - }, - "next": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "attempt", "message", "next"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["busy"] - } - }, - "required": ["type"], - "additionalProperties": false - } - ] - }, - "session.status": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.status"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "status": { - "$ref": "#/components/schemas/SessionStatus" - } - }, - "required": ["sessionID", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.idle": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.idle"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.prompt.append": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.prompt.append"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": ["text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.command.execute": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.command.execute"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "command": { - "anyOf": [ - { - "type": "string", - "enum": [ - "session.list", - "session.new", - "session.share", - "session.interrupt", - "session.background", - "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", "created", "type", "data"], - "additionalProperties": false - }, - "tui.toast.show": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.toast.show"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "variant": { - "type": "string", - "enum": ["info", "success", "warning", "error"] - }, - "duration": { - "anyOf": [ - { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - { - "type": "null" - } - ] - } - }, - "required": ["message", "variant"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.session.select": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.session.select"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses", - "description": "Session ID to navigate to" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.update-available": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.update-available"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "vcs.branch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["vcs.branch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "branch": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.status.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.status.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.resources.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.resources.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "V2Event.server.connected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "metadata": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string", - "enum": ["server.connected"] - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "type", "data"], - "additionalProperties": false - }, - "V2Event": { - "anyOf": [ - { - "$ref": "#/components/schemas/models-dev.refreshed" - }, - { - "$ref": "#/components/schemas/integration.updated" - }, - { - "$ref": "#/components/schemas/integration.connection.updated" - }, - { - "$ref": "#/components/schemas/catalog.updated" - }, - { - "$ref": "#/components/schemas/agent.updated" - }, - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.usage.updated" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.delta" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.delta" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.delta" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.progress" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.delta" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/filesystem.changed" - }, - { - "$ref": "#/components/schemas/reference.updated" - }, - { - "$ref": "#/components/schemas/permission.asked" - }, - { - "$ref": "#/components/schemas/permission.replied" - }, - { - "$ref": "#/components/schemas/plugin.added" - }, - { - "$ref": "#/components/schemas/plugin.updated" - }, - { - "$ref": "#/components/schemas/worktree.updated" - }, - { - "$ref": "#/components/schemas/worktree.resolved" - }, - { - "$ref": "#/components/schemas/command.updated" - }, - { - "$ref": "#/components/schemas/config.updated" - }, - { - "$ref": "#/components/schemas/skill.updated" - }, - { - "$ref": "#/components/schemas/pty.created" - }, - { - "$ref": "#/components/schemas/pty.updated" - }, - { - "$ref": "#/components/schemas/pty.exited" - }, - { - "$ref": "#/components/schemas/pty.deleted" - }, - { - "$ref": "#/components/schemas/shell.created" - }, - { - "$ref": "#/components/schemas/shell.exited" - }, - { - "$ref": "#/components/schemas/shell.deleted" - }, - { - "$ref": "#/components/schemas/form.created" - }, - { - "$ref": "#/components/schemas/form.replied" - }, - { - "$ref": "#/components/schemas/form.cancelled" - }, - { - "$ref": "#/components/schemas/websearch.updated" - }, - { - "$ref": "#/components/schemas/session.status" - }, - { - "$ref": "#/components/schemas/session.idle" - }, - { - "$ref": "#/components/schemas/tui.prompt.append" - }, - { - "$ref": "#/components/schemas/tui.command.execute" - }, - { - "$ref": "#/components/schemas/tui.toast.show" - }, - { - "$ref": "#/components/schemas/tui.session.select" - }, - { - "$ref": "#/components/schemas/installation.updated" - }, - { - "$ref": "#/components/schemas/installation.update-available" - }, - { - "$ref": "#/components/schemas/vcs.branch.updated" - }, - { - "$ref": "#/components/schemas/mcp.status.changed" - }, - { - "$ref": "#/components/schemas/mcp.resources.changed" - }, - { - "$ref": "#/components/schemas/V2Event.server.connected" - } - ] - }, - "V2EventJsonString": { - "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/V2Event" - }, - "contentMediaType": "application/json" - }, - "PtyNotFoundError": { + "PtyNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23009,7 +13890,7 @@ "required": ["ticket", "expires_in"], "additionalProperties": false }, - "ForbiddenError": { + "ForbiddenErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23023,7 +13904,7 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "Shell.Info1": { + "Shell.Info": { "type": "object", "properties": { "id": { @@ -23035,8 +13916,7 @@ ] }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "command": { "type": "string" @@ -23081,7 +13961,7 @@ "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], "additionalProperties": false }, - "ShellNotFoundError": { + "ShellNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23202,7 +14082,7 @@ "required": ["directory"], "additionalProperties": false }, - "WorktreeError": { + "WorktreeErrorEncoded": { "type": "object", "properties": { "name": { @@ -23216,14 +14096,7 @@ "type": "string" }, "forceRequired": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["message"], @@ -23327,7 +14200,7 @@ "required": ["url", "time"], "additionalProperties": false }, - "WebSearch.Response": { + "WebSearch.ResponseEncoded": { "type": "object", "properties": { "providerID": { @@ -23343,63 +14216,72 @@ "required": ["providerID", "results"], "additionalProperties": false }, - "Config.Agent": { - "type": "object", - "properties": { - "model": { - "anyOf": [ + "Union_13": { + "anyOf": [ + { + "type": "string", + "allOf": [ { + "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + } + ] + }, + { + "type": "object", + "properties": { + "providerID": { "type": "string", "allOf": [ { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + "pattern": "^[^/#]+$" } ] }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] + "model": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" } - }, - "required": ["providerID", "model"], - "additionalProperties": false + ] + }, + "variant": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" + } + ] } - ] + }, + "required": ["providerID", "model"], + "additionalProperties": false + } + ] + }, + "Objects_10": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_11": { + "type": "object" + }, + "Config.AgentEncoded": { + "type": "object", + "properties": { + "model": { + "$ref": "#/components/schemas/Union_13" }, "request": { "type": "object", "properties": { "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "additionalProperties": false @@ -23442,7 +14324,7 @@ }, "additionalProperties": false }, - "Config.Formatter.Entry": { + "Config.Formatter.EntryEncoded": { "type": "object", "properties": { "disabled": { @@ -23469,7 +14351,7 @@ }, "additionalProperties": false }, - "Config.LSP.Server": { + "Config.LSP.ServerEncoded": { "type": "object", "properties": { "command": { @@ -23500,7 +14382,7 @@ "required": ["command"], "additionalProperties": false }, - "Config.Command": { + "Config.CommandEncoded": { "type": "object", "properties": { "template": { @@ -23513,47 +14395,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "subtask": { "type": "boolean" @@ -23562,7 +14404,7 @@ "required": ["template"], "additionalProperties": false }, - "Config.Reference.Git": { + "Config.Reference.GitEncoded": { "type": "object", "properties": { "repository": { @@ -23581,7 +14423,7 @@ "required": ["repository"], "additionalProperties": false }, - "Config.Reference.Local": { + "Config.Reference.LocalEncoded": { "type": "object", "properties": { "path": { @@ -23597,7 +14439,7 @@ "required": ["path"], "additionalProperties": false }, - "ConfigWebSearch.Info": { + "ConfigWebSearch.InfoEncoded": { "type": "object", "properties": { "provider": { @@ -23615,7 +14457,7 @@ "required": ["provider"], "additionalProperties": false }, - "Config.Plugin.Entry": { + "Config.Plugin.EntryEncoded": { "type": "object", "properties": { "package": { @@ -23628,7 +14470,7 @@ "required": ["package"], "additionalProperties": false }, - "Config.Warming": { + "Config.WarmingEncoded": { "type": "object", "properties": { "prompt": { @@ -23643,7 +14485,7 @@ }, "additionalProperties": false }, - "Config.Model.Cost": { + "Config.Model.CostEncoded": { "type": "object", "properties": { "tier": { @@ -23682,7 +14524,7 @@ "required": ["input", "output"], "additionalProperties": false }, - "Config.Model": { + "Config.ModelEncoded": { "type": "object", "properties": { "modelID": { @@ -23701,16 +14543,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -23724,16 +14563,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "required": ["id"], @@ -23743,12 +14579,12 @@ "cost": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" }, { "type": "array", "items": { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" } } ] @@ -23774,7 +14610,7 @@ }, "additionalProperties": false }, - "Config.Provider": { + "Config.ProviderEncoded": { "type": "object", "properties": { "name": { @@ -23790,27 +14626,24 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "models": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Model" + "$ref": "#/components/schemas/Config.ModelEncoded" } } }, "additionalProperties": false }, - "Config.Info": { + "Config.InfoEncoded": { "type": "object", "properties": { "$schema": { @@ -23820,47 +14653,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "default_agent": { "type": "string" @@ -23898,7 +14691,7 @@ "agents": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Agent" + "$ref": "#/components/schemas/Config.AgentEncoded" } }, "snapshots": { @@ -23924,7 +14717,7 @@ { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Formatter.Entry" + "$ref": "#/components/schemas/Config.Formatter.EntryEncoded" } } ] @@ -23950,7 +14743,7 @@ "additionalProperties": false }, { - "$ref": "#/components/schemas/Config.LSP.Server" + "$ref": "#/components/schemas/Config.LSP.ServerEncoded" } ] } @@ -24022,44 +14815,17 @@ "type": "object", "properties": { "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" }, "servers": { "type": "object", "additionalProperties": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -24107,7 +14873,7 @@ "commands": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Command" + "$ref": "#/components/schemas/Config.CommandEncoded" } }, "instructions": { @@ -24124,10 +14890,10 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Reference.Git" + "$ref": "#/components/schemas/Config.Reference.GitEncoded" }, { - "$ref": "#/components/schemas/Config.Reference.Local" + "$ref": "#/components/schemas/Config.Reference.LocalEncoded" } ] } @@ -24139,7 +14905,7 @@ "enum": [false] }, { - "$ref": "#/components/schemas/ConfigWebSearch.Info" + "$ref": "#/components/schemas/ConfigWebSearch.InfoEncoded" } ] }, @@ -24151,7 +14917,7 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Plugin.Entry" + "$ref": "#/components/schemas/Config.Plugin.EntryEncoded" } ] } @@ -24162,14 +14928,14 @@ "type": "boolean" }, { - "$ref": "#/components/schemas/Config.Warming" + "$ref": "#/components/schemas/Config.WarmingEncoded" } ] }, "providers": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Provider" + "$ref": "#/components/schemas/Config.ProviderEncoded" } }, "experimental": { @@ -24213,7 +14979,7 @@ }, "additionalProperties": false }, - "Config.Document": { + "Config.DocumentEncoded": { "type": "object", "properties": { "type": { @@ -24224,13 +14990,13 @@ "type": "string" }, "info": { - "$ref": "#/components/schemas/Config.Info" + "$ref": "#/components/schemas/Config.InfoEncoded" } }, "required": ["type", "info"], "additionalProperties": false }, - "Config.Directory": { + "Config.DirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24244,7 +15010,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.AgentsDirectory": { + "Config.AgentsDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24258,7 +15024,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.ClaudeDirectory": { + "Config.ClaudeDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24275,16 +15041,16 @@ "Config.Entry": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Document" + "$ref": "#/components/schemas/Config.DocumentEncoded" }, { - "$ref": "#/components/schemas/Config.Directory" + "$ref": "#/components/schemas/Config.DirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.AgentsDirectory" + "$ref": "#/components/schemas/Config.AgentsDirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.ClaudeDirectory" + "$ref": "#/components/schemas/Config.ClaudeDirectoryEncoded" } ] } diff --git a/packages/www/public/openapi.json b/packages/www/public/openapi.json index 0c01a29509..efc51ffea5 100644 --- a/packages/www/public/openapi.json +++ b/packages/www/public/openapi.json @@ -28,7 +28,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -38,7 +38,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -70,7 +70,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -80,7 +80,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -132,7 +132,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -142,7 +142,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -161,37 +161,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -205,7 +175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" } } } @@ -215,7 +185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -225,7 +195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -244,37 +214,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -291,7 +231,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -311,7 +251,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -321,7 +261,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -348,37 +288,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -395,7 +305,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Agent.Info" @@ -412,7 +322,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -422,7 +332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -432,7 +342,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AgentNotFoundError" + "$ref": "#/components/schemas/AgentNotFoundErrorEncoded" } } } @@ -451,37 +361,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -498,7 +378,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -518,7 +398,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -528,7 +408,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -600,14 +480,7 @@ "name": "search", "in": "query", "schema": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "required": false }, @@ -721,13 +594,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -739,7 +612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -776,7 +649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -786,7 +659,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -816,44 +689,16 @@ ] }, "title": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "additionalProperties": false @@ -893,7 +738,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -903,7 +748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -913,7 +758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -931,20 +776,10 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" }, "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_4" } }, "required": ["info", "messages"], @@ -978,15 +813,7 @@ "name": "sanitize", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -1015,7 +842,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1025,7 +852,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1035,7 +862,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1045,7 +872,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -1089,7 +916,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1099,7 +926,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1152,7 +979,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1162,7 +989,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1172,7 +999,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1209,7 +1036,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1219,7 +1046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1231,10 +1058,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1291,10 +1118,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1306,7 +1133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1318,13 +1145,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1382,7 +1209,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1392,7 +1219,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1404,10 +1231,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1465,7 +1292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1475,7 +1302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1487,10 +1314,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1548,7 +1375,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -1558,7 +1385,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1570,10 +1397,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1633,10 +1460,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1648,7 +1475,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1658,7 +1485,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -1684,14 +1511,7 @@ ] }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "required": ["directory"], @@ -1748,10 +1568,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1763,7 +1583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1775,10 +1595,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1790,7 +1610,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1805,63 +1625,28 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -1918,10 +1703,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -1933,7 +1718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -1945,13 +1730,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/CommandNotFoundError" + "$ref": "#/components/schemas/CommandNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -1963,7 +1748,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -1973,7 +1758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CommandEvaluationError" + "$ref": "#/components/schemas/CommandEvaluationErrorEncoded" } } } @@ -1988,90 +1773,34 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "command": { "type": "string" }, "arguments": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_4" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_5" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PromptInput.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_6" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["command"], @@ -2112,7 +1841,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2122,7 +1851,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2134,13 +1863,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SkillNotFoundError" + "$ref": "#/components/schemas/SkillNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2157,32 +1886,13 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "skill": { "type": "string" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["skill"], @@ -2237,7 +1947,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2247,7 +1957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2259,10 +1969,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2274,7 +1984,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2289,55 +1999,22 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "text": { "type": "string" }, "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" }, "resume": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["text"], @@ -2378,7 +2055,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2388,7 +2065,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2400,10 +2077,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2490,7 +2167,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2500,7 +2177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2512,10 +2189,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2527,7 +2204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -2542,29 +2219,10 @@ "type": "object", "properties": { "id": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_9" }, "delivery": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_8" } }, "additionalProperties": false @@ -2604,7 +2262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2614,7 +2272,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2626,10 +2284,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2641,7 +2299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -2694,7 +2352,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2704,7 +2362,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2716,13 +2374,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2734,7 +2392,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2744,7 +2402,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2767,14 +2425,7 @@ ] }, "files": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["messageID"], @@ -2815,7 +2466,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2825,7 +2476,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2837,10 +2488,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2852,7 +2503,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2862,7 +2513,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -2900,7 +2551,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -2910,7 +2561,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -2922,10 +2573,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -2937,7 +2588,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionBusyError" + "$ref": "#/components/schemas/SessionBusyErrorEncoded" } } } @@ -2992,7 +2643,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3002,7 +2653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3012,7 +2663,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3022,7 +2673,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -3078,7 +2729,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3088,7 +2739,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3098,7 +2749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3150,7 +2801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3160,7 +2811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3170,7 +2821,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3180,7 +2831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3232,7 +2883,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3242,7 +2893,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3252,7 +2903,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3262,7 +2913,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3314,7 +2965,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3324,7 +2975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3334,7 +2985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3344,7 +2995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -3400,7 +3051,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3410,7 +3061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3422,10 +3073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3474,7 +3125,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3484,7 +3135,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3496,10 +3147,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3511,7 +3162,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InstructionEntryValueTooLargeError" + "$ref": "#/components/schemas/InstructionEntryValueTooLargeErrorEncoded" } } } @@ -3571,7 +3222,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3581,7 +3232,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3593,10 +3244,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3644,7 +3295,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3654,7 +3305,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3666,10 +3317,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3681,7 +3332,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -3745,15 +3396,7 @@ "name": "follow", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3781,7 +3424,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/SessionLogItemJsonString" + "$ref": "#/components/schemas/SessionLogItemEncoded" } }, "required": ["id", "event", "data"], @@ -3856,7 +3499,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3866,7 +3509,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3876,7 +3519,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -3908,15 +3551,7 @@ "name": "continue", "in": "query", "schema": { - "anyOf": [ - { - "type": "string", - "enum": ["true", "false"] - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_7" }, "required": false } @@ -3931,7 +3566,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -3941,7 +3576,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -3953,10 +3588,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -3997,7 +3632,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4007,7 +3642,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4019,10 +3654,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -4090,7 +3725,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4100,7 +3735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4112,10 +3747,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/MessageNotFoundError" + "$ref": "#/components/schemas/MessageNotFoundErrorEncoded" } ] } @@ -4156,7 +3791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4166,7 +3801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4176,7 +3811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4293,10 +3928,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidCursorError" + "$ref": "#/components/schemas/InvalidCursorErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4308,7 +3943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4318,7 +3953,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } } } @@ -4328,7 +3963,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnknownError" + "$ref": "#/components/schemas/UnknownErrorEncoded" } } } @@ -4347,37 +3982,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4394,7 +3999,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4414,7 +4019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4424,7 +4029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4434,7 +4039,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4453,37 +4058,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4500,7 +4075,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -4524,7 +4099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4534,7 +4109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4544,7 +4119,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4563,37 +4138,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4619,10 +4164,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -4634,7 +4179,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4644,7 +4189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4662,14 +4207,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "$ref": "#/components/schemas/Model.Ref" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_3" } }, "required": ["prompt"], @@ -4690,37 +4228,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4737,7 +4245,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4757,7 +4265,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4767,7 +4275,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4777,7 +4285,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4804,37 +4312,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4851,7 +4329,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Provider.Info" @@ -4868,7 +4346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4878,7 +4356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -4888,7 +4366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProviderNotFoundError" + "$ref": "#/components/schemas/ProviderNotFoundErrorEncoded" } } } @@ -4898,7 +4376,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -4917,37 +4395,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -4964,7 +4412,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -4984,7 +4432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -4994,7 +4442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5021,37 +4469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5068,7 +4486,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "anyOf": [ @@ -5092,7 +4510,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5102,7 +4520,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5121,37 +4539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5170,10 +4558,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5185,7 +4573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5229,37 +4617,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5278,10 +4636,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5293,7 +4651,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5311,24 +4669,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["key"], @@ -5357,37 +4701,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5404,10 +4718,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Integration.Attempt" + "$ref": "#/components/schemas/Integration.AttemptEncoded" } }, "required": ["location", "data"], @@ -5423,10 +4737,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5438,7 +4752,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5456,24 +4770,10 @@ "type": "string" }, "answer": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.Answer" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_12" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5510,37 +4810,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5557,7 +4827,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.AttemptStatus" @@ -5574,7 +4844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5584,7 +4854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5617,37 +4887,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5664,7 +4904,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -5674,7 +4914,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5709,37 +4949,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5758,10 +4968,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5773,7 +4983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5788,14 +4998,7 @@ "type": "object", "properties": { "code": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -5823,37 +5026,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -5870,7 +5043,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttempt" @@ -5889,10 +5062,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -5904,7 +5077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -5922,14 +5095,7 @@ "type": "string" }, "label": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["methodID"], @@ -5966,37 +5132,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6013,7 +5149,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Integration.CommandAttemptStatus" @@ -6030,7 +5166,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6040,7 +5176,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6073,37 +5209,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6120,7 +5226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6130,7 +5236,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6149,37 +5255,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6196,7 +5272,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -6216,7 +5292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6226,7 +5302,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6253,37 +5329,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6300,7 +5346,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6310,7 +5356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6327,10 +5373,10 @@ "config": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -6359,37 +5405,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6406,7 +5422,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6416,7 +5432,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6426,7 +5442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6453,37 +5469,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6500,7 +5486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6510,7 +5496,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6520,7 +5506,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6547,37 +5533,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6594,7 +5550,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6604,7 +5560,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6614,7 +5570,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/McpServerNotFoundError" + "$ref": "#/components/schemas/McpServerNotFoundErrorEncoded" } } } @@ -6633,37 +5589,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6680,7 +5606,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Mcp.ResourceCatalog" @@ -6697,7 +5623,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6707,7 +5633,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6734,37 +5660,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6781,7 +5677,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6791,7 +5687,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6833,37 +5729,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -6880,7 +5746,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6890,7 +5756,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6925,7 +5791,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -6935,7 +5801,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -6954,37 +5820,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7008,7 +5844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7018,7 +5854,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7037,37 +5873,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7084,7 +5890,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7104,7 +5910,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7114,7 +5920,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7165,7 +5971,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7175,7 +5981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7187,10 +5993,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7240,10 +6046,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7255,7 +6061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7267,10 +6073,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7282,7 +6088,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConflictError" + "$ref": "#/components/schemas/ConflictErrorEncoded" } } } @@ -7353,7 +6159,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7363,7 +6169,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7375,13 +6181,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7444,7 +6250,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7454,7 +6260,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7466,13 +6272,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7523,10 +6329,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormInvalidAnswerError" + "$ref": "#/components/schemas/FormInvalidAnswerErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -7538,7 +6344,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7550,13 +6356,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7568,7 +6374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7625,7 +6431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7635,7 +6441,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7647,13 +6453,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/FormNotFoundError" + "$ref": "#/components/schemas/FormNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -7665,7 +6471,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormAlreadySettledError" + "$ref": "#/components/schemas/FormAlreadySettledErrorEncoded" } } } @@ -7684,37 +6490,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -7731,7 +6507,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -7751,7 +6527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7761,7 +6537,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7819,7 +6595,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7829,7 +6605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7863,7 +6639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7873,7 +6649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7941,7 +6717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -7951,7 +6727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -7963,10 +6739,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8001,32 +6777,19 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" }, "agent": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_2" } }, "required": ["action", "resources"], @@ -8082,7 +6845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8092,7 +6855,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8104,10 +6867,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8175,7 +6938,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8185,7 +6948,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8197,13 +6960,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8257,7 +7020,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8267,7 +7030,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8279,13 +7042,13 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PermissionNotFoundError" + "$ref": "#/components/schemas/PermissionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" }, { - "$ref": "#/components/schemas/SessionNotFoundError" + "$ref": "#/components/schemas/SessionNotFoundErrorEncoded" } ] } @@ -8305,14 +7068,7 @@ "$ref": "#/components/schemas/Permission.Reply" }, "message": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["reply"], @@ -8333,37 +7089,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8388,7 +7114,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8398,7 +7124,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8417,37 +7143,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8479,7 +7175,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8499,7 +7195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8509,7 +7205,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8528,37 +7224,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8607,7 +7273,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8627,7 +7293,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8637,7 +7303,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8656,37 +7322,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8703,7 +7339,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8723,7 +7359,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8733,7 +7369,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8752,37 +7388,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -8799,7 +7405,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -8819,7 +7425,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8829,7 +7435,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8867,7 +7473,7 @@ "type": "string" }, "data": { - "$ref": "#/components/schemas/V2EventJsonString" + "$ref": "#/components/schemas/V2EventEncoded" } }, "required": ["id", "event", "data"], @@ -8942,7 +7548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -8952,7 +7558,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -8971,37 +7577,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9018,7 +7594,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -9038,7 +7614,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9048,7 +7624,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9065,37 +7641,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9112,7 +7658,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9129,7 +7675,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9139,7 +7685,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9205,37 +7751,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9252,7 +7768,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9269,7 +7785,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9279,7 +7795,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9289,7 +7805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9319,37 +7835,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9366,7 +7852,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Pty" @@ -9383,7 +7869,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9393,7 +7879,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9403,7 +7889,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9472,37 +7958,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9519,7 +7975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9529,7 +7985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9539,7 +7995,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9571,37 +8027,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9618,7 +8044,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/PtyTicket.ConnectToken" @@ -9635,7 +8061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9645,7 +8071,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9655,7 +8081,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9665,7 +8091,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9739,7 +8165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9749,7 +8175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9759,7 +8185,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ForbiddenError" + "$ref": "#/components/schemas/ForbiddenErrorEncoded" } } } @@ -9769,7 +8195,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PtyNotFoundError" + "$ref": "#/components/schemas/PtyNotFoundErrorEncoded" } } } @@ -9789,37 +8215,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9836,12 +8232,12 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } } }, @@ -9856,7 +8252,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9866,7 +8262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -9883,37 +8279,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -9930,10 +8296,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -9947,7 +8313,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -9957,7 +8323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10020,37 +8386,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10067,10 +8403,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10084,7 +8420,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10094,7 +8430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10104,7 +8440,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10134,37 +8470,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10181,7 +8487,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10191,7 +8497,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10201,7 +8507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10233,37 +8539,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10280,10 +8556,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/Shell.Info1" + "$ref": "#/components/schemas/Shell.Info" } }, "required": ["location", "data"], @@ -10297,7 +8573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10307,7 +8583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10317,7 +8593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10371,37 +8647,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10444,36 +8690,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["location", "data"], @@ -10487,7 +8707,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10497,7 +8717,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10507,7 +8727,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ShellNotFoundError" + "$ref": "#/components/schemas/ShellNotFoundErrorEncoded" } } } @@ -10526,37 +8746,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10573,7 +8763,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -10593,7 +8783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10603,7 +8793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10644,7 +8834,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10654,7 +8844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10695,10 +8885,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10710,7 +8900,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10770,10 +8960,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10785,7 +8975,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10841,10 +9031,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/WorktreeError" + "$ref": "#/components/schemas/WorktreeErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -10856,7 +9046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10875,37 +9065,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -10922,7 +9082,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "$ref": "#/components/schemas/Vcs.Info" @@ -10939,7 +9099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -10949,7 +9109,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -10968,37 +9128,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11015,7 +9145,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11035,7 +9165,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11045,7 +9175,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11064,37 +9194,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11134,7 +9234,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11154,7 +9254,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11164,7 +9264,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11199,7 +9299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11209,7 +9309,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11226,37 +9326,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11273,7 +9343,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11283,7 +9353,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11392,7 +9462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11402,7 +9472,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11421,37 +9491,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11468,7 +9508,7 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { "type": "array", @@ -11488,7 +9528,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11498,7 +9538,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11508,7 +9548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11527,37 +9567,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11574,10 +9584,10 @@ "type": "object", "properties": { "location": { - "$ref": "#/components/schemas/Location.Info" + "$ref": "#/components/schemas/Location.InfoEncoded" }, "data": { - "$ref": "#/components/schemas/WebSearch.Response" + "$ref": "#/components/schemas/WebSearch.ResponseEncoded" } }, "required": ["location", "data"], @@ -11593,10 +9603,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/InvalidRequestError1" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" }, { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } ] } @@ -11608,7 +9618,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11618,7 +9628,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ServiceUnavailableError" + "$ref": "#/components/schemas/ServiceUnavailableErrorEncoded" } } } @@ -11657,37 +9667,7 @@ "name": "location", "in": "query", "schema": { - "anyOf": [ - { - "type": "object", - "properties": { - "directory": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "workspace": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_1" }, "required": false, "style": "deepObject", @@ -11714,7 +9694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/InvalidRequestError" + "$ref": "#/components/schemas/InvalidRequestErrorEncoded" } } } @@ -11724,7 +9704,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/UnauthorizedError" + "$ref": "#/components/schemas/UnauthorizedErrorEncoded" } } } @@ -11759,7 +9739,7 @@ "required": ["healthy", "version", "pid"], "additionalProperties": false }, - "UnauthorizedError": { + "UnauthorizedErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11773,7 +9753,17 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError": { + "Union_": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "InvalidRequestErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -11784,24 +9774,10 @@ "type": "string" }, "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -11827,7 +9803,26 @@ "required": ["accepted"], "additionalProperties": false }, - "Location.Info": { + "Union_1": { + "anyOf": [ + { + "type": "object", + "properties": { + "directory": { + "$ref": "#/components/schemas/Union_" + }, + "workspace": { + "$ref": "#/components/schemas/Union_" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "Location.InfoEncoded": { "type": "object", "properties": { "directory": { @@ -11974,7 +9969,7 @@ "required": ["id", "name", "request", "mode", "hidden", "permissions"], "additionalProperties": false }, - "AgentNotFoundError": { + "AgentNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12276,7 +10271,7 @@ "required": ["data", "cursor"], "additionalProperties": false }, - "InvalidCursorError": { + "InvalidCursorErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -12290,38 +10285,47 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "InvalidRequestError1": { - "type": "object", - "properties": { - "_tag": { - "type": "string", - "enum": ["InvalidRequestError"] - }, - "message": { + "Union_2": { + "anyOf": [ + { "type": "string" }, - "kind": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_3": { + "anyOf": [ + { + "$ref": "#/components/schemas/Model.Ref" }, - "field": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "Union_4": { + "anyOf": [ + { + "$ref": "#/components/schemas/Location.Ref" + }, + { + "type": "null" + } + ] + }, + "Objects_": { + "type": "object" + }, + "Objects_1": { + "type": "object", + "properties": { + "created": { + "type": "number" } }, - "required": ["_tag", "message"], + "required": ["created"], "additionalProperties": false }, "Session.Message.AgentSelected": { @@ -12336,17 +10340,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12374,17 +10371,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12412,17 +10402,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12535,6 +10518,12 @@ "required": ["data", "mime", "source"], "additionalProperties": false }, + "Arrays_1": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.FileAttachment" + } + }, "Prompt.AgentAttachment": { "type": "object", "properties": { @@ -12548,6 +10537,12 @@ "required": ["name"], "additionalProperties": false }, + "Arrays_2": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "Prompt.SkillAttachment": { "type": "object", "properties": { @@ -12567,6 +10562,12 @@ "required": ["id", "name", "text"], "additionalProperties": false }, + "Arrays_3": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.SkillAttachment" + } + }, "Session.Message.User": { "type": "object", "properties": { @@ -12579,38 +10580,22 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "type": { "type": "string", @@ -12632,17 +10617,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "text": { "type": "string" @@ -12670,17 +10648,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12708,17 +10679,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "type": { "type": "string", @@ -12737,6 +10701,43 @@ "required": ["id", "time", "type", "skill", "name", "text"], "additionalProperties": false }, + "Union_5": { + "type": "string", + "enum": ["running", "exited", "timeout", "killed"] + }, + "Union_6": { + "type": "string", + "enum": ["Infinity", "-Infinity", "NaN"] + }, + "Objects_2": { + "type": "object", + "properties": { + "output": { + "type": "string" + }, + "cursor": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "size": { + "type": "integer", + "allOf": [ + { + "minimum": 0 + } + ] + }, + "truncated": { + "type": "boolean" + } + }, + "required": ["output", "cursor", "size", "truncated"], + "additionalProperties": false + }, "Session.Message.Shell": { "type": "object", "properties": { @@ -12749,7 +10750,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -12780,64 +10781,20 @@ "type": "string" }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "exit": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_2" } }, "required": ["id", "time", "type", "shellID", "command", "status"], @@ -12863,6 +10820,9 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_1": { + "type": "object" + }, "Session.Message.Assistant.Reasoning": { "type": "object", "properties": { @@ -12874,7 +10834,7 @@ "type": "string" }, "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_1" }, "time": { "type": "object", @@ -12893,6 +10853,12 @@ "required": ["type", "text"], "additionalProperties": false }, + "Session.Message.ProviderState_2": { + "type": "object" + }, + "Session.Message.ProviderState_3": { + "type": "object" + }, "Session.Message.ToolState.Streaming": { "type": "object", "properties": { @@ -12952,14 +10918,7 @@ "type": "string" }, "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["type", "uri", "mime"], @@ -13075,10 +11034,10 @@ "type": "boolean" }, "providerState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_2" }, "providerResultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState" + "$ref": "#/components/schemas/Session.Message.ProviderState_3" }, "state": { "anyOf": [ @@ -13149,7 +11108,7 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { "type": "object", @@ -13244,17 +11203,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13290,17 +11242,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13336,17 +11281,10 @@ ] }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_" }, "time": { - "type": "object", - "properties": { - "created": { - "type": "number" - } - }, - "required": ["created"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_1" }, "status": { "type": "string", @@ -13410,7 +11348,13 @@ } ] }, - "ConflictError": { + "Arrays_": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Session.Message.Info" + } + }, + "ConflictErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13421,19 +11365,23 @@ "type": "string" }, "resource": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, + "Union_7": { + "anyOf": [ + { + "type": "string", + "enum": ["true", "false"] + }, + { + "type": "null" + } + ] + }, "SessionTransfer.Data": { "type": "object", "properties": { @@ -13441,16 +11389,13 @@ "$ref": "#/components/schemas/Session.Info" }, "messages": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Session.Message.Info" - } + "$ref": "#/components/schemas/Arrays_" } }, "required": ["info", "messages"], "additionalProperties": false }, - "SessionNotFoundError": { + "SessionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13467,7 +11412,7 @@ "required": ["_tag", "sessionID", "message"], "additionalProperties": false }, - "UnknownError": { + "UnknownErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13478,14 +11423,7 @@ "type": "string" }, "ref": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], @@ -13536,7 +11474,7 @@ } ] }, - "MessageNotFoundError": { + "MessageNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13560,6 +11498,31 @@ "type": "string", "enum": ["steer", "queue"] }, + "Union_8": { + "anyOf": [ + { + "$ref": "#/components/schemas/Session.Inbox.Delivery" + }, + { + "type": "null" + } + ] + }, + "Union_9": { + "anyOf": [ + { + "type": "string", + "allOf": [ + { + "pattern": "^msg_" + } + ] + }, + { + "type": "null" + } + ] + }, "PromptInput.FileAttachment": { "type": "object", "properties": { @@ -13579,6 +11542,18 @@ "required": ["uri"], "additionalProperties": false }, + "Arrays_4": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.FileAttachment" + } + }, + "Arrays_5": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Prompt.AgentAttachment" + } + }, "PromptInput.SkillAttachment": { "type": "object", "properties": { @@ -13592,6 +11567,25 @@ "required": ["id"], "additionalProperties": false }, + "Arrays_6": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PromptInput.SkillAttachment" + } + }, + "Objects_3": { + "type": "object" + }, + "Union_10": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "Session.Inbox.UserPayload": { "type": "object", "properties": { @@ -13599,25 +11593,16 @@ "type": "string" }, "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } + "$ref": "#/components/schemas/Arrays_1" }, "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } + "$ref": "#/components/schemas/Arrays_2" }, "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } + "$ref": "#/components/schemas/Arrays_3" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_3" } }, "required": ["text"], @@ -13659,7 +11644,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "CommandNotFoundError": { + "CommandNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13676,7 +11661,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "CommandEvaluationError": { + "CommandEvaluationErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13693,7 +11678,7 @@ "required": ["_tag", "command", "message"], "additionalProperties": false }, - "SkillNotFoundError": { + "SkillNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13808,7 +11793,7 @@ "required": ["id", "sessionID", "timeCreated", "type", "payload", "delivery"], "additionalProperties": false }, - "ServiceUnavailableError": { + "ServiceUnavailableErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13819,20 +11804,13 @@ "type": "string" }, "service": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "required": ["_tag", "message"], "additionalProperties": false }, - "SessionBusyError": { + "SessionBusyErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13932,12 +11910,14 @@ "key": { "$ref": "#/components/schemas/InstructionEntry.Key" }, - "value": {} + "value": { + "description": "JSON value attached to the session's instructions" + } }, "required": ["key", "value"], "additionalProperties": false }, - "InstructionEntryValueTooLargeError": { + "InstructionEntryValueTooLargeErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -13974,3552 +11954,8 @@ "required": ["data"], "additionalProperties": false }, - "session.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.created"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "projectID": { - "type": "string" - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "subpath": { - "type": "string" - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "slug": { - "type": "string" - }, - "title": { - "type": "string" - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "version": { - "type": "string" - } - }, - "required": ["sessionID", "projectID", "location", "slug", "version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.agent.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.agent.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "agent": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["sessionID", "agent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.model.selected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.model.selected"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "previous": { - "$ref": "#/components/schemas/Model.Ref" - } - }, - "required": ["sessionID", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.moved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.moved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "projectID": { - "type": "string" - }, - "subpath": { - "type": "string" - } - }, - "required": ["sessionID", "location", "projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.renamed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.renamed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "title": { - "type": "string" - } - }, - "required": ["sessionID", "title"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.deleted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.forked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.forked"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "parentID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "boundary": { - "$ref": "#/components/schemas/Session.ForkBoundary" - }, - "instructions": { - "type": "object", - "patternProperties": { - "^[a-z0-9][a-z0-9._-]*\\/[a-z0-9][a-z0-9._/-]*$": { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - } - } - } - }, - "required": ["sessionID", "parentID", "boundary"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivered": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivered"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Inbox.UserPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.FileAttachment" - } - }, - "agents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.AgentAttachment" - } - }, - "skills": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prompt.SkillAttachment" - } - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.SyntheticPayload1": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["text"], - "additionalProperties": false - }, - "Session.Inbox.Item": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["user"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.UserPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["synthetic"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.SyntheticPayload1" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["compaction"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.CompactionPayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["move"] - }, - "payload": { - "$ref": "#/components/schemas/Session.Inbox.MovePayload" - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["type", "payload", "delivery"], - "additionalProperties": false - } - ] - }, - "session.inbox.enqueued": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.enqueued"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "item": { - "$ref": "#/components/schemas/Session.Inbox.Item" - } - }, - "required": ["sessionID", "inboxID", "item"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.cancelled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "inboxID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.inbox.delivery.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.inbox.delivery.changed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "inboxID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "delivery": { - "$ref": "#/components/schemas/Session.Inbox.Delivery" - } - }, - "required": ["sessionID", "inboxID", "delivery"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.succeeded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.succeeded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.execution.interrupted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.execution.interrupted"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["user", "shutdown", "superseded"] - } - }, - "required": ["sessionID", "reason"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.instructions.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.instructions.updated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "delta": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[a-f0-9]{64}$" - } - ] - }, - { - "type": "string", - "enum": ["removed"] - } - ] - } - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.synthetic": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.synthetic"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - }, - "description": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.skill.activated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.skill.activated"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "id", "name", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Shell.Info": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - }, - "command": { - "type": "string" - }, - "cwd": { - "type": "string" - }, - "shell": { - "type": "string" - }, - "file": { - "type": "string" - }, - "pid": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "exit": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "time": { - "type": "object", - "properties": { - "started": { - "type": "number" - }, - "completed": { - "type": "number" - } - }, - "required": ["started"], - "additionalProperties": false - } - }, - "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], - "additionalProperties": false - }, - "session.shell.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["sessionID", "shell"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.shell.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.shell.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "shell": { - "$ref": "#/components/schemas/Shell.Info" - }, - "output": { - "type": "object", - "properties": { - "output": { - "type": "string" - }, - "cursor": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "size": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "truncated": { - "type": "boolean" - } - }, - "required": ["output", "cursor", "size", "truncated"], - "additionalProperties": false - } - }, - "required": ["sessionID", "shell", "output"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "agent": { - "type": "string" - }, - "model": { - "$ref": "#/components/schemas/Model.Ref" - }, - "snapshot": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "agent", "model"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "finish": { - "type": "string", - "enum": ["stop", "length", "tool-calls", "content-filter", "error", "unknown"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "finish", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.step.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.step.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - }, - "snapshot": { - "type": "string" - }, - "files": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["sessionID", "assistantMessageID", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.text.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState4": { - "type": "object" - }, - "session.text.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState4" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState5": { - "type": "object" - }, - "session.reasoning.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState5" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState6": { - "type": "object" - }, - "session.reasoning.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "text": { - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState6" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.tool.input.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState7": { - "type": "object" - }, - "session.tool.called": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.called"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "input": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "state": { - "$ref": "#/components/schemas/Session.Message.ProviderState7" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "input", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Tool.FileContent1": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["file"] - }, - "uri": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "name": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": ["type", "uri", "mime"], - "additionalProperties": false - }, - "Tool.Content1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Tool.TextContent" - }, - { - "$ref": "#/components/schemas/Tool.FileContent1" - } - ] - }, - "Session.Message.ProviderState8": { - "type": "object" - }, - "session.tool.success": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.success"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState8" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "content", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Message.ProviderState9": { - "type": "object" - }, - "session.tool.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [2] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "content": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Tool.Content1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Tool.Content1" - } - }, - "metadata": { - "type": "object" - }, - "executed": { - "type": "boolean" - }, - "resultState": { - "$ref": "#/components/schemas/Session.Message.ProviderState9" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "error", "executed"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.retry.scheduled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.retry.scheduled"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "at": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - } - }, - "required": ["sessionID", "assistantMessageID", "attempt", "at", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.started": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.started"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "recent": { - "type": "string" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.ended": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.ended"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "text": { - "type": "string" - }, - "recent": { - "type": "string" - } - }, - "required": ["sessionID", "reason", "text", "recent"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.compaction.failed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.failed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "reason": { - "type": "string", - "enum": ["auto", "manual"] - }, - "error": { - "$ref": "#/components/schemas/Session.StructuredError" - }, - "inputID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "reason", "error"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.staged": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.staged"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "revert": { - "$ref": "#/components/schemas/Session.Revert" - } - }, - "required": ["sessionID", "revert"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.cleared": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.cleared"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.revert.committed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.revert.committed"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "to": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - } - }, - "required": ["sessionID", "to"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "session.usage.recorded": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.recorded"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "source": { - "type": "string", - "enum": ["title", "compaction"] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "source", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "Session.Event.Durable": { - "oneOf": [ - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/session.usage.recorded" - } - ] - }, - "EventLog.Synced": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["log.synced"] - }, - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "aggregateID"], - "additionalProperties": false, - "description": "Marker emitted once when a log read reaches its captured watermark. The reader holds every event committed at or below seq." - }, - "SessionLogItem": { - "anyOf": [ - { - "$ref": "#/components/schemas/Session.Event.Durable" - }, - { - "$ref": "#/components/schemas/EventLog.Synced" - } - ] - }, - "SessionLogItemJsonString": { + "SessionLogItemEncoded": { "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/SessionLogItem" - }, "contentMediaType": "application/json" }, "SessionMessagesResponse": { @@ -17535,24 +11971,10 @@ "type": "object", "properties": { "previous": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" }, "next": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_" } }, "additionalProperties": false @@ -17591,6 +12013,18 @@ }, "additionalProperties": false }, + "Objects_4": { + "type": "object" + }, + "Objects_5": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_6": { + "type": "object" + }, "Model.Capabilities": { "type": "object", "properties": { @@ -17620,16 +12054,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id"], @@ -17703,16 +12134,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -17815,22 +12243,19 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_4" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_5" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_6" } }, "required": ["id", "name", "activation", "package"], "additionalProperties": false }, - "ProviderNotFoundError": { + "ProviderNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -17847,6 +12272,16 @@ "required": ["_tag", "providerID", "message"], "additionalProperties": false }, + "Union_11": { + "anyOf": [ + { + "type": "number" + }, + { + "$ref": "#/components/schemas/Union_6" + } + ] + }, "Form.When": { "type": "object", "properties": { @@ -17863,31 +12298,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -17898,6 +12309,12 @@ "required": ["key", "op", "value"], "additionalProperties": false }, + "Arrays_7": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Form.When" + } + }, "Form.Option": { "type": "object", "properties": { @@ -17930,10 +12347,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -17997,10 +12411,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18009,81 +12420,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18107,10 +12467,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18119,81 +12476,30 @@ "minimum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "maximum": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] }, "default": { "anyOf": [ { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] + "type": "number" }, { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] + "$ref": "#/components/schemas/Union_6" } ] } @@ -18217,10 +12523,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18249,10 +12552,7 @@ "type": "boolean" }, "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When" - } + "$ref": "#/components/schemas/Arrays_7" }, "type": { "type": "string", @@ -18393,6 +12693,18 @@ "required": ["id", "type", "label", "command"], "additionalProperties": false }, + "Form.Fields_1": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Integration.KeyMethod": { "type": "object", "properties": { @@ -18404,7 +12716,7 @@ "type": "string" }, "form": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_1" } }, "required": ["type"], @@ -18515,31 +12827,7 @@ "type": "string" }, { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] + "$ref": "#/components/schemas/Union_11" }, { "type": "boolean" @@ -18558,7 +12846,30 @@ "$ref": "#/components/schemas/Form.Value" } }, - "Integration.Attempt": { + "Union_12": { + "anyOf": [ + { + "$ref": "#/components/schemas/Form.Answer" + }, + { + "type": "null" + } + ] + }, + "Objects_7": { + "type": "object", + "properties": { + "created": { + "$ref": "#/components/schemas/Union_11" + }, + "expires": { + "$ref": "#/components/schemas/Union_11" + } + }, + "required": ["created", "expires"], + "additionalProperties": false + }, + "Integration.AttemptEncoded": { "type": "object", "properties": { "attemptID": { @@ -18575,65 +12886,7 @@ "enum": ["auto", "code"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "url", "instructions", "mode", "time"], @@ -18649,65 +12902,7 @@ "enum": ["pending"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18721,65 +12916,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18796,65 +12933,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -18868,65 +12947,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -18941,65 +12962,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["attemptID", "time"], @@ -19018,65 +12981,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19090,65 +12995,7 @@ "enum": ["complete"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19165,65 +13012,7 @@ "type": "string" }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "message", "time"], @@ -19237,65 +13026,7 @@ "enum": ["expired"] }, "time": { - "type": "object", - "properties": { - "created": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - }, - "expires": { - "anyOf": [ - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "string", - "enum": ["Infinity", "-Infinity", "NaN"] - } - ] - } - }, - "required": ["created", "expires"], - "additionalProperties": false + "$ref": "#/components/schemas/Objects_7" } }, "required": ["status", "time"], @@ -19393,7 +13124,37 @@ "required": ["name", "status"], "additionalProperties": false }, - "Mcp.LocalConfig": { + "Objects_8": { + "type": "object", + "properties": { + "startup": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "catalog": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + }, + "execution": { + "type": "integer", + "allOf": [ + { + "exclusiveMinimum": 0 + } + ] + } + }, + "additionalProperties": false + }, + "Mcp.LocalConfigEncoded": { "type": "object", "properties": { "type": { @@ -19422,40 +13183,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "command"], "additionalProperties": false }, - "Mcp.OAuthConfig": { + "Mcp.OAuthConfigEncoded": { "type": "object", "properties": { "client_id": { @@ -19482,7 +13216,7 @@ }, "additionalProperties": false }, - "Mcp.RemoteConfig": { + "Mcp.RemoteConfigEncoded": { "type": "object", "properties": { "type": { @@ -19501,7 +13235,7 @@ "oauth": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.OAuthConfig" + "$ref": "#/components/schemas/Mcp.OAuthConfigEncoded" }, { "type": "boolean", @@ -19516,40 +13250,13 @@ "type": "boolean" }, "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" } }, "required": ["type", "url"], "additionalProperties": false }, - "McpServerNotFoundError": { + "McpServerNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19742,6 +13449,18 @@ "Form.Metadata": { "type": "object" }, + "Form.Fields_2": { + "type": "array", + "prefixItems": [ + { + "$ref": "#/components/schemas/Form.Field" + } + ], + "minItems": 1, + "items": { + "$ref": "#/components/schemas/Form.Field" + } + }, "Form.Info": { "type": "object", "properties": { @@ -19763,7 +13482,7 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["id", "sessionID", "title", "fields"], @@ -19794,13 +13513,13 @@ "$ref": "#/components/schemas/Form.Metadata" }, "fields": { - "$ref": "#/components/schemas/Form.Fields" + "$ref": "#/components/schemas/Form.Fields_2" } }, "required": ["title", "fields"], "additionalProperties": false }, - "FormNotFoundError": { + "FormNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19867,7 +13586,7 @@ "required": ["answer"], "additionalProperties": false }, - "FormAlreadySettledError": { + "FormAlreadySettledErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19884,7 +13603,7 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, - "FormInvalidAnswerError": { + "FormInvalidAnswerErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -19901,6 +13620,21 @@ "required": ["_tag", "id", "message"], "additionalProperties": false }, + "Arrays_8": { + "type": "array", + "items": { + "type": "string" + } + }, + "Arrays_9": { + "type": "array", + "items": { + "type": "string" + } + }, + "Objects_9": { + "type": "object" + }, "Permission.Source": { "anyOf": [ { @@ -19945,19 +13679,13 @@ "type": "string" }, "resources": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_8" }, "save": { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/components/schemas/Arrays_9" }, "metadata": { - "type": "object" + "$ref": "#/components/schemas/Objects_9" }, "source": { "$ref": "#/components/schemas/Permission.Source" @@ -19985,7 +13713,7 @@ "required": ["id", "projectID", "action", "resource"], "additionalProperties": false }, - "PermissionNotFoundError": { + "PermissionNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -20073,1028 +13801,9 @@ "required": ["id", "name", "location", "content"], "additionalProperties": false }, - "models-dev.refreshed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["models-dev.refreshed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "integration.connection.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["integration.connection.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "integrationID": { - "type": "string" - } - }, - "required": ["integrationID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "catalog.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["catalog.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "agent.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["agent.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.usage.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.usage.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "cost": { - "$ref": "#/components/schemas/Money.USD" - }, - "tokens": { - "$ref": "#/components/schemas/TokenUsage.Info" - } - }, - "required": ["sessionID", "cost", "tokens"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.text.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.text.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.reasoning.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.reasoning.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "ordinal": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "ordinal", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.input.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.input.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "delta": { - "type": "string" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "delta"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.tool.progress": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.tool.progress"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "assistantMessageID": { - "type": "string", - "allOf": [ - { - "pattern": "^msg_" - } - ] - }, - "id": { - "type": "string" - }, - "metadata": { - "type": "object" - } - }, - "required": ["sessionID", "assistantMessageID", "id", "metadata"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.compaction.delta": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.compaction.delta"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "text": { - "type": "string" - } - }, - "required": ["sessionID", "text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "filesystem.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["filesystem.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "file": { - "type": "string" - }, - "event": { - "type": "string", - "enum": ["add", "change", "unlink"] - } - }, - "required": ["file", "event"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "reference.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["reference.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.asked": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.asked"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "action": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "save": { - "type": "array", - "items": { - "type": "string" - } - }, - "metadata": { - "type": "object" - }, - "source": { - "$ref": "#/components/schemas/Permission.Source" - } - }, - "required": ["id", "sessionID", "action", "resources"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "permission.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["permission.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "requestID": { - "type": "string", - "allOf": [ - { - "pattern": "^per" - } - ] - }, - "reply": { - "$ref": "#/components/schemas/Permission.Reply" - } - }, - "required": ["sessionID", "requestID", "reply"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.added": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.added"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "plugin.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["plugin.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - } - }, - "required": ["projectID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "worktree.resolved": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["worktree.resolved"] - }, - "durable": { - "type": "object", - "properties": { - "aggregateID": { - "type": "string" - }, - "seq": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "version": { - "type": "number", - "enum": [1] - } - }, - "required": ["aggregateID", "seq", "version"], - "additionalProperties": false - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "projectID": { - "type": "string" - }, - "directory": { - "type": "string" - }, - "previous": { - "type": "string" - } - }, - "required": ["projectID", "directory", "previous"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "durable", "data"], - "additionalProperties": false - }, - "command.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["command.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "config.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["config.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "skill.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["skill.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false + "V2EventEncoded": { + "type": "string", + "contentMediaType": "application/json" }, "Pty": { "type": "object", @@ -21146,1835 +13855,7 @@ "required": ["id", "title", "command", "args", "cwd", "status", "pid"], "additionalProperties": false }, - "pty.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Pty" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - }, - "exitCode": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["id", "exitCode"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "pty.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["pty.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^pty" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "info": { - "$ref": "#/components/schemas/Shell.Info" - } - }, - "required": ["info"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.exited": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.exited"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - }, - "exit": { - "type": "number" - }, - "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] - } - }, - "required": ["id", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "shell.deleted": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["shell.deleted"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^sh_" - } - ] - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Metadata1": { - "type": "object" - }, - "Form.When1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "op": { - "type": "string", - "enum": ["eq", "neq"] - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - } - ] - } - }, - "required": ["key", "op", "value"], - "additionalProperties": false - }, - "Form.StringField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["string"] - }, - "format": { - "type": "string", - "enum": ["email", "uri", "date", "date-time"] - }, - "minLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxLength": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "pattern": { - "type": "string" - }, - "placeholder": { - "type": "string" - }, - "default": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "custom": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.NumberField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["number"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.IntegerField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["integer"] - }, - "minimum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "maximum": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - "default": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.BooleanField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["boolean"] - }, - "default": { - "type": "boolean" - } - }, - "required": ["key", "type"], - "additionalProperties": false - }, - "Form.MultiselectField1": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "when": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.When1" - } - }, - "type": { - "type": "string", - "enum": ["multiselect"] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Form.Option" - } - }, - "minItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "maxItems": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "custom": { - "type": "boolean" - }, - "default": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["key", "type", "options"], - "additionalProperties": false - }, - "Form.Field1": { - "anyOf": [ - { - "$ref": "#/components/schemas/Form.StringField1" - }, - { - "$ref": "#/components/schemas/Form.NumberField1" - }, - { - "$ref": "#/components/schemas/Form.IntegerField1" - }, - { - "$ref": "#/components/schemas/Form.BooleanField1" - }, - { - "$ref": "#/components/schemas/Form.MultiselectField1" - }, - { - "$ref": "#/components/schemas/Form.ExternalField" - } - ] - }, - "Form.Fields3": { - "type": "array", - "prefixItems": [ - { - "$ref": "#/components/schemas/Form.Field1" - } - ], - "minItems": 1, - "items": { - "$ref": "#/components/schemas/Form.Field1" - } - }, - "Form.Info1": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "title": { - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/Form.Metadata1" - }, - "fields": { - "$ref": "#/components/schemas/Form.Fields3" - } - }, - "required": ["id", "sessionID", "title", "fields"], - "additionalProperties": false - }, - "form.created": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.created"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "form": { - "$ref": "#/components/schemas/Form.Info1" - } - }, - "required": ["form"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "Form.Value1": { - "anyOf": [ - { - "type": "string" - }, - { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string", - "enum": ["NaN"] - }, - { - "type": "string", - "enum": ["Infinity"] - }, - { - "type": "string", - "enum": ["-Infinity"] - } - ] - }, - { - "type": "boolean" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "Form.Answer1": { - "type": "object", - "additionalProperties": { - "$ref": "#/components/schemas/Form.Value1" - } - }, - "form.replied": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.replied"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - }, - "answer": { - "$ref": "#/components/schemas/Form.Answer1" - } - }, - "required": ["id", "sessionID", "answer"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "form.cancelled": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["form.cancelled"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^frm_" - } - ] - }, - "sessionID": { - "type": "string" - } - }, - "required": ["id", "sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "websearch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["websearch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "SessionStatus": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["idle"] - } - }, - "required": ["type"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["retry"] - }, - "attempt": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - }, - "message": { - "type": "string" - }, - "action": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "label": { - "type": "string" - }, - "link": { - "type": "string" - } - }, - "required": ["reason", "provider", "title", "message", "label"], - "additionalProperties": false - }, - "next": { - "type": "integer", - "allOf": [ - { - "minimum": 0 - } - ] - } - }, - "required": ["type", "attempt", "message", "next"], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["busy"] - } - }, - "required": ["type"], - "additionalProperties": false - } - ] - }, - "session.status": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.status"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - }, - "status": { - "$ref": "#/components/schemas/SessionStatus" - } - }, - "required": ["sessionID", "status"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "session.idle": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["session.idle"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.prompt.append": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.prompt.append"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": ["text"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.command.execute": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.command.execute"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "command": { - "anyOf": [ - { - "type": "string", - "enum": [ - "session.list", - "session.new", - "session.share", - "session.interrupt", - "session.background", - "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", "created", "type", "data"], - "additionalProperties": false - }, - "tui.toast.show": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.toast.show"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "variant": { - "type": "string", - "enum": ["info", "success", "warning", "error"] - }, - "duration": { - "anyOf": [ - { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - { - "type": "null" - } - ] - } - }, - "required": ["message", "variant"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "tui.session.select": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["tui.session.select"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "sessionID": { - "type": "string", - "allOf": [ - { - "pattern": "^ses", - "description": "Session ID to navigate to" - } - ] - } - }, - "required": ["sessionID"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "installation.update-available": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["installation.update-available"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "version": { - "type": "string" - } - }, - "required": ["version"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "vcs.branch.updated": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["vcs.branch.updated"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "branch": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.status.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.status.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "mcp.resources.changed": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "created": { - "type": "number" - }, - "metadata": { - "type": "object" - }, - "type": { - "type": "string", - "enum": ["mcp.resources.changed"] - }, - "location": { - "$ref": "#/components/schemas/Location.Ref" - }, - "data": { - "type": "object", - "properties": { - "server": { - "type": "string" - } - }, - "required": ["server"], - "additionalProperties": false - } - }, - "required": ["id", "created", "type", "data"], - "additionalProperties": false - }, - "V2Event.server.connected": { - "type": "object", - "properties": { - "id": { - "type": "string", - "allOf": [ - { - "pattern": "^evt_" - } - ] - }, - "metadata": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "location": { - "anyOf": [ - { - "$ref": "#/components/schemas/Location.Ref" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string", - "enum": ["server.connected"] - }, - "data": { - "anyOf": [ - { - "type": "object" - }, - { - "type": "array" - } - ] - } - }, - "required": ["id", "type", "data"], - "additionalProperties": false - }, - "V2Event": { - "anyOf": [ - { - "$ref": "#/components/schemas/models-dev.refreshed" - }, - { - "$ref": "#/components/schemas/integration.updated" - }, - { - "$ref": "#/components/schemas/integration.connection.updated" - }, - { - "$ref": "#/components/schemas/catalog.updated" - }, - { - "$ref": "#/components/schemas/agent.updated" - }, - { - "$ref": "#/components/schemas/session.created" - }, - { - "$ref": "#/components/schemas/session.agent.selected" - }, - { - "$ref": "#/components/schemas/session.model.selected" - }, - { - "$ref": "#/components/schemas/session.moved" - }, - { - "$ref": "#/components/schemas/session.renamed" - }, - { - "$ref": "#/components/schemas/session.usage.updated" - }, - { - "$ref": "#/components/schemas/session.deleted" - }, - { - "$ref": "#/components/schemas/session.forked" - }, - { - "$ref": "#/components/schemas/session.inbox.delivered" - }, - { - "$ref": "#/components/schemas/session.inbox.enqueued" - }, - { - "$ref": "#/components/schemas/session.inbox.cancelled" - }, - { - "$ref": "#/components/schemas/session.inbox.delivery.changed" - }, - { - "$ref": "#/components/schemas/session.execution.started" - }, - { - "$ref": "#/components/schemas/session.execution.succeeded" - }, - { - "$ref": "#/components/schemas/session.execution.failed" - }, - { - "$ref": "#/components/schemas/session.execution.interrupted" - }, - { - "$ref": "#/components/schemas/session.instructions.updated" - }, - { - "$ref": "#/components/schemas/session.synthetic" - }, - { - "$ref": "#/components/schemas/session.skill.activated" - }, - { - "$ref": "#/components/schemas/session.shell.started" - }, - { - "$ref": "#/components/schemas/session.shell.ended" - }, - { - "$ref": "#/components/schemas/session.step.started" - }, - { - "$ref": "#/components/schemas/session.step.ended" - }, - { - "$ref": "#/components/schemas/session.step.failed" - }, - { - "$ref": "#/components/schemas/session.text.started" - }, - { - "$ref": "#/components/schemas/session.text.delta" - }, - { - "$ref": "#/components/schemas/session.text.ended" - }, - { - "$ref": "#/components/schemas/session.reasoning.started" - }, - { - "$ref": "#/components/schemas/session.reasoning.delta" - }, - { - "$ref": "#/components/schemas/session.reasoning.ended" - }, - { - "$ref": "#/components/schemas/session.tool.input.started" - }, - { - "$ref": "#/components/schemas/session.tool.input.delta" - }, - { - "$ref": "#/components/schemas/session.tool.input.ended" - }, - { - "$ref": "#/components/schemas/session.tool.called" - }, - { - "$ref": "#/components/schemas/session.tool.progress" - }, - { - "$ref": "#/components/schemas/session.tool.success" - }, - { - "$ref": "#/components/schemas/session.tool.failed" - }, - { - "$ref": "#/components/schemas/session.retry.scheduled" - }, - { - "$ref": "#/components/schemas/session.compaction.started" - }, - { - "$ref": "#/components/schemas/session.compaction.delta" - }, - { - "$ref": "#/components/schemas/session.compaction.ended" - }, - { - "$ref": "#/components/schemas/session.compaction.failed" - }, - { - "$ref": "#/components/schemas/session.revert.staged" - }, - { - "$ref": "#/components/schemas/session.revert.cleared" - }, - { - "$ref": "#/components/schemas/session.revert.committed" - }, - { - "$ref": "#/components/schemas/filesystem.changed" - }, - { - "$ref": "#/components/schemas/reference.updated" - }, - { - "$ref": "#/components/schemas/permission.asked" - }, - { - "$ref": "#/components/schemas/permission.replied" - }, - { - "$ref": "#/components/schemas/plugin.added" - }, - { - "$ref": "#/components/schemas/plugin.updated" - }, - { - "$ref": "#/components/schemas/worktree.updated" - }, - { - "$ref": "#/components/schemas/worktree.resolved" - }, - { - "$ref": "#/components/schemas/command.updated" - }, - { - "$ref": "#/components/schemas/config.updated" - }, - { - "$ref": "#/components/schemas/skill.updated" - }, - { - "$ref": "#/components/schemas/pty.created" - }, - { - "$ref": "#/components/schemas/pty.updated" - }, - { - "$ref": "#/components/schemas/pty.exited" - }, - { - "$ref": "#/components/schemas/pty.deleted" - }, - { - "$ref": "#/components/schemas/shell.created" - }, - { - "$ref": "#/components/schemas/shell.exited" - }, - { - "$ref": "#/components/schemas/shell.deleted" - }, - { - "$ref": "#/components/schemas/form.created" - }, - { - "$ref": "#/components/schemas/form.replied" - }, - { - "$ref": "#/components/schemas/form.cancelled" - }, - { - "$ref": "#/components/schemas/websearch.updated" - }, - { - "$ref": "#/components/schemas/session.status" - }, - { - "$ref": "#/components/schemas/session.idle" - }, - { - "$ref": "#/components/schemas/tui.prompt.append" - }, - { - "$ref": "#/components/schemas/tui.command.execute" - }, - { - "$ref": "#/components/schemas/tui.toast.show" - }, - { - "$ref": "#/components/schemas/tui.session.select" - }, - { - "$ref": "#/components/schemas/installation.updated" - }, - { - "$ref": "#/components/schemas/installation.update-available" - }, - { - "$ref": "#/components/schemas/vcs.branch.updated" - }, - { - "$ref": "#/components/schemas/mcp.status.changed" - }, - { - "$ref": "#/components/schemas/mcp.resources.changed" - }, - { - "$ref": "#/components/schemas/V2Event.server.connected" - } - ] - }, - "V2EventJsonString": { - "type": "string", - "contentSchema": { - "$ref": "#/components/schemas/V2Event" - }, - "contentMediaType": "application/json" - }, - "PtyNotFoundError": { + "PtyNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23009,7 +13890,7 @@ "required": ["ticket", "expires_in"], "additionalProperties": false }, - "ForbiddenError": { + "ForbiddenErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23023,7 +13904,7 @@ "required": ["_tag", "message"], "additionalProperties": false }, - "Shell.Info1": { + "Shell.Info": { "type": "object", "properties": { "id": { @@ -23035,8 +13916,7 @@ ] }, "status": { - "type": "string", - "enum": ["running", "exited", "timeout", "killed"] + "$ref": "#/components/schemas/Union_5" }, "command": { "type": "string" @@ -23081,7 +13961,7 @@ "required": ["id", "status", "command", "cwd", "shell", "file", "metadata", "time"], "additionalProperties": false }, - "ShellNotFoundError": { + "ShellNotFoundErrorEncoded": { "type": "object", "properties": { "_tag": { @@ -23202,7 +14082,7 @@ "required": ["directory"], "additionalProperties": false }, - "WorktreeError": { + "WorktreeErrorEncoded": { "type": "object", "properties": { "name": { @@ -23216,14 +14096,7 @@ "type": "string" }, "forceRequired": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] + "$ref": "#/components/schemas/Union_10" } }, "required": ["message"], @@ -23327,7 +14200,7 @@ "required": ["url", "time"], "additionalProperties": false }, - "WebSearch.Response": { + "WebSearch.ResponseEncoded": { "type": "object", "properties": { "providerID": { @@ -23343,63 +14216,72 @@ "required": ["providerID", "results"], "additionalProperties": false }, - "Config.Agent": { - "type": "object", - "properties": { - "model": { - "anyOf": [ + "Union_13": { + "anyOf": [ + { + "type": "string", + "allOf": [ { + "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + } + ] + }, + { + "type": "object", + "properties": { + "providerID": { "type": "string", "allOf": [ { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" + "pattern": "^[^/#]+$" } ] }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] + "model": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" } - }, - "required": ["providerID", "model"], - "additionalProperties": false + ] + }, + "variant": { + "type": "string", + "allOf": [ + { + "pattern": "^[^#]+$" + } + ] } - ] + }, + "required": ["providerID", "model"], + "additionalProperties": false + } + ] + }, + "Objects_10": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Objects_11": { + "type": "object" + }, + "Config.AgentEncoded": { + "type": "object", + "properties": { + "model": { + "$ref": "#/components/schemas/Union_13" }, "request": { "type": "object", "properties": { "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "additionalProperties": false @@ -23442,7 +14324,7 @@ }, "additionalProperties": false }, - "Config.Formatter.Entry": { + "Config.Formatter.EntryEncoded": { "type": "object", "properties": { "disabled": { @@ -23469,7 +14351,7 @@ }, "additionalProperties": false }, - "Config.LSP.Server": { + "Config.LSP.ServerEncoded": { "type": "object", "properties": { "command": { @@ -23500,7 +14382,7 @@ "required": ["command"], "additionalProperties": false }, - "Config.Command": { + "Config.CommandEncoded": { "type": "object", "properties": { "template": { @@ -23513,47 +14395,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "subtask": { "type": "boolean" @@ -23562,7 +14404,7 @@ "required": ["template"], "additionalProperties": false }, - "Config.Reference.Git": { + "Config.Reference.GitEncoded": { "type": "object", "properties": { "repository": { @@ -23581,7 +14423,7 @@ "required": ["repository"], "additionalProperties": false }, - "Config.Reference.Local": { + "Config.Reference.LocalEncoded": { "type": "object", "properties": { "path": { @@ -23597,7 +14439,7 @@ "required": ["path"], "additionalProperties": false }, - "ConfigWebSearch.Info": { + "ConfigWebSearch.InfoEncoded": { "type": "object", "properties": { "provider": { @@ -23615,7 +14457,7 @@ "required": ["provider"], "additionalProperties": false }, - "Config.Plugin.Entry": { + "Config.Plugin.EntryEncoded": { "type": "object", "properties": { "package": { @@ -23628,7 +14470,7 @@ "required": ["package"], "additionalProperties": false }, - "Config.Warming": { + "Config.WarmingEncoded": { "type": "object", "properties": { "prompt": { @@ -23643,7 +14485,7 @@ }, "additionalProperties": false }, - "Config.Model.Cost": { + "Config.Model.CostEncoded": { "type": "object", "properties": { "tier": { @@ -23682,7 +14524,7 @@ "required": ["input", "output"], "additionalProperties": false }, - "Config.Model": { + "Config.ModelEncoded": { "type": "object", "properties": { "modelID": { @@ -23701,16 +14543,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "capabilities": { "$ref": "#/components/schemas/Model.Capabilities" @@ -23724,16 +14563,13 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" } }, "required": ["id"], @@ -23743,12 +14579,12 @@ "cost": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" }, { "type": "array", "items": { - "$ref": "#/components/schemas/Config.Model.Cost" + "$ref": "#/components/schemas/Config.Model.CostEncoded" } } ] @@ -23774,7 +14610,7 @@ }, "additionalProperties": false }, - "Config.Provider": { + "Config.ProviderEncoded": { "type": "object", "properties": { "name": { @@ -23790,27 +14626,24 @@ "type": "string" }, "settings": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "headers": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/components/schemas/Objects_10" }, "body": { - "type": "object" + "$ref": "#/components/schemas/Objects_11" }, "models": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Model" + "$ref": "#/components/schemas/Config.ModelEncoded" } } }, "additionalProperties": false }, - "Config.Info": { + "Config.InfoEncoded": { "type": "object", "properties": { "$schema": { @@ -23820,47 +14653,7 @@ "type": "string" }, "model": { - "anyOf": [ - { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+\\/[^#]+(?:#[^#]+)?$" - } - ] - }, - { - "type": "object", - "properties": { - "providerID": { - "type": "string", - "allOf": [ - { - "pattern": "^[^/#]+$" - } - ] - }, - "model": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - }, - "variant": { - "type": "string", - "allOf": [ - { - "pattern": "^[^#]+$" - } - ] - } - }, - "required": ["providerID", "model"], - "additionalProperties": false - } - ] + "$ref": "#/components/schemas/Union_13" }, "default_agent": { "type": "string" @@ -23898,7 +14691,7 @@ "agents": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Agent" + "$ref": "#/components/schemas/Config.AgentEncoded" } }, "snapshots": { @@ -23924,7 +14717,7 @@ { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Formatter.Entry" + "$ref": "#/components/schemas/Config.Formatter.EntryEncoded" } } ] @@ -23950,7 +14743,7 @@ "additionalProperties": false }, { - "$ref": "#/components/schemas/Config.LSP.Server" + "$ref": "#/components/schemas/Config.LSP.ServerEncoded" } ] } @@ -24022,44 +14815,17 @@ "type": "object", "properties": { "timeout": { - "type": "object", - "properties": { - "startup": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "catalog": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - }, - "execution": { - "type": "integer", - "allOf": [ - { - "exclusiveMinimum": 0 - } - ] - } - }, - "additionalProperties": false + "$ref": "#/components/schemas/Objects_8" }, "servers": { "type": "object", "additionalProperties": { "anyOf": [ { - "$ref": "#/components/schemas/Mcp.LocalConfig" + "$ref": "#/components/schemas/Mcp.LocalConfigEncoded" }, { - "$ref": "#/components/schemas/Mcp.RemoteConfig" + "$ref": "#/components/schemas/Mcp.RemoteConfigEncoded" } ] } @@ -24107,7 +14873,7 @@ "commands": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Command" + "$ref": "#/components/schemas/Config.CommandEncoded" } }, "instructions": { @@ -24124,10 +14890,10 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Reference.Git" + "$ref": "#/components/schemas/Config.Reference.GitEncoded" }, { - "$ref": "#/components/schemas/Config.Reference.Local" + "$ref": "#/components/schemas/Config.Reference.LocalEncoded" } ] } @@ -24139,7 +14905,7 @@ "enum": [false] }, { - "$ref": "#/components/schemas/ConfigWebSearch.Info" + "$ref": "#/components/schemas/ConfigWebSearch.InfoEncoded" } ] }, @@ -24151,7 +14917,7 @@ "type": "string" }, { - "$ref": "#/components/schemas/Config.Plugin.Entry" + "$ref": "#/components/schemas/Config.Plugin.EntryEncoded" } ] } @@ -24162,14 +14928,14 @@ "type": "boolean" }, { - "$ref": "#/components/schemas/Config.Warming" + "$ref": "#/components/schemas/Config.WarmingEncoded" } ] }, "providers": { "type": "object", "additionalProperties": { - "$ref": "#/components/schemas/Config.Provider" + "$ref": "#/components/schemas/Config.ProviderEncoded" } }, "experimental": { @@ -24213,7 +14979,7 @@ }, "additionalProperties": false }, - "Config.Document": { + "Config.DocumentEncoded": { "type": "object", "properties": { "type": { @@ -24224,13 +14990,13 @@ "type": "string" }, "info": { - "$ref": "#/components/schemas/Config.Info" + "$ref": "#/components/schemas/Config.InfoEncoded" } }, "required": ["type", "info"], "additionalProperties": false }, - "Config.Directory": { + "Config.DirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24244,7 +15010,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.AgentsDirectory": { + "Config.AgentsDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24258,7 +15024,7 @@ "required": ["type", "path"], "additionalProperties": false }, - "Config.ClaudeDirectory": { + "Config.ClaudeDirectoryEncoded": { "type": "object", "properties": { "type": { @@ -24275,16 +15041,16 @@ "Config.Entry": { "anyOf": [ { - "$ref": "#/components/schemas/Config.Document" + "$ref": "#/components/schemas/Config.DocumentEncoded" }, { - "$ref": "#/components/schemas/Config.Directory" + "$ref": "#/components/schemas/Config.DirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.AgentsDirectory" + "$ref": "#/components/schemas/Config.AgentsDirectoryEncoded" }, { - "$ref": "#/components/schemas/Config.ClaudeDirectory" + "$ref": "#/components/schemas/Config.ClaudeDirectoryEncoded" } ] }