@integrity-labs/agt-cli 0.28.1183 → 0.28.1185

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-D4SFIYLR.js → chunk-2DWMFJEV.js} +3 -3
  3. package/dist/{chunk-44ZVQZCD.js → chunk-5L2UZW22.js} +2 -2
  4. package/dist/{chunk-VWQ4Y6AV.js → chunk-B57YZ2QD.js} +7 -3
  5. package/dist/{chunk-VWQ4Y6AV.js.map → chunk-B57YZ2QD.js.map} +1 -1
  6. package/dist/{chunk-3QZQ2QUY.js → chunk-H6GFABQZ.js} +5 -5
  7. package/dist/{chunk-6N4BQN7E.js → chunk-TGHAQABK.js} +7 -2
  8. package/dist/{chunk-6N4BQN7E.js.map → chunk-TGHAQABK.js.map} +1 -1
  9. package/dist/{claude-code-updater-RZZNG4MI.js → claude-code-updater-JYVD3MJJ.js} +3 -3
  10. package/dist/{claude-pair-runtime-N4XK2FPH.js → claude-pair-runtime-IJAQHR2V.js} +3 -3
  11. package/dist/lib/manager-worker.js +173 -99
  12. package/dist/lib/manager-worker.js.map +1 -1
  13. package/dist/mcp/direct-chat-channel.js +2 -1
  14. package/dist/mcp/index.js +23 -10
  15. package/dist/mcp/origami.js +2 -1
  16. package/dist/mcp/slack-channel.js +2 -1
  17. package/dist/mcp/telegram-channel.js +2 -1
  18. package/dist/{persistent-session-3FNAHCU3.js → persistent-session-C7632TPG.js} +4 -4
  19. package/dist/{responsiveness-probe-4Y4OUCB4.js → responsiveness-probe-NFT3GSDL.js} +4 -4
  20. package/dist/{session-auth-dead-BOVLUG7N.js → session-auth-dead-BTGGL4MA.js} +3 -3
  21. package/package.json +1 -1
  22. /package/dist/{chunk-D4SFIYLR.js.map → chunk-2DWMFJEV.js.map} +0 -0
  23. /package/dist/{chunk-44ZVQZCD.js.map → chunk-5L2UZW22.js.map} +0 -0
  24. /package/dist/{chunk-3QZQ2QUY.js.map → chunk-H6GFABQZ.js.map} +0 -0
  25. /package/dist/{claude-code-updater-RZZNG4MI.js.map → claude-code-updater-JYVD3MJJ.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-N4XK2FPH.js.map → claude-pair-runtime-IJAQHR2V.js.map} +0 -0
  27. /package/dist/{persistent-session-3FNAHCU3.js.map → persistent-session-C7632TPG.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-4Y4OUCB4.js.map → responsiveness-probe-NFT3GSDL.js.map} +0 -0
  29. /package/dist/{session-auth-dead-BOVLUG7N.js.map → session-auth-dead-BTGGL4MA.js.map} +0 -0
@@ -43376,7 +43376,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
43376
43376
  lastToolName: null,
43377
43377
  lastToolAtMs: null,
43378
43378
  lastCompletedTurnAtMs: null,
43379
- newestTurnOpen: false
43379
+ newestTurnOpen: false,
43380
+ hasTurn: false
43380
43381
  });
43381
43382
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
43382
43383
 
package/dist/mcp/index.js CHANGED
@@ -28967,7 +28967,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
28967
28967
  lastToolName: null,
28968
28968
  lastToolAtMs: null,
28969
28969
  lastCompletedTurnAtMs: null,
28970
- newestTurnOpen: false
28970
+ newestTurnOpen: false,
28971
+ hasTurn: false
28971
28972
  });
28972
28973
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
28973
28974
 
@@ -48086,6 +48087,12 @@ function renderKanbanPeek(data, fallbackTeam) {
48086
48087
  function oneLine(text) {
48087
48088
  return text.replace(/[\r\n\u2028\u2029\t]+/g, " ").trim();
48088
48089
  }
48090
+ function pageNoun(column) {
48091
+ if (column === "active") return "active";
48092
+ if (column === "in_progress") return "in-progress";
48093
+ if (column === "todo" || column === "backlog") return column;
48094
+ return "parked";
48095
+ }
48089
48096
  function renderCard(card, target, token) {
48090
48097
  const facts = [
48091
48098
  card.column === "needs_attention" ? "needs attention" : card.column,
@@ -48106,11 +48113,13 @@ function renderCard(card, target, token) {
48106
48113
  ${frameCardText(text, `${target} or whoever filed the card`, token)}`;
48107
48114
  }
48108
48115
  function renderKanbanParked(data, isLaterPage = false, token = newFrameToken()) {
48116
+ const noun = pageNoun(data.column);
48109
48117
  if (data.cards.length === 0) {
48110
- return isLaterPage ? `${data.target_agent} has no more parked cards.` : `${data.target_agent} has no parked cards (needs attention or waiting).`;
48118
+ if (isLaterPage) return `${data.target_agent} has no more ${noun} cards.`;
48119
+ return noun === "parked" && data.column === void 0 ? `${data.target_agent} has no parked cards (needs attention or waiting).` : noun === "active" ? `${data.target_agent} has no active cards (in progress, todo or backlog).` : `${data.target_agent} has no ${noun === "parked" ? (data.column ?? "").replace("_", " ") : noun} cards.`;
48111
48120
  }
48112
48121
  const lines = [
48113
- `${data.target_agent}: ${data.cards.length} parked card${data.cards.length === 1 ? "" : "s"}, oldest first.`,
48122
+ `${data.target_agent}: ${data.cards.length} ${noun} card${data.cards.length === 1 ? "" : "s"}, oldest first.`,
48114
48123
  "Linked tickets and PRs are the references stored on the card; their current state was not looked up.",
48115
48124
  ...data.cards.map((card) => renderCard(card, data.target_agent, token))
48116
48125
  ];
@@ -48121,15 +48130,15 @@ function renderKanbanParked(data, isLaterPage = false, token = newFrameToken())
48121
48130
  }
48122
48131
  function renderKanbanParkedError(target, message) {
48123
48132
  if (/returned 404/.test(message)) {
48124
- return `Could not read parked cards: no agent "${target}" found on your team. Check the code_name and make sure they're a teammate on the same team.`;
48133
+ return `Could not read cards: no agent "${target}" found on your team. Check the code_name and make sure they're a teammate on the same team.`;
48125
48134
  }
48126
48135
  if (/returned 403/.test(message) && /CONTENT_READ_BLOCKED/.test(message)) {
48127
- return `Could not read ${target}'s parked cards: it is a manager-only agent, so only its human manager can read its cards. kanban_peek still gives you the counts.`;
48136
+ return `Could not read ${target}'s cards: it is a manager-only agent, so only its human manager can read its cards. kanban_peek still gives you the counts.`;
48128
48137
  }
48129
48138
  if (/returned 403/.test(message)) {
48130
- return `Could not read ${target}'s parked cards: only its direct reports-to manager can. kanban_peek still gives you the counts.`;
48139
+ return `Could not read ${target}'s cards: only its direct reports-to manager can. kanban_peek still gives you the counts.`;
48131
48140
  }
48132
- return `Could not read ${target}'s parked cards: ${message}`;
48141
+ return `Could not read ${target}'s cards: ${message}`;
48133
48142
  }
48134
48143
  function parkedActParamError(params) {
48135
48144
  if (params.action === "reassign" && !params.new_owner) return "reassign needs new_owner.";
@@ -50358,10 +50367,10 @@ server.tool(
50358
50367
  );
50359
50368
  server.tool(
50360
50369
  "kanban_parked",
50361
- "List the cards parked on an agent that reports directly to you: its needs_attention and waiting cards, oldest first. Each card shows its title, column, age, why it was parked where that is recorded (origin, waiting kind, waiting-on line), and the ticket or PR reference stored on it. Read-only: it changes nothing on the board. It never returns descriptions, results or notes. References are as stored, with no live ticket or PR state, and a linked reference can be a chat thread rather than a ticket. Only the direct reports-to manager can read this, the agent must be on your own team, and a manager-only agent refuses it. Use kanban_peek for counts on any teammate. Don't know the agent's code_name? Call directory_lookup first.",
50370
+ "List the cards of an agent that reports directly to you, oldest first. By default its parked cards (needs_attention and waiting); pass column for its active cards, for example to find out what a todo card sitting for hours is. Each card shows its title, column, age, why it was parked where that is recorded (origin, waiting kind, waiting-on line), and the ticket or PR reference stored on it. Read-only: it changes nothing on the board. It never returns descriptions, results or notes. References are as stored, with no live ticket or PR state, and a linked reference can be a chat thread rather than a ticket. Only the direct reports-to manager can read this, the agent must be on your own team, and a manager-only agent refuses it. Use kanban_peek for counts on any teammate. Don't know the agent's code_name? Call directory_lookup first.",
50362
50371
  {
50363
50372
  target_agent: external_exports.string().describe("The agent that reports to you: its agent code_name (kebab-case) or agent UUID."),
50364
- column: external_exports.enum(["needs_attention", "waiting"]).optional().describe("Only this column. Omit for both."),
50373
+ column: external_exports.enum(["needs_attention", "waiting", "in_progress", "todo", "backlog", "active"]).optional().describe('Only this column. "active" means in_progress, todo and backlog together. Omit for needs_attention and waiting.'),
50365
50374
  limit: external_exports.number().int().min(1).max(50).optional().describe("Cards per page. Default 25, maximum 50."),
50366
50375
  cursor: external_exports.string().min(1).optional().describe("The cursor from the previous page, to read the next one. Keep column the same between pages.")
50367
50376
  },
@@ -50382,7 +50391,11 @@ server.tool(
50382
50391
  // Read-only: a timeout here can never have committed anything.
50383
50392
  true
50384
50393
  );
50385
- return { content: [{ type: "text", text: renderKanbanParked(data, params.cursor !== void 0) }] };
50394
+ return {
50395
+ content: [
50396
+ { type: "text", text: renderKanbanParked({ ...data, column: params.column }, params.cursor !== void 0) }
50397
+ ]
50398
+ };
50386
50399
  } catch (err) {
50387
50400
  const msg = err instanceof Error ? err.message : String(err);
50388
50401
  return { content: [{ type: "text", text: renderKanbanParkedError(params.target_agent, msg) }], isError: true };
@@ -42915,7 +42915,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
42915
42915
  lastToolName: null,
42916
42916
  lastToolAtMs: null,
42917
42917
  lastCompletedTurnAtMs: null,
42918
- newestTurnOpen: false
42918
+ newestTurnOpen: false,
42919
+ hasTurn: false
42919
42920
  });
42920
42921
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
42921
42922
 
@@ -37710,7 +37710,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
37710
37710
  lastToolName: null,
37711
37711
  lastToolAtMs: null,
37712
37712
  lastCompletedTurnAtMs: null,
37713
- newestTurnOpen: false
37713
+ newestTurnOpen: false,
37714
+ hasTurn: false
37714
37715
  });
