Files
orca/src/main/codex/codex-app-server-notification-schema.ts
T

79 lines
2.2 KiB
TypeScript

// Stable ServerNotification method discriminators generated by codex-cli 0.147.0.
export const CODEX_APP_SERVER_NOTIFICATION_METHODS = [
'error',
'thread/started',
'thread/status/changed',
'thread/archived',
'thread/deleted',
'thread/unarchived',
'thread/closed',
'skills/changed',
'thread/name/updated',
'thread/goal/updated',
'thread/goal/cleared',
'thread/environment/connected',
'thread/environment/disconnected',
'thread/settings/updated',
'thread/tokenUsage/updated',
'turn/started',
'hook/started',
'turn/completed',
'hook/completed',
'turn/diff/updated',
'turn/plan/updated',
'item/started',
'item/autoApprovalReview/started',
'item/autoApprovalReview/completed',
'item/completed',
'rawResponseItem/completed',
'rawResponse/completed',
'item/agentMessage/delta',
'item/plan/delta',
'command/exec/outputDelta',
'process/outputDelta',
'process/exited',
'item/commandExecution/outputDelta',
'item/commandExecution/terminalInteraction',
'item/fileChange/outputDelta',
'item/fileChange/patchUpdated',
'serverRequest/resolved',
'item/mcpToolCall/progress',
'mcpServer/oauthLogin/completed',
'mcpServer/startupStatus/updated',
'account/updated',
'account/rateLimits/updated',
'app/list/updated',
'remoteControl/status/changed',
'externalAgentConfig/import/progress',
'externalAgentConfig/import/completed',
'fs/changed',
'item/reasoning/summaryTextDelta',
'item/reasoning/summaryPartAdded',
'item/reasoning/textDelta',
'thread/compacted',
'model/rerouted',
'model/verification',
'turn/moderationMetadata',
'model/safetyBuffering/updated',
'warning',
'guardianWarning',
'deprecationNotice',
'configWarning',
'fuzzyFileSearch/sessionUpdated',
'fuzzyFileSearch/sessionCompleted',
'thread/realtime/started',
'thread/realtime/itemAdded',
'thread/realtime/transcript/delta',
'thread/realtime/transcript/done',
'thread/realtime/outputAudio/delta',
'thread/realtime/sdp',
'thread/realtime/error',
'thread/realtime/closed',
'windows/worldWritableWarning',
'windowsSandbox/setupCompleted',
'account/login/completed'
] as const
export type CodexAppServerNotificationMethod =
(typeof CODEX_APP_SERVER_NOTIFICATION_METHODS)[number]