# Schemas: mobile

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

60 entries.

<a id="schema-agentactivitywidgetsource-apps-mobile-src-widgets-agentactivitywidgettimeline-ts"></a>

## `AgentActivityWidgetSource`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/widgets/agentActivityWidgetTimeline.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/widgets/agentActivityWidgetTimeline.ts#L12)
- Shape: `{ kind: "signed-out" } | { kind: "unavailable" } | { kind: "loading" } | { kind: "snapshot"; aggregate: RelayAgentActivityAggregateState | null }`

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

## `AgentAwarenessOperationError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/remoteRegistration.ts:72](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/remoteRegistration.ts#L72-L82)
- Shape: `{ _tag: "AgentAwarenessOperationError"; operation: "read-notification-permissions" | "read-native-push-token" | "read-device-registration-relay-token" | "read-device-unregistration-relay-token" | "read-live-activity-registration-relay-token" | "load-device-registration-identifier" | "load-device-registration-preferences" | "load-device-unregistration-identifier" | "read-live-activity-push-token" | "load-live-activity-registration-identifier" | "list-active-live-activities" | "load-live-activity-prime-preferences" | "prime-live-activity" | "load-registration-record"; cause: unknown }`

<a id="schema-claude_driver-apps-mobile-src-features-settings-claude-accounts-ts"></a>

## `CLAUDE_DRIVER`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/settings/claude-accounts.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/settings/claude-accounts.ts#L19)
- Shape: `string`

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

## `ClientCacheClearScope`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/client-cache-state.ts:22](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/client-cache-state.ts#L22)
- Shape: `{ type: "all" } | { type: "environment"; environmentId: EnvironmentId }`

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

## `ClientCacheKind`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-database.ts:13](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-database.ts#L13-L20)
- Shape: `"shell" | "thread" | "server-config" | "vcs-refs" | "project-favicon" | "pull-request"`

<a id="schema-clouddpoperror-apps-mobile-src-features-cloud-dpop-ts"></a>

## `CloudDpopError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/cloud/dpop.ts:18](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/cloud/dpop.ts#L18-L21)
- Shape: `{ _tag: "CloudDpopError"; message: string; cause?: unknown }`

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

## `CloudDraftArchiveError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/cloud/cloud-drafts.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/cloud/cloud-drafts.ts#L12-L30)
- Shape: `{ _tag: "CloudDraftArchiveError"; environmentCount: number; hasAccountId: boolean; cause: unknown }`

<a id="schema-cloudenvironmentlinkerror-apps-mobile-src-features-cloud-linkenvironment-ts"></a>

## `CloudEnvironmentLinkError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/cloud/linkEnvironment.ts:34](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/cloud/linkEnvironment.ts#L34-L42)
- Shape: `{ _tag: "CloudEnvironmentLinkError"; message: string; cause?: unknown; traceId?: string; relayLinkCommitted?: true }`

<a id="schema-cloudpublicconfigmissingerror-apps-mobile-src-features-cloud-publicconfig-ts"></a>

## `CloudPublicConfigMissingError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/cloud/publicConfig.ts:6](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/cloud/publicConfig.ts#L6-L15)
- Shape: `{ _tag: "CloudPublicConfigMissingError"; key: "T3CODE_CLERK_JWT_TEMPLATE" }`

<a id="schema-composercommanditem-apps-mobile-src-features-threads-composercommandpopover-tsx"></a>

## `ComposerCommandItem`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/ComposerCommandPopover.tsx:29](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/ComposerCommandPopover.tsx#L29)
- Shape: `{ id: string; type: "pull-request"; pullRequest: PullRequestContextMetadata; label: string; description: string } | { id: string; type: "path"; path: string; kind: "file" | "directory"; label: string; description: string } | { id: string; type: "thread"; thread: ScopedThreadRef; label: string; description: string } | { id: string; type: "environment"; environmentId: EnvironmentId; machine: EnvironmentMachineKind; label: string; description: string } | { id: string; type: "slash-command"; command: string; label: string; description: string } | { id: string; type: "provider-slash-command"; command: ServerProviderSlashCommand; label: string; description: string } | { id: string; type: "skill"; skill: ServerProviderSkill; label: string; description: string } | { id: string; type: "model"; option: ModelOption; label: string; description: string }`

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

## `ComposerDraftPersistenceError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/use-composer-drafts.ts:433](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/use-composer-drafts.ts#L433-L445)
- Shape: `{ _tag: "ComposerDraftPersistenceError"; operation: "open" | "read" | "decode" | "encode" | "write" | "hydrate"; directory: string; fileName: string; cause: unknown }`

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

## `ContextChipIconRef`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/composerChipPresentation.ts:169](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/composerChipPresentation.ts#L169)
- Shape: `{ kind: "chip"; name: ContextChipIcon } | { kind: "file"; name: MarkdownFileIcon }`

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

## `CopyTextClipboardWriteError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/copyTextWithHaptic.ts:5](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/copyTextWithHaptic.ts#L5-L15)
- Shape: `{ _tag: "CopyTextClipboardWriteError"; target: string; cause: unknown }`

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

## `CopyTextHapticFeedbackError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/copyTextWithHaptic.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/copyTextWithHaptic.ts#L17-L28)
- Shape: `{ _tag: "CopyTextHapticFeedbackError"; target: string; feedback: "light-impact" | "selection"; cause: unknown }`

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

## `DeliveryRetry`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/threadOutboxDelivery.ts:262](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/threadOutboxDelivery.ts#L262)
- Shape: `{ _tag: "DeliveryRetry" }`

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

## `DevAutoConnectAttempt`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/connection/devAutoConnect.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/connection/devAutoConnect.ts#L12)
- Shape: `{ pairingUrl: string; status: "connecting" } | { pairingUrl: string; status: "failed"; error: string | null }`

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

## `DraftComposerAttachmentSchema`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/composer-image-schema.ts:37](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/composer-image-schema.ts#L37-L40)
- Shape: `DraftComposerImageAttachmentSchema | DraftComposerFileAttachmentSchema`

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

## `DraftComposerFileAttachmentSchema`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/composer-image-schema.ts:25](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/composer-image-schema.ts#L25-L35)
- Shape: `{ id: string; type: "file"; name: string; mimeType: string; sizeBytes: number; fileUri: string; source?: PastedTextAttachmentSource; uploadedAttachmentId?: string; uploadEnvironmentId?: makeEntityId }`

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

## `DraftComposerImageAttachmentSchema`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/composer-image-schema.ts:4](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/composer-image-schema.ts#L4-L23)
- Shape: `{ id: string; previewUri: string; type: "image"; name: string; mimeType: string; sizeBytes: number; fileUri?: string; dataUrl?: string; contentDigest?: string; uploadedAttachmentId?: string; uploadEnvironmentId?: makeEntityId }`

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

## `EnvironmentUpdateCheckError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/settings/environmentUpdateCheck.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/settings/environmentUpdateCheck.ts#L17-L23)
- Shape: `{ _tag: "EnvironmentUpdateCheckError"; message: string; cause?: unknown }`

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

## `ExternalUrlOpenError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/openExternalUrl.ts:16](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/openExternalUrl.ts#L16-L28)
- Shape: `{ _tag: "ExternalUrlOpenError"; target: "file-preview" | "markdown-link" | "pull-request" | "provider-auth" | "mcp-app" | "secret-request" | "external-link"; scheme: string; host?: string; cause: unknown }`

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

## `FloatingWorkingStatus`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/floating-working-status.ts:13](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/floating-working-status.ts#L13)
- Shape: `{ kind: "child-input"; label: string; accessibilityLabel: string; onPress: () => void } | { kind: "stop"; label: string; unresponsive: boolean; action: FloatingStatusAction | null } | { kind: "goal"; label: string; accessibilityLabel: string; actions: FloatingStatusAction[] } | { kind: "extension"; label: string; onPress: () => void } | { kind: "preparing"; label: string } | { kind: "connection"; label: string; onPress: () => void }`

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

## `IncomingShareDraftSchema`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/sharing/incoming-share-model.ts:43](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/sharing/incoming-share-model.ts#L43-L51)
- Shape: `{ schemaVersion: 1; id: string; createdAt: string; destination?: { environmentId: string; projectId: string }; text: string; attachments: DraftComposerAttachmentSchema[]; warnings: string[] }`

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

