wildcrane-runner 0.6.59 → 0.6.60-conversations.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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // ai4kanban 0.11.46 — built by runner/scripts/build.mjs. Do not edit.
2
+ // ai4kanban 0.11.47 — built by runner/scripts/build.mjs. Do not edit.
3
3
  import { createRequire as __ai4kanbanRequire } from 'node:module'
4
4
  const require = __ai4kanbanRequire(import.meta.url)
5
5
  var __create = Object.create;
@@ -878,11 +878,11 @@ function byDispatchOrder(a, b) {
878
878
  return rank(LEVEL_RANK, a.priority) - rank(LEVEL_RANK, b.priority) || a.id - b.id;
879
879
  }
880
880
  function canRefine(card) {
881
- if (card.isGroup) return false;
882
881
  if (awaitingApproval(card)) return false;
883
- if (card.status !== "todo" && !planUnfinished(card)) return false;
882
+ const unfinished = !card.isGroup && planUnfinished(card);
883
+ if (card.status !== "todo" && !unfinished) return false;
884
884
  const { total, done: done2 } = card.todos;
885
- if (total > 0 && done2 === total && !planUnfinished(card)) return false;
885
+ if (total > 0 && done2 === total && !unfinished) return false;
886
886
  if (card.questions.length > 0 && card.questions.every(hasOptions)) return false;
887
887
  return true;
888
888
  }
@@ -4256,6 +4256,7 @@ function connect(stdout, stdin, onCall, dialect = {}) {
4256
4256
  });
4257
4257
  stdout.on("close", () => closed2("the agent closed the connection"));
4258
4258
  stdout.on("error", (err) => closed2(String(err)));
