# Schemas: web

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

131 entries.

<a id="schema-addprojectcloneflow-apps-web-src-components-commandpalette-logic-ts"></a>

## `AddProjectCloneFlow`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/CommandPalette.logic.ts:895](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/CommandPalette.logic.ts#L895)
- Shape: `{ step: "repository"; environmentId: EnvironmentId; source: AddProjectRemoteSource } | { step: "confirm"; environmentId: EnvironmentId; source: AddProjectRemoteSource; repositoryInput: string; repository: SourceControlRepositoryInfo | null; remoteUrl: string }`

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

## `AddProjectEntry`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/CommandPalette.logic.ts:198](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/CommandPalette.logic.ts#L198)
- Shape: `{ kind: "connect-environment" } | { kind: "choose-environment" } | { kind: "choose-source"; environmentId: EnvironmentId }`

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

## `AndroidFoldError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/device/deviceFold.ts:16](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/device/deviceFold.ts#L16-L19)
- Shape: `{ _tag: "AndroidFoldError"; message: string; status: number }`

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

## `BrowserDpopError`

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

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

## `BrowserPreviewUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/openFileInPreview.ts:39](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/openFileInPreview.ts#L39-L42)
- Shape: `{ _tag: "BrowserPreviewUnavailableError"; message: string }`

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

## `BrowserRecordingCaptureTimeoutError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:63](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L63-L73)
- Shape: `{ _tag: "BrowserRecordingCaptureTimeoutError"; tabId: string; timeoutMs: number }`

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

## `BrowserRecordingConflictError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:31](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L31-L41)
- Shape: `{ _tag: "BrowserRecordingConflictError"; requestedTabId: string; activeTabId: string }`

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

## `BrowserRecordingFormatUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:54](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L54-L61)
- Shape: `{ _tag: "BrowserRecordingFormatUnavailableError"; tabId: string }`

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

## `BrowserRecordingOperationError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:75](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L75-L112)
- Shape: `{ _tag: "BrowserRecordingOperationError"; operation: "initialize-media-recorder" | "capture-media-stream" | "start-media-recorder" | "start-screencast" | "stop-screencast" | "wait-startup" | "stop-media-recorder" | "save-artifact" | "cleanup"; tabId: string; cause: unknown }`

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

## `BrowserRecordingStartCancelledError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:43](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L43-L52)
- Shape: `{ _tag: "BrowserRecordingStartCancelledError"; tabId: string }`

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

## `BrowserRecordingUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:20](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L20-L29)
- Shape: `{ _tag: "BrowserRecordingUnavailableError"; tabId: string }`

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

## `BrowserSettingsReadError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/openFileInPreview.ts:44](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/openFileInPreview.ts#L44-L51)
- Shape: `{ _tag: "BrowserSettingsReadError"; cause: unknown }`

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

## `CitationPhase`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/citationProcedure.ts:20](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/citationProcedure.ts#L20)
- Shape: `{ _tag: "loading" } | { _tag: "expanding" } | { _tag: "ready"; rowId: string } | { _tag: "failed" }`

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

## `CitedHistory`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/citationProcedure.ts:15](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/citationProcedure.ts#L15)
- Shape: `{ _tag: "loading" } | { _tag: "found" } | { _tag: "failed" }`

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

## `CitedHistoryOutcome`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/citationProcedure.ts:32](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/citationProcedure.ts#L32)
- Shape: `{ _tag: "found" } | { _tag: "failed"; title: string; description: string } | { _tag: "aborted" }`

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

## `ClassifiedSecretProvider`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/SecretProviderDialog.logic.ts:21](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/SecretProviderDialog.logic.ts#L21)
- Shape: `{ kind: "one_password"; account: OnePasswordAccount } | { kind: "unsupported" }`

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

## `ClipboardApiUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useCopyToClipboard.ts:45](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useCopyToClipboard.ts#L45-L56)
- Shape: `{ _tag: "ClipboardApiUnavailableError"; target: string; displayMessage?: Marked }`

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

## `ClipboardReadError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useCopyToClipboard.ts:85](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useCopyToClipboard.ts#L85-L97)
- Shape: `{ _tag: "ClipboardReadError"; target: string; displayMessage?: Marked; cause: unknown }`

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

## `ClipboardReadUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useCopyToClipboard.ts:72](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useCopyToClipboard.ts#L72-L83)
- Shape: `{ _tag: "ClipboardReadUnavailableError"; target: string; displayMessage?: Marked }`

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

## `ClipboardWriteError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useCopyToClipboard.ts:58](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useCopyToClipboard.ts#L58-L70)
- Shape: `{ _tag: "ClipboardWriteError"; target: string; displayMessage?: Marked; cause: unknown }`

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

