@pmelab/gtd 60.0.0 → 60.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 (46) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/README.md +14 -2
  3. package/dist/chunks/testkit-BhTey1Do.mjs +30517 -0
  4. package/dist/gtd.bundle.mjs +10545 -19230
  5. package/dist/gtd.core.mjs +593 -0
  6. package/dist/testkit/gherkin.mjs +2 -2
  7. package/dist/testkit.mjs +1 -1
  8. package/package.json +7 -7
  9. package/src/cli/Cli.test.ts +2 -2
  10. package/src/cli/Cli.ts +68 -51
  11. package/src/cli/Output.test.ts +1 -1
  12. package/src/cli/Output.ts +3 -2
  13. package/src/cli/Program.test.ts +14 -6
  14. package/src/cli/Program.ts +35 -10
  15. package/src/cli/ToolCommands.ts +2 -2
  16. package/src/edge/Edge.test.ts +8 -6
  17. package/src/edge/Edge.ts +3 -3
  18. package/src/flows/runtime.ts +1 -1
  19. package/src/install/Version.ts +9 -3
  20. package/src/install/index.ts +1 -1
  21. package/src/platform/CommandRunner.ts +13 -11
  22. package/src/platform/Commentary.ts +2 -2
  23. package/src/platform/Git.test.ts +4 -5
  24. package/src/platform/Git.ts +42 -38
  25. package/src/platform/Host.ts +1 -1
  26. package/src/platform/NodeServices.ts +11 -0
  27. package/src/platform/Workspace.test.ts +4 -5
  28. package/src/platform/Workspace.ts +3 -3
  29. package/src/platform/WorktreeState.test.ts +2 -3
  30. package/src/platform/WorktreeState.ts +1 -1
  31. package/src/platform/index.ts +2 -1
  32. package/src/step/planStart.ts +3 -3
  33. package/src/twins/EmittedScripts.test.ts +1 -1
  34. package/src/twins/GitTiers.ts +6 -7
  35. package/src/twins/Layers.test.ts +1 -1
  36. package/src/twins/Layers.ts +10 -3
  37. package/src/twins/cliIo.ts +9 -4
  38. package/src/workflow/discovery.test.ts +24 -7
  39. package/src/workflow/discovery.ts +5 -6
  40. package/src/workflow/index.ts +1 -0
  41. package/src/workflow/load.test.ts +60 -3
  42. package/src/workflow/load.ts +316 -166
  43. package/src/workflow/pin.test.ts +159 -0
  44. package/src/workflow/pin.ts +72 -0
  45. package/src/workflow/vars.ts +3 -3
  46. package/dist/chunks/testkit-BvecVjQ0.mjs +0 -32355
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtd",
3
- "version": "60.0.0",
3
+ "version": "60.1.0",
4
4
  "description": "Drive the gtd loop inside Claude Code: agent turns run as subagents, gtd decides every beat",
5
5
  "author": {
6
6
  "name": "Philipp Melab"
package/README.md CHANGED
@@ -15,6 +15,8 @@ to any machine that checks it out.
15
15
 
16
16
  ## Install
17
17
 
18
+ gtd needs Node 22.19 or newer.
19
+
18
20
  ```bash
19
21
  npm install -g @pmelab/gtd
20
22
  ```
@@ -23,6 +25,11 @@ That installs `latest`, which moves once a day to the newest release. Every
23
25
  merge to `main` publishes to `next` first: `npm install -g @pmelab/gtd@next`
24
26
  gets each one as it lands.
25
27
 
28
+ gtd bundles `gtd.config.ts` with [rolldown](https://rolldown.rs), whose native
29
+ binary npm installs for your platform. Where rolldown ships none, install its
30
+ WebAssembly build next to gtd:
31
+ `npm install -g --force @rolldown/binding-wasm32-wasi`.
32
+
26
33
  Or run without installing (prefix every `gtd` below with `npx`) — see
27
34
  [Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
28
35
  for the settings most projects tune. A process setting's value is committed to
@@ -617,13 +624,18 @@ install for any of these but the testkit's: gtd resolves a `gtd.config.ts`'s
617
624
  `@pmelab/gtd/*` imports to its own copy.
618
625
 
619
626
  The `gtd` bin's commands — `next`, `land`, `start`, `abandon`, `restore`,
620
- `validate`, `check`, `uncheck`, `guide`, `summary`, `base`, `version`, `help`,
621
- `history list`, `history show`, `history metrics`, `history judges`,
627
+ `validate`, `check`, `uncheck`, `guide`, `bundle`, `summary`, `base`, `version`,
628
+ `help`, `history list`, `history show`, `history metrics`, `history judges`,
622
629
  `history fetch`, `strays`, the tools `ui`, `lsp`, `judge` (`judge answer`,
623
630
  `judge run`) — are listed in the
624
631
  [CLI reference](https://github.com/pmelab/gtd/blob/main/docs/cli.md). Every
625
632
  command that prints a script takes `--json=script`, and `--` ends the options.
626
633
 
634
+ `gtd bundle` prints a pin: gtd's engine and the current workflow, npm packages
635
+ included, as one gzipped ES module after a plain-text
636
+ `gtdpin <format> gtd <version>` line. A workflow using a package with a native
637
+ addon cannot be pinned.
638
+
627
639
  ## License
628
640
 
629
641
  MIT