taskplane 0.28.4 → 0.28.6
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/LICENSE +21 -21
- package/README.md +215 -215
- package/bin/gitignore-patterns.mjs +79 -79
- package/bin/rpc-wrapper.mjs +1086 -1086
- package/bin/taskplane.mjs +3254 -3254
- package/dashboard/public/app.js +2573 -2573
- package/dashboard/public/index.html +139 -139
- package/dashboard/public/style.css +1882 -1882
- package/dashboard/public/taskplane-word-color.svg +18 -18
- package/dashboard/public/taskplane-word-white.svg +18 -18
- package/dashboard/server.cjs +1666 -1666
- package/extensions/reviewer-extension.ts +119 -119
- package/extensions/task-orchestrator.ts +28 -28
- package/extensions/taskplane/abort.ts +502 -502
- package/extensions/taskplane/agent-bridge-extension.ts +838 -765
- package/extensions/taskplane/agent-host.ts +833 -745
- package/extensions/taskplane/cleanup.ts +747 -747
- package/extensions/taskplane/config-loader.ts +1328 -1322
- package/extensions/taskplane/config-schema.ts +692 -682
- package/extensions/taskplane/config.ts +73 -73
- package/extensions/taskplane/context-window.ts +66 -66
- package/extensions/taskplane/diagnostic-reports.ts +463 -463
- package/extensions/taskplane/diagnostics.ts +385 -385
- package/extensions/taskplane/engine-worker-entry.mjs +34 -34
- package/extensions/taskplane/engine-worker.ts +381 -381
- package/extensions/taskplane/engine.ts +4539 -4527
- package/extensions/taskplane/execution.ts +2733 -2708
- package/extensions/taskplane/extension.ts +30 -9
- package/extensions/taskplane/formatting.ts +773 -773
- package/extensions/taskplane/git.ts +90 -90
- package/extensions/taskplane/index.ts +28 -28
- package/extensions/taskplane/lane-runner.ts +1383 -1360
- package/extensions/taskplane/mailbox.ts +689 -689
- package/extensions/taskplane/merge.ts +3135 -3135
- package/extensions/taskplane/messages.ts +985 -985
- package/extensions/taskplane/migrations.ts +278 -278
- package/extensions/taskplane/naming.ts +117 -117
- package/extensions/taskplane/path-resolver.ts +237 -237
- package/extensions/taskplane/persistence.ts +2087 -2087
- package/extensions/taskplane/process-registry.ts +416 -416
- package/extensions/taskplane/quality-gate.ts +1033 -1033
- package/extensions/taskplane/resume.ts +2879 -2878
- package/extensions/taskplane/sessions.ts +57 -57
- package/extensions/taskplane/settings-loader.ts +136 -136
- package/extensions/taskplane/settings-tui.ts +1867 -1867
- package/extensions/taskplane/sidecar-telemetry.ts +252 -252
- package/extensions/taskplane/supervisor-primer.md +1694 -1694
- package/extensions/taskplane/supervisor.ts +4341 -4341
- package/extensions/taskplane/task-executor-core.ts +550 -550
- package/extensions/taskplane/tmux-compat.ts +37 -37
- package/extensions/taskplane/types.ts +4297 -4278
- package/extensions/taskplane/verification.ts +542 -542
- package/extensions/taskplane/waves.ts +1548 -1548
- package/extensions/taskplane/workspace.ts +705 -705
- package/extensions/taskplane/worktree.ts +2604 -2505
- package/package.json +57 -57
- package/skills/create-taskplane-task/SKILL.md +465 -465
- package/skills/create-taskplane-task/references/prompt-template.md +285 -285
- package/templates/agents/local/supervisor.md +33 -33
- package/templates/agents/local/task-merger.md +27 -27
- package/templates/agents/local/task-reviewer.md +30 -30
- package/templates/agents/local/task-worker.md +34 -34
- package/templates/agents/supervisor-routing.md +92 -92
- package/templates/agents/supervisor.md +168 -168
- package/templates/agents/task-merger.md +214 -214
- package/templates/agents/task-reviewer.md +192 -192
- package/templates/agents/task-worker.md +505 -429
- package/templates/tasks/EXAMPLE-001-hello-world/PROMPT.md +98 -98
- package/templates/tasks/EXAMPLE-001-hello-world/STATUS.md +73 -73
- package/templates/tasks/EXAMPLE-002-parallel-smoke/PROMPT.md +97 -97
- package/templates/tasks/EXAMPLE-002-parallel-smoke/STATUS.md +73 -73
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fork entry point for the engine child process.
|
|
3
|
-
*
|
|
4
|
-
* Node v25 blocks .ts files inside node_modules regardless of flags.
|
|
5
|
-
* This .mjs file loads cleanly (no TypeScript processing needed), then
|
|
6
|
-
* uses jiti to import engine-worker.ts — bypassing Node's restriction.
|
|
7
|
-
*
|
|
8
|
-
* jiti is the same TypeScript runtime loader that Pi uses to load
|
|
9
|
-
* extensions. It transforms .ts files itself, independent of Node's
|
|
10
|
-
* --experimental-strip-types support.
|
|
11
|
-
*/
|
|
12
|
-
import { createJiti } from "jiti";
|
|
13
|
-
import { fileURLToPath } from "node:url";
|
|
14
|
-
import { dirname, join } from "node:path";
|
|
15
|
-
|
|
16
|
-
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
17
|
-
|
|
18
|
-
// TP-115: Purge jiti cache for taskplane modules before loading.
|
|
19
|
-
// Pi's main process caches compiled .ts → .mjs at $TEMP/jiti/.
|
|
20
|
-
// The engine-worker fork must compile fresh from current source files,
|
|
21
|
-
// not use stale cached versions from Pi's startup.
|
|
22
|
-
import { readdirSync, unlinkSync } from "node:fs";
|
|
23
|
-
import { tmpdir } from "node:os";
|
|
24
|
-
try {
|
|
25
|
-
const cacheDir = join(tmpdir(), "jiti");
|
|
26
|
-
for (const f of readdirSync(cacheDir)) {
|
|
27
|
-
if (f.startsWith("taskplane-") && f.endsWith(".mjs")) {
|
|
28
|
-
try { unlinkSync(join(cacheDir, f)); } catch {}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
} catch { /* cache dir may not exist */ }
|
|
32
|
-
|
|
33
|
-
const jiti = createJiti(import.meta.url);
|
|
34
|
-
await jiti.import(join(__dirname, "engine-worker.ts"));
|
|
1
|
+
/**
|
|
2
|
+
* Fork entry point for the engine child process.
|
|
3
|
+
*
|
|
4
|
+
* Node v25 blocks .ts files inside node_modules regardless of flags.
|
|
5
|
+
* This .mjs file loads cleanly (no TypeScript processing needed), then
|
|
6
|
+
* uses jiti to import engine-worker.ts — bypassing Node's restriction.
|
|
7
|
+
*
|
|
8
|
+
* jiti is the same TypeScript runtime loader that Pi uses to load
|
|
9
|
+
* extensions. It transforms .ts files itself, independent of Node's
|
|
10
|
+
* --experimental-strip-types support.
|
|
11
|
+
*/
|
|
12
|
+
import { createJiti } from "jiti";
|
|
13
|
+
import { fileURLToPath } from "node:url";
|
|
14
|
+
import { dirname, join } from "node:path";
|
|
15
|
+
|
|
16
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
17
|
+
|
|
18
|
+
// TP-115: Purge jiti cache for taskplane modules before loading.
|
|
19
|
+
// Pi's main process caches compiled .ts → .mjs at $TEMP/jiti/.
|
|
20
|
+
// The engine-worker fork must compile fresh from current source files,
|
|
21
|
+
// not use stale cached versions from Pi's startup.
|
|
22
|
+
import { readdirSync, unlinkSync } from "node:fs";
|
|
23
|
+
import { tmpdir } from "node:os";
|
|
24
|
+
try {
|
|
25
|
+
const cacheDir = join(tmpdir(), "jiti");
|
|
26
|
+
for (const f of readdirSync(cacheDir)) {
|
|
27
|
+
if (f.startsWith("taskplane-") && f.endsWith(".mjs")) {
|
|
28
|
+
try { unlinkSync(join(cacheDir, f)); } catch {}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
} catch { /* cache dir may not exist */ }
|
|
32
|
+
|
|
33
|
+
const jiti = createJiti(import.meta.url);
|
|
34
|
+
await jiti.import(join(__dirname, "engine-worker.ts"));
|