wildcrane-runner 0.6.19 → 0.6.20

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.
@@ -1 +1 @@
1
- {"name":"wildcrane","version":"0.11.17","akbContract":5,"type":"module","private":true}
1
+ {"name":"wildcrane","version":"0.11.19","akbContract":7,"type":"module","private":true}
package/dist/launcher.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.19 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.20 — 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
 
@@ -108,7 +108,7 @@ function status(line) {
108
108
  }
109
109
 
110
110
  // src/protocol.ts
111
- var VERSION = true ? "0.6.19" : "0.0.0";
111
+ var VERSION = true ? "0.6.20" : "0.0.0";
112
112
  var EXIT_REFUSED = 10;
113
113
  var EXIT_OUTDATED = 11;
114
114
  var EXIT_UPDATE = 12;
@@ -915,7 +915,6 @@ async function createProject(name, workspace, key) {
915
915
  var removeFolder = (machineId2, project) => request("POST", `/v1/runner/folders/${q(project)}/remove`, { machineId: machineId2 });
916
916
 
917
917
  // src/cache.ts
918
- import { spawnSync } from "node:child_process";
919
918
  import crypto4 from "node:crypto";
920
919
  import fs8 from "node:fs";
921
920
  import path9 from "node:path";
@@ -1115,7 +1114,7 @@ function busy(dir) {
1115
1114
  var kept = (dir) => busy(dir) || unsent(dir) || paused(dir);
1116
1115
  function clearAkb(dir) {
1117
1116
  dir = realpath2(dir);
1118
- if (kept(dir)) return false;
1117
+ if (kept(dir) || fs8.existsSync(path9.join(akbDir(dir), "worktrees")) || fs8.existsSync(path9.join(akbDir(dir), "handoffs"))) return false;
1119
1118
  let entries;
1120
1119
  try {
1121
1120
  entries = fs8.readdirSync(akbDir(dir));
@@ -1123,7 +1122,6 @@ function clearAkb(dir) {
1123
1122
  return true;
1124
1123
  }
1125
1124
  for (const name of entries) fs8.rmSync(path9.join(akbDir(dir), name), { recursive: true, force: true });
1126
- spawnSync("git", ["-C", dir, "worktree", "prune"], { stdio: "ignore" });
1127
1125
  return true;
1128
1126
  }
1129
1127
  function realpath2(p) {
@@ -1290,7 +1288,7 @@ function checkHarnesses(harnesses) {
1290
1288
  import path13 from "node:path";
1291
1289
 
1292
1290
  // ../cli/src/lib/agent/locate.ts
1293
- import { spawn as spawn3, spawnSync as spawnSync2 } from "node:child_process";
1291
+ import { spawn as spawn3, spawnSync } from "node:child_process";
1294
1292
  import fs10 from "node:fs";
1295
1293
  import os4 from "node:os";
1296
1294
  import path11 from "node:path";
@@ -1487,7 +1485,7 @@ function copyEnv(file, given = process.env) {
1487
1485
  var probeOptions = (file) => ({ cwd: os4.tmpdir(), env: copyEnv(file), windowsHide: true, shell: false });
1488
1486
  function probe(file) {
1489
1487
  const key = keyOf(file);
1490
- const run = spawnSync2(file, ["--version"], { ...probeOptions(file), stdio: ["ignore", "pipe", "pipe"], timeout: PROBE_MS, encoding: "utf8" });
1488
+ const run = spawnSync(file, ["--version"], { ...probeOptions(file), stdio: ["ignore", "pipe", "pipe"], timeout: PROBE_MS, encoding: "utf8" });
1491
1489
  const code = run.error?.code;
1492
1490
  const answer = { key, at: Date.now(), ...judge(code, run.status, run.stdout ?? "", run.stderr ?? "") };
1493
1491
  keep(file, answer);
@@ -2612,8 +2610,8 @@ function createTail(log) {
2612
2610
  // ../cli/package.json
2613
2611
  var package_default = {
2614
2612
  name: "wildcrane",
2615
- version: "0.11.17",
2616
- akbContract: 5,
2613
+ version: "0.11.19",
2614
+ akbContract: 7,
2617
2615
  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.",
2618
2616
  keywords: [
2619
2617
  "kanban",
@@ -2655,7 +2653,17 @@ var package_default = {
2655
2653
  },
2656
2654
  devDependencies: {
2657
2655
  "@types/node": "^22.20.1",
2656
+ "@types/react": "^19.0.0",
2657
+ "@types/react-dom": "^19.0.0",
2658
+ "class-variance-authority": "^0.7.1",
2659
+ clsx: "^2.1.1",
2658
2660
  esbuild: "^0.28.2",
2661
+ react: "^19.0.0",
2662
+ "react-dom": "^19.0.0",
2663
+ "react-icons": "^5.7.0",
2664
+ sucrase: "^3.35.0",
2665
+ "tailwind-merge": "^3.6.0",
2666
+ tailwindcss: "^4.0.0",
2659
2667
  typescript: "^5.9.3"
2660
2668
  },
2661
2669
  dependencies: {
@@ -3692,13 +3700,13 @@ function codexProxyEnv(env2 = process.env, platform = process.platform, read = (
3692
3700
  }
3693
3701
 
3694
3702
  // ../cli/src/lib/agent/worktree.ts
3695
- import { spawnSync as spawnSync3 } from "node:child_process";
3703
+ import { spawnSync as spawnSync2 } from "node:child_process";
3696
3704
  var MAX_OUTPUT = 64 * 1024 * 1024;
3697
3705
  var gitLimits = { timeoutMs: 3e4 };
3698
3706
  var GitTimeoutError = class extends Error {
3699
3707
  };
3700
3708
  function spawnGit(args, options) {
3701
- const out = spawnSync3("git", args, {
3709
+ const out = spawnSync2("git", args, {
3702
3710
  ...options,
3703
3711
  encoding: "utf8",
3704
3712
  stdio: ["ignore", "pipe", "pipe"],