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 / views / detail / body-budget / body-budget.ts
12 lines · 360 BRaw
1import { MAX_BODY_CHARS } from '../max-body-chars'
2import { MAX_BODY_NODES } from '../max-body-nodes'
3import type Types from '../types'
4
5/**
6 * The room the pane's file bodies start from at each drawing, spent file by
7 * file in drawing order.
8 */
9export const BODY_BUDGET: Types.BodyRoom = Object.freeze({
10 chars: MAX_BODY_CHARS,
11 nodes: MAX_BODY_NODES,
12})