@integrity-labs/agt-cli 0.28.1221 → 0.28.1223

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.
Files changed (30) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-YR5PKAAL.js → chunk-3QWPLCMX.js} +2 -2
  3. package/dist/{chunk-QGBIF6QK.js → chunk-4HPJCR5S.js} +10 -4
  4. package/dist/chunk-4HPJCR5S.js.map +1 -0
  5. package/dist/{chunk-WXJXO5TE.js → chunk-C6VRK3J2.js} +2 -2
  6. package/dist/{chunk-R7UGBRUR.js → chunk-LBEB7SZN.js} +4 -1
  7. package/dist/{chunk-R7UGBRUR.js.map → chunk-LBEB7SZN.js.map} +1 -1
  8. package/dist/{chunk-U5CKO3OD.js → chunk-Y52PRRP4.js} +5 -5
  9. package/dist/{claude-code-updater-FWBF4JTA.js → claude-code-updater-F7A6PTT6.js} +3 -3
  10. package/dist/{claude-pair-runtime-6BSR5RTE.js → claude-pair-runtime-4X7ST7J3.js} +3 -3
  11. package/dist/lib/manager-worker.js +94 -25
  12. package/dist/lib/manager-worker.js.map +1 -1
  13. package/dist/mcp/direct-chat-channel.js +3 -0
  14. package/dist/mcp/index.js +8 -2
  15. package/dist/mcp/origami.js +3 -0
  16. package/dist/mcp/slack-channel.js +3 -0
  17. package/dist/mcp/telegram-channel.js +3 -0
  18. package/dist/{persistent-session-YMVE4OG5.js → persistent-session-OG2MVQUR.js} +4 -4
  19. package/dist/{responsiveness-probe-DD7LCTAS.js → responsiveness-probe-HOXQTWME.js} +4 -4
  20. package/dist/{session-auth-dead-QZOUWP4O.js → session-auth-dead-GQGLYVIG.js} +3 -3
  21. package/package.json +1 -1
  22. package/dist/chunk-QGBIF6QK.js.map +0 -1
  23. /package/dist/{chunk-YR5PKAAL.js.map → chunk-3QWPLCMX.js.map} +0 -0
  24. /package/dist/{chunk-WXJXO5TE.js.map → chunk-C6VRK3J2.js.map} +0 -0
  25. /package/dist/{chunk-U5CKO3OD.js.map → chunk-Y52PRRP4.js.map} +0 -0
  26. /package/dist/{claude-code-updater-FWBF4JTA.js.map → claude-code-updater-F7A6PTT6.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-6BSR5RTE.js.map → claude-pair-runtime-4X7ST7J3.js.map} +0 -0
  28. /package/dist/{persistent-session-YMVE4OG5.js.map → persistent-session-OG2MVQUR.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-DD7LCTAS.js.map → responsiveness-probe-HOXQTWME.js.map} +0 -0
  30. /package/dist/{session-auth-dead-QZOUWP4O.js.map → session-auth-dead-GQGLYVIG.js.map} +0 -0
@@ -43606,6 +43606,9 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
43606
43606
  });
43607
43607
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
43608
43608
 
43609
+ // ../core/dist/claude-code-usage/orphaned-card.js
43610
+ var ORPHANED_CARD_QUIET_MS = 30 * 60 * 1e3;
43611
+
43609
43612
  // ../core/dist/account-enforcement/marker.js
43610
43613
  var ACCOUNT_ENFORCEMENT_MARKER_FILENAME = "account-enforcement.json";
43611
43614
  var ACCOUNT_ENFORCEMENT_MARKER_VERSION = 1;
package/dist/mcp/index.js CHANGED
@@ -29274,6 +29274,9 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
29274
29274
  });
29275
29275
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
29276
29276
 
29277
+ // ../core/dist/claude-code-usage/orphaned-card.js
29278
+ var ORPHANED_CARD_QUIET_MS = 30 * 60 * 1e3;
29279
+
29277
29280
  // ../core/dist/kanban/state-machine.js
