wildcrane 0.11.40 → 0.11.41

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 +14 -4
  2. package/package.json +1 -1
package/dist/kanban.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // ai4kanban 0.11.40 — built from the CLI's TypeScript sources by cli/scripts/build.mjs.
2
+ // ai4kanban 0.11.41 — 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,7 +4208,7 @@ var init_package = __esm({
4208
4208
  "package.json"() {
4209
4209
  package_default = {
4210
4210
  name: "wildcrane",
4211
- version: "0.11.40",
4211
+ version: "0.11.41",
4212
4212
  akbContract: 11,
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: [
@@ -9194,6 +9194,16 @@ var init_roles = __esm({
9194
9194
  }
9195
9195
  });
9196
9196
 
9197
+ // src/lib/shared/file-limits.ts
9198
+ var BOARD_FILE_LIMIT, ASSET_FILE_LIMIT;
9199
+ var init_file_limits = __esm({
9200
+ "src/lib/shared/file-limits.ts"() {
9201
+ "use strict";
9202
+ BOARD_FILE_LIMIT = 10 * 1024 * 1024;
9203
+ ASSET_FILE_LIMIT = 100 * 1024 * 1024;
9204
+ }
9205
+ });
9206
+
9197
9207
  // src/lib/shared/board-files.ts
9198
9208
  function studioRenamed(path86, content) {
9199
9209
  const to = path86.replace(/^(rules\/)?workflows\//, "$1studios/").replace(/^(studios\/[^/]+)\/WORKFLOW\.md$/, "$1/STUDIO.md");
@@ -9205,11 +9215,11 @@ function studioRenamed(path86, content) {
9205
9215
  const renamed = front.replace(/^workflow:[ \t]*(.*)$/m, (_, id) => `studio: ${id === "workflow-builder" ? "studio-builder" : id}`);
9206
9216
  return { path: to, content: renamed + body };
9207
9217
  }
9208
- var BOARD_FILE_LIMIT, cardSlug, studioFolder, studioName, draftFolder;
9218
+ var cardSlug, studioFolder, studioName, draftFolder;
9209
9219
  var init_board_files = __esm({
9210
9220
  "src/lib/shared/board-files.ts"() {
9211
9221
  "use strict";
9212
- BOARD_FILE_LIMIT = 256 * 1024;
9222
+ init_file_limits();
9213
9223
  cardSlug = (task) => task.toLowerCase().replace(/_/g, "-");
9214
9224
  studioFolder = (id) => id.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
9215
9225
  studioName = (id) => id.startsWith("wf_builtin_") ? id.slice("wf_builtin_".length).replace(/_/g, "-") : studioFolder(id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildcrane",
3
- "version": "0.11.40",
3
+ "version": "0.11.41",
4
4
  "akbContract": 11,
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": [