@integrity-labs/agt-cli 0.28.1226 → 0.28.1228

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-GBPHP6FI.js → chunk-7AVP3CLB.js} +2 -2
  3. package/dist/{chunk-XF6SM5RR.js → chunk-BBAKZGD6.js} +3 -3
  4. package/dist/{chunk-SIVBDXES.js → chunk-NRMWHCEU.js} +5 -5
  5. package/dist/{chunk-DKTSGG7Q.js → chunk-OM23HRMM.js} +8 -1
  6. package/dist/{chunk-DKTSGG7Q.js.map → chunk-OM23HRMM.js.map} +1 -1
  7. package/dist/{chunk-M53VVKTM.js → chunk-Y73Z2FGC.js} +2 -2
  8. package/dist/{claude-code-updater-QFDDREKD.js → claude-code-updater-VMUFBXVY.js} +3 -3
  9. package/dist/{claude-pair-runtime-3YHQHU45.js → claude-pair-runtime-FDHPZOJD.js} +3 -3
  10. package/dist/lib/manager-worker.js +33 -22
  11. package/dist/lib/manager-worker.js.map +1 -1
  12. package/dist/mcp/direct-chat-channel.js +7 -0
  13. package/dist/mcp/index.js +9 -3
  14. package/dist/mcp/origami.js +7 -0
  15. package/dist/mcp/slack-channel.js +7 -0
  16. package/dist/mcp/telegram-channel.js +7 -0
  17. package/dist/{persistent-session-DBAPNU35.js → persistent-session-6CMF6GBZ.js} +4 -4
  18. package/dist/{responsiveness-probe-6S34EWLC.js → responsiveness-probe-PL3EBAYF.js} +4 -4
  19. package/dist/{session-auth-dead-TDTU2CHO.js → session-auth-dead-I36UILMA.js} +3 -3
  20. package/package.json +1 -1
  21. /package/dist/{chunk-GBPHP6FI.js.map → chunk-7AVP3CLB.js.map} +0 -0
  22. /package/dist/{chunk-XF6SM5RR.js.map → chunk-BBAKZGD6.js.map} +0 -0
  23. /package/dist/{chunk-SIVBDXES.js.map → chunk-NRMWHCEU.js.map} +0 -0
  24. /package/dist/{chunk-M53VVKTM.js.map → chunk-Y73Z2FGC.js.map} +0 -0
  25. /package/dist/{claude-code-updater-QFDDREKD.js.map → claude-code-updater-VMUFBXVY.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-3YHQHU45.js.map → claude-pair-runtime-FDHPZOJD.js.map} +0 -0
  27. /package/dist/{persistent-session-DBAPNU35.js.map → persistent-session-6CMF6GBZ.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-6S34EWLC.js.map → responsiveness-probe-PL3EBAYF.js.map} +0 -0
  29. /package/dist/{session-auth-dead-TDTU2CHO.js.map → session-auth-dead-I36UILMA.js.map} +0 -0
@@ -45586,6 +45586,13 @@ var FLAG_REGISTRY = [
45586
45586
  // to migrate (ADR-0022).
45587
45587
  defaultValue: false
45588
45588
  },
