# Schemas: source-control-cursor-origin

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

11 entries.

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

## `OriginCheckRunListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:225](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L225-L240)
- Shape: `{ checkRuns?: { name: string; status?: … | null; conclusion?: … | null; detailsUrl?: … | null; output?: {…} | null }[] | null; nextPageToken?: string | null }`

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

## `OriginCliError`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/OriginCli.ts:35](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/OriginCli.ts#L35-L56)
- Shape: `{ _tag: "OriginCliError"; operation: string; cwd: string; detail: string; userFacingDetail?: string; reason: "missing-tool" | "unauthenticated" | "rate-limited" | "not-found" | "invalid-response" | "failed"; httpStatus?: number; retryAt?: number; cause?: unknown }`

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

## `OriginCommentListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:157](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L157-L160)
- Shape: `{ comments?: { id: string; thread?: … | null; body?: …; author?: … | null; createdAt: string; updatedAt?: … }[] | null; nextPageToken?: string | null }`

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

## `OriginCommitListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:182](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L182-L206)
- Shape: `{ commits?: { sha: string; commit: {…}; stats?: {…} | null }[] | null; nextPageToken?: string | null }`

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

## `OriginFileListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:208](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L208-L223)
- Shape: `{ files?: { filename: string; status?: … | null; patch?: … | null; previousFilename?: … | null; changes?: … | null }[] | null; nextPageToken?: string | null }`

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

## `OriginGitRefSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:280](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L280-L282)
- Shape: `{ object?: { sha?: string | null } | null }`

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

## `OriginMergeabilitySchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:274](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L274-L278)
- Shape: `{ verdict?: string | null; headSha?: string | null; blockers?: { kind?: … | null }[] | null }`

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

## `OriginPullRequestListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:121](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L121-L124)
- Shape: `{ pullRequests?: OriginPullRequestSchema[] | null; nextPageToken?: string | null }`

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

## `OriginPullRequestSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:75](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L75-L118)
- Shape: `{ number: number | number; state?: string | null; draft?: boolean | null; merged?: boolean | null; title: string; body?: string | null; head: { ref: string; sha?: string | null }; base: { ref: string; sha?: string | null }; author?: { user?: { id: …; email: …; displayName: …; handle: … } | null; app?: { id: …; displayName: … } | null; serviceAccount?: { id: …; displayName: … } | null } | null; createdAt?: string | null; updatedAt?: string | null; closedAt?: string | null; mergedAt?: string | null; additions?: number | number | null; deletions?: number | number | null; changedFiles?: number | number | null; labels?: { name: string; color?: … | null; description?: … | null }[] | null; webUrl: string; stack?: { parentPullRequest?: { number: … } | null } | null; version?: { headSha?: string | null; baseSha?: string | null; potentialMergeCommit?: { state: …; baseSha: … } | null } | null }`

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

## `OriginRepositorySchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:126](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L126-L134)
- Shape: `{ name: string; fullName?: string | null; owner?: { slug: string } | null; defaultBranch?: string | null; cloneUrl?: string | null; allowMergeCommit?: boolean | null; allowSquashMerge?: boolean | null }`

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

## `OriginReviewListSchema`

- Kind: schema
- Workspace: [@t3tools/source-control-cursor-origin](../../architecture/t3tools-source-control-cursor-origin.md)
- Source: [packages/source-control-cursor-origin/src/server/originPullRequests.ts:162](https://github.com/pingdotgg/t3code/blob/be521199aace1a0b446f4db4a1181ef994aaa1e2/packages/source-control-cursor-origin/src/server/originPullRequests.ts#L162-L178)
- Shape: `{ reviews?: { id: string; author?: … | null; verdict?: … | null; body?: … | null; submittedAt: string; dismissal?: {…} | null }[] | null; nextPageToken?: string | null }`
