Commit Graph

25 Commits

Author SHA1 Message Date
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
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