## `ClosedView`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/closedViewStore.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/closedViewStore.ts#L17)
- Shape: `{ kind: "panel-tab"; threadRef: ScopedThreadRef; surface: Exclude } | { kind: "browser"; threadRef: ScopedThreadRef; snapshot: PreviewSessionSnapshot }`

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

## `CloudEnvironmentLinkError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/linkEnvironment.ts:41](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/linkEnvironment.ts#L41-L48)
- Shape: `{ _tag: "CloudEnvironmentLinkError"; message: string; cause?: unknown; traceId?: string }`

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

## `CloudPublicConfigMissingError`

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

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

## `CommandPaletteRow`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/CommandPalette.logic.ts:319](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/CommandPalette.logic.ts#L319)
- Shape: `{ kind: "label"; key: string; label: string; first: boolean } | { kind: "item"; key: string; item: CommandPaletteActionItem | CommandPaletteSubmenuItem; itemIndex: number | null }`

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

## `CommandPaletteUiAction`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/CommandPalette.logic.ts:115](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/CommandPalette.logic.ts#L115)
- Shape: `{ _tag: "SetOpen"; open: boolean } | { _tag: "ToggleMode"; mode: SearchOverlayMode } | { _tag: "OpenSearch"; query: string; linkedThreads?: CommandPaletteLinkedThreads } | { _tag: "OpenAddProject"; draftId?: DraftId } | { _tag: "OpenNewThreadIn" } | { _tag: "OpenWorkspaceFolder"; target: WorkspaceFolderPickerTarget } | { _tag: "OpenChangeTheme" } | { _tag: "OpenChildSearch"; mode: "files" | "content"; context: CommandPaletteReturnContext } | { _tag: "BackToCommand" }`

<a id="schema-composercommanditem-apps-web-src-components-chat-composercommandmenu-tsx"></a>

## `ComposerCommandItem`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/ComposerCommandMenu.tsx:41](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/ComposerCommandMenu.tsx#L41)
- Shape: `{ id: string; type: "path"; path: string; pathKind: ProjectEntry["kind"]; searchTarget: ComposerPathSearchTarget; label: string; description: string } | { id: string; type: "slash-command"; command: ComposerSlashCommand; label: string; description: string } | { id: string; type: "provider-slash-command"; provider: ProviderDriverKind; command: ServerProviderSlashCommand; label: string; description: string } | { id: string; type: "skill"; provider: ProviderDriverKind; skill: ServerProviderSkill; label: string; description: string } | { id: string; type: "pull-request"; pullRequest: PullRequestContextMetadata; 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: "model"; instanceId: ProviderInstanceId; model: string; driverKind: ProviderDriverKind; providerDisplayName: string; acpRegistryAgentId: string | undefined; acpRegistryIconUrl: string | undefined; label: string; description: string }`

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

## `ComposerDraftContextRecord`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/composerContextPresentation.tsx:73](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/composerContextPresentation.tsx#L73)
- Shape: `{ kind: "terminal"; record: TerminalContextDraft } | { kind: "review-comment"; record: ReviewCommentContext } | { kind: "preview-annotation"; record: PreviewAnnotationPayload; screenshot?: ComposerImageAttachment | undefined } | { kind: "image"; record: ComposerImageContextAttachment; upload?: AttachmentUploadState | undefined; contextId?: ComposerContextId | undefined } | { kind: "file"; record: ComposerFileAttachment; upload?: AttachmentUploadState | undefined; contextId?: ComposerContextId | undefined } | { kind: "thread"; record: ThreadContextRecord } | { kind: "environment"; record: EnvironmentContextRecord }`

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

## `ComposerPromptSegment`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/composer-editor-mentions.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/composer-editor-mentions.ts#L12)
- Shape: `{ type: "text"; text: string } | { type: "mention"; path: string; source: string } | { type: "skill"; name: string; source: string } | { type: "model"; instanceId: string; model: string; source: string } | { type: "citation"; citation: AssistantCitation; source: string } | { type: "context-reference"; kind: string; contextId: string; label: string; source: string }`

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

## `CompressImageFileResult`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/imageCompression.ts:55](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/imageCompression.ts#L55)
- Shape: `{ ok: true; file: File; recompressed: boolean; imageSize?: ImageSize } | { ok: false; reason: ImageCompressionFailureReason }`

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

## `CompressStashImageResult`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/imageCompression.ts:51](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/imageCompression.ts#L51)
- Shape: `{ ok: true; image: CompressedStashImage } | { ok: false; reason: ImageCompressionFailureReason }`

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

