1 Commits

Author SHA1 Message Date
Mika Kuns
d456f29138 fix(plugin): sync plugin.json version with releases
All checks were successful
Release / release (push) Successful in 8s
Release (Node) / release (push) Successful in 12s
plugin.json was stuck at 0.1.0 across every release, so Claude Code's
per-version plugin cache never refreshed and clients kept running the
original .mcp.json (http://127.0.0.1:47822/mcp). Bump to 1.2.0 to match
the node package and add a release-workflow step that derives plugin.json
from the tag on every future release.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 14:51:34 +02:00
2 changed files with 11 additions and 1 deletions

View File

@@ -38,6 +38,16 @@ jobs:
VERSION: ${{ steps.ver.outputs.version }} VERSION: ${{ steps.ver.outputs.version }}
run: npm version --no-git-tag-version --allow-same-version "$VERSION" run: npm version --no-git-tag-version --allow-same-version "$VERSION"
- name: Sync plugin.json version
working-directory: ${{ github.workspace }}
env:
VERSION: ${{ steps.ver.outputs.version }}
run: |
set -euo pipefail
jq --arg v "$VERSION" '.version = $v' plugin/.claude-plugin/plugin.json > plugin/.claude-plugin/plugin.json.tmp
mv plugin/.claude-plugin/plugin.json.tmp plugin/.claude-plugin/plugin.json
cat plugin/.claude-plugin/plugin.json
- name: Install - name: Install
run: npm ci run: npm ci

View File

@@ -1,6 +1,6 @@
{ {
"name": "claude-mailbox", "name": "claude-mailbox",
"version": "0.1.0", "version": "1.2.0",
"description": "Auto-checks the local Claude-Mailbox daemon before every prompt and injects pending messages into the conversation context.", "description": "Auto-checks the local Claude-Mailbox daemon before every prompt and injects pending messages into the conversation context.",
"author": { "author": {
"name": "Mika Kuns" "name": "Mika Kuns"