@onlooker-community/ecosystem 0.43.0 → 0.43.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecosystem",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "description": "Observability substrate for Claude Code. Provides the shared $ONLOOKER_DIR storage root (default $HOME/.onlooker), canonical schema-validated event emission, session and tool tracking hooks, and prompt rules. Required by all other Onlooker plugins.",
5
5
  "author": {
6
6
  "name": "Onlooker Community",
@@ -39,17 +39,26 @@ jobs:
39
39
  - run: npm ci
40
40
  if: ${{ contains(fromJSON(steps.release.outputs.paths_released || '[]'), '.') }}
41
41
 
42
- # --provenance is what makes the id-token: write permission above do
43
- # anything. Without it npm never requests an OIDC token and the publish
44
- # authenticates with NPM_TOKEN alone a classic automation token, which
45
- # this package's 2FA policy rejects with a 403. The permission has been
46
- # granted since #175 and inert ever since, so every release from 0.35.0
47
- # on tagged cleanly and never reached npm.
42
+ # Trusted publishing authenticates via OIDC, and the OIDC exchange lives
43
+ # in npm's lib/utils/oidc.js added in npm 11.5.x. Node 22 bundles npm
44
+ # 10.9.8, which has no such module, so `npm publish` never even attempts
45
+ # the exchange and silently falls back to whatever token it finds. That
46
+ # is why every release from 0.35.0 on tagged cleanly and never reached
47
+ # npm: first as a 403 ("2FA is required but an automation token was
48
+ # specified"), then as a bare 404 once trusted publishing was switched on
49
+ # and the registry stopped accepting the automation token at all.
48
50
  #
49
- # --access public is a no-op on an already-public package; it is here for
50
- # parity with onlooker-community/schema's publish-npm.yml, the one
51
+ # a7c7a0e removed this upgrade because npm@latest was broken on hosted
52
+ # runners at the time (missing promise-retry) and provenance alone did
53
+ # work on the bundled npm. Provenance is not the problem — auth is.
54
+ - run: npm install -g npm@latest
55
+ if: ${{ contains(fromJSON(steps.release.outputs.paths_released || '[]'), '.') }}
56
+
57
+ # No NODE_AUTH_TOKEN here on purpose. With trusted publishing the token
58
+ # is the thing being replaced: npm trades the workflow's OIDC identity
59
+ # for a short-lived registry token at publish time. Supplying a static
60
+ # token invites npm to authenticate with it instead and fail closed.
61
+ # This mirrors onlooker-community/schema's publish-npm.yml, the one
51
62
  # configuration in this org that publishes successfully.
52
63
  - run: npm publish --provenance --access public
53
64
  if: ${{ contains(fromJSON(steps.release.outputs.paths_released || '[]'), '.') }}
54
- env:
55
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,5 +1,5 @@
1
1
  {
2
- ".": "0.43.0",
2
+ ".": "0.43.1",
3
3
  "plugins/archivist": "0.3.1",
4
4
  "plugins/tribunal": "1.2.7",
5
5
  "plugins/echo": "0.3.1",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.43.1](https://github.com/onlooker-community/ecosystem/compare/ecosystem-v0.43.0...ecosystem-v0.43.1) (2026-08-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **release:** upgrade npm so trusted publishing runs :relieved: ([#188](https://github.com/onlooker-community/ecosystem/issues/188)) ([caf6dfd](https://github.com/onlooker-community/ecosystem/commit/caf6dfddc3d906708538c258755d9bd8297970c1))
9
+
3
10
  ## [0.43.0](https://github.com/onlooker-community/ecosystem/compare/ecosystem-v0.42.2...ecosystem-v0.43.0) (2026-08-19)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlooker-community/ecosystem",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "description": "Agents, skills, hooks, commands, rules, and MCP configurations that power [Onlooker](https://onlooker.dev)",
5
5
  "author": {
6
6
  "name": "Onlooker Community",