@naiba/pi-durable-background-tasks 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +16 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  Supervised background shell commands for Pi Durable. No delegated agents, model configuration, or implicit model calls.
4
4
 
5
- **Initial development version. Linux only; requires Python 3.9+ and Linux pidfd support.** Not yet published to npm.
5
+ **Initial development version. Linux only; requires Python 3.9+ and Linux pidfd support.**
6
+
7
+ ```sh
8
+ bun add @naiba/pi-durable-background-tasks
9
+ ```
6
10
 
7
11
  ## Usage
8
12
 
@@ -43,3 +47,14 @@ bun test
43
47
  ```
44
48
 
45
49
  Tests exercise real Linux processes rather than mocked cancellation. The build includes the Python supervisor beside the JavaScript distribution.
50
+
51
+ ## Publishing
52
+
53
+ Releases use `.github/workflows/publish.yml` on pushed `v*` tags, with npm Trusted Publishing (OIDC); no npm token secret is required. Configure this package's GitHub Actions trusted publisher on npm:
54
+
55
+ - Organization or user: `naiba`
56
+ - Repository: `pi-durable-background-tasks`
57
+ - Workflow filename: `publish.yml`
58
+ - Environment: leave empty (the workflow does not declare an environment)
59
+
60
+ Update `package.json` to a new stable version, refresh `bun.lock` if needed, commit and push, then push the matching tag (for example, `v0.1.1` for version `0.1.1`). The workflow rejects mismatching or prerelease versions, runs type checks, build and process tests, then publishes publicly with provenance. Published versions are immutable: `0.1.0` already exists and must not be republished. Never move a published release tag. There is no manual-dispatch publish path.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@naiba/pi-durable-background-tasks",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Background shell tools for Pi Durable; no model delegation",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/naiba/pi-durable-background-tasks.git"
9
+ "url": "git+https://github.com/naiba/pi-durable-background-tasks.git"
10
10
  },
11
11
  "exports": {
12
12
  ".": {