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/akb/dist/kanban.mjs +50 -6
- package/dist/akb/package.json +1 -1
- package/dist/akb-proxy.mjs +1 -1
- package/dist/codex-proxy.mjs +43 -0
- package/dist/flow-worker-main.mjs +279 -56
- package/dist/launcher.mjs +10 -5
- package/dist/plugin.mjs +10 -5
- package/dist/runner.mjs +1659 -343
- package/dist/settings.mjs +10 -5
- package/package.json +2 -1
package/dist/plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// wildcrane-runner 0.6.
|
|
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.
|
|
73829
|
-
var AKB_VERSION = true ? "0.11.
|
|
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.
|
|
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
|
-
|
|
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);
|