From 5ff7e11a11842776960c9d5168c6cdf52068ea01 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 28 Apr 2026 23:22:56 +0800 Subject: [PATCH 1/2] fix: remove registry-url to restore OIDC Trusted Publisher registry-url in setup-node generates .npmrc with empty _authToken, which interferes with npm's OIDC auto-detection, causing 404 on publish. Root cause: commit 809f5d7 accidentally re-added registry-url while adding prerelease tag support. This broke the Trusted Publisher setup from 200cd9b. Also revert the incorrect NODE_AUTH_TOKEN fix from PR #32. Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e73eac..a758216 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,8 +23,9 @@ jobs: uses: actions/setup-node@v4 with: node-version: '22' - registry-url: 'https://registry.npmjs.org' cache: 'npm' + # Trusted Publisher (OIDC): 不设置 registry-url,避免 .npmrc + # 中生成空 _authToken 干扰 npm 的 OIDC 自动检测 - name: Install dependencies run: npm ci @@ -66,8 +67,7 @@ jobs: echo "Publishing stable version $VERSION" npm publish --provenance fi - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # Trusted Publisher: npm CLI 自动通过 OIDC 认证,无需 NODE_AUTH_TOKEN - name: Create GitHub Release if: steps.version.outputs.should_publish == 'true' From 0d091dd92278e583e9e0ff220c8192d85f7c72d8 Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Tue, 28 Apr 2026 23:23:02 +0800 Subject: [PATCH 2/2] chore: bump version to 1.6.6 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b74aef4..67f2cc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@maplezzk/mcps", - "version": "1.6.5", + "version": "1.6.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@maplezzk/mcps", - "version": "1.6.5", + "version": "1.6.6", "license": "ISC", "dependencies": { "@modelcontextprotocol/sdk": "^1.25.3", diff --git a/package.json b/package.json index 69e4439..6310cf0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maplezzk/mcps", - "version": "1.6.5", + "version": "1.6.6", "description": "A CLI to manage and use MCP servers", "publishConfig": { "access": "public"