wildcrane 0.11.24 → 0.11.25
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/kanban.mjs +9 -5
- package/package.json +1 -1
package/dist/kanban.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// ai4kanban 0.11.
|
|
2
|
+
// ai4kanban 0.11.25 — 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)
|
|
@@ -5759,7 +5759,7 @@ var init_package = __esm({
|
|
|
5759
5759
|
"package.json"() {
|
|
5760
5760
|
package_default = {
|
|
5761
5761
|
name: "wildcrane",
|
|
5762
|
-
version: "0.11.
|
|
5762
|
+
version: "0.11.25",
|
|
5763
5763
|
akbContract: 7,
|
|
5764
5764
|
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.",
|
|
5765
5765
|
keywords: [
|
|
@@ -6878,6 +6878,7 @@ function checkWorkflowFiles(value, official = false) {
|
|
|
6878
6878
|
if (problem) return fail(file, problem);
|
|
6879
6879
|
continue;
|
|
6880
6880
|
}
|
|
6881
|
+
if (official && isAboutFile(file)) continue;
|
|
6881
6882
|
if (official && file.startsWith("skills/")) {
|
|
6882
6883
|
if (!folderPath(file, "skills")) return fail(file, "is not inside skills/<name>/");
|
|
6883
6884
|
skills.add(file.split("/")[1]);
|
|
@@ -6916,7 +6917,7 @@ function checkWorkflowFiles(value, official = false) {
|
|
|
6916
6917
|
}
|
|
6917
6918
|
return { ok: true, def, files: value };
|
|
6918
6919
|
}
|
|
6919
|
-
var WORKFLOW_FILE, MCP_FILE, KB, FILE_LIMITS, LAND_ROLES, landsOf, SEGMENT, bytes;
|
|
6920
|
+
var WORKFLOW_FILE, MCP_FILE, KB, FILE_LIMITS, LAND_ROLES, landsOf, SEGMENT, isAboutFile, bytes;
|
|
6920
6921
|
var init_workflow_files = __esm({
|
|
6921
6922
|
"../cloud/src/v1/workflow-files.ts"() {
|
|
6922
6923
|
"use strict";
|
|
@@ -6930,6 +6931,7 @@ var init_workflow_files = __esm({
|
|
|
6930
6931
|
LAND_ROLES = ["builder"];
|
|
6931
6932
|
landsOf = (def) => ({ lands: def.land.some((h3) => !h3.off) });
|
|
6932
6933
|
SEGMENT = /^[\w.-]+$/;
|
|
6934
|
+
isAboutFile = (file) => /^ABOUT(\.[a-z]{2})?\.md$/.test(file) || /^screenshots\/[\w.-]+\.(png|jpe?g|webp)$/.test(file);
|
|
6933
6935
|
bytes = (text5) => new TextEncoder().encode(text5).length;
|
|
6934
6936
|
}
|
|
6935
6937
|
});
|
|
@@ -6960,7 +6962,8 @@ function packOfficial(root2 = OFFICIAL, loose = false) {
|
|
|
6960
6962
|
const dir = path21.join(workflowsDir, folder);
|
|
6961
6963
|
const files2 = {};
|
|
6962
6964
|
for (const f2 of filesOf(dir).sort()) {
|
|
6963
|
-
if (f2 === WORKFLOW_FILE || f2 === MCP_FILE || f2.startsWith("skills/")) files2[f2] = fs20.readFileSync(path21.join(dir, f2), "utf8");
|
|
6965
|
+
if (f2 === WORKFLOW_FILE || f2 === MCP_FILE || f2.startsWith("skills/") || /^ABOUT(\.[a-z]{2})?\.md$/.test(f2)) files2[f2] = fs20.readFileSync(path21.join(dir, f2), "utf8");
|
|
6966
|
+
else if (isAboutFile(f2)) files2[f2] = `data:${MIME[path21.extname(f2)]};base64,${fs20.readFileSync(path21.join(dir, f2)).toString("base64")}`;
|
|
6964
6967
|
}
|
|
6965
6968
|
const read5 = checkWorkflowFiles({ [WORKFLOW_FILE]: files2[WORKFLOW_FILE], ...Object.fromEntries(
|
|
6966
6969
|
Object.entries(agentFiles).flatMap(([name, own]) => Object.entries(own).map(([f2, t]) => [`agents/${name}/${f2}`, t]))
|
|
@@ -6987,13 +6990,14 @@ function packOfficial(root2 = OFFICIAL, loose = false) {
|
|
|
6987
6990
|
};
|
|
6988
6991
|
});
|
|
6989
6992
|
}
|
|
6990
|
-
var OFFICIAL, dirs, officialId, hashOf;
|
|
6993
|
+
var OFFICIAL, MIME, dirs, officialId, hashOf;
|
|
6991
6994
|
var init_pack = __esm({
|
|
6992
6995
|
"../official/pack.ts"() {
|
|
6993
6996
|
init_parse();
|
|
6994
6997
|
init_workflow_def();
|
|
6995
6998
|
init_workflow_files();
|
|
6996
6999
|
OFFICIAL = path21.dirname(fileURLToPath(import.meta.url));
|
|
7000
|
+
MIME = { ".png": "image/png", ".jpg": "image/jpeg", ".jpeg": "image/jpeg", ".webp": "image/webp" };
|
|
6997
7001
|
dirs = (dir) => fs20.readdirSync(dir, { withFileTypes: true }).filter((e2) => e2.isDirectory()).map((e2) => e2.name).sort();
|
|
6998
7002
|
officialId = (folder) => `wf_builtin_${folder.replace(/-/g, "_")}`;
|
|
6999
7003
|
hashOf = (files2) => crypto4.createHash("sha256").update(JSON.stringify(Object.entries(files2).sort(([a2], [b2]) => a2 < b2 ? -1 : 1))).digest("hex");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildcrane",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.25",
|
|
4
4
|
"akbContract": 7,
|
|
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": [
|