From 23f5fc72ca83a4c01696bb94ebf53e23f0c68e88 Mon Sep 17 00:00:00 2001 From: Seto Elkahfi Date: Fri, 27 Nov 2026 14:36:58 +0100 Subject: [PATCH 1/3] Build the npm launcher before adding its platform packages The v1.4.0 launcher job failed at `npm ci`: the lockfile listed the six @getsigit/si-- packages with no version, and once they existed on npm the lockfile no longer matched package.json. Regenerating it would only move the problem to the next release, because a lockfile can't pin a version that hasn't been published yet. The committed package.json and lockfile now leave the platform packages out. The workflow runs `npm ci` and the build first, and render-main-package.cjs adds them at the release version just before `npm publish`. Co-Authored-By: Claude Opus 5.5 Co-Authored-By: siGit Code v1.7.10 --- .github/workflows/release-npm.yml | 9 +++++-- packaging/npm/scripts/render-main-package.cjs | 3 ++- packaging/npm/si/package-lock.json | 26 ------------------- packaging/npm/si/package.json | 8 ------ 4 files changed, 9 insertions(+), 37 deletions(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index f16b1df..830dc67 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -243,13 +243,18 @@ jobs: node-version-file: .nvmrc registry-url: "https://registry.npmjs.org" - - name: Render and build the launcher + # Build first, then render. The committed package.json and lockfile leave out the six + # platform packages, because a lockfile can't pin a version that hasn't been published: + # it would hold the previous release's version and `npm ci` would refuse it. The build + # only needs TypeScript. The render then adds the platform packages at this release's + # version, just before `npm publish`. + - name: Build and render the launcher shell: bash working-directory: packaging/npm/si run: | - node ../scripts/render-main-package.cjs ./package.json "${RELEASE_VERSION}" npm ci npm run build + node ../scripts/render-main-package.cjs ./package.json "${RELEASE_VERSION}" - name: Check whether the package version already exists on npm id: npm-check diff --git a/packaging/npm/scripts/render-main-package.cjs b/packaging/npm/scripts/render-main-package.cjs index 5aa2c18..f95788a 100644 --- a/packaging/npm/scripts/render-main-package.cjs +++ b/packaging/npm/scripts/render-main-package.cjs @@ -10,7 +10,8 @@ if (!outputPath || !version) { } // The platform binary packages the launcher resolves at runtime. Kept in lockstep with the -// release-npm.yml build matrix. +// release-npm.yml build matrix. They are only added here, at publish time, and never to the +// committed package.json or its lockfile (see the "Build and render the launcher" step). const platformSuffixes = [ "darwin-arm64", "darwin-x64", diff --git a/packaging/npm/si/package-lock.json b/packaging/npm/si/package-lock.json index 9ee41e3..e35a841 100644 --- a/packaging/npm/si/package-lock.json +++ b/packaging/npm/si/package-lock.json @@ -14,34 +14,8 @@ "devDependencies": { "@types/node": "^18.15.11", "typescript": "^5.0.0" - }, - "optionalDependencies": { - "@getsigit/si-darwin-arm64": "1.4.0", - "@getsigit/si-darwin-x64": "1.4.0", - "@getsigit/si-linux-arm64": "1.4.0", - "@getsigit/si-linux-x64": "1.4.0", - "@getsigit/si-windows-arm64": "1.4.0", - "@getsigit/si-windows-x64": "1.4.0" } }, - "node_modules/@getsigit/si-darwin-arm64": { - "optional": true - }, - "node_modules/@getsigit/si-darwin-x64": { - "optional": true - }, - "node_modules/@getsigit/si-linux-arm64": { - "optional": true - }, - "node_modules/@getsigit/si-linux-x64": { - "optional": true - }, - "node_modules/@getsigit/si-windows-arm64": { - "optional": true - }, - "node_modules/@getsigit/si-windows-x64": { - "optional": true - }, "node_modules/@types/node": { "version": "18.19.130", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.130.tgz", diff --git a/packaging/npm/si/package.json b/packaging/npm/si/package.json index d232499..4339778 100644 --- a/packaging/npm/si/package.json +++ b/packaging/npm/si/package.json @@ -32,13 +32,5 @@ "devDependencies": { "@types/node": "^18.15.11", "typescript": "^5.0.0" - }, - "optionalDependencies": { - "@getsigit/si-darwin-arm64": "1.4.0", - "@getsigit/si-darwin-x64": "1.4.0", - "@getsigit/si-linux-arm64": "1.4.0", - "@getsigit/si-linux-x64": "1.4.0", - "@getsigit/si-windows-arm64": "1.4.0", - "@getsigit/si-windows-x64": "1.4.0" } } From 3f45b5aad4a473f9739d8bed973cd4ea5f11682c Mon Sep 17 00:00:00 2001 From: Seto Elkahfi Date: Fri, 27 Nov 2026 15:13:16 +0100 Subject: [PATCH 2/3] Rename the Claude plugin to sigitsi The directory's name check refuses "sigit" and the author "siGit" because each is one letter away from an existing connector, "siit". The plugin is now "sigitsi" and its author "siGit Si". Co-Authored-By: Claude Opus 5.5 Co-Authored-By: siGit Code v1.7.10 --- packaging/claude-plugin/.claude-plugin/plugin.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/claude-plugin/.claude-plugin/plugin.json b/packaging/claude-plugin/.claude-plugin/plugin.json index df29fbb..3379618 100644 --- a/packaging/claude-plugin/.claude-plugin/plugin.json +++ b/packaging/claude-plugin/.claude-plugin/plugin.json @@ -1,9 +1,9 @@ { - "name": "sigit", + "name": "sigitsi", "version": "1.4.0", "description": "Work with your siGit (sigit.si) repositories from Claude: browse and search code, read and open issues and pull requests, comment, and search the web.", "author": { - "name": "siGit", + "name": "siGit Si", "email": "privacy@sigit.si", "url": "https://sigit.si" }, From 1dcf6efc2927f0a8b25f29f56e16fc9e7af64083 Mon Sep 17 00:00:00 2001 From: Seto Elkahfi Date: Fri, 27 Nov 2026 15:14:01 +0100 Subject: [PATCH 3/3] Release 1.4.1 Co-Authored-By: Claude Opus 5.5 Co-Authored-By: siGit Code v1.7.10 --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- packaging/claude-plugin/.claude-plugin/plugin.json | 2 +- packaging/npm/si/package-lock.json | 4 ++-- packaging/npm/si/package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b89e06..bcfadb7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1581,7 +1581,7 @@ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" [[package]] name = "sigit-si-api" -version = "1.4.0" +version = "1.4.1" dependencies = [ "chrono", "reqwest", @@ -1593,7 +1593,7 @@ dependencies = [ [[package]] name = "sigit-si-cli" -version = "1.4.0" +version = "1.4.1" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 398c7f8..a4d61bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = ["crates/cli", "crates/sigit-si-api"] # without pulling in clap, dialoguer, and the rest of the terminal surface. # `cli` is the thin `si` binary on top of it. [workspace.package] -version = "1.4.0" +version = "1.4.1" edition = "2021" authors = ["Seto Elkahfi "] license = "Apache-2.0" @@ -33,7 +33,7 @@ rmcp = { version = "3.2", features = [ schemars = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" -sigit-si-api = { version = "1.4.0", path = "crates/sigit-si-api" } +sigit-si-api = { version = "1.4.1", path = "crates/sigit-si-api" } tabled = { version = "0.20", default-features = false, features = ["std"] } thiserror = "2.0" # `io-std` is what the MCP stdio transport binds to. diff --git a/packaging/claude-plugin/.claude-plugin/plugin.json b/packaging/claude-plugin/.claude-plugin/plugin.json index 3379618..3fd654d 100644 --- a/packaging/claude-plugin/.claude-plugin/plugin.json +++ b/packaging/claude-plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "sigitsi", - "version": "1.4.0", + "version": "1.4.1", "description": "Work with your siGit (sigit.si) repositories from Claude: browse and search code, read and open issues and pull requests, comment, and search the web.", "author": { "name": "siGit Si", diff --git a/packaging/npm/si/package-lock.json b/packaging/npm/si/package-lock.json index e35a841..6e3761f 100644 --- a/packaging/npm/si/package-lock.json +++ b/packaging/npm/si/package-lock.json @@ -1,12 +1,12 @@ { "name": "@getsigit/si", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@getsigit/si", - "version": "1.4.0", + "version": "1.4.1", "license": "Apache-2.0", "bin": { "si": "lib/index.js" diff --git a/packaging/npm/si/package.json b/packaging/npm/si/package.json index 4339778..dbf2a8a 100644 --- a/packaging/npm/si/package.json +++ b/packaging/npm/si/package.json @@ -1,6 +1,6 @@ { "name": "@getsigit/si", - "version": "1.4.0", + "version": "1.4.1", "mcpName": "si.sigit/cli", "keywords": [ "sigit",