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 / tests / fixtures / pane-view / turn-two.ts
20 lines · 438 BRaw
1import type Turns from '../../../hooks/turns'
2
3/**
4 * The second turn of a session as the turns model keeps it: one created
5 * file, its hunk cut at the line cap.
6 */
7export const TURN_TWO: Turns.TurnDiff = {
8 index: 2,
9 preview: 'fix it',
10 files: [
11 {
12 path: '/r/a.ts',
13 hunks: [{ oldStart: 1, newStart: 1, lines: ['+x'] }],
14 added: 1,
15 removed: 0,
16 isNewFile: true,
17 isTruncated: true,
18 },
19 ],
20}