4259
+ stdin.on("error", (err) => closed2(String(err)));
4259
4260
  return {
4260
4261
  /** Ask the agent something. Rejects with the agent's own words when it says no. */
4261
4262
  call(method, params) {
@@ -4354,7 +4355,7 @@ var init_package = __esm({
4354
4355
  "../cli/package.json"() {
4355
4356
  package_default = {
4356
4357
  name: "wildcrane",
4357
- version: "0.11.46",
4358
+ version: "0.11.47",
4358
4359
  akbContract: 12,
4359
4360
  description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
4360
4361
  keywords: [
@@ -23737,7 +23738,7 @@ var init_review_rejections = __esm({
23737
23738
  var refine_default;
23738
23739
  var init_refine = __esm({
23739
23740
  "../cli/src/guide/refine.md"() {
23740
- refine_default = '# Refine a card\n\nPlan one card in this session until it can be built.\n\n- **\u91CD\u590D\u5361\u7247**: \u82E5\u53D1\u73B0\u53E6\u4E00\u5F20\u4EFB\u52A1\u5B8C\u6574\u8986\u76D6\u672C\u5361\uFF0C\u5373\u4F7F\u5BF9\u65B9\u5C1A\u672A\u5B9E\u65BD\uFF0C\u4E5F\u5148\u5C06\u5176\u7F3A\u5C11\u7684\u6709\u7528\u4FE1\u606F\u8865\u5165\u5E76\u786E\u8BA4\u4FDD\u5B58\u6210\u529F\uFF1B\n \u4FDD\u5B58\u5931\u8D25\u5219\u4FDD\u7559\u672C\u5361\u5E76\u505C\u6B62\u3002\u6CA1\u6709\u4FE1\u606F\u9700\u8981\u8865\u5145\u6216\u5DF2\u4FDD\u5B58\u6210\u529F\u540E\uFF0C\u8FD0\u884C\n `akb raw reject <id> --reason "<\u627F\u63A5\u4EFB\u52A1\u7F16\u53F7\u53CA\u5B8C\u6574\u8986\u76D6\u539F\u56E0>"` \u5E76\u505C\u6B62\u3002\n \u4E0D\u8BF7\u6C42\u786E\u8BA4\uFF0C\u4E0D\u8FD0\u884C\u9884\u89C8\uFF1B\u4EC5\u90E8\u5206\u91CD\u53E0\u4E0D\u4E22\u5F03\u3002\n- **Unchecked card**: a card with `triage:` set and an empty `## Scope` was never checked\n against the project. Check it first; when the project already does\n the work, or what it concerns no longer exists, run\n `akb raw reject <id> --reason "<what shows it>"` and stop.\n- **Gone or already done**: for any other card, append a question asking the user whether to\n discard it, run no preview agent, and stop.\n- **Studio rules**: write the card as the studio rules at the end of this prompt say.\n- **Preview agents**: an agent\'s `After` names the previews it waits for; the board approves\n previews in stages, one stage per Approve, and the card\'s `previews` were chosen when its\n goal was written. A card without `previews` has not chosen: choose and save them first, as\n the list says, then run only its first stage. Run each agent the list above names whose\n section is missing or outdated with `akb raw previews <agent> <id> --print`, one at a time in this\n session; leave out `--print` only for an agent the list says runs in a session of its own.\n- **Stale mentions**: rewrite any sentence that relies on a card no longer on the board.\n- **Questions**: settle every decision you can and record the answers as `akb guide writing`\n says; ask only what `akb guide update-questions` says to ask.\n- **Write**: shape the card as `akb guide writing` says, then run `akb raw validate <id>` and\n fix every reported line.\n- **Ready**: settle every fact from the project and authoritative sources. Once the card\n validates, judge whether it can be built as written, or before its last Approve: if so, run\n `akb raw update <id> --status ready`; otherwise leave what blocks it as an open question.\n\nFollow any closing steps the flow printed, then stop: the user approves the previews or starts\nthe build.\n';
23741
+ refine_default = '# Refine a card\n\nPlan one card in this session until it can be built.\n\n- **\u91CD\u590D\u5361\u7247**: \u82E5\u53D1\u73B0\u53E6\u4E00\u5F20\u4EFB\u52A1\u5B8C\u6574\u8986\u76D6\u672C\u5361\uFF0C\u5373\u4F7F\u5BF9\u65B9\u5C1A\u672A\u5B9E\u65BD\uFF0C\u4E5F\u5148\u5C06\u5176\u7F3A\u5C11\u7684\u6709\u7528\u4FE1\u606F\u8865\u5165\u5E76\u786E\u8BA4\u4FDD\u5B58\u6210\u529F\uFF1B\n \u4FDD\u5B58\u5931\u8D25\u5219\u4FDD\u7559\u672C\u5361\u5E76\u505C\u6B62\u3002\u6CA1\u6709\u4FE1\u606F\u9700\u8981\u8865\u5145\u6216\u5DF2\u4FDD\u5B58\u6210\u529F\u540E\uFF0C\u8FD0\u884C\n `akb raw reject <id> --reason "<\u627F\u63A5\u4EFB\u52A1\u7F16\u53F7\u53CA\u5B8C\u6574\u8986\u76D6\u539F\u56E0>"` \u5E76\u505C\u6B62\u3002\n \u4E0D\u8BF7\u6C42\u786E\u8BA4\uFF0C\u4E0D\u8FD0\u884C\u9884\u89C8\uFF1B\u4EC5\u90E8\u5206\u91CD\u53E0\u4E0D\u4E22\u5F03\u3002\n- **Unchecked card**: a card with `triage:` set and an empty `## Scope` was never checked\n against the project. Check it first; when the project already does\n the work, or what it concerns no longer exists, run\n `akb raw reject <id> --reason "<what shows it>"` and stop.\n- **Gone or already done**: for any other card, append a question asking the user whether to\n discard it, run no preview agent, and stop.\n- **Existing group**: read its subtasks and check that they cover the parent\u2019s outcome;\n keep a complete split, or fill gaps by updating subtasks and dependencies without\n duplicating work or resetting progress. Finish the pass without marking the parent\n ready merely because its split is complete; its completion still follows its subtasks.\n- **Studio rules**: write the card as the studio rules at the end of this prompt say.\n- **Preview agents**: an agent\'s `After` names the previews it waits for; the board approves\n previews in stages, one stage per Approve, and the card\'s `previews` were chosen when its\n goal was written. A card without `previews` has not chosen: choose and save them first, as\n the list says, then run only its first stage. Run each agent the list above names whose\n section is missing or outdated with `akb raw previews <agent> <id> --print`, one at a time in this\n session; leave out `--print` only for an agent the list says runs in a session of its own.\n- **Stale mentions**: rewrite any sentence that relies on a card no longer on the board.\n- **Questions**: settle every decision you can and record the answers as `akb guide writing`\n says; ask only what `akb guide update-questions` says to ask.\n- **Write**: shape the card as `akb guide writing` says, then run `akb raw validate <id>` and\n fix every reported line.\n- **Ready**: settle every fact from the project and authoritative sources. Once the card\n validates, judge whether it can be built as written, or before its last Approve: if so, run\n `akb raw update <id> --status ready`; otherwise leave what blocks it as an open question.\n\nFollow any closing steps the flow printed, then stop: the user approves the previews or starts\nthe build.\n';
23741
23742
  }
23742
23743
  });
23743
23744
 
@@ -25196,7 +25197,7 @@ async function startRefinement(req) {
25196
25197
  }
25197
25198
  function refinementAfter(action, cardId2, flowId) {
25198
25199
  const card = currentCard(cardId2);
25199
- if (!card || card.openBlockers.length > 0) return null;
25200
+ if (!card || card.isGroup || card.openBlockers.length > 0) return null;
25200
25201
  if (card.questions.length > 0 || action === "clarify" || card.deliversIn !== "plan") return null;
25201
25202
  if (planDeliveryGap(card) === null) return null;
25202
25203
  if (awaitingApproval(card)) return null;
@@ -25218,13 +25219,13 @@ function refinesAfter(action, changed, before) {
25218
25219
  function stalledLine(cardId2, next) {
25219
25220
  if (next !== null) return null;
25220
25221
  const card = cardId2 === null ? null : currentCard(cardId2);
25221
- if (!card || refinementStep(card) === "done") return null;
25222
+ if (!card || card.isGroup || refinementStep(card) === "done") return null;
25222
25223
  return `#${card.id} is still in To do after planning, and the board won't plan it again on its own \u2014 refine it again, or mark it ready yourself.`;
25223
25224
  }
25224
25225
  function planStageEnd(run3) {
25225
25226
  if (run3.cardId === null || stageOfAction(run3.action) !== "plan") return null;
25226
25227
  const card = currentCard(run3.cardId);
25227
- if (!card || card.openBlockers.length > 0 || card.questions.length > 0) return null;
25228
+ if (!card || card.isGroup || card.openBlockers.length > 0 || card.questions.length > 0) return null;
25228
25229
  if (refinementStep(card) !== "done") return null;
25229
25230
  return endOfStage(stageContract("plan"), card);
25230
25231
  }
@@ -1 +1 @@
1
- {"name":"wildcrane","version":"0.11.46","akbContract":12,"type":"module","private":true}
1
+ {"name":"wildcrane","version":"0.11.47","akbContract":12,"type":"module","private":true}
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.59 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.60-conversations.1 — 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;
package/dist/launcher.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.59 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.60-conversations.1 — 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;
@@ -26903,8 +26903,8 @@ function saveAlphaUpdates(value) {
26903
26903
  }
26904
26904
 
26905
26905
  // src/protocol.ts
26906
- var VERSION = true ? "0.6.59" : "0.0.0";
26907
- var AKB_VERSION = true ? "0.11.46" : "0.0.0";
26906
+ var VERSION = true ? "0.6.60-conversations.1" : "0.0.0";
26907
+ var AKB_VERSION = true ? "0.11.47" : "0.0.0";
26908
26908
  var EXIT_REFUSED = 10;
26909
26909
  var EXIT_OUTDATED = 11;
26910
26910
  var EXIT_UPDATE = 12;
@@ -30515,6 +30515,7 @@ function connect(stdout, stdin, onCall, dialect = {}) {
30515
30515
  });
30516
30516
  stdout.on("close", () => closed("the agent closed the connection"));
30517
30517
  stdout.on("error", (err) => closed(String(err)));
30518
+ stdin.on("error", (err) => closed(String(err)));
30518
30519
  return {
30519
30520
  /** Ask the agent something. Rejects with the agent's own words when it says no. */
30520
30521
  call(method, params) {
@@ -30590,7 +30591,7 @@ function createTail(log) {
30590
30591
  // ../cli/package.json
30591
30592
  var package_default = {
30592
30593
  name: "wildcrane",
30593
- version: "0.11.46",
30594
+ version: "0.11.47",
30594
30595
  akbContract: 12,
30595
30596
  description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
30596
30597
  keywords: [
package/dist/plugin.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.59 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.60-conversations.1 — 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;
@@ -73774,8 +73774,8 @@ function machineId() {
73774
73774
  var machineName = () => os3.hostname().replace(/\.local$/, "");
73775
73775
 
73776
73776
  // src/protocol.ts
73777
- var VERSION = true ? "0.6.59" : "0.0.0";
73778
- var AKB_VERSION = true ? "0.11.46" : "0.0.0";
73777
+ var VERSION = true ? "0.6.60-conversations.1" : "0.0.0";
73778
+ var AKB_VERSION = true ? "0.11.47" : "0.0.0";
73779
73779
  var EXIT_REFUSED = 10;
73780
73780
  var EXIT_OUTDATED = 11;
73781
73781
  var EXIT_UPDATE = 12;
@@ -77098,6 +77098,7 @@ function connect(stdout, stdin, onCall, dialect = {}) {
77098
77098
  });
77099
77099
  stdout.on("close", () => closed("the agent closed the connection"));
77100
77100
  stdout.on("error", (err) => closed(String(err)));
77101
+ stdin.on("error", (err) => closed(String(err)));
77101
77102
  return {
77102
77103
  /** Ask the agent something. Rejects with the agent's own words when it says no. */
77103
77104
  call(method, params) {
@@ -77173,7 +77174,7 @@ function createTail(log) {
77173
77174
  // ../cli/package.json
77174
77175
  var package_default = {
77175
77176
  name: "wildcrane",
77176
- version: "0.11.46",
77177
+ version: "0.11.47",
77177
77178
  akbContract: 12,
77178
77179
  description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
77179
77180
  keywords: [
package/dist/runner.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.59 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.60-conversations.1 — 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;
@@ -111420,8 +111420,8 @@ function status(line) {
111420
111420
  }
111421
111421
 
111422
111422
  // src/protocol.ts
111423
- var VERSION = true ? "0.6.59" : "0.0.0";
111424
- var AKB_VERSION = true ? "0.11.46" : "0.0.0";
111423
+ var VERSION = true ? "0.6.60-conversations.1" : "0.0.0";
111424
+ var AKB_VERSION = true ? "0.11.47" : "0.0.0";
111425
111425
  var AKB_CONTRACT = true ? 12 : 0;
111426
111426
  var EXIT_REFUSED = 10;
111427
111427
  var EXIT_OUTDATED = 11;
@@ -113090,6 +113090,7 @@ function connect(stdout, stdin, onCall, dialect = {}) {
113090
113090
  });
113091
113091
  stdout.on("close", () => closed("the agent closed the connection"));
113092
113092
  stdout.on("error", (err) => closed(String(err)));
113093
+ stdin.on("error", (err) => closed(String(err)));
113093
113094
  return {
113094
113095
  /** Ask the agent something. Rejects with the agent's own words when it says no. */
113095
113096
  call(method, params) {
@@ -113165,7 +113166,7 @@ function createTail(log) {
113165
113166
  // ../cli/package.json
113166
113167
  var package_default = {
113167
113168
  name: "wildcrane",
113168
- version: "0.11.46",
113169
+ version: "0.11.47",
113169
113170
  akbContract: 12,
113170
113171
  description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
113171
113172
  keywords: [
package/dist/settings.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.59 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.60-conversations.1 — 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;
@@ -26980,8 +26980,8 @@ function alive(pid) {
26980
26980
  var sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
26981
26981
 
26982
26982
  // src/protocol.ts
26983
- var VERSION = true ? "0.6.59" : "0.0.0";
26984
- var AKB_VERSION = true ? "0.11.46" : "0.0.0";
26983
+ var VERSION = true ? "0.6.60-conversations.1" : "0.0.0";
26984
+ var AKB_VERSION = true ? "0.11.47" : "0.0.0";
26985
26985
 
26986
26986
  // src/api.ts
26987
26987
  var RUNTIMES = ["claude-code", "codex", "cursor", "opencode", "kimi", "dsh", "zcode", "grok"];
@@ -29788,6 +29788,7 @@ function connect(stdout, stdin, onCall, dialect = {}) {
29788
29788
  });
29789
29789
  stdout.on("close", () => closed("the agent closed the connection"));
29790
29790
  stdout.on("error", (err) => closed(String(err)));
29791
+ stdin.on("error", (err) => closed(String(err)));
29791
29792
  return {
29792
29793
  /** Ask the agent something. Rejects with the agent's own words when it says no. */
29793
29794
  call(method, params) {
@@ -29863,7 +29864,7 @@ function createTail(log) {
29863
29864
  // ../cli/package.json
29864
29865
  var package_default = {
29865
29866
  name: "wildcrane",
29866
- version: "0.11.46",
29867
+ version: "0.11.47",
29867
29868
  akbContract: 12,
29868
29869
  description: "WildCrane's `akb` command \u2014 scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
29869
29870
  keywords: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildcrane-runner",
3
- "version": "0.6.59",
3
+ "version": "0.6.60-conversations.1",
4
4
  "description": "WildCrane's Local Runner — connects this computer to WildCrane and runs its jobs on your local Claude Code, Codex, OpenCode or Cursor.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://wildcrane.ai/",