@pmelab/gtd 59.0.0 → 59.0.1
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/.claude-plugin/plugin.json +1 -1
- package/README.md +5 -5
- package/dist/chunks/{testkit-CMBAAyRK.mjs → testkit-07Z_ENch.mjs} +431 -446
- package/dist/chunks/{wire-C12dahrH.mjs → wire-BTUhRGXj.mjs} +1 -1
- package/dist/flows.mjs +1 -1
- package/dist/gtd.bundle.mjs +410 -440
- package/dist/testkit/gherkin.mjs +145 -65
- package/dist/testkit.mjs +1 -1
- package/dist/wire.mjs +1 -1
- package/package.json +1 -1
- package/skills/authoring/SKILL.md +3 -2
- package/src/cli/Cli.test.ts +133 -52
- package/src/cli/Cli.ts +384 -461
- package/src/cli/Help.test.ts +47 -0
- package/src/cli/Help.ts +70 -0
- package/src/cli/Program.test.ts +67 -4
- package/src/cli/Program.ts +65 -18
- package/src/edge/Edge.ts +1 -1
- package/src/emit/Emit.test.ts +1 -1
- package/src/emit/Emit.ts +1 -1
- package/src/flows/factory.ts +3 -1
- package/src/gherkin/index.ts +135 -71
- package/src/gherkin/messages.test.ts +90 -0
- package/src/gherkin/messages.ts +84 -0
- package/src/testkit/TestRepo.test.ts +47 -2
- package/src/testkit/TestRepo.ts +51 -6
- package/src/twins/EmittedScriptRecognizer.ts +5 -8
- package/src/wire/Land.ts +1 -1
- package/src/workflow/load.ts +6 -6
- package/src/workflow/skills.test.ts +5 -5
- package/src/workflow/skills.ts +1 -1
|
@@ -336,7 +336,7 @@ const landProseText = (subject) => renderFormat(FMT_LAND_PROSE, subject);
|
|
|
336
336
|
* `gtd judge answer` (the only other caller of `planLanding`/`landFields`)
|
|
337
337
|
* passes its own two-word name so the hint stays runnable verbatim.
|
|
338
338
|
*/
|
|
339
|
-
const renderLandPlain = (fields, command = "land") => fields.subject !== null ? `${landProseText(fields.subject).trimEnd()}\n(
|
|
339
|
+
const renderLandPlain = (fields, command = "land") => fields.subject !== null ? `${landProseText(fields.subject).trimEnd()}\n(to land it: s=$(gtd ${command} --json=script) && sh -c "$s")\n` : noopText(fields.state);
|
|
340
340
|
//#endregion
|
|
341
341
|
//#region src/wire/Judge.ts
|
|
342
342
|
const judgeJson = (state, questions) => JSON.stringify({
|
package/dist/flows.mjs
CHANGED
|
@@ -471,7 +471,7 @@ const defineWorkflow = (schema, build) => {
|
|
|
471
471
|
options
|
|
472
472
|
},
|
|
473
473
|
then: () => {
|
|
474
|
-
throw new Error("a configured workflow is not a flow —
|
|
474
|
+
throw new Error("a configured workflow is not a flow — await the flow functions it is built from instead");
|
|
475
475
|
}
|
|
476
476
|
});
|
|
477
477
|
return Object.assign(factory, { [FACTORY]: internals });
|