@integrity-labs/agt-cli 0.28.850 → 0.28.851
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-IIWPWALH.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.851" : "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.851" : "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.851" : "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-IIWPWALH.js.map
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
safeWriteJsonAtomic,
|
|
61
61
|
setConfigHash,
|
|
62
62
|
tripClass
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-IIWPWALH.js";
|
|
64
64
|
import {
|
|
65
65
|
getProjectDir as getProjectDir2,
|
|
66
66
|
getReadyTasks,
|
|
@@ -13664,7 +13664,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13664
13664
|
var lastVersionCheckAt = 0;
|
|
13665
13665
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13666
13666
|
var lastResponsivenessProbeAt = 0;
|
|
13667
|
-
var agtCliVersion = true ? "0.28.
|
|
13667
|
+
var agtCliVersion = true ? "0.28.851" : "dev";
|
|
13668
13668
|
function resolveBrewPath(execFileSync2) {
|
|
13669
13669
|
try {
|
|
13670
13670
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -44676,6 +44676,16 @@ var ARTEFACT_KINDS_MCP = [
|
|
|
44676
44676
|
];
|
|
44677
44677
|
|
|
44678
44678
|
// src/kanban-write-outcome.ts
|
|
44679
|
+
function noteRollOffNotice(data) {
|
|
44680
|
+
const rolled = data?.updated_items?.some((i) => i.notes_truncated) ?? false;
|
|
44681
|
+
if (!rolled) return "";
|
|
44682
|
+
const dropped = data?.updated_items?.reduce(
|
|
44683
|
+
(n, i) => n + (typeof i.notes_dropped_bytes === "number" ? i.notes_dropped_bytes : 0),
|
|
44684
|
+
0
|
|
44685
|
+
);
|
|
44686
|
+
const size = dropped && dropped > 0 ? ` (~${dropped} bytes)` : "";
|
|
44687
|
+
return ` Older inline notes${size} rolled off the 4 KB column; the full text is still retained in this card's note history.`;
|
|
44688
|
+
}
|
|
44679
44689
|
function describeKanbanWriteFailure(failure, label) {
|
|
44680
44690
|
if (!failure) return null;
|
|
44681
44691
|
switch (failure.reason) {
|
|
@@ -46102,7 +46112,10 @@ server.tool(
|
|
|
46102
46112
|
data,
|
|
46103
46113
|
{ id: match.id },
|
|
46104
46114
|
match.title,
|
|
46105
|
-
|
|
46115
|
+
// CS-1683: say so when the append evicted older inline notes. `kanban_log`
|
|
46116
|
+
// has warned since ENG-5731; this tool did not, and it is the one whose
|
|
46117
|
+
// NAME does not tell you `notes` is an append at all.
|
|
46118
|
+
() => `Updated "${match.title}".${noteRollOffNotice(data)}`
|
|
46106
46119
|
);
|
|
46107
46120
|
return {
|
|
46108
46121
|
content: [{ type: "text", text: outcome.text }],
|
package/package.json
CHANGED
|
File without changes
|