chore: rename external-tools.json to bundle-tools.json#1190
Merged
John-David Dalton (jdalton) merged 5 commits intomainfrom Apr 11, 2026
Merged
chore: rename external-tools.json to bundle-tools.json#1190John-David Dalton (jdalton) merged 5 commits intomainfrom
John-David Dalton (jdalton) merged 5 commits intomainfrom
Conversation
* fix: migrate getSupportedScanFiles to getSupportedFiles (SDK v4) SDK v4 removed deprecated getSupportedScanFiles(). The replacement getSupportedFiles(orgSlug) requires an org parameter. Updated all type references from getReportSupportedFiles to getSupportedFiles. * fix(tests): update supported files tests for SDK v4 getSupportedFiles(orgSlug) * fix(tests): correct mock path for fetch-default-org-slug (.mjs not .mts) * fix: pass orgSlug to fetchSupportedScanFileNames instead of discovering internally
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
Author
Revised schema proposal v3Addressing all review feedback + aligning with the external-tools.json pattern now used in socket-btm, ultrathink, and the setup-security-tools hook. Key design decisions
URL constructionAll URLs are built from generic parts: Example — Python ( Example — OpenGrep (no Schema by exampleGitHub release asset: "opengrep": {
"description": "OpenGrep SAST engine",
"repository": "github:opengrep/opengrep",
"release": "asset",
"version": "v1.16.0",
"checksums": { ... }
}Asset with separate release tag: "python": {
"description": "Python runtime",
"repository": "github:astral-sh/python-build-standalone",
"release": "asset",
"version": "3.11.14",
"tag": "20260203",
"checksums": { ... }
}GitHub source archive → pip install: "socket-basics": {
"description": "Socket Basics",
"repository": "github:SocketDev/socket-basics",
"release": "archive",
"version": "v2.0.2",
"packageManager": "pip",
"checksums": { ... }
}npm package: "@coana-tech/cli": {
"description": "Coana CLI",
"version": "14.12.165",
"packageManager": "npm",
"integrity": "sha512-..."
}PyPI package: "socketsecurity": {
"description": "Socket Python CLI",
"version": "2.2.70",
"packageManager": "pip",
"checksums": { ... }
}Dual-source (GitHub binary + npm fallback): "sfw": {
"description": "Socket Firewall",
"repository": "github:SocketDev/sfw-free",
"release": "asset",
"version": "v1.6.1",
"checksums": { ... },
"npm": { "package": "sfw", "version": "2.0.4" }
}Properties
Removed
|
Migrate JSON and all consumers together:
- type 'npm' → packageManager: 'npm'
- type 'github-release' → repository: 'github:...' + release: 'asset'
- type 'github-source' → repository + release: 'archive' + packageManager: 'pip'
- type 'pypi' → packageManager: 'pip'
- githubRelease → version
- buildTag → tag
- npmPackage/npmVersion → npm: { package, version }
Bill Li (billxinli)
approved these changes
Apr 11, 2026
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.
Summary
external-tools.json→bundle-tools.jsonto clarify its purpose as a VFS bundling manifest (npm packages, GitHub releases, PyPI packages with checksums)external-tools.jsonused by build-infra in sibling repos (socket-btm, ultrathink) which is a build tool configTest plan
Note
Low Risk
Low risk rename-only change, but any missed reference to
external-tools.jsonwill break SEA build/test setup by failing to load tool versions/checksums (e.g.,.env.testcomments still mention the old name).Overview
Renames the CLI bundling manifest to
bundle-tools.jsonand updates SEA download/bundling scripts, checksum sync tooling, test setup, and env/version/checksum error messaging to read from the new filename.This is primarily a wiring/docs update: all places that load tool versions/checksums for inlining and integrity verification now point at
bundle-tools.jsoninstead ofexternal-tools.json.Reviewed by Cursor Bugbot for commit ee16d6d. Configure here.