## `ConfirmDialogState`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/confirmDialog.ts:3](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/confirmDialog.ts#L3)
- Shape: `{ status: "idle" } | { status: "confirming"; message: string; variant: ConfirmDialogVariant; initialFocus: ConfirmDialogOptions["initialFocus"] } | { status: "closing"; message: string; variant: ConfirmDialogVariant; initialFocus: ConfirmDialogOptions["initialFocus"] }`

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

## `ConnectOnboardingOptOutSchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/connectOnboarding.ts:6](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/connectOnboarding.ts#L6-L8)
- Shape: `{ optOutAccounts: string[] }`

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

## `DesktopEnvironmentBootstrapIncompleteError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/target.ts:48](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/target.ts#L48-L62)
- Shape: `{ _tag: "DesktopEnvironmentBootstrapIncompleteError"; hasHttpBaseUrl: boolean; hasWsBaseUrl: boolean }`

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

## `DesktopSecondaryBootstrapsRead`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/connection/desktopLocal.ts:29](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/connection/desktopLocal.ts#L29)
- Shape: `{ _tag: "Success"; bootstraps: DesktopEnvironmentBootstrap[] } | { _tag: "Failure"; cause: unknown }`

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

## `DesktopThemeSyncError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useTheme.ts:112](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useTheme.ts#L112-L122)
- Shape: `{ _tag: "DesktopThemeSyncError"; theme: string; cause: unknown }`

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

## `DesktopUpdateStateReadError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/state/desktopUpdate.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/state/desktopUpdate.ts#L17-L29)
- Shape: `{ _tag: "DesktopUpdateStateReadError"; attemptCount: number; cause: unknown }`

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

## `DeviceHostCheck`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/deviceHostConnectionChecks.ts:18](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/deviceHostConnectionChecks.ts#L18)
- Shape: `{ status: "pending" } | { status: "local" } | { status: "connected"; platforms: DevicePlatformAvailability[]; tools?: DeviceHostSummary["tools"] } | { status: "failed"; error: string }`

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

## `DiffWorkerError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/DiffWorkerPoolProvider.tsx:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/DiffWorkerPoolProvider.tsx#L12-L20)
- Shape: `{ _tag: "DiffWorkerError"; operation: "create-worker" | "get-render-options" | "set-render-options"; themeName: string; cause: unknown }`

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

## `DraftId`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/composerDraftStore.ts:124](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/composerDraftStore.ts#L124)
- Shape: `string`

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

## `EnvMode`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/BranchToolbar.logic.ts:43](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/BranchToolbar.logic.ts#L43)
- Shape: `"local" | "worktree"`

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

## `FleetEdge`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:121](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L121)
- Shape: `{ id: string; kind: "route"; from: string; to: string; routeId: string; routeKind: ConnectionRouteKind; routeLabel?: string; state: FleetRouteState } | { id: string; kind: "link"; from: string; to: string; sourceEnvironmentId: EnvironmentId; link: PeerLinkSummary; health: PeerLinkHealth }`

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

## `FleetFocus`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:545](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L545)
- Shape: `{ kind: "node"; id: string } | { kind: "edge"; id: string } | { kind: "stack"; id: string }`

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

## `FleetLinkAction`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:1751](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L1751)
- Shape: `{ kind: "batch"; sourceEnvironmentId: EnvironmentId; environmentIds: EnvironmentId[] } | { kind: "code-only"; sourceId: string; sourceEnvironmentId: EnvironmentId; machineIds: string[] } | { kind: "single"; sourceEnvironmentId: EnvironmentId; offer: Extract | null }`

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

## `FleetLinkOffer`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:599](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L599)
- Shape: `{ kind: "unavailable"; reason: "not-an-environment" | "same-machine" | "source-disconnected" | "source-off" | "source-forbidden" } | { kind: "link"; sourceEnvironmentId: EnvironmentId; path: "code-less" | "pairing-code" | "through-link"; renews: boolean; target: { kind: "machine"; environmentId: EnvironmentId } | { kind: "address"; addresses: string[]; saved: boolean; expected?: { environmentId: EnvironmentId; label: string }; through?: { viaEnvironmentId: EnvironmentId; environmentId: EnvironmentId; label: string } } }`

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

## `FleetNode`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:82](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L82)
- Shape: `{ id: string; kind: "client"; label: string } | { id: string; kind: "environment"; environmentId: EnvironmentId; label: string; machine: EnvironmentMachineKind | null; phase: EnvironmentConnectionPhase; enabled: boolean; routeCount: number; outgoing: FleetOutgoingLinks["state"]; outgoingError: string | null; linking: FleetLinking; mintable: boolean; canWriteAccess: boolean; hasLinkAddress: boolean } | { id: string; kind: "connect"; environmentId: EnvironmentId; label: string; machine: EnvironmentMachineKind | null; availability: FleetConnectMachineInput["availability"] } | { id: string; kind: "target"; environmentId: EnvironmentId; label: string; address: string | null }`

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