29278
29281
  var KANBAN_STATUSES = [
29279
29282
  "backlog",
@@ -48613,6 +48616,7 @@ function renderKanbanParkedError(target, message) {
48613
48616
  }
48614
48617
  return `Could not read ${target}'s cards: ${message}`;
48615
48618
  }
48619
+ var ORPHAN_BLIND_SPOT_WARNING = "Background subagents and shells are not visible to this check; look at the agent's pane before closing.";
48616
48620
  function parkedActParamError(params) {
48617
48621
  if (params.action === "reassign" && !params.new_owner) return "reassign needs new_owner.";
48618
48622
  if (params.action === "escalate" && !params.person_id) return "escalate needs person_id, from directory_lookup.";
@@ -48628,8 +48632,10 @@ function renderKanbanParkedAct(data, token = newFrameToken()) {
48628
48632
  escalate: "Escalated",
48629
48633
  reopen: "Reopened"
48630
48634
  };
48635
+ const released = data.action === "close" && data.from_status === "in_progress";
48631
48636
  const lines = [
48632
- `${verb[data.action ?? ""] ?? "Changed"} card ${data.id ?? ""}: ${data.from_status ?? "?"} -> ${data.status ?? "?"}.`,
48637
+ `${released ? "Released" : verb[data.action ?? ""] ?? "Changed"} card ${data.id ?? ""}: ${data.from_status ?? "?"} -> ${data.status ?? "?"}.`,
48638
+ ...released ? ["A released in-progress card cannot be reopened with this tool.", ORPHAN_BLIND_SPOT_WARNING] : [],
48633
48639
  frameCardText(`title: ${oneLine(data.title ?? "")}`, "whoever filed the card", token),
48634
48640
  data.owner_notified ? "The owning agent was told." : "The owning agent could NOT be told: tell it yourself."
48635
48641
  ];
@@ -51038,7 +51044,7 @@ server.tool(
51038
51044
  );
51039
51045
  server.tool(
51040
51046
  "kanban_parked_act",
51041
- "Act on ONE parked card (needs_attention or waiting) belonging to an agent that reports directly to you. close: the card is dead. It becomes failed with your reason, nobody is told it completed, and a linked ticket is not touched. reassign: move it to another agent on your team (new_owner), keeping its column. escalate: park it on a named person (person_id from directory_lookup), who is notified; the owner keeps the card. reopen: undo your last close, reassign or escalate on this card, restoring what it replaced. Check a linked ticket or PR yourself before closing: this tool does not look it up. A reason is required, the owning agent is told, and every call is audited. Refused for in-progress, todo, backlog, done and failed cards, for cards parked on a pending approval, for any agent that does not report directly to you, and for a manager-only agent. Use kanban_parked first to get the card id.",
51047
+ `Act on ONE card belonging to an agent that reports directly to you: a parked card (needs_attention or waiting), or an ORPHANED in_progress card (its owner has been idle or killed for 30+ minutes since its last completed turn, with nothing logged or progressed on the card since), or a todo/backlog card to reassign. close: the card is dead, or (in_progress) released so its owner stops holding it. It becomes failed with your reason, nobody is told it completed, and a linked ticket is not touched. reassign: move it to another agent on your team (new_owner), keeping its column. escalate: park a parked card on a named person (person_id from directory_lookup), who is notified; the owner keeps the card. reopen: undo your last close, reassign or escalate on this card, restoring what it replaced. A released in_progress card cannot be reopened. Check a linked ticket or PR yourself before closing: this tool does not look it up. ${ORPHAN_BLIND_SPOT_WARNING} A reason is required, the owning agent is told, and every call is audited. Refused for done and failed cards, for an in_progress card whose owner may still be working it (mid-turn, blocked on a prompt, not reporting, or active in the last 30 minutes), for cards parked on a pending approval, for any agent that does not report directly to you, and for a manager-only agent. Use kanban_parked first to get the card id (column "active" lists in_progress, todo and backlog).`,
51042
51048
  {
51043
51049
  target_agent: external_exports.string().describe("The agent that reports to you and holds the card: code_name (kebab-case) or agent UUID."),
51044
51050
  card_id: external_exports.string().uuid().describe("The card id, from kanban_parked."),
@@ -43123,6 +43123,9 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
43123
43123
  });
43124
43124
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
43125
43125
 
43126
+ // ../core/dist/claude-code-usage/orphaned-card.js
43127
+ var ORPHANED_CARD_QUIET_MS = 30 * 60 * 1e3;
43128
+
43126
43129
  // ../core/dist/kanban/state-machine.js
43127
43130
  var KANBAN_STATUSES = [
43128
43131
  "backlog",
@@ -37939,6 +37939,9 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
37939
37939
  });
