# Schemas: provider-cursor

> T3 Code · channel `nightly` · v0.1.15-nightly.20261205.5786 @ [`be521199aace`](https://github.com/pingdotgg/t3code/tree/be521199aace1a0b446f4db4a1181ef994aaa1e2) · 2026-12-05 · generated by Everdoc from source (no LLM).

7 entries.

<a id="schema-cursor_provider"></a>

## `CURSOR_PROVIDER`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdk.ts:33](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdk.ts#L33)
- Shape: `string`

<a id="schema-cursoragentsdkprotocollogevent"></a>

## `CursorAgentSdkProtocolLogEvent`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdk.ts:255](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdk.ts#L255)
- Shape: `{ direction: "outgoing"; stage: "decoded"; payload: { type: "agent.open"; operation: CursorAgentSdkOpenInput["operation"]; agentId?: string; options: CursorAgentSdkLoggedAgentOptions } } | { direction: "incoming"; stage: "decoded"; payload: { type: "agent.opened"; agentId: string } } | { direction: "outgoing"; stage: "decoded"; payload: { type: "run.start"; message: string | SDKUserMessage; options: CursorAgentSdkLoggedSendOptions } } | { direction: "outgoing"; stage: "decoded"; payload: { type: "run.resume"; options: CursorAgentSdkLoggedSendOptions } } | { direction: "incoming"; stage: "decoded"; payload: { type: "run.started"; runId: string; agentId: string } } | { direction: "incoming"; stage: "decoded"; payload: { type: "interaction.update"; runId: string; update: InteractionUpdate } } | { direction: "incoming"; stage: "decoded"; payload: { type: "run.completed"; result: RunResult } } | { direction: "outgoing"; stage: "decoded"; payload: { type: "run.steer"; runId: string; text: string } } | { direction: "incoming"; stage: "decoded"; payload: { type: "run.steered"; runId: string; outcome: SteerAckOutcome } } | { direction: "outgoing"; stage: "decoded"; payload: { type: "run.ca…`

<a id="schema-cursoragentsdkrunnererror"></a>

## `CursorAgentSdkRunnerError`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdk.ts:35](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdk.ts#L35-L45)
- Shape: `{ _tag: "CursorAgentSdkRunnerError"; method: string; cause: unknown }`

<a id="schema-cursorsdkcatalogerror"></a>

## `CursorSdkCatalogError`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorSdkCatalog.ts:20](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorSdkCatalog.ts#L20-L42)
- Shape: `{ _tag: "CursorSdkCatalogError"; authenticationFailure: boolean; status?: number; code?: string; cause: unknown }`

<a id="schema-cursorworkermessage"></a>

## `CursorWorkerMessage`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdkWorkerProtocol.ts:158](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdkWorkerProtocol.ts#L158)
- Shape: `{ type: "response"; id: number; ok: true; result: CursorWorkerResponsePayload } | { type: "response"; id: number; ok: false; error: SerializedRunnerFailure } | { type: "delta"; sendId: number; update: InteractionUpdate } | { type: "startupPhase"; sendId: number; phase: string } | { type: "runDone"; sendId: number; ok: true; result: SerializedRunResult } | { type: "runDone"; sendId: number; ok: false; error: SerializedRunnerFailure } | { type: "protocolLog"; providerSessionId: OrchestrationV2ProviderSession["id"]; sessionId?: number; event: CursorAgentSdkProtocolLogEvent } | { type: "backgroundShell"; sessionId: number; event: SerializedBackgroundShellEvent }`

<a id="schema-serializedbackgroundshellevent"></a>

## `SerializedBackgroundShellEvent`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdkWorkerProtocol.ts:20](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdkWorkerProtocol.ts#L20)
- Shape: `{ type: "started"; id: string; pid: number | undefined; command: string } | { type: "ended"; id: string; pid: number | undefined; command: string; stopped: boolean; exitCode: number | undefined; outputPath: string | undefined }`

<a id="schema-iscursoragentsdkrunnererror"></a>

## `isCursorAgentSdkRunnerError`

- Kind: schema
- Workspace: [@t3tools/provider-cursor](../../architecture/t3tools-provider-cursor.md)
- Source: [packages/provider-cursor/src/server/CursorAgentSdk.ts:108](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/provider-cursor/src/server/CursorAgentSdk.ts#L108)
- Shape: `Schema.is`
