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:
7
package-lock.json
generated
7
package-lock.json
generated
@@ -1,19 +1,20 @@
|
||||
{
|
||||
"name": "a2amcp",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "a2amcp",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.0.4",
|
||||
"commander": "^12.1.0"
|
||||
},
|
||||
"bin": {
|
||||
"a2a-mcp": "dist/cli.js"
|
||||
"a2a-mcp": "dist/cli.js",
|
||||
"a2amcp": "dist/cli.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.12.0",
|
||||
|
||||
Reference in New Issue
Block a user