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 / record / features / features.ts
16 lines · 588 BRaw
1/**
2 * The feature names the plugin marks, kept as the built-in panel's so the
3 * feature surface keeps one series across the swap.
4 *
5 * `read` per fetch round, `tabSwitch` per `/diff` open or close and per
6 * close by the pane's own control, `baseSwitch` per base pick, `baseResolve`
7 * on the first resolve and the first failure, `selectionAttach` per diff
8 * asked.
9 */
10export const FEATURES = {
11 read: 'repl_diff_read',
12 tabSwitch: 'repl_tab_switch',
13 baseSwitch: 'repl_diff_base_switch',
14 baseResolve: 'diff_base_resolve',
15 selectionAttach: 'diff_selection_attach',
16} as const