wildcrane 0.11.13 → 0.11.14
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 +7 -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.14 — 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)
|
|
@@ -5515,7 +5515,7 @@ var init_package = __esm({
|
|
|
5515
5515
|
"package.json"() {
|
|
5516
5516
|
package_default = {
|
|
5517
5517
|
name: "wildcrane",
|
|
5518
|
-
version: "0.11.
|
|
5518
|
+
version: "0.11.14",
|
|
5519
5519
|
akbContract: 5,
|
|
5520
5520
|
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.",
|
|
5521
5521
|
keywords: [
|
|
@@ -24320,7 +24320,7 @@ function buildFlow(req, program2) {
|
|
|
24320
24320
|
}
|
|
24321
24321
|
case "approve": {
|
|
24322
24322
|
facts.push(...stageField(card.meta));
|
|
24323
|
-
close.push(...stageClose(card.meta));
|
|
24323
|
+
close.push(...stageClose(card.meta), `${raw} update ${req.id} --status ready \u2014 once the card validates`);
|
|
24324
24324
|
break;
|
|
24325
24325
|
}
|
|
24326
24326
|
case "edit": {
|
|
@@ -27535,10 +27535,12 @@ async function cmdStartRun(action, args, opts, program2 = "akb") {
|
|
|
27535
27535
|
}
|
|
27536
27536
|
const inside2 = insideRun();
|
|
27537
27537
|
if (inside2 && action === "approve") die("only the user approves a round \u2014 stop here and leave the card for them.", { kind: "run-refused", action });
|
|
27538
|
-
const
|
|
27538
|
+
const runnerApprove = action === "approve" && workspaceTask() !== null;
|
|
27539
|
+
const project = action === "approve" && !runnerApprove ? runnerProject(KANBAN) : null;
|
|
27539
27540
|
if (project) return await approveInCloud(project, req.id);
|
|
27540
27541
|
if (action === "approve") sayIfHeld(req, program2);
|
|
27541
|
-
const
|
|
27542
|
+
const card = runnerApprove ? findCard(req.id) : null;
|
|
27543
|
+
const runnable = card && !awaitingApproval(card) ? { action: "clarify", id: card.id, title: card.title, notes: req.notes, refineRound: 1 } : action === "refine" ? refinementRequest(req) : action === "approve" ? approvalRequest(req) : req;
|
|
27542
27544
|
if ("error" in runnable) die(runnable.error, { kind: "run-refused", action });
|
|
27543
27545
|
if (inside2 && action === "refine" && !print) return queueRefine(inside2, req);
|
|
27544
27546
|
if (inside2 && action === "implement" && planningRun(inside2)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildcrane",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.14",
|
|
4
4
|
"akbContract": 5,
|
|
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": [
|