Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Agents as a team: lifecycle, merge queue, billing and a new shell | 1 | import type { Comparison, DiffLine, FileDiff } from "@g1t/contracts"; |
| 2 | ||
| 3 | /** A diff line, with its text as highlighted HTML when the language is known. */ | |
| 4 | export type HighlightedLine = DiffLine & { html?: string }; | |
| 5 | export type HighlightedFile = Omit<FileDiff, "hunks"> & { hunks: { lines: HighlightedLine[] }[] }; | |
| 6 | export type HighlightedComparison = Omit<Comparison, "files"> & { files: HighlightedFile[] }; |