Skip to content

v0.99.1 — metaswarm-agents.sh version fallback, run-time key fixtures

Latest

Choose a tag to compare

@dsifry dsifry released this 01 Dec 15:07
1ca18ad

Patch release. metaswarm-agents.sh now reads its version from package.json when the plugin manifest is missing (npm installs), and the key-shaped strings in the test fixtures are built at run time. None of those strings was a real key.

Update: claude plugin marketplace update metaswarm-marketplace && claude plugin update metaswarm@metaswarm-marketplace, then restart Claude Code. Coming from 0.16 or earlier, read the Upgrading section of v0.99.0.

Fixed

  • metaswarm-agents.sh reads its version from package.json when the plugin manifest is missing (#128). The npm package ships bin/ but not .claude-plugin/, so generate run from an npm install printed a missing-file error and wrote agent headers with an empty version. The script now reads .claude-plugin/plugin.json first and the package's package.json second. If neither gives a version, generate and check exit 3 with a message and write nothing; resolve and clean do not need the version and still run. Found in the review of the 0.99.0 release PR. Sourcing the script (as the tests do) keeps working when no version can be read. Still open in #128: the script is not on PATH after an npm install, so call it by its full path from the project root.

Changed

  • Key-shaped test fixtures are built at run time. tests/agents/test-research-roles.sh held made-up strings in the shape of Google, GitHub, Anthropic and AWS keys as literals, and GitHub's secret scanner raised an alert on the Google one. None was a real key. The fixtures are now assembled from parts, and the test that enforces "No Live-Shaped Credentials in Fixtures" (guides/testing-patterns.md) checks these shapes as well as the Stripe one.