Repository navigation
ToolScope v0.3.0: offline baseline comparison
Compare exported tool definitions directly from a command line:
node scripts/compare-tool-baselines.mjs baseline.json current.jsonThe command reuses ToolScope’s validated baseline parser. It emits deterministic JSON and exits 0 when definitions match, 1 when they differ and 2 for invalid input. It ignores capture times and object-key order, reports tool additions/removals and changed top-level fields, and preserves both input files. Regular UTF-8 files, strict schema checks and bounded reads prevent invalid or excessive inputs from becoming successful reports. Runnable synthetic examples are included.
Root runtime dependencies update to Undici 8.11.2, fast-uri 3.1.8 and ip-address 10.7.2. The current production dependency audits report zero matches across the five installs. Weekly reviewed Dependabot updates coordinate shared dependencies across those installs; automatic merging is disabled.
Verification: full validation and coverage on the exact released commit passed, including all four clients, built launcher/CLI/terminal/browser smoke flows and Storybook interactions. Independent GPT-6 Astra review closed the shared-parser coverage finding. A fresh root-only install from the source archive passed all six actual offline-command cases and both documented examples. Both attached archives match all 1,416 tracked files and executable modes at 928915cd64bf6520c90f30b04aca40e0e49fd65f; SHA256SUMS records their hashes.
Use: download and extract either source archive. Node 24 is required. For the offline comparison alone, install the root production dependencies without install hooks:
npm ci --omit=dev --ignore-scripts
node scripts/compare-tool-baselines.mjs examples/tool-baselines/before.json examples/tool-baselines/after.jsonThe synthetic example intentionally exits 1: it reports the added inspect_part tool and changed lookup.description. The README covers full browser, CLI and terminal setup.
The comparison reports definition changes, not backward compatibility or authenticated server history. No external provider or production deployment was exercised. ToolScope adapts MCP Inspector with retained attribution, licenses and notices. This GitHub source release is version 0.3.0; inherited package metadata remains 2.8.0. It is not an npm publication.