## `FleetOutgoingLinks`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/environmentsMap.logic.ts:18](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/environmentsMap.logic.ts#L18)
- Shape: `{ state: "loaded"; links: PeerLinkSummary[] } | { state: "loading" } | { state: "error"; message: string } | { state: "off" } | { state: "unknown" }`

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

## `HeldComposerSendResult`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/preparingComposerImages.ts:131](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/preparingComposerImages.ts#L131)
- Shape: `{ status: "ready" } | { status: "cancelled" }`

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

## `ImageWorkerTask`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/imageCompression.worker.ts:8](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/imageCompression.worker.ts#L8)
- Shape: `{ kind: "encode"; bitmap: ImageBitmap; colorSpace: PredefinedColorSpace; mimeType: string; quality: number } | { kind: "fit"; file: Blob; mimeType: string; quality: number } | { kind: "thumbnail"; file: Blob }`

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

## `ImportOutcome`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/browserImportWizard.logic.ts:43](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/browserImportWizard.logic.ts#L43)
- Shape: `{ kind: "imported"; imported: number; skipped: number; skippedDomains: string[]; targetName: string } | { kind: "blocked"; reason: BrowserImportFailureReason; message?: string }`

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

## `IssueListPreferencesSchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/issue/issueListPreferences.ts:43](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/issue/issueListPreferences.ts#L43-L56)
- Shape: `{ who: IssueInvolvement; status: IssueListState; hideProjects?: [makeEntityId, makeEntityId][]; host?: string; q?: string; label?: string[]; assignee?: string; order?: "created" }`

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

## `KeybindingsUpdateToastDecision`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/KeybindingsUpdateToast.logic.ts:5](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/KeybindingsUpdateToast.logic.ts#L5)
- Shape: `{ _tag: "Success" } | { _tag: "InvalidConfiguration"; message: string }`

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

## `LastInvokedScriptByProjectSchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/ChatView.logic.ts:276](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/ChatView.logic.ts#L276)
- Shape: `Record<makeEntityId, string>`

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

## `LocalStorageOperationError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useLocalStorage.ts:5](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useLocalStorage.ts#L5-L16)
- Shape: `{ _tag: "LocalStorageOperationError"; operation: "read" | "decode" | "encode" | "update" | "write" | "remove" | "notify"; storageKey: string; cause: unknown }`

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

## `McpAppHandoff`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/mcp/mcpApps.ts:15](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/mcp/mcpApps.ts#L15)
- Shape: `{ kind: "open"; link: (mcpUrl: string) => string } | { kind: "copy-url"; link: string } | { kind: "copy-message"; link: string; appLink?: (message: string) => string; message: (mcpUrl: string) => string } | { kind: "commands"; commands: (mcpUrl: string) => readonly string[] }`

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

## `McpApprovalAnswer`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/auth/ConnectAgentSurface.tsx:71](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/auth/ConnectAgentSurface.tsx#L71)
- Shape: `{ kind: "ok"; value: A } | { kind: "redirect"; url: string } | { kind: "error"; message: string }`

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

## `McpGate`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/mcp/mcpGate.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/mcp/mcpGate.ts#L19)
- Shape: `{ kind: "checking" } | { kind: "sign-in" } | { kind: "disconnected"; relay: "offline" | "failed" | null } | { kind: "update" } | { kind: "no-relay-read" } | { kind: "error"; message: string } | { kind: "turn-on" } | { kind: "offline"; reachability: Unreachable | null } | { kind: "open"; mcpUrl: string }`

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

## `McpSignInStep`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/McpSignInDialog.tsx:21](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/McpSignInDialog.tsx#L21)
- Shape: `{ ok: true; value: A } | { ok: false; message: string }`

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

## `PersistedComposerDraftFileAttachment`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/composerDraftStore.ts:315](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/composerDraftStore.ts#L315-L323)
- Shape: `{ id: string; name: string; mimeType: string; sizeBytes: number; attachmentId?: string; environmentId?: makeEntityId; source?: PastedTextAttachmentSource }`

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

## `PersistedComposerFileAttachment`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/composerDraftStore.ts:303](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/composerDraftStore.ts#L303-L311)
- Shape: `{ id: string; name: string; mimeType: string; sizeBytes: number; attachmentId: string; environmentId: makeEntityId; source?: PastedTextAttachmentSource }`

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

