@integrity-labs/agt-cli 0.28.988 → 0.28.989

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-E5QIUZFW.js";
43
+ } from "../chunk-DP443ICC.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
@@ -5472,7 +5472,7 @@ import { execFileSync, execSync } from "child_process";
5472
5472
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5473
5473
  import chalk18 from "chalk";
5474
5474
  import ora16 from "ora";
5475
- var cliVersion = true ? "0.28.988" : "dev";
5475
+ var cliVersion = true ? "0.28.989" : "dev";
5476
5476
  async function fetchLatestVersion() {
5477
5477
  const host2 = getHost();
5478
5478
  if (!host2) return null;
@@ -6732,7 +6732,7 @@ function handleError(err) {
6732
6732
  }
6733
6733
 
6734
6734
  // src/bin/agt.ts
6735
- var cliVersion2 = true ? "0.28.988" : "dev";
6735
+ var cliVersion2 = true ? "0.28.989" : "dev";
6736
6736
  var program = new Command();
6737
6737
  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");
6738
6738
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6963,7 +6963,7 @@ function exchangeFailureKind(err) {
6963
6963
  }
6964
6964
 
6965
6965
  // src/lib/api-client.ts
6966
- var agtCliVersion = true ? "0.28.988" : "dev";
6966
+ var agtCliVersion = true ? "0.28.989" : "dev";
6967
6967
  var lastConfigHash = null;
6968
6968
  function setConfigHash(hash) {
6969
6969
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11705,4 +11705,4 @@ export {
11705
11705
  managerInstallSystemUnitCommand,
11706
11706
  managerUninstallSystemUnitCommand
11707
11707
  };
11708
- //# sourceMappingURL=chunk-E5QIUZFW.js.map
11708
+ //# sourceMappingURL=chunk-DP443ICC.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-E5QIUZFW.js";
66
+ } from "../chunk-DP443ICC.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -14035,7 +14035,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14035
14035
  var lastVersionCheckAt = 0;
14036
14036
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14037
14037
  var lastResponsivenessProbeAt = 0;
14038
- var agtCliVersion = true ? "0.28.988" : "dev";
14038
+ var agtCliVersion = true ? "0.28.989" : "dev";
14039
14039
  function resolveBrewPath(execFileSync2) {
14040
14040
  try {
14041
14041
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
package/dist/mcp/index.js CHANGED
@@ -45960,6 +45960,11 @@ var ARTEFACT_KINDS_MCP = [
45960
45960
  ];
45961
45961
 
45962
45962
  // src/kanban-write-outcome.ts
45963
+ function noticeCloseNotice(data) {
45964
+ const entries = data?.notice_close_warnings;
45965
+ if (!Array.isArray(entries) || entries.length === 0) return "";
45966
+ return entries.map((e) => typeof e?.message === "string" ? e.message.trim() : "").filter((m) => m.length > 0).map((m) => ` ${m}`).join("");
45967
+ }
45963
45968
  function noteRollOffNotice(data) {
45964
45969
  const rolled = data?.updated_items?.some((i) => i.notes_truncated) ?? false;
45965
45970
  if (!rolled) return "";
@@ -47582,7 +47587,7 @@ server.tool(
47582
47587
  );
47583
47588
  server.tool(
47584
47589
  "kanban_done",
47585
- "Mark a kanban item as done with an optional result.",
47590
+ 'Mark a kanban item as done with an optional result. NOTE on "\u2705 <agent> completed: ..." cards: those are completion RECORDS of work already finished, and nobody is waiting on one. Closing one with a `result` is treated as a REPLY and routed to the agent named in the notice as a card on their board - the tool result tells you whether that succeeded. If it could not be routed (a human completed it, or the agent is gone) your text stays on the card and reaches nobody, so use kanban_assign instead.',
47586
47591
  {
47587
47592
  id: external_exports.string().optional().describe("Item UUID (preferred)"),
47588
47593
  title: external_exports.string().optional().describe("Item title for fuzzy match (if no id)"),
@@ -47653,7 +47658,10 @@ server.tool(
47653
47658
  data,
47654
47659
  { id: params.id, title: params.title },
47655
47660
  label,
47656
- () => `Marked "${label}" as done.${params.result ? ` Result: ${params.result}` : ""}${deliveryNote}`
47661
+ () => `Marked "${label}" as done.${params.result ? ` Result: ${params.result}` : ""}${deliveryNote}` + // CS-1745: appended, not conditional on anything the client knows - the server
47662
+ // decides whether this close was a notice-close and what it managed to do with
47663
+ // the reply. Empty string when it was an ordinary card.
47664
+ noticeCloseNotice(data)
47657
47665
  );
47658
47666
  return {
47659
47667
  content: [{ type: "text", text: outcome.text }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.988",
3
+ "version": "0.28.989",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {