# Schemas: t3/scripts

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

23 entries.

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

## `MigrateDevDbDestinationBusyError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:90](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L90-L108)
- Shape: `{ _tag: "MigrateDevDbDestinationBusyError"; databasePath: string; reason: "write-locked" | "wal-held" | "seed-running"; cause?: unknown }`

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

## `MigrateDevDbLegacySourceError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:66](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L66-L76)
- Shape: `{ _tag: "MigrateDevDbLegacySourceError"; sourcePath: string; legacyThreads: number }`

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

## `MigrateDevDbNotInWorktreeError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:26](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L26-L33)
- Shape: `{ _tag: "MigrateDevDbNotInWorktreeError" }`

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

## `MigrateDevDbPhaseError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:110](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L110-L121)
- Shape: `{ _tag: "MigrateDevDbPhaseError"; phase: "lock" | "snapshot" | "prune" | "compact" | "migrate"; databasePath: string; cause: unknown }`

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

## `MigrateDevDbResumableWorkError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:361](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L361-L368)
- Shape: `{ _tag: "MigrateDevDbResumableWorkError"; databasePath: string; threads: number }`

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

## `MigrateDevDbServerRunningError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:78](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L78-L88)
- Shape: `{ _tag: "MigrateDevDbServerRunningError"; databasePath: string; pid: number }`

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

## `MigrateDevDbSharedHomeError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:35](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L35-L42)
- Shape: `{ _tag: "MigrateDevDbSharedHomeError" }`

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

## `MigrateDevDbSourceIsDestinationError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:55](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L55-L64)
- Shape: `{ _tag: "MigrateDevDbSourceIsDestinationError"; sourcePath: string }`

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

## `MigrateDevDbSourceMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/migrate-dev-db.ts:44](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/migrate-dev-db.ts#L44-L53)
- Shape: `{ _tag: "MigrateDevDbSourceMissingError"; sourcePath: string }`

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

## `ServerCliBootstrapTooLargeError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:62](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L62-L72)
- Shape: `{ _tag: "ServerCliBootstrapTooLargeError"; bootstrapPath: string; bytes: number }`

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

## `ServerCliBuildAssetMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:39](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L39-L48)
- Shape: `{ _tag: "ServerCliBuildAssetMissingError"; assetPath: string }`

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

## `ServerCliCommandExitError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:3](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L3-L15)
- Shape: `{ _tag: "ServerCliCommandExitError"; command: string; args: string[]; cwd?: string; exitCode: number }`

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

## `ServerCliDevelopmentIconSourceMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:17](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L17-L26)
- Shape: `{ _tag: "ServerCliDevelopmentIconSourceMissingError"; sourcePath: string }`

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

## `ServerCliDevelopmentIconTargetMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:28](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L28-L37)
- Shape: `{ _tag: "ServerCliDevelopmentIconTargetMissingError"; targetPath: string }`

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

## `ServerCliExecutableImportError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/cliErrors.ts:50](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/cliErrors.ts#L50-L60)
- Shape: `{ _tag: "ServerCliExecutableImportError"; bundlePath: string; specifiers: string[] }`

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

## `SqliteStateDatabaseError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:81](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L81-L92)
- Shape: `{ _tag: "SqliteStateDatabaseError"; operation: SqliteStateOperation; databasePath: string; cause: unknown }`

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

## `SqliteStateDatabaseMissingError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:49](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L49-L58)
- Shape: `{ _tag: "SqliteStateDatabaseMissingError"; databasePath: string }`

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

## `SqliteStateEmptySqlError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L40-L47)
- Shape: `{ _tag: "SqliteStateEmptySqlError" }`

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

## `SqliteStateMissingSqlSourceError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:31](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L31-L38)
- Shape: `{ _tag: "SqliteStateMissingSqlSourceError" }`

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

## `SqliteStateMultipleSqlSourcesError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:22](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L22-L29)
- Shape: `{ _tag: "SqliteStateMultipleSqlSourcesError" }`

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

## `SqliteStateOperation`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L19)
- Shape: `"query" | "exec"`

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

## `SqliteStateSharedHomeMutationError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:60](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L60-L67)
- Shape: `{ _tag: "SqliteStateSharedHomeMutationError" }`

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

## `SqliteStateSqlFileError`

- Kind: schema
- Workspace: [t3](../../architecture/t3.md)
- Source: [apps/server/scripts/t3-sqlite-state.ts:69](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/apps/server/scripts/t3-sqlite-state.ts#L69-L79)
- Shape: `{ _tag: "SqliteStateSqlFileError"; filePath: string; cause: unknown }`
