@fungi.computer/shiitake-extensions 0.6.13 → 0.6.14

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/loop/host.js CHANGED
@@ -13,7 +13,7 @@ import { nextOccurrence } from "../internal/cron.js";
13
13
  import { Loop, LoopCommandInput, loopContract } from "./contract.js";
14
14
  import { loopMenuPrompt, stopConfirmation } from "./prompts.js";
15
15
  /** The rules the model follows; the describe page and a live loop's prompt share them. */
16
- const rules = "You may start loops yourself; one live loop per Session. Failed loop ticks retry with backoff; loop.get shows consecutiveFailures, lastError, and nextDueAt. schedule_next is allowed only in the active self-paced loop's own run, clamped to 60–3600 seconds. Omitting it ends that loop. stop works in any Session run. Human pause/resume/stop and Esc remain user controls.";
16
+ const rules = "You may start loops yourself; one live loop per Session. Failed loop ticks retry with backoff; loop.get shows consecutiveFailures, lastError, and nextDueAt. schedule_next is allowed only in the active self-paced loop's own run, clamped to 60–3600 seconds. Omitting it ends that loop. stop works in any Session run. Human pause/resume/stop and Esc remain user controls. A fixed every-N cadence ends after 7 days; tell the person when you start one, and start a new loop to continue.";
17
17
  /** Hashed prose and policy: every constant loop reads comes from here. */
18
18
  const config = {
19
19
  minDelaySeconds: 60,
@@ -265,7 +265,7 @@ function fire(ctx, sessionId, dueAt, now) {
265
265
  ...loop,
266
266
  state: "finished",
267
267
  nextDueAt: null,
268
- reason: "fixed interval expired after 7 days",
268
+ reason: "fixed interval expired after 7 days; start a new loop to continue",
269
269
  requested: null,
270
270
  });
271
271
  return yield* ctx.observe(sessionId);
@@ -380,7 +380,7 @@ function loopModule(ctx, sessionId, workId) {
380
380
  }),
381
381
  start: Mycelium.operation({
382
382
  replay: "unsafe",
383
- description: "Start a Session loop, including autonomously. One live loop per Session; the first prompt runs after the current run.",
383
+ description: "Start a Session loop, including autonomously. One live loop per Session; the first prompt runs after the current run. A fixed every-N cadence ends after 7 days.",
384
384
  input: z.strictObject({
385
385
  prompt: z
386
386
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/shiitake-extensions",
3
- "version": "0.6.13",
3
+ "version": "0.6.14",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "private": false,
6
6
  "description": "Botanical's product Shiitake extensions: goal, loop and Almanac on the generic extension surface",
@@ -118,7 +118,7 @@
118
118
  "@fungi.computer/cairn": "0.1.0",
119
119
  "@fungi.computer/knapsack": "0.4.9",
120
120
  "@fungi.computer/mycelium": "0.3.8",
121
- "@fungi.computer/shiitake": "0.13.1",
121
+ "@fungi.computer/shiitake": "0.14.0",
122
122
  "@fungi.computer/watchdog": "0.1.3",
123
123
  "@fungi.computer/whistle": "0.3.0",
124
124
  "effect": "4.0.2",