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:
20
src/constants/bashPatterns.ts
Normal file
20
src/constants/bashPatterns.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/** Quiet bash commands - read-only exploration operations */
|
||||
export const QUIET_BASH_PATTERNS = [
|
||||
/^ls\b/,
|
||||
/^cat\b/,
|
||||
/^head\b/,
|
||||
/^tail\b/,
|
||||
/^find\b/,
|
||||
/^grep\b/,
|
||||
/^rg\b/,
|
||||
/^fd\b/,
|
||||
/^tree\b/,
|
||||
/^pwd\b/,
|
||||
/^echo\b/,
|
||||
/^which\b/,
|
||||
/^file\b/,
|
||||
/^stat\b/,
|
||||
/^wc\b/,
|
||||
/^du\b/,
|
||||
/^df\b/,
|
||||
];
|
||||
Reference in New Issue
Block a user