# RPC: orchestration

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

23 entries.

<a id="rpc-orchestration-dispatchcommand"></a>

## `orchestration.dispatchCommand`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2291](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2291)
- Handlers: 3 · Callers: 3
- Method: `orchestration.dispatchCommand` · transport effect-rpc
- Input: `OrchestrationV2Command`
- Output: `OrchestrationV2DispatchCommandResult`
- Error: `OrchestrationV2DispatchCommandError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2172](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2172), [apps/web/test/fakeEnvironment.ts:434](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/test/fakeEnvironment.ts#L434), [packages/client-runtime/src/operations/commands.ts:342](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/operations/commands.ts#L342), [packages/client-runtime/src/operations/commands.ts:345](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/operations/commands.ts#L345), … +1

<a id="rpc-orchestration-forcestopthread"></a>

## `orchestration.forceStopThread`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2397](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2397)
- Handlers: 2 · Callers: 1
- Method: `orchestration.forceStopThread` · transport effect-rpc
- Input: `OrchestrationV2ForceStopThreadInput`
- Output: `OrchestrationV2ForceStopThreadResult`
- Error: `OrchestrationV2ForceStopThreadError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2228](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2228), [packages/client-runtime/src/state/orchestration.ts:209](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L209)

<a id="rpc-orchestration-getarchivedshellsnapshot"></a>

## `orchestration.getArchivedShellSnapshot`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2334](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2334)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getArchivedShellSnapshot` · transport effect-rpc
- Input: `{}`
- Output: `OrchestrationV2ArchivedShellSnapshot`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2291](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2291), [packages/client-runtime/src/state/orchestration.ts:243](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L243)

<a id="rpc-orchestration-getfullthreaddiff"></a>

## `orchestration.getFullThreadDiff`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2303](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2303)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getFullThreadDiff` · transport effect-rpc
- Input: `OrchestrationGetFullThreadDiffInput`
- Output: `ThreadTurnDiff`
- Error: `OrchestrationGetFullThreadDiffError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2255](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2255), [packages/client-runtime/src/state/orchestration.ts:220](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L220)

<a id="rpc-orchestration-getnativechildwork"></a>

## `orchestration.getNativeChildWork`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2412](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2412)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getNativeChildWork` · transport effect-rpc
- Input: `OrchestrationV2GetNativeChildWorkInput`
- Output: `OrchestrationV2GetNativeChildWorkResult`
- Error: `OrchestrationV2GetNativeChildWorkError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2232](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2232), [packages/client-runtime/src/state/orchestration.ts:199](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L199)

<a id="rpc-orchestration-getoldersettledthreads"></a>

## `orchestration.getOlderSettledThreads`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2373](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2373)
- Handlers: 2 · Callers: 2
- Method: `orchestration.getOlderSettledThreads` · transport effect-rpc
- Input: `OrchestrationV2GetOlderSettledThreadsInput`
- Output: `OrchestrationV2OlderSettledThreadsPage`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2318](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2318), [packages/client-runtime/src/state/olderSettledThreads.ts:245](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/olderSettledThreads.ts#L245), [packages/client-runtime/src/state/olderSettledThreads.ts:263](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/olderSettledThreads.ts#L263)

<a id="rpc-orchestration-getthreadfamily"></a>

## `orchestration.getThreadFamily`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2343](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2343)
- Handlers: 3 · Callers: 3
- Method: `orchestration.getThreadFamily` · transport effect-rpc
- Input: `OrchestrationV2GetThreadFamilyInput`
- Output: `OrchestrationV2ThreadFamily`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2293](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2293), [apps/web/test/fakeEnvironment.ts:507](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/test/fakeEnvironment.ts#L507), [packages/client-runtime/src/state/orchestration.ts:254](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L254), [packages/client-runtime/src/state/threadCommands.ts:602](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/threadCommands.ts#L602), … +1

<a id="rpc-orchestration-getthreadlinkmetadata"></a>

## `orchestration.getThreadLinkMetadata`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2355](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2355)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getThreadLinkMetadata` · transport effect-rpc
- Input: `OrchestrationV2GetThreadTitlesInput`
- Output: `Record<makeEntityId, OrchestrationV2ThreadLinkMetadata>`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2298](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2298), [packages/client-runtime/src/state/orchestration.ts:114](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L114)

