@getopencrawl/cli 0.4.11 → 0.4.12

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 +11 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -128,6 +128,17 @@ parses permitted transcripts, spools immutable batches and uploads; other hooks
128
128
  exit after saving their notices. On Unix the shell and Node dispatcher replace
129
129
  themselves with the native CLI using exec, keeping the harness-owned PID. Capture
130
130
  never detaches a child, starts a service or launches a replacement worker.
131
+ Each uploader has a 90-second deadline, including during outages or lock waits,
132
+ and checks once per second that its original parent is still alive. Parent loss
133
+ also ends the uploader. Unacknowledged batches stay queued for the next hook;
134
+ explicit foreground flush/backfill is not subject to this background deadline.
135
+ Uploader/session ownership uses SQLite transaction locks built into the CLI runtime;
136
+ no database service is installed. The OS releases ownership on process death.
137
+ Numeric PID files remain for diagnostics and conservative compatibility: a live
138
+ or uncertain legacy owner is not evicted, including a potentially reused PID.
139
+ Full mutual exclusion with older clients that ignore the SQLite lock is not promised.
140
+ If the harness itself dies, the host must reap its adopted children, as for any
141
+ process; capture does not install an init service to replace that host duty.
131
142
  Foreground flush/backfill waits for upload ownership and confirmed receipts.
132
143
 
133
144
  No systemd, launchd, cron, or installed daemon is required. Reinstall removes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getopencrawl/cli",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "OpenCrawl CLI: sign in now, query the index as features become available",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -24,10 +24,10 @@
24
24
  "registry": "https://registry.npmjs.org"
25
25
  },
26
26
  "optionalDependencies": {
27
- "@getopencrawl/cli-darwin-arm64": "0.4.11",
28
- "@getopencrawl/cli-darwin-x64": "0.4.11",
29
- "@getopencrawl/cli-linux-arm64": "0.4.11",
30
- "@getopencrawl/cli-linux-x64": "0.4.11",
31
- "@getopencrawl/cli-win32-x64": "0.4.11"
27
+ "@getopencrawl/cli-darwin-arm64": "0.4.12",
28
+ "@getopencrawl/cli-darwin-x64": "0.4.12",
29
+ "@getopencrawl/cli-linux-arm64": "0.4.12",
30
+ "@getopencrawl/cli-linux-x64": "0.4.12",
31
+ "@getopencrawl/cli-win32-x64": "0.4.12"
32
32
  }
33
33
  }