wildcrane 0.11.28 → 0.11.29
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 +21 -12
- 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.29 — 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)
|
|
@@ -3244,7 +3244,7 @@ var init_package = __esm({
|
|
|
3244
3244
|
"package.json"() {
|
|
3245
3245
|
package_default = {
|
|
3246
3246
|
name: "wildcrane",
|
|
3247
|
-
version: "0.11.
|
|
3247
|
+
version: "0.11.29",
|
|
3248
3248
|
akbContract: 7,
|
|
3249
3249
|
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.",
|
|
3250
3250
|
keywords: [
|
|
@@ -15218,6 +15218,14 @@ var init_Workflow = __esm({
|
|
|
15218
15218
|
}
|
|
15219
15219
|
});
|
|
15220
15220
|
|
|
15221
|
+
// src/components/shared.md
|
|
15222
|
+
var shared_default;
|
|
15223
|
+
var init_shared = __esm({
|
|
15224
|
+
"src/components/shared.md"() {
|
|
15225
|
+
shared_default = "Tags draw only in the card body; in any other Markdown file, show pictures as plain Markdown images with paths relative to that file.\n";
|
|
15226
|
+
}
|
|
15227
|
+
});
|
|
15228
|
+
|
|
15221
15229
|
// src/lib/components.ts
|
|
15222
15230
|
function agentComponents(names3, documents = DOCUMENTS) {
|
|
15223
15231
|
const docs = /* @__PURE__ */ new Map();
|
|
@@ -15252,12 +15260,13 @@ var init_components = __esm({
|
|
|
15252
15260
|
init_Compare();
|
|
15253
15261
|
init_Storyboard();
|
|
15254
15262
|
init_Workflow();
|
|
15263
|
+
init_shared();
|
|
15255
15264
|
init_agents();
|
|
15256
15265
|
init_io();
|
|
15257
15266
|
init_paths();
|
|
15258
15267
|
init_workflows();
|
|
15259
15268
|
DOCUMENTS = { Asset: Asset_default, Compare: Compare_default, Storyboard: Storyboard_default, Workflow: Workflow_default };
|
|
15260
|
-
componentDocsText = (docs) => docs.map((doc) => doc.text.trim()).join("\n\n");
|
|
15269
|
+
componentDocsText = (docs) => docs.length ? [shared_default, ...docs.map((doc) => doc.text)].map((text5) => text5.trim()).join("\n\n") : "";
|
|
15261
15270
|
}
|
|
15262
15271
|
});
|
|
15263
15272
|
|
|
@@ -21482,7 +21491,7 @@ function ordered(into) {
|
|
|
21482
21491
|
};
|
|
21483
21492
|
}
|
|
21484
21493
|
var HELP_WIDTH, collect2;
|
|
21485
|
-
var
|
|
21494
|
+
var init_shared2 = __esm({
|
|
21486
21495
|
"src/lib/cli/shared.ts"() {
|
|
21487
21496
|
"use strict";
|
|
21488
21497
|
init_esm();
|
|
@@ -21703,7 +21712,7 @@ var init_board2 = __esm({
|
|
|
21703
21712
|
init_board_cli();
|
|
21704
21713
|
init_cloud_workflows();
|
|
21705
21714
|
init_validate();
|
|
21706
|
-
|
|
21715
|
+
init_shared2();
|
|
21707
21716
|
init_esm();
|
|
21708
21717
|
init_tasks();
|
|
21709
21718
|
init_card();
|
|
@@ -21805,7 +21814,7 @@ async function runBoard(argv, options = {}) {
|
|
|
21805
21814
|
onAnswer
|
|
21806
21815
|
} = options;
|
|
21807
21816
|
const { buildBoardProgram: buildBoardProgram2 } = await Promise.resolve().then(() => (init_board2(), board_exports));
|
|
21808
|
-
const { runProgram: runProgram2 } = await Promise.resolve().then(() => (
|
|
21817
|
+
const { runProgram: runProgram2 } = await Promise.resolve().then(() => (init_shared2(), shared_exports));
|
|
21809
21818
|
return runProgram2(buildBoardProgram2({ program: program2, cwd, installHint, version, onAnswer }), argv, program2);
|
|
21810
21819
|
}
|
|
21811
21820
|
function rawArgv(argv) {
|
|
@@ -21920,7 +21929,7 @@ var init_discuss_goal = __esm({
|
|
|
21920
21929
|
var follow_up_default;
|
|
21921
21930
|
var init_follow_up = __esm({
|
|
21922
21931
|
"src/guide/follow-up.md"() {
|
|
21923
|
-
follow_up_default = '# Handle follow-up work\n\nUse when planning or implementation discovers additional work.\n\n- **Current task**: finish required work on this card; queue independent follow-ups in triage, then resume the original task.\n- **Drop what was turned down**: queue nothing that\n `docs/kanban/memory/agents/planner/rejected.md` or\n `docs/kanban/memory/agents/planner/*/rejected.md` turns down.\n- **Existing card**: when only another open card needs changing, run `akb card revise <id> "<the change and why>"`.\n- **Queue it**: use the command below; skip an item the command reports as already there.\n- **Workflow**: use the source card\'s `workflow:`, or the id from `akb workflow list` that fits the work when it has none.\n\n```text\nakb triage add --title "<one line>" --slug <short-english-slug> --source "#<id>" --workflow <workflow> --text "<body>"\n```\n\n## Write the item\n\
|
|
21932
|
+
follow_up_default = '# Handle follow-up work\n\nUse when planning or implementation discovers additional work.\n\n- **Current task**: finish required work on this card; queue independent follow-ups in triage, then resume the original task.\n- **Drop what was turned down**: queue nothing that\n `docs/kanban/memory/agents/planner/rejected.md` or\n `docs/kanban/memory/agents/planner/*/rejected.md` turns down.\n- **Existing card**: when only another open card needs changing, run `akb card revise <id> "<the change and why>"`.\n- **Queue it**: use the command below; skip an item the command reports as already there.\n- **Workflow**: use the source card\'s `workflow:`, or the id from `akb workflow list` that fits the work when it has none.\n\n```text\nakb triage add --title "<one line>" --slug <short-english-slug> --source "#<id>" --workflow <workflow> --text "<body>"\n```\n\n## Write the item\n\nWrite each item\'s title and body in the **Goal format** of `akb guide discuss-goal`.\n';
|
|
21924
21933
|
}
|
|
21925
21934
|
});
|
|
21926
21935
|
|
|
@@ -21976,7 +21985,7 @@ var init_refine = __esm({
|
|
|
21976
21985
|
var reflect_default;
|
|
21977
21986
|
var init_reflect = __esm({
|
|
21978
21987
|
"src/guide/reflect.md"() {
|
|
21979
|
-
reflect_default = '# Reflect on completed cards\n\n## Read\n\nRead each given `<card>` in full and check its own `shipped` content; keep cards separate.\nFind needs the work left behind or revealed, and verify them in the project. Proposing nothing is fine.\n\n## Filter\n\n- **Duplicates**: check `akb raw list` and `akb triage check <source-id>`; propose shared work only once.\n- **Exclude**: skip unsupported guesses, work covered by `<scheduled-agents>`, work rejected in `docs/kanban/memory/agents/planner/rejected.md` or its module folders, and calls the user reversed, in any `redesign.md` under `docs/kanban/memory/agents/` or under a card\'s `Overruled by the user`.\n- **Existing cards**: when shipped work invalidates an open card\'s plan, run `akb card revise <id> "<the change and why>"` instead of proposing an item.\n\n## Write\n\
|
|
21988
|
+
reflect_default = '# Reflect on completed cards\n\n## Read\n\nRead each given `<card>` in full and check its own `shipped` content; keep cards separate.\nFind needs the work left behind or revealed, and verify them in the project. Proposing nothing is fine.\n\n## Filter\n\n- **Duplicates**: check `akb raw list` and `akb triage check <source-id>`; propose shared work only once.\n- **Exclude**: skip unsupported guesses, work covered by `<scheduled-agents>`, work rejected in `docs/kanban/memory/agents/planner/rejected.md` or its module folders, and calls the user reversed, in any `redesign.md` under `docs/kanban/memory/agents/` or under a card\'s `Overruled by the user`.\n- **Existing cards**: when shipped work invalidates an open card\'s plan, run `akb card revise <id> "<the change and why>"` instead of proposing an item.\n\n## Write\n\nWrite each item\'s title and body in the **Goal format** of `akb guide discuss-goal`; write the body to a temporary Markdown file and end it with the source card\'s archive path.\nWrite one triage item per proposal. Exploratory ideas are welcome; identify small chores as such.\nUse the source card\'s `workflow:`, or the id from `akb workflow list` that fits the work when it has none.\n\n```text\nakb triage add --title "<one line>" --slug <short-english-slug> --source "#<id>" --workflow <workflow> --file <body.md>\n```\n\nBriefly report what you proposed and what you skipped, with reasons.\n';
|
|
21980
21989
|
}
|
|
21981
21990
|
});
|
|
21982
21991
|
|
|
@@ -111149,7 +111158,7 @@ function cmdTelemetry(args, program2) {
|
|
|
111149
111158
|
}
|
|
111150
111159
|
|
|
111151
111160
|
// src/lib/cli/agent.ts
|
|
111152
|
-
|
|
111161
|
+
init_shared2();
|
|
111153
111162
|
async function onBoard2(cmd, cli, work) {
|
|
111154
111163
|
const ctx = ctxOf(cmd, cli.program);
|
|
111155
111164
|
await runAction(ctx, {}, async () => {
|
|
@@ -111782,7 +111791,7 @@ function isOlder(a2, b2) {
|
|
|
111782
111791
|
// src/lib/cli/setup.ts
|
|
111783
111792
|
init_io();
|
|
111784
111793
|
init_version();
|
|
111785
|
-
|
|
111794
|
+
init_shared2();
|
|
111786
111795
|
var spelled = (program2) => program2 === "akb" ? "" : `
|
|
111787
111796
|
This copy isn't on your PATH as \`akb\` \u2014 every \`akb\` below is \`${program2}\` here.
|
|
111788
111797
|
`;
|
|
@@ -111807,7 +111816,7 @@ function declareSetup(program2, cli) {
|
|
|
111807
111816
|
|
|
111808
111817
|
// src/lib/cli/akb.ts
|
|
111809
111818
|
init_io();
|
|
111810
|
-
|
|
111819
|
+
init_shared2();
|
|
111811
111820
|
function buildAkbProgram(cli) {
|
|
111812
111821
|
const program2 = withShared(newCommand(cli.program));
|
|
111813
111822
|
program2.description("set up a board, and put an agent to work on it.").helpCommand("help [command]", "this list, or one command in full");
|
|
@@ -111824,7 +111833,7 @@ function buildAkbProgram(cli) {
|
|
|
111824
111833
|
}
|
|
111825
111834
|
|
|
111826
111835
|
// src/lib/agent-cli.ts
|
|
111827
|
-
|
|
111836
|
+
init_shared2();
|
|
111828
111837
|
init_usage();
|
|
111829
111838
|
var WATCH = "__watch";
|
|
111830
111839
|
async function runAgent2(argv, options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildcrane",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.29",
|
|
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": [
|