taskplane 0.20.0 → 0.20.2

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/bin/taskplane.mjs CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  /**
4
4
  * Taskplane CLI — Project scaffolding, diagnostics, uninstall, and dashboard launcher.
@@ -1460,8 +1460,8 @@ async function cmdInit(args) {
1460
1460
  console.log(`${c.bold}Quick start:${c.reset}`);
1461
1461
  console.log(` ${c.cyan}pi${c.reset} # start pi (taskplane auto-loads)`);
1462
1462
  if (preset !== "runner-only") {
1463
- console.log(` ${c.cyan}/orch-plan all${c.reset} # preview waves/lanes/dependencies`);
1464
- console.log(` ${c.cyan}/orch all${c.reset} # run via orchestrator`);
1463
+ console.log(` ${c.cyan}/orch${c.reset} # start the taskplane supervisor`);
1464
+ console.log(` ${c.cyan}/orch all${c.reset} # run all open tasks`);
1465
1465
  }
1466
1466
  console.log();
1467
1467
  return;
@@ -1625,13 +1625,8 @@ async function cmdInit(args) {
1625
1625
  console.log(`${c.bold}Quick start:${c.reset}`);
1626
1626
  console.log(` ${c.cyan}pi${c.reset} # start pi (taskplane auto-loads)`);
1627
1627
  if (preset !== "runner-only") {
1628
- console.log(` ${c.cyan}/orch-plan all${c.reset} # preview waves/lanes/dependencies`);
1629
- console.log(` ${c.cyan}/orch all${c.reset} # run examples via orchestrator`);
1630
- }
1631
- if (!noExamples && exampleTemplateDirs.length > 0) {
1632
- const firstExample = exampleTemplateDirs[0];
1633
- console.log(` ${c.dim}optional single-task mode:${c.reset}`);
1634
- console.log(` ${c.cyan}/task ${vars.tasks_root}/${firstExample}/PROMPT.md${c.reset}`);
1628
+ console.log(` ${c.cyan}/orch${c.reset} # start the taskplane supervisor`);
1629
+ console.log(` ${c.cyan}/orch all${c.reset} # run all open tasks`);
1635
1630
  }
1636
1631
  console.log();
1637
1632
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Thin entry point for the engine worker thread.
3
+ *
4
+ * Node's Worker constructor rejects .ts files inside node_modules when
5
+ * --experimental-strip-types is active (the default in Node v25+).
6
+ * This .mjs wrapper avoids the restriction — Node loads .mjs files
7
+ * without TypeScript processing, then --experimental-transform-types
8
+ * (passed via execArgv) handles subsequent .ts imports.
9
+ */
10
+ import "./engine-worker.ts";
@@ -897,7 +897,7 @@ function resolveEngineWorkerPath(): string {
897
897
  } catch {
898
898
  thisDir = __dirname;
899
899
  }
900
- return join(thisDir, "engine-worker.ts");
900
+ return join(thisDir, "engine-worker-entry.mjs");
901
901
  }
902
902
 
903
903
  /**
@@ -940,7 +940,10 @@ export function startBatchInWorker(
940
940
 
941
941
  let worker: Worker;
942
942
  try {
943
- worker = new Worker(workerPath, { workerData: wkData });
943
+ worker = new Worker(workerPath, {
944
+ workerData: wkData,
945
+ execArgv: ["--experimental-transform-types", "--no-warnings"],
946
+ });
944
947
  } catch (spawnErr: unknown) {
945
948
  const errMsg = spawnErr instanceof Error ? spawnErr.message : String(spawnErr);
946
949
  ctx.ui.notify(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskplane",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
5
5
  "keywords": [
6
6
  "pi-package",