Merged
Conversation
…nal fields - Updated JSON schemas for subfinder, urlfinder, and yt-dlp to remove unnecessary fields and make enumValues, dependencies, and validations optional. - Modified commandly nested and main types to reflect optional properties for enumValues, validations, and dependencies. - Enhanced UI components to safely access optional properties, preventing potential runtime errors. - Adjusted tool editor dialogs to accommodate changes in parameter handling, ensuring smooth updates and rendering of enum values. - Cleaned up manual new tool component by removing unused state properties.
There was a problem hiding this comment.
Pull request overview
This PR cleans up several tool definition JSON files under public/tools-collection/ by removing empty/unused fields, keeping the tool specs aligned with the (optional) schema for those properties.
Changes:
- Removed empty
"exclusionGroups": []fields from multiple tool JSON definitions. - Removed redundant
"metadata": { "tags": [] }blocks from someurlfinderparameters. - Trimmed trailing whitespace/newlines in
httpx.json.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| public/tools-collection/yt-dlp.json | Drops empty exclusionGroups to reduce JSON noise. |
| public/tools-collection/urlfinder.json | Removes empty exclusionGroups and empty metadata.tags blocks on some parameters. |
| public/tools-collection/subfinder.json | Drops empty exclusionGroups to reduce JSON noise. |
| public/tools-collection/shuffledns.json | Drops empty exclusionGroups to reduce JSON noise. |
| public/tools-collection/katana.json | Drops empty exclusionGroups to reduce JSON noise. |
| public/tools-collection/httpx.json | Drops empty exclusionGroups and trailing blank lines. |
| public/tools-collection/dnsx.json | Drops empty exclusionGroups to reduce JSON noise. |
| public/tools-collection/asnmap.json | Drops empty exclusionGroups to reduce JSON noise. |
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.
No description provided.