release: 0.1.3 — add a2amcp bin, sync server/cli version from package.json
Adds an "a2amcp" bin (alongside the existing "a2a-mcp" for back-compat) so that npx -y a2amcp resolves the binary by package name. Without it npx fell back unreliably when no bin matched. Also rips the hardcoded "0.1.0" out of cli.ts and gateway.ts and reads the version from package.json — that was why serverInfo lagged behind the published tag. Renames the user-facing command in help / error strings / README from a2a-mcp to a2amcp; the legacy bin stays for existing scripts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "a2amcp",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "MCP gateway for a2acloud agents. Run as a local MCP server; expose any number of deployed A2A agents to Claude Code, Cursor, and other MCP clients.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"a2amcp": "dist/cli.js",
|
||||
"a2a-mcp": "dist/cli.js"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
||||
Reference in New Issue
Block a user