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.
Files changed (71) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +215 -215
  3. package/bin/gitignore-patterns.mjs +79 -79
  4. package/bin/rpc-wrapper.mjs +1086 -1086
  5. package/bin/taskplane.mjs +3254 -3254
  6. package/dashboard/public/app.js +2573 -2573
  7. package/dashboard/public/index.html +139 -139
  8. package/dashboard/public/style.css +1882 -1882
  9. package/dashboard/public/taskplane-word-color.svg +18 -18
  10. package/dashboard/public/taskplane-word-white.svg +18 -18
  11. package/dashboard/server.cjs +1666 -1666
  12. package/extensions/reviewer-extension.ts +119 -119
  13. package/extensions/task-orchestrator.ts +28 -28
  14. package/extensions/taskplane/abort.ts +502 -502
  15. package/extensions/taskplane/agent-bridge-extension.ts +838 -765
  16. package/extensions/taskplane/agent-host.ts +833 -745
  17. package/extensions/taskplane/cleanup.ts +747 -747
  18. package/extensions/taskplane/config-loader.ts +1328 -1322
  19. package/extensions/taskplane/config-schema.ts +692 -682
  20. package/extensions/taskplane/config.ts +73 -73
  21. package/extensions/taskplane/context-window.ts +66 -66
  22. package/extensions/taskplane/diagnostic-reports.ts +463 -463
  23. package/extensions/taskplane/diagnostics.ts +385 -385
  24. package/extensions/taskplane/engine-worker-entry.mjs +34 -34
  25. package/extensions/taskplane/engine-worker.ts +381 -381
  26. package/extensions/taskplane/engine.ts +4539 -4527
  27. package/extensions/taskplane/execution.ts +2733 -2708
  28. package/extensions/taskplane/extension.ts +30 -9
  29. package/extensions/taskplane/formatting.ts +773 -773
  30. package/extensions/taskplane/git.ts +90 -90
  31. package/extensions/taskplane/index.ts +28 -28
  32. package/extensions/taskplane/lane-runner.ts +1383 -1360
  33. package/extensions/taskplane/mailbox.ts +689 -689
  34. package/extensions/taskplane/merge.ts +3135 -3135
  35. package/extensions/taskplane/messages.ts +985 -985
  36. package/extensions/taskplane/migrations.ts +278 -278
  37. package/extensions/taskplane/naming.ts +117 -117
  38. package/extensions/taskplane/path-resolver.ts +237 -237
  39. package/extensions/taskplane/persistence.ts +2087 -2087
  40. package/extensions/taskplane/process-registry.ts +416 -416
  41. package/extensions/taskplane/quality-gate.ts +1033 -1033
  42. package/extensions/taskplane/resume.ts +2879 -2878
  43. package/extensions/taskplane/sessions.ts +57 -57
  44. package/extensions/taskplane/settings-loader.ts +136 -136
  45. package/extensions/taskplane/settings-tui.ts +1867 -1867
  46. package/extensions/taskplane/sidecar-telemetry.ts +252 -252
  47. package/extensions/taskplane/supervisor-primer.md +1694 -1694
  48. package/extensions/taskplane/supervisor.ts +4341 -4341
  49. package/extensions/taskplane/task-executor-core.ts +550 -550
  50. package/extensions/taskplane/tmux-compat.ts +37 -37
  51. package/extensions/taskplane/types.ts +4297 -4278
  52. package/extensions/taskplane/verification.ts +542 -542
  53. package/extensions/taskplane/waves.ts +1548 -1548
  54. package/extensions/taskplane/workspace.ts +705 -705
  55. package/extensions/taskplane/worktree.ts +2604 -2505
  56. package/package.json +57 -57
  57. package/skills/create-taskplane-task/SKILL.md +465 -465
  58. package/skills/create-taskplane-task/references/prompt-template.md +285 -285
  59. package/templates/agents/local/supervisor.md +33 -33
  60. package/templates/agents/local/task-merger.md +27 -27
  61. package/templates/agents/local/task-reviewer.md +30 -30
  62. package/templates/agents/local/task-worker.md +34 -34
  63. package/templates/agents/supervisor-routing.md +92 -92
  64. package/templates/agents/supervisor.md +168 -168
  65. package/templates/agents/task-merger.md +214 -214
  66. package/templates/agents/task-reviewer.md +192 -192
  67. package/templates/agents/task-worker.md +505 -429
  68. package/templates/tasks/EXAMPLE-001-hello-world/PROMPT.md +98 -98
  69. package/templates/tasks/EXAMPLE-001-hello-world/STATUS.md +73 -73
  70. package/templates/tasks/EXAMPLE-002-parallel-smoke/PROMPT.md +97 -97
  71. package/templates/tasks/EXAMPLE-002-parallel-smoke/STATUS.md +73 -73
@@ -4837,8 +4837,22 @@ export default function (pi: ExtensionAPI) {
4837
4837
  execCtx = buildExecutionContext(ctx.cwd, loadOrchestratorConfig, loadTaskRunnerConfig);
4838
4838
  } catch (err: unknown) {
4839
4839
  if (err instanceof WorkspaceConfigError) {
4840
- // Startup is fatal when workspace config is invalid OR repo-mode setup
4841
- // requirements are not met (non-git cwd without workspace config).
4840
+ // Two display modes:
4841
+ //
4842
+ // * `WORKSPACE_SETUP_REQUIRED` (no workspace config AND cwd is
4843
+ // not a git repo) is the "user clearly did not intend to use
4844
+ // Taskplane here" case. Many users only run Taskplane in
4845
+ // some projects, so a hard red error on every pi launch
4846
+ // elsewhere is wrong UX (TP-183 / GitHub #523). Soft-fail:
4847
+ // no error notify, quiet status line. `execCtxInitError` is
4848
+ // still populated so command guards (`requireExecCtx`,
4849
+ // `getExecCtxInitErrorMessage`) can explain the situation if
4850
+ // the user actually invokes an /orch command.
4851
+ //
4852
+ // * Every other code (workspace config present but malformed,
4853
+ // missing repos, schema invalid, etc.) is a real
4854
+ // misconfiguration in a project that DID set Taskplane up
4855
+ // and must surface loudly so the user fixes it.
4842
4856
  const setupError = err.code === "WORKSPACE_SETUP_REQUIRED";
4843
4857
  execCtxInitError = setupError
4844
4858
  ? (
@@ -4853,13 +4867,20 @@ export default function (pi: ExtensionAPI) {
4853
4867
  `Orchestrator commands are disabled until this is resolved.`
4854
4868
  );
4855
4869
 
4856
- ctx.ui.notify(execCtxInitError, "error");
4857
- ctx.ui.setStatus(
4858
- "task-orchestrator",
4859
- setupError
4860
- ? "๐Ÿ”€ Orchestrator ยท โŒ startup failed (setup required)"
4861
- : "๐Ÿ”€ Orchestrator ยท โŒ startup failed (workspace config error)",
4862
- );
4870
+ if (setupError) {
4871
+ // Soft-fail: no notify, quiet status line.
4872
+ ctx.ui.setStatus(
4873
+ "task-orchestrator",
4874
+ "๐Ÿ”€ Orchestrator ยท disabled (no taskplane config in workspace)",
4875
+ );
4876
+ } else {
4877
+ // Real misconfiguration โ€” keep loud.
4878
+ ctx.ui.notify(execCtxInitError, "error");
4879
+ ctx.ui.setStatus(
4880
+ "task-orchestrator",
4881
+ "๐Ÿ”€ Orchestrator ยท โŒ startup failed (workspace config error)",
4882
+ );
4883
+ }
4863
4884
  return;
4864
4885
  }
4865
4886
  throw err; // Re-throw unexpected errors