T3 Code Atlas

provider-cursor

7 schemas in 3 files.

Nightlyv0.1.14-nightly.20261205.5772c0eed7328db2· 2026-12-05

Blast radius

0 direct · 0 transitive workspaces · 0 apps affected

What a change to these 7 schemas can reach, from workspace dependencies, imports, call sites, and protocol edges.

Framework
typescript
Shape
›union14 members
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {4 fields }
type: "agent.open"
operation: CursorAgentSdkOpenInput["operation"]
agentId?: string
options: CursorAgentSdkLoggedAgentOptions
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {2 fields }
type: "agent.opened"
agentId: string
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {3 fields }
type: "run.start"
message: string | SDKUserMessage
options: CursorAgentSdkLoggedSendOptions
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {2 fields }
type: "run.resume"
options: CursorAgentSdkLoggedSendOptions
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {3 fields }
type: "run.started"
runId: string
agentId: string
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {3 fields }
type: "interaction.update"
runId: string
update: InteractionUpdate
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {2 fields }
type: "run.completed"
result: RunResult
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {3 fields }
type: "run.steer"
runId: string
text: string
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {3 fields }
type: "run.steered"
runId: string
outcome: SteerAckOutcome
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {2 fields }
type: "run.cancel"
runId: string
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {2 fields }
type: "agent.messages.list"
agentId: string
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {3 fields }
type: "agent.rewind"
agentId: string
afterRunId: string
›| {3 fields }
direction: "incoming"
stage: "decoded"
›payload: {3 fields }
type: "agent.messages"
agentId: string
messages: AgentMessage[]
›| {3 fields }
direction: "outgoing"
stage: "decoded"
›payload: {2 fields }
type: "agent.close"
agentId: string
Framework
effect-schema
Shape
›{3 fields }
_tag: "CursorAgentSdkRunnerError"
method: string
cause: unknown
Framework
typescript
Shape
›union8 members
›| {4 fields }
type: "response"
id: number
ok: true
result: CursorWorkerResponsePayload
›| {4 fields }
type: "response"
id: number
ok: false
error: SerializedRunnerFailure
›| {3 fields }
type: "delta"
sendId: number
update: InteractionUpdate
›| {3 fields }
type: "startupPhase"
sendId: number
phase: string
›| {4 fields }
type: "runDone"
sendId: number
ok: true
result: SerializedRunResult
›| {4 fields }
type: "runDone"
sendId: number
ok: false
error: SerializedRunnerFailure
›| {4 fields }
type: "protocolLog"
providerSessionId: OrchestrationV2ProviderSession["id"]
sessionId?: number
event: CursorAgentSdkProtocolLogEvent
›| {3 fields }
type: "backgroundShell"
sessionId: number
event: SerializedBackgroundShellEvent
Framework
typescript
Shape
›union2 members · discriminated by type
›| "started"{4 fields }
type: "started"
id: string
pid: number | undefined
command: string
›| "ended"{7 fields }
type: "ended"
id: string
pid: number | undefined
command: string
stopped: boolean
exitCode: number | undefined
outputPath: string | undefined
Framework
effect-schema
Shape
›{5 fields }
_tag: "CursorSdkCatalogError"
authenticationFailure: boolean
status?: number
code?: string
cause: unknown
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Nightly v0.1.14-nightly.20261205.5772c0eed7328db22026-12-05