## `IncomingShareStorageError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/sharing/incoming-share-storage.ts:8](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/sharing/incoming-share-storage.ts#L8-L19)
- Shape: `{ _tag: "IncomingShareStorageError"; operation: "load" | "write" | "remove"; shareId: string | null; cause: unknown }`

<a id="schema-issuesavedview-apps-mobile-src-persistence-mobile-preferences-ts"></a>

## `IssueSavedView`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-preferences.ts:45](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-preferences.ts#L45-L55)
- Shape: `{ query: string; state: IssueListState; involvement: IssueInvolvement; sort: IssueListSort; labels: string[]; assignee: { login: string; name: string | null } | null }`

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

## `LegacyConnectionMigrationError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/connection/migration.ts:36](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/connection/migration.ts#L36-L41)
- Shape: `{ _tag: "LegacyConnectionMigrationError"; message: string }`

<a id="schema-liveactivityenvironmentupdateerror-apps-mobile-src-features-agent-awareness-liveactivitypreferences-ts"></a>

## `LiveActivityEnvironmentUpdateError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/liveActivityPreferences.ts:10](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/liveActivityPreferences.ts#L10-L16)
- Shape: `{ _tag: "LiveActivityEnvironmentUpdateError"; updatedEnvironments: string[]; cause: unknown }`

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

## `ManagedRelayTokenStoreError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/cloud/managedRelayTokenStore.ts:33](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/cloud/managedRelayTokenStore.ts#L33-L44)
- Shape: `{ _tag: "ManagedRelayTokenStoreError"; operation: "read" | "decode" | "encode" | "write" | "clear"; storageKey: string; cause: unknown }`

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

## `MarkdownDetailsSegment`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/markdownDetails.ts:9](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/markdownDetails.ts#L9)
- Shape: `{ kind: "markdown"; markdown: string; sourceOffset: number } | { kind: "details"; summary: string; body: string; open: boolean; sourceOffset: number }`

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

## `MarkdownLinkPresentation`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/markdownLinks.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/markdownLinks.ts#L12)
- Shape: `{ kind: "external"; href: string; host: string } | { kind: "file"; href: string; icon: MarkdownFileIcon; label: string; path: string; line?: number; column?: number } | { kind: "link"; href: string | null }`

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

## `MobileDatabaseError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-database.ts:60](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-database.ts#L60-L70)
- Shape: `{ _tag: "MobileDatabaseError"; operation: "open" | "close" | "migrate" | "load-cache" | "list-cache" | "save-cache" | "remove-cache" | "clear-cache-kind" | "clear-environment-cache" | "clear-all-caches" | "inspect-caches" | "load-preferences" | "save-preferences"; cause: unknown }`

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

## `MobileDeviceIdGenerationError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-storage.ts:41](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-storage.ts#L41-L48)
- Shape: `{ _tag: "MobileDeviceIdGenerationError"; cause: unknown }`

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

## `MobilePreferencesLoadError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-preferences.ts:193](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-preferences.ts#L193-L200)
- Shape: `{ _tag: "MobilePreferencesLoadError"; cause: unknown }`

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

## `MobilePreferencesSaveError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-preferences.ts:202](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-preferences.ts#L202-L209)
- Shape: `{ _tag: "MobilePreferencesSaveError"; cause: unknown }`

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

## `MobileSecureStorageError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-secure-storage.ts:9](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-secure-storage.ts#L9-L20)
- Shape: `{ _tag: "MobileSecureStorageError"; operation: "read" | "write" | "delete"; key: string; cause: unknown }`

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

## `MobileStorageDecodeError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-storage.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-storage.ts#L17-L27)
- Shape: `{ _tag: "MobileStorageDecodeError"; key: string; cause: unknown }`

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

## `MobileStorageEncodeError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/persistence/mobile-storage.ts:29](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/persistence/mobile-storage.ts#L29-L39)
- Shape: `{ _tag: "MobileStorageEncodeError"; key: string; cause: unknown }`

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

