@integrity-labs/agt-cli 0.28.1234 → 0.28.1235

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 (33) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-UWJTR4AS.js → chunk-ASJCTFLB.js} +5 -5
  3. package/dist/{chunk-3HLECXMI.js → chunk-FIGZJ6AU.js} +46 -1
  4. package/dist/{chunk-3HLECXMI.js.map → chunk-FIGZJ6AU.js.map} +1 -1
  5. package/dist/{chunk-PV2LPKJ2.js → chunk-GAQFCMBK.js} +2 -2
  6. package/dist/{chunk-NPW4S55O.js → chunk-I57M57XZ.js} +7 -1
  7. package/dist/{chunk-NPW4S55O.js.map → chunk-I57M57XZ.js.map} +1 -1
  8. package/dist/{chunk-74FVXAHG.js → chunk-VGZ2SKEW.js} +3 -3
  9. package/dist/{chunk-AZ2QBMCL.js → chunk-WAWLHUCT.js} +2 -2
  10. package/dist/{claude-code-updater-6GP4LY3Y.js → claude-code-updater-GXYP3Y6O.js} +3 -3
  11. package/dist/{claude-pair-runtime-2QA23TMP.js → claude-pair-runtime-GEFCVMJA.js} +3 -3
  12. package/dist/lib/manager-worker.js +42 -24
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +6 -0
  15. package/dist/mcp/index.js +11 -3
  16. package/dist/mcp/origami.js +6 -0
  17. package/dist/mcp/slack-channel.js +6 -0
  18. package/dist/mcp/telegram-channel.js +6 -0
  19. package/dist/{persistent-session-YS5LY7YD.js → persistent-session-VEE36NTM.js} +4 -4
  20. package/dist/{responsiveness-probe-C3SSBQCL.js → responsiveness-probe-ZPBEQOK5.js} +4 -4
  21. package/dist/{scheduler-engine-M6AFZWNU.js → scheduler-engine-5PCBGRNY.js} +8 -2
  22. package/dist/{session-auth-dead-3GT7MM6J.js → session-auth-dead-HOVWVHBB.js} +3 -3
  23. package/package.json +1 -1
  24. /package/dist/{chunk-UWJTR4AS.js.map → chunk-ASJCTFLB.js.map} +0 -0
  25. /package/dist/{chunk-PV2LPKJ2.js.map → chunk-GAQFCMBK.js.map} +0 -0
  26. /package/dist/{chunk-74FVXAHG.js.map → chunk-VGZ2SKEW.js.map} +0 -0
  27. /package/dist/{chunk-AZ2QBMCL.js.map → chunk-WAWLHUCT.js.map} +0 -0
  28. /package/dist/{claude-code-updater-6GP4LY3Y.js.map → claude-code-updater-GXYP3Y6O.js.map} +0 -0
  29. /package/dist/{claude-pair-runtime-2QA23TMP.js.map → claude-pair-runtime-GEFCVMJA.js.map} +0 -0
  30. /package/dist/{persistent-session-YS5LY7YD.js.map → persistent-session-VEE36NTM.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-C3SSBQCL.js.map → responsiveness-probe-ZPBEQOK5.js.map} +0 -0
  32. /package/dist/{scheduler-engine-M6AFZWNU.js.map → scheduler-engine-5PCBGRNY.js.map} +0 -0
  33. /package/dist/{session-auth-dead-3GT7MM6J.js.map → session-auth-dead-HOVWVHBB.js.map} +0 -0
@@ -44994,6 +44994,12 @@ var FLAG_REGISTRY = [
44994
44994
  flagType: "boolean",
44995
44995
  defaultValue: true
44996
44996
  },
44997
+ {
44998
+ key: "pending-inbound-tiered-page",
44999
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
45000
+ flagType: "boolean",
45001
+ defaultValue: true
45002
+ },
44997
45003
  {
44998
45004
  key: "promise-outstanding-alarm",
44999
45005
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
package/dist/mcp/index.js CHANGED
@@ -30676,6 +30676,12 @@ var FLAG_REGISTRY = [
30676
30676
  flagType: "boolean",
30677
30677
  defaultValue: true
30678
30678
  },
30679
+ {
30680
+ key: "pending-inbound-tiered-page",
30681
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
30682
+ flagType: "boolean",
30683
+ defaultValue: true
30684
+ },
30679
30685
  {
30680
30686
  key: "promise-outstanding-alarm",
30681
30687
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -48897,12 +48903,14 @@ function renderKanbanParkedAct(data, token = newFrameToken()) {
48897
48903
  close: "Closed",
48898
48904
  reassign: "Reassigned",
48899
48905
  escalate: "Escalated",
48900
- reopen: "Reopened"
48906
+ reopen: "Reopened",
48907
+ restart: "Requested a restart of the owner of"
48901
48908
  };
48902
48909
  const released = data.action === "close" && data.from_status === "in_progress";
48903
48910
  const lines = [
48904
48911
  `${released ? "Released" : verb[data.action ?? ""] ?? "Changed"} card ${data.id ?? ""}: ${data.from_status ?? "?"} -> ${data.status ?? "?"}.`,
48905
48912
  ...released ? ["A released in-progress card cannot be reopened with this tool."] : [],
48913
+ ...data.action === "restart" ? ["The card itself is unchanged. The host carries out the restart when it next picks up the request, so this is not yet proof it happened: check the owner's session with agent_session_status. This agent cannot be restarted again for an hour."] : [],
48906
48914
  frameCardText(`title: ${oneLine(data.title ?? "")}`, "whoever filed the card", token),
48907
48915
  data.owner_notified ? "The owning agent was told." : "The owning agent could NOT be told: tell it yourself."
48908
48916
  ];
@@ -51311,11 +51319,11 @@ server.tool(
51311
51319
  );
51312
51320
  server.tool(
51313
51321
  "kanban_parked_act",
51314
- '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).',
51322
+ '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. restart: restart the owner of an orphaned in_progress card, in an internal organization only: it must be idle at its prompt with nothing running in the background, at most once per agent per hour. The card is left as it is. 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).',
51315
51323
  {
51316
51324
  target_agent: external_exports.string().describe("The agent that reports to you and holds the card: code_name (kebab-case) or agent UUID."),
51317
51325
  card_id: external_exports.string().uuid().describe("The card id, from kanban_parked."),
51318
- action: external_exports.enum(["close", "reassign", "escalate", "reopen"]).describe("What to do with the card."),
51326
+ action: external_exports.enum(["close", "reassign", "escalate", "reopen", "restart"]).describe("What to do with the card."),
51319
51327
  reason: external_exports.string().trim().min(1, "reason is required").max(2e3, "reason is too long").describe(
51320
51328
  'Why, for whoever reads this card later. On escalate it is what the person is asked to do, so write it as a request ("confirm the refund was issued").'
51321
51329
  ),
@@ -44478,6 +44478,12 @@ var FLAG_REGISTRY = [
44478
44478
  flagType: "boolean",
44479
44479
  defaultValue: true
44480
44480
  },
44481
+ {
44482
+ key: "pending-inbound-tiered-page",
44483
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
44484
+ flagType: "boolean",
44485
+ defaultValue: true
44486
+ },
44481
44487
  {
44482
44488
  key: "promise-outstanding-alarm",
44483
44489
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -39333,6 +39333,12 @@ var FLAG_REGISTRY = [
39333
39333
  flagType: "boolean",
39334
39334
  defaultValue: true
39335
39335
  },
39336
+ {
39337
+ key: "pending-inbound-tiered-page",
39338
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
39339
+ flagType: "boolean",
39340
+ defaultValue: true
39341
+ },
39336
39342
  {
39337
39343
  key: "promise-outstanding-alarm",
39338
39344
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -39524,6 +39524,12 @@ var FLAG_REGISTRY = [
39524
39524
  flagType: "boolean",
39525
39525
  defaultValue: true
39526
39526
  },
39527
+ {
39528
+ key: "pending-inbound-tiered-page",
39529
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
39530
+ flagType: "boolean",
39531
+ defaultValue: true
39532
+ },
39527
39533
  {
39528
39534
  key: "promise-outstanding-alarm",
39529
39535
  description: 'Outstanding-interim-promise alarm (ENG-8265): when ON, the responsiveness-probe route creates a per-agent CloudWatch alarm on `PromiseOutstandingOldestAgeSeconds` \u2014 an inbound the agent acknowledged with an interim reply ("on it") and never answered substantively. Closes the blind spot where an ack satisfied channel-silent-loss, refreshed pending-inbound, and left agent_stall with no in_progress card to see, so a broken promise looked like a served request. Defaults ON (armed on deploy) because the alert it opens is `info` severity \u2014 dashboard-only, never paged \u2014 so a day-one false positive costs a visible row, not a woken human. Flip OFF from the admin Feature Flags page to disarm stage-wide; the window itself is tuned with the AUGMENTED_PROMISE_OUTSTANDING_THRESHOLD_SECONDS API tunable (default 1800).',
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-74FVXAHG.js";
72
- import "./chunk-AZ2QBMCL.js";
71
+ } from "./chunk-VGZ2SKEW.js";
72
+ import "./chunk-WAWLHUCT.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-NPW4S55O.js";
76
+ import "./chunk-I57M57XZ.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-YS5LY7YD.js.map
150
+ //# sourceMappingURL=persistent-session-VEE36NTM.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-74FVXAHG.js";
4
- import "./chunk-AZ2QBMCL.js";
3
+ } from "./chunk-VGZ2SKEW.js";
4
+ import "./chunk-WAWLHUCT.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-NPW4S55O.js";
8
+ import "./chunk-I57M57XZ.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-C3SSBQCL.js.map
807
+ //# sourceMappingURL=responsiveness-probe-ZPBEQOK5.js.map
@@ -1,5 +1,8 @@
1
1
  import {
2
+ CATCH_UP_MIN_LATENESS_MS,
3
+ catchUpNote,
2
4
  computeNextFire,
5
+ describeCatchUp,
3
6
  findTaskByTemplate,
4
7
  getProjectDir,
5
8
  getReadyTasks,
@@ -7,10 +10,13 @@ import {
7
10
  markTaskFired,
8
11
  saveSchedulerState,
9
12
  syncTasksToScheduler
10
- } from "./chunk-3HLECXMI.js";
13
+ } from "./chunk-FIGZJ6AU.js";
11
14
  import "./chunk-DGUM43GV.js";
12
15
  export {
16
+ CATCH_UP_MIN_LATENESS_MS,
17
+ catchUpNote,
13
18
  computeNextFire,
19
+ describeCatchUp,
14
20
  findTaskByTemplate,
15
21
  getProjectDir,
16
22
  getReadyTasks,
@@ -19,4 +25,4 @@ export {
19
25
  saveSchedulerState,
20
26
  syncTasksToScheduler
21
27
  };
22
- //# sourceMappingURL=scheduler-engine-M6AFZWNU.js.map
28
+ //# sourceMappingURL=scheduler-engine-5PCBGRNY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-AZ2QBMCL.js";
4
- import "./chunk-NPW4S55O.js";
3
+ } from "./chunk-WAWLHUCT.js";
4
+ import "./chunk-I57M57XZ.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-3GT7MM6J.js.map
208
+ //# sourceMappingURL=session-auth-dead-HOVWVHBB.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1234",
3
+ "version": "0.28.1235",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {