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 / scripted / git-timed-out.ts
11 lines · 298 BRaw
1import type { ProcessRunResult } from 'claude-code'
2
3/**
4 * What the plugin's git runner answers when the host rejected the spawn:
5 * the timeout, a cancelled dispatch. No exit code git itself uses.
6 */
7export const GIT_TIMED_OUT: ProcessRunResult = {
8 exitCode: -1,
9 stdout: '',
10 stderr: '',
11}