wildcrane-runner 0.6.108 → 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/akb/bin/ai4kanban.mjs +5 -1
- package/dist/akb/dist/kanban.mjs +465 -275
- package/dist/akb/package.json +1 -1
- package/dist/akb-proxy.mjs +1 -1
- package/dist/codex-proxy.mjs +3 -2
- package/dist/codex-retained.mjs +3 -2
- package/dist/flow-worker-main.mjs +7036 -3455
- package/dist/launcher.mjs +62 -56
- package/dist/plugin.mjs +93 -87
- package/dist/runner.mjs +6512 -2940
- package/dist/settings.mjs +57 -51
- package/package.json +1 -1
package/dist/launcher.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// wildcrane-runner 0.6.
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
|
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
|
|
28509
|
-
return
|
|
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 =
|
|
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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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(
|
|
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
|
|
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 =
|
|
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
|
|
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
|
|
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 =
|
|
33948
|
+
exports.parse = parse5;
|
|
33949
33949
|
exports.parseAllDocuments = parseAllDocuments;
|
|
33950
33950
|
exports.parseDocument = parseDocument3;
|
|
33951
|
-
exports.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
|
|
34135
|
+
function stringify2(x) {
|
|
34136
34136
|
return new _Code(safeStringify(x));
|
|
34137
34137
|
}
|
|
34138
|
-
exports.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
|
-
|
|
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 =
|
|
37889
|
-
relative =
|
|
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
|
|
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:
|
|
38244
|
+
parse: parse5
|
|
38245
38245
|
};
|
|
38246
38246
|
module.exports = fastUri;
|
|
38247
38247
|
module.exports.default = fastUri;
|
|
@@ -41128,8 +41128,8 @@ function saveAlphaUpdates(value) {
|
|
|
41128
41128
|
}
|
|
41129
41129
|
|
|
41130
41130
|
// src/protocol.ts
|
|
41131
|
-
var VERSION = true ? "0.6.
|
|
41132
|
-
var AKB_VERSION = true ? "0.11.
|
|
41131
|
+
var VERSION = true ? "0.6.110" : "0.0.0";
|
|
41132
|
+
var AKB_VERSION = true ? "0.11.90" : "0.0.0";
|
|
41133
41133
|
var EXIT_REFUSED = 10;
|
|
41134
41134
|
var EXIT_OUTDATED = 11;
|
|
41135
41135
|
var EXIT_UPDATE = 12;
|
|
@@ -41271,7 +41271,7 @@ function meets(version2, comparator) {
|
|
|
41271
41271
|
}
|
|
41272
41272
|
|
|
41273
41273
|
// ../cli/src/lib/shared/board-conflicts.ts
|
|
41274
|
-
var
|
|
41274
|
+
var import_yaml8 = __toESM(require_dist(), 1);
|
|
41275
41275
|
|
|
41276
41276
|
// ../cli/src/lib/agent/cloud-studios.ts
|
|
41277
41277
|
import fs10 from "node:fs";
|
|
@@ -41567,7 +41567,7 @@ import fs4 from "node:fs";
|
|
|
41567
41567
|
import path4 from "node:path";
|
|
41568
41568
|
|
|
41569
41569
|
// ../cli/src/lib/shared/guide-topics.ts
|
|
41570
|
-
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"];
|
|
41570
|
+
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"];
|
|
41571
41571
|
|
|
41572
41572
|
// ../cli/src/lib/shared/studio-files.ts
|
|
41573
41573
|
var STUDIO_FILE = "STUDIO.md";
|
|
@@ -42174,6 +42174,7 @@ function boardLockName(kanban, root2) {
|
|
|
42174
42174
|
const name = from && !from.startsWith("..") ? from : path11.basename(kanban);
|
|
42175
42175
|
return `${name.split(path11.sep).join("-")}.lock`;
|
|
42176
42176
|
}
|
|
42177
|
+
var shellWord = (value) => /^[\w./:@=-]+$/.test(value) ? value : `"${value.replace(/["`$\\]/g, "\\$&")}"`;
|
|
42177
42178
|
var BOARD_FLAG = "";
|
|
42178
42179
|
function setBoard(kanban, root2, flag) {
|
|
42179
42180
|
REPO_ROOT = path11.resolve(root2);
|
|
@@ -42219,7 +42220,7 @@ function setBoard(kanban, root2, flag) {
|
|
|
42219
42220
|
}
|
|
42220
42221
|
function setBoardRoot(root2, named = false) {
|
|
42221
42222
|
const project = path11.resolve(root2);
|
|
42222
|
-
return setBoard(path11.join(project, "docs", "kanban"), project, named ? ` --dir ${project}` : "");
|
|
42223
|
+
return setBoard(path11.join(project, "docs", "kanban"), project, named ? ` --dir ${shellWord(project)}` : "");
|
|
42223
42224
|
}
|
|
42224
42225
|
setBoardRoot(process.cwd());
|
|
42225
42226
|
|
|
@@ -42289,6 +42290,9 @@ function pidAlive(pid) {
|
|
|
42289
42290
|
}
|
|
42290
42291
|
}
|
|
42291
42292
|
|
|
42293
|
+
// ../cli/src/lib/shared/studio-migration.ts
|
|
42294
|
+
var import_yaml7 = __toESM(require_dist(), 1);
|
|
42295
|
+
|
|
42292
42296
|
// ../cli/src/lib/shared/board-conflicts.ts
|
|
42293
42297
|
var folder = (board) => path13.join(projectStateDir(board), "conflicts");
|
|
42294
42298
|
var fileOf = (board, id2) => {
|
|
@@ -42533,7 +42537,7 @@ __export(external_exports, {
|
|
|
42533
42537
|
optional: () => optional,
|
|
42534
42538
|
output: () => output,
|
|
42535
42539
|
overwrite: () => _overwrite,
|
|
42536
|
-
parse: () =>
|
|
42540
|
+
parse: () => parse4,
|
|
42537
42541
|
parseAsync: () => parseAsync2,
|
|
42538
42542
|
partialRecord: () => partialRecord,
|
|
42539
42543
|
pipe: () => pipe,
|
|
@@ -42885,7 +42889,7 @@ __export(core_exports2, {
|
|
|
42885
42889
|
memoizer: () => memoizer,
|
|
42886
42890
|
mergeValues: () => mergeValues,
|
|
42887
42891
|
meta: () => meta,
|
|
42888
|
-
parse: () =>
|
|
42892
|
+
parse: () => parse3,
|
|
42889
42893
|
parseAsync: () => parseAsync,
|
|
42890
42894
|
parseURLObject: () => parseURLObject,
|
|
42891
42895
|
prettifyError: () => prettifyError,
|
|
@@ -44105,7 +44109,7 @@ var _parse = (_Err) => {
|
|
|
44105
44109
|
};
|
|
44106
44110
|
return fn;
|
|
44107
44111
|
};
|
|
44108
|
-
var
|
|
44112
|
+
var parse3 = /* @__PURE__ */ _parse($ZodRealError);
|
|
44109
44113
|
var _parseAsync = (_Err) => {
|
|
44110
44114
|
const fn = async (schema, value, _ctx, params) => {
|
|
44111
44115
|
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
@@ -44193,18 +44197,18 @@ var validateAsync = async (schema, value, _ctx) => {
|
|
|
44193
44197
|
return result.issues.length === 0;
|
|
44194
44198
|
};
|
|
44195
44199
|
var _encode = (_Err) => {
|
|
44196
|
-
const
|
|
44200
|
+
const parse5 = _parse(_Err);
|
|
44197
44201
|
const fn = (schema, value, _ctx, _params) => {
|
|
44198
44202
|
const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
|
|
44199
|
-
return
|
|
44203
|
+
return parse5(schema, value, ctx, finalizeParams(fn, _params));
|
|
44200
44204
|
};
|
|
44201
44205
|
return fn;
|
|
44202
44206
|
};
|
|
44203
44207
|
var encode = /* @__PURE__ */ _encode($ZodRealError);
|
|
44204
44208
|
var _decode = (_Err) => {
|
|
44205
|
-
const
|
|
44209
|
+
const parse5 = _parse(_Err);
|
|
44206
44210
|
const fn = (schema, value, _ctx, _params) => {
|
|
44207
|
-
return
|
|
44211
|
+
return parse5(schema, value, _ctx, finalizeParams(fn, _params));
|
|
44208
44212
|
};
|
|
44209
44213
|
return fn;
|
|
44210
44214
|
};
|
|
@@ -45699,7 +45703,7 @@ function capSize(inst, size) {
|
|
|
45699
45703
|
if (!caps.length)
|
|
45700
45704
|
return;
|
|
45701
45705
|
const cap = Math.min(...caps.map((c) => c[0]));
|
|
45702
|
-
const
|
|
45706
|
+
const parse5 = inst._zod.parse;
|
|
45703
45707
|
inst._zod.parse = (payload, ctx) => {
|
|
45704
45708
|
const n = size(payload.value);
|
|
45705
45709
|
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
@@ -45713,7 +45717,7 @@ function capSize(inst, size) {
|
|
|
45713
45717
|
}
|
|
45714
45718
|
}
|
|
45715
45719
|
}
|
|
45716
|
-
return
|
|
45720
|
+
return parse5(payload, ctx);
|
|
45717
45721
|
};
|
|
45718
45722
|
}
|
|
45719
45723
|
var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
|
|
@@ -47258,10 +47262,10 @@ var $ZodFunction = /* @__PURE__ */ $constructor("$ZodFunction", (inst, def) => {
|
|
|
47258
47262
|
throw new Error("implement() must be called with a function");
|
|
47259
47263
|
}
|
|
47260
47264
|
return Object.defineProperty(function(...args2) {
|
|
47261
|
-
const parsedArgs = inst._def.input ?
|
|
47265
|
+
const parsedArgs = inst._def.input ? parse3(inst._def.input, args2) : args2;
|
|
47262
47266
|
const result = Reflect.apply(func, this, parsedArgs);
|
|
47263
47267
|
if (inst._def.output) {
|
|
47264
|
-
return
|
|
47268
|
+
return parse3(inst._def.output, result);
|
|
47265
47269
|
}
|
|
47266
47270
|
return result;
|
|
47267
47271
|
}, "_zod", { value: inst._zod, enumerable: false });
|
|
@@ -59568,7 +59572,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
59568
59572
|
});
|
|
59569
59573
|
|
|
59570
59574
|
// ../cli/node_modules/zod/v4/classic/parse.js
|
|
59571
|
-
var
|
|
59575
|
+
var parse4 = /* @__PURE__ */ _parse(ZodRealError);
|
|
59572
59576
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
59573
59577
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
59574
59578
|
var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
@@ -59705,7 +59709,7 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
59705
59709
|
util_exports.own(this, "~standard", value);
|
|
59706
59710
|
},
|
|
59707
59711
|
parse: function _parse2(data, params) {
|
|
59708
|
-
return
|
|
59712
|
+
return parse4(this, data, params, { callee: _parse2 });
|
|
59709
59713
|
},
|
|
59710
59714
|
parseAsync: async function _parseAsync2(data, params) {
|
|
59711
59715
|
return await parseAsync2(this, data, params, { callee: _parseAsync2 });
|
|
@@ -64458,7 +64462,7 @@ function saveAcpCost(file3, cost) {
|
|
|
64458
64462
|
}
|
|
64459
64463
|
|
|
64460
64464
|
// ../cli/src/lib/shared/conversation.ts
|
|
64461
|
-
var CONVERSATION_MS = { send: 15e3,
|
|
64465
|
+
var CONVERSATION_MS = { send: 15e3, prepare: 6e4, start: 15e3, stop: 1e4 };
|
|
64462
64466
|
function bounded(work, ms, reason) {
|
|
64463
64467
|
return new Promise((resolve2, reject) => {
|
|
64464
64468
|
const timer = setTimeout(() => reject(new Error(reason)), Math.max(0, ms));
|
|
@@ -64609,8 +64613,9 @@ function createTail(log) {
|
|
|
64609
64613
|
// ../cli/package.json
|
|
64610
64614
|
var package_default = {
|
|
64611
64615
|
name: "wildcrane",
|
|
64612
|
-
version: "0.11.
|
|
64616
|
+
version: "0.11.90",
|
|
64613
64617
|
akbContract: 29,
|
|
64618
|
+
canonicalCommands: true,
|
|
64614
64619
|
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.",
|
|
64615
64620
|
keywords: [
|
|
64616
64621
|
"kanban",
|
|
@@ -68387,6 +68392,7 @@ var bundledAkb = (dist = HERE) => ({
|
|
|
68387
68392
|
command: process.execPath,
|
|
68388
68393
|
args: akbArgs(path31.join(dist, "akb", "bin", "ai4kanban.mjs"), dist),
|
|
68389
68394
|
version: AKB_VERSION,
|
|
68395
|
+
canonicalCommands: true,
|
|
68390
68396
|
shim: path31.join(akbHome(), BUNDLED_SHIM)
|
|
68391
68397
|
});
|
|
68392
68398
|
var quote = (s) => /^[\w./:@=-]+$/.test(s) ? s : `"${s}"`;
|