## `MobileThemeRuntimeOperation`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/mobileThemeRuntime.ts:27](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/mobileThemeRuntime.ts#L27)
- Shape: `{ kind: "update-text-variables"; themeName: "light" | "dark" | MobileUniwindThemeName; variables: Readonly } | { kind: "set-appearance-mode"; appearance: MobileThemeAppearance; themeMode: MobileThemeMode }`

<a id="schema-modifiedterminalinput-apps-mobile-src-features-terminal-terminalinput-ts"></a>

## `ModifiedTerminalInput`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/terminal/terminalInput.ts:6](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/terminal/terminalInput.ts#L6)
- Shape: `{ kind: "write"; data: string } | { kind: "paste" }`

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

## `NativeViewResolutionError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/native/nativeViewResolutionError.ts:3](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/native/nativeViewResolutionError.ts#L3-L13)
- Shape: `{ _tag: "NativeViewResolutionError"; nativeModuleName: string; cause: unknown }`

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

## `NotificationNavigationError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/notificationResponseConsumer.ts:4](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/notificationResponseConsumer.ts#L4-L15)
- Shape: `{ _tag: "NotificationNavigationError"; operation: "read" | "route" | "clear"; notificationId?: string; cause: unknown }`

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

## `NotificationPermissionReadError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/notificationPermissions.ts:14](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/notificationPermissions.ts#L14-L23)
- Shape: `{ _tag: "NotificationPermissionReadError"; cause: unknown }`

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

## `NotificationPermissionRequestError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/notificationPermissions.ts:25](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/notificationPermissions.ts#L25-L34)
- Shape: `{ _tag: "NotificationPermissionRequestError"; cause: unknown }`

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

## `NotificationPermissionResult`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/agent-awareness/notificationPermissions.ts:9](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/agent-awareness/notificationPermissions.ts#L9)
- Shape: `{ type: "unsupported" } | { type: "granted" } | { type: "denied"; canAskAgain: boolean }`

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

## `PairingQrPayloadEmptyError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/connection/pairing.ts:24](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/connection/pairing.ts#L24-L31)
- Shape: `{ _tag: "PairingQrPayloadEmptyError" }`

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

## `PendingThreadCreationOutcome`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/pending-thread-creation.ts:14](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/pending-thread-creation.ts#L14)
- Shape: `{ kind: "delivered"; message: QueuedThreadMessage } | { kind: "failed"; message: QueuedThreadMessage; reason: string }`

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

## `ProjectIconGlyph`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/lib/projectIcon.ts:7](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/lib/projectIcon.ts#L7)
- Shape: `{ kind: "emoji"; emoji: string } | { kind: "monogram"; text: string; color: ProjectIconColor }`

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

## `QueuedThreadMessageSchema`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/thread-outbox-model.ts:61](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/thread-outbox-model.ts#L61-L79)
- Shape: `{ schemaVersion: 1 | 2 | 3 | 4; environmentId: makeEntityId; threadId: makeEntityId; messageId: makeEntityId; commandId: makeEntityId; text: string; restoreToDraft?: boolean; context?: OrchestrationMessageContext; attachments: DraftComposerAttachmentSchema[]; modelSelection?: { provider?: unknown; instanceId?: unknown; model: unknown; options?: … | null }; dispatchMode?: "auto" | "queue" | "steer" | "restart"; compactBeforeSend?: boolean; freshContext?: boolean; runtimeMode?: RuntimeMode; interactionMode?: ProviderInteractionMode; creation?: { projectId: makeEntityId; projectTitle?: string; projectCwd?: string; workspaceMode: "local" | "worktree"; branch: string | null; worktreePath: string | null; startFromOrigin?: boolean; pullRequestReference?: string; repositories?: string[]; startsFromRepositoryDefaults?: boolean }; createdAt: string }`

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

## `ReviewCommentMessageSegment`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/review/reviewCommentSelection.ts:42](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/review/reviewCommentSelection.ts#L42)
- Shape: `{ kind: "text"; id: string; text: string } | { kind: "review-comment"; comment: ReviewInlineComment }`

