toolroll 0.9.105 → 0.9.106
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 +25 -0
- package/README.md +5 -4
- package/dist/bin.js +38 -4
- package/dist/browser/workspace.css +1 -1
- package/dist/browser/workspace.js +4 -4
- package/dist/demo.js +8 -3
- package/dist/easy-start.js +47 -4
- package/dist/flow-code.js +2 -1
- package/dist/guides.js +1 -1
- package/dist/invoke.js +4 -4
- package/dist/lead-voice.js +3 -3
- package/dist/operate.js +8 -1
- package/dist/sandbox-runtime.js +36 -2
- package/dist/store.js +4 -0
- package/dist/toolroll-update-cli.js +18 -1
- package/dist/tui.js +1 -1
- package/dist/work-index.js +81 -66
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,31 @@ 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.106 — 2026-11-13
|
|
8
|
+
|
|
9
|
+
Toolroll runs on the Node you just installed, and Linux says exactly what it needs.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Toolroll starts on current Node.** On Node 22.23+, 24.22+ or 26.13+ (SQLite 3.54) adding a project crashed the
|
|
14
|
+
background worker; the Tasks list query now fits SQLite's new limit, and CI tests each Node's newest release.
|
|
15
|
+
- **No more "Planning…" forever after that crash.** The Tasks list loads again, including for very large task families.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Node 22.20 or newer.** Older Node 22 releases can't open Toolroll's database; Toolroll now says so up front with
|
|
20
|
+
how to get a newer Node.
|
|
21
|
+
- **Linux names every sandbox tool.** `toolroll` lists the missing ones (bubblewrap, socat, ripgrep) with one install
|
|
22
|
+
line and creates nothing until they're there; then it starts without a password.
|
|
23
|
+
- **Quieter first minutes.** The installer outside a repository says how to start instead of starting in an empty
|
|
24
|
+
folder, the log-in question waits for your first accepted result, and the containment note shows once.
|
|
25
|
+
- **The demo looks right.** Its Ready results show a real checked commit, and the phone banner wraps.
|
|
26
|
+
|
|
27
|
+
### Action needed
|
|
28
|
+
|
|
29
|
+
- Rolling back to 0.9.105 or earlier needs a Node whose SQLite is older than 3.54 (such as Node 22.22.0);
|
|
30
|
+
`toolroll update --rollback` says so instead of starting a release that can't run.
|
|
31
|
+
|
|
7
32
|
## 0.9.105 — 2026-11-13
|
|
8
33
|
|
|
9
34
|
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
|
[](https://github.com/ap9000/toolroll/actions/workflows/ci.yml)
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://github.com/ap9000/homebrew-toolroll)
|
|
17
|
-

|
|
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
|
|
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.
|
|
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 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(
|
|
6
|
-
"Run it with Node: `bunx toolroll
|
|
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 <
|
|
10
|
-
process.stderr.write(`Toolroll needs Node
|
|
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
|
}
|