@justfortytwo/installer 0.1.2 → 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 +12 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -43,16 +43,21 @@ gitignored `.fortytwo/identity.json`; neither is ever committed.
43
43
  | Verb | What it does |
44
44
  |------------|--------------|
45
45
  | `init` | Install any missing engine packages, then capture your assistant's name + owner details (interactive, or via flags/env for CI). Writes `.fortytwo/identity.json`, secrets + `ALLOWED_CHAT_IDS` to `.env`, wires `.mcp.json`, renders the persona, provisions local infra (pulls the embedder model, migrates the memory DB), and records the installed version set. |
46
- | `pair` | Issue a one-time `/login` pairing code to bind another chat/device to a channel. |
46
+ | `pair` | Issue a one-time `/login` pairing code, persisted to the bridge's bindings db so the separately-running bridge can redeem it (the dynamic counterpart to the static `ALLOWED_CHAT_IDS` allowlist). |
47
47
  | `doctor` | Health-check the engine: assert the gate's `POLICY_SCHEMA_VERSION` and memory's `MEMORY_TOOL_CONTRACT_VERSION` match what this CLI expects, confirm the memory DB is migrated, cross-check installed sibling versions against the declared compatibility ranges, and check the embedder model is pulled (warn-only). |
48
- | `update` | Resolve the latest in-range version of each engine package, install, then run `doctor` to verify. On failure it points you to `rollback`. |
49
- | `rollback` | Restore the previous version set recorded before the last `update`. |
48
+ | `update` | *(pending)* Resolve the latest in-range version of each engine package, install, then run `doctor` to verify. |
49
+ | `rollback` | *(pending)* Restore the previous version set recorded before the last `update`. |
50
50
  | `enrich` | Capture more answers to deepen the persona, then re-render (no clobber). |
51
- | `forget` | Redact or remove specific memories from the memory store. |
51
+ | `forget` | Permanently delete memories selected by `--id` / `--query` (semantic) / `--tag` / `--source` / `--since`/`--until` — previewed and confirmed (or `--yes`). Owner-only: it deletes via a library API, never exposed to the assistant. |
52
52
  | `unbind` | Revoke a channel binding (un-pair a chat / drop it from the allowlist). |
53
53
 
54
54
  Run `fortytwo <verb> --help` for verb-specific options.
55
55
 
56
+ > **Status:** `init`, `pair`, `doctor`, `forget`, and `unbind` are functional.
57
+ > `update`/`rollback` validate state and print guidance, but their npm
58
+ > resolve/install step is not wired yet (now that the packages are published,
59
+ > it's the next piece). `enrich` is still a stub.
60
+
56
61
  ## Update safety
57
62
 
58
63
  Distribution follows a **semver-ranges, latest-compatible** policy — there is no
@@ -69,7 +74,9 @@ your machine. The standard model is `qwen3-embedding:0.6b`, served by Ollama;
69
74
 
70
75
  ## Requirements
71
76
 
72
- - Node.js >= 18
77
+ - Node.js >= 20 (Node 20 or 22 LTS recommended — the memory engine's native
78
+ `better-sqlite3` ships prebuilt binaries for LTS releases; newer/odd versions
79
+ may fall back to a slow source compile)
73
80
  - [Ollama](https://ollama.com/) for the local embedder (optional but
74
81
  recommended — the engine degrades gracefully without it)
75
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justfortytwo/installer",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "All-in-one installer and lifecycle CLI for fortytwo — scaffolds the persona surface and provisions the npm engine (memory MCP, safety gate, channel adapters, embedder).",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "type": "module",
16
16
  "engines": {
17
- "node": ">=18"
17
+ "node": ">=20"
18
18
  },
19
19
  "bin": {
20
20
  "create-fortytwo": "dist/index.js",