37715
37716
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
37716
37717
 
@@ -37921,7 +37921,8 @@ var NO_TRANSCRIPT_ACTIVITY = Object.freeze({
37921
37921
  lastToolName: null,
37922
37922
  lastToolAtMs: null,
37923
37923
  lastCompletedTurnAtMs: null,
37924
- newestTurnOpen: false
37924
+ newestTurnOpen: false,
37925
+ hasTurn: false
37925
37926
  });
37926
37927
  var AGENT_STATUS_STALE_MS = 10 * 60 * 1e3;
37927
37928
 
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-D4SFIYLR.js";
72
- import "./chunk-6N4BQN7E.js";
71
+ } from "./chunk-2DWMFJEV.js";
72
+ import "./chunk-TGHAQABK.js";
73
73
  import "./chunk-OO36JBFI.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-VWQ4Y6AV.js";
76
+ import "./chunk-B57YZ2QD.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-3FNAHCU3.js.map
150
+ //# sourceMappingURL=persistent-session-C7632TPG.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-D4SFIYLR.js";
4
- import "./chunk-6N4BQN7E.js";
3
+ } from "./chunk-2DWMFJEV.js";
4
+ import "./chunk-TGHAQABK.js";
5
5
  import "./chunk-OO36JBFI.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-VWQ4Y6AV.js";
8
+ import "./chunk-B57YZ2QD.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-4Y4OUCB4.js.map
807
+ //# sourceMappingURL=responsiveness-probe-NFT3GSDL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-6N4BQN7E.js";
4
- import "./chunk-VWQ4Y6AV.js";
3
+ } from "./chunk-TGHAQABK.js";
4
+ import "./chunk-B57YZ2QD.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-BOVLUG7N.js.map
208
+ //# sourceMappingURL=session-auth-dead-BTGGL4MA.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1183",
3
+ "version": "0.28.1185",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {