# Schemas: source-control-gitcafe

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

21 entries.

<a id="schema-actor-packages-source-control-gitcafe-src-server-gitcafepullrequestjson-ts"></a>

## `Actor`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:27](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L27-L49)
- Shape: `{ kind: "local"; actorId: string; handle: TrimmedNonEmptyString; displayName: string | null; avatarUrl: string | null; bot?: boolean } | { kind: "github"; actorId: string; login: TrimmedNonEmptyString; avatarUrl: string | null; accountType?: string | null; linkedProfile?: { handle: TrimmedNonEmptyString; actorId?: string } | null } | { kind: "unavailable"; actorId: string }`

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

## `GitCafeActorEntries`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:179](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L179-L182)
- Shape: `{ items: { id: TrimmedNonEmptyString; actor: Actor }[]; next: string | null }`

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

## `GitCafeApiError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeApi.ts:27](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeApi.ts#L27-L39)
- Shape: `{ _tag: "GitCafeApiError"; host: string; operation: string; status: number | null; reason: GitCafeApiFailure; detail: string; userFacingDetail?: string; cause?: unknown }`

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

## `GitCafeApiFailure`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeApi.ts:19](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeApi.ts#L19-L25)
- Shape: `"missing-tool" | "unauthenticated" | "rate-limited" | "not-found" | "failed"`

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

## `GitCafeChecks`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:267](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L267-L281)
- Shape: `{ items: { id?: string | null; provider?: string | null; githubApp?: string | null; name: TrimmedNonEmptyString; status: "queued" | "in_progress" | "completed"; conclusion: string | null; summary: string | null; detailsUrl: string | null }[]; next: string | null }`

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

## `GitCafeCliFailedError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeCredentials.ts:49](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeCredentials.ts#L49-L56)
- Shape: `{ _tag: "GitCafeCliFailedError"; host: string; cause: unknown }`

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

## `GitCafeCliMissingError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeCredentials.ts:31](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeCredentials.ts#L31-L38)
- Shape: `{ _tag: "GitCafeCliMissingError"; host: string }`

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

## `GitCafeCliTimeoutError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeCredentials.ts:58](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeCredentials.ts#L58-L65)
- Shape: `{ _tag: "GitCafeCliTimeoutError"; host: string; timeoutMs: number; cause: unknown }`

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

## `GitCafeComments`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:138](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L138-L141)
- Shape: `{ items: { id: TrimmedNonEmptyString; threadId: TrimmedNonEmptyString; version?: NonNegativeInt; author: Actor; body: string | null; createdAt: string; path: string | null; line: number | null; side: "left" | "right" | null; commitOid: string | null; resolvedAt: string | null; capabilities?: {…} }[]; next: string | null }`

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

## `GitCafeCommits`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:157](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L157-L164)
- Shape: `{ items: { oid: TrimmedNonEmptyString; summary: string; time: number }[]; truncated: boolean; next: string | null; headOid: string }`

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

## `GitCafeDiff`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:262](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L262-L265)
- Shape: `{ items: GitCafeDiffFiles; truncated?: boolean }`

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

## `GitCafeDiffFiles`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:260](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L260)
- Shape: `{ path: string; oldPath?: string | null; status?: "added" | "deleted" | "modified" | "typeChanged" | "conflicted" | "renamed" | "copied"; additions?: NonNegativeInt; deletions?: NonNegativeInt; binary?: boolean; tooLarge?: boolean; hunksOmitted?: boolean; isSubmodule?: boolean; oldOid?: string; newOid?: string; hunks?: {…}[] }[]`

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

## `GitCafeLabels`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:166](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L166-L176)
- Shape: `{ items: { id: TrimmedNonEmptyString; name: TrimmedNonEmptyString; color: string | null; description?: string | null }[]; next: string | null }`

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

## `GitCafeNotSignedInError`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/GitCafeCredentials.ts:40](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/GitCafeCredentials.ts#L40-L47)
- Shape: `{ _tag: "GitCafeNotSignedInError"; host: string }`

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

## `GitCafePeople`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:284](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L284-L293)
- Shape: `{ items: { handle: TrimmedNonEmptyString; displayName?: string | null; avatarUrl?: string | null }[]; next: string | null }`

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

## `GitCafePull`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:54](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L54-L73)
- Shape: `{ id: TrimmedNonEmptyString; number: PositiveInt; title: TrimmedNonEmptyString; state: "open" | "closed" | "merged"; draft: boolean; sourceBranch: string; targetBranch: string; headOid: string | null; author: Actor; createdAt: string; updatedAt: string; version: NonNegativeInt; reviewers?: { actor: Actor }[]; labels?: { name: TrimmedNonEmptyString; color: string | null }[] }`

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

## `GitCafePullDetail`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:81](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L81-L109)
- Shape: `{ description: string | null; closedAt: string | null; mergedAt: string | null; sourceRepo: { owner: string; name: string } | null; observedBaseOid?: string | null; mergeRoute?: "native" | "provider" | "unsupported"; lockedAt?: string | null; viewerActorId?: string | null; mergeResultOid?: string | null; providerMerge?: { mergedAt: string; mergeCommitOid?: string | null } | null; capabilities: { comment: boolean; review: boolean; merge: boolean; edit: boolean; moderate: boolean } }`

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

## `GitCafePulls`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:76](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L76-L79)
- Shape: `{ items: GitCafePull[]; next: string | null }`

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

## `GitCafeReactions`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:184](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L184-L201)
- Shape: `{ items: { subject: {…}; emoji: {…} | {…}; count: PositiveInt; viewerReactionId: string | null; reactors: Actor[] }[]; next: string | null }`

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

## `GitCafeReviews`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:143](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L143-L155)
- Shape: `{ items: { id: TrimmedNonEmptyString; author: Actor; body: string | null; verdict: "approve" | "request_changes" | "comment"; dismissedAt: string | null; createdAt: string }[]; next: string | null }`

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

## `GitCafeStackEnvelope`

- Kind: schema
- Workspace: [@t3tools/source-control-gitcafe](../../architecture/t3tools-source-control-gitcafe.md)
- Source: [packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts:222](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-gitcafe/src/server/gitCafePullRequestJson.ts#L222)
- Shape: `{ stack: { id: TrimmedNonEmptyString; number: PositiveInt; revision: PositiveInt; landingBase: string; members: {…}[] } | null }`
