@integrity-labs/agt-cli 0.28.1176 → 0.28.1177
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-45UH24I2.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5513,7 +5513,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5513
5513
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5514
5514
|
import chalk18 from "chalk";
|
|
5515
5515
|
import ora16 from "ora";
|
|
5516
|
-
var cliVersion = true ? "0.28.
|
|
5516
|
+
var cliVersion = true ? "0.28.1177" : "dev";
|
|
5517
5517
|
async function fetchLatestVersion() {
|
|
5518
5518
|
const host2 = getHost();
|
|
5519
5519
|
if (!host2) return null;
|
|
@@ -6773,7 +6773,7 @@ function handleError(err) {
|
|
|
6773
6773
|
}
|
|
6774
6774
|
|
|
6775
6775
|
// src/bin/agt.ts
|
|
6776
|
-
var cliVersion2 = true ? "0.28.
|
|
6776
|
+
var cliVersion2 = true ? "0.28.1177" : "dev";
|
|
6777
6777
|
var program = new Command();
|
|
6778
6778
|
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");
|
|
6779
6779
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -8078,7 +8078,7 @@ function exchangeFailureKind(err) {
|
|
|
8078
8078
|
}
|
|
8079
8079
|
|
|
8080
8080
|
// src/lib/api-client.ts
|
|
8081
|
-
var agtCliVersion = true ? "0.28.
|
|
8081
|
+
var agtCliVersion = true ? "0.28.1177" : "dev";
|
|
8082
8082
|
var lastConfigHash = null;
|
|
8083
8083
|
function setConfigHash(hash) {
|
|
8084
8084
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13235,4 +13235,4 @@ export {
|
|
|
13235
13235
|
managerInstallSystemUnitCommand,
|
|
13236
13236
|
managerUninstallSystemUnitCommand
|
|
13237
13237
|
};
|
|
13238
|
-
//# sourceMappingURL=chunk-
|
|
13238
|
+
//# sourceMappingURL=chunk-45UH24I2.js.map
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
setConfigHash,
|
|
78
78
|
shellGuard,
|
|
79
79
|
tripClass
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-45UH24I2.js";
|
|
81
81
|
import {
|
|
82
82
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
83
83
|
SELF_UPDATE_TIMEOUTS,
|
|
@@ -15928,7 +15928,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
15928
15928
|
var lastVersionCheckAt = 0;
|
|
15929
15929
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
15930
15930
|
var lastResponsivenessProbeAt = 0;
|
|
15931
|
-
var agtCliVersion = true ? "0.28.
|
|
15931
|
+
var agtCliVersion = true ? "0.28.1177" : "dev";
|
|
15932
15932
|
function resolveBrewPath(execFileSync3) {
|
|
15933
15933
|
try {
|
|
15934
15934
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -47678,13 +47678,14 @@ function cardTextAuthor(card) {
|
|
|
47678
47678
|
// src/kanban-list-render.ts
|
|
47679
47679
|
var KANBAN_LIST_DISPLAY_ORDER = [
|
|
47680
47680
|
"in_progress",
|
|
47681
|
-
"waiting",
|
|
47682
|
-
"needs_attention",
|
|
47683
47681
|
"todo",
|
|
47684
47682
|
"backlog",
|
|
47683
|
+
"waiting",
|
|
47684
|
+
"needs_attention",
|
|
47685
47685
|
"done",
|
|
47686
47686
|
"failed"
|
|
47687
47687
|
];
|
|
47688
|
+
var KANBAN_SEARCH_STATUSES = [...KANBAN_LIST_DISPLAY_ORDER, "all"];
|
|
47688
47689
|
function kanbanStatusLabel(status) {
|
|
47689
47690
|
const labels = {
|
|
47690
47691
|
backlog: "Backlog",
|
|
@@ -47801,7 +47802,9 @@ ${desc}` : head;
|
|
|
47801
47802
|
function renderTruncationNotice(t) {
|
|
47802
47803
|
if (!t?.truncated) return null;
|
|
47803
47804
|
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";
|
|
47804
|
-
|
|
47805
|
+
const dropped = Object.entries(t.droppedByStatus ?? {});
|
|
47806
|
+
const cut = dropped.length ? ` Not shown: ${dropped.map(([status, n]) => `${n} ${status.replaceAll("_", " ")}`).join(", ")}.` : "";
|
|
47807
|
+
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".${cut}]`;
|
|
47805
47808
|
}
|
|
47806
47809
|
function renderAssignerClause(item) {
|
|
47807
47810
|
const by = describeKanbanAssigner(item, { always: false });
|
|
@@ -47842,8 +47845,9 @@ ${OWED_REPLY_UNAVAILABLE_NOTE}` : empty;
|
|
|
47842
47845
|
for (const status of order) {
|
|
47843
47846
|
const group = grouped[status];
|
|
47844
47847
|
if (!group?.length) continue;
|
|
47848
|
+
const cut = truncation?.droppedByStatus?.[status] ?? 0;
|
|
47845
47849
|
lines.push(`
|
|
47846
|
-
## ${kanbanStatusLabel(status)} (${group.length})`);
|
|
47850
|
+
## ${kanbanStatusLabel(status)} (${cut ? `${group.length} shown, ${cut} more: kanban_search with status="${status}"` : group.length})`);
|
|
47847
47851
|
for (const item of group) {
|
|
47848
47852
|
const owedSuffix = isOwedReplyByMe(item) ? ` [reply owed to ${item.owed_reply_from_label}]` : void 0;
|
|
47849
47853
|
lines.push(renderKanbanItemLine(item, nowMs, owedSuffix));
|
|
@@ -47870,8 +47874,11 @@ ${OWED_REPLY_UNAVAILABLE_NOTE}` : empty;
|
|
|
47870
47874
|
if (truncation?.owedReplies) lines.push(OWED_REPLY_TRUNCATED_NOTE);
|
|
47871
47875
|
if (truncation?.owedRepliesUnavailable) lines.push(OWED_REPLY_UNAVAILABLE_NOTE);
|
|
47872
47876
|
if (humanAssigned.length) {
|
|
47873
|
-
|
|
47874
|
-
|
|
47877
|
+
const cutAssigned = truncation?.droppedByStatus?.["assigned_to_person"] ?? 0;
|
|
47878
|
+
lines.push(
|
|
47879
|
+
`
|
|
47880
|
+
## ${HUMAN_ASSIGNED_SECTION_HEADING} (${cutAssigned ? `${humanAssigned.length} shown, ${cutAssigned} more not shown` : humanAssigned.length})`
|
|
47881
|
+
);
|
|
47875
47882
|
lines.push(HUMAN_ASSIGNED_SECTION_NOTE);
|
|
47876
47883
|
for (const item of humanAssigned) {
|
|
47877
47884
|
const who = item.assignee_name ? ` [with ${item.assignee_name}]` : "";
|
|
@@ -49500,7 +49507,9 @@ server.tool(
|
|
|
49500
49507
|
owedRepliesUnavailable: data.owed_reply_unavailable === true,
|
|
49501
49508
|
truncated: data.active_truncated === true,
|
|
49502
49509
|
total: data.active_total,
|
|
49503
|
-
|
|
49510
|
+
// ENG-11547: `active_shown` can pass the limit; an older API only sends the limit.
|
|
49511
|
+
shown: data.active_shown ?? data.active_limit,
|
|
49512
|
+
droppedByStatus: data.active_dropped_by_status
|
|
49504
49513
|
})
|
|
49505
49514
|
}
|
|
49506
49515
|
]
|
|
@@ -49513,7 +49522,7 @@ server.tool(
|
|
|
49513
49522
|
`Search your FULL kanban history by keyword \u2014 including done cards older than 24h that kanban_list omits. Use this BEFORE telling anyone you have "no record" of work they say you did: the board only shows the last 24h of completed cards, so "it's not on my board" does NOT mean you never did it. Each hit includes the card's result (the actual deliverable), so you can recite what you produced. An empty query returns your most recent cards across all statuses.`,
|
|
49514
49523
|
{
|
|
49515
49524
|
query: external_exports.string().optional().describe('Keyword to match across title, description, result, deliverable and notes (e.g. "carousels", "Caribbean Park"). Omit to get your most recent cards.'),
|
|
49516
|
-
status: external_exports.enum(
|
|
49525
|
+
status: external_exports.enum(KANBAN_SEARCH_STATUSES).optional().describe('Restrict to one status. Default "all" searches every status \u2014 leave it unset to reach old done/failed work.'),
|
|
49517
49526
|
since: external_exports.string().optional().describe('ISO date lower bound on created_at (e.g. "2026-06-06").'),
|
|
49518
49527
|
until: external_exports.string().optional().describe("ISO date upper bound on created_at."),
|
|
49519
49528
|
limit: external_exports.number().int().min(1).max(50).optional().describe("Max results (default 20, max 50).")
|
package/package.json
CHANGED
|
File without changes
|