@integrity-labs/agt-cli 0.28.1316 → 0.28.1318

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 (32) hide show
  1. package/dist/{api-client-CXLMRGYB.js → api-client-2MEHL5RP.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-2PCQX3FQ.js → chunk-2FY3WW6O.js} +3 -3
  4. package/dist/{chunk-JX4S7KFB.js → chunk-4ATDVGN4.js} +2 -2
  5. package/dist/{chunk-BSZRE4X6.js → chunk-AABYEBCU.js} +23 -3
  6. package/dist/chunk-AABYEBCU.js.map +1 -0
  7. package/dist/{chunk-4VFHXY7W.js → chunk-K4HGH6N2.js} +2 -2
  8. package/dist/{chunk-SXTB4L3V.js → chunk-KJNJNMRY.js} +5 -5
  9. package/dist/{chunk-JYBRZAAK.js → chunk-U6WANH5Z.js} +1 -1
  10. package/dist/chunk-U6WANH5Z.js.map +1 -0
  11. package/dist/{claude-code-updater-OLV2OEVG.js → claude-code-updater-BIBCDTQX.js} +3 -3
  12. package/dist/{claude-pair-runtime-QA3AUNBF.js → claude-pair-runtime-OR72T4SI.js} +3 -3
  13. package/dist/lib/manager-worker.js +135 -49
  14. package/dist/lib/manager-worker.js.map +1 -1
  15. package/dist/mcp/direct-chat-channel.js +15 -1
  16. package/dist/mcp/index.js +8 -0
  17. package/dist/{persistent-session-K5WFQVXD.js → persistent-session-PZI32TLO.js} +8 -4
  18. package/dist/{responsiveness-probe-Q5PDMK2L.js → responsiveness-probe-MJOASK7A.js} +4 -4
  19. package/dist/{session-auth-dead-T57ORTYP.js → session-auth-dead-KYFRPM4G.js} +3 -3
  20. package/package.json +1 -1
  21. package/dist/chunk-BSZRE4X6.js.map +0 -1
  22. package/dist/chunk-JYBRZAAK.js.map +0 -1
  23. /package/dist/{api-client-CXLMRGYB.js.map → api-client-2MEHL5RP.js.map} +0 -0
  24. /package/dist/{chunk-2PCQX3FQ.js.map → chunk-2FY3WW6O.js.map} +0 -0
  25. /package/dist/{chunk-JX4S7KFB.js.map → chunk-4ATDVGN4.js.map} +0 -0
  26. /package/dist/{chunk-4VFHXY7W.js.map → chunk-K4HGH6N2.js.map} +0 -0
  27. /package/dist/{chunk-SXTB4L3V.js.map → chunk-KJNJNMRY.js.map} +0 -0
  28. /package/dist/{claude-code-updater-OLV2OEVG.js.map → claude-code-updater-BIBCDTQX.js.map} +0 -0
  29. /package/dist/{claude-pair-runtime-QA3AUNBF.js.map → claude-pair-runtime-OR72T4SI.js.map} +0 -0
  30. /package/dist/{persistent-session-K5WFQVXD.js.map → persistent-session-PZI32TLO.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-Q5PDMK2L.js.map → responsiveness-probe-MJOASK7A.js.map} +0 -0
  32. /package/dist/{session-auth-dead-T57ORTYP.js.map → session-auth-dead-KYFRPM4G.js.map} +0 -0
