wildcrane-runner 0.6.132 → 0.6.133

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.
@@ -1 +1 @@
1
- {"name":"wildcrane","version":"0.11.113","akbContract":44,"type":"module","private":true}
1
+ {"name":"wildcrane","version":"0.11.114","akbContract":45,"type":"module","private":true}
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.132 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.133 — built by runner/scripts/build.mjs. Do not edit.
2
2
  import { createRequire as __ai4kanbanRequire } from 'node:module'
3
3
  const require = __ai4kanbanRequire(import.meta.url)
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.132 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.133 — built by runner/scripts/build.mjs. Do not edit.
2
2
  import { createRequire as __ai4kanbanRequire } from 'node:module'
3
3
  const require = __ai4kanbanRequire(import.meta.url)
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.132 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.133 — built by runner/scripts/build.mjs. Do not edit.
2
2
  import { createRequire as __ai4kanbanRequire } from 'node:module'
3
3
  const require = __ai4kanbanRequire(import.meta.url)
4
4
  var __create = Object.create;
@@ -27705,6 +27705,9 @@ function tryLock(dir) {
27705
27705
  }
27706
27706
  }
27707
27707
 
27708
+ // ../cli/src/prompts/recover-turn.md
27709
+ var recover_turn_default = "Continue the interrupted turn in this session. Check the current state and the results of previous operations first. Preserve completed work and user decisions. Do not repeat an operation whose result has already taken effect.\n";
27710
+
27708
27711
  // ../cli/src/lib/agent/retry.ts
27709
27712
  var MAX_SUMMARY_CHARS = 300;
27710
27713
  var MAX_DETAIL_CHARS = 4e3;
@@ -27734,6 +27737,7 @@ var SESSION_MISSING_RE = /no rollout found for thread id|invalid paginated histo
27734
27737
  function isSessionMissingText(text) {
27735
27738
  return !!text && SESSION_MISSING_RE.test(text);
27736
27739
  }
27740
+ var recoveryPrompt = recover_turn_default.trim();
27737
27741
 
27738
27742
  // ../cli/src/lib/agent/wire/json.ts
27739
27743
  function obj(value) {
@@ -48428,6 +48432,10 @@ var flatReviewPlanSchema = external_exports.object({
48428
48432
  rule: external_exports.string().trim().max(2e4),
48429
48433
  previews: external_exports.array(id).max(50).transform((ids) => [...new Set(ids)])
48430
48434
  }).strict();
48435
+ var previewSelectionSchema = external_exports.union([
48436
+ flatReviewPlanSchema.extend({ rule: external_exports.literal("").default("") }),
48437
+ external_exports.tuple([])
48438
+ ]).nullable();
48431
48439
  function reviewLayers(plan) {
48432
48440
  const remaining = new Set(plan.map((n) => n.id));
48433
48441
  if (remaining.size !== plan.length) throw new Error("Review node IDs must be unique.");
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.132 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.133 — built by runner/scripts/build.mjs. Do not edit.
2
2
  import { createRequire as __ai4kanbanRequire } from 'node:module'
3
3
  const require = __ai4kanbanRequire(import.meta.url)
4
4
  var __create = Object.create;
@@ -26972,6 +26972,9 @@ function connectionIdentity(pid) {
26972
26972
  return result.status === 0 ? result.stdout.trim() || void 0 : void 0;
26973
26973
  }
26974
26974
 
26975
+ // ../cli/src/prompts/recover-turn.md
26976
+ var recover_turn_default = "Continue the interrupted turn in this session. Check the current state and the results of previous operations first. Preserve completed work and user decisions. Do not repeat an operation whose result has already taken effect.\n";
26977
+
26975
26978
  // ../cli/src/lib/agent/retry.ts
26976
26979
  var MAX_SUMMARY_CHARS = 300;
26977
26980
  var MAX_DETAIL_CHARS = 4e3;
@@ -27001,6 +27004,7 @@ var SESSION_MISSING_RE = /no rollout found for thread id|invalid paginated histo
27001
27004
  function isSessionMissingText(text) {
27002
27005
  return !!text && SESSION_MISSING_RE.test(text);
27003
27006
  }
27007
+ var recoveryPrompt = recover_turn_default.trim();
27004
27008
 
27005
27009
  // ../cli/src/lib/agent/wire/json.ts
27006
27010
  function obj(value) {