52 Commits

Author SHA1 Message Date
sebseb7
f43e0af918 Update ModelDialog to accept options for model selection and enhance error handling for invalid models. Modify CLI to use the new model configuration and update interrogation command for improved functionality. 2025-08-22 22:43:27 +00:00
sebseb7
46c9fe9fac Add pricing structure for token usage in CLI and enhance token handling in ModelDialog. Implement cost breakdown per model based on input, cached, and output tokens, and ensure proper initialization of token counts in usage handling. 2025-08-21 13:31:15 +00:00
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
6e8a336143 Enhance message handling in ModelDialog by adding console logging for sent messages and enabling parallel_tool_calls for improved response processing. 2025-08-21 12:50:44 +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
7fb261a3b7 u 2025-08-21 08:21:15 +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
df85e5e603 Enhance terminal functionality in InkApp by implementing a new input handling system. Introduce a command history feature for improved user navigation and streamline the process for submitting commands. Update state management to ensure accurate tracking of user inputs and command history. 2025-08-13 04:56:39 +00:00
sebseb7
b49c798fc7 Implement terminal restart functionality and enhance model settings menu in InkApp. Add methods for restarting the terminal and adjusting model settings, improving user interaction and menu navigation. Update state management for better handling of model settings adjustments. 2025-08-13 01:57:11 +00:00
sebseb7
83ac8709b7 Refactor CLI and InkApp components for improved functionality and user experience. Update model settings in InkApp, enhance terminal input handling, and streamline dependency management in package.json. Remove unused dependencies and update dotenv version for better environment variable management. 2025-08-13 00:59:20 +00:00
sebseb7
58d8c352f3 Add Array.fromAsync polyfill in cli.js for better async iterable support. This enhancement improves compatibility with async data processing in the CLI environment. 2025-08-12 22:07:48 +00:00
sebseb7
14305859de Update devcontainer configuration and enhance terminal handling in InkApp. Change base image to 'devpit:latest' and implement a blinking cursor feature in the terminal display, improving user experience and visual feedback during input. 2025-08-12 22:02:01 +00:00
sebseb7
0815d64802 Add ESLint configuration files and VSCode settings for improved code quality and development experience 2025-08-12 20:54:46 +00:00
sebseb7
b515275407 Enhance CLI terminal integration and output handling in InkApp. Introduce terminalService for managing PTY backend, including resizing and updating terminal output. Implement ANSI stripping and tab expansion for accurate line rendering. Improve state management for terminal, logs, and LLM output, ensuring responsive UI updates and error handling during input submission. 2025-08-12 18:34:07 +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
182ccd34ca Adjust text verbosity and reasoning effort in CLI configuration for improved output clarity and performance. 2025-08-12 03:48:30 +00:00
sebseb7
7a6c2488da Remove obsolete systemprompt.txt file to streamline the codebase and eliminate unnecessary components. 2025-08-12 03:42:35 +00:00
sebseb7
073d027880 Enhance CLI assistant instructions in cli.js to include detailed tool usage guidelines for improved user interaction. Update input structure to better facilitate user commands and clarify available functionalities. 2025-08-12 03:42:09 +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
ce6933377a Refactor CLI input handling in cli-ink.js to improve ESC key detection for clean exit. Update InkApp import to .jsx extension and change start:ink script to use tsx for better compatibility. Remove deprecated InkApp.js file to streamline codebase. 2025-08-12 02:56:13 +02:00
sebseb7
edf0d3cffb Update package dependencies to include 'ink' and 'ink-text-input' for enhanced terminal UI capabilities. Add new script 'start:ink' for launching the ink-based CLI interface. Clean up example.js by removing unnecessary whitespace for improved readability. 2025-08-12 01:40:32 +02:00
sebseb7
91d28779d6 Update package dependencies to include node-pty for improved terminal handling. Refactor stat-vit-term.js to utilize node-pty for process management and streamline input simulation. Clean up example.js by removing unnecessary input commands. 2025-08-12 01:36:10 +02:00
sebseb7
2c83d402fc Update example.js to add multiple terminal inputs and extend timeout duration. Modify stat-vit-term.js to adjust shell arguments for improved compatibility. 2025-08-12 00:49:12 +02:00
sebseb7
e1887980d4 Update example.js to replace 'top' command with 'ping' for improved functionality. Minor formatting adjustment in stat-vit-term.js to enhance code readability. 2025-08-12 00:28:18 +02:00
sebseb7
83c912d8e0 Refactor terminal input handling in StatVitTerm to improve signal management and process control. Update example.js to streamline output handling and modify command execution flow for better user experience. Enhance environment variable settings for terminal compatibility. 2025-08-12 00:23:04 +02:00
sebseb7
697cf74cc3 Integrate terminal input handling into CLI tool using terminal-kit. Implement global key handler for CTRL-C and prompt user for input before initiating the LLM loop. Remove outdated test scripts for improved codebase clarity. 2025-08-12 00:16:03 +02:00
sebseb7
5090d2669b u 2025-08-11 23:09:58 +02:00
sebseb7
b91c4bf5e7 Enhance test coverage by adding new cases for file listing, reading, and ripgrep functionalities. Implement tests for hidden files, depth handling, and path normalization in list_files tests. Expand read_file tests to cover line skipping and reading from empty files. Improve ripgrep tests with various pattern matching scenarios, including regex handling and file pattern exclusions. 2025-08-11 23:07:59 +02: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
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