mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
163b88d664
Adds packages/argent/plugin.json and packages/argent/mcp.json, so the
published tarball is also a loadable Agent Plugins 1.0.0 plugin: the spec
fixes plugin.json, mcp.json and skills/ at the package root, and skills/
already lands there at build time.
Purely additive. `argent init` — its editor detection, the MCP entries it
writes, the rules and agents it copies, global vs. local install modes —
is untouched; nothing under packages/argent-installer changes. The plugin
route is a second way in for clients that implement the standard, not a
replacement for the one that configures the ten editors we support today.
The MCP server launches via `npx -y @swmansion/argent@<version> mcp`
rather than a ${PLUGIN_ROOT}-relative path: a plugin directory can reach a
client by a route that never runs `npm install` (a git clone, a
marketplace copy), so the server cannot be assumed to sit next to the
manifest. Pinning the version is what keeps the launched server on the
same release as the skills shipped beside it.
Both files are inert at build time, so nothing else in the repo notices
when a release bump leaves them behind — the plugin would keep launching
the previous release next to this release's skills.
check-workspace-versions.mjs now holds them to packages/argent/package.json
the same way it holds server.json: version, npx pin, both $schema values,
the server key the bundled skills name in their tool calls, and the
`files` entries without which neither file ships at all.