User custom tools support #94
Merged
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.
User custom tools support
Adds support for adding custom tools via Settings UI.
Write your own custom tool using JS, add a description in JSON, and Alice will be able to pick and use your new tool.
In-app validation, demo tool seeding.
Example workflow:
custom-tool-scripts/)custom-tools.jsonNote
Adds end-to-end support for user-defined script tools (JSON+Node) with a Settings UI, IPC APIs, validation, and runtime execution by the assistant.
customToolsManager.tsfor CRUD, JSON seeding/validation, script upload, and tool execution; IPC endpoints inipcManager.tswith window broadcast; preload exposescustomToolsAPI.UserCustomizationTab.vuefor managing tools (upload, add/edit, toggle, JSON editor);AssistantSettingsTab.vueshows custom tool status;Settings.vueadds Customization tab.customToolsStore.tsfor loading, toggling, replacing JSON, executing; shared types intypes/customTools.ts.apiService.tsincludes enabled custom tools in model tool list;functionCaller.tsroutes unknown calls to custom tools via IPC.docs/custom-tools.md; tests for manager and store.user-customization/**in Vite watch; extend TS includes; update.gitignorefor sandbox artifacts.Written by Cursor Bugbot for commit e837688. This will update automatically on new commits. Configure here.