@integrity-labs/agt-cli 0.28.988 → 0.28.990

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/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.990",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {