wildcrane-runner 0.6.65 → 0.6.67

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/plugin.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.65 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.67 — 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;
@@ -73825,8 +73825,8 @@ function machineId() {
73825
73825
  var machineName = () => os3.hostname().replace(/\.local$/, "");
73826
73826
 
73827
73827
  // src/protocol.ts
73828
- var VERSION = true ? "0.6.65" : "0.0.0";
73829
- var AKB_VERSION = true ? "0.11.51" : "0.0.0";
73828
+ var VERSION = true ? "0.6.67" : "0.0.0";
73829
+ var AKB_VERSION = true ? "0.11.53" : "0.0.0";
73830
73830
  var EXIT_REFUSED = 10;
73831
73831
  var EXIT_OUTDATED = 11;
73832
73832
  var EXIT_UPDATE = 12;
@@ -77627,7 +77627,7 @@ function createTail(log) {
77627
77627
  // ../cli/package.json
77628
77628
  var package_default = {
77629
77629
  name: "wildcrane",
77630
- version: "0.11.51",
77630
+ version: "0.11.53",
77631
77631
  akbContract: 15,
77632
77632
  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.",
77633
77633
  keywords: [
@@ -78300,7 +78300,8 @@ function createCodexConnection(argv) {
78300
78300
  }
78301
78301
  }
78302
78302
  if (roots.length) server2.push("-c", `sandbox_workspace_write.writable_roots=${JSON.stringify(roots)}`);
78303
- return { argv: server2, client: createCodexClient(options) };
78303
+ const proxy = process.env.WILDCRANE_CODEX_PROXY;
78304
+ return { argv: proxy && process.env.WILDCRANE_CODEX_SERVER ? [process.execPath, proxy, ...server2] : server2, client: createCodexClient(options) };
78304
78305
  }
78305
78306
  function createCodexClient(options = { images: [] }) {
78306
78307
  const tasks2 = createBackgroundTasks();
@@ -78455,6 +78456,10 @@ async function run(io, options, tasks2) {
78455
78456
  if (ended || checking || active) return;
78456
78457
  checking = true;
78457
78458
  try {
78459
+ if (io.completed?.()) {
78460
+ end();
78461
+ return;
78462
+ }
78458
78463
  for (const key of tasks2.running().filter((id) => id.startsWith("agent:"))) {
78459
78464
  const id = key.slice(6);
78460
78465
  let thread = obj2((await rpc.call("thread/read", { threadId: id, includeTurns: false })).thread);