@integrity-labs/agt-cli 0.28.1317 → 0.28.1319

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 (35) hide show
  1. package/dist/{api-client-F33REB5P.js → api-client-RRGOSC4A.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-NJOFLFR4.js → chunk-4D2JQ2HP.js} +5 -5
  4. package/dist/{chunk-JX4S7KFB.js → chunk-BMHXW6TG.js} +2 -2
  5. package/dist/{chunk-JYBRZAAK.js → chunk-HGLJ2T4J.js} +2 -1
  6. package/dist/chunk-HGLJ2T4J.js.map +1 -0
  7. package/dist/{chunk-4VFHXY7W.js → chunk-PKE4GUZQ.js} +2 -2
  8. package/dist/{chunk-RNLQGD6H.js → chunk-R7ZAJKMK.js} +3 -3
  9. package/dist/{chunk-K65L7VWZ.js → chunk-RR3LB5VH.js} +9 -5
  10. package/dist/chunk-RR3LB5VH.js.map +1 -0
  11. package/dist/{claude-code-updater-OLV2OEVG.js → claude-code-updater-E5QX33MA.js} +3 -3
  12. package/dist/{claude-pair-runtime-RASVBPT3.js → claude-pair-runtime-DGLYU2HX.js} +3 -3
  13. package/dist/lib/manager-worker.js +420 -215
  14. package/dist/lib/manager-worker.js.map +1 -1
  15. package/dist/mcp/direct-chat-channel.js +16 -1
  16. package/dist/mcp/index.js +9 -0
  17. package/dist/mcp/origami.js +1 -0
  18. package/dist/mcp/slack-channel.js +1 -0
  19. package/dist/mcp/telegram-channel.js +1 -0
  20. package/dist/{persistent-session-T2BMZYPF.js → persistent-session-4AGRIK5W.js} +4 -4
  21. package/dist/{responsiveness-probe-UP33EKKX.js → responsiveness-probe-SDVMWEM3.js} +4 -4
  22. package/dist/{session-auth-dead-T57ORTYP.js → session-auth-dead-EIVQKX5X.js} +3 -3
  23. package/package.json +1 -1
  24. package/dist/chunk-JYBRZAAK.js.map +0 -1
  25. package/dist/chunk-K65L7VWZ.js.map +0 -1
  26. /package/dist/{api-client-F33REB5P.js.map → api-client-RRGOSC4A.js.map} +0 -0
  27. /package/dist/{chunk-NJOFLFR4.js.map → chunk-4D2JQ2HP.js.map} +0 -0
  28. /package/dist/{chunk-JX4S7KFB.js.map → chunk-BMHXW6TG.js.map} +0 -0
  29. /package/dist/{chunk-4VFHXY7W.js.map → chunk-PKE4GUZQ.js.map} +0 -0
  30. /package/dist/{chunk-RNLQGD6H.js.map → chunk-R7ZAJKMK.js.map} +0 -0
  31. /package/dist/{claude-code-updater-OLV2OEVG.js.map → claude-code-updater-E5QX33MA.js.map} +0 -0
  32. /package/dist/{claude-pair-runtime-RASVBPT3.js.map → claude-pair-runtime-DGLYU2HX.js.map} +0 -0
  33. /package/dist/{persistent-session-T2BMZYPF.js.map → persistent-session-4AGRIK5W.js.map} +0 -0
  34. /package/dist/{responsiveness-probe-UP33EKKX.js.map → responsiveness-probe-SDVMWEM3.js.map} +0 -0
  35. /package/dist/{session-auth-dead-T57ORTYP.js.map → session-auth-dead-EIVQKX5X.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)) {
@@ -46070,6 +46084,7 @@ var SITE_LOGIN_COOKIES = Object.freeze([
46070
46084
  Object.freeze({ host: "x.com", cookies: Object.freeze(["auth_token"]) }),
46071
46085
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
46072
46086
  ]);
46087
+ var GENERIC_SIGNIN_COOKIES = Object.freeze([".ASPXAUTH"]);
46073
46088
 
46074
46089
  // ../core/dist/browserbase/page-fetch.js
46075
46090
  var FETCH_METHODS = Object.freeze(["GET", "POST", "PUT", "PATCH", "DELETE"]);
package/dist/mcp/index.js CHANGED
@@ -29092,6 +29092,7 @@ var SITE_LOGIN_COOKIES = Object.freeze([
29092
29092
  Object.freeze({ host: "x.com", cookies: Object.freeze(["auth_token"]) }),
29093
29093
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
29094
29094
  ]);
29095
+ var GENERIC_SIGNIN_COOKIES = Object.freeze([".ASPXAUTH"]);
29095
29096
 
29096
29097
  // ../core/dist/browserbase/page-fetch.js
29097
29098
  var FETCH_METHODS = Object.freeze(["GET", "POST", "PUT", "PATCH", "DELETE"]);
@@ -65556,6 +65557,9 @@ function registerApprovalTools(server2, deps) {
65556
65557
  try {
65557
65558
  const resp = await apiPost2("/approvals", {
65558
65559
  agent_id: agentId,
65560
+ // ENG-12343: which conversation this call belongs to, so the card and its
65561
+ // resolution thread there. A hint the server validates.
65562
+ turn_context: readTurnContext(),
65559
65563
  summary: params.summary,
65560
65564
  reason: params.reason,
65561
65565
  idempotency_key: params.idempotency_key,
@@ -66428,6 +66432,9 @@ server.tool(
66428
66432
  const data = await apiPost("/host/kanban", {
66429
66433
  agent_id: AGT_AGENT_ID,
66430
66434
  run_id: AGT_RUN_ID,
66435
+ // ENG-12343: which conversation this call belongs to, from the host's turn
66436
+ // ledger. A hint the server validates against this agent's own inbound rows.
66437
+ turn_context: readTurnContext(),
66431
66438
  // ENG-10583: built in kanban-add.ts so a test can pin that
66432
66439
  // `no_channel_origin` actually reaches the server.
66433
66440
  add: [buildKanbanAddItem(params)]
@@ -66936,6 +66943,8 @@ server.tool(
66936
66943
  "/host/kanban/assign",
66937
66944
  {
66938
66945
  agent_id: AGT_AGENT_ID,
66946
+ // ENG-12343: see kanban_add.
66947
+ turn_context: readTurnContext(),
66939
66948
  target_agent: params.target_agent,
66940
66949
  // Only sent when assigning across teams — the route branches on its
66941
66950
  // presence, so omit it for the same-team path. The schema rejects empty
@@ -38927,6 +38927,7 @@ var SITE_LOGIN_COOKIES = Object.freeze([
38927
38927
  Object.freeze({ host: "x.com", cookies: Object.freeze(["auth_token"]) }),
38928
38928
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
38929
38929
  ]);
38930
+ var GENERIC_SIGNIN_COOKIES = Object.freeze([".ASPXAUTH"]);
38930
38931
 
38931
38932
  // ../core/dist/browserbase/page-fetch.js
38932
38933
  var FETCH_METHODS = Object.freeze(["GET", "POST", "PUT", "PATCH", "DELETE"]);
@@ -40271,6 +40271,7 @@ var SITE_LOGIN_COOKIES = Object.freeze([
40271
40271
  Object.freeze({ host: "x.com", cookies: Object.freeze(["auth_token"]) }),
40272
40272
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
40273
40273
  ]);
40274
+ var GENERIC_SIGNIN_COOKIES = Object.freeze([".ASPXAUTH"]);
40274
40275
 
40275
40276
  // ../core/dist/browserbase/page-fetch.js
40276
40277
  var FETCH_METHODS = Object.freeze(["GET", "POST", "PUT", "PATCH", "DELETE"]);
@@ -40737,6 +40737,7 @@ var SITE_LOGIN_COOKIES = Object.freeze([
40737
40737
  Object.freeze({ host: "x.com", cookies: Object.freeze(["auth_token"]) }),
40738
40738
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
40739
40739
  ]);
40740
+ var GENERIC_SIGNIN_COOKIES = Object.freeze([".ASPXAUTH"]);
40740
40741
 
40741
40742
  // ../core/dist/browserbase/page-fetch.js
40742
40743
  var FETCH_METHODS = Object.freeze(["GET", "POST", "PUT", "PATCH", "DELETE"]);
@@ -97,12 +97,12 @@ import {
97
97
  writeDirectChatSessionState,
98
98
  writeEgressAllowlist,
99
99
  writePersistentClaudeWrapper
100
- } from "./chunk-K65L7VWZ.js";
101
- import "./chunk-JX4S7KFB.js";
100
+ } from "./chunk-RR3LB5VH.js";
101
+ import "./chunk-BMHXW6TG.js";
102
102
  import "./chunk-XL2HPM67.js";
103
103
  import "./chunk-6HBXEJHO.js";
104
104
  import "./chunk-XWVM4KPK.js";
105
- import "./chunk-JYBRZAAK.js";
105
+ import "./chunk-HGLJ2T4J.js";
106
106
  import "./chunk-AIUIMEUS.js";
107
107
  import "./chunk-DGUM43GV.js";
108
108
  export {
@@ -205,4 +205,4 @@ export {
205
205
  writeEgressAllowlist,
206
206
  writePersistentClaudeWrapper
207
207
  };
208
- //# sourceMappingURL=persistent-session-T2BMZYPF.js.map
208
+ //# sourceMappingURL=persistent-session-4AGRIK5W.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-K65L7VWZ.js";
4
- import "./chunk-JX4S7KFB.js";
3
+ } from "./chunk-RR3LB5VH.js";
4
+ import "./chunk-BMHXW6TG.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-HGLJ2T4J.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-UP33EKKX.js.map
807
+ //# sourceMappingURL=responsiveness-probe-SDVMWEM3.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-BMHXW6TG.js";
4
+ import "./chunk-HGLJ2T4J.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-EIVQKX5X.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1317",
3
+ "version": "0.28.1319",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {