chore: remove image, vision, TTS, and MoA tools from codebase#67
Open
avoidwork wants to merge 2 commits into
Open
chore: remove image, vision, TTS, and MoA tools from codebase#67avoidwork wants to merge 2 commits into
avoidwork wants to merge 2 commits into
Conversation
This file contains hidden or 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
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.
Description
Removes four non-core tools from the agent tool registry:
image_generate,vision_analyze,text_to_speech, andmixture_of_agents. This simplifies the codebase, reduces attack surface, and eliminates unnecessary API key requirements (FAL_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY) for tools outside the core agent workflow.Type of Change
Testing
tests/unit/tool_index.test.jsto remove orphaned env-var mocksnpm run coveragepasses; coverage.txt updated by pre-commit hookCoverage
Checklist
npm run lintpasses (oxlint + oxfmt via pre-commit hook)Files Changed
src/tools/image.jssrc/tools/vision.jssrc/tools/tts.jssrc/tools/moa.jstests/unit/tools_image.test.jstests/unit/tools_vision.test.jstests/unit/tools_tts.test.jstests/unit/tools_moa.test.jstests/unit/tool_registration.test.jssrc/tools/index.js(removed imports, permissions, factories, switch cases)docs/FLOWS.md(removed tool references)tests/unit/tool_index.test.js(removed orphaned env-var mocks)coverage.txt