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:
17
src/tools/grep.ts
Normal file
17
src/tools/grep.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Grep tool - search files for patterns (functional)
|
||||
*/
|
||||
|
||||
export { searchLines, formatMatches } from "@tools/grep/search";
|
||||
export { executeGrep, searchInFile, executeRipgrep } from "@tools/grep/execute";
|
||||
|
||||
import { executeGrep, searchInFile, executeRipgrep } from "@tools/grep/execute";
|
||||
|
||||
/**
|
||||
* Grep tool object for backward compatibility
|
||||
*/
|
||||
export const grepTool = {
|
||||
execute: executeGrep,
|
||||
searchInFile,
|
||||
ripgrep: executeRipgrep,
|
||||
};
|
||||
Reference in New Issue
Block a user