agentic-pi 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +17 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -382,18 +382,23 @@ agentic-pi publishes to npm via a GitHub Actions workflow using **npm
382
382
  trusted publishing** (OIDC) — no `NPM_TOKEN` secret is needed in the
383
383
  repo.
384
384
 
385
- To cut a release:
386
-
387
- 1. Bump `version` in `package.json` (e.g. `0.1.0` `0.2.0`).
388
- 2. Commit the bump.
389
- 3. Tag: `git tag v0.2.0 && git push --tags`.
390
- 4. The `publish.yml` workflow runs: it verifies the tag matches
391
- `package.json`, type-checks, builds, runs unit tests, then runs
392
- `npm publish --provenance --access public`.
393
-
394
- The workflow fails the publish step if the tag and `package.json` version
395
- don't match there is no path that publishes a version not represented
396
- in the repo at that exact commit.
385
+ To cut a release (recommended path):
386
+
387
+ 1. Bump `version` in `package.json` `npm version patch` does this, plus
388
+ commit and tag, in one step.
389
+ 2. Push the commit and tag: `git push --follow-tags`.
390
+ 3. Create a GitHub Release on the new tag, e.g.
391
+ `gh release create v0.2.0 --generate-notes` or via the GitHub web UI.
392
+ 4. The `publish.yml` workflow runs on the `release: published` event.
393
+
394
+ The workflow also triggers on bare `v*.*.*` tag pushes and on manual
395
+ `workflow_dispatch`. The `release` event is the preferred path because
396
+ tag-push events get suppressed when a tag is pushed in the same `git
397
+ push` invocation as branch commits — a real GitHub Actions quirk.
398
+
399
+ The publish step fails if the tag (or the dispatch `ref` input) doesn't
400
+ match `package.json` version — there is no path that publishes a version
401
+ not represented in the repo at that exact commit.
397
402
 
398
403
  ### One-time setup (trusted publisher)
399
404
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-pi",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A drop-in coding-agent harness built on earendil-works/pi, designed to replace opencode in workflow-driven systems like lastlight.",
5
5
  "license": "MIT",
6
6
  "repository": {