## `PersistedComposerImageAttachment`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/composerDraftStore.ts:254](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/composerDraftStore.ts#L254-L261)
- Shape: `{ id: string; name: string; mimeType: string; sizeBytes: number; source?: SnapShotSource; dataUrl: string }`

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

## `PreferredEditorEnvironmentRequiredError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/editorPreferences.ts:27](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/editorPreferences.ts#L27-L38)
- Shape: `{ _tag: "PreferredEditorEnvironmentRequiredError"; targetPath: string }`

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

## `PreferredEditorUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/editorPreferences.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/editorPreferences.ts#L40-L53)
- Shape: `{ _tag: "PreferredEditorUnavailableError"; environmentId: makeEntityId; targetPath: string; availableEditorIds: EditorId[] }`

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

## `PreviewAnnotationCapture`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/previewAnnotation.ts:5](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/previewAnnotation.ts#L5)
- Shape: `{ status: "captured"; file: File } | { status: "none" } | { status: "failed" }`

<a id="schema-previewerror-apps-web-src-components-files-previewfailure-ts"></a>

## `PreviewError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/previewFailure.ts:9](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/previewFailure.ts#L9-L11)
- Shape: `{ _tag: "PreviewError"; code: Schema.declare }`

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

## `PreviewMiniPlayerGestureStep`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/preview/previewMiniPlayerGesture.ts:32](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/preview/previewMiniPlayerGesture.ts#L32)
- Shape: `{ kind: "ignore" } | { kind: "end" } | { kind: "move"; position: PreviewMiniPlayerPosition } | { kind: "resize"; frame: PreviewMiniPlayerFrame }`

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

## `PreviewMiniPlayerSource`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/previewMiniPlayerStore.ts:15](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/previewMiniPlayerStore.ts#L15)
- Shape: `{ kind: "browser"; tabId: string } | { kind: "device"; hostId: string; deviceId: string; platform: DevicePlatform; name: string }`

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

## `PreviewWebviewBridgeUnavailableError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/previewWebviewConfigState.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/previewWebviewConfigState.ts#L19-L26)
- Shape: `{ _tag: "PreviewWebviewBridgeUnavailableError"; environmentId: string }`

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

## `PreviewWebviewConfigError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/previewWebviewConfigState.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/previewWebviewConfigState.ts#L40-L43)
- Shape: `PreviewWebviewBridgeUnavailableError | PreviewWebviewConfigLoadError`

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

## `PreviewWebviewConfigLoadError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/previewWebviewConfigState.ts:28](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/previewWebviewConfigState.ts#L28-L38)
- Shape: `{ _tag: "PreviewWebviewConfigLoadError"; environmentId: string; cause: unknown }`

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

## `PrimaryEnvironmentAuthSessionTimeoutError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/auth.ts:87](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/auth.ts#L87-L97)
- Shape: `{ _tag: "PrimaryEnvironmentAuthSessionTimeoutError"; timeoutMs: number; elapsedMs: number }`

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

## `PrimaryEnvironmentDisabledError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/target.ts:64](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/target.ts#L64-L71)
- Shape: `{ _tag: "PrimaryEnvironmentDisabledError" }`

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

## `PrimaryEnvironmentPairingCredentialRejectedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/auth.ts:75](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/auth.ts#L75-L85)
- Shape: `{ _tag: "PrimaryEnvironmentPairingCredentialRejectedError"; providedLength: number; cause: unknown }`

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

## `PrimaryEnvironmentPairingCredentialRequiredError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/auth.ts:99](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/auth.ts#L99-L108)
- Shape: `{ _tag: "PrimaryEnvironmentPairingCredentialRequiredError"; providedLength: number }`

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

## `PrimaryEnvironmentProtocolUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/target.ts:36](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/target.ts#L36-L46)
- Shape: `{ _tag: "PrimaryEnvironmentProtocolUnsupportedError"; source: "configured" | "window-origin" | "desktop-managed"; protocol: string }`

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

## `PrimaryEnvironmentRequestError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/auth.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/auth.ts#L40-L71)
- Shape: `{ _tag: "PrimaryEnvironmentRequestError"; operation: "fetch-session-state" | "exchange-bootstrap-credential" | "fetch-environment-descriptor" | "create-pairing-credential" | "list-pairing-links" | "revoke-pairing-link" | "list-client-sessions" | "revoke-client-session" | "revoke-other-client-sessions"; status: number; pairingLinkId?: string; sessionId?: string; cause: unknown }`

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

## `PrimaryEnvironmentTargetRead`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/connection/platform.ts:606](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/connection/platform.ts#L606)
- Shape: `{ _tag: "Success"; target: PrimaryEnvironmentTarget | null } | { _tag: "Failure"; cause: unknown }`

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

