@pmelab/gtd 63.0.0 → 64.1.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.
Files changed (80) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +12 -11
  3. package/dist/chunks/{flows-DENt0uWV.mjs → flows-B7ZRCe-B.mjs} +1 -1
  4. package/dist/chunks/{rolldown-runtime-8H4AJuhK.mjs → rolldown-runtime-D7D4PA-g.mjs} +0 -1
  5. package/dist/chunks/{steering-DF_BMadH.mjs → steering-Cem5i6Xl.mjs} +422 -2
  6. package/dist/chunks/{testkit-DwypA7cH.mjs → testkit-DfWZQCWQ.mjs} +1073 -328
  7. package/dist/flows.mjs +1 -1
  8. package/dist/gtd.bundle.mjs +4372 -1310
  9. package/dist/gtd.core.mjs +126 -118
  10. package/dist/steering.mjs +2 -2
  11. package/dist/testkit/gherkin.mjs +2 -2
  12. package/dist/testkit.mjs +2 -2
  13. package/dist/workflow-kit.mjs +2 -2
  14. package/package.json +1 -1
  15. package/src/cli/Cli.test.ts +5 -8
  16. package/src/cli/Cli.ts +22 -28
  17. package/src/cli/Output.ts +2 -1
  18. package/src/cli/Program.test.ts +55 -53
  19. package/src/cli/Program.ts +34 -34
  20. package/src/cli/ToolCommands.ts +3 -4
  21. package/src/edge/Edge.test.ts +38 -12
  22. package/src/edge/Edge.ts +53 -19
  23. package/src/emit/SteeringMode.test.ts +4 -2
  24. package/src/emit/SteeringMode.ts +31 -10
  25. package/src/flows/index.ts +1 -0
  26. package/src/flows/runtime.test.ts +2 -1
  27. package/src/flows/runtime.ts +8 -2
  28. package/src/gherkin/messages.test.ts +1 -1
  29. package/src/gherkin/module-config.feature +1 -1
  30. package/src/gherkin/testkit.feature +2 -2
  31. package/src/install/Version.ts +14 -13
  32. package/src/platform/Host.ts +75 -22
  33. package/src/platform/NodePinFile.ts +44 -0
  34. package/src/platform/NodeRuntime.ts +19 -0
  35. package/src/platform/NodeSync.ts +64 -0
  36. package/src/platform/PinFile.ts +0 -50
  37. package/src/platform/Sha.ts +121 -0
  38. package/src/platform/SyncIo.ts +35 -0
  39. package/src/platform/Workspace.test.ts +8 -3
  40. package/src/platform/Workspace.ts +82 -123
  41. package/src/platform/WorktreeState.test.ts +8 -4
  42. package/src/platform/WorktreeState.ts +21 -19
  43. package/src/platform/index.ts +18 -5
  44. package/src/replay/Format.test.ts +16 -13
  45. package/src/replay/Format.ts +4 -2
  46. package/src/replay/Replay.test.ts +25 -5
  47. package/src/replay/Replay.ts +10 -6
  48. package/src/replay/Trailers.test.ts +10 -10
  49. package/src/replay/Trailers.ts +23 -1
  50. package/src/replay/index.ts +1 -0
  51. package/src/steering/Declared.test.ts +218 -0
  52. package/src/steering/Declared.ts +607 -0
  53. package/src/steering/FORMATS.md +3 -0
  54. package/src/steering/index.ts +12 -0
  55. package/src/steering/internal.ts +1 -0
  56. package/src/step/planStart.test.ts +2 -2
  57. package/src/step/planStep.test.ts +4 -4
  58. package/src/testkit/TestRepo.test.ts +1 -1
  59. package/src/testkit/TestRepo.ts +4 -18
  60. package/src/twins/EmittedScriptRecognizer.ts +5 -3
  61. package/src/twins/EmittedScripts.test.ts +19 -0
  62. package/src/twins/Host.test.ts +151 -0
  63. package/src/twins/Layers.test.ts +2 -2
  64. package/src/twins/Layers.ts +44 -18
  65. package/src/twins/Path.test.ts +52 -0
  66. package/src/twins/SyncIo.test.ts +153 -0
  67. package/src/twins/SyncIo.ts +159 -0
  68. package/src/twins/cliIo.ts +8 -1
  69. package/src/twins/index.ts +5 -0
  70. package/src/workflow/SteeringFormats.ts +4 -0
  71. package/src/workflow/Workflow.ts +2 -0
  72. package/src/workflow/discovery.test.ts +6 -5
  73. package/src/workflow/discovery.ts +43 -32
  74. package/src/workflow/fingerprint.test.ts +23 -3
  75. package/src/workflow/fingerprint.ts +9 -11
  76. package/src/workflow/index.ts +5 -1
  77. package/src/workflow/load.test.ts +16 -6
  78. package/src/workflow/load.ts +107 -69
  79. package/src/workflow/pin.test.ts +3 -2
  80. package/src/workflow/pin.ts +17 -11
package/dist/flows.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as run, A as FLOWS_PROTOCOL, B as head, C as moveScript, D as revertScript, E as restoreScript, F as changesSince, G as mark, I as codeThreads, J as openQuestions, L as envSettings, M as accessFor, N as agent, O as showScript, P as changes, Q as restart, R as envSettingsOf, S as checkScript, T as removeScript, U as judge, V as human, W as kept, X as read, Z as refuse, _ as requireRevert, a as defineWorkflow, at as skillsFor, b as wrote, c as check, ct as workflow, d as hasThreadFor, et as scope, f as judgeDiffShape, g as requireReplies, h as requireProgress, it as settingsOf, j as FlowsProtocolError, k as writeScript, l as codeChanges, m as requireAnswers, nt as sections, ot as start, p as numeric, q as matches, r as defineConfig, rt as settings, s as answered, st as threads, tt as sectionBodies, u as displayPath, v as requireThreadsClosed, w as quote, x as applyScript, y as seamGate, z as glob } from "./chunks/flows-DENt0uWV.mjs";
1
+ import { $ as run, A as FLOWS_PROTOCOL, B as head, C as moveScript, D as revertScript, E as restoreScript, F as changesSince, G as mark, I as codeThreads, J as openQuestions, L as envSettings, M as accessFor, N as agent, O as showScript, P as changes, Q as restart, R as envSettingsOf, S as checkScript, T as removeScript, U as judge, V as human, W as kept, X as read, Z as refuse, _ as requireRevert, a as defineWorkflow, at as skillsFor, b as wrote, c as check, ct as workflow, d as hasThreadFor, et as scope, f as judgeDiffShape, g as requireReplies, h as requireProgress, it as settingsOf, j as FlowsProtocolError, k as writeScript, l as codeChanges, m as requireAnswers, nt as sections, ot as start, p as numeric, q as matches, r as defineConfig, rt as settings, s as answered, st as threads, tt as sectionBodies, u as displayPath, v as requireThreadsClosed, w as quote, x as applyScript, y as seamGate, z as glob } from "./chunks/flows-B7ZRCe-B.mjs";
2
2
  export { FLOWS_PROTOCOL, FlowsProtocolError, accessFor, agent, answered, applyScript, changes, changesSince, check, checkScript, codeChanges, codeThreads, defineConfig, defineWorkflow, displayPath, envSettings, envSettingsOf, glob, hasThreadFor, head, human, judge, judgeDiffShape, kept, mark, matches, moveScript, numeric, openQuestions, quote, read, refuse, removeScript, requireAnswers, requireProgress, requireReplies, requireRevert, requireThreadsClosed, restart, restoreScript, revertScript, run, scope, seamGate, sectionBodies, sections, settings, settingsOf, showScript, skillsFor, start, threads, workflow, writeScript, wrote };