-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul of tool packaging and loading; Improved conversation entry formatting #39
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit c33b68e21c84281c431275863980f62aafa06396 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 21:31:56 2024 +1100 Improved formatting of conversation entries commit e595ee2595dc40e7be3b5afc7b4d33f4ec9de11f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 21:01:44 2024 +1100 Implemented support for embedded images in log entries Applied patches from BBai to 1 file Files modified: - api/src/logEntries/logEntryFormatterManager.ts commit bb8fc12fdf1ed38b1640a16b62f74f0565b83d08 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 20:41:19 2024 +1100 Encoded HTML entities in log entry content to prevent XSS vulnerabilities. Applied patches from BBai to 1 file Files modified: - api/src/logEntries/logEntryFormatterManager.ts commit 3139a61a7fbfd0b026d82f07a29d9a6779837432 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 20:27:06 2024 +1100 Refactored log entry formatting logic to improve readability and maintainability Applied patches from BBai to 1 file Files modified: - api/src/logEntries/logEntryFormatterManager.ts commit 841788dd33bbb401cc5c9974d8a8e2204b51d431 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 20:22:23 2024 +1100 Improved log entry formatting in LogEntryFormatterManager Applied patches from BBai to 1 file Files modified: - api/src/logEntries/logEntryFormatterManager.ts commit 36133b9533c3c415584387da0e20d30e2227b6e2 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 15:41:57 2024 +1100 format and bad stash commit 6a33e9d3fa29fe4e0772db82a81c1fc7d89087ae Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 15:27:01 2024 +1100 fix broken config merge with global commit 18d553ae9bcf13e65911113239e8c0c5c4f017d1 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 12:38:37 2024 +1100 promise lots of awaiting; tools metadata; debug logging; startDir isn't optional commit 0395fab7a32a4b0cf80ad5c19a9389a5f209fed9 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 11:55:05 2024 +1100 Improved config merging by adding detailed logging for each step of the merging process. Applied patches from BBai to 1 file Files modified: - src/shared/config/configSchema.ts commit d110544fadc07491cb0193912bb7310bd5f5b53a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 11:54:41 2024 +1100 Refactored config merging logic to improve readability and maintainability Applied patches from BBai to 1 file Files modified: - src/shared/config/configSchema.ts commit 1de1182c6d4a38ce93540c5ad5f34a42625bf5bd Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 11:47:29 2024 +1100 Refactored config merging logic to use `deepMerge.withOptions` with the correct order of arguments. Applied patches from BBai to 1 file Files modified: - src/shared/config/configSchema.ts commit 38b423df85dded96bfcf11bdca3028c6e2158b25 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:43:58 2024 +1000 Refactored tool enablement logic and added helper method `isToolEnabled` Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit cd5ed8e2a3bddc9269d11a303606e0f46e679e28 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:43:43 2024 +1000 Improved handling of undefined `enabled` property in LLMToolManager Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit a7d48f8bb625f697dcb99f372faad26d09029173 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:43:17 2024 +1000 Improved logging for disabled LLM tools Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 0f947c29f6ff5d957770ca61c883199b984716ed Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:31:15 2024 +1000 Added logging to the LLM tool manager to aid in debugging. Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 53326b24b28e9ef90658d220d43d549d11bc8576 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:30:58 2024 +1000 Added logging for debugging tool metadata loading process Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 89550fb756052e9a82f40a3632429fe6dfe7edb0 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:08:39 2024 +1000 Added support for dynamic tool directory path resolution Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit a2aca44a03d644fa6648ded13601ceacbc4fc36c Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sun Oct 6 01:06:28 2024 +1000 Improved error handling in `loadToolMetadata` function by checking directory existence before processing and logging errors for individual directories. Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 6a935a74ad985b36eb4d6f33f5f07ddeeee62809 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 21:46:09 2024 +1000 Improved config loading by resolving tool directories and merging configs Applied patches from BBai to 1 file Files modified: - src/shared/config/configManager.ts commit 5b442b7f0630ef81ee45a2ac051466da1986d936 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 21:39:25 2024 +1000 Refactored ConfigManager to improve configuration handling and add support for environment variables. Applied patches from BBai to 1 file Files modified: - src/shared/config/configManager.ts commit d43ba385f6b3dbf38238ff02267f3a2fb20a30d7 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 20:19:48 2024 +1000 Refactored configuration management to improve maintainability and extensibility. Applied patches from BBai to 1 file Files modified: - src/shared/config/configManager.ts commit b636536ecc1a0d607591d54a187506a1edafe892 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 20:18:07 2024 +1000 Merged global and project config schemas, added support for user tool directories. Applied patches from BBai to 1 file Files modified: - src/shared/config/configSchema.ts commit 4280751d00cc62bc5a2c264ff4d2eda60d44cba6 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 19:19:01 2024 +1000 Implemented tool metadata loading and handling tool usage in LLMToolManager Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 355effbb80673053783f053749f72bab5cc1b649 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 18:23:58 2024 +1000 Refactored the rest of the tools; updated tool manager imports; updated docs commit 081ae75e2266f399e616a6e86be0e3d14e684bdf Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 18:16:49 2024 +1000 Updated testing guidelines and progress for the BBai project Applied patches from BBai to 1 file Files modified: - docs/TESTING.md commit b77c1ca972f8a3c894e04e98dc9afd2e3b79210a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 18:11:47 2024 +1000 Added new documentation for creating a new tool in the BBai project. Applied patches from BBai to 1 file Files modified: - docs/NEW_TOOL.md commit 953d79dc6a0b8169005ec1c339a080b3cb4cd9c8 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 18:11:01 2024 +1000 Added README.md for LLM tools directory, describing the purpose, structure, and guidelines for adding and testing new tools. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/README.md commit f0ebd2e208824cbe4e26bf7256c63c1dc74ab67e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 17:59:34 2024 +1000 Implemented automated test file discovery and import for LLMS tools Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/index.ts commit 9cb3e09916e8c43c416292262fb0d027c34e4e2b Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 17:59:23 2024 +1000 Added README.md for LLM tools directory, describing the purpose, structure, and guidelines for adding and testing new tools. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/README.md commit 619cfb4e267e7848aa1f0b81b1acd60e403d5a0b Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:17:34 2024 +1000 Added delegateTasks tool with description, version, author, and license information Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/delegateTasks.tool/info.json commit a5bbc10b15a36b4bc7bf610d75754f573e9d7645 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:17:26 2024 +1000 Refactored import paths in delegateTasks.tool/tool.ts to use absolute paths. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/delegateTasks.tool/tool.ts commit 9cac6fffb63d837369c3d3ecb03d0fb451ffdb7f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:16:30 2024 +1000 Added allowed commands to runCommand tool info.json Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/runCommand.tool/info.json commit 1ddb6355567876f156c3372143683c36fda40232 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:16:21 2024 +1000 Refactored imports in runCommand.tool.test.ts to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/runCommand.tool/tests/tool.test.ts commit 2eb13de0742e2f4c9f528e2450010c1187433e7d Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:15:55 2024 +1000 Refactored imports to use relative paths in runCommand.tool/tool.ts Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/runCommand.tool/tool.ts commit 82949073c8d94e7e524cab1b5f4c72367283d98e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:15:10 2024 +1000 Added runCommand tool with description and version Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/runCommand.tool/info.json commit b41f5118f1ff0dfc2185553ee3b231001a131e0e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:11:47 2024 +1000 Removed renameFilesTool from the list of remaining tools to refactor Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 2695b19fcf7c9223bc8482ff105fd5ec6c221b92 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:11:20 2024 +1000 Refactored imports in renameFiles.tool/tool.ts to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/renameFiles.tool/tool.ts commit 78dc89622788a4d3e6ef1db4faa8ad99a7630173 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:11:04 2024 +1000 Renamed and updated the `rename_files` tool's metadata in `info.json`. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/renameFiles.tool/info.json commit 41fa95b3e016b4cf99e623cea163513a725ee8ec Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:06:45 2024 +1000 Removed unused JSX import and fixed relative path import in searchAndReplace.tool.ts Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplace.tool/tool.ts commit 33696633eda2374090a9c15b08578ce21fdbdc1b Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:06:24 2024 +1000 Added search and replace tool metadata Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplace.tool/info.json commit 502a424e5b25689d82b5fce87c45f9387b6c5bee Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:05:45 2024 +1000 Implemented search and replace tool functionality in `searchAndReplaceTool.ts`. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplaceTool.ts commit c7ffd4bf44839a12acd764523e01b574ff9ecb3e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:03:21 2024 +1000 Removed moveFilesTool from the list of remaining tools to refactor in the documentation. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit b6f2ac5682351bf3f3bd4e963946198f8facae48 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:03:04 2024 +1000 Refactored test imports to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFiles.tool/tests/tool.test.ts commit d53a5c83e05705b5da11267e3efc8e77c8db9f5f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:02:23 2024 +1000 Refactored file imports and paths in the `moveFiles.tool` module. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFiles.tool/tool.ts commit ca3c24afc013ef53e8cecee1d7b28b15ffd3c40a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 16:02:02 2024 +1000 Added new moveFiles tool with description and version Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFiles.tool/info.json commit 5bf9210fe82801c68e70854149bcc279b11fc86b Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:58:41 2024 +1000 Removed 'searchAndReplaceTool' from the list of remaining tools to refactor and added it to the list of completed tools. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 79f308d0148c3e1197f618b4e6f0ed66a661708d Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:58:18 2024 +1000 Refactored import paths in search and replace tool tests Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplace.tool/tests/tool.test.ts commit f88465f63b965340897a3162ce2cb74a052e055c Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:57:43 2024 +1000 Refactored imports to use relative paths consistently Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplace.tool/tool.ts commit 42780aedc89845f90571b98d5ce3930e8bb122ab Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:57:24 2024 +1000 Added searchAndReplace tool with description and version Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplace.tool/info.json commit 945e7747dc282bcd318b4758e6efb0746b9cf2a1 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:52:24 2024 +1000 Removed searchAndReplaceMultilineCode from the list of remaining tools to refactor and updated the list of completed tools in the TOOL_REFACTORING_PLAN.md document. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit ff1982a1e80838cc508973409946e01a4f5f9e33 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:51:50 2024 +1000 Added a new tool 'searchAndReplaceMultilineCode' to support search and replace operations on multiline code Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplaceMultilineCode.tool/info.json commit 259699d51113a6f42f9b188e542bb003ac73706a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:51:40 2024 +1000 Refactored imports to use absolute paths in searchAndReplaceMultilineCode.tool Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchAndReplaceMultilineCode.tool/tool.ts commit e2cc66f3ced28f4f1a59134e2ef0b2db5b7e5101 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:45:54 2024 +1000 Fixed import path for getContentFromToolResult utility function Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebScreenshot.tool/formatter.console.ts commit 2b0e6109c37fab077554bedb5569691b5d4f1c7e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:45:42 2024 +1000 Fixed import path for getContentFromToolResult utility function Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebScreenshot.tool/formatter.browser.tsx commit 54baa9ffb3e71d9cc5653b999c2797640bb7bbe9 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:45:22 2024 +1000 Refactored imports and fixed file paths in fetchWebScreenshot.tool.ts Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebScreenshot.tool/tool.ts commit 38fbf35c6aad54c92a9b606cfe0928c16fe44400 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:44:48 2024 +1000 Added fetchWebScreenshot tool metadata Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebScreenshot.tool/info.json commit 747d289cb78cfea313b5b6780b7a5f050c9e5d33 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:34:36 2024 +1000 Removed searchProjectTool from the refactoring plan Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 212baa147ea275ed408ad227e85f0e83d0f6c03b Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:34:25 2024 +1000 Refactored import paths and renamed formatter files for the searchProject tool. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchProject.tool/tool.ts commit 8cf2490212eb02d362c63ac275b14c16692be223 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:33:59 2024 +1000 Added searchProject tool with description and version Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/searchProject.tool/info.json commit 061601d807a614f91a82280b2e2b5e95b4118e8e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:33:16 2024 +1000 Removed vectorSearchTool from refactoring plan Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit e9f977f455de97ddaf9054df8fb5d674d49adff9 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:32:53 2024 +1000 Added vectorSearch tool with description and version Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/vectorSearch.tool/info.json commit f12975e090c490e6ed3eeac03ea751f48d050ae3 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:32:26 2024 +1000 Removed fetchWebPageTool from refactoring plan Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit d8cf93016f6a1dc8d808315183a9746ac737363a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:31:30 2024 +1000 Renamed and relocated formatter files for the fetchWebPage tool Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebPage.tool/tool.ts commit 20cedd98899f3d31cbcf3fcb49af4c45ab6f5792 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:31:11 2024 +1000 Implemented fetchWebPage tool with version 1.0.0 Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/fetchWebPage.tool/info.json commit d4c9a61de2975a57fcd33cf29b8f38ede05f01c6 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:30:53 2024 +1000 Refactored the structure of tools under `api/src/llms/tools/` to make each tool self-contained in its own directory for easier management and future support. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 79aac4388231ffd638faa01dbb9d18f1ac95d785 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 15:26:00 2024 +1000 applyPatch tool commit 377a528c911ff35dc65b153589b38512c1002f36 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:33:27 2024 +1000 Added 'applyPatchTool' to the list of completed tools in the refactoring plan. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 8eeb41733ac02374ec659941749e60331d2e509d Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:33:06 2024 +1000 Removed "applyPatchTool" from the list of remaining tools to refactor Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 4448779bf724e6c60b17dd1e21205943542158cb Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:32:57 2024 +1000 Refactored test imports to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/applyPatch.tool/tests/tool.test.ts commit 25dbcef64d19312d4ce9f49b1fd7214113ce929d Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:32:24 2024 +1000 Refactored imports to use relative paths consistently Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/applyPatch.tool/tool.ts commit ff4ac335d11d67c4c0763705d47abfead97eb05e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:32:05 2024 +1000 Added new tool 'applyPatch' to apply well-formed patches Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/applyPatch.tool/info.json commit 48cc2f272ea6f4ab67873374d755c3cda8e3bdfc Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:31:37 2024 +1000 Added notes on the tool refactoring plan Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 05af7e04ac37d49e3325f69c7a03bf328a2b02fa Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:24:02 2024 +1000 Refactored file structure and renamed files for the `moveFiles` tool Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit cbe86b67b03e994d86ed02bcfc0c8d80dffce385 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:20:38 2024 +1000 forgetFiles tool commit ab83c2e92e79b810d0bbd43ec9aff63f72bc4d55 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:05:04 2024 +1000 Added a new tool 'forgetFiles' to remove and forget specified files from the chat when they are no longer needed Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/forgetFiles.tool/info.json commit 6a33280991b546a8c624e92a268a9558c2ceb59f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 14:03:11 2024 +1000 Added an important note and clarified the scope of the tool refactoring plan Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit bd9b17346467675020ae72d47c2efca8194aee0a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:59:48 2024 +1000 continued refactoring commit cdedfd5462772ff52a941ddcac10706befc6384f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:56:41 2024 +1000 Refactored tool documentation, updated progress and remaining tasks Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit cef14db40b95adf84797ba8ad5c4a2008b3d143c Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:54:30 2024 +1000 Refactored test imports to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/requestFiles.tool/tests/tool.test.ts commit cdfdab93c00c1e4c0f6e9f15e650d6ed522e1cec Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:53:36 2024 +1000 Refactored file imports in the requestFiles.tool module to use consistent naming and paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/requestFiles.tool/tool.ts commit b33ecaea0f7dfd487c5e219722b2034f10c02aa2 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:53:19 2024 +1000 Corrected relative imports in requestFiles.tool/tool.ts Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/requestFiles.tool/tool.ts commit 95dd42c0bf7037d19a0459a0d12a3c0ca3a5a417 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:38:54 2024 +1000 Refactored imports in rewriteFile.tool/tool.ts to use absolute paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/rewriteFile.tool/tool.ts commit dd9aa3acbd2d83022c5cc11222d888d4eb74ecd8 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:38:26 2024 +1000 Refactored imports in rewriteFile.tool/tool.ts to use absolute paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/rewriteFile.tool/tool.ts commit 0ef15662afa8690aa9a6955bcc521a4f8f578c11 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:37:46 2024 +1000 Expanded the "moveFiles" tool documentation to include the "move_files" tool, provided guidance on using the appropriate tools for restructuring, and updated the instructions for updating imports. Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit 5787436abd758d69b5996937a74ba2c686e3c389 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:34:33 2024 +1000 fixes for initial attempt at refactor commit 65cd741adb813b66d1468a8381a3f01385fbaf78 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:16:35 2024 +1000 Added unit tests for the LLMToolRewriteFile class, including tests for the tool's properties and a basic test for the runTool method. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/rewriteFile.tool/tests/tool.test.ts commit 01411e7705de0ce46476ed3387b06fb5a789b7ba Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:15:46 2024 +1000 Refactored file imports in rewriteFile.tool/tool.ts to use relative paths Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/rewriteFile.tool/tool.ts commit d2b710513d9d54958c727f65efeb97f9ba8b6aeb Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:15:06 2024 +1000 Added new file manipulation tool 'rewrite_file' to the API Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/rewriteFile.tool/info.json commit ca0e92c658c38dcae9a1e3265efc645d7d25dc30 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 13:11:51 2024 +1000 Changed tools to use absolute path; updated tests commit f6efe13e2a08a65dd11d7cf09af47197d999b4be Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 11:52:29 2024 +1000 updated toolmanager with new tools commit 9399dcd23395e1bfa79eaa5583da6c16f9640d49 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 11:24:30 2024 +1000 Refactored tool structure to make each tool self-contained in its own directory Applied patches from BBai to 1 file Files modified: - docs/TOOL_REFACTORING_PLAN.md commit e352f386b9b74d7a874e5b4962f6338315994a50 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:39:24 2024 +1000 better tooling and docs commit 4f8c9f668f152831569df6d01cc3af21932dc7ff Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:35:02 2024 +1000 Added new testing guidelines and maintained consistent naming conventions Applied patches from BBai to 1 file Files modified: - docs/TESTING.md commit 83f1c6df31b6d5d5f86d08bf5fbdd91dd27f84f9 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:34:51 2024 +1000 Improved documentation for tool test patterns Expanded the guidance in the TESTING.md document to provide more detailed examples and recommendations for consistent test file structure, utility functions, error handling, and temporary file/directory usage. Applied patches from BBai to 1 file Files modified: - docs/TESTING.md commit be49af975cd9d7c5cafe06fa06ad4376c6e19ac5 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:34:38 2024 +1000 Updated the documentation to provide guidance on maintaining consistency when creating new tool tests, including using existing test files as templates, following the same import structure, test project/editor setup, naming conventions, and test case structure. Applied patches from BBai to 1 file Files modified: - docs/TESTING.md commit 8c8c53ee2d4528ad6875dd5da7c71d27c5fe9fb4 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:30:04 2024 +1000 docs: Expand new tool creation guide with more detailed instructions Applied patches from BBai to 1 file Files modified: - docs/NEW_TOOL.md commit 26eea04867a52c3a8b43bd5f6793b4365bccbc8f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:10:04 2024 +1000 Implemented tests for the RenameFilesTool class, covering various scenarios such as renaming a single file, creating missing directories, failing to create missing directories, renaming multiple files, overwriting existing files, and attempting to rename a non-existent file. Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/renameFilesTool.test.ts commit 1dd27af05b0d52f586cb15f5d0ec8435a89b43ef Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:09:03 2024 +1000 Implemented formatting for renameFilesTool console output Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/renameFilesTool.console.ts commit c82e685c0e66282e3d3e41a4b0a64ab27668ec18 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:08:47 2024 +1000 Implemented formatter for renameFilesTool and its result Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/renameFilesTool.browser.tsx commit fa1ccf9c338d923645fc6800b37c5029e4025e6a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:08:30 2024 +1000 Implemented file renaming tool with support for creating missing directories and overwriting existing files Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/renameFilesTool.ts commit c5a7889c8e7284a1cb27987787791613997181fa Merge: ab9a102 5a57fe3 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:04:05 2024 +1000 Merge branch 'building/move-files-tool' into building/more commit 5a57fe340733f458ac2b4065599d8fcd1bd076ea Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 10:03:55 2024 +1000 fixes for createMissingDirectories option commit 687cc1cff8462c6a233e50eac883423acad184ae Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:55:05 2024 +1000 Added tests for MoveFilesTool to handle creating missing directories and failing to create missing directories Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 3c703710ee3c599bcbd144c183ad420daacc428a Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:47:09 2024 +1000 Implemented unit tests for the LLMToolMoveFiles class, covering successful file moves and error handling. Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 5efd800ecf27cb4793b992fa99610593d5c2913f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:46:32 2024 +1000 Added support for creating missing directories in the `moveFilesTool.console.ts` file Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/moveFilesTool.console.ts commit f54194805e5cfa3b902ea1fade5c7078bf49e151 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:46:07 2024 +1000 Implemented UI components for displaying Move Files tool input and result Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/moveFilesTool.browser.tsx commit 0f9274543586f25f7faf9df7150d20c239ebe81c Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:45:40 2024 +1000 Added MoveFilesParams interface to moveFilesTool.ts Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFilesTool.ts commit 25e9676a6e9770c94a7a6db2832235af9fa31566 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:45:31 2024 +1000 Added support for creating missing directories in the destination path for the moveFilesTool Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFilesTool.ts commit ab9a102dacfa9d012284b9bb1baddf83e93bff0d Merge: c25fb98 bfdb4c6 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:29:55 2024 +1000 Merge branch 'building/move-files-tool' into building/more # Conflicts: # cli/src/utils/apiControl.utils.ts commit bfdb4c63cfcd425c978665ccf901247d5d7e5a47 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:29:13 2024 +1000 format commit c25fb98bf39dccccff0b75acc9ecc034593a736a Merge: 976313b 6017ac9 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:27:19 2024 +1000 Merge branch 'building/move-files-tool' into building/more commit 6017ac9d5794614d33b584e7b901cbffd102fb12 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Sat Oct 5 09:27:11 2024 +1000 Finish functionality and tests for move file tool commit 976313bb2435e3ad5ab1dfb15b1555276c554802 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 20:36:11 2024 +1000 Safely ignore cert warnings for localhost commit 7782c10f561ebc74dde402567f3edf8176d0942a Merge: 16a1745 0dd2bed Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 20:31:01 2024 +1000 Merge branch 'main' into building/move-files-tool commit 0dd2bed9ced57d56bc1d4594509767196f213bb2 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:54:03 2024 +1000 Refactored moveFilesTool.test.ts to use the correct class name and add missing property to runTool method Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit ca33b1b8e4d7a691fe8bcb8242fdd76b8534bda0 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:53:43 2024 +1000 Added project editor to moveFilesTool test Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 8bbb3385ba738ad7d2fae5ac85308098b19f1744 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:43:22 2024 +1000 Updated import path for assert module in moveFilesTool.test.ts Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 3b31b109e81ef3737cb6c4317a4fcbb055340477 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:43:05 2024 +1000 Updated imports to use absolute paths for Deno standard library modules Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit b273f8730a40945734034aa6804dae6cf58bd44c Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:42:49 2024 +1000 Fix import path for std/path/mod.ts Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 2eb9c1ab7baf4ba457b745908bec5b61bdf4c4f1 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:42:31 2024 +1000 Renamed file import path for `isPathWithinProject` utility function Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFilesTool.ts commit 6cba6d9f40165901a6eddfd10d9c2f170d354007 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:42:01 2024 +1000 Fixed import path for `isPathWithinProject` utility function Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFilesTool.ts commit 9ca096ba902ba9af9b294592d20be879ff6cd6cb Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:41:44 2024 +1000 Added new `move_files` LLM tool to CHANGELOG.md Applied patches from BBai to 1 file Files modified: - CHANGELOG.md commit a2addb2d63bb11e32eb9ded120ec25b599d11f77 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:41:31 2024 +1000 docs: add move_files LLM tool documentation Applied patches from BBai to 1 file Files modified: - docs/API.md commit 21725bda3055ba94fe1833ccfbb22ff3f979a284 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:40:57 2024 +1000 Added LLMToolMoveFiles to the list of registered default tools Applied patches from BBai to 1 file Files modified: - api/src/llms/llmToolManager.ts commit 4128068b9278ec52587f449edf90127a2a98e70e Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:40:15 2024 +1000 Added unit tests for MoveFilesTool, covering various scenarios such as moving single files, multiple files, directories, overwriting existing files, and handling non-existent files. Applied patches from BBai to 1 file Files modified: - api/tests/t/llms/tools/moveFilesTool.test.ts commit 160f37208fa9d19625e8c40448174af25f07fb26 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:35:03 2024 +1000 Implemented move files tool console output formatting Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/moveFilesTool.console.ts commit 2d0e541deac6e78d1d53ac2f7397e0c7f8b4353f Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:34:49 2024 +1000 Implemented move files tool UI components Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/formatters/moveFilesTool.browser.tsx commit 739d99dd0a29ffb90c4a2ee63c0076f195d5dcf4 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 14:34:36 2024 +1000 Implemented a new MoveFilesTool class to move files and directories within the project directory, handling errors and providing formatted output. Applied patches from BBai to 1 file Files modified: - api/src/llms/tools/moveFilesTool.ts commit 16a17453e13061c860fdf3ee4be0443d844baa64 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 13:50:55 2024 +1000 Restored original working directory after running API tests Applied patches from BBai to 1 file Files modified: - api/tests/t/api.test.ts commit b9256d6b8c5084825376ffad995aa1e0296d9097 Author: Charlie Garrison <charlie-github@garrison.com.au> Date: Fri Oct 4 13:50:21 2024 +1000 Changed the test setup to change the current working directory to the test project root before importing the main module, and restored the original working directory after the test is complete. Applied patches from BBai to 1 file Files modified: - api/tests/t/api.test.ts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
move_files
for moving files and directories to a new directory within the projectrename_files
for renaming files and directories within the project