Terminal-based AI coding agent with interactive TUI for autonomous code generation.
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
This commit is contained in:
13
src/constants/diff.ts
Normal file
13
src/constants/diff.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user