<a id="schema-reviewfilepreviewstate-apps-mobile-src-features-review-reviewmodel-ts"></a>

## `ReviewFilePreviewState`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/review/reviewModel.ts:103](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/review/reviewModel.ts#L103)
- Shape: `{ kind: "render" } | { kind: "suppressed"; reason: "non-text" | "large"; title: string; message: string; actionLabel: string | null }`

<a id="schema-reviewparseddiff-apps-mobile-src-features-review-reviewmodel-ts"></a>

## `ReviewParsedDiff`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/review/reviewModel.ts:115](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/review/reviewModel.ts#L115)
- Shape: `{ kind: "empty" } | { kind: "raw"; text: string; reason: string; notice: string | null } | { kind: "files"; files: ReviewRenderableFile[]; fileCount: number; additions: number; deletions: number; notice: string | null }`

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

## `RouteDraftResolution`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/new-task-flow-state.ts:74](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/new-task-flow-state.ts#L74)
- Shape: `{ kind: "none" } | { kind: "pending" } | { kind: "missing" } | { kind: "pickProject" } | { kind: "open"; flow: NewTaskFlowState }`

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

## `ThreadContentPresentation`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/threadContentPresentation.ts:7](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/threadContentPresentation.ts#L7)
- Shape: `{ kind: "ready" } | { kind: "loading" } | { kind: "unavailable"; title: string; detail: string }`

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

## `ThreadOutboxDispatchStep`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/thread-outbox-model.ts:208](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/thread-outbox-model.ts#L208)
- Shape: `{ step: "wait" } | { step: "remove" } | { step: "retry" } | { step: "restore"; reason: string } | { step: "send" }`

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

## `ThreadOutboxManagerError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/thread-outbox-manager.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/thread-outbox-manager.ts#L12-L32)
- Shape: `{ _tag: "ThreadOutboxManagerError"; operation: "load" | "enqueue" | "update" | "remove" | "clear-environment-load" | "clear-environment-remove"; environmentId: makeEntityId | null; threadId: makeEntityId | null; messageId: makeEntityId | null; cause: unknown }`

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

## `ThreadOutboxStorageError`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/state/thread-outbox-storage.ts:28](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/state/thread-outbox-storage.ts#L28-L42)
- Shape: `{ _tag: "ThreadOutboxStorageError"; operation: "load" | "read-message" | "write" | "remove"; environmentId: makeEntityId | null; threadId: makeEntityId | null; messageId: makeEntityId | null; fileName: string | null; cause: unknown }`

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

## `ThreadRowStatusValue`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/thread-list-v2-items.tsx:239](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/thread-list-v2-items.tsx#L239)
- Shape: `{ kind: "woke"; onDismiss: () => void } | { kind: "run"; label: StatusLabel; timerStartedAt: string | null }`

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

## `ThreadTitleRenameResolution`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/threads/thread-title-rename.ts:1](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/threads/thread-title-rename.ts#L1)
- Shape: `{ action: "rename"; title: string } | { action: "noop" } | { action: "reject-empty" }`

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

## `WorkspaceDetail`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/layout/workspace/workspace-detail-selection.ts:14](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/layout/workspace/workspace-detail-selection.ts#L14)
- Shape: `{ name: "Thread"; params: RootParams["Thread"] } | { name: "PullRequest"; params: RootParams["PullRequest"] } | { name: "Issue"; params: RootParams["Issue"] }`

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

## `WorkspaceTabsAction`

- Kind: schema
- Workspace: [@t3tools/mobile](../../architecture/t3tools-mobile.md)
- Source: [apps/mobile/src/features/layout/workspace/workspace-tabs-state.ts:73](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/mobile/src/features/layout/workspace/workspace-tabs-state.ts#L73)
- Shape: `{ type: "select"; tab: WorkspaceTab } | { type: "search"; tab?: WorkspaceSearchTab } | { type: "query"; query: string; tab?: WorkspaceSearchTab } | { type: "expand"; tab?: WorkspaceSearchTab } | { type: "cancel"; tab?: WorkspaceSearchTab; scrollToTop?: boolean } | { type: "scroll"; tab: WorkspaceSearchTab; offset: number }`
