Features: - Interactive TUI with React/Ink - Autonomous agent with tool calls (bash, read, write, edit, glob, grep) - Permission system with pattern-based rules - Session management with auto-compaction - Dual providers: GitHub Copilot and Ollama - MCP server integration - Todo panel and theme system - Streaming responses - GitHub-compatible project context
14 lines
216 B
TypeScript
14 lines
216 B
TypeScript
/**
|
|
* Diff utility constants
|
|
*/
|
|
|
|
// Default context lines for hunks
|
|
export const DIFF_CONTEXT_LINES = 3;
|
|
|
|
// Line type prefixes
|
|
export const LINE_PREFIXES = {
|
|
add: "+",
|
|
remove: "-",
|
|
context: " ",
|
|
} as const;
|