pi-openai-codex-compat 0.0.6 → 0.0.7-alpha.0

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### Security
6
+
7
+ - Require npm releases to match a locally built SHA-256 recorded in an SSH-signed release commit before trusted publishing can stage the package.
8
+
5
9
  ## 0.0.6 - 2026-08-10
6
10
 
7
11
  ### Added
package/README.md CHANGED
@@ -404,7 +404,13 @@ search, and compaction continuation.
404
404
 
405
405
  ## Release staging
406
406
 
407
- The GitHub Actions workflow stages npm releases when a `v*` tag is pushed. The tag must match the `package.json` version, point at a commit whose subject is `release: v<version>`, and be a lightweight tag. Create it with `git tag v<version>`; do not use `git tag -a`, `git tag -s`, `git tag -m`, or `cog bump --annotated`.
407
+ 1. Run `npm run release -- X.Y.Z` from a clean, synchronized `main`.
408
+ 2. The command builds the exact package locally, records its SHA-256 in an SSH-signed release commit, proves a clean rebuild is reproducible, and creates a lightweight tag.
409
+ 3. Inspect the result, then push atomically with `git push --atomic origin main vX.Y.Z`.
410
+ 4. A read-only GitHub Actions job validates and packs the package. A separate GitHub-owned job verifies the signature and signed digest before attesting and staging that exact archive through npm trusted publishing.
411
+ 5. Approve the staged package on npmjs.com, or with `npm stage approve <stage-id>`.
412
+
413
+ Stable releases use `latest`; prereleases derive their npm dist-tag from the first prerelease identifier.
408
414
 
409
415
  ## Acknowledgements
410
416
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-openai-codex-compat",
3
- "version": "0.0.6",
3
+ "version": "0.0.7-alpha.0",
4
4
  "description": "OpenAI Codex compatibility for Pi with native compaction, fast mode, and Codex-optimized capabilities",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -33,6 +33,7 @@
33
33
  "test": "node --test --test-concurrency=1 test/*.test.ts",
34
34
  "test:live:codex": "PI_CODEX_LIVE_TEST=1 node --test --test-concurrency=1 test/codex-host.live.test.ts",
35
35
  "pack:dry": "npm pack --dry-run --allow-directory=all",
36
+ "release": "node scripts/release.ts",
36
37
  "fmt": "oxfmt",
37
38
  "lint": "oxlint",
38
39
  "lint:fix": "oxlint --fix"