26 Commits

Author SHA1 Message Date
sebseb7
eb3f58b2e6 Refactor CLI and file handling tools for improved functionality. Update CLI interrogation command for better clarity and adjust logging format. Modify list_files.js to enhance path display logic and update read_file.js schema to allow null values for optional parameters, improving flexibility in file reading operations. 2025-08-21 12:58:14 +00:00
sebseb7
839cea7fe6 Update ModelDialog and list_files.js to enhance functionality. Add parallel_tool_calls option in ModelDialog for improved response handling. Modify list_files.js schema to allow null types for path, depth, and includeHidden properties, and remove required fields for greater flexibility. 2025-08-21 12:41:31 +00:00
sebseb7
131a45e305 Update CLI interrogation command for improved file handling and output clarity. Enhance error logging in patch_files.js by integrating chalk for better visibility of patch errors and refining path resolution logic for file updates. 2025-08-21 08:33:00 +00:00
sebseb7
7ad5d10378 Update CLI and ModelDialog to enhance functionality and user experience. Modify interrogation command in CLI for improved output generation, adjust model settings in ModelDialog for better reasoning effort, and introduce a new plugin structure in plan.md for LLM integration in Roundcube. Add spinner functionality in InkApp for loading states and improve error handling in read_file.js to ensure proper line breaks in file content output. 2025-08-21 08:20:38 +00:00
sebseb7
3c6bf7184c Refactor path handling in patch_files.js to use user-specified paths for action keys, improving consistency and error messaging. Update CLI to replace commented-out test cases with a new interrogation command in German for business website creation, enhancing functionality. 2025-08-14 11:01:55 +00:00
sebseb7
9974a78394 Refactor path handling in list_files.js and patch_files.js for improved clarity and consistency. Update error messages to reflect 'root' terminology instead of 'chroot' and enhance path resolution logic for better handling of absolute and relative paths. 2025-08-14 10:22:27 +00:00
sebseb7
421b47355b Refactor logging in CLI and ModelDialog to improve clarity by commenting out verbose console outputs. Update function call result logging to include limited arguments and JSON stringification for better readability. Enhance error handling in read_file.js to check for file existence before processing. 2025-08-14 10:09:24 +00:00
sebseb7
657b6af993 Enhance output logging in CLI and ModelDialog by integrating chalk for better readability. Update output handling to include detailed reasoning and token information. Refactor message management in ModelDialog to improve response processing and add support for function call arguments. Adjust chroot paths in various tools for consistency. 2025-08-14 09:41:17 +00:00
sebseb7
ac09e4ed08 Update CLI scripts to enhance functionality and error handling. Change shebang in cli-ink.js for improved compatibility with TypeScript. Modify websearch.js to utilize EXA_API_KEY from environment variables, adding error handling for missing keys. Refactor wget.js to use ES module syntax and improve filename generation for downloaded content. 2025-08-12 05:44:17 +00:00
sebseb7
62e9754ab0 Refactor CLI output formatting in cli.js to enhance readability by adding line breaks. Comment out verbose logging for OpenAI calls and error handling to reduce console clutter. Update patch_files.js description for clarity on functionality. 2025-08-12 04:36:15 +00:00
sebseb7
ff3accdc76 Refactor file listing in list_files.js to return structured objects for easier machine parsing and consistent output. Update sorting mechanism to ensure files are sorted by path before returning. 2025-08-12 04:19:25 +00:00
sebseb7
60e288454c Refactor CLI input handling in cli.js to streamline the input structure and enhance the OpenAI call process. Introduce a new variable for previous response tracking and update file listing in list_files.js to return sorted file entries directly, improving output consistency. 2025-08-12 04:14:42 +00:00
sebseb7
324aea5775 Update chroot path in multiple tools to use '/workspaces/aiTools' for consistent file handling across the codebase. 2025-08-12 03:50:16 +00:00
sebseb7
70fe6fccdb Refactor CLI input handling to ensure userText is passed correctly and improve output formatting in cli.js. Update package.json and package-lock.json to include 'exa-js' dependency for enhanced functionality. Revise systemprompt.txt to clarify tool usage and streamline instructions. 2025-08-12 03:38:23 +00:00
sebseb7
15d8e96b49 Enhance testing framework by introducing a unified test runner in run-all.js, allowing for streamlined execution of multiple test scripts. Update package.json to include new test commands for individual test scripts and the consolidated runner. Add comprehensive test cases for list_files, read_file, and ripgrep functionalities, improving overall test coverage and error handling. 2025-08-11 23:05:14 +02:00
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
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
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