wildcrane-runner 0.6.42 → 0.6.43

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,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // ai4kanban 0.11.36 — built by runner/scripts/build.mjs. Do not edit.
2
+ // ai4kanban 0.11.37 — built by runner/scripts/build.mjs. Do not edit.
3
3
  import { createRequire as __ai4kanbanRequire } from 'node:module'
4
4
  const require = __ai4kanbanRequire(import.meta.url)
5
5
  var __create = Object.create;
@@ -4207,8 +4207,8 @@ var init_package = __esm({
4207
4207
  "../cli/package.json"() {
4208
4208
  package_default = {
4209
4209
  name: "wildcrane",
4210
- version: "0.11.36",
4211
- akbContract: 8,
4210
+ version: "0.11.37",
4211
+ akbContract: 9,
4212
4212
  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.",
4213
4213
  keywords: [
4214
4214
  "kanban",
@@ -10904,9 +10904,9 @@ var init_goal_cloud = __esm({
10904
10904
  }
10905
10905
  });
10906
10906
 
10907
- // ../../../../cli/node_modules/commander/lib/error.js
10907
+ // ../cli/node_modules/commander/lib/error.js
10908
10908
  var require_error = __commonJS({
10909
- "../../../../cli/node_modules/commander/lib/error.js"(exports) {
10909
+ "../cli/node_modules/commander/lib/error.js"(exports) {
10910
10910
  var CommanderError2 = class extends Error {
10911
10911
  /**
10912
10912
  * Constructs the CommanderError class
@@ -10939,9 +10939,9 @@ var require_error = __commonJS({
10939
10939
  }
10940
10940
  });
10941
10941
 
10942
- // ../../../../cli/node_modules/commander/lib/argument.js
10942
+ // ../cli/node_modules/commander/lib/argument.js
10943
10943
  var require_argument = __commonJS({
10944
- "../../../../cli/node_modules/commander/lib/argument.js"(exports) {
10944
+ "../cli/node_modules/commander/lib/argument.js"(exports) {
10945
10945
  var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
10946
10946
  var Argument2 = class {
10947
10947
  /**
@@ -11066,9 +11066,9 @@ var require_argument = __commonJS({
11066
11066
  }
11067
11067
  });
11068
11068
 
11069
- // ../../../../cli/node_modules/commander/lib/help.js
11069
+ // ../cli/node_modules/commander/lib/help.js
11070
11070
  var require_help = __commonJS({
11071
- "../../../../cli/node_modules/commander/lib/help.js"(exports) {
11071
+ "../cli/node_modules/commander/lib/help.js"(exports) {
11072
11072
  var { humanReadableArgName } = require_argument();
11073
11073
  var Help2 = class {
11074
11074
  constructor() {
@@ -11635,9 +11635,9 @@ ${itemIndentStr}`);
11635
11635
  }
11636
11636
  });
11637
11637
 
11638
- // ../../../../cli/node_modules/commander/lib/option.js
11638
+ // ../cli/node_modules/commander/lib/option.js
11639
11639
  var require_option = __commonJS({
11640
- "../../../../cli/node_modules/commander/lib/option.js"(exports) {
11640
+ "../cli/node_modules/commander/lib/option.js"(exports) {
11641
11641
  var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
11642
11642
  var Option2 = class {
11643
11643
  /**
@@ -11936,9 +11936,9 @@ var require_option = __commonJS({
11936
11936
  }
11937
11937
  });
11938
11938
 
11939
- // ../../../../cli/node_modules/commander/lib/suggestSimilar.js
11939
+ // ../cli/node_modules/commander/lib/suggestSimilar.js
11940
11940
  var require_suggestSimilar = __commonJS({
11941
- "../../../../cli/node_modules/commander/lib/suggestSimilar.js"(exports) {
11941
+ "../cli/node_modules/commander/lib/suggestSimilar.js"(exports) {
11942
11942
  var maxDistance = 3;
11943
11943
  function editDistance2(a, b) {
11944
11944
  if (Math.abs(a.length - b.length) > maxDistance)
@@ -12016,9 +12016,9 @@ var require_suggestSimilar = __commonJS({
12016
12016
  }
12017
12017
  });
12018
12018
 
12019
- // ../../../../cli/node_modules/commander/lib/command.js
12019
+ // ../cli/node_modules/commander/lib/command.js
12020
12020
  var require_command = __commonJS({
12021
- "../../../../cli/node_modules/commander/lib/command.js"(exports) {
12021
+ "../cli/node_modules/commander/lib/command.js"(exports) {
12022
12022
  var EventEmitter = __require("node:events").EventEmitter;
12023
12023
  var childProcess = __require("node:child_process");
12024
12024
  var path85 = __require("node:path");
@@ -14175,9 +14175,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
14175
14175
  }
14176
14176
  });
14177
14177
 
14178
- // ../../../../cli/node_modules/commander/index.js
14178
+ // ../cli/node_modules/commander/index.js
14179
14179
  var require_commander = __commonJS({
14180
- "../../../../cli/node_modules/commander/index.js"(exports) {
14180
+ "../cli/node_modules/commander/index.js"(exports) {
14181
14181
  var { Argument: Argument2 } = require_argument();
14182
14182
  var { Command: Command2 } = require_command();
14183
14183
  var { CommanderError: CommanderError2, InvalidArgumentError: InvalidArgumentError2 } = require_error();
@@ -14197,10 +14197,10 @@ var require_commander = __commonJS({
14197
14197
  }
14198
14198
  });
14199
14199
 
14200
- // ../../../../cli/node_modules/commander/esm.mjs
14200
+ // ../cli/node_modules/commander/esm.mjs
14201
14201
  var import_index, program, createCommand, createArgument, createOption, CommanderError, InvalidArgumentError, InvalidOptionArgumentError, Command, Argument, Option, Help;
14202
14202
  var init_esm = __esm({
14203
- "../../../../cli/node_modules/commander/esm.mjs"() {
14203
+ "../cli/node_modules/commander/esm.mjs"() {
14204
14204
  import_index = __toESM(require_commander(), 1);
14205
14205
  ({
14206
14206
  program,
@@ -26545,6 +26545,9 @@ function declareAgent(program2, cli) {
26545
26545
  ])
26546
26546
  );
26547
26547
  });
26548
+ withShared(agent.command("picks", { hidden: true })).argument("<json>", "runtime picks by workflow agent").action(async function(json) {
26549
+ await onBoard2(this, cli, () => cmdAgent(["picks", json]));
26550
+ });
26548
26551
  word("run").argument("<workflow>", "a workflow id, e.g. coding").argument("<agent>", "one of the agents it schedules").summary("run a workflow's scheduled agent once, now").addOption(new Option("-p, --print", "say what to do and start nothing").conflicts("follow")).option("-f, --follow", "watch the log instead of returning").option("--events", "with --follow: print its structured events, one JSON object per line").action(async function(workflow, name) {
26549
26552
  await onBoard2(this, cli, (p) => cmdRunScheduled(workflow, name, this.opts(), p));
26550
26553
  });
@@ -1 +1 @@
1
- {"name":"wildcrane","version":"0.11.36","akbContract":8,"type":"module","private":true}
1
+ {"name":"wildcrane","version":"0.11.37","akbContract":9,"type":"module","private":true}