# Schemas: t3/provider

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

23 entries.

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

## `AntigravityInstallationError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/AntigravityInstallation.ts:81](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/AntigravityInstallation.ts#L81-L92)
- Shape: `{ _tag: "AntigravityInstallationError"; operation: string; detail: string; cause?: unknown }`

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

## `AntigravityProbeIncompatibility`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/AntigravityProvider.ts:206](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/AntigravityProvider.ts#L206-L209)
- Shape: `{ _tag: "AntigravityProbeIncompatibility"; version: string; detail: string }`

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

## `AntigravitySkillsProbeError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/AntigravitySkills.ts:90](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/AntigravitySkills.ts#L90-L103)
- Shape: `{ _tag: "AntigravitySkillsProbeError"; reason: "scan-budget-exhausted" | "filesystem-error"; path: string; cause?: unknown }`

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

## `BUNDLED_MODEL_MANIFEST`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ModelManifest.ts:110](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ModelManifest.ts#L110-L111)
- Shape: `Schema.decodeUnknownSync`

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

## `ChatGptCatalogError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/CodexChatGptModels.ts:7](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/CodexChatGptModels.ts#L7-L10)
- Shape: `{ _tag: "ChatGptCatalogError"; status: number }`

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

## `ClaudeCodeProfileSchema`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ClaudeModelManifest.ts:6](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ClaudeModelManifest.ts#L6-L18)
- Shape: `{ effortMap?: Record<TrimmedNonEmptyString, TrimmedNonEmptyString | null>; modelSuffixes?: Record<TrimmedNonEmptyString, Record<TrimmedNonEmptyString, TrimmedNonEmptyString>>; contextWindowTokens?: Record<TrimmedNonEmptyString, number>; fixedContextWindowTokens?: number }`

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

## `ClaudeModelAdapterSchema`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ClaudeModelManifest.ts:47](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ClaudeModelManifest.ts#L47-L49)
- Shape: `{ claudeCode?: { minVersion?: …; maxVersionExclusive?: … } }`

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

## `ClaudeProfileAdapterSchema`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ClaudeModelManifest.ts:20](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ClaudeModelManifest.ts#L20-L22)
- Shape: `{ claudeCode?: ClaudeCodeProfileSchema }`

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

## `CodexInstallationError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/CodexInstallation.ts:124](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/CodexInstallation.ts#L124-L135)
- Shape: `{ _tag: "CodexInstallationError"; operation: string; detail: string; cause?: unknown }`

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

## `CodexScanState`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/codexUsage.ts:136](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/codexUsage.ts#L136-L160)
- Shape: `{ model: Schema.mutableKey; speed: Schema.mutableKey; sessionId: Schema.mutableKey; lastUsageSignature: Schema.mutableKey; lastCumulativeUsage: Schema.mutableKey; sequenceStartSignature: Schema.mutableKey; latestCumulativeAtMs: Schema.mutableKey; unreportedRequests: Schema.mutableKey; requestLedgerActive: Schema.mutableKey; malformedRecords: Schema.mutableKey; malformedRecordTimestamps: Schema.mutableKey; sawSessionMeta: Schema.mutableKey; modelProvider: Schema.mutableKey; turnId: Schema.mutableKey; sawThreadSettings: Schema.mutableKey; suppressingForkCopies: Schema.mutableKey; forkCopyAnchorMs: Schema.mutableKey }`

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

## `CodexShadowHomeEntryConflictError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/CodexHomeLayout.ts:128](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/CodexHomeLayout.ts#L128-L140)
- Shape: `{ _tag: "CodexShadowHomeEntryConflictError"; sharedHomePath: string; effectiveHomePath: string; entryName: string; linkPath: string; targetPath: string }`

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

## `CodexShadowHomeError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/CodexHomeLayout.ts:155](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/CodexHomeLayout.ts#L155-L160)
- Shape: `CodexShadowHomeFileSystemError | CodexShadowHomePathConflictError | CodexShadowHomeEntryConflictError | CodexShadowHomePrivateEntrySymlinkError`

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

## `CodexShadowHomeFileSystemError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/CodexHomeLayout.ts:102](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/CodexHomeLayout.ts#L102-L117)
- Shape: `{ _tag: "CodexShadowHomeFileSystemError"; sharedHomePath: string; effectiveHomePath: string; operation: "readLink" | "makeDirectory" | "readDirectory" | "remove" | "symlink"; path: string; targetPath?: string; entryName?: string; cause: unknown }`

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

## `CodexShadowHomePathConflictError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/CodexHomeLayout.ts:119](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/CodexHomeLayout.ts#L119-L126)
- Shape: `{ _tag: "CodexShadowHomePathConflictError" }`

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

## `CodexShadowHomePrivateEntrySymlinkError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Drivers/CodexHomeLayout.ts:142](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Drivers/CodexHomeLayout.ts#L142-L153)
- Shape: `{ _tag: "CodexShadowHomePrivateEntrySymlinkError"; sharedHomePath: string; effectiveHomePath: string; entryName: string; path: string }`

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

## `EventNdjsonLogDirectoryError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/EventNdjsonLogger.ts:89](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/EventNdjsonLogger.ts#L89-L99)
- Shape: `{ _tag: "EventNdjsonLogDirectoryError"; directory: string; cause: unknown }`

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

## `ProviderInstanceNotFoundError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Errors.ts:4](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Errors.ts#L4-L14)
- Shape: `{ _tag: "ProviderInstanceNotFoundError"; instanceId: string; cause?: unknown }`

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

## `ProviderWorkspaceMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/Errors.ts:18](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/Errors.ts#L18-L28)
- Shape: `{ _tag: "ProviderWorkspaceMissingError"; threadId: string; cwd: string }`

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

## `Request`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/CodexManagedTokenProtocol.ts:6](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/CodexManagedTokenProtocol.ts#L6-L11)
- Shape: `{ version: 1; instanceId: string; environmentId: string; profileKey: string }`

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

## `Response`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/CodexManagedTokenProtocol.ts:12](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/CodexManagedTokenProtocol.ts#L12)
- Shape: `{ token: string }`

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

## `decodeClaudeModelAdapter`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ClaudeModelManifest.ts:55](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ClaudeModelManifest.ts#L55)
- Shape: `Schema.decodeUnknownOption`

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

## `decodeClaudeProfileAdapter`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ClaudeModelManifest.ts:54](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ClaudeModelManifest.ts#L54)
- Shape: `Schema.decodeUnknownOption`

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

## `encodeManifestCache`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/src/provider/ModelManifest.ts:179](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/apps/server/src/provider/ModelManifest.ts#L179-L183)
- Shape: `Schema.encodeEffect`
