diff --git a/CHANGELOG.md b/CHANGELOG.md index 9042a29..fc8f53d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.1.1 — 2026-10-24 + +- The package carries SECURITY.md, which the README links to. +- Published from GitHub Actions through npm trusted publishing, with provenance: npm shows the commit and the + workflow run each version was built from. + ## 0.1.0 — 2026-10-24 First release. diff --git a/README.md b/README.md index 00391f9..340f9e8 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,14 @@ You need Node.js 20.10 or later (`node --version`). npm install -g agentic-physics ``` -You can also install it from a GitHub release, without npm's registry: +You can also install it from a [GitHub release](https://github.com/Kernel-Science/agentic-physics-cli/releases), without npm's registry. Each release carries the package's tarball and its checksums. For example: ```bash -npm install -g https://github.com/Kernel-Science/agentic-physics-cli/releases/download/v0.1.0/agentic-physics-0.1.0.tgz +npm install -g https://github.com/Kernel-Science/agentic-physics-cli/releases/download/v0.1.1/agentic-physics-0.1.1.tgz ``` +Every version from 0.1.1 on is published from this repository's CI with [npm provenance](https://docs.npmjs.com/generating-provenance-statements): npm's page for the package names the commit and the workflow run it was built from. + Check the install with: ```bash @@ -375,9 +377,9 @@ node dist/src/bin.js --help The CLI has no runtime dependencies. It speaks the same HTTP API as the console's browser client, the VS Code extension and the desktop app. `AGENTIC_PHYSICS_URL=http://127.0.0.1:3000` points it at a local console. To release: -1. Bump `version` in `package.json` and add a `CHANGELOG.md` entry. -2. Run `npm publish`. -3. Attach the `npm pack` tarball to a GitHub release tagged `v`. +1. Bump `version` in `package.json` and add a `CHANGELOG.md` entry, in a pull request. +2. Once it is merged, publish a GitHub release tagged `v`, with the `npm pack` tarball attached. +3. `.github/workflows/publish.yml` publishes it to npm through trusted publishing, with provenance. No npm token is stored anywhere. ## License diff --git a/package-lock.json b/package-lock.json index e85a5db..c094d76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "agentic-physics", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "agentic-physics", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "bin": { "agentic-physics": "dist/src/bin.js" diff --git a/package.json b/package.json index 1f59af7..e4c7a15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agentic-physics", - "version": "0.1.0", + "version": "0.1.1", "description": "Command-line client for Agentic Physics: formalize physics in Lean 4, prove it with a kernel-checked proof, and talk to the agent — from a terminal or from a coding agent such as Claude Code.", "type": "module", "bin": { @@ -11,6 +11,7 @@ "skill", "README.md", "CHANGELOG.md", + "SECURITY.md", "LICENSE" ], "engines": {