37940
37940
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
37941
37941
 
37942
+ // ../core/dist/claude-code-usage/orphaned-card.js
37943
+ var ORPHANED_CARD_QUIET_MS = 30 * 60 * 1e3;
37944
+
37942
37945
  // ../core/dist/account-enforcement/marker.js
37943
37946
  var ACCOUNT_ENFORCEMENT_MARKER_FILENAME = "account-enforcement.json";
37944
37947
  var ACCOUNT_ENFORCEMENT_MARKER_VERSION = 1;
@@ -38130,6 +38130,9 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
38130
38130
  });
38131
38131
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
38132
38132
 
38133
+ // ../core/dist/claude-code-usage/orphaned-card.js
38134
+ var ORPHANED_CARD_QUIET_MS = 30 * 60 * 1e3;
38135
+
38133
38136
  // ../core/dist/account-enforcement/marker.js
38134
38137
  var ACCOUNT_ENFORCEMENT_MARKER_FILENAME = "account-enforcement.json";
38135
38138
  var ACCOUNT_ENFORCEMENT_MARKER_VERSION = 1;
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-QGBIF6QK.js";
72
- import "./chunk-YR5PKAAL.js";
71
+ } from "./chunk-4HPJCR5S.js";
72
+ import "./chunk-3QWPLCMX.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-R7UGBRUR.js";
76
+ import "./chunk-LBEB7SZN.js";
77
77
  import "./chunk-AIUIMEUS.js";
78
78
  import "./chunk-DGUM43GV.js";
79
79
  export {
@@ -147,4 +147,4 @@ export {
147
147
  writeEgressAllowlist,
148
148
  writePersistentClaudeWrapper
149
149
  };
150
- //# sourceMappingURL=persistent-session-YMVE4OG5.js.map
150
+ //# sourceMappingURL=persistent-session-OG2MVQUR.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-QGBIF6QK.js";
4
- import "./chunk-YR5PKAAL.js";
3
+ } from "./chunk-4HPJCR5S.js";
4
+ import "./chunk-3QWPLCMX.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-R7UGBRUR.js";
8
+ import "./chunk-LBEB7SZN.js";
9
9
  import "./chunk-AIUIMEUS.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
 
@@ -804,4 +804,4 @@ export {
804
804
  readAndResetSlackReplyBindingClassifications,
805
805
  readAndResetSlackReplyTargetClassifications
806
806
  };
807
- //# sourceMappingURL=responsiveness-probe-DD7LCTAS.js.map
807
+ //# sourceMappingURL=responsiveness-probe-HOXQTWME.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-YR5PKAAL.js";
4
- import "./chunk-R7UGBRUR.js";
3
+ } from "./chunk-3QWPLCMX.js";
4
+ import "./chunk-LBEB7SZN.js";
5
5
  import "./chunk-DGUM43GV.js";
6
6
 
7
7
  // src/lib/session-auth-dead.ts
@@ -205,4 +205,4 @@ export {
205
205
  decideSessionAuthState,
206
206
  probeSessionAuth
207
207
  };
208
- //# sourceMappingURL=session-auth-dead-QZOUWP4O.js.map
208
+ //# sourceMappingURL=session-auth-dead-GQGLYVIG.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1221",
3
+ "version": "0.28.1223",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {