surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| 1 | import type Backend from '../../backend' |
| 2 | import type Git from '../../git' |
| 3 | import type Todos from '../../todos' |
| 4 | import type Turns from '../../turns' |
| 5 | import type { Bodies } from '../bodies' |
| 6 | import type { Source } from '../source' |
| 7 | |
| 8 | /** |
| 9 | * Everything one drawing of the pane reads. |
| 10 | * |
| 11 | * The last good fetch, what the person picked, the bodies read so far, the |
| 12 | * turns and todos, how the surface seated it, whether the layout docks a |
| 13 | * pane (once a drawing or `/diff` said), the dialog's view, and the docked |
| 14 | * scroll in its last box. |
| 15 | */ |
| 16 | export type PaneModel = { |
| 17 | words: Backend.BackendWords |
| 18 | baseModes: readonly Git.BaseMode[] |
| 19 | isLoading: boolean |
| 20 | hasSettled: boolean |
| 21 | isOutsideRepository: boolean |
| 22 | data: Git.DiffData | null |
| 23 | requestedMode: Git.BaseMode |
| 24 | selectedPath: string | null |
| 25 | isNoiseShown: boolean |
| 26 | isPreSessionShown: boolean |
| 27 | source: Source |
| 28 | turns: readonly Turns.TurnDiff[] |
| 29 | bodies: Bodies |
| 30 | todos: Todos.TodoProgress |
| 31 | armedPath: string | null |
| 32 | placement: 'dock' | 'inline' |
| 33 | isFullscreen: boolean | null |
| 34 | dialogView: 'list' | 'detail' |
| 35 | place: { top: number; listStart: number; columns: number; rows: number } |
| 36 | } |