spacehub

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

claude-code / mods / diff / hooks / pane-state / source / source.ts
4 lines · 160 BRaw
1/**
2 * What the pane lists: the repository's diff now, or one past turn's edits.
3 */
4export type Source = { kind: 'current' } | { kind: 'turn'; index: number }