@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.
@@ -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(run \`gtd ${command} --json=script | sh\` to get the landing script)\n` : noopText(fields.state);
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 — compose fixFlow/reviewFlow instead");
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 });