@integrity-labs/agt-cli 0.28.843 → 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-N3SJYP5X.js";
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.843" : "dev";
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.843" : "dev";
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.843" : "dev";
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-N3SJYP5X.js.map
10927
+ //# sourceMappingURL=chunk-ZNZ7HOH7.js.map
@@ -60,7 +60,7 @@ import {
60
60
  safeWriteJsonAtomic,
61
61
  setConfigHash,
62
62
  tripClass
63
- } from "../chunk-N3SJYP5X.js";
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.843" : "dev";
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();
@@ -21433,15 +21433,16 @@ var queryLogsSchema = strictObject({
21433
21433
  "Max lines to return (default 1000, max 5000; newest kept). Output is also byte-capped (~20 KB, newest kept) to stay within SSM limits \u2014 `truncated` flags when it clipped. Narrow the window if truncated."
21434
21434
  )
21435
21435
  });
21436
+ var PROBE_SLUG_RE = /^[a-z0-9][a-z0-9._-]*(\/[a-z0-9][a-z0-9._-]*)?$/i;
21436
21437
  var probeIntegrationSchema = strictObject({
21437
21438
  agent_id: external_exports.string().min(1).max(64).describe(
21438
21439
  "UUID of the agent whose integration to probe. Fails closed (uniform not-found) if you are not authorized for its org."
21439
21440
  ),
21440
21441
  slug: external_exports.string().min(1).max(128).regex(
21441
- /^[a-z0-9][a-z0-9._-]*$/i,
21442
- "slug must be an integration definition code_name (alphanumeric, may include . _ -)"
21442
+ PROBE_SLUG_RE,
21443
+ "slug must be an integration definition code_name, optionally namespaced (e.g. `gmail`, `composio/hubspot`)"
21443
21444
  ).describe(
21444
- "The integration slug (its definition code_name, e.g. `gmail`, `slack`, `here-now`) to probe on that agent."
21445
+ "The integration slug to probe on that agent. Either the definition code_name (`gmail`, `slack`, `here-now`) or its namespaced definition id (`composio/hubspot`, `composio/linear`). A bare toolkit name is resolved against what is actually installed on the agent, so `hubspot` finds `composio/hubspot`; an ambiguous bare name is an error rather than a guess."
21445
21446
  )
21446
21447
  });
21447
21448
  var inspectDeadLettersSchema = strictObject({
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 renderKanbanList(items, nowMs = Date.now()) {
44430
- if (!items.length) return "Board is empty.";
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 { content: [{ type: "text", text: renderKanbanList(data.items) }] };
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.843",
3
+ "version": "0.28.845",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {