mirror of
https://github.com/anthropics/claude-code.git
synced 2026-09-14 19:48:39 +08:00
27 lines
702 B
TypeScript
27 lines
702 B
TypeScript
import Git from '../../git'
|
|
import type { PaneModel } from '../pane-model'
|
|
|
|
/**
|
|
* The pane before anything happened: session mode, nothing fetched,
|
|
* nothing picked, the current source, git's words.
|
|
*/
|
|
export const INITIAL_MODEL: PaneModel = Object.freeze({
|
|
words: Git.GIT_WORDS,
|
|
baseModes: Git.GIT_BASE_MODES,
|
|
isLoading: false,
|
|
hasSettled: false,
|
|
isOutsideRepository: false,
|
|
data: null,
|
|
requestedMode: 'session',
|
|
selectedPath: null,
|
|
isNoiseShown: false,
|
|
isPreSessionShown: false,
|
|
source: Object.freeze({ kind: 'current' }),
|
|
turns: Object.freeze([]),
|
|
body: null,
|
|
bodyState: 'idle',
|
|
todos: Object.freeze({ done: 0, total: 0 }),
|
|
armedPath: null,
|
|
isFocused: false,
|
|
})
|