@@ -45577,6 +45577,13 @@ var DIRECT_CHAT_UPLOAD_TYPES = {
45577
45577
  "application/pdf": { ext: "pdf", kind: "document" },
45578
45578
  "text/plain": { ext: "txt", kind: "document" },
45579
45579
  "text/csv": { ext: "csv", kind: "document" },
45580
+ // CS-2697: Markdown. Plain UTF-8 text, so it shares text/plain's byte check (no
45581
+ // binary signature, no NULs) and reaches the agent as a readable text file.
45582
+ // `document` ONLY: a download chip, never rendered (Markdown is not HTML, and
45583
+ // nothing in the webapp turns an uploaded .md into markup). `.markdown` is an
45584
+ // alias of the canonical `.md`, and a declared `text/x-markdown` is read as
45585
+ // this type (see DECLARED_TYPE_ALIASES).
45586
+ "text/markdown": { ext: "md", kind: "document" },
45580
45587
  // ENG-11894: a web page, so a customer can hand an agent a dashboard to publish.
45581
45588
  // `document` ONLY: never a thumbnail, never rendered inline, always downloaded
45582
45589
  // (and served as application/octet-stream, see DIRECT_CHAT_ACTIVE_CONTENT_TYPES).
@@ -45623,9 +45630,16 @@ var OOXML_EXTS = /* @__PURE__ */ new Set(["docx", "xlsx", "pptx"]);
45623
45630
  function normalizeUploadContentType(contentType) {
45624
45631
  return (contentType ?? "").trim().toLowerCase();
45625
45632
  }
45633
+ var EXTENSION_ALIASES = {
45634
+ jpeg: "jpg",
45635
+ htm: "html",
45636
+ // ENG-11894
45637
+ markdown: "md"
45638
+ // CS-2697
45639
+ };
45626
45640
  function contentTypeForExtension(ext) {
45627
45641
  const e = (ext ?? "").trim().toLowerCase().replace(/^\./, "");
45628
- const want = e === "jpeg" ? "jpg" : e === "htm" ? "html" : e;
45642
+ const want = EXTENSION_ALIASES[e] ?? e;
45629
45643
  if (!want)
45630
45644
  return null;
45631
45645
  for (const [contentType, spec] of Object.entries(DIRECT_CHAT_UPLOAD_TYPES)) {
package/dist/mcp/index.js CHANGED
@@ -65556,6 +65556,9 @@ function registerApprovalTools(server2, deps) {
65556
65556
  try {
65557
65557
  const resp = await apiPost2("/approvals", {
65558
65558
  agent_id: agentId,
65559
+ // ENG-12343: which conversation this call belongs to, so the card and its
65560
+ // resolution thread there. A hint the server validates.
65561
+ turn_context: readTurnContext(),
65559
65562
  summary: params.summary,
65560
65563
  reason: params.reason,
65561
65564
  idempotency_key: params.idempotency_key,
@@ -66428,6 +66431,9 @@ server.tool(
66428
66431
  const data = await apiPost("/host/kanban", {
66429
66432
  agent_id: AGT_AGENT_ID,
66430
66433
  run_id: AGT_RUN_ID,
66434
+ // ENG-12343: which conversation this call belongs to, from the host's turn
66435
+ // ledger. A hint the server validates against this agent's own inbound rows.
66436
+ turn_context: readTurnContext(),
66431
66437
  // ENG-10583: built in kanban-add.ts so a test can pin that
66432
66438
  // `no_channel_origin` actually reaches the server.
66433
66439
  add: [buildKanbanAddItem(params)]
@@ -66936,6 +66942,8 @@ server.tool(
66936
66942
  "/host/kanban/assign",
66937
66943
  {
66938
66944
  agent_id: AGT_AGENT_ID,
66945
+ // ENG-12343: see kanban_add.
66946
+ turn_context: readTurnContext(),
66939
66947
  target_agent: params.target_agent,
66940
66948
  // Only sent when assigning across teams — the route branches on its
66941
66949
  // presence, so omit it for the same-team path. The schema rejects empty
@@ -9,6 +9,7 @@ import {
9
9
  PANE_AGENT_ID_PROBE_TIMEOUT_MS,
10
10
  REQUIRED_SPAWN_ENV,
11
11
  SEND_KEYS_ENTER_DELAY_MS,
12
+ SPAWN_LAUNCH_FENCED,
12
13
  SPAWN_SUPERSEDED,
13
14
  TMUX_BOOTSTRAP_HOLD_CMD,
14
15
  TMUX_BOOTSTRAP_SESSION_PREFIX,
@@ -53,6 +54,7 @@ import {
53
54
  killStragglerProcess,
54
55
  killTmuxSessionBounded,
55
56
  launchStartMs,
57
+ markLaunchFenced,
56
58
  nextObservation,
57
59
  nextSpawnGeneration,
58
60
  olderSessionProcessFromPs,
@@ -95,12 +97,12 @@ import {
95
97
  writeDirectChatSessionState,
96
98
  writeEgressAllowlist,
97
99
  writePersistentClaudeWrapper
98
- } from "./chunk-BSZRE4X6.js";
99
- import "./chunk-JX4S7KFB.js";
100
+ } from "./chunk-AABYEBCU.js";
101
+ import "./chunk-4ATDVGN4.js";
100
102
  import "./chunk-XL2HPM67.js";
101
103
  import "./chunk-6HBXEJHO.js";
102
104
  import "./chunk-XWVM4KPK.js";
103
- import "./chunk-JYBRZAAK.js";
105
+ import "./chunk-U6WANH5Z.js";
104
106
  import "./chunk-AIUIMEUS.js";
105
107
  import "./chunk-DGUM43GV.js";
106
108
  export {
@@ -114,6 +116,7 @@ export {
114
116
  PANE_AGENT_ID_PROBE_TIMEOUT_MS,
115
117
  REQUIRED_SPAWN_ENV,
116
118
  SEND_KEYS_ENTER_DELAY_MS,
119
+ SPAWN_LAUNCH_FENCED,
117
120
  SPAWN_SUPERSEDED,
118
121
  TMUX_BOOTSTRAP_HOLD_CMD,
119
122
  TMUX_BOOTSTRAP_SESSION_PREFIX,
@@ -158,6 +161,7 @@ export {
158
161
  killStragglerProcess,
159
162
  killTmuxSessionBounded,
160
163
  launchStartMs,
164
+ markLaunchFenced,
161
165
  nextObservation,
162
166
  nextSpawnGeneration,
163
167
  olderSessionProcessFromPs,
@@ -201,4 +205,4 @@ export {
201
205
  writeEgressAllowlist,
202
206
  writePersistentClaudeWrapper
203
207
  };
204
- //# sourceMappingURL=persistent-session-K5WFQVXD.js.map
208
+ //# sourceMappingURL=persistent-session-PZI32TLO.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-BSZRE4X6.js";
4
- import "./chunk-JX4S7KFB.js";
3
+ } from "./chunk-AABYEBCU.js";
4
+ import "./chunk-4ATDVGN4.js";
5
5
  import "./chunk-XL2HPM67.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-JYBRZAAK.js";
8
+ import "./chunk-U6WANH5Z.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-Q5PDMK2L.js.map
807
+ //# sourceMappingURL=responsiveness-probe-MJOASK7A.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-JX4S7KFB.js";
4
- import "./chunk-JYBRZAAK.js";
3
+ } from "./chunk-4ATDVGN4.js";
4
+ import "./chunk-U6WANH5Z.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-T57ORTYP.js.map
208
+ //# sourceMappingURL=session-auth-dead-KYFRPM4G.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1316",
3
+ "version": "0.28.1318",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {