@integrity-labs/agt-cli 0.28.1176 → 0.28.1178

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 (38) hide show
  1. package/dist/bin/agt.js +104 -417
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-H37WRW2E.js → chunk-3XURNDW5.js} +6 -5
  4. package/dist/chunk-3XURNDW5.js.map +1 -0
  5. package/dist/{chunk-UREYP4ML.js → chunk-DAIXT5DR.js} +435 -56
  6. package/dist/chunk-DAIXT5DR.js.map +1 -0
  7. package/dist/{manager-supervisor-KIFBGETA.js → chunk-H3JMPEH7.js} +176 -8
  8. package/dist/chunk-H3JMPEH7.js.map +1 -0
  9. package/dist/{chunk-47P33SZF.js → chunk-MHSZBN6M.js} +12 -2
  10. package/dist/chunk-MHSZBN6M.js.map +1 -0
  11. package/dist/{chunk-DJNCIWVG.js → chunk-MO5JQVBG.js} +2 -2
  12. package/dist/{chunk-NHUXO5H2.js → chunk-R2NQG77N.js} +2 -2
  13. package/dist/{claude-code-updater-H7RNX6M7.js → claude-code-updater-F2O3LAWX.js} +3 -3
  14. package/dist/{claude-pair-runtime-53JY6TQX.js → claude-pair-runtime-I6KVCUBG.js} +3 -3
  15. package/dist/lib/manager-worker.js +258 -20
  16. package/dist/lib/manager-worker.js.map +1 -1
  17. package/dist/manager-supervisor-TD7E6FPC.js +26 -0
  18. package/dist/mcp/direct-chat-channel.js +4 -0
  19. package/dist/mcp/index.js +21 -8
  20. package/dist/mcp/origami.js +4 -0
  21. package/dist/mcp/slack-channel.js +4 -0
  22. package/dist/mcp/telegram-channel.js +4 -0
  23. package/dist/{persistent-session-HVYGIS5C.js → persistent-session-7HP4KOED.js} +4 -4
  24. package/dist/persistent-session-7HP4KOED.js.map +1 -0
  25. package/dist/{responsiveness-probe-OGZ6ADVR.js → responsiveness-probe-EPG7NOKI.js} +4 -4
  26. package/dist/{session-auth-dead-2JJLKURE.js → session-auth-dead-IG3MKV2W.js} +3 -3
  27. package/package.json +1 -1
  28. package/dist/chunk-47P33SZF.js.map +0 -1
  29. package/dist/chunk-H37WRW2E.js.map +0 -1
  30. package/dist/chunk-UREYP4ML.js.map +0 -1
  31. package/dist/manager-supervisor-KIFBGETA.js.map +0 -1
  32. /package/dist/{chunk-DJNCIWVG.js.map → chunk-MO5JQVBG.js.map} +0 -0
  33. /package/dist/{chunk-NHUXO5H2.js.map → chunk-R2NQG77N.js.map} +0 -0
  34. /package/dist/{claude-code-updater-H7RNX6M7.js.map → claude-code-updater-F2O3LAWX.js.map} +0 -0
  35. /package/dist/{claude-pair-runtime-53JY6TQX.js.map → claude-pair-runtime-I6KVCUBG.js.map} +0 -0
  36. /package/dist/{persistent-session-HVYGIS5C.js.map → manager-supervisor-TD7E6FPC.js.map} +0 -0
  37. /package/dist/{responsiveness-probe-OGZ6ADVR.js.map → responsiveness-probe-EPG7NOKI.js.map} +0 -0
  38. /package/dist/{session-auth-dead-2JJLKURE.js.map → session-auth-dead-IG3MKV2W.js.map} +0 -0
@@ -0,0 +1,26 @@
1
+ import {
2
+ _internals,
3
+ buildSystemUnitRepairExecStartPre,
4
+ installSupervisor,
5
+ installSystemUnit,
6
+ rewriteSupervisorApiKey,
7
+ supervisorChannelsRefusing,
8
+ supervisorStatus,
9
+ systemUnitStatus,
10
+ uninstallSupervisor,
11
+ uninstallSystemUnit
12
+ } from "./chunk-H3JMPEH7.js";
13
+ import "./chunk-DGUM43GV.js";
14
+ export {
15
+ _internals,
16
+ buildSystemUnitRepairExecStartPre,
17
+ installSupervisor,
18
+ installSystemUnit,
19
+ rewriteSupervisorApiKey,
20
+ supervisorChannelsRefusing,
21
+ supervisorStatus,
22
+ systemUnitStatus,
23
+ uninstallSupervisor,
24
+ uninstallSystemUnit
25
+ };
26
+ //# sourceMappingURL=manager-supervisor-TD7E6FPC.js.map
@@ -46722,6 +46722,10 @@ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRES
46722
46722
  var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
46723
46723
  var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
46724
46724
 
