Skip to main content

Crate codex_app_server_protocol

Crate codex_app_server_protocol 

Source

Re-exports§

pub use rpc::*;

Modules§

rpc
We do not do true JSON-RPC 2.0, as we neither send nor expect the “jsonrpc”: “2.0” field.

Structs§

AccountLoginCompletedNotification
AccountRateLimitsUpdatedNotification
Sparse rolling rate-limit update.
AccountSession
AccountSessionWorkspace
AccountSessionsAddParams
AccountSessionsListParams
AccountSessionsLogoutParams
AccountSessionsResponse
AccountSessionsSwitchParams
AccountTokenUsageDailyBucket
AccountTokenUsageSummary
AccountUpdatedNotification
ActivePermissionProfile
AdditionalContextEntry
AdditionalFileSystemPermissions
AdditionalNetworkPermissions
AdditionalPermissionProfile
AgentMessageDeltaNotification
AnalyticsConfig
AppBranding
EXPERIMENTAL - app metadata returned by app-list APIs.
AppConfig
AppInfo
EXPERIMENTAL - app metadata returned by app-list APIs.
AppListUpdatedNotification
EXPERIMENTAL - notification emitted when the app list changes.
AppMetadata
AppReview
AppScreenshot
AppSummary
EXPERIMENTAL - app metadata summary for plugin responses.
AppTemplateSummary
AppToolConfig
AppToolSummary
EXPERIMENTAL - metadata returned by app/read.
AppToolsConfig
ApplyPatchApprovalParams
ApplyPatchApprovalResponse
AppsConfig
AppsDefaultConfig
AppsInstalledParams
Read the committed installed connector runtime snapshot.
AppsInstalledResponse
The installed connectors in one committed runtime snapshot.
AppsListParams
EXPERIMENTAL - list available apps/connectors.
AppsListResponse
EXPERIMENTAL - app list response.
AppsReadParams
EXPERIMENTAL - read metadata for specific apps/connectors.
AppsReadResponse
EXPERIMENTAL - app/read response.
AttestationGenerateParams
AttestationGenerateResponse
ByteRange
CancelLoginAccountParams
CancelLoginAccountResponse
ChatgptAuthTokensRefreshParams
ChatgptAuthTokensRefreshResponse
ClientInfo
CollabAgentState
CollaborationModeListParams
EXPERIMENTAL - list collaboration mode presets.
CollaborationModeListResponse
EXPERIMENTAL - collaboration mode presets response.
CollaborationModeMask
EXPERIMENTAL - collaboration mode preset metadata for clients.
CommandExecOutputDeltaNotification
Base64-encoded output chunk emitted for a streaming command/exec request.
CommandExecParams
Run a standalone command (argv vector) in the server sandbox without creating a thread or turn.
CommandExecResizeParams
Resize a running PTY-backed command/exec session.
CommandExecResizeResponse
Empty success response for command/exec/resize.
CommandExecResponse
Final buffered result for command/exec.
CommandExecTerminalSize
PTY size in character cells for command/exec PTY sessions.
CommandExecTerminateParams
Terminate a running command/exec session.
CommandExecTerminateResponse
Empty success response for command/exec/terminate.
CommandExecWriteParams
Write stdin bytes to a running command/exec session, close stdin, or both.
CommandExecWriteResponse
Empty success response for command/exec/write.
CommandExecutionOutputDeltaNotification
CommandExecutionRequestApprovalParams
CommandExecutionRequestApprovalResponse
CommandMigration
ComputerUseRequirements
Config
ConfigBatchWriteParams
ConfigEdit
ConfigLayer
ConfigLayerMetadata
ConfigReadParams
ConfigReadResponse
ConfigRequirements
ConfigRequirementsReadResponse
ConfigValueWriteParams
ConfigWarningNotification
ConfigWriteResponse
ConfiguredHookMatcherGroup
ConnectorMetadata
EXPERIMENTAL - metadata returned by app/read.
ConsumeAccountRateLimitResetCreditParams
ConsumeAccountRateLimitResetCreditResponse
ContextCompactedNotification
Deprecated: Use ContextCompaction item type instead.
ConversationGitInfo
ConversationSummary
CreditsSnapshot
CurrentTimeReadParams
CurrentTimeReadResponse
DeprecationNoticeNotification
DynamicToolCallParams
DynamicToolCallResponse
DynamicToolFunctionSpec
DynamicToolNamespaceSpec
EnvironmentAddParams
EnvironmentAddResponse
EnvironmentConnectionNotification
EnvironmentInfoParams
EnvironmentInfoResponse
EnvironmentShellInfo
EnvironmentStatusParams
Parameters for reading the current status of one configured environment.
EnvironmentStatusResponse
Current status for the requested environment.
ErrorNotification
ExecCommandApprovalParams
ExecCommandApprovalResponse
ExecPolicyAmendment
ExperimentalFeature
ExperimentalFeatureEnablementSetParams
ExperimentalFeatureEnablementSetResponse
ExperimentalFeatureListParams
ExperimentalFeatureListResponse
ExperimentalField
Describes an experimental field on a specific type.
ExternalAgentConfigDetectParams
ExternalAgentConfigDetectResponse
ExternalAgentConfigImportCompletedNotification
ExternalAgentConfigImportHistoriesReadResponse
ExternalAgentConfigImportHistory
ExternalAgentConfigImportItemTypeFailure
ExternalAgentConfigImportItemTypeSuccess
ExternalAgentConfigImportParams
ExternalAgentConfigImportProgressNotification
ExternalAgentConfigImportResponse
ExternalAgentConfigImportTypeResult
ExternalAgentConfigMigrationItem
ExternalAgentImportedConnectorCandidate
FeedbackRequirements
FeedbackUploadParams
FeedbackUploadResponse
FileChangeOutputDeltaNotification
Deprecated legacy notification for apply_patch textual output.
FileChangePatchUpdatedNotification
FileChangeRequestApprovalParams
FileChangeRequestApprovalResponse
FileSystemSandboxEntry
FileUpdateChange
FsChangedNotification
Filesystem watch notification emitted for fs/watch subscribers.
FsCopyParams
Copy a file or directory tree on the host filesystem.
FsCopyResponse
Successful response for fs/copy.
FsCreateDirectoryParams
Create a directory on the host filesystem.
FsCreateDirectoryResponse
Successful response for fs/createDirectory.
FsGetMetadataParams
Request metadata for an absolute path.
FsGetMetadataResponse
Metadata returned by fs/getMetadata.
FsReadDirectoryEntry
A directory entry returned by fs/readDirectory.
FsReadDirectoryParams
List direct child names for a directory.
FsReadDirectoryResponse
Directory entries returned by fs/readDirectory.
FsReadFileParams
Read a file from the host filesystem.
FsReadFileResponse
Base64-encoded file contents returned by fs/readFile.
FsRemoveParams
Remove a file or directory tree from the host filesystem.
FsRemoveResponse
Successful response for fs/remove.
FsUnwatchParams
Stop filesystem watch notifications for a prior fs/watch.
FsUnwatchResponse
Successful response for fs/unwatch.
FsWatchParams
Start filesystem watch notifications for an absolute path.
FsWatchResponse
Successful response for fs/watch.
FsWriteFileParams
Write a file on the host filesystem.
FsWriteFileResponse
Successful response for fs/writeFile.
FuzzyFileSearchParams
FuzzyFileSearchResponse
FuzzyFileSearchResult
Superset of [codex_file_search::FileMatch]
FuzzyFileSearchSessionCompletedNotification
FuzzyFileSearchSessionStartParams
FuzzyFileSearchSessionStartResponse
FuzzyFileSearchSessionStopParams
FuzzyFileSearchSessionStopResponse
FuzzyFileSearchSessionUpdateParams
FuzzyFileSearchSessionUpdateResponse
FuzzyFileSearchSessionUpdatedNotification
GenerateTsOptions
GetAccountParams
GetAccountRateLimitsResponse
GetAccountResponse
GetAccountTokenUsageResponse
GetAuthStatusParams
GetAuthStatusResponse
GetConversationSummaryResponse
GetWorkspaceMessagesResponse
GitDiffToRemoteParams
GitDiffToRemoteResponse
GitInfo
GitSha
GrantedPermissionProfile
GuardianApplyPatchReviewAction
GuardianApprovalReview
[UNSTABLE] Temporary approval auto-review payload used by item/autoApprovalReview/* notifications. This shape is expected to change soon.
GuardianCommandReviewAction
GuardianExecveReviewAction
GuardianMcpToolCallReviewAction
GuardianNetworkAccessReviewAction
GuardianRequestPermissionsReviewAction
GuardianWarningNotification
HookCompletedNotification
HookErrorInfo
HookMetadata
HookMigration
HookOutputEntry
HookPromptFragment
HookRunSummary
HookStartedNotification
HooksListEntry
HooksListParams
HooksListResponse
ImageGenerationItem
InitializeCapabilities
Client-declared capabilities negotiated during initialize.
InitializeParams
InitializeResponse
InstalledApp
Installed connector runtime state.
InterruptConversationResponse
ItemCompletedNotification
ItemGuardianApprovalReviewCompletedNotification
[UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon.
ItemGuardianApprovalReviewStartedNotification
[UNSTABLE] Temporary notification payload for approval auto-review. This shape is expected to change soon.
ItemStartedNotification
ListMcpServerStatusParams
ListMcpServerStatusResponse
LoginApiKeyParams
LogoutAccountResponse
ManagedHooksRequirements
MarketplaceAddParams
MarketplaceAddResponse
MarketplaceInterface
MarketplaceLoadErrorInfo
MarketplaceRemoveParams
MarketplaceRemoveResponse
MarketplaceUpgradeErrorInfo
MarketplaceUpgradeParams
MarketplaceUpgradeResponse
McpElicitationBooleanSchema
McpElicitationConstOption
McpElicitationLegacyTitledEnumSchema
McpElicitationNumberSchema
McpElicitationSchema
Typed form schema for MCP elicitation/create requests.
McpElicitationStringSchema
McpElicitationTitledEnumItems
McpElicitationTitledMultiSelectEnumSchema
McpElicitationTitledSingleSelectEnumSchema
McpElicitationUntitledEnumItems
McpElicitationUntitledMultiSelectEnumSchema
McpElicitationUntitledSingleSelectEnumSchema
McpResourceReadParams
McpResourceReadResponse
McpServerElicitationRequestParams
McpServerElicitationRequestResponse
McpServerMigration
McpServerOauthLoginCompletedNotification
McpServerOauthLoginParams
McpServerOauthLoginResponse
McpServerRefreshParams
McpServerRefreshResponse
McpServerStatus
McpServerStatusUpdatedNotification
McpServerToolCallParams
McpServerToolCallResponse
McpToolCallAppContext
McpToolCallError
McpToolCallProgressNotification
McpToolCallResult
MemoryCitation
MemoryCitationEntry
MemoryResetResponse
MigrationDetails
MockExperimentalMethodParams
MockExperimentalMethodResponse
Model
ModelAvailabilityNux
ModelListParams
ModelListResponse
ModelProviderCapabilitiesReadParams
ModelProviderCapabilitiesReadResponse
ModelReroutedNotification
ModelSafetyBufferingUpdatedNotification
ModelServiceTier
ModelUpgradeInfo
ModelVerificationNotification
ModelsRequirements
NetworkApprovalContext
NetworkPolicyAmendment
NetworkRequirements
NewThreadModelDefaults
OverriddenMetadata
PermissionProfileListParams
PermissionProfileListResponse
PermissionProfileSummary
PermissionsRequestApprovalParams
PermissionsRequestApprovalResponse
PlanDeltaNotification
EXPERIMENTAL - proposed plan streaming deltas for plan items. Clients should not assume concatenated deltas match the completed plan item content.
PluginDetail
PluginHookSummary
PluginInstallParams
PluginInstallResponse
PluginInstalledParams
PluginInstalledResponse
PluginInterface
PluginListParams
PluginListResponse
PluginMarketplaceEntry
PluginReadParams
PluginReadResponse
PluginShareCheckoutParams
PluginShareCheckoutResponse
PluginShareContext
PluginShareDeleteParams
PluginShareDeleteResponse
PluginShareListItem
PluginShareListParams
PluginShareListResponse
PluginSharePrincipal
PluginShareSaveParams
PluginShareSaveResponse
PluginShareTarget
PluginShareUpdateTargetsParams
PluginShareUpdateTargetsResponse
PluginSkillReadParams
PluginSkillReadResponse
PluginSummary
PluginUninstallParams
PluginUninstallResponse
PluginsMigration
ProcessExitedNotification
Final process exit notification for process/spawn.
ProcessKillParams
Terminate a running process/spawn session.
ProcessKillResponse
Empty success response for process/kill.
ProcessOutputDeltaNotification
Base64-encoded output chunk emitted for a streaming process/spawn request.
ProcessResizePtyParams
Resize a running PTY-backed process/spawn session.
ProcessResizePtyResponse
Empty success response for process/resizePty.
ProcessSpawnParams
Spawn a standalone process (argv vector) without a Codex sandbox on the host where the app server is running.
ProcessSpawnResponse
Successful response for process/spawn.
ProcessTerminalSize
PTY size in character cells for process/spawn PTY sessions.
ProcessWriteStdinParams
Write stdin bytes to a running process/spawn session, close stdin, or both.
ProcessWriteStdinResponse
Empty success response for process/writeStdin.
RateLimitResetCredit
RateLimitResetCreditsSummary
RateLimitSnapshot
RateLimitWindow
RawResponseCompletedNotification
Internal-only notification containing the exact usage from one upstream Responses API completion.
RawResponseItemCompletedNotification
ReasoningEffortOption
ReasoningSummaryPartAddedNotification
ReasoningSummaryTextDeltaNotification
ReasoningTextDeltaNotification
RemoteControlClient
RemoteControlClientsListParams
RemoteControlClientsListResponse
RemoteControlClientsRevokeParams
RemoteControlClientsRevokeResponse
RemoteControlDisableParams
RemoteControlDisableResponse
RemoteControlEnableParams
RemoteControlEnableResponse
RemoteControlPairingStartParams
RemoteControlPairingStartResponse
RemoteControlPairingStatusParams
RemoteControlPairingStatusResponse
RemoteControlStatusChangedNotification
Current remote-control connection status and remote identity exposed to clients.
RemoteControlStatusReadResponse
RequestPermissionProfile
ReviewStartParams
ReviewStartResponse
SandboxSettings
SandboxWorkspaceWrite
ScheduledTaskSummary
SchemaFixtureOptions
SelectedCapabilityRoot
A user-selected root that can expose one or more runtime capabilities.
SendAddCreditsNudgeEmailParams
SendAddCreditsNudgeEmailResponse
ServerNotificationEnvelope
Server notification envelope sent over app-server transports.
ServerRequestResolvedNotification
SessionMigration
SkillDependencies
SkillErrorInfo
SkillInterface
SkillMetadata
SkillMigration
SkillSummary
SkillToolDependency
SkillsChangedNotification
Notification emitted when watched local skill files change.
SkillsConfigWriteParams
SkillsConfigWriteResponse
SkillsExtraRootsSetParams
SkillsExtraRootsSetResponse
SkillsListEntry
SkillsListParams
SkillsListResponse
SleepItem
Display item emitted by the interruptible clock.sleep tool.
SpendControlLimitSnapshot
SubagentMigration
TerminalInteractionNotification
TextElement
TextPosition
TextRange
Thread
ThreadApproveGuardianDeniedActionParams
ThreadApproveGuardianDeniedActionResponse
ThreadArchiveParams
ThreadArchiveResponse
ThreadArchivedNotification
ThreadBackgroundTerminal
ThreadBackgroundTerminalsCleanParams
ThreadBackgroundTerminalsCleanResponse
ThreadBackgroundTerminalsListParams
ThreadBackgroundTerminalsListResponse
ThreadBackgroundTerminalsTerminateParams
ThreadBackgroundTerminalsTerminateResponse
ThreadClosedNotification
ThreadCompactStartParams
ThreadCompactStartResponse
ThreadDecrementElicitationParams
Parameters for thread/decrement_elicitation.
ThreadDecrementElicitationResponse
Response for thread/decrement_elicitation.
ThreadDeleteParams
ThreadDeleteResponse
ThreadDeletedNotification
ThreadExtra
Extra app-server data for a thread.
ThreadForkParams
There are two ways to fork a thread:
ThreadForkResponse
ThreadGoal
ThreadGoalClearParams
ThreadGoalClearResponse
ThreadGoalClearedNotification
ThreadGoalGetParams
ThreadGoalGetResponse
ThreadGoalSetParams
ThreadGoalSetResponse
ThreadGoalUpdatedNotification
ThreadHistoryBuilder
ThreadHistoryChangeSet
Incremental changes produced by opt-in ThreadHistoryBuilder handlers.
ThreadHistoryItemChange
A materialized ThreadItem snapshot that changed while handling one input.
ThreadHistoryTurnChange
Lightweight turn metadata snapshot for projectors that track turn status without re-reading the full item list.
ThreadIncrementElicitationParams
Parameters for thread/increment_elicitation.
ThreadIncrementElicitationResponse
Response for thread/increment_elicitation.
ThreadInjectItemsParams
ThreadInjectItemsResponse
ThreadItemEntry
ThreadItemsListParams
ThreadItemsListResponse
ThreadListParams
ThreadListResponse
ThreadLoadedListParams
ThreadLoadedListResponse
ThreadMemoryModeSetParams
ThreadMemoryModeSetResponse
ThreadMetadataGitInfoUpdateParams
ThreadMetadataUpdateParams
ThreadMetadataUpdateResponse
ThreadNameUpdatedNotification
ThreadReadParams
ThreadReadResponse
ThreadRealtimeAppendAudioParams
EXPERIMENTAL - append audio input to thread realtime.
ThreadRealtimeAppendAudioResponse
EXPERIMENTAL - response for appending realtime audio input.
ThreadRealtimeAppendSpeechParams
EXPERIMENTAL - append speakable text to thread realtime.
ThreadRealtimeAppendSpeechResponse
EXPERIMENTAL - response for appending realtime speech.
ThreadRealtimeAppendTextParams
EXPERIMENTAL - append text input to thread realtime.
ThreadRealtimeAppendTextResponse
EXPERIMENTAL - response for appending realtime text input.
ThreadRealtimeAudioChunk
EXPERIMENTAL - thread realtime audio chunk.
ThreadRealtimeClosedNotification
EXPERIMENTAL - emitted when thread realtime transport closes.
ThreadRealtimeErrorNotification
EXPERIMENTAL - emitted when thread realtime encounters an error.
ThreadRealtimeInitialItem
EXPERIMENTAL - role-bearing text item included when a realtime V3 session starts.
ThreadRealtimeItemAddedNotification
EXPERIMENTAL - raw non-audio thread realtime item emitted by the backend.
ThreadRealtimeListVoicesParams
EXPERIMENTAL - list voices supported by thread realtime.
ThreadRealtimeListVoicesResponse
EXPERIMENTAL - response for listing supported realtime voices.
ThreadRealtimeOutputAudioDeltaNotification
EXPERIMENTAL - streamed output audio emitted by thread realtime.
ThreadRealtimeSdpNotification
EXPERIMENTAL - emitted with the remote SDP for a WebRTC realtime session.
ThreadRealtimeStartParams
EXPERIMENTAL - start a thread-scoped realtime session.
ThreadRealtimeStartResponse
EXPERIMENTAL - response for starting thread realtime.
ThreadRealtimeStartedNotification
EXPERIMENTAL - emitted when thread realtime startup is accepted.
ThreadRealtimeStopParams
EXPERIMENTAL - stop thread realtime.
ThreadRealtimeStopResponse
EXPERIMENTAL - response for stopping thread realtime.
ThreadRealtimeTranscriptDeltaNotification
EXPERIMENTAL - flat transcript delta emitted whenever realtime transcript text changes.
ThreadRealtimeTranscriptDoneNotification
EXPERIMENTAL - final transcript text emitted when realtime completes a transcript part.
ThreadResumeInitialTurnsPageParams
ThreadResumeParams
There are three ways to resume a thread:
ThreadResumeResponse
ThreadRollbackParams
DEPRECATED: thread/rollback will be removed soon.
ThreadRollbackResponse
ThreadSearchOccurrence
One visible message occurrence returned by ThreadSearchOccurrencesResponse.
ThreadSearchOccurrencesParams
Parameters for searching visible message occurrences within one paginated thread.
ThreadSearchOccurrencesResponse
ThreadSearchParams
ThreadSearchResponse
ThreadSearchResult
ThreadSearchTextRange
UTF-16 code-unit range within snippet.
ThreadSetNameParams
ThreadSetNameResponse
ThreadSettings
ThreadSettingsUpdateParams
ThreadSettingsUpdateResponse
ThreadSettingsUpdatedNotification
ThreadShellCommandParams
ThreadShellCommandResponse
ThreadStartParams
ThreadStartResponse
ThreadStartedNotification
ThreadStatusChangedNotification
ThreadTokenUsage
ThreadTokenUsageUpdatedNotification
ThreadTurnsListParams
ThreadTurnsListResponse
ThreadUnarchiveParams
ThreadUnarchiveResponse
ThreadUnarchivedNotification
ThreadUnsubscribeParams
ThreadUnsubscribeResponse
TokenUsageBreakdown
ToolRequestUserInputAnswer
EXPERIMENTAL. Captures a user’s answer to a request_user_input question.
ToolRequestUserInputOption
EXPERIMENTAL. Defines a single selectable option for request_user_input.
ToolRequestUserInputParams
EXPERIMENTAL. Params sent with a request_user_input event.
ToolRequestUserInputQuestion
EXPERIMENTAL. Represents one request_user_input question and its required options.
ToolRequestUserInputResponse
EXPERIMENTAL. Response payload mapping question ids to answers.
Tools
ToolsV2
Turn
TurnCompletedNotification
TurnDiffUpdatedNotification
Notification that the turn-level unified diff has changed. Contains the latest aggregated diff across all file changes in the turn.
TurnEnvironmentParams
TurnError
TurnInterruptParams
TurnInterruptResponse
TurnModerationMetadataNotification
TurnPlanStep
TurnPlanUpdatedNotification
TurnStartParams
TurnStartResponse
TurnStartedNotification
TurnSteerParams
TurnSteerResponse
TurnsPage
Usage
UserSavedConfig
WarningNotification
WebSearchItem
WindowsSandboxReadinessResponse
WindowsSandboxSetupCompletedNotification
WindowsSandboxSetupStartParams
WindowsSandboxSetupStartResponse
WindowsWorldWritableWarningNotification
WorkspaceMessage

Enums§

Account
AccountSessionWorkspaceKind
AddCreditsNudgeCreditType
AddCreditsNudgeEmailStatus
AdditionalContextKind
AppTemplateUnavailableReason
AppToolApproval
ApprovalsReviewer
Configures who approval requests are routed to for review. Examples include sandbox escapes, blocked network access, MCP approval prompts, and ARC escalations. Defaults to user. auto_review uses a carefully prompted subagent to gather relevant context and apply a risk-based decision framework before approving or denying the request.
AskForApproval
AuthMode
Authentication mode for OpenAI-backed providers.
AutoReviewDecisionSource
[UNSTABLE] Source that produced a terminal approval auto-review decision.
CancelLoginAccountStatus
CapabilityRootLocation
Location used to resolve a selected capability root.
ChatgptAuthTokensRefreshReason
ClientNotification
ClientRequest
Request from the client to the server.
ClientRequestSerializationScope
ClientResponse
Typed response from the server to the client.
ClientResponsePayload
CodexErrorInfo
This translation layer make sure that we expose codex error code in camel case.
CollabAgentStatus
CollabAgentTool
CollabAgentToolCallStatus
CommandAction
CommandExecOutputStream
Stream label for command/exec/outputDelta notifications.
CommandExecutionApprovalDecision
CommandExecutionSource
CommandExecutionStatus
ConfigLayerSource
ConfigWriteErrorCode
ConfiguredHookHandler
ConsumeAccountRateLimitResetCreditOutcome
DynamicToolCallOutputContentItem
DynamicToolCallStatus
DynamicToolNamespaceTool
DynamicToolSpec
EnvironmentStatusKind
Current status observed by app-server without starting or recovering an environment.
ExperimentalFeatureStage
ExternalAgentConfigMigrationItemType
ExternalAgentImportedConnectorSource
FileChangeApprovalDecision
FileSystemAccessMode
FileSystemPath
FileSystemSpecialPath
ForcedChatgptWorkspaceIds
Backward-compatible API shape for ChatGPT workspace login restrictions.
FuzzyFileSearchMatchType
GetConversationSummaryParams
GuardianApprovalReviewAction
GuardianApprovalReviewStatus
[UNSTABLE] Lifecycle state for an approval auto-review.
GuardianCommandSource
GuardianRiskLevel
[UNSTABLE] Risk level assigned by approval auto-review.
GuardianUserAuthorization
[UNSTABLE] Authorization level assigned by approval auto-review.
HookEventName
HookExecutionMode
HookHandlerType
HookOutputEntryKind
HookRunStatus
HookScope
HookSource
HookTrustStatus
LoginAccountParams
LoginAccountResponse
LoginAppBrand
McpAuthStatus
McpElicitationArrayType
McpElicitationBooleanType
McpElicitationEnumSchema
McpElicitationMultiSelectEnumSchema
McpElicitationNumberType
McpElicitationObjectType
McpElicitationPrimitiveSchema
McpElicitationSingleSelectEnumSchema
McpElicitationStringFormat
McpElicitationStringType
McpResourceContent
Contents returned when reading a resource from an MCP server.
McpServerElicitationAction
McpServerElicitationRequest
McpServerStartupFailureReason
McpServerStartupState
McpServerStatusDetail
McpToolCallStatus
MergeStrategy
ModelRerouteReason
ModelVerification
NetworkAccess
NetworkApprovalProtocol
NetworkDomainPermission
NetworkPolicyRuleAction
NetworkUnixSocketPermission
NonSteerableTurnKind
PatchApplyStatus
PatchChangeKind
PermissionGrantScope
PluginAuthPolicy
PluginAvailability
PluginInstallPolicy
PluginInstallPolicySource
PluginListMarketplaceKind
PluginShareDiscoverability
PluginSharePrincipalRole
PluginSharePrincipalType
PluginShareTargetRole
PluginShareUpdateDiscoverability
PluginSource
ProcessOutputStream
Stream label for process/outputDelta notifications.
RateLimitReachedType
RateLimitResetCreditStatus
RateLimitResetType
RemoteControlClientsListOrder
RemoteControlConnectionStatus
ResidencyRequirement
ReviewDelivery
ReviewTarget
SandboxMode
SandboxPolicy
ScheduledTaskSchedule
ScheduledTaskWeekday
ServerNotification
Notification sent from the server to the client.
ServerRequest
Request initiated from the server and sent to the client.
ServerRequestPayload
ServerResponse
Typed response from the client to the server.
SessionSource
SkillScope
SortDirection
SubAgentActivityKind
ThreadActiveFlag
ThreadGoalStatus
ThreadHistoryMode
ThreadItem
ThreadListCwdFilter
ThreadMemoryMode
ThreadRealtimeStartTransport
EXPERIMENTAL - transport used by thread realtime.
ThreadSortKey
ThreadSource
ThreadSourceKind
ThreadStartSource
ThreadStatus
ThreadUnsubscribeStatus
TurnItemsView
TurnPlanStepStatus
TurnStatus
UserInput
WebSearchAction
WindowsSandboxReadiness
WindowsSandboxSetupMode
WorkspaceMessageType
WriteStatus

Traits§

ExperimentalApi
Marker trait for protocol types that can signal experimental usage.

Functions§

build_command_execution_begin_item
build_command_execution_end_item
build_file_change_approval_request_item
build_file_change_begin_item
build_file_change_end_item
build_item_from_guardian_event
Build a guardian-derived ThreadItem.
build_turns_from_rollout_items
Convert persisted RolloutItem entries into a sequence of Turn values.
convert_patch_changes
experimental_fields
Returns all experimental fields registered across the protocol types.
experimental_required_message
Constructs a consistent error message for experimental gating.
export_client_notification_schemas
export_client_param_schemas
export_client_response_schemas
export_client_responses
export_server_notification_schemas
export_server_param_schemas
export_server_response_schemas
export_server_responses
generate_internal_json_schema
generate_json
generate_json_with_experimental
generate_ts
generate_ts_with_options
generate_types
guardian_auto_approval_review_notification
item_event_to_server_notification
Build the v2 app-server notification that directly corresponds to a single core event.
project_rollout_line
Project one durable rollout line without reconstructing earlier history.
read_schema_fixture_subtree
read_schema_fixture_tree
write_schema_fixtures
Regenerates schema/typescript/ and schema/json/.
write_schema_fixtures_with_options
Regenerates schema fixtures with configurable options.

Type Aliases§

NullableRemoteControlDisableParams
NullableRemoteControlEnableParams