## `PrimaryEnvironmentUrlInvalidError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/environments/primary/target.ts:23](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/environments/primary/target.ts#L23-L34)
- Shape: `{ _tag: "PrimaryEnvironmentUrlInvalidError"; source: "configured" | "window-origin" | "desktop-managed"; urlKind: "http-base-url" | "websocket-base-url" | "development-server-url" | "window-location-url"; cause: unknown }`

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

## `ProjectFileCopy`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/addProjectToMachine.ts:98](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/addProjectToMachine.ts#L98)
- Shape: `{ phase: "copying" } | { phase: "failed"; title: string | Msg; failures: string[] }`

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

## `ProviderEnvironmentAccess`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/ProviderSettingsPanel.logic.ts:67](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/ProviderSettingsPanel.logic.ts#L67)
- Shape: `{ kind: "editable" } | { kind: "loading"; reason: "config" | "permissions" } | { kind: "read-only" } | { kind: "unavailable" } | { kind: "error" }`

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

## `PullRequestFinding`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/pullRequest/pullRequestDetail.logic.ts:1162](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/pullRequest/pullRequestDetail.logic.ts#L1162)
- Shape: `{ kind: "thread"; thread: PullRequestReviewThread } | { kind: "check"; check: PullRequestCheck } | { kind: "comment"; comment: PullRequestComment }`

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

## `PullRequestLinkSubject`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/pullRequest/pullRequestDetail.logic.ts:711](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/pullRequest/pullRequestDetail.logic.ts#L711)
- Shape: `{ kind: "comment"; author: PullRequestActor | null; createdAt: string; reviewState: string | null; excerpt: string | null } | { kind: "commit"; commit: PullRequestCommit }`

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

## `PullRequestListPreferencesSchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/pullRequest/pullRequestListPreferences.ts:61](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/pullRequest/pullRequestListPreferences.ts#L61-L74)
- Shape: `{ involvement: PullRequestInvolvement; state: PullRequestListState; environmentId?: makeEntityId; projectId?: makeEntityId; host?: string; q?: string; draft: unknown; review: unknown; checks: unknown; author?: string; labels?: string[]; sort?: PullRequestListSort }`

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

## `PullRequestListSort`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/pullRequest/pullRequestListPreferences.ts:11](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/pullRequest/pullRequestListPreferences.ts#L11-L19)
- Shape: `"ready" | "blocked" | "updated" | "newest" | "oldest" | "largest" | "smallest"`

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

## `PullRequestTimelineRow`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/pullRequest/pullRequestDetail.logic.ts:511](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/pullRequest/pullRequestDetail.logic.ts#L511)
- Shape: `{ kind: "event"; event: PullRequestTimelineEvent } | { kind: "comments"; events: PullRequestTimelineEvent[] }`

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

## `RelayClientInstallConfirmationConflictError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/relayClientInstallDialog.ts:8](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/relayClientInstallDialog.ts#L8-L20)
- Shape: `{ _tag: "RelayClientInstallConfirmationConflictError"; requestedVersion: string; activeVersion: string; activeDialogStatus: "confirming" | "installing" | "closing"; activeInstallStage?: RelayClientInstallProgressStageSchema }`

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

## `RelayClientInstallDialogState`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/relayClientInstallDialog.ts:22](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/relayClientInstallDialog.ts#L22)
- Shape: `{ status: "idle" } | { status: "confirming"; version: string } | { status: "installing"; version: string; stage: RelayClientInstallProgressStage } | { status: "closing"; view: { status: "confirming"; version: string } | { status: "installing"; version: string; stage: RelayClientInstallProgressStage } }`

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

## `RemoteOpenState`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/remoteOpen.ts:30](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/remoteOpen.ts#L30)
- Shape: `{ mode: "local-exec" } | { mode: "remote-links"; host: RemoteOpenHost } | { mode: "remote-unavailable" }`

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

## `RenderablePatch`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/lib/diffRendering.ts:111](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/lib/diffRendering.ts#L111)
- Shape: `{ kind: "files"; files: FileDiffMetadata[]; sourceFiles: FileDiffMetadata[] } | { kind: "raw"; text: string; reason: string }`

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

## `ReviewCommentContextSchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/reviewCommentContext.ts:20](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/reviewCommentContext.ts#L20-L33)
- Shape: `{ id: string; sectionId: string; sectionTitle: string; filePath: string; startIndex: number; endIndex: number; rangeLabel: string; text: string; diff: string; fenceLanguage?: string; selection?: { start: number; side: "additions" | "deletions"; end: number; endSide: "additions" | "deletions" }; pullRequest?: PullRequestContextMetadata }`

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

