From 9f11bd32e6d9f57d0b89d1bd5f9a7124e6d42601 Mon Sep 17 00:00:00 2001 From: Chisanan232 Date: Wed, 3 Jun 2026 09:07:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20(release):=20Lowercase=20reposit?= =?UTF-8?q?ory.url=20in=20package.json=20for=20npm=20sigstore=20provenance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit npm's sigstore provenance verification performs a case-sensitive string compare between the package's `repository.url` and the canonical GitHub URL emitted in the provenance bundle (which is always lowercase `ai-agent-assembly`). GitHub routing is case-insensitive so the mixed-case URL works for humans, but `pnpm publish` against the npm registry rejects the upload with HTTP 422: Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "git+https://github.com/AI-agent-assembly/node-sdk.git", expected to match "https://github.com/ai-agent-assembly/node-sdk" from provenance This bit us during the v0.0.1-alpha.4 release: the root `@agent-assembly/sdk` and all four `@agent-assembly/runtime-*` sub-packages failed to publish. Lowercase the org segment in every package.json that ships to npm so the next `release-node.yml` run can complete the publish step. --- package.json | 6 +++--- packages/runtime-darwin-arm64/package.json | 2 +- packages/runtime-darwin-x64/package.json | 2 +- packages/runtime-linux-arm64/package.json | 2 +- packages/runtime-linux-x64/package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 569ab48..d0fcf20 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,12 @@ }, "repository": { "type": "git", - "url": "https://github.com/AI-agent-assembly/node-sdk.git" + "url": "https://github.com/ai-agent-assembly/node-sdk.git" }, "bugs": { - "url": "https://github.com/AI-agent-assembly/node-sdk/issues" + "url": "https://github.com/ai-agent-assembly/node-sdk/issues" }, - "homepage": "https://github.com/AI-agent-assembly/node-sdk#readme", + "homepage": "https://github.com/ai-agent-assembly/node-sdk#readme", "exports": { ".": { "import": "./dist/esm/index.js", diff --git a/packages/runtime-darwin-arm64/package.json b/packages/runtime-darwin-arm64/package.json index dcd98a9..4ce5706 100644 --- a/packages/runtime-darwin-arm64/package.json +++ b/packages/runtime-darwin-arm64/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AI-agent-assembly/node-sdk.git", + "url": "https://github.com/ai-agent-assembly/node-sdk.git", "directory": "packages/runtime-darwin-arm64" }, "os": ["darwin"], diff --git a/packages/runtime-darwin-x64/package.json b/packages/runtime-darwin-x64/package.json index cb4ba6a..a2a2d85 100644 --- a/packages/runtime-darwin-x64/package.json +++ b/packages/runtime-darwin-x64/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AI-agent-assembly/node-sdk.git", + "url": "https://github.com/ai-agent-assembly/node-sdk.git", "directory": "packages/runtime-darwin-x64" }, "os": ["darwin"], diff --git a/packages/runtime-linux-arm64/package.json b/packages/runtime-linux-arm64/package.json index 3bc949f..ccdb806 100644 --- a/packages/runtime-linux-arm64/package.json +++ b/packages/runtime-linux-arm64/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AI-agent-assembly/node-sdk.git", + "url": "https://github.com/ai-agent-assembly/node-sdk.git", "directory": "packages/runtime-linux-arm64" }, "os": ["linux"], diff --git a/packages/runtime-linux-x64/package.json b/packages/runtime-linux-x64/package.json index 3f1fcb0..9a429b5 100644 --- a/packages/runtime-linux-x64/package.json +++ b/packages/runtime-linux-x64/package.json @@ -5,7 +5,7 @@ "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AI-agent-assembly/node-sdk.git", + "url": "https://github.com/ai-agent-assembly/node-sdk.git", "directory": "packages/runtime-linux-x64" }, "os": ["linux"],