@kaminari-ad/mcp 0.1.0 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,96 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.5] - 2026-05-17
11
+
12
+ Re-release of v0.1.4 — the Corepack-based npm upgrade in v0.1.4
13
+ reported `Preparing npm@^11 for immediate activation...` but the
14
+ shell still showed bundled `npm 10.9.7`, because Corepack shims
15
+ were not in PATH priority. Publish failed at the same point (404).
16
+
17
+ ### Fixed
18
+
19
+ - **Release workflow pinned to Node 24** (instead of .nvmrc Node 22)
20
+ so the bundled npm is 11.x, which has built-in Trusted Publisher
21
+ OIDC publish support. CI and local dev keep .nvmrc Node 22 — only
22
+ the release job overrides. Added an explicit `npm --version` gate
23
+ that fails the build if npm < 11.5.1 (defense against future Node
24
+ releases bundling older npm).
25
+
26
+ ## [0.1.4] - 2026-05-17
27
+
28
+ Re-release of v0.1.3 — that release's `npm install -g npm@^11`
29
+ step broke mid-upgrade with `Cannot find module 'promise-retry'`
30
+ (npm 10 → 11 in-place self-upgrade leaves a broken state because
31
+ newer arborist references modules the old bundled tree never had).
32
+
33
+ ### Fixed
34
+
35
+ - **Upgrade npm via Corepack instead of in-place self-upgrade.**
36
+ Corepack (bundled with Node 22+) manages the npm install via a
37
+ separate symlink layer and avoids the self-upgrade race. The
38
+ publish step now reliably runs against npm 11.x with full OIDC
39
+ Trusted Publisher support.
40
+
41
+ ## [0.1.3] - 2026-05-17
42
+
43
+ Re-release of 0.1.1 / 0.1.2 (both failed at the npm publish step).
44
+ The 0.1.2 OIDC debug step revealed every JWT claim matches the
45
+ Trusted Publisher config perfectly — the failure was elsewhere.
46
+
47
+ ### Fixed
48
+
49
+ - **npm CLI version too old for OIDC publishing.** GitHub Actions
50
+ Node 22 LTS runner ships with **npm 10.x bundled**, but npm
51
+ Trusted Publisher OIDC publish was introduced in **npm 11.5.1**
52
+ (Aug 2025). Without it, `npm publish --provenance` signs the
53
+ sigstore attestation BUT sends the actual PUT to the registry
54
+ unauthenticated → npm replies HTTP 404 "not found" (security
55
+ obscurity for "no auth"). Workflow now runs
56
+ `npm install -g npm@^11` before `npm ci` / publish, pinning the
57
+ latest npm 11.x line.
58
+
59
+ ## [0.1.2] - 2026-05-17
60
+
61
+ Re-release of v0.1.1 — that tag's release pipeline failed at the
62
+ npm publish step (HTTP 404 — npm Trusted Publisher OIDC subject
63
+ mismatch we couldn't pre-diagnose). No 0.1.1 tarball ever landed
64
+ on the registry; users skip straight from 0.1.0 to 0.1.2. Bin
65
+ alias fix and OIDC switch from 0.1.1 carry forward; this release
66
+ adds a diagnostic step that prints the GitHub OIDC subject claim
67
+ before the publish attempt, so any future Trusted Publisher
68
+ mismatch is visible in workflow logs (not silently 404'd).
69
+
70
+ ### Added
71
+
72
+ - `release.yml` "Debug OIDC subject claim" step — fetches the
73
+ `npm:registry.npmjs.org`-audience OIDC token, decodes the JWT
74
+ payload, prints the `sub` / `repository` / `workflow` /
75
+ `environment` claims. Sensitive data is the signed token itself
76
+ (logged claims are public metadata).
77
+
78
+ ## [0.1.1] - 2026-05-17
79
+
80
+ ### Fixed
81
+
82
+ - **`npx -y @kaminari-ad/mcp` failed with `command not found`.** npx
83
+ defaults the bin name to the **basename of the package** (`mcp` for
84
+ a scoped `@kaminari-ad/mcp`), but v0.1.0 declared bin
85
+ `kaminari-ad-mcp` only — so the documented Cursor / Claude Desktop
86
+ config in README literally did not start the server. Added `"mcp":
87
+ "./dist/bin.js"` as a second bin entry; both names now work
88
+ (`npx -y @kaminari-ad/mcp` and `npx -y -p @kaminari-ad/mcp
89
+ kaminari-ad-mcp`). No other changes — pure ergonomics.
90
+
91
+ ### Changed
92
+
93
+ - **npm publish now uses GitHub Actions OIDC + provenance** instead
94
+ of a static `NPM_TOKEN`. Restored `publishConfig.provenance: true`
95
+ and `--provenance` flag in `release.yml`; the `npm-publish`
96
+ GitHub Environment + the Trusted Publisher registered on the npm
97
+ package settings page produce signed sigstore attestations
98
+ reachable from the npm package page.
99
+
10
100
  ## [0.1.0] - 2026-05-17
11
101
 
12
102
  First public release of `@kaminari-ad/mcp`.
@@ -379,5 +469,10 @@ Initial public release. The first version that ships to npm under
379
469
  need them.
380
470
  - Invoice PDF fetcher — same reason.
381
471
 
382
- [Unreleased]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...HEAD
472
+ [Unreleased]: https://github.com/kaminari-ad/mcp/compare/v0.1.5...HEAD
473
+ [0.1.5]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...v0.1.5
474
+ [0.1.4]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...v0.1.4
475
+ [0.1.3]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...v0.1.3
476
+ [0.1.2]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...v0.1.2
477
+ [0.1.1]: https://github.com/kaminari-ad/mcp/compare/v0.1.0...v0.1.1
383
478
  [0.1.0]: https://github.com/kaminari-ad/mcp/releases/tag/v0.1.0
package/dist/bin.js CHANGED
@@ -31,7 +31,7 @@ var NAME, VERSION;
31
31
  var init_version = __esm({
32
32
  "src/shared/version.ts"() {
33
33
  NAME = "@kaminari-ad/mcp";
34
- VERSION = "0.1.0";
34
+ VERSION = "0.1.5";
35
35
  }
36
36
  });
37
37
  var REDACTED, BEARER_HASH_PREFIX_LEN, MAX_HEADER_LEN, BearerToken;