wildcrane-runner 0.6.24 → 0.6.26

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/launcher.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.24 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.26 — 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;
@@ -26720,14 +26720,22 @@ function withSystemProxy(env2 = process.env, platform = process.platform, read =
26720
26720
 
26721
26721
  // src/proxy.ts
26722
26722
  var LOOPBACK = "localhost,127.0.0.1,[::1]";
26723
+ var HOST_PROXY_ENV = "WILDCRANE_HOST_PROXY";
26723
26724
  var HOST = null;
26724
26725
  var current = {};
26725
26726
  var applied = null;
26726
- function followProxy(read) {
26727
- HOST ??= Object.fromEntries(
26728
- [...PROXY_KEYS, "NO_PROXY", "no_proxy"].flatMap((key2) => process.env[key2] === void 0 ? [] : [[key2, process.env[key2]]])
26727
+ function hostProxy() {
26728
+ if (HOST) return HOST;
26729
+ try {
26730
+ if (process.env[HOST_PROXY_ENV]) return HOST = JSON.parse(process.env[HOST_PROXY_ENV]);
26731
+ } catch {
26732
+ }
26733
+ return HOST = Object.fromEntries(
26734
+ [...PROXY_KEYS, "NO_PROXY", "no_proxy"].flatMap((key) => process.env[key] === void 0 ? [] : [[key, process.env[key]]])
26729
26735
  );
26730
- current = read ? withSystemProxy(HOST, process.platform, read) : withSystemProxy(HOST);
26736
+ }
26737
+ function followProxy(read) {
26738
+ current = read ? withSystemProxy(hostProxy(), process.platform, read) : withSystemProxy(hostProxy());
26731
26739
  const httpProxy = current.HTTP_PROXY || current.http_proxy || current.ALL_PROXY || current.all_proxy || void 0;
26732
26740
  const route = {
26733
26741
  httpProxy,
@@ -26856,7 +26864,7 @@ function status(line) {
26856
26864
  }
26857
26865
 
26858
26866
  // src/protocol.ts
26859
- var VERSION = true ? "0.6.24" : "0.0.0";
26867
+ var VERSION = true ? "0.6.26" : "0.0.0";
26860
26868
  var EXIT_REFUSED = 10;
26861
26869
  var EXIT_OUTDATED = 11;
26862
26870
  var EXIT_UPDATE = 12;
@@ -29358,7 +29366,7 @@ function createTail(log) {
29358
29366
  // ../cli/package.json
29359
29367
  var package_default = {
29360
29368
  name: "wildcrane",
29361
- version: "0.11.21",
29369
+ version: "0.11.23",
29362
29370
  akbContract: 7,
29363
29371
  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.",
29364
29372
  keywords: [