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
| Mmods/diff/hooks/git/types/dating-context/dating-context.ts |
| Mmods/diff/hooks/git/types/git-deps/git-deps.ts |
| @@ -6,6 +6,6 @@ | ||
| 6 | 6 | * stamp probe over the tree's top, and when read, the paths dirty then. |
| 7 | 7 | */ |
| 8 | 8 | export type DatingContext = { |
| 9 | - deps: Pick<GitDeps, 'sessionStartMs'> & Partial<Pick<GitDeps, 'baseline'>> | |
| 9 | + deps: Pick<GitDeps, 'sessionStartMs' | 'baseline'> | |
| 10 | 10 | stamps: StampProbe |
| 11 | 11 | } |
| @@ -33,13 +33,13 @@ | ||
| 33 | 33 | sessionStartMs: number |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * The paths that were dirty when the backend was pinned, at the session's | |
| 37 | - * start (Probes.dirtyPathsOf), or null when git could not list them. | |
| 36 | + * The paths dirty when the backend was pinned, at the session's start | |
| 37 | + * (Probes.dirtyPathsOf); null when unlisted, absent where none is kept. | |
| 38 | 38 | * |
| 39 | 39 | * A path absent from it turned up during the session (a rename's new |
| 40 | 40 | * name, a file moved in), whatever timestamp it carries. |
| 41 | 41 | */ |
| 42 | - baseline: ReadonlySet<string> | null | |
| 42 | + baseline?: ReadonlySet<string> | null | |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * Told each time branch mode resolves its base, for telemetry. |