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 / max-code-chars / max-code-chars.ts
5 lines · 184 BRaw
1/**
2 * The most characters one `Code` source (or path) holds: the host's cap on
3 * a leaf's text (10 000), which a hooks module cannot import.
4 */
5export const MAX_CODE_CHARS = 10_000