@fungi.computer/watchdog 0.1.1 → 0.1.3

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 +8 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,6 +5,13 @@ SQLite database, and each `tick()` claims one ready job, runs your executor and
5
5
  records exactly one terminal outcome. If the process dies mid-job, the next tick
6
6
  asks your liveness probe what happened and recovers the work.
7
7
 
8
+ ```sh
9
+ npm install @fungi.computer/watchdog
10
+ ```
11
+
12
+ Then run the quick start below: one short file, in-memory `node:sqlite` on Node
13
+ 24, no other setup.
14
+
8
15
  Watchdog never looks inside a job. The payload, queue name and lane are opaque
9
16
  values you choose. Your code decides what a job means and how to run it.
10
17
  Watchdog owns the lifecycle: queued, running, completing, settled. Claims, claim
@@ -15,11 +22,7 @@ with an honest outcome, without writing your own state machine. It runs on any
15
22
  synchronous SQLite owner, such as a Cloudflare Durable Object's storage or
16
23
  `node:sqlite`, and on shared D1 or PostgreSQL databases.
17
24
 
18
- ## Install or set up
19
-
20
- ```sh
21
- npm install @fungi.computer/watchdog
22
- ```
25
+ ## Requirements and entrypoints
23
26
 
24
27
  Watchdog is ESM-only. The SQLite entrypoint runs anywhere you have a synchronous
25
28
  SQLite handle, such as Cloudflare Durable Object storage or `node:sqlite` in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/watchdog",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "description": "Payload-blind durable work scheduling and settlement core",
6
6
  "type": "module",