<a id="rpc-orchestration-getthreadprojection"></a>

## `orchestration.getThreadProjection`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2382](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2382)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getThreadProjection` · transport effect-rpc
- Input: `OrchestrationV2GetThreadProjectionInput`
- Output: `OrchestrationV2ThreadProjection`
- Error: `OrchestrationV2GetThreadProjectionError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2340](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2340), [packages/client-runtime/src/operations/commands.ts:413](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/operations/commands.ts#L413)

<a id="rpc-orchestration-getthreadtitles"></a>

## `orchestration.getThreadTitles`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2349](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2349)
- Handlers: 2 · Callers: 3
- Method: `orchestration.getThreadTitles` · transport effect-rpc
- Input: `OrchestrationV2GetThreadTitlesInput`
- Output: `OrchestrationV2ThreadTitles`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2308](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2308), [apps/web/src/state/orchestration.ts:14](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/state/orchestration.ts#L14), [packages/client-runtime/src/state/orchestration.ts:89](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L89), [packages/client-runtime/src/state/orchestration.ts:116](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L116)

<a id="rpc-orchestration-getturndiff"></a>

## `orchestration.getTurnDiff`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2297](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2297)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getTurnDiff` · transport effect-rpc
- Input: `OrchestrationGetTurnDiffInput`
- Output: `ThreadTurnDiff`
- Error: `OrchestrationGetTurnDiffError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2245](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2245), [packages/client-runtime/src/state/orchestration.ts:187](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L187)

<a id="rpc-orchestration-getturnitem"></a>

## `orchestration.getTurnItem`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2421](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2421)
- Handlers: 2 · Callers: 3
- Method: `orchestration.getTurnItem` · transport effect-rpc
- Input: `OrchestrationV2GetTurnItemInput`
- Output: `OrchestrationV2GetTurnItemResult`
- Error: `OrchestrationV2GetThreadProjectionError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2234](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2234), [packages/client-runtime/src/state/orchestration.ts:61](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L61), [packages/client-runtime/src/state/orchestration.ts:68](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L68), [packages/client-runtime/src/state/threads.ts:1000](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/threads.ts#L1000)

<a id="rpc-orchestration-getworkflowscript"></a>

## `orchestration.getWorkflowScript`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2403](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2403)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getWorkflowScript` · transport effect-rpc
- Input: `OrchestrationV2GetWorkflowScriptInput`
- Output: `OrchestrationV2GetWorkflowScriptResult`
- Error: `OrchestrationGetWorkflowScriptError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2230](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2230), [packages/client-runtime/src/state/orchestration.ts:192](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L192)

<a id="rpc-orchestration-getworktreethreadids"></a>

## `orchestration.getWorktreeThreadIds`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2364](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2364)
- Handlers: 2 · Callers: 1
- Method: `orchestration.getWorktreeThreadIds` · transport effect-rpc
- Input: `OrchestrationV2GetWorktreeThreadIdsInput`
- Output: `OrchestrationV2WorktreeThreadIds`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2334](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2334), [packages/client-runtime/src/state/orchestration.ts:261](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L261)

<a id="rpc-orchestration-launchthread"></a>

## `orchestration.launchThread`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2427](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2427)
- Handlers: 2 · Callers: 1
- Method: `orchestration.launchThread` · transport effect-rpc
- Input: `OrchestrationV2ThreadLaunchInput`
- Output: `OrchestrationV2ThreadLaunchResult`
- Error: `OrchestrationV2ThreadLaunchError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2367](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2367), [packages/client-runtime/src/operations/commands.ts:874](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/operations/commands.ts#L874)

<a id="rpc-orchestration-searchthread"></a>

## `orchestration.searchThread`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2312](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2312)
- Handlers: 2 · Callers: 1
- Method: `orchestration.searchThread` · transport effect-rpc
- Input: `OrchestrationV2SearchThreadInput`
- Output: `OrchestrationV2SearchThreadResult`
- Error: `OrchestrationV2SearchThreadError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2265](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2265), [packages/client-runtime/src/state/orchestration.ts:225](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L225)

<a id="rpc-orchestration-searchthreadstream"></a>

## `orchestration.searchThreadStream`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2318](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2318)
- Handlers: 2 · Callers: 1
- Method: `orchestration.searchThreadStream` · transport effect-rpc · streaming
- Input: `OrchestrationV2SearchThreadInput`
- Output: `OrchestrationV2SearchThreadResult`
- Error: `OrchestrationV2SearchThreadError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2269](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2269), [packages/client-runtime/src/state/orchestration.ts:231](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L231)

<a id="rpc-orchestration-searchthreads"></a>

## `orchestration.searchThreads`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2328](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2328)
- Handlers: 2 · Callers: 2
- Method: `orchestration.searchThreads` · transport effect-rpc
- Input: `OrchestrationV2SearchThreadsInput`
- Output: `OrchestrationV2SearchThreadsResult`
- Error: `OrchestrationSearchThreadsError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2273](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2273), [packages/client-runtime/src/state/olderSettledThreads.ts:405](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/olderSettledThreads.ts#L405), [packages/client-runtime/src/state/orchestration.ts:237](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L237)

<a id="rpc-orchestration-stopworkflow"></a>

## `orchestration.stopWorkflow`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2391](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2391)
- Handlers: 2 · Callers: 1
- Method: `orchestration.stopWorkflow` · transport effect-rpc
- Input: `OrchestrationV2StopWorkflowInput`
- Output: `void`
- Error: `OrchestrationV2StopWorkflowError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2227](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2227), [packages/client-runtime/src/state/orchestration.ts:205](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L205)

<a id="rpc-orchestration-subscribecommandoutput"></a>

## `orchestration.subscribeCommandOutput`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2450](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2450)
- Handlers: 2 · Callers: 1
- Method: `orchestration.subscribeCommandOutput` · transport effect-rpc · streaming
- Input: `OrchestrationV2SubscribeCommandOutputInput`
- Output: `OrchestrationV2CommandOutputFrame`
- Error: `OrchestrationV2CommandOutputError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2530](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2530), [packages/client-runtime/src/state/orchestration.ts:167](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L167)

<a id="rpc-orchestration-subscribepromptsuggestion"></a>

## `orchestration.subscribePromptSuggestion`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2460](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2460)
- Handlers: 2 · Callers: 1
- Method: `orchestration.subscribePromptSuggestion` · transport effect-rpc · streaming
- Input: `OrchestrationV2SubscribePromptSuggestionInput`
- Output: `OrchestrationV2PromptSuggestion`
- Error: `EnvironmentAuthorizationError`
- Used at: [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2536](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2536), [packages/client-runtime/src/state/orchestration.ts:181](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L181)

<a id="rpc-orchestration-subscribeshell"></a>

## `orchestration.subscribeShell`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2433](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2433)
- Handlers: 3 · Callers: 6
- Method: `orchestration.subscribeShell` · transport effect-rpc · streaming
- Input: `OrchestrationV2SubscribeShellInput`
- Output: `OrchestrationV2ShellStreamItem`
- Error: `OrchestrationV2GetShellSnapshotError | EnvironmentAuthorizationError`
- Used at: [apps/mobile-nitro/src/platform/webSocket.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile-nitro/src/platform/webSocket.ts#L40), [apps/server/src/terminal/OutputProtocol.ts:32](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/terminal/OutputProtocol.ts#L32), [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2521](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2521), [apps/web/test/fakeEnvironment.ts:467](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/test/fakeEnvironment.ts#L467), … +4

<a id="rpc-orchestration-subscribethread"></a>

## `orchestration.subscribeThread`

- Kind: rpc
- Workspace: [@t3tools/contracts](../../architecture/t3tools-contracts.md)
- Source: [packages/contracts/src/rpc.ts:2443](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/rpc.ts#L2443)
- Handlers: 3 · Callers: 3
- Method: `orchestration.subscribeThread` · transport effect-rpc · streaming
- Input: `OrchestrationV2SubscribeThreadInput`
- Output: `withRecordIdTable`
- Error: `OrchestrationV2GetThreadProjectionError | EnvironmentAuthorizationError`
- Used at: [apps/server/src/terminal/OutputProtocol.ts:33](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/terminal/OutputProtocol.ts#L33), [apps/server/src/ws.ts:2157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2157), [apps/server/src/ws.ts:2523](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/src/ws.ts#L2523), [apps/web/test/fakeEnvironment.ts:489](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/test/fakeEnvironment.ts#L489), [packages/client-runtime/src/state/orchestration.ts:159](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/src/state/orchestration.ts#L159), … +1
