wildcrane-runner 0.6.107 → 0.6.109

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.107 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.109 — 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;
@@ -41128,8 +41128,8 @@ function saveAlphaUpdates(value) {
41128
41128
  }
41129
41129
 
41130
41130
  // src/protocol.ts
41131
- var VERSION = true ? "0.6.107" : "0.0.0";
41132
- var AKB_VERSION = true ? "0.11.87" : "0.0.0";
41131
+ var VERSION = true ? "0.6.109" : "0.0.0";
41132
+ var AKB_VERSION = true ? "0.11.89" : "0.0.0";
41133
41133
  var EXIT_REFUSED = 10;
41134
41134
  var EXIT_OUTDATED = 11;
41135
41135
  var EXIT_UPDATE = 12;
@@ -41448,6 +41448,8 @@ var STUDIO_SCHEMA = {
41448
41448
  name: { type: "string", minLength: 1, pattern: "\\S" },
41449
41449
  names: titles,
41450
41450
  description: { type: "string" },
41451
+ summaries: titles,
41452
+ entrypoints: { type: "array", minItems: 1, maxItems: 10, uniqueItems: true, items: { type: "string", pattern: PREVIEW_ID.source } },
41451
41453
  needsArtifact: { type: "boolean" },
41452
41454
  icon,
41453
41455
  previews: { type: "object", propertyNames: { pattern: PREVIEW_ID.source }, additionalProperties: {
@@ -41552,6 +41554,8 @@ function parseStudioFile(id2, source, from, { requirePreviewCopy = false, requir
41552
41554
  ...raw.names ? { names: raw.names } : {},
41553
41555
  description: raw.description ?? "",
41554
41556
  needsArtifact: raw.needsArtifact ?? false,
41557
+ ...raw.summaries ? { summaries: raw.summaries } : {},
41558
+ ...raw.entrypoints ? { entrypoints: raw.entrypoints } : {},
41555
41559
  ...raw.icon ? { icon: raw.icon } : {},
41556
41560
  previews: parsed.blocks.map((b) => ({ id: b.id, instructions: b.instructions, ...map2[b.id] })),
41557
41561
  rules: rules.trim()
@@ -42170,6 +42174,7 @@ function boardLockName(kanban, root2) {
42170
42174
  const name = from && !from.startsWith("..") ? from : path11.basename(kanban);
42171
42175
  return `${name.split(path11.sep).join("-")}.lock`;
42172
42176
  }
42177
+ var shellWord = (value) => /^[\w./:@=-]+$/.test(value) ? value : `"${value.replace(/["`$\\]/g, "\\$&")}"`;
42173
42178
  var BOARD_FLAG = "";
42174
42179
  function setBoard(kanban, root2, flag) {
42175
42180
  REPO_ROOT = path11.resolve(root2);
@@ -42215,7 +42220,7 @@ function setBoard(kanban, root2, flag) {
42215
42220
  }
42216
42221
  function setBoardRoot(root2, named = false) {
42217
42222
  const project = path11.resolve(root2);
42218
- return setBoard(path11.join(project, "docs", "kanban"), project, named ? ` --dir ${project}` : "");
42223
+ return setBoard(path11.join(project, "docs", "kanban"), project, named ? ` --dir ${shellWord(project)}` : "");
42219
42224
  }
42220
42225
  setBoardRoot(process.cwd());
42221
42226
 
@@ -64605,8 +64610,9 @@ function createTail(log) {
64605
64610
  // ../cli/package.json
64606
64611
  var package_default = {
64607
64612
  name: "wildcrane",
64608
- version: "0.11.87",
64613
+ version: "0.11.89",
64609
64614
  akbContract: 29,
64615
+ canonicalCommands: true,
64610
64616
  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.",
64611
64617
  keywords: [
64612
64618
  "kanban",
@@ -68383,6 +68389,7 @@ var bundledAkb = (dist = HERE) => ({
68383
68389
  command: process.execPath,
68384
68390
  args: akbArgs(path31.join(dist, "akb", "bin", "ai4kanban.mjs"), dist),
68385
68391
  version: AKB_VERSION,
68392
+ canonicalCommands: true,
68386
68393
  shim: path31.join(akbHome(), BUNDLED_SHIM)
68387
68394
  });
68388
68395
  var quote = (s) => /^[\w./:@=-]+$/.test(s) ? s : `"${s}"`;
package/dist/plugin.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // wildcrane-runner 0.6.107 — built by runner/scripts/build.mjs. Do not edit.
1
+ // wildcrane-runner 0.6.109 — 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;
@@ -110291,8 +110291,9 @@ function createTail(log) {
110291
110291
  // ../cli/package.json
110292
110292
  var package_default = {
110293
110293
  name: "wildcrane",
110294
- version: "0.11.87",
110294
+ version: "0.11.89",
110295
110295
  akbContract: 29,
110296
+ canonicalCommands: true,
110296
110297
  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.",
110297
110298
  keywords: [
110298
110299
  "kanban",
@@ -112124,6 +112125,7 @@ function boardLockName(kanban, root2) {
112124
112125
  const name = from && !from.startsWith("..") ? from : path13.basename(kanban);
112125
112126
  return `${name.split(path13.sep).join("-")}.lock`;
112126
112127
  }
112128
+ var shellWord = (value) => /^[\w./:@=-]+$/.test(value) ? value : `"${value.replace(/["`$\\]/g, "\\$&")}"`;
112127
112129
  var BOARD_FLAG = "";
112128
112130
  function setBoard(kanban, root2, flag) {
112129
112131
  REPO_ROOT = path13.resolve(root2);
@@ -112169,7 +112171,7 @@ function setBoard(kanban, root2, flag) {
112169
112171
  }
112170
112172
  function setBoardRoot(root2, named = false) {
112171
112173
  const project = path13.resolve(root2);
112172
- return setBoard(path13.join(project, "docs", "kanban"), project, named ? ` --dir ${project}` : "");
112174
+ return setBoard(path13.join(project, "docs", "kanban"), project, named ? ` --dir ${shellWord(project)}` : "");
112173
112175
  }
112174
112176
  setBoardRoot(process.cwd());
112175
112177
 
@@ -113352,8 +113354,8 @@ function machineId() {
113352
113354
  var machineName = () => os4.hostname().replace(/\.local$/, "");
113353
113355
 
113354
113356
  // src/protocol.ts
113355
- var VERSION = true ? "0.6.107" : "0.0.0";
113356
- var AKB_VERSION = true ? "0.11.87" : "0.0.0";
113357
+ var VERSION = true ? "0.6.109" : "0.0.0";
113358
+ var AKB_VERSION = true ? "0.11.89" : "0.0.0";
113357
113359
  var EXIT_REFUSED = 10;
113358
113360
  var EXIT_OUTDATED = 11;
113359
113361
  var EXIT_UPDATE = 12;
@@ -113370,6 +113372,7 @@ var bundledAkb = (dist = HERE) => ({
113370
113372
  command: process.execPath,
113371
113373
  args: akbArgs(path18.join(dist, "akb", "bin", "ai4kanban.mjs"), dist),
113372
113374
  version: AKB_VERSION,
113375
+ canonicalCommands: true,
113373
113376
  shim: path18.join(akbHome(), BUNDLED_SHIM)
113374
113377
  });
113375
113378
  var quote = (s) => /^[\w./:@=-]+$/.test(s) ? s : `"${s}"`;
@@ -113631,6 +113634,8 @@ var STUDIO_SCHEMA = {
113631
113634
  name: { type: "string", minLength: 1, pattern: "\\S" },
113632
113635
  names: titles,
113633
113636
  description: { type: "string" },
113637
+ summaries: titles,
113638
+ entrypoints: { type: "array", minItems: 1, maxItems: 10, uniqueItems: true, items: { type: "string", pattern: PREVIEW_ID.source } },
113634
113639
  needsArtifact: { type: "boolean" },
113635
113640
  icon,
113636
113641
  previews: { type: "object", propertyNames: { pattern: PREVIEW_ID.source }, additionalProperties: {
@@ -113735,6 +113740,8 @@ function parseStudioFile(id2, source, from, { requirePreviewCopy = false, requir
113735
113740
  ...raw.names ? { names: raw.names } : {},
113736
113741
  description: raw.description ?? "",
113737
113742
  needsArtifact: raw.needsArtifact ?? false,
113743
+ ...raw.summaries ? { summaries: raw.summaries } : {},
113744
+ ...raw.entrypoints ? { entrypoints: raw.entrypoints } : {},
113738
113745
  ...raw.icon ? { icon: raw.icon } : {},
113739
113746
  previews: parsed.blocks.map((b) => ({ id: b.id, instructions: b.instructions, ...map2[b.id] })),
113740
113747
  rules: rules.trim()