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 / after-fetch / fetched / fetched.ts
11 lines · 264 BRaw
1import type { SessionMessage } from 'claude-code'
2
3import type Git from '../../../git'
4
5/**
6 * What one refresh read: how the diff fetch ended and the transcript rows.
7 */
8export type Fetched = {
9 outcome: Git.FetchOutcome
10 messages: readonly SessionMessage[]
11}