|
12 | 12 | "CodexErrorInfo": {"description":"This translation layer make sure that we expose codex error code in camel case.\n\nWhen an upstream HTTP status is available (for example, from the Responses API or a provider), it is forwarded in `httpStatusCode` on the relevant `codexErrorInfo` variant.","oneOf":[{"additionalProperties":false,"properties":{"httpConnectionFailed":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["httpConnectionFailed"],"title":"HttpConnectionFailedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Failed to connect to the response SSE stream.","properties":{"responseStreamConnectionFailed":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseStreamConnectionFailed"],"title":"ResponseStreamConnectionFailedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"The response SSE stream disconnected in the middle of a turn before completion.","properties":{"responseStreamDisconnected":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseStreamDisconnected"],"title":"ResponseStreamDisconnectedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Reached the retry limit for responses.","properties":{"responseTooManyFailedAttempts":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseTooManyFailedAttempts"],"title":"ResponseTooManyFailedAttemptsCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Returned when `turn/start` or `turn/steer` is submitted while the current active turn cannot accept same-turn steering, for example `/review` or manual `/compact`.","properties":{"activeTurnNotSteerable":{"properties":{"turnKind":{"$ref":"#/definitions/NonSteerableTurnKind"}},"required":["turnKind"],"type":"object"}},"required":["activeTurnNotSteerable"],"title":"ActiveTurnNotSteerableCodexErrorInfo","type":"object"},{"enum":["contextWindowExceeded","sessionBudgetExceeded","usageLimitExceeded","serverOverloaded","cyberPolicy","misalignmentPolicyViolation","internalServerError","unauthorized","badRequest","threadRollbackFailed","sandboxError","other"],"type":"string"}]}, |
13 | 13 | "CollabAgentState": {"properties":{"message":{"type":["string","null"]},"status":{"$ref":"#/definitions/CollabAgentStatus"}},"required":["status"],"type":"object"}, |
14 | 14 | "CollabAgentStatus": {"enum":["pendingInit","running","interrupted","completed","errored","shutdown","notFound"],"type":"string"}, |
15 | | - "CollabAgentTool": {"enum":["spawnAgent","sendInput","resumeAgent","wait","closeAgent"],"type":"string"}, |
16 | | - "CollabAgentToolCallStatus": {"enum":["inProgress","completed","failed"],"type":"string"}, |
| 15 | + "CollabAgentTool": {"enum":["spawnAgent","sendInput","resumeAgent","wait","closeAgent","sendMessage","followupTask","interruptAgent","listAgents"],"type":"string"}, |
| 16 | + "CollabAgentToolCallStatus": {"enum":["inProgress","completed","failed","interrupted"],"type":"string"}, |
17 | 17 | "CommandAction": {"oneOf":[{"properties":{"command":{"type":"string"},"name":{"type":"string"},"path":{"$ref":"#/definitions/LegacyAppPathString"},"type":{"enum":["read"],"title":"ReadCommandActionType","type":"string"}},"required":["command","name","path","type"],"title":"ReadCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"path":{"type":["string","null"]},"type":{"enum":["listFiles"],"title":"ListFilesCommandActionType","type":"string"}},"required":["command","type"],"title":"ListFilesCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"path":{"type":["string","null"]},"query":{"type":["string","null"]},"type":{"enum":["search"],"title":"SearchCommandActionType","type":"string"}},"required":["command","type"],"title":"SearchCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"type":{"enum":["unknown"],"title":"UnknownCommandActionType","type":"string"}},"required":["command","type"],"title":"UnknownCommandAction","type":"object"}]}, |
18 | 18 | "CommandExecutionSource": {"enum":["agent","userShell","unifiedExecStartup","unifiedExecInteraction"],"type":"string"}, |
19 | 19 | "CommandExecutionStatus": {"enum":["inProgress","completed","failed","declined"],"type":"string"}, |
|
48 | 48 | "ReasoningEffortOption": {"properties":{"description":{"type":"string"},"reasoningEffort":{"$ref":"#/definitions/ReasoningEffort"}},"required":["description","reasoningEffort"],"type":"object"}, |
49 | 49 | "SandboxPolicy": {"oneOf":[{"properties":{"type":{"enum":["dangerFullAccess"],"title":"DangerFullAccessSandboxPolicyType","type":"string"}},"required":["type"],"title":"DangerFullAccessSandboxPolicy","type":"object"},{"properties":{"networkAccess":{"default":false,"type":"boolean"},"type":{"enum":["readOnly"],"title":"ReadOnlySandboxPolicyType","type":"string"}},"required":["type"],"title":"ReadOnlySandboxPolicy","type":"object"},{"properties":{"networkAccess":{"allOf":[{"$ref":"#/definitions/NetworkAccess"}],"default":"restricted"},"type":{"enum":["externalSandbox"],"title":"ExternalSandboxSandboxPolicyType","type":"string"}},"required":["type"],"title":"ExternalSandboxSandboxPolicy","type":"object"},{"properties":{"excludeSlashTmp":{"default":false,"type":"boolean"},"excludeTmpdirEnvVar":{"default":false,"type":"boolean"},"networkAccess":{"default":false,"type":"boolean"},"type":{"enum":["workspaceWrite"],"title":"WorkspaceWriteSandboxPolicyType","type":"string"},"writableRoots":{"default":[],"items":{"$ref":"#/definitions/AbsolutePathBuf"},"type":"array"}},"required":["type"],"title":"WorkspaceWriteSandboxPolicy","type":"object"}]}, |
50 | 50 | "SessionSource": {"oneOf":[{"additionalProperties":false,"properties":{"custom":{"type":"string"}},"required":["custom"],"title":"CustomSessionSource","type":"object"},{"additionalProperties":false,"properties":{"subAgent":{"$ref":"#/definitions/SubAgentSource"}},"required":["subAgent"],"title":"SubAgentSessionSource","type":"object"},{"enum":["cli","vscode","exec","appServer","unknown"],"type":"string"}]}, |
51 | | - "SubAgentActivityKind": {"enum":["started","interacted","interrupted"],"type":"string"}, |
| 51 | + "SubAgentActivityKind": {"enum":["started","interacted","interrupted","completed"],"type":"string"}, |
52 | 52 | "SubAgentSource": {"oneOf":[{"additionalProperties":false,"properties":{"thread_spawn":{"properties":{"agent_nickname":{"default":null,"type":["string","null"]},"agent_path":{"anyOf":[{"$ref":"#/definitions/AgentPath"},{"type":"null"}],"default":null},"agent_role":{"default":null,"type":["string","null"]},"depth":{"format":"int32","type":"integer"},"parent_thread_id":{"$ref":"#/definitions/ThreadId"}},"required":["depth","parent_thread_id"],"type":"object"}},"required":["thread_spawn"],"title":"ThreadSpawnSubAgentSource","type":"object"},{"additionalProperties":false,"properties":{"other":{"type":"string"}},"required":["other"],"title":"OtherSubAgentSource","type":"object"},{"enum":["review","compact","memory_consolidation"],"type":"string"}]}, |
53 | 53 | "TextElement": {"properties":{"byteRange":{"allOf":[{"$ref":"#/definitions/ByteRange"}],"description":"Byte range in the parent `text` buffer that this element occupies."},"placeholder":{"description":"Optional human-readable placeholder for the element, displayed in the UI.","type":["string","null"]}},"required":["byteRange"],"type":"object"}, |
54 | 54 | "Thread": {"properties":{"agentNickname":{"description":"Optional random unique nickname assigned to an AgentControl-spawned sub-agent.","type":["string","null"]},"agentRole":{"description":"Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.","type":["string","null"]},"canAcceptDirectInput":{"description":"Whether the app server accepts direct turn input for this loaded thread. `None` means the capability is unavailable, such as for an unloaded stored thread.","type":["boolean","null"]},"cliVersion":{"description":"Version of the CLI that created the thread.","type":"string"},"createdAt":{"description":"Unix timestamp (in seconds) when the thread was created.","format":"int64","type":"integer"},"cwd":{"allOf":[{"$ref":"#/definitions/AbsolutePathBuf"}],"description":"Working directory captured for the thread."},"ephemeral":{"description":"Whether the thread is ephemeral and should not be materialized on disk.","type":"boolean"},"extra":{"anyOf":[{"$ref":"#/definitions/ThreadExtra"},{"type":"null"}],"description":"Optional implementation-specific thread data."},"forkedFromId":{"description":"Source thread id when this thread was created by forking another thread.","type":["string","null"]},"gitInfo":{"anyOf":[{"$ref":"#/definitions/GitInfo"},{"type":"null"}],"description":"Optional Git metadata captured when the thread was created."},"historyMode":{"allOf":[{"$ref":"#/definitions/ThreadHistoryMode"}],"default":"legacy","description":"Persisted thread history contract selected when this thread was created."},"id":{"description":"Identifier for this thread. Codex-generated thread IDs are UUIDv7.","type":"string"},"modelProvider":{"description":"Model provider used for this thread (for example, 'openai').","type":"string"},"name":{"description":"Optional user-facing thread title.","type":["string","null"]},"parentThreadId":{"description":"The ID of the parent thread. This will only be set if this thread is a subagent.","type":["string","null"]},"path":{"description":"[UNSTABLE] Path to the thread on disk.","type":["string","null"]},"preview":{"description":"Usually the first user message in the thread, if available.","type":"string"},"projectId":{"description":"Canonical project assignment owned by app-server, if any.","type":["string","null"]},"recencyAt":{"description":"Unix timestamp (in seconds) used for thread recency ordering.","format":"int64","type":["integer","null"]},"section":{"anyOf":[{"$ref":"#/definitions/ThreadSection"},{"type":"null"}],"default":null,"description":"The independently persisted section selected for this thread, if any."},"sectionEnteredAt":{"default":null,"description":"Unix timestamp in seconds when the thread entered its current section.","format":"int64","type":["integer","null"]},"sessionId":{"description":"Session id shared by threads that belong to the same session tree.","type":"string"},"source":{"allOf":[{"$ref":"#/definitions/SessionSource"}],"description":"Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.)."},"status":{"allOf":[{"$ref":"#/definitions/ThreadStatus"}],"description":"Current runtime status for the thread."},"threadSource":{"anyOf":[{"$ref":"#/definitions/ThreadSource"},{"type":"null"}],"description":"Optional analytics source classification for this thread."},"turns":{"description":"Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.","items":{"$ref":"#/definitions/Turn"},"type":"array"},"updatedAt":{"description":"Unix timestamp (in seconds) when the thread was last updated.","format":"int64","type":"integer"}},"required":["cliVersion","createdAt","cwd","ephemeral","id","modelProvider","preview","projectId","sessionId","source","status","turns","updatedAt"],"type":"object"}, |
|
0 commit comments