Commit Graph

14 Commits

Author SHA1 Message Date
sebseb7
8645909fd5 Refactor ripgrep tool to use ES module syntax for importing spawnSync, improving consistency with modern JavaScript practices. This change removes the CommonJS require statement, enhancing code clarity. 2025-08-11 22:39:25 +02:00
sebseb7
2de276761a Refactor read_file and ripgrep tools to implement file reading and searching functionalities. The read_file tool now validates paths within a restricted directory and handles line skipping and reading limits. The ripgrep tool is implemented to perform pattern searches with optional flags for line numbers and case sensitivity, enhancing search capabilities and error handling. 2025-08-11 22:34:43 +02:00
sebseb7
8d23ec53e1 Remove echo.js tool as it is no longer needed for input handling and response generation. This simplifies the codebase by eliminating unused functionality. 2025-08-11 22:16:24 +02:00
sebseb7
fc0c0669f8 Refactor path resolution in patch_files.js to simplify handling of absolute file paths and enhance file loading logic to include existing add targets. This improves error detection for file operations. 2025-08-11 21:38:17 +02:00
sebseb7
01bde0d7c3 u 2025-08-11 21:32:39 +02:00
sebseb7
c61c088785 Refactor CLI tool to improve logging output and user prompts. Update verbosity settings for better response detail and enhance function call logging. Streamline input handling for improved clarity in AI interactions. 2025-08-11 20:04:51 +02:00
sebseb7
31b8b5c719 Enhance CLI tool with usage rendering and indented output formatting. Update user prompt for improved clarity and adjust verbosity settings. Modify file listing to return JSON strings for consistent output. 2025-08-11 19:51:06 +02:00
sebseb7
f21aa45065 Enhance file handling in list_files.js and patch_files.js by auto-creating chroot directories, improving path normalization, and refining error handling for file operations. 2025-08-11 17:51:28 +02:00
sebseb7
b26d0d3f7e Update test script in package.json and enhance patch_files.js with chroot support and improved path handling for file operations. 2025-08-11 17:27:46 +02:00
sebseb7
612a4a6b9d Add detailed patch file format documentation to patch_files.js, including instructions for context and code changes. 2025-08-11 17:15:43 +02:00
sebseb7
439cdfcfd1 Update CLI tool to modify user prompt for file creation, change model to 'gpt-5-mini', and adjust verbosity levels for text and reasoning. Enable output logging for function call results and deltas. 2025-08-11 17:12:03 +02:00
sebseb7
1737b90db8 Update .gitignore to include .env and tmp directories for better environment management. 2025-08-11 15:55:25 +02:00
sebseb7
70f54684e6 Refactor CLI tool to support streaming responses with previous response tracking and update file listing tool schema by removing unnecessary 'chroot' parameter from required fields. 2025-08-11 15:54:58 +02:00
sebseb7
f6f809263c Initial commit: Add CLI tool with OpenAI integration, including file listing and echo functionalities. Introduce package.json for dependencies and scripts, and system prompt for AI behavior. 2025-08-11 15:21:01 +02:00