wildcrane 0.11.86 → 0.11.87
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/kanban.mjs +13 -4
- package/package.json +1 -1
package/dist/kanban.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// ai4kanban 0.11.
|
|
2
|
+
// ai4kanban 0.11.87 — built from the CLI's TypeScript sources by cli/scripts/build.mjs.
|
|
3
3
|
// Do not edit: every change belongs in cli/src/, and a build overwrites this file.
|
|
4
4
|
import { createRequire as __ai4kanbanRequire } from 'node:module'
|
|
5
5
|
const require = __ai4kanbanRequire(import.meta.url)
|
|
@@ -22832,7 +22832,7 @@ var init_package = __esm({
|
|
|
22832
22832
|
"package.json"() {
|
|
22833
22833
|
package_default = {
|
|
22834
22834
|
name: "wildcrane",
|
|
22835
|
-
version: "0.11.
|
|
22835
|
+
version: "0.11.87",
|
|
22836
22836
|
akbContract: 29,
|
|
22837
22837
|
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.",
|
|
22838
22838
|
keywords: [
|
|
@@ -27146,6 +27146,7 @@ async function run(io, options, count3) {
|
|
|
27146
27146
|
const execution = randomUUID4();
|
|
27147
27147
|
let host2 = {};
|
|
27148
27148
|
let cleanup = { status: "confirmed", execution, kept: [] };
|
|
27149
|
+
let hostCleanup;
|
|
27149
27150
|
let settlement;
|
|
27150
27151
|
let replySnapshots = /* @__PURE__ */ new Map();
|
|
27151
27152
|
const visible = /* @__PURE__ */ new Set();
|
|
@@ -27202,11 +27203,11 @@ async function run(io, options, count3) {
|
|
|
27202
27203
|
};
|
|
27203
27204
|
const closed2 = () => {
|
|
27204
27205
|
const reason = "Codex connection closed before all work and results finished.";
|
|
27205
|
-
if (work.work().some((w) => ["running", "unknown"].includes(w.status))) note("Connection lost; managed cleanup is unconfirmed.");
|
|
27206
|
+
if (hostCleanup !== "confirmed" && work.work().some((w) => ["running", "unknown"].includes(w.status))) note("Connection lost; managed cleanup is unconfirmed.");
|
|
27206
27207
|
end2(reason, makeFailure("runtime", reason, { code: "connection_lost", detail: reason }));
|
|
27207
27208
|
};
|
|
27208
27209
|
const inputFailed = (e) => {
|
|
27209
|
-
if (work.work().some((w) => ["running", "unknown"].includes(w.status))) note("Connection input failed; managed cleanup is unconfirmed.");
|
|
27210
|
+
if (hostCleanup !== "confirmed" && work.work().some((w) => ["running", "unknown"].includes(w.status))) note("Connection input failed; managed cleanup is unconfirmed.");
|
|
27210
27211
|
end2(e.message, executionFailure(e));
|
|
27211
27212
|
};
|
|
27212
27213
|
io.stdout.once("close", closed2);
|
|
@@ -27429,6 +27430,14 @@ async function run(io, options, count3) {
|
|
|
27429
27430
|
return;
|
|
27430
27431
|
}
|
|
27431
27432
|
const p = obj2(msg.params);
|
|
27433
|
+
if (msg.method === "wildcrane/cleanup") {
|
|
27434
|
+
if (p.status === "confirmed") hostCleanup = "confirmed";
|
|
27435
|
+
else if (p.status === "unconfirmed") {
|
|
27436
|
+
hostCleanup = "unconfirmed";
|
|
27437
|
+
note(str2(p.diagnostic) || "Codex cleanup is unconfirmed.");
|
|
27438
|
+
}
|
|
27439
|
+
return;
|
|
27440
|
+
}
|
|
27432
27441
|
const source2 = str2(p.threadId);
|
|
27433
27442
|
if (!work.own(source2)) return;
|
|
27434
27443
|
if (msg.method === "item/commandExecution/terminalInteraction") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildcrane",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.87",
|
|
4
4
|
"akbContract": 29,
|
|
5
5
|
"description": "WildCrane's `akb` command — scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
|
|
6
6
|
"keywords": [
|