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,37 +1,37 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration-only helpers for legacy TMUX-shaped persisted lane fields.
|
|
3
|
-
*
|
|
4
|
-
* Runtime V2 no longer accepts TMUX config/runtime contracts. The only
|
|
5
|
-
* compatibility retained here is one-release state ingress normalization for
|
|
6
|
-
* `lanes[].tmuxSessionName` → `lanes[].laneSessionId`.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export interface LaneSessionAliasTarget {
|
|
10
|
-
laneSessionId?: unknown;
|
|
11
|
-
tmuxSessionName?: unknown;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Read canonical + legacy lane session fields from a lane-like record.
|
|
16
|
-
*/
|
|
17
|
-
export function readLaneSessionAliases(target: LaneSessionAliasTarget): {
|
|
18
|
-
laneSessionId: unknown;
|
|
19
|
-
tmuxSessionName: unknown;
|
|
20
|
-
} {
|
|
21
|
-
return {
|
|
22
|
-
laneSessionId: target.laneSessionId,
|
|
23
|
-
tmuxSessionName: target.tmuxSessionName,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Normalize tmuxSessionName -> laneSessionId in place and remove legacy key.
|
|
29
|
-
*/
|
|
30
|
-
export function normalizeLaneSessionAlias(target: LaneSessionAliasTarget): void {
|
|
31
|
-
if (typeof target.laneSessionId !== "string" && typeof target.tmuxSessionName === "string") {
|
|
32
|
-
target.laneSessionId = target.tmuxSessionName;
|
|
33
|
-
}
|
|
34
|
-
if ("tmuxSessionName" in target) {
|
|
35
|
-
delete target.tmuxSessionName;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Migration-only helpers for legacy TMUX-shaped persisted lane fields.
|
|
3
|
+
*
|
|
4
|
+
* Runtime V2 no longer accepts TMUX config/runtime contracts. The only
|
|
5
|
+
* compatibility retained here is one-release state ingress normalization for
|
|
6
|
+
* `lanes[].tmuxSessionName` → `lanes[].laneSessionId`.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface LaneSessionAliasTarget {
|
|
10
|
+
laneSessionId?: unknown;
|
|
11
|
+
tmuxSessionName?: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Read canonical + legacy lane session fields from a lane-like record.
|
|
16
|
+
*/
|
|
17
|
+
export function readLaneSessionAliases(target: LaneSessionAliasTarget): {
|
|
18
|
+
laneSessionId: unknown;
|
|
19
|
+
tmuxSessionName: unknown;
|
|
20
|
+
} {
|
|
21
|
+
return {
|
|
22
|
+
laneSessionId: target.laneSessionId,
|
|
23
|
+
tmuxSessionName: target.tmuxSessionName,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Normalize tmuxSessionName -> laneSessionId in place and remove legacy key.
|
|
29
|
+
*/
|
|
30
|
+
export function normalizeLaneSessionAlias(target: LaneSessionAliasTarget): void {
|
|
31
|
+
if (typeof target.laneSessionId !== "string" && typeof target.tmuxSessionName === "string") {
|
|
32
|
+
target.laneSessionId = target.tmuxSessionName;
|
|
33
|
+
}
|
|
34
|
+
if ("tmuxSessionName" in target) {
|
|
35
|
+
delete target.tmuxSessionName;
|
|
36
|
+
}
|
|
37
|
+
}
|