46725
+ // ../core/dist/host-keys/rotation.js
46726
+ var HOST_KEY_ROTATION_GRACE_MS = 5 * 6e4;
46727
+ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
46728
+
46725
46729
  // ../core/dist/teams/team-slug.js
46726
46730
  var TEAM_SLUG_MAX_ATTEMPTS = 20;
46727
46731
  var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
package/dist/mcp/index.js CHANGED
@@ -32319,6 +32319,10 @@ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRES
32319
32319
  var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
32320
32320
  var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
32321
32321
 
32322
+ // ../core/dist/host-keys/rotation.js
32323
+ var HOST_KEY_ROTATION_GRACE_MS = 5 * 6e4;
32324
+ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
32325
+
32322
32326
  // ../core/dist/teams/team-slug.js
32323
32327
  var TEAM_SLUG_MAX_ATTEMPTS = 20;
32324
32328
  var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
@@ -47678,13 +47682,14 @@ function cardTextAuthor(card) {
47678
47682
  // src/kanban-list-render.ts
47679
47683
  var KANBAN_LIST_DISPLAY_ORDER = [
47680
47684
  "in_progress",
47681
- "waiting",
47682
- "needs_attention",
47683
47685
  "todo",
47684
47686
  "backlog",
47687
+ "waiting",
47688
+ "needs_attention",
47685
47689
  "done",
47686
47690
  "failed"
47687
47691
  ];
47692
+ var KANBAN_SEARCH_STATUSES = [...KANBAN_LIST_DISPLAY_ORDER, "all"];
47688
47693
  function kanbanStatusLabel(status) {
47689
47694
  const labels = {
47690
47695
  backlog: "Backlog",
@@ -47801,7 +47806,9 @@ ${desc}` : head;
47801
47806
  function renderTruncationNotice(t) {
47802
47807
  if (!t?.truncated) return null;
47803
47808
  const of = typeof t.total === "number" && typeof t.shown === "number" ? `showing ${t.shown} of ${t.total} active cards` : typeof t.total === "number" ? `${t.total} active cards exist` : "this board is capped";
47804
- return `[BOARD TRUNCATED \u2014 ${of}. The counts below are a FLOOR, not a total. Do not report them as your full board; use kanban_search for history, and treat any per-status count here as "at least N".]`;
47809
+ const dropped = Object.entries(t.droppedByStatus ?? {});
47810
+ const cut = dropped.length ? ` Not shown: ${dropped.map(([status, n]) => `${n} ${status.replaceAll("_", " ")}`).join(", ")}.` : "";
47811
+ return `[BOARD TRUNCATED \u2014 ${of}. The counts below are a FLOOR, not a total. Do not report them as your full board; use kanban_search for history, and treat any per-status count here as "at least N".${cut}]`;
47805
47812
  }
47806
47813
  function renderAssignerClause(item) {
47807
47814
  const by = describeKanbanAssigner(item, { always: false });
@@ -47842,8 +47849,9 @@ ${OWED_REPLY_UNAVAILABLE_NOTE}` : empty;
47842
47849
  for (const status of order) {
47843
47850
  const group = grouped[status];
47844
47851
  if (!group?.length) continue;
47852
+ const cut = truncation?.droppedByStatus?.[status] ?? 0;
47845
47853
  lines.push(`
47846
- ## ${kanbanStatusLabel(status)} (${group.length})`);
47854
+ ## ${kanbanStatusLabel(status)} (${cut ? `${group.length} shown, ${cut} more: kanban_search with status="${status}"` : group.length})`);
47847
47855
  for (const item of group) {
47848
47856
  const owedSuffix = isOwedReplyByMe(item) ? ` [reply owed to ${item.owed_reply_from_label}]` : void 0;
47849
47857
  lines.push(renderKanbanItemLine(item, nowMs, owedSuffix));
@@ -47870,8 +47878,11 @@ ${OWED_REPLY_UNAVAILABLE_NOTE}` : empty;
47870
47878
  if (truncation?.owedReplies) lines.push(OWED_REPLY_TRUNCATED_NOTE);
47871
47879
  if (truncation?.owedRepliesUnavailable) lines.push(OWED_REPLY_UNAVAILABLE_NOTE);
47872
47880
  if (humanAssigned.length) {
47873
- lines.push(`
47874
- ## ${HUMAN_ASSIGNED_SECTION_HEADING} (${humanAssigned.length})`);
47881
+ const cutAssigned = truncation?.droppedByStatus?.["assigned_to_person"] ?? 0;
47882
+ lines.push(
47883
+ `
47884
+ ## ${HUMAN_ASSIGNED_SECTION_HEADING} (${cutAssigned ? `${humanAssigned.length} shown, ${cutAssigned} more not shown` : humanAssigned.length})`
47885
+ );
47875
47886
  lines.push(HUMAN_ASSIGNED_SECTION_NOTE);
47876
47887
  for (const item of humanAssigned) {
47877
47888
  const who = item.assignee_name ? ` [with ${item.assignee_name}]` : "";
@@ -49500,7 +49511,9 @@ server.tool(
49500
49511
  owedRepliesUnavailable: data.owed_reply_unavailable === true,
49501
49512
  truncated: data.active_truncated === true,
49502
49513
  total: data.active_total,
49503
- shown: data.active_limit
49514
+ // ENG-11547: `active_shown` can pass the limit; an older API only sends the limit.
49515
+ shown: data.active_shown ?? data.active_limit,
49516
+ droppedByStatus: data.active_dropped_by_status
49504
49517
  })
49505
49518
  }
49506
49519
  ]
@@ -49513,7 +49526,7 @@ server.tool(
49513
49526
  `Search your FULL kanban history by keyword \u2014 including done cards older than 24h that kanban_list omits. Use this BEFORE telling anyone you have "no record" of work they say you did: the board only shows the last 24h of completed cards, so "it's not on my board" does NOT mean you never did it. Each hit includes the card's result (the actual deliverable), so you can recite what you produced. An empty query returns your most recent cards across all statuses.`,
49514
49527
  {
49515
49528
  query: external_exports.string().optional().describe('Keyword to match across title, description, result, deliverable and notes (e.g. "carousels", "Caribbean Park"). Omit to get your most recent cards.'),
49516
- status: external_exports.enum(["backlog", "todo", "in_progress", "done", "failed", "all"]).optional().describe('Restrict to one status. Default "all" searches every status \u2014 leave it unset to reach old done/failed work.'),
49529
+ status: external_exports.enum(KANBAN_SEARCH_STATUSES).optional().describe('Restrict to one status. Default "all" searches every status \u2014 leave it unset to reach old done/failed work.'),
49517
49530
  since: external_exports.string().optional().describe('ISO date lower bound on created_at (e.g. "2026-06-06").'),
49518
49531
  until: external_exports.string().optional().describe("ISO date upper bound on created_at."),
49519
49532
  limit: external_exports.number().int().min(1).max(50).optional().describe("Max results (default 20, max 50).")
@@ -46228,6 +46228,10 @@ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRES
46228
46228
  var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
46229
46229
  var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
46230
46230
 
46231
+ // ../core/dist/host-keys/rotation.js
46232
+ var HOST_KEY_ROTATION_GRACE_MS = 5 * 6e4;
46233
+ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
46234
+
46231
46235
  // ../core/dist/teams/team-slug.js
46232
46236
  var TEAM_SLUG_MAX_ATTEMPTS = 20;
46233
46237
  var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
@@ -41058,6 +41058,10 @@ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRES
41058
41058
  var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
41059
41059
  var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
41060
41060
 
41061
+ // ../core/dist/host-keys/rotation.js
41062
+ var HOST_KEY_ROTATION_GRACE_MS = 5 * 6e4;
41063
+ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
41064
+
41061
41065
  // ../core/dist/teams/team-slug.js
41062
41066
  var TEAM_SLUG_MAX_ATTEMPTS = 20;
41063
41067
  var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
@@ -41269,6 +41269,10 @@ var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRES
41269
41269
  var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
41270
41270
  var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
41271
41271
 
41272
+ // ../core/dist/host-keys/rotation.js
41273
+ var HOST_KEY_ROTATION_GRACE_MS = 5 * 6e4;
41274
+ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
41275
+
41272
41276
  // ../core/dist/teams/team-slug.js
41273
41277
  var TEAM_SLUG_MAX_ATTEMPTS = 20;
41274
41278
  var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-H37WRW2E.js";
72
- import "./chunk-DJNCIWVG.js";
71
+ } from "./chunk-3XURNDW5.js";
72
+ import "./chunk-MO5JQVBG.js";
73
73
  import "./chunk-OO36JBFI.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-47P33SZF.js";
76
+ import "./chunk-MHSZBN6M.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-HVYGIS5C.js.map
150
+ //# sourceMappingURL=persistent-session-7HP4KOED.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-H37WRW2E.js";
4
- import "./chunk-DJNCIWVG.js";
3
+ } from "./chunk-3XURNDW5.js";
4
+ import "./chunk-MO5JQVBG.js";
5
5
  import "./chunk-OO36JBFI.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-47P33SZF.js";
8
+ import "./chunk-MHSZBN6M.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-OGZ6ADVR.js.map
807
+ //# sourceMappingURL=responsiveness-probe-EPG7NOKI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-DJNCIWVG.js";
4
- import "./chunk-47P33SZF.js";
3
+ } from "./chunk-MO5JQVBG.js";
4
+ import "./chunk-MHSZBN6M.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-2JJLKURE.js.map
208
+ //# sourceMappingURL=session-auth-dead-IG3MKV2W.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1176",
3
+ "version": "0.28.1178",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {