- Add full Telegram bot functionality with Z.AI API integration
- Implement 4 tools: Bash, FileEdit, WebSearch, Git
- Add 3 agents: Code Reviewer, Architect, DevOps Engineer
- Add 6 skills for common coding tasks
- Add systemd service file for 24/7 operation
- Add nginx configuration for HTTPS webhook
- Add comprehensive documentation
- Implement WebSocket server for real-time updates
- Add logging system with Winston
- Add environment validation
🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration
22 lines
964 B
TypeScript
22 lines
964 B
TypeScript
export interface RipgrepConfig {
|
|
command: string;
|
|
args?: string[];
|
|
/** Override argv[0] when spawning (for multicall binaries that dispatch on argv[0]) */
|
|
argv0?: string;
|
|
}
|
|
/**
|
|
* Check if ripgrep (rg) is available synchronously
|
|
* Returns true if rg is installed, false otherwise
|
|
*/
|
|
export declare function hasRipgrepSync(): boolean;
|
|
/**
|
|
* Execute ripgrep with the given arguments
|
|
* @param args Command-line arguments to pass to rg
|
|
* @param target Target directory or file to search
|
|
* @param abortSignal AbortSignal to cancel the operation
|
|
* @param config Ripgrep configuration (command and optional args)
|
|
* @returns Array of matching lines (one per line of output)
|
|
* @throws Error if ripgrep exits with non-zero status (except exit code 1 which means no matches)
|
|
*/
|
|
export declare function ripGrep(args: string[], target: string, abortSignal: AbortSignal, config?: RipgrepConfig): Promise<string[]>;
|
|
//# sourceMappingURL=ripgrep.d.ts.map
|