wildcrane-runner 0.6.37 → 0.6.38

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/README.md CHANGED
@@ -57,6 +57,13 @@ Codex 使用 `wildcrane_draft_read({ path?, discussionId? })`,Claude 使用 `w
57
57
 
58
58
  `wildcrane_draft_save({ discussionId, expectedVersion, goals })` 保存全部开放目标,最多 10 个,遗漏的开放目标会丢弃,保存不会开始任务。旧 ideas 入参继续可用,缺少或同传两者均返回 bad_request。冲突返回最新 version、goals 和 ideas,供合并后重试。两个宿主的保存结果都含目标网页链接。目标从网页管理和开始。`wildcrane_status().recent[]` 提供 goals 计数及兼容 ideas 计数。
59
59
 
60
+ `wildcrane_status({ path? })` 另返回 `akb`:本插件 `akb` 的绝对路径,登录与否都有;本机未能写好时省略。不支持 MCP 说明的宿主(如 dsh)用它运行 `akb task`,无需打开讨论。
61
+
62
+ ```text
63
+ wildcrane_status({ path: "/Users/me/app" })
64
+ → { "signedIn": false, "akb": "/Users/me/.wildcrane/bin/akb/akb", "signing": null, "connections": [...] }
65
+ ```
66
+
60
67
  Runner(含启动器的更新与下载、它启动的看板命令)与其启动的 Agent 优先继承 `HTTP_PROXY`、`HTTPS_PROXY`、`ALL_PROXY` 及其小写变量。缺少这些变量时,macOS 上使用系统已启用的手动 HTTP、HTTPS、SOCKS 代理与绕过列表,每分钟及每个任务前重新读取,开关或修改代理无需重启;不执行 PAC。其他平台通过启动 Runner 的环境配置代理。无代理配置时保持直连。连接恢复后以最终执行结果收尾;可选 MCP 错误保留在日志中,不单独使任务失败。
61
68
 
62
69
  ## 共享本机设置
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.37 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.38 — 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;
package/dist/launcher.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.37 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.38 — 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;
@@ -26889,7 +26889,7 @@ function saveAlphaUpdates(value) {
26889
26889
  }
26890
26890
 
26891
26891
  // src/protocol.ts
26892
- var VERSION = true ? "0.6.37" : "0.0.0";
26892
+ var VERSION = true ? "0.6.38" : "0.0.0";
26893
26893
  var EXIT_REFUSED = 10;
26894
26894
  var EXIT_OUTDATED = 11;
26895
26895
  var EXIT_UPDATE = 12;
package/dist/plugin.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.37 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.38 — 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;
@@ -73760,7 +73760,7 @@ function machineId() {
73760
73760
  var machineName = () => os2.hostname().replace(/\.local$/, "");
73761
73761
 
73762
73762
  // src/protocol.ts
73763
- var VERSION = true ? "0.6.37" : "0.0.0";
73763
+ var VERSION = true ? "0.6.38" : "0.0.0";
73764
73764
  var AKB_VERSION = true ? "0.11.32" : "0.0.0";
73765
73765
  var EXIT_REFUSED = 10;
73766
73766
  var EXIT_OUTDATED = 11;
@@ -79384,17 +79384,18 @@ function server() {
79384
79384
  });
79385
79385
  mcp.registerTool("wildcrane_draft_save", { description: saveWhat, inputSchema: saveSchema }, save);
79386
79386
  mcp.registerTool("wildcrane_status", {
79387
- description: "WildCrane on this computer: whether the user is signed in, the projects added here with their boards (the one for `path` marked), this computer's recent discussions, which agent CLIs are ready, and `next` when the plugin needs an update, setup on this computer is unfinished, or a newer one is out.",
79387
+ description: "WildCrane on this computer: whether the user is signed in, the `akb` to run, the projects added here with their boards (the one for `path` marked), this computer's recent discussions, which agent CLIs are ready, and `next` when the plugin needs an update, setup on this computer is unfinished, or a newer one is out.",
79388
79388
  inputSchema: { path: import_zod2.z.string().optional().describe("The current working directory.") }
79389
79389
  }, async ({ path: given }, extra) => {
79390
79390
  const dir = pathOf(given, extra._meta);
79391
79391
  const now = await state(dir || os7.homedir());
79392
79392
  const found = (await connections2()).connections;
79393
- if (!now.signedIn) return text2({ signedIn: false, signing: signingState(), connections: found });
79393
+ const akb = akbFile ? { akb: akbFile } : {};
79394
+ if (!now.signedIn) return text2({ signedIn: false, ...akb, signing: signingState(), connections: found });
79394
79395
  const recent = (await chats()).chats.map((c) => ({ title: c.title, goals: c.goals, ideas: c.goals, at: c.at, dir: c.dir, url: discussionUrl(c.discussion) }));
79395
79396
  const { next: _, ...rest } = now;
79396
79397
  const next = nextOf(host, runnerState, now.plugin, { connections: found, folder: "folder" in now ? now.folder : null, refused: "refused" in now ? now.refused : void 0, web: now.web });
79397
- return text2({ ...rest, ...next ? { next } : {}, dir: dir ? home3(dir) : null, recent, connections: found });
79398
+ return text2({ ...rest, ...akb, ...next ? { next } : {}, dir: dir ? home3(dir) : null, recent, connections: found });
79398
79399
  });
79399
79400
  mcp.registerTool("wildcrane_sign_in", {
79400
79401
  description: "Sign in to WildCrane in the browser. When goal commands report signed out, call this and retry after sign-in. Answers at once when already signed in.",
package/dist/runner.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.37 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.38 — 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;
@@ -111400,7 +111400,7 @@ function status(line) {
111400
111400
  }
111401
111401
 
111402
111402
  // src/protocol.ts
111403
- var VERSION = true ? "0.6.37" : "0.0.0";
111403
+ var VERSION = true ? "0.6.38" : "0.0.0";
111404
111404
  var AKB_VERSION = true ? "0.11.32" : "0.0.0";
111405
111405
  var AKB_CONTRACT = true ? 8 : 0;
111406
111406
  var EXIT_REFUSED = 10;
package/dist/settings.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.37 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.38 — 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;
@@ -26966,7 +26966,7 @@ function alive(pid) {
26966
26966
  var sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
26967
26967
 
26968
26968
  // src/protocol.ts
26969
- var VERSION = true ? "0.6.37" : "0.0.0";
26969
+ var VERSION = true ? "0.6.38" : "0.0.0";
26970
26970
 
26971
26971
  // src/api.ts
26972
26972
  var RUNTIMES = ["claude-code", "codex", "cursor", "opencode", "kimi", "dsh", "zcode", "grok"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildcrane-runner",
3
- "version": "0.6.37",
3
+ "version": "0.6.38",
4
4
  "description": "WildCrane's Local Runner — connects this computer to WildCrane and runs its jobs on your local Claude Code, Codex, OpenCode or Cursor.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://wildcrane.ai/",