wildcrane 0.11.36 → 0.11.37

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.
Files changed (2) hide show
  1. package/dist/kanban.mjs +22 -19
  2. package/package.json +2 -2
package/dist/kanban.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // ai4kanban 0.11.36 — built from the CLI's TypeScript sources by cli/scripts/build.mjs.
2
+ // ai4kanban 0.11.37 — built from the CLI's TypeScript sources by cli/scripts/build.mjs.
3
3
  // Do not edit: every change belongs in cli/src/, and a build overwrites this file.
4
4
  import { createRequire as __ai4kanbanRequire } from 'node:module'
5
5
  const require = __ai4kanbanRequire(import.meta.url)
@@ -4208,8 +4208,8 @@ var init_package = __esm({
4208
4208
  "package.json"() {
4209
4209
  package_default = {
4210
4210
  name: "wildcrane",
4211
- version: "0.11.36",
4212
- akbContract: 8,
4211
+ version: "0.11.37",
4212
+ akbContract: 9,
4213
4213
  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.",
4214
4214
  keywords: [
4215
4215
  "kanban",
@@ -10905,9 +10905,9 @@ var init_goal_cloud = __esm({
10905
10905
  }
10906
10906
  });
10907
10907
 
10908
- // ../../../../cli/node_modules/commander/lib/error.js
10908
+ // node_modules/commander/lib/error.js
10909
10909
  var require_error = __commonJS({
10910
- "../../../../cli/node_modules/commander/lib/error.js"(exports) {
10910
+ "node_modules/commander/lib/error.js"(exports) {
10911
10911
  var CommanderError2 = class extends Error {
10912
10912
  /**
10913
10913
  * Constructs the CommanderError class
@@ -10940,9 +10940,9 @@ var require_error = __commonJS({
10940
10940
  }
10941
10941
  });
10942
10942
 
10943
- // ../../../../cli/node_modules/commander/lib/argument.js
10943
+ // node_modules/commander/lib/argument.js
10944
10944
  var require_argument = __commonJS({
10945
- "../../../../cli/node_modules/commander/lib/argument.js"(exports) {
10945
+ "node_modules/commander/lib/argument.js"(exports) {
10946
10946
  var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
10947
10947
  var Argument2 = class {
10948
10948
  /**
@@ -11067,9 +11067,9 @@ var require_argument = __commonJS({
11067
11067
  }
11068
11068
  });
11069
11069
 
11070
- // ../../../../cli/node_modules/commander/lib/help.js
11070
+ // node_modules/commander/lib/help.js
11071
11071
  var require_help = __commonJS({
11072
- "../../../../cli/node_modules/commander/lib/help.js"(exports) {
11072
+ "node_modules/commander/lib/help.js"(exports) {
11073
11073
  var { humanReadableArgName } = require_argument();
11074
11074
  var Help2 = class {
11075
11075
  constructor() {
@@ -11636,9 +11636,9 @@ ${itemIndentStr}`);
11636
11636
  }
11637
11637
  });
11638
11638
 
11639
- // ../../../../cli/node_modules/commander/lib/option.js
11639
+ // node_modules/commander/lib/option.js
11640
11640
  var require_option = __commonJS({
11641
- "../../../../cli/node_modules/commander/lib/option.js"(exports) {
11641
+ "node_modules/commander/lib/option.js"(exports) {
11642
11642
  var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
11643
11643
  var Option2 = class {
11644
11644
  /**
@@ -11937,9 +11937,9 @@ var require_option = __commonJS({
11937
11937
  }
11938
11938
  });
11939
11939
 
11940
- // ../../../../cli/node_modules/commander/lib/suggestSimilar.js
11940
+ // node_modules/commander/lib/suggestSimilar.js
11941
11941
  var require_suggestSimilar = __commonJS({
11942
- "../../../../cli/node_modules/commander/lib/suggestSimilar.js"(exports) {
11942
+ "node_modules/commander/lib/suggestSimilar.js"(exports) {
11943
11943
  var maxDistance = 3;
11944
11944
  function editDistance2(a, b) {
11945
11945
  if (Math.abs(a.length - b.length) > maxDistance)
@@ -12017,9 +12017,9 @@ var require_suggestSimilar = __commonJS({
12017
12017
  }
12018
12018
  });
12019
12019
 
12020
- // ../../../../cli/node_modules/commander/lib/command.js
12020
+ // node_modules/commander/lib/command.js
12021
12021
  var require_command = __commonJS({
12022
- "../../../../cli/node_modules/commander/lib/command.js"(exports) {
12022
+ "node_modules/commander/lib/command.js"(exports) {
12023
12023
  var EventEmitter = __require("node:events").EventEmitter;
12024
12024
  var childProcess = __require("node:child_process");
12025
12025
  var path85 = __require("node:path");
@@ -14176,9 +14176,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
14176
14176
  }
14177
14177
  });
14178
14178
 
14179
- // ../../../../cli/node_modules/commander/index.js
14179
+ // node_modules/commander/index.js
14180
14180
  var require_commander = __commonJS({
14181
- "../../../../cli/node_modules/commander/index.js"(exports) {
14181
+ "node_modules/commander/index.js"(exports) {
14182
14182
  var { Argument: Argument2 } = require_argument();
14183
14183
  var { Command: Command2 } = require_command();
14184
14184
  var { CommanderError: CommanderError2, InvalidArgumentError: InvalidArgumentError2 } = require_error();
@@ -14198,10 +14198,10 @@ var require_commander = __commonJS({
14198
14198
  }
14199
14199
  });
14200
14200
 
14201
- // ../../../../cli/node_modules/commander/esm.mjs
14201
+ // node_modules/commander/esm.mjs
14202
14202
  var import_index, program, createCommand, createArgument, createOption, CommanderError, InvalidArgumentError, InvalidOptionArgumentError, Command, Argument, Option, Help;
14203
14203
  var init_esm = __esm({
14204
- "../../../../cli/node_modules/commander/esm.mjs"() {
14204
+ "node_modules/commander/esm.mjs"() {
14205
14205
  import_index = __toESM(require_commander(), 1);
14206
14206
  ({
14207
14207
  program,
@@ -26546,6 +26546,9 @@ function declareAgent(program2, cli) {
26546
26546
  ])
26547
26547
  );
26548
26548
  });
26549
+ withShared(agent.command("picks", { hidden: true })).argument("<json>", "runtime picks by workflow agent").action(async function(json) {
26550
+ await onBoard2(this, cli, () => cmdAgent(["picks", json]));
26551
+ });
26549
26552
  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) {
26550
26553
  await onBoard2(this, cli, (p) => cmdRunScheduled(workflow, name, this.opts(), p));
26551
26554
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wildcrane",
3
- "version": "0.11.36",
4
- "akbContract": 8,
3
+ "version": "0.11.37",
4
+ "akbContract": 9,
5
5
  "description": "WildCrane's `akb` command — scaffold the Markdown board under docs/kanban/, put an agent on a card, and carry the flows the agent works by.",
6
6
  "keywords": [
7
7
  "kanban",