# @t3tools/client-runtime

> 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).

| Property | Value |
| --- | --- |
| Path | `packages/client-runtime` |
| Role | library |
| Runtimes | unknown |
| Version |  |
| Manifest | [packages/client-runtime/package.json](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/client-runtime/package.json) |
| Entrypoints |  |

## Dependencies

- Workspaces: [@t3tools/contracts](t3tools-contracts.md), [@t3tools/issue-tracker-linear](t3tools-issue-tracker-linear.md), [@t3tools/provider-acp-registry](t3tools-provider-acp-registry.md), [@t3tools/provider-core](t3tools-provider-core.md), [@t3tools/provider-cursor](t3tools-provider-cursor.md), [@t3tools/provider-fx](t3tools-provider-fx.md), [@t3tools/provider-kiro](t3tools-provider-kiro.md), [@t3tools/provider-muse](t3tools-provider-muse.md), [@t3tools/provider-opencode](t3tools-provider-opencode.md), [@t3tools/provider-pi](t3tools-provider-pi.md), [@t3tools/secret-provider-definitions](t3tools-secret-provider-definitions.md), [@t3tools/shared](t3tools-shared.md), [@t3tools/source-control-core](t3tools-source-control-core.md), [@t3tools/source-control-definitions](t3tools-source-control-definitions.md)
- Used by: @t3tools/desktop, @t3tools/mobile, @t3tools/mobile-nitro, @t3tools/web, t3code-relay
- External (8): `@pierre/diffs`, `@zip.js/zip.js`, `effect`, `gt-i18n`, `jszip`, `three`, `unbash`, `vite-plus`

## Modules

| Module | Files |
| --- | --- |
| `(root)` | 1 |
| `src` | 83 |
| `src/authorization` | 4 |
| `src/connection` | 21 |
| `src/device` | 19 |
| `src/environment` | 4 |
| `src/errors` | 7 |
| `src/mcpApps` | 1 |
| `src/operations` | 4 |
| `src/platform` | 10 |
| `src/preview` | 1 |
| `src/relay` | 7 |
| `src/rpc` | 7 |
| `src/state` | 129 |
| `src/voice-input` | 5 |
| `src/work-log` | 9 |
| `src/zip` | 5 |

### Module imports

| From | To | Imports |
| --- | --- | --- |
| src/authorization | src/connection | 6 |
| src/authorization | src/environment | 3 |
| src/authorization | src/platform | 2 |
| src/authorization | src/relay | 1 |
| src/authorization | src/rpc | 2 |
| src/connection | src/authorization | 5 |
| src/connection | src/environment | 5 |
| src/connection | src/platform | 6 |
| src/connection | src/relay | 4 |
| src/connection | src/rpc | 4 |
| src/connection | src/state | 1 |
| src/environment | src/rpc | 1 |
| src/operations | src | 3 |
| src/operations | src/connection | 1 |
| src/operations | src/rpc | 1 |
| src/platform | src/authorization | 1 |
| src/platform | src/connection | 3 |
| src/preview | src/device | 1 |
| src/relay | src/connection | 4 |
| src/relay | src/platform | 1 |
| src/relay | src/state | 1 |
| src/rpc | src | 1 |
| src/rpc | src/connection | 4 |
| src/rpc | src/state | 2 |
| src/state | src | 13 |
| src/state | src/authorization | 11 |
| src/state | src/connection | 45 |
| src/state | src/device | 1 |
| src/state | src/environment | 4 |
| src/state | src/operations | 3 |
| src/state | src/platform | 11 |
| src/state | src/relay | 12 |
| src/state | src/rpc | 25 |
| src/state | src/work-log | 1 |
| src/work-log | src | 8 |
| src | src/connection | 1 |
| src | src/state | 9 |
| src | @t3tools/issue-tracker-linear | 1 |
| src | @t3tools/provider-acp-registry | 1 |
| src | @t3tools/provider-core | 2 |
| src | @t3tools/provider-cursor | 1 |
| src | @t3tools/provider-fx | 1 |
| src | @t3tools/provider-kiro | 1 |
| src | @t3tools/provider-muse | 1 |
| src | @t3tools/provider-opencode | 1 |
| src | @t3tools/provider-pi | 1 |
| src | @t3tools/secret-provider-definitions | 1 |
| src | @t3tools/source-control-core | 4 |
| src | @t3tools/source-control-definitions | 2 |

## Defined here

