wildcrane-runner 0.6.109 → 0.6.110

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/settings.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.109 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.110 — 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;
@@ -1039,7 +1039,7 @@ var require_util = __commonJS({
1039
1039
  var { IncomingMessage } = __require("node:http");
1040
1040
  var stream = __require("node:stream");
1041
1041
  var net2 = __require("node:net");
1042
- var { stringify } = __require("node:querystring");
1042
+ var { stringify: stringify2 } = __require("node:querystring");
1043
1043
  var { EventEmitter: EE } = __require("node:events");
1044
1044
  var timers = require_timers();
1045
1045
  var { InvalidArgumentError, ConnectTimeoutError } = require_errors();
@@ -1105,7 +1105,7 @@ var require_util = __commonJS({
1105
1105
  if (pathHasQueryOrFragment(url2)) {
1106
1106
  throw new Error('Query params cannot be passed when url already contains "?" or "#".');
1107
1107
  }
1108
- const stringified = stringify(queryParams);
1108
+ const stringified = stringify2(queryParams);
1109
1109
  if (stringified) {
1110
1110
  url2 += "?" + stringified;
1111
1111
  }
@@ -23207,7 +23207,7 @@ var require_util4 = __commonJS({
23207
23207
  throw new Error("Invalid cookie max-age");
23208
23208
  }
23209
23209
  }
23210
- function stringify(cookie) {
23210
+ function stringify2(cookie) {
23211
23211
  if (cookie.name.length === 0) {
23212
23212
  return null;
23213
23213
  }
@@ -23269,7 +23269,7 @@ var require_util4 = __commonJS({
23269
23269
  validateCookiePath,
23270
23270
  validateCookieValue,
23271
23271
  toIMFDate,
23272
- stringify
23272
+ stringify: stringify2
23273
23273
  };
23274
23274
  }
23275
23275
  });
@@ -23416,7 +23416,7 @@ var require_cookies = __commonJS({
23416
23416
  "node_modules/undici/lib/web/cookies/index.js"(exports, module) {
23417
23417
  "use strict";
23418
23418
  var { parseSetCookie } = require_parse();
23419
- var { stringify } = require_util4();
23419
+ var { stringify: stringify2 } = require_util4();
23420
23420
  var { webidl } = require_webidl();
23421
23421
  var { Headers } = require_headers();
23422
23422
  var brandChecks = webidl.brandCheckMultiple([Headers, globalThis.Headers].filter(Boolean));
@@ -23464,7 +23464,7 @@ var require_cookies = __commonJS({
23464
23464
  webidl.argumentLengthCheck(arguments, 2, "setCookie");
23465
23465
  brandChecks(headers);
23466
23466
  cookie = webidl.converters.Cookie(cookie);
23467
- const str3 = stringify(cookie);
23467
+ const str3 = stringify2(cookie);
23468
23468
  if (str3) {
23469
23469
  headers.append("set-cookie", str3, true);
23470
23470
  }
@@ -28144,7 +28144,7 @@ var require_stringify = __commonJS({
28144
28144
  props.push(doc.directives.tagString(tag));
28145
28145
  return props.join(" ");
28146
28146
  }
28147
- function stringify(item, ctx, onComment, onChompKeep) {
28147
+ function stringify2(item, ctx, onComment, onChompKeep) {
28148
28148
  if (identity.isPair(item))
28149
28149
  return item.toString(ctx, onComment, onChompKeep);
28150
28150
  if (identity.isAlias(item)) {
@@ -28173,7 +28173,7 @@ var require_stringify = __commonJS({
28173
28173
  ${ctx.indent}${str3}`;
28174
28174
  }
28175
28175
  exports.createStringifyContext = createStringifyContext;
28176
- exports.stringify = stringify;
28176
+ exports.stringify = stringify2;
28177
28177
  }
28178
28178
  });
28179
28179
 
@@ -28183,7 +28183,7 @@ var require_stringifyPair = __commonJS({
28183
28183
  "use strict";
28184
28184
  var identity = require_identity();
28185
28185
  var Scalar = require_Scalar();
28186
- var stringify = require_stringify();
28186
+ var stringify2 = require_stringify();
28187
28187
  var stringifyComment = require_stringifyComment();
28188
28188
  function stringifyPair({ key, value }, ctx, onComment, onChompKeep) {
28189
28189
  const { allNullValues, doc, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
@@ -28205,7 +28205,7 @@ var require_stringifyPair = __commonJS({
28205
28205
  });
28206
28206
  let keyCommentDone = false;
28207
28207
  let chompKeep = false;
28208
- let str3 = stringify.stringify(key, ctx, () => keyCommentDone = true, () => chompKeep = true);
28208
+ let str3 = stringify2.stringify(key, ctx, () => keyCommentDone = true, () => chompKeep = true);
28209
28209
  if (!explicitKey && !ctx.inFlow && str3.length > 1024) {
28210
28210
  if (simpleKeys)
28211
28211
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
@@ -28257,7 +28257,7 @@ ${indent}:`;
28257
28257
  ctx.indent = ctx.indent.substring(2);
28258
28258
  }
28259
28259
  let valueCommentDone = false;
28260
- const valueStr = stringify.stringify(value, ctx, () => valueCommentDone = true, () => chompKeep = true);
28260
+ const valueStr = stringify2.stringify(value, ctx, () => valueCommentDone = true, () => chompKeep = true);
28261
28261
  let ws = " ";
28262
28262
  if (keyComment || vsb || vcb) {
28263
28263
  ws = vsb ? "\n" : "";
@@ -28398,7 +28398,7 @@ var require_addPairToJSMap = __commonJS({
28398
28398
  "use strict";
28399
28399
  var log = require_log();
28400
28400
  var merge2 = require_merge();
28401
- var stringify = require_stringify();
28401
+ var stringify2 = require_stringify();
28402
28402
  var identity = require_identity();
28403
28403
  var toJS = require_toJS();
28404
28404
  function addPairToJSMap(ctx, map2, { key, value }) {
@@ -28434,7 +28434,7 @@ var require_addPairToJSMap = __commonJS({
28434
28434
  if (typeof jsKey !== "object")
28435
28435
  return String(jsKey);
28436
28436
  if (identity.isNode(key) && ctx?.doc) {
28437
- const strCtx = stringify.createStringifyContext(ctx.doc, {});
28437
+ const strCtx = stringify2.createStringifyContext(ctx.doc, {});
28438
28438
  strCtx.anchors = /* @__PURE__ */ new Set();
28439
28439
  for (const node2 of ctx.anchors.keys())
28440
28440
  strCtx.anchors.add(node2.anchor);
@@ -28501,12 +28501,12 @@ var require_stringifyCollection = __commonJS({
28501
28501
  "../cli/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
28502
28502
  "use strict";
28503
28503
  var identity = require_identity();
28504
- var stringify = require_stringify();
28504
+ var stringify2 = require_stringify();
28505
28505
  var stringifyComment = require_stringifyComment();
28506
28506
  function stringifyCollection(collection, ctx, options) {
28507
28507
  const flow = ctx.inFlow ?? collection.flow;
28508
- const stringify2 = flow ? stringifyFlowCollection : stringifyBlockCollection;
28509
- return stringify2(collection, ctx, options);
28508
+ const stringify3 = flow ? stringifyFlowCollection : stringifyBlockCollection;
28509
+ return stringify3(collection, ctx, options);
28510
28510
  }
28511
28511
  function stringifyBlockCollection({ comment, items }, ctx, { blockItemPrefix, flowChars, itemIndent, onChompKeep, onComment }) {
28512
28512
  const { indent, options: { commentString } } = ctx;
@@ -28531,7 +28531,7 @@ var require_stringifyCollection = __commonJS({
28531
28531
  }
28532
28532
  }
28533
28533
  chompKeep = false;
28534
- let str4 = stringify.stringify(item, itemCtx, () => comment2 = null, () => chompKeep = true);
28534
+ let str4 = stringify2.stringify(item, itemCtx, () => comment2 = null, () => chompKeep = true);
28535
28535
  if (comment2)
28536
28536
  str4 += stringifyComment.lineComment(str4, itemIndent, commentString(comment2));
28537
28537
  if (chompKeep && comment2)
@@ -28598,7 +28598,7 @@ ${indent}${line}` : "\n";
28598
28598
  }
28599
28599
  if (comment)
28600
28600
  reqNewline = true;
28601
- let str3 = stringify.stringify(item, itemCtx, () => comment = null);
28601
+ let str3 = stringify2.stringify(item, itemCtx, () => comment = null);
28602
28602
  reqNewline || (reqNewline = lines.length > linesAtValue || str3.includes("\n"));
28603
28603
  if (i < items.length - 1) {
28604
28604
  str3 += ",";
@@ -29959,7 +29959,7 @@ var require_stringifyDocument = __commonJS({
29959
29959
  "../cli/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
29960
29960
  "use strict";
29961
29961
  var identity = require_identity();
29962
- var stringify = require_stringify();
29962
+ var stringify2 = require_stringify();
29963
29963
  var stringifyComment = require_stringifyComment();
29964
29964
  function stringifyDocument(doc, options) {
29965
29965
  const lines = [];
@@ -29974,7 +29974,7 @@ var require_stringifyDocument = __commonJS({
29974
29974
  }
29975
29975
  if (hasDirectives)
29976
29976
  lines.push("---");
29977
- const ctx = stringify.createStringifyContext(doc, options);
29977
+ const ctx = stringify2.createStringifyContext(doc, options);
29978
29978
  const { commentString } = ctx.options;
29979
29979
  if (doc.commentBefore) {
29980
29980
  if (lines.length !== 1)
@@ -29996,7 +29996,7 @@ var require_stringifyDocument = __commonJS({
29996
29996
  contentComment = doc.contents.comment;
29997
29997
  }
29998
29998
  const onChompKeep = contentComment ? void 0 : () => chompKeep = true;
29999
- let body = stringify.stringify(doc.contents, ctx, () => contentComment = null, onChompKeep);
29999
+ let body = stringify2.stringify(doc.contents, ctx, () => contentComment = null, onChompKeep);
30000
30000
  if (contentComment)
30001
30001
  body += stringifyComment.lineComment(body, "", commentString(contentComment));
30002
30002
  if ((body[0] === "|" || body[0] === ">") && lines[lines.length - 1] === "---") {
@@ -30004,7 +30004,7 @@ var require_stringifyDocument = __commonJS({
30004
30004
  } else
30005
30005
  lines.push(body);
30006
30006
  } else {
30007
- lines.push(stringify.stringify(doc.contents, ctx));
30007
+ lines.push(stringify2.stringify(doc.contents, ctx));
30008
30008
  }
30009
30009
  if (doc.directives?.docEnd) {
30010
30010
  if (doc.comment) {
@@ -32140,7 +32140,7 @@ var require_cst_scalar = __commonJS({
32140
32140
  var require_cst_stringify = __commonJS({
32141
32141
  "../cli/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
32142
32142
  "use strict";
32143
- var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
32143
+ var stringify2 = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
32144
32144
  function stringifyToken(token) {
32145
32145
  switch (token.type) {
32146
32146
  case "block-scalar": {
@@ -32193,7 +32193,7 @@ var require_cst_stringify = __commonJS({
32193
32193
  res += stringifyToken(value);
32194
32194
  return res;
32195
32195
  }
32196
- exports.stringify = stringify;
32196
+ exports.stringify = stringify2;
32197
32197
  }
32198
32198
  });
32199
32199
 
@@ -33904,7 +33904,7 @@ var require_public_api = __commonJS({
33904
33904
  }
33905
33905
  return doc;
33906
33906
  }
33907
- function parse4(src, reviver, options) {
33907
+ function parse5(src, reviver, options) {
33908
33908
  let _reviver = void 0;
33909
33909
  if (typeof reviver === "function") {
33910
33910
  _reviver = reviver;
@@ -33923,7 +33923,7 @@ var require_public_api = __commonJS({
33923
33923
  }
33924
33924
  return doc.toJS(Object.assign({ reviver: _reviver }, options));
33925
33925
  }
33926
- function stringify(value, replacer, options) {
33926
+ function stringify2(value, replacer, options) {
33927
33927
  let _replacer = null;
33928
33928
  if (typeof replacer === "function" || Array.isArray(replacer)) {
33929
33929
  _replacer = replacer;
@@ -33945,10 +33945,10 @@ var require_public_api = __commonJS({
33945
33945
  return value.toString(options);
33946
33946
  return new Document.Document(value, _replacer, options).toString(options);
33947
33947
  }
33948
- exports.parse = parse4;
33948
+ exports.parse = parse5;
33949
33949
  exports.parseAllDocuments = parseAllDocuments;
33950
33950
  exports.parseDocument = parseDocument3;
33951
- exports.stringify = stringify;
33951
+ exports.stringify = stringify2;
33952
33952
  }
33953
33953
  });
33954
33954
 
@@ -34132,10 +34132,10 @@ var require_code = __commonJS({
34132
34132
  function interpolate(x) {
34133
34133
  return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x);
34134
34134
  }
34135
- function stringify(x) {
34135
+ function stringify2(x) {
34136
34136
  return new _Code(safeStringify(x));
34137
34137
  }
34138
- exports.stringify = stringify;
34138
+ exports.stringify = stringify2;
34139
34139
  function safeStringify(x) {
34140
34140
  return JSON.stringify(x).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
34141
34141
  }
@@ -37842,7 +37842,7 @@ var require_fast_uri = __commonJS({
37842
37842
  normalizeString(uri, options);
37843
37843
  } else if (typeof uri === "object") {
37844
37844
  uri = /** @type {T} */
37845
- parse4(serialize(uri, options), options);
37845
+ parse5(serialize(uri, options), options);
37846
37846
  }
37847
37847
  return uri;
37848
37848
  }
@@ -37885,8 +37885,8 @@ var require_fast_uri = __commonJS({
37885
37885
  function resolveComponent(base, relative, options, skipNormalization) {
37886
37886
  const target = {};
37887
37887
  if (!skipNormalization) {
37888
- base = parse4(serialize(base, options), options);
37889
- relative = parse4(serialize(relative, options), options);
37888
+ base = parse5(serialize(base, options), options);
37889
+ relative = parse5(serialize(relative, options), options);
37890
37890
  }
37891
37891
  options = options || {};
37892
37892
  if (!options.tolerant && relative.scheme) {
@@ -38204,7 +38204,7 @@ var require_fast_uri = __commonJS({
38204
38204
  }
38205
38205
  return { parsed, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme };
38206
38206
  }
38207
- function parse4(uri, opts) {
38207
+ function parse5(uri, opts) {
38208
38208
  return parseWithStatus(uri, opts).parsed;
38209
38209
  }
38210
38210
  function normalizeString(uri, opts) {
@@ -38241,7 +38241,7 @@ var require_fast_uri = __commonJS({
38241
38241
  resolveComponent,
38242
38242
  equal,
38243
38243
  serialize,
38244
- parse: parse4
38244
+ parse: parse5
38245
38245
  };
38246
38246
  module.exports = fastUri;
38247
38247
  module.exports.default = fastUri;
@@ -43107,18 +43107,18 @@ var validateAsync = async (schema, value, _ctx) => {
43107
43107
  return result.issues.length === 0;
43108
43108
  };
43109
43109
  var _encode = (_Err) => {
43110
- const parse4 = _parse(_Err);
43110
+ const parse5 = _parse(_Err);
43111
43111
  const fn = (schema, value, _ctx, _params) => {
43112
43112
  const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
43113
- return parse4(schema, value, ctx, finalizeParams(fn, _params));
43113
+ return parse5(schema, value, ctx, finalizeParams(fn, _params));
43114
43114
  };
43115
43115
  return fn;
43116
43116
  };
43117
43117
  var encode = /* @__PURE__ */ _encode($ZodRealError);
43118
43118
  var _decode = (_Err) => {
43119
- const parse4 = _parse(_Err);
43119
+ const parse5 = _parse(_Err);
43120
43120
  const fn = (schema, value, _ctx, _params) => {
43121
- return parse4(schema, value, _ctx, finalizeParams(fn, _params));
43121
+ return parse5(schema, value, _ctx, finalizeParams(fn, _params));
43122
43122
  };
43123
43123
  return fn;
43124
43124
  };
@@ -44613,7 +44613,7 @@ function capSize(inst, size) {
44613
44613
  if (!caps.length)
44614
44614
  return;
44615
44615
  const cap = Math.min(...caps.map((c) => c[0]));
44616
- const parse4 = inst._zod.parse;
44616
+ const parse5 = inst._zod.parse;
44617
44617
  inst._zod.parse = (payload, ctx) => {
44618
44618
  const n = size(payload.value);
44619
44619
  if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
@@ -44627,7 +44627,7 @@ function capSize(inst, size) {
44627
44627
  }
44628
44628
  }
44629
44629
  }
44630
- return parse4(payload, ctx);
44630
+ return parse5(payload, ctx);
44631
44631
  };
44632
44632
  }
44633
44633
  var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
@@ -61045,8 +61045,8 @@ function cloudProblem(response, body) {
61045
61045
  }
61046
61046
 
61047
61047
  // src/protocol.ts
61048
- var VERSION = true ? "0.6.109" : "0.0.0";
61049
- var AKB_VERSION = true ? "0.11.89" : "0.0.0";
61048
+ var VERSION = true ? "0.6.110" : "0.0.0";
61049
+ var AKB_VERSION = true ? "0.11.90" : "0.0.0";
61050
61050
 
61051
61051
  // ../cli/src/lib/agent/harnesses/antigravity.ts
61052
61052
  import fs7 from "node:fs";
@@ -63418,7 +63418,7 @@ function saveAcpCost(file3, cost) {
63418
63418
  }
63419
63419
 
63420
63420
  // ../cli/src/lib/shared/conversation.ts
63421
- var CONVERSATION_MS = { send: 15e3, claim: 3e4, prepare: 6e4, start: 15e3, startup: 12e4, quiet: 6e4, stop: 1e4 };
63421
+ var CONVERSATION_MS = { send: 15e3, prepare: 6e4, start: 15e3, stop: 1e4 };
63422
63422
  function bounded(work, ms, reason) {
63423
63423
  return new Promise((resolve2, reject) => {
63424
63424
  const timer = setTimeout(() => reject(new Error(reason)), Math.max(0, ms));
@@ -63569,7 +63569,7 @@ function createTail(log) {
63569
63569
  // ../cli/package.json
63570
63570
  var package_default = {
63571
63571
  name: "wildcrane",
63572
- version: "0.11.89",
63572
+ version: "0.11.90",
63573
63573
  akbContract: 29,
63574
63574
  canonicalCommands: true,
63575
63575
  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.",
@@ -66559,7 +66559,7 @@ async function createProject(name, workspace, key) {
66559
66559
  var removeFolder = (machineId2, project) => request("POST", `/v1/runner/folders/${q(project)}/remove`, { machineId: machineId2 });
66560
66560
 
66561
66561
  // ../cli/src/lib/shared/board-conflicts.ts
66562
- var import_yaml7 = __toESM(require_dist(), 1);
66562
+ var import_yaml8 = __toESM(require_dist(), 1);
66563
66563
 
66564
66564
  // ../cli/src/lib/agent/cloud-studios.ts
66565
66565
  import fs17 from "node:fs";
@@ -66855,7 +66855,7 @@ import fs14 from "node:fs";
66855
66855
  import path18 from "node:path";
66856
66856
 
66857
66857
  // ../cli/src/lib/shared/guide-topics.ts
66858
- var GUIDE_TOPICS = ["board", "writing", "add-task", "follow-up", "discuss-goal", "troubleshoot", "card-chat", "update-studio", "implement", "settle-background", "archive", "update-questions", "refine", "revise", "resolve", "prune-memory", "review-memory", "describe-project", "review-rejections", "reflect", "write-agent", "write-prompt", "module-map"];
66858
+ var GUIDE_TOPICS = ["board", "writing", "add-task", "follow-up", "discuss-goal", "troubleshoot", "card-chat", "task-ui-en", "task-ui-zh", "update-studio", "implement", "settle-background", "archive", "update-questions", "refine", "revise", "resolve", "prune-memory", "review-memory", "describe-project", "review-rejections", "reflect", "write-agent", "write-prompt", "module-map"];
66859
66859
 
66860
66860
  // ../cli/src/lib/shared/studio-files.ts
66861
66861
  var STUDIO_FILE = "STUDIO.md";
@@ -67119,6 +67119,9 @@ function pidAlive(pid) {
67119
67119
  }
67120
67120
  }
67121
67121
 
67122
+ // ../cli/src/lib/shared/studio-migration.ts
67123
+ var import_yaml7 = __toESM(require_dist(), 1);
67124
+
67122
67125
  // ../cli/src/lib/shared/board-conflicts.ts
67123
67126
  var folder = (board) => path22.join(projectStateDir(board), "conflicts");
67124
67127
  var fileOf = (board, id2) => {
@@ -68371,12 +68374,12 @@ import path33 from "node:path";
68371
68374
  var versionsDir = () => path33.join(runnerHome(), "bin", "runner");
68372
68375
  var versionDir = (version2) => path33.join(versionsDir(), version2);
68373
68376
  var entryOf = (dir) => path33.join(dir, "dist", "runner.mjs");
68374
- var parse3 = (v) => {
68377
+ var parse4 = (v) => {
68375
68378
  const m = /^v?(\d+)(?:\.(\d+|x|\*))?(?:\.(\d+|x|\*))?/.exec(v.trim());
68376
68379
  return m ? [Number(m[1]), Number(m[2]) || 0, Number(m[3]) || 0] : null;
68377
68380
  };
68378
68381
  function compare(a, b) {
68379
- const [x, y] = [parse3(a) ?? [0, 0, 0], parse3(b) ?? [0, 0, 0]];
68382
+ const [x, y] = [parse4(a) ?? [0, 0, 0], parse4(b) ?? [0, 0, 0]];
68380
68383
  for (let i = 0; i < 3; i++) if (x[i] !== y[i]) return x[i] - y[i];
68381
68384
  const pre = (v) => /^v?\d+\.\d+\.\d+-([^+]+)/.exec(v)?.[1]?.split(".");
68382
68385
  const ap = pre(a), bp = pre(b);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildcrane-runner",
3
- "version": "0.6.109",
3
+ "version": "0.6.110",
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/",