@tamsensedev/runner 0.21.0 → 0.21.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/dist/cli.js CHANGED
@@ -1969,17 +1969,18 @@ function scheduleTools(api, path, wakePath) {
1969
1969
  function wakeUpLaterTool(tools) {
1970
1970
  return tool5(
1971
1971
  WAKE_TOOL_NAME,
1972
- "Put the task to sleep and wake it up later, once: for example 7 days after a mailing to collect its results, or 3 days after a follow-up. Nothing runs and nothing is charged while it sleeps. On waking the task moves to the step you name, along a rule of the board (a rule that only a person moves waits for that person), or this step starts again when you name none. A person moving the task meanwhile cancels the wake-up. Finish your run right after you set it.",
1972
+ "Plan one more run of this task later, once: for example after a mailing has finished sending, to collect its results, or 3 days after a follow-up. Nothing runs and nothing is charged until then. Then the task moves to the step you name, along a rule of the board (a rule that only a person moves waits for that person), or this step starts again when you name none. A person moving the task meanwhile cancels the planned run. Finish your run right after you plan it.",
1973
1973
  {
1974
1974
  inHours: z5.number().min(0.1).max(2160).describe("how many hours from now, for example 168 for 7 days"),
1975
- step: z5.string().describe("the name of the step to wake up on, empty to start this step again"),
1976
- note: z5.string().describe("what to do on waking, in plain words")
1975
+ step: z5.string().describe("the name of the step to go on with, empty to start this step again"),
1976
+ note: z5.string().describe("what to do then, in plain words: your own detailed note for later"),
1977
+ summary: z5.string().describe('one short line for the people on the task, in their language: what you will do then, for example "Sum up wave 1 and decide on wave 2". No ids, tool names or numbers they do not need')
1977
1978
  },
1978
1979
  async (args) => {
1979
1980
  try {
1980
- return reply3((await tools.wake({ inHours: args.inHours, step: args.step.trim(), note: args.note.trim() })).text);
1981
+ return reply3((await tools.wake({ inHours: args.inHours, step: args.step.trim(), note: args.note.trim(), summary: args.summary.trim() })).text);
1981
1982
  } catch (error) {
1982
- return reply3(`Could not set the wake-up: ${error instanceof Error ? error.message : String(error)}. Say in your report when the task should continue.`, true);
1983
+ return reply3(`Could not plan the run: ${error instanceof Error ? error.message : String(error)}. Say in your report when the task should continue.`, true);
1983
1984
  }
1984
1985
  }
1985
1986
  );