@integrity-labs/agt-cli 0.28.844 → 0.28.845
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/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-ZNZ7HOH7.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.845" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6658,7 +6658,7 @@ function handleError(err) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
// src/bin/agt.ts
|
|
6661
|
-
var cliVersion2 = true ? "0.28.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.845" : "dev";
|
|
6662
6662
|
var program = new Command();
|
|
6663
6663
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6664
6664
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6566,7 +6566,7 @@ function exchangeFailureKind(err) {
|
|
|
6566
6566
|
}
|
|
6567
6567
|
|
|
6568
6568
|
// src/lib/api-client.ts
|
|
6569
|
-
var agtCliVersion = true ? "0.28.
|
|
6569
|
+
var agtCliVersion = true ? "0.28.845" : "dev";
|
|
6570
6570
|
var lastConfigHash = null;
|
|
6571
6571
|
function setConfigHash(hash) {
|
|
6572
6572
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10924,4 +10924,4 @@ export {
|
|
|
10924
10924
|
managerInstallSystemUnitCommand,
|
|
10925
10925
|
managerUninstallSystemUnitCommand
|
|
10926
10926
|
};
|
|
10927
|
-
//# sourceMappingURL=chunk-
|
|
10927
|
+
//# sourceMappingURL=chunk-ZNZ7HOH7.js.map
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
safeWriteJsonAtomic,
|
|
61
61
|
setConfigHash,
|
|
62
62
|
tripClass
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-ZNZ7HOH7.js";
|
|
64
64
|
import {
|
|
65
65
|
getProjectDir as getProjectDir2,
|
|
66
66
|
getReadyTasks,
|
|
@@ -13689,7 +13689,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13689
13689
|
var lastVersionCheckAt = 0;
|
|
13690
13690
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13691
13691
|
var lastResponsivenessProbeAt = 0;
|
|
13692
|
-
var agtCliVersion = true ? "0.28.
|
|
13692
|
+
var agtCliVersion = true ? "0.28.845" : "dev";
|
|
13693
13693
|
function resolveBrewPath(execFileSync2) {
|
|
13694
13694
|
try {
|
|
13695
13695
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -44426,8 +44426,15 @@ function renderKanbanItemLine(item, nowMs, suffix = "") {
|
|
|
44426
44426
|
return desc ? `${head}
|
|
44427
44427
|
${desc}` : head;
|
|
44428
44428
|
}
|
|
44429
|
-
function
|
|
44430
|
-
if (!
|
|
44429
|
+
function renderTruncationNotice(t) {
|
|
44430
|
+
if (!t?.truncated) return null;
|
|
44431
|
+
const of = typeof t.total === "number" && typeof t.shown === "number" ? `showing ${t.shown} of ${t.total} active cards` : typeof t.total === "number" ? `${t.total} active cards exist` : "this board is capped";
|
|
44432
|
+
return `[BOARD TRUNCATED \u2014 ${of}. The counts below are a FLOOR, not a total. Do not report them as your full board; use kanban_search for history, and treat any per-status count here as "at least N".]`;
|
|
44433
|
+
}
|
|
44434
|
+
function renderKanbanList(items, nowMs = Date.now(), truncation) {
|
|
44435
|
+
const notice = renderTruncationNotice(truncation);
|
|
44436
|
+
if (!items.length) return notice ? `${notice}
|
|
44437
|
+
Board is empty.` : "Board is empty.";
|
|
44431
44438
|
const blockedOnMe = items.filter(isBlockedOnMe);
|
|
44432
44439
|
const rest = items.filter((i) => !isBlockedOnMe(i));
|
|
44433
44440
|
const humanAssigned = rest.filter(isHumanAssigned);
|
|
@@ -44461,7 +44468,7 @@ function renderKanbanList(items, nowMs = Date.now()) {
|
|
|
44461
44468
|
lines.push(renderKanbanItemLine(item, nowMs, who));
|
|
44462
44469
|
}
|
|
44463
44470
|
}
|
|
44464
|
-
return lines.join("\n");
|
|
44471
|
+
return notice ? [notice, ...lines].join("\n") : lines.join("\n");
|
|
44465
44472
|
}
|
|
44466
44473
|
var BLOCKED_ON_ME_SECTION_HEADING = "You are blocking these (another agent has stopped)";
|
|
44467
44474
|
var BLOCKED_ON_ME_SECTION_NOTE = "_Another agent has PARKED its own work until you act. These are not your cards and not pullable work \u2014 you cannot move, note or complete them, and they do not count toward your in-progress load. Do the thing named, then answer with `kanban_respond` (card_id + your answer) \u2014 that delivers it ON the parked card and un-parks it. Do NOT open a second card to carry the answer._";
|
|
@@ -45696,7 +45703,18 @@ server.tool(
|
|
|
45696
45703
|
const data = await apiPost("/host/my-kanban", {
|
|
45697
45704
|
agent_id: AGT_AGENT_ID
|
|
45698
45705
|
});
|
|
45699
|
-
return {
|
|
45706
|
+
return {
|
|
45707
|
+
content: [
|
|
45708
|
+
{
|
|
45709
|
+
type: "text",
|
|
45710
|
+
text: renderKanbanList(data.items, Date.now(), {
|
|
45711
|
+
truncated: data.active_truncated === true,
|
|
45712
|
+
total: data.active_total,
|
|
45713
|
+
shown: data.active_limit
|
|
45714
|
+
})
|
|
45715
|
+
}
|
|
45716
|
+
]
|
|
45717
|
+
};
|
|
45700
45718
|
}
|
|
45701
45719
|
);
|
|
45702
45720
|
var KANBAN_SEARCH_DESCRIPTION_MAX_CHARS = 300;
|
package/package.json
CHANGED
|
File without changes
|