- **Schemas** (128): [`AddProjectCloneFlow`](../reference/schemas/client-runtime.md#schema-addprojectcloneflow-packages-client-runtime-src-operations-projects-ts), [`AssetUrlState`](../reference/schemas/client-runtime.md#schema-asseturlstate), [`AttachmentUploadCycleResult`](../reference/schemas/client-runtime.md#schema-attachmentuploadcycleresult), [`AttachmentUploadError`](../reference/schemas/client-runtime.md#schema-attachmentuploaderror), [`AttachmentUploadStatus`](../reference/schemas/client-runtime.md#schema-attachmentuploadstatus), [`BearerConnectionCredential`](../reference/schemas/client-runtime.md#schema-bearerconnectioncredential), [`BearerConnectionProfile`](../reference/schemas/client-runtime.md#schema-bearerconnectionprofile), [`BearerConnectionRegistration`](../reference/schemas/client-runtime.md#schema-bearerconnectionregistration), [`BearerConnectionTarget`](../reference/schemas/client-runtime.md#schema-bearerconnectiontarget), [`CloudAccountState`](../reference/schemas/client-runtime.md#schema-cloudaccountstate), [`ConnectMcpApprovalAnswer`](../reference/schemas/client-runtime.md#schema-connectmcpapprovalanswer), [`ConnectMcpApprovalCall`](../reference/schemas/client-runtime.md#schema-connectmcpapprovalcall), [`ConnectMcpApprovalUnavailableError`](../reference/schemas/client-runtime.md#schema-connectmcpapprovalunavailableerror), [`ConnectionBlockedError`](../reference/schemas/client-runtime.md#schema-connectionblockederror), [`ConnectionBlockedReason`](../reference/schemas/client-runtime.md#schema-connectionblockedreason), [`ConnectionCatalogDocument`](../reference/schemas/client-runtime.md#schema-connectioncatalogdocument), [`ConnectionCredential`](../reference/schemas/client-runtime.md#schema-connectioncredential), [`ConnectionFailureCause`](../reference/schemas/client-runtime.md#schema-connectionfailurecause), [`ConnectionHop`](../reference/schemas/client-runtime.md#schema-connectionhop), [`ConnectionPersistenceError`](../reference/schemas/client-runtime.md#schema-connectionpersistenceerror), [`ConnectionProfile`](../reference/schemas/client-runtime.md#schema-connectionprofile), [`ConnectionRegistration`](../reference/schemas/client-runtime.md#schema-connectionregistration), [`ConnectionTarget`](../reference/schemas/client-runtime.md#schema-connectiontarget), [`ConnectionTransientError`](../reference/schemas/client-runtime.md#schema-connectiontransienterror), [`ConnectionTransientReason`](../reference/schemas/client-runtime.md#schema-connectiontransientreason), [`CustomSnoozeInput`](../reference/schemas/client-runtime.md#schema-customsnoozeinput), [`DelayedStatusState`](../reference/schemas/client-runtime.md#schema-delayedstatusstate), [`DeviceScreenshotError`](../reference/schemas/client-runtime.md#schema-devicescreenshoterror), [`DpopConnectionCredential`](../reference/schemas/client-runtime.md#schema-dpopconnectioncredential), [`DpopProofError`](../reference/schemas/client-runtime.md#schema-dpopprooferror), [`DuoCommand`](../reference/schemas/client-runtime.md#schema-duocommand), [`EnvironmentHttpConnectionNotReadyError`](../reference/schemas/client-runtime.md#schema-environmenthttpconnectionnotreadyerror), [`EnvironmentNotRegisteredError`](../reference/schemas/client-runtime.md#schema-environmentnotregisterederror), [`EnvironmentRpcUnavailableError`](../reference/schemas/client-runtime.md#schema-environmentrpcunavailableerror), [`FeedbackRequestDisplay`](../reference/schemas/client-runtime.md#schema-feedbackrequestdisplay), [`HandoffRequestDisplay`](../reference/schemas/client-runtime.md#schema-handoffrequestdisplay), [`HostPressureDismissal`](../reference/schemas/client-runtime.md#schema-hostpressuredismissal), [`HostPressureDismissals`](../reference/schemas/client-runtime.md#schema-hostpressuredismissals), [`InvalidAssetCollectionKeyError`](../reference/schemas/client-runtime.md#schema-invalidassetcollectionkeyerror), [`InvalidScopedProjectKeyError`](../reference/schemas/client-runtime.md#schema-invalidscopedprojectkeyerror), [`InvalidScopedProjectRefCollectionKeyError`](../reference/schemas/client-runtime.md#schema-invalidscopedprojectrefcollectionkeyerror), [`InvalidScopedThreadKeyError`](../reference/schemas/client-runtime.md#schema-invalidscopedthreadkeyerror), [`LinkAttemptOutcome`](../reference/schemas/client-runtime.md#schema-linkattemptoutcome), [`LinkBackOffer`](../reference/schemas/client-runtime.md#schema-linkbackoffer), [`LinkBatchOutcome`](../reference/schemas/client-runtime.md#schema-linkbatchoutcome), [`LinkRequestDisplay`](../reference/schemas/client-runtime.md#schema-linkrequestdisplay), [`LinkRequestTarget`](../reference/schemas/client-runtime.md#schema-linkrequesttarget), [`LinkedEnvironmentConnection`](../reference/schemas/client-runtime.md#schema-linkedenvironmentconnection), [`ManagedRelayAccessTokenScopesUnexpectedError`](../reference/schemas/client-runtime.md#schema-managedrelayaccesstokenscopesunexpectederror), [`ManagedRelayClientError`](../reference/schemas/client-runtime.md#schema-managedrelayclienterror), [`ManagedRelayDpopKeyLoadError`](../reference/schemas/client-runtime.md#schema-managedrelaydpopkeyloaderror), [`ManagedRelayDpopProofCreationError`](../reference/schemas/client-runtime.md#schema-managedrelaydpopproofcreationerror), [`ManagedRelayDpopSignerError`](../reference/schemas/client-runtime.md#schema-managedrelaydpopsignererror), [`ManagedRelayRequestAction`](../reference/schemas/client-runtime.md#schema-managedrelayrequestaction), [`ManagedRelayRequestActivity`](../reference/schemas/client-runtime.md#schema-managedrelayrequestactivity), [`ManagedRelayRequestFailedError`](../reference/schemas/client-runtime.md#schema-managedrelayrequestfailederror), [`ManagedRelayRequestProofCreationError`](../reference/schemas/client-runtime.md#schema-managedrelayrequestproofcreationerror), [`ManagedRelayRequestTimeoutError`](../reference/schemas/client-runtime.md#schema-managedrelayrequesttimeouterror), [`ManagedRelaySessionError`](../reference/schemas/client-runtime.md#schema-managedrelaysessionerror), [`ManagedRelayTokenProofCreationError`](../reference/schemas/client-runtime.md#schema-managedrelaytokenproofcreationerror), … +68
