@whalent/agent 0.3.87 → 0.3.89

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.
package/README.md CHANGED
@@ -22,16 +22,12 @@ Node.js 20 LTS is still the safest choice on older Linux hosts. Newer Node.js
22
22
  releases can force native `node-pty` fallback builds that need newer C++
23
23
  compilers when prebuilt binaries are unavailable.
24
24
 
25
- `better-sqlite3` is optional. When its prebuilt binary is unavailable and local
26
- compilation fails, npm may print warnings, but the agent can still install and
27
- falls back to Codex `history.jsonl` where available.
28
-
29
- Codex SQLite history reads can use the Whalent sqlite helper when installed.
25
+ Codex SQLite history reads require the Whalent sqlite helper.
30
26
  The helper is a small Go binary cached under `~/.whalent-agent/helpers/sqlite`;
31
- if it is missing or cannot run, the agent falls back to optional
32
- `better-sqlite3`, then to `history.jsonl`. Set
27
+ if it is missing or cannot run, Codex history import is treated as unavailable
28
+ instead of falling back to native npm sqlite bindings or `history.jsonl`. Set
33
29
  `WHALENT_SQLITE_HELPER_BASE_URL` to a release/CDN directory containing
34
- `sqlite-helper-0.1.1-manifest.json`, or set `WHALENT_SQLITE_HELPER_MANIFEST_URL`
30
+ `sqlite-helper-0.1.3-manifest.json`, or set `WHALENT_SQLITE_HELPER_MANIFEST_URL`
35
31
  directly.
36
32
 
37
33
  By default the daemon asks Platform's release API whether `sqlite-helper` has a
@@ -39,23 +35,6 @@ newer published version, then downloads the returned manifest. Helper releases
39
35
  are independent from daemon/npm releases and are tagged as
40
36
  `sqlite-helper-vX.Y.Z`.
41
37
 
42
- ### Pin `better-sqlite3` to v11
43
-
44
- `@whalent/agent` uses optional `better-sqlite3@12` by default so Node.js
45
- 20/22/24 are all in the supported range. If a specific host needs the older v11
46
- native package, you can replace it after the global install:
47
-
48
- ```bash
49
- ROOT="$(npm root -g)"
50
- for pkg in "$ROOT/@whalent/agent" "$ROOT/@whalent/agent-core"; do
51
- [ -d "$pkg" ] && (cd "$pkg" && npm install better-sqlite3@11 --save-exact --registry=https://registry.npmjs.org)
52
- done
53
- whalent --version
54
- ```
55
-
56
- Reapply this after upgrading `@whalent/agent`, because npm upgrades recreate the
57
- installed package directories.
58
-
59
38
  ## Start Daemon
60
39
 
61
40
  ```bash