## `SecretProviderTarget`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/SecretProviderDialog.logic.ts:66](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/SecretProviderDialog.logic.ts#L66)
- Shape: `{ mode: "add" } | { mode: "edit"; id: SecretProviderId }`

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

## `SidebarListItem`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/Sidebar.logic.ts:224](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/Sidebar.logic.ts#L224)
- Shape: `{ kind: "thread"; key: string; section: SidebarSection } | { kind: "marker"; marker: SidebarListMarker }`

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

## `SimlockTokenEntry`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/simlockDeviceHostsSettings.logic.ts:75](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/simlockDeviceHostsSettings.logic.ts#L75)
- Shape: `{ kind: "saved" } | { kind: "new"; value: SettingsSecretValue } | { kind: "cleared" }`

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

## `SlidePainted`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/office/slide-protocol.ts:14](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/office/slide-protocol.ts#L14)
- Shape: `{ kind: "painted"; bitmap: ImageBitmap; vectors: VectorRequest[] } | { kind: "failed" } | { kind: "cancelled" }`

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

## `StoredWelcomeImportSelection`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/onboarding/welcomeState.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/onboarding/welcomeState.ts#L17)
- Shape: `WelcomeImportSelection | null`

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

## `SupersededError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/office/worker-rpc.ts:48](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/office/worker-rpc.ts#L48-L50)
- Shape: `{ _tag: "SupersededError"; message: string }`

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

## `T3ConnectTurnOn`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/t3ConnectState.ts:62](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/t3ConnectState.ts#L62)
- Shape: `{ kind: "here" } | { kind: "policy"; reason: string } | { kind: "on-host" }`

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

## `TerminalLinkPreviewOpenError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/preview/openTerminalLinkInPreview.ts:20](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/preview/openTerminalLinkInPreview.ts#L20-L27)
- Shape: `{ _tag: "TerminalLinkPreviewOpenError" }`

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

## `TextPreviewRequest`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/largeTextProtocol.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/largeTextProtocol.ts#L12)
- Shape: `{ type: "open"; src?: string; text?: string; truncated?: boolean; sizeBytes?: number; delimiter: "," | "\t" | null } | { type: "page"; index: number } | { type: "copy" }`

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

## `ThemeLibraryStorageError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/themePalette.ts:1340](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/themePalette.ts#L1340-L1354)
- Shape: `{ _tag: "ThemeLibraryStorageError"; storageKey: string; operation: "read" | "write"; reason: "malformed" | "storage-unavailable"; cause?: unknown }`

<a id="schema-themepreference-apps-web-src-themepalette-ts"></a>

## `ThemePreference`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/themePalette.ts:57](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/themePalette.ts#L57)
- Shape: `string`

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

## `ThemeStorageError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useTheme.ts:96](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useTheme.ts#L96-L108)
- Shape: `{ _tag: "ThemeStorageError"; operation: "read" | "write"; storageKey: string; theme?: string; cause: unknown }`

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

## `ThreadActiveReorderUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:182](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L182-L192)
- Shape: `{ _tag: "ThreadActiveReorderUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadArchiveBlockedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:69](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L69-L79)
- Shape: `{ _tag: "ThreadArchiveBlockedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadAutoSettleOptOutUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:136](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L136-L150)
- Shape: `{ _tag: "ThreadAutoSettleOptOutUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadDetailsLimits`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/ThreadDetailsUsage.logic.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/ThreadDetailsUsage.logic.ts#L19)
- Shape: `{ kind: "instance"; limits: ServerProviderUsageLimits } | { kind: "pool"; windows: LimitPoolWindow[] }`

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

## `ThreadPinReorderUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:166](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L166-L180)
- Shape: `{ _tag: "ThreadPinReorderUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadPinningUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:152](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L152-L164)
- Shape: `{ _tag: "ThreadPinningUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadRouteTarget`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/threadRoutes.ts:8](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/threadRoutes.ts#L8)
- Shape: `{ kind: "server"; threadRef: ScopedThreadRef } | { kind: "draft"; draftId: DraftId }`

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

## `ThreadSettlementUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:81](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L81-L95)
- Shape: `{ _tag: "ThreadSettlementUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadSnoozeBlockedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:113](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L113-L125)
- Shape: `{ _tag: "ThreadSnoozeBlockedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `ThreadSnoozeUnsupportedError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useThreadActions.ts:97](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useThreadActions.ts#L97-L111)
- Shape: `{ _tag: "ThreadSnoozeUnsupportedError"; environmentId: makeEntityId; threadId: makeEntityId }`

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

## `TimelineFollow`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/timelineViewport.ts:250](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/timelineViewport.ts#L250)
- Shape: `{ mode: "following" } | { mode: "released"; atEnd: boolean }`

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

## `TimelineFollowEvent`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/timelineViewport.ts:254](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/timelineViewport.ts#L254)
- Shape: `{ type: "navigated" } | { type: "followEnd" } | { type: "reachedEnd" } | { type: "leftEnd" }`

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

## `TimelineListOpening`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/timelineViewport.ts:18](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/timelineViewport.ts#L18)
- Shape: `{ mounted: false } | { mounted: true; identity: string | null }`

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

## `TimelineNavigation`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/timelineViewport.ts:42](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/timelineViewport.ts#L42)
- Shape: `{ source: "wheel"; direction: TimelineScrollDirection } | { source: "touch" } | { source: "pointer"; onScrollbar: boolean } | { source: "key"; key: string; direction: TimelineScrollDirection } | { source: "scroll" } | { source: "command"; releasesFollow: boolean }`

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

## `UsagePriceWriteResult`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/usage/usagePriceTargets.ts:23](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/usage/usagePriceTargets.ts#L23)
- Shape: `{ status: "saved" } | { status: "failed"; error: string }`

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

## `WelcomeImportSelection`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/onboarding/welcomeState.ts:8](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/onboarding/welcomeState.ts#L8-L14)
- Shape: `{ knownKeys: string[]; keys: string[]; optedOut: boolean }`

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

## `WizardNavigation`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/AddProviderInstanceDialog.logic.ts:3](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/AddProviderInstanceDialog.logic.ts#L3)
- Shape: `{ kind: "navigate"; step: number } | { kind: "blocked"; step: number; error: string }`

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

## `WizardStep`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/browserImportWizard.logic.ts:58](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/browserImportWizard.logic.ts#L58)
- Shape: `{ step: "quit" } | { step: "fullDiskAccess"; resume: "configure" | "import"; checked?: boolean } | { step: "configure" } | { step: "checking"; check: "browser" | "fullDiskAccess" } | { step: "importing" } | { step: "done"; imported: number; skipped: number; skippedDomains: string[]; targetName: string } | { step: "blocked"; reason: BrowserImportFailureReason; message?: string }`

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

## `WizardTarget`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/browserImportWizard.logic.ts:11](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/browserImportWizard.logic.ts#L11)
- Shape: `{ kind: "new"; profileId: string } | { kind: "existing"; profileId: string; name: string }`

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

## `WizardTargetSelection`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/browserImportWizard.logic.ts:15](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/browserImportWizard.logic.ts#L15)
- Shape: `{ kind: "new" } | { kind: "existing"; profileId: string }`

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

## `WordLayoutStep`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/office/word-protocol.ts:52](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/office/word-protocol.ts#L52)
- Shape: `{ done: false } | { done: true; pages: WordPageSize[]; kept: boolean[] }`

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

## `WordLink`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/office/word-protocol.ts:9](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/office/word-protocol.ts#L9)
- Shape: `{ kind: "external"; url: string } | { kind: "internal"; bookmark: string }`

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

## `WorktreeLayoutApprovalOutcome`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/worktreeLayoutApproval.ts:77](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/worktreeLayoutApproval.ts#L77)
- Shape: `{ status: "proceed" } | { status: "cancelled" } | { status: "blocked"; message: string }`

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

## `encodePullRequestDragPayload`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/chat/composerMentionDrag.ts:12](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/chat/composerMentionDrag.ts#L12)
- Shape: `Schema.encodeSync`

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

## `isBrowserRecordingStartCancelledError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/browserRecording.ts:116](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/browserRecording.ts#L116)
- Shape: `Schema.is`

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

## `isBrowserSettingsReadError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/browser/openFileInPreview.ts:53](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/browser/openFileInPreview.ts#L53)
- Shape: `Schema.is`

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

## `isCloudEnvironmentLinkError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/cloud/linkEnvironment.ts:50](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/cloud/linkEnvironment.ts#L50)
- Shape: `Schema.is`

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

## `isPreviewError`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/files/previewFailure.ts:13](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/files/previewFailure.ts#L13)
- Shape: `Schema.is`

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

## `lastUsedProjectKeySchema`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/hooks/useHandleNewThread.ts:64](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/hooks/useHandleNewThread.ts#L64)
- Shape: `string | null`

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

## `parseEasDeviceHostDraft`

- Kind: schema
- Workspace: [@t3tools/web](../../architecture/t3tools-web.md)
- Source: [apps/web/src/components/settings/easDeviceHostsSettings.logic.ts:10](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/web/src/components/settings/easDeviceHostsSettings.logic.ts#L10)
- Shape: `Schema.decodeUnknownOption`
