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
18 lines
443 B
TypeScript
18 lines
443 B
TypeScript
/**
|
|
* 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,
|
|
};
|