@integrity-labs/agt-cli 0.28.849 → 0.28.850
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-OQSPURDB.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.850" : "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.850" : "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.850" : "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-OQSPURDB.js.map
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
safeWriteJsonAtomic,
|
|
61
61
|
setConfigHash,
|
|
62
62
|
tripClass
|
|
63
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-OQSPURDB.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.850" : "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
|
@@ -44577,6 +44577,22 @@ function renderKanbanFullCard(item, nowMs = Date.now()) {
|
|
|
44577
44577
|
}
|
|
44578
44578
|
return lines.join("\n");
|
|
44579
44579
|
}
|
|
44580
|
+
function renderKanbanNoteHistory(requested, history, truncated) {
|
|
44581
|
+
if (!requested) return "";
|
|
44582
|
+
const entries = history ?? [];
|
|
44583
|
+
if (entries.length === 0) {
|
|
44584
|
+
return "\n\n## Durable note history\nNo note events recorded for this card. Notes written before the durable mirror existed will not appear here.";
|
|
44585
|
+
}
|
|
44586
|
+
const ordered = entries;
|
|
44587
|
+
const head = `
|
|
44588
|
+
|
|
44589
|
+
## Durable note history (${ordered.length}${truncated ? ", TRUNCATED \u2014 older entries exist beyond this page" : ""})
|
|
44590
|
+
The full text of every appended note, including entries that have rolled off the ~4 KB \`notes\` column.
|
|
44591
|
+
`;
|
|
44592
|
+
return head + ordered.map((e) => `
|
|
44593
|
+
[${e.at}]
|
|
44594
|
+
${e.note}`).join("\n");
|
|
44595
|
+
}
|
|
44580
44596
|
|
|
44581
44597
|
// src/kanban-peek-render.ts
|
|
44582
44598
|
var PEEK_RENDER_COLUMNS = [
|
|
@@ -45814,12 +45830,22 @@ server.tool(
|
|
|
45814
45830
|
"kanban_get",
|
|
45815
45831
|
'Read ONE of your own kanban cards IN FULL, with no truncation anywhere - description, notes, result, deliverable, every field. kanban_list caps a description at 1,200 characters and kanban_search at 300; this is the one surface where "read the whole thing" always means the whole thing. Use it whenever a card matters enough to read completely - especially a scheduled-task card, whose description IS the routine prompt you are executing: a long one may already be silently truncated everywhere else you have seen it.',
|
|
45816
45832
|
{
|
|
45817
|
-
id: external_exports.string().describe("The card id (from kanban_list, kanban_search, or any other kanban tool's response).")
|
|
45833
|
+
id: external_exports.string().describe("The card id (from kanban_list, kanban_search, or any other kanban tool's response)."),
|
|
45834
|
+
include_note_history: external_exports.boolean().optional().describe(
|
|
45835
|
+
"CS-1683: also return the DURABLE note history. `notes` is capped at ~4 KB and rolls off oldest-first, but every appended breadcrumb is retained in full elsewhere. Use this when a note you remember writing is no longer in `notes` \u2014 that text is not gone, it has rolled off the inline column."
|
|
45836
|
+
)
|
|
45818
45837
|
},
|
|
45819
|
-
async ({ id }) => {
|
|
45838
|
+
async ({ id, include_note_history }) => {
|
|
45820
45839
|
let data;
|
|
45821
45840
|
try {
|
|
45822
|
-
data = await apiPost(
|
|
45841
|
+
data = await apiPost(
|
|
45842
|
+
"/host/kanban/get",
|
|
45843
|
+
{ agent_id: AGT_AGENT_ID, id, include_note_history: include_note_history === true },
|
|
45844
|
+
false,
|
|
45845
|
+
15e3,
|
|
45846
|
+
"kanban_get",
|
|
45847
|
+
true
|
|
45848
|
+
);
|
|
45823
45849
|
} catch (err) {
|
|
45824
45850
|
const status = err instanceof ApiPostError ? err.status : null;
|
|
45825
45851
|
return {
|
|
@@ -45829,7 +45855,19 @@ server.tool(
|
|
|
45829
45855
|
if (!data.item) {
|
|
45830
45856
|
return { content: [{ type: "text", text: kanbanGetErrorMessage(404, id, "card not found") }] };
|
|
45831
45857
|
}
|
|
45832
|
-
|
|
45858
|
+
const card = renderKanbanFullCard(data.item);
|
|
45859
|
+
return {
|
|
45860
|
+
content: [
|
|
45861
|
+
{
|
|
45862
|
+
type: "text",
|
|
45863
|
+
text: card + renderKanbanNoteHistory(
|
|
45864
|
+
include_note_history === true,
|
|
45865
|
+
data.note_history,
|
|
45866
|
+
data.note_history_truncated
|
|
45867
|
+
)
|
|
45868
|
+
}
|
|
45869
|
+
]
|
|
45870
|
+
};
|
|
45833
45871
|
}
|
|
45834
45872
|
);
|
|
45835
45873
|
server.tool(
|
package/package.json
CHANGED
|
File without changes
|