45589
+ {
45590
+ key: "kanban-reaper-linked-ticket-close",
45591
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
45592
+ flagType: "boolean",
45593
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
45594
+ defaultValue: false
45595
+ },
45589
45596
  {
45590
45597
  key: "kanban-nudge-before-reap",
45591
45598
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
package/dist/mcp/index.js CHANGED
@@ -31268,6 +31268,13 @@ var FLAG_REGISTRY = [
31268
31268
  // to migrate (ADR-0022).
31269
31269
  defaultValue: false
31270
31270
  },
31271
+ {
31272
+ key: "kanban-reaper-linked-ticket-close",
31273
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
31274
+ flagType: "boolean",
31275
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
31276
+ defaultValue: false
31277
+ },
31271
31278
  {
31272
31279
  key: "kanban-nudge-before-reap",
31273
31280
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
@@ -48619,7 +48626,6 @@ function renderKanbanParkedError(target, message) {
48619
48626
  }
48620
48627
  return `Could not read ${target}'s cards: ${message}`;
48621
48628
  }
48622
- var ORPHAN_BLIND_SPOT_WARNING = "Background subagents and shells are not visible to this check; look at the agent's pane before closing.";
48623
48629
  function parkedActParamError(params) {
48624
48630
  if (params.action === "reassign" && !params.new_owner) return "reassign needs new_owner.";
48625
48631
  if (params.action === "escalate" && !params.person_id) return "escalate needs person_id, from directory_lookup.";
@@ -48638,7 +48644,7 @@ function renderKanbanParkedAct(data, token = newFrameToken()) {
48638
48644
  const released = data.action === "close" && data.from_status === "in_progress";
48639
48645
  const lines = [
48640
48646
  `${released ? "Released" : verb[data.action ?? ""] ?? "Changed"} card ${data.id ?? ""}: ${data.from_status ?? "?"} -> ${data.status ?? "?"}.`,
48641
- ...released ? ["A released in-progress card cannot be reopened with this tool.", ORPHAN_BLIND_SPOT_WARNING] : [],
48647
+ ...released ? ["A released in-progress card cannot be reopened with this tool."] : [],
48642
48648
  frameCardText(`title: ${oneLine(data.title ?? "")}`, "whoever filed the card", token),
48643
48649
  data.owner_notified ? "The owning agent was told." : "The owning agent could NOT be told: tell it yourself."
48644
48650
  ];
@@ -51047,7 +51053,7 @@ server.tool(
51047
51053
  );
51048
51054
  server.tool(
51049
51055
  "kanban_parked_act",
51050
- `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).`,
51056
+ '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. 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, background work running or unknown, 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).',
51051
51057
  {
51052
51058
  target_agent: external_exports.string().describe("The agent that reports to you and holds the card: code_name (kebab-case) or agent UUID."),
51053
51059
  card_id: external_exports.string().uuid().describe("The card id, from kanban_parked."),
@@ -45070,6 +45070,13 @@ var FLAG_REGISTRY = [
45070
45070
  // to migrate (ADR-0022).
45071
45071
  defaultValue: false
45072
45072
  },
45073
+ {
45074
+ key: "kanban-reaper-linked-ticket-close",
45075
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
45076
+ flagType: "boolean",
45077
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
45078
+ defaultValue: false
45079
+ },
45073
45080
  {
45074
45081
  key: "kanban-nudge-before-reap",
45075
45082
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
@@ -39925,6 +39925,13 @@ var FLAG_REGISTRY = [
39925
39925
  // to migrate (ADR-0022).
39926
39926
  defaultValue: false
39927
39927
  },
39928
+ {
39929
+ key: "kanban-reaper-linked-ticket-close",
39930
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
39931
+ flagType: "boolean",
39932
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
39933
+ defaultValue: false
39934
+ },
39928
39935
  {
39929
39936
  key: "kanban-nudge-before-reap",
39930
39937
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
@@ -40116,6 +40116,13 @@ var FLAG_REGISTRY = [
40116
40116
  // to migrate (ADR-0022).
40117
40117
  defaultValue: false
40118
40118
  },
40119
+ {
40120
+ key: "kanban-reaper-linked-ticket-close",
40121
+ description: "ENG-10546: before the waiting backstop parks a 7-day-old card in needs_attention, read its linked ticket through the card's own team connection. OFF (default) = shadow: the read runs and logs would_close, and every card parks exactly as before. ON = a card whose Linear ticket was COMPLETED after the card was created, with no open or abandoned closing PR, is closed as done instead of parked. A cancelled ticket, a card waiting on a PR or an approval, a non-Linear source, and any card whose ticket cannot be read always park as before. Evaluated as a global stage value by the kanban-stale-item-reaper cron.",
40122
+ flagType: "boolean",
40123
+ // Safe value `false` = shadow, never close. A flag-DB error degrades here too.
40124
+ defaultValue: false
40125
+ },
40119
40126
  {
40120
40127
  key: "kanban-nudge-before-reap",
40121
40128
  description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-XF6SM5RR.js";
72
- import "./chunk-GBPHP6FI.js";
71
+ } from "./chunk-BBAKZGD6.js";
72
+ import "./chunk-7AVP3CLB.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-DKTSGG7Q.js";
76
+ import "./chunk-OM23HRMM.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-DBAPNU35.js.map
150
+ //# sourceMappingURL=persistent-session-6CMF6GBZ.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-XF6SM5RR.js";
4
- import "./chunk-GBPHP6FI.js";
3
+ } from "./chunk-BBAKZGD6.js";
4
+ import "./chunk-7AVP3CLB.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-DKTSGG7Q.js";
8
+ import "./chunk-OM23HRMM.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-6S34EWLC.js.map
807
+ //# sourceMappingURL=responsiveness-probe-PL3EBAYF.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-GBPHP6FI.js";
4
- import "./chunk-DKTSGG7Q.js";
3
+ } from "./chunk-7AVP3CLB.js";
4
+ import "./chunk-OM23HRMM.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-TDTU2CHO.js.map
208
+ //# sourceMappingURL=session-auth-dead-I36UILMA.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1226",
3
+ "version": "0.28.1228",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {