taskplane 0.2.9 → 0.3.0
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 +19 -1
- package/bin/taskplane.mjs +14 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -19,7 +19,24 @@ Taskplane turns your coding project into an AI-managed task board. You define ta
|
|
|
19
19
|
|
|
20
20
|
## Install
|
|
21
21
|
|
|
22
|
-
Taskplane is a [pi package](https://github.com/badlogic/pi-mono). You need [Node.js](https://nodejs.org/) ≥
|
|
22
|
+
Taskplane is a [pi package](https://github.com/badlogic/pi-mono). You need [Node.js](https://nodejs.org/) ≥ 22 and [pi](https://github.com/badlogic/pi-mono) installed first.
|
|
23
|
+
|
|
24
|
+
### Prerequisites
|
|
25
|
+
|
|
26
|
+
| Dependency | Required | Notes |
|
|
27
|
+
|-----------|----------|-------|
|
|
28
|
+
| [Node.js](https://nodejs.org/) ≥ 22 | Yes | Runtime |
|
|
29
|
+
| [pi](https://github.com/badlogic/pi-mono) | Yes | Agent framework |
|
|
30
|
+
| [Git](https://git-scm.com/) | Yes | Version control, worktrees |
|
|
31
|
+
| **tmux** | **Strongly recommended** | Required for `/orch` parallel execution |
|
|
32
|
+
|
|
33
|
+
**tmux** is needed for the orchestrator to spawn parallel worker sessions. Without it, `/orch` will not work. On Windows, Taskplane can install it for you:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
taskplane install-tmux
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
On macOS: `brew install tmux` · On Linux: `sudo apt install tmux` (or your distro's package manager)
|
|
23
40
|
|
|
24
41
|
### Option A: Global Install (all projects)
|
|
25
42
|
|
|
@@ -138,6 +155,7 @@ Orchestrator lanes execute tasks through task-runner under the hood, so `/task`
|
|
|
138
155
|
|---------|-------------|
|
|
139
156
|
| `taskplane init` | Scaffold project config (interactive or `--preset`) |
|
|
140
157
|
| `taskplane doctor` | Validate installation and config |
|
|
158
|
+
| `taskplane install-tmux` | Install or upgrade tmux for Git Bash (Windows) |
|
|
141
159
|
| `taskplane version` | Show version info |
|
|
142
160
|
| `taskplane dashboard` | Launch the web dashboard |
|
|
143
161
|
| `taskplane uninstall` | Remove Taskplane project files and optionally uninstall package (`--package`) |
|
package/bin/taskplane.mjs
CHANGED
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
* and auto-discovered by pi. This CLI is for everything else.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
+
// ─── Node.js version gate (fail fast) ───────────────────────────────────────
|
|
14
|
+
|
|
15
|
+
const MIN_NODE_MAJOR = 22;
|
|
16
|
+
const nodeMajor = parseInt(process.versions.node.split(".")[0], 10);
|
|
17
|
+
if (nodeMajor < MIN_NODE_MAJOR) {
|
|
18
|
+
console.error(
|
|
19
|
+
`\x1b[31m❌ Taskplane requires Node.js >= ${MIN_NODE_MAJOR}.0.0 (found ${process.versions.node}).\x1b[0m\n` +
|
|
20
|
+
` Upgrade: https://nodejs.org/\n`
|
|
21
|
+
);
|
|
22
|
+
process.exit(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
13
25
|
import fs from "node:fs";
|
|
14
26
|
import path from "node:path";
|
|
15
27
|
import readline from "node:readline";
|
|
@@ -1249,10 +1261,10 @@ function cmdDoctor() {
|
|
|
1249
1261
|
const checks = [
|
|
1250
1262
|
{ label: "pi installed", check: () => commandExists("pi"), detail: () => getVersion("pi") },
|
|
1251
1263
|
{
|
|
1252
|
-
label: "Node.js >=
|
|
1264
|
+
label: "Node.js >= 22.0.0",
|
|
1253
1265
|
check: () => {
|
|
1254
1266
|
const v = process.versions.node;
|
|
1255
|
-
return parseInt(v.split(".")[0]) >=
|
|
1267
|
+
return parseInt(v.split(".")[0]) >= 22;
|
|
1256
1268
|
},
|
|
1257
1269
|
detail: () => `v${process.versions.node}`,
|
|
1258
1270
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taskplane",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
26
26
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
27
|
+
"node": ">=22.0.0"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"bin/",
|