@integrity-labs/agt-cli 0.28.1184 → 0.28.1186

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 (26) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-TGHAQABK.js → chunk-2HMIFOZU.js} +2 -2
  3. package/dist/{chunk-5L2UZW22.js → chunk-B7EHZTCU.js} +2 -2
  4. package/dist/{chunk-CIZ2UI77.js → chunk-JCTPPI2Q.js} +5 -5
  5. package/dist/{chunk-2DWMFJEV.js → chunk-KKK3S2RS.js} +4 -3
  6. package/dist/{chunk-B57YZ2QD.js → chunk-TKFPMB6F.js} +21 -1
  7. package/dist/chunk-TKFPMB6F.js.map +1 -0
  8. package/dist/{claude-code-updater-JYVD3MJJ.js → claude-code-updater-F2Q5CM6R.js} +3 -3
  9. package/dist/{claude-pair-runtime-IJAQHR2V.js → claude-pair-runtime-AAK4N5Z6.js} +3 -3
  10. package/dist/lib/manager-worker.js +87 -27
  11. package/dist/lib/manager-worker.js.map +1 -1
  12. package/dist/mcp/index.js +21 -9
  13. package/dist/{persistent-session-C7632TPG.js → persistent-session-KW4SEBXV.js} +4 -4
  14. package/dist/{responsiveness-probe-NFT3GSDL.js → responsiveness-probe-34V4HLOQ.js} +4 -4
  15. package/dist/{session-auth-dead-BTGGL4MA.js → session-auth-dead-AGNAALKZ.js} +3 -3
  16. package/package.json +1 -1
  17. package/dist/chunk-B57YZ2QD.js.map +0 -1
  18. /package/dist/{chunk-TGHAQABK.js.map → chunk-2HMIFOZU.js.map} +0 -0
  19. /package/dist/{chunk-5L2UZW22.js.map → chunk-B7EHZTCU.js.map} +0 -0
  20. /package/dist/{chunk-CIZ2UI77.js.map → chunk-JCTPPI2Q.js.map} +0 -0
  21. /package/dist/{chunk-2DWMFJEV.js.map → chunk-KKK3S2RS.js.map} +0 -0
  22. /package/dist/{claude-code-updater-JYVD3MJJ.js.map → claude-code-updater-F2Q5CM6R.js.map} +0 -0
  23. /package/dist/{claude-pair-runtime-IJAQHR2V.js.map → claude-pair-runtime-AAK4N5Z6.js.map} +0 -0
  24. /package/dist/{persistent-session-C7632TPG.js.map → persistent-session-KW4SEBXV.js.map} +0 -0
  25. /package/dist/{responsiveness-probe-NFT3GSDL.js.map → responsiveness-probe-34V4HLOQ.js.map} +0 -0
  26. /package/dist/{session-auth-dead-BTGGL4MA.js.map → session-auth-dead-AGNAALKZ.js.map} +0 -0
package/dist/mcp/index.js CHANGED
@@ -48087,6 +48087,12 @@ function renderKanbanPeek(data, fallbackTeam) {
48087
48087
  function oneLine(text) {
48088
48088
  return text.replace(/[\r\n\u2028\u2029\t]+/g, " ").trim();
48089
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
+ }
48090
48096
  function renderCard(card, target, token) {
48091
48097
  const facts = [
48092
48098
  card.column === "needs_attention" ? "needs attention" : card.column,
@@ -48107,11 +48113,13 @@ function renderCard(card, target, token) {
48107
48113
  ${frameCardText(text, `${target} or whoever filed the card`, token)}`;
48108
48114
  }
48109
48115
  function renderKanbanParked(data, isLaterPage = false, token = newFrameToken()) {
48116
+ const noun = pageNoun(data.column);
48110
48117
  if (data.cards.length === 0) {
48111
- 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.`;
48112
48120
  }
48113
48121
  const lines = [
48114
- `${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.`,
48115
48123
  "Linked tickets and PRs are the references stored on the card; their current state was not looked up.",
48116
48124
  ...data.cards.map((card) => renderCard(card, data.target_agent, token))
48117
48125
  ];
@@ -48122,15 +48130,15 @@ function renderKanbanParked(data, isLaterPage = false, token = newFrameToken())
48122
48130
  }
48123
48131
  function renderKanbanParkedError(target, message) {
48124
48132
  if (/returned 404/.test(message)) {
48125
- 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.`;
48126
48134
  }
48127
48135
  if (/returned 403/.test(message) && /CONTENT_READ_BLOCKED/.test(message)) {
48128
- 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.`;
48129
48137
  }
48130
48138
  if (/returned 403/.test(message)) {
48131
- 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.`;
48132
48140
  }
48133
- return `Could not read ${target}'s parked cards: ${message}`;
48141
+ return `Could not read ${target}'s cards: ${message}`;
48134
48142
  }
48135
48143
  function parkedActParamError(params) {
48136
48144
  if (params.action === "reassign" && !params.new_owner) return "reassign needs new_owner.";
@@ -50359,10 +50367,10 @@ server.tool(
50359
50367
  );
50360
50368
  server.tool(
50361
50369
  "kanban_parked",
50362
- "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.",
50363
50371
  {
50364
50372
  target_agent: external_exports.string().describe("The agent that reports to you: its agent code_name (kebab-case) or agent UUID."),
50365
- 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.'),
50366
50374
  limit: external_exports.number().int().min(1).max(50).optional().describe("Cards per page. Default 25, maximum 50."),
50367
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.")
50368
50376
  },
@@ -50383,7 +50391,11 @@ server.tool(
50383
50391
  // Read-only: a timeout here can never have committed anything.
50384
50392
  true
50385
50393
  );
50386
- 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
+ };
50387
50399
  } catch (err) {
50388
50400
  const msg = err instanceof Error ? err.message : String(err);
50389
50401
  return { content: [{ type: "text", text: renderKanbanParkedError(params.target_agent, msg) }], isError: true };
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-2DWMFJEV.js";
72
- import "./chunk-TGHAQABK.js";
71
+ } from "./chunk-KKK3S2RS.js";
72
+ import "./chunk-2HMIFOZU.js";
73
73
  import "./chunk-OO36JBFI.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-B57YZ2QD.js";
76
+ import "./chunk-TKFPMB6F.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-C7632TPG.js.map
150
+ //# sourceMappingURL=persistent-session-KW4SEBXV.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-2DWMFJEV.js";
4
- import "./chunk-TGHAQABK.js";
3
+ } from "./chunk-KKK3S2RS.js";
4
+ import "./chunk-2HMIFOZU.js";
5
5
  import "./chunk-OO36JBFI.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-B57YZ2QD.js";
8
+ import "./chunk-TKFPMB6F.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-NFT3GSDL.js.map
807
+ //# sourceMappingURL=responsiveness-probe-34V4HLOQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-TGHAQABK.js";
4
- import "./chunk-B57YZ2QD.js";
3
+ } from "./chunk-2HMIFOZU.js";
4
+ import "./chunk-TKFPMB6F.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-BTGGL4MA.js.map
208
+ //# sourceMappingURL=session-auth-dead-AGNAALKZ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1184",
3
+ "version": "0.28.1186",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {