@pmelab/gtd 62.1.0 → 64.0.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 (68) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +8 -3
  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-DkA51qDa.mjs} +1 -1
  6. package/dist/chunks/{testkit-CPzWnl3P.mjs → testkit-zGjNeQNL.mjs} +1144 -345
  7. package/dist/flows.mjs +1 -1
  8. package/dist/gtd.bundle.mjs +4023 -1326
  9. package/dist/gtd.core.mjs +120 -119
  10. package/dist/steering.mjs +1 -1
  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 +10 -28
  17. package/src/cli/Output.ts +2 -1
  18. package/src/cli/Program.test.ts +55 -53
  19. package/src/cli/Program.ts +36 -45
  20. package/src/cli/ToolCommands.ts +3 -4
  21. package/src/edge/Edge.test.ts +38 -12
  22. package/src/edge/Edge.ts +98 -13
  23. package/src/edge/index.ts +1 -0
  24. package/src/emit/SteeringMode.test.ts +4 -2
  25. package/src/emit/SteeringMode.ts +10 -9
  26. package/src/gherkin/messages.test.ts +1 -1
  27. package/src/gherkin/module-config.feature +1 -1
  28. package/src/gherkin/testkit.feature +2 -2
  29. package/src/install/Version.ts +14 -13
  30. package/src/platform/Host.ts +75 -22
  31. package/src/platform/NodePinFile.ts +44 -0
  32. package/src/platform/NodeRuntime.ts +19 -0
  33. package/src/platform/NodeSync.ts +64 -0
  34. package/src/platform/PinFile.ts +0 -50
  35. package/src/platform/Sha.ts +121 -0
  36. package/src/platform/SyncIo.ts +35 -0
  37. package/src/platform/Workspace.test.ts +8 -3
  38. package/src/platform/Workspace.ts +82 -123
  39. package/src/platform/WorktreeState.test.ts +8 -4
  40. package/src/platform/WorktreeState.ts +21 -19
  41. package/src/platform/index.ts +18 -5
  42. package/src/replay/Format.test.ts +32 -10
  43. package/src/replay/Format.ts +5 -2
  44. package/src/replay/Replay.test.ts +110 -3
  45. package/src/replay/Replay.ts +120 -28
  46. package/src/replay/Trailers.test.ts +10 -10
  47. package/src/replay/Trailers.ts +32 -1
  48. package/src/replay/index.ts +2 -0
  49. package/src/step/planStart.test.ts +2 -2
  50. package/src/step/planStep.test.ts +4 -4
  51. package/src/testkit/TestRepo.test.ts +1 -1
  52. package/src/testkit/TestRepo.ts +4 -18
  53. package/src/twins/Host.test.ts +151 -0
  54. package/src/twins/Layers.test.ts +2 -2
  55. package/src/twins/Layers.ts +44 -18
  56. package/src/twins/Path.test.ts +52 -0
  57. package/src/twins/SyncIo.test.ts +153 -0
  58. package/src/twins/SyncIo.ts +159 -0
  59. package/src/twins/cliIo.ts +8 -1
  60. package/src/twins/index.ts +5 -0
  61. package/src/workflow/discovery.test.ts +6 -5
  62. package/src/workflow/discovery.ts +43 -32
  63. package/src/workflow/fingerprint.test.ts +23 -3
  64. package/src/workflow/fingerprint.ts +9 -11
  65. package/src/workflow/load.test.ts +16 -6
  66. package/src/workflow/load.ts +107 -69
  67. package/src/workflow/pin.test.ts +3 -2
  68. 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 };