toolroll 0.9.105 → 0.9.107

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/CHANGELOG.md CHANGED
@@ -4,6 +4,49 @@ Each release opens with one line on its theme, then **New**, **Changed**, **Fixe
4
4
  the ones it has). Each item is at most two lines and says where to find it. Notes for maintainers (CI, the release
5
5
  tooling) go on the GitHub release, not here. Entries before 0.9.104 use the older format.
6
6
 
7
+ ## 0.9.107 — 2026-11-13
8
+
9
+ A smoother install, an honest terminal when something stops, and sign-in links that stay private.
10
+
11
+ ### Changed
12
+
13
+ - **The installer checks everything first.** On a fresh machine it lists every missing piece (Node, git, the Linux
14
+ sandbox tools) with one block of install commands, so you fix it once. Install lines start with `apt update`.
15
+ - **Codex reads "(optional)" in setup** once Claude Code is installed: you need one coding agent, not both.
16
+ - **Sign-in links stay private.** `w`, `toolroll open --web`, `up` and the demo open the browser through a private page,
17
+ so other users on the computer can't see the one-time link. `toolroll open --web` now waits until you're signed in.
18
+
19
+ ### Fixed
20
+
21
+ - **The terminal says when Toolroll's background worker stops** on its own, instead of "Filed. Planning…".
22
+ `toolroll --verbose` shows why.
23
+ - **A browser that can't be opened is said, not claimed.** On Windows, Toolroll tells you to set a password and sign in.
24
+
25
+ ## 0.9.106 — 2026-11-13
26
+
27
+ Toolroll runs on the Node you just installed, and Linux says exactly what it needs.
28
+
29
+ ### Fixed
30
+
31
+ - **Toolroll starts on current Node.** On Node 22.23+, 24.22+ or 26.13+ (SQLite 3.54) adding a project crashed the
32
+ background worker; the Tasks list query now fits SQLite's new limit, and CI tests each Node's newest release.
33
+ - **No more "Planning…" forever after that crash.** The Tasks list loads again, including for very large task families.
34
+
35
+ ### Changed
36
+
37
+ - **Node 22.20 or newer.** Older Node 22 releases can't open Toolroll's database; Toolroll now says so up front with
38
+ how to get a newer Node.
39
+ - **Linux names every sandbox tool.** `toolroll` lists the missing ones (bubblewrap, socat, ripgrep) with one install
40
+ line and creates nothing until they're there; then it starts without a password.
41
+ - **Quieter first minutes.** The installer outside a repository says how to start instead of starting in an empty
42
+ folder, the log-in question waits for your first accepted result, and the containment note shows once.
43
+ - **The demo looks right.** Its Ready results show a real checked commit, and the phone banner wraps.
44
+
45
+ ### Action needed
46
+
47
+ - Rolling back to 0.9.105 or earlier needs a Node whose SQLite is older than 3.54 (such as Node 22.22.0);
48
+ `toolroll update --rollback` says so instead of starting a release that can't run.
49
+
7
50
  ## 0.9.105 — 2026-11-13
8
51
 
9
52
  A first run that works without help: one way in, plain words, and results that say what's true.
package/README.md CHANGED
@@ -14,13 +14,13 @@ Approve each plan once. Get results back Ready with the diff, the check status a
14
14
  [![CI](https://github.com/ap9000/toolroll/actions/workflows/ci.yml/badge.svg)](https://github.com/ap9000/toolroll/actions/workflows/ci.yml)
15
15
  [![license](https://img.shields.io/badge/license-MIT-171717)](LICENSE)
16
16
  [![Homebrew](https://img.shields.io/badge/homebrew-ap9000%2Ftoolroll-171717)](https://github.com/ap9000/homebrew-toolroll)
17
- ![node](https://img.shields.io/badge/node-%E2%89%A5%2022.13-171717)
17
+ ![node](https://img.shields.io/badge/node-%E2%89%A5%2022.20-171717)
18
18
 
19
19
  **[Website](https://toolroll.dev)** · [Docs](docs/guide/README.md) · [For agents](docs/agents.md) · [Use cases](https://toolroll.dev/use-cases) · [Changelog](CHANGELOG.md)
20
20
 
21
21
  <picture>
22
22
  <source media="(prefers-color-scheme: dark)" srcset="docs/media/ui/tasks-dark.png">
23
- <img src="docs/media/ui/tasks-light.png" alt="The Toolroll console's Tasks view: every task with what it needs from you and the one action that settles it." width="920">
23
+ <img src="docs/media/ui/tasks-light.png" alt="The Tasks page in Toolroll: tasks grouped by what they need from you (approve a plan, open a result, unblock), each with one button." width="920">
24
24
  </picture>
25
25
 
26
26
  <sub>Every task across every project, and the one thing each needs from you. (Demo workspace.)</sub>
@@ -29,8 +29,9 @@ Approve each plan once. Get results back Ready with the diff, the check status a
29
29
 
30
30
  ## Quick start
31
31
 
32
- macOS or Linux, Node.js 22.13+, git 2.41+, and Claude Code (`claude`) or
33
- Codex (`codex`) signed in on this computer.
32
+ macOS or Linux, Node.js 22.20+, git 2.41+, and Claude Code (`claude`) or
33
+ Codex (`codex`) signed in on this computer. On Linux, also the sandbox tools:
34
+ `sudo apt update && sudo apt install bubblewrap socat ripgrep`.
34
35
 
35
36
  ```sh
36
37
  curl -fsSL https://raw.githubusercontent.com/ap9000/toolroll/main/install.sh | sh
package/dist/bin.js CHANGED
@@ -1,15 +1,45 @@
1
1
  #!/usr/bin/env node
2
+ const FLOOR = { major: 22, minor: 20 };
2
3
  const versions = process.versions;
3
4
  const [major = 0, minor = 0] = versions.node.split(".").map(Number);
5
+ const HOW = (process.platform === "linux"
6
+ ? "Install it from https://nodejs.org/en/download (choose nvm: `nvm install 22`), or from NodeSource (https://github.com/nodesource/distributions); `apt install nodejs` is usually too old."
7
+ : "Install it from https://nodejs.org/en/download" + (process.platform === "darwin" ? ", or with `brew install node`." : ".")) + "\n";
4
8
  if (versions.bun !== undefined) {
5
- process.stderr.write("Toolroll runs on Node 22.13 or newer — Bun's runtime has no node:sqlite.\n" +
6
- "Run it with Node: `bunx toolroll up` (no --bun) or `npx toolroll up`.\n");
9
+ process.stderr.write(`Toolroll runs on Node ${FLOOR.major}.${FLOOR.minor} or newer — Bun's runtime has no node:sqlite.\n` +
10
+ "Run it with Node: `bunx toolroll` (no --bun) or `npx toolroll`.\n");
7
11
  process.exit(2);
8
12
  }
9
- if (major < 22 || (major === 22 && minor < 13)) {
10
- process.stderr.write(`Toolroll needs Node 22.13 or newer (this is ${versions.node}) — it uses node:sqlite.\n`);
13
+ if (major < FLOOR.major || (major === FLOOR.major && minor < FLOOR.minor)) {
14
+ process.stderr.write(`Toolroll needs Node ${FLOOR.major}.${FLOOR.minor} or newer (this is ${versions.node}): it uses node:sqlite.\n${HOW}`);
11
15
  process.exit(2);
12
16
  }
17
+ async function sqliteHasFts5() {
18
+ const original = process.emitWarning;
19
+ process.emitWarning = ((warning, ...rest) => {
20
+ const type = typeof rest[0] === "string" ? rest[0] : rest[0]?.type;
21
+ if (type === "ExperimentalWarning" && String(warning instanceof Error ? warning.message : warning).includes("SQLite"))
22
+ return;
23
+ original.call(process, warning, ...rest);
24
+ });
25
+ try {
26
+ const { DatabaseSync } = await import("node:sqlite");
27
+ const db = new DatabaseSync(":memory:");
28
+ try {
29
+ db.exec("CREATE VIRTUAL TABLE fts5_probe USING fts5(x)");
30
+ return true;
31
+ }
32
+ finally {
33
+ db.close();
34
+ }
35
+ }
36
+ catch {
37
+ return false;
38
+ }
39
+ finally {
40
+ process.emitWarning = original;
41
+ }
42
+ }
13
43
  const argv = process.argv.slice(2);
14
44
  const { quickAnswer } = await import("./cli-fast.js");
15
45
  const quick = quickAnswer(argv);
@@ -17,6 +47,10 @@ if (quick !== null) {
17
47
  console.log(quick);
18
48
  }
19
49
  else {
50
+ if (!(await sqliteHasFts5())) {
51
+ process.stderr.write(`Toolroll needs a Node whose SQLite has full-text search (FTS5); this Node (${versions.node}, SQLite ${versions.sqlite ?? "unknown"}) doesn't.\n${HOW}`);
52
+ process.exit(2);
53
+ }
20
54
  const { runCliProcess } = await import("./cli.js");
21
55
  await runCliProcess(argv);
22
56
  }