@agenticmail/enterprise 0.5.324 → 0.5.326

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 (449) hide show
  1. package/dist/{agent-heartbeat-77N4OOQL.js → agent-heartbeat-ZFKA6GMI.js} +2 -2
  2. package/dist/{agent-tools-BNSTIK4P.js → agent-tools-R6RSBDJQ.js} +25 -25
  3. package/dist/{agenticmail-EDO5XOTP.js → agenticmail-QMWQNUY2.js} +1 -1
  4. package/dist/{browser-tool-JF3LNRGX.js → browser-tool-4KWE37RL.js} +4 -4
  5. package/dist/{chunk-JEGYVXYC.js → chunk-CQV7GGHT.js} +1 -1
  6. package/dist/{chunk-CQYLRIQ3.js → chunk-DWHJYAV6.js} +143 -26
  7. package/dist/{chunk-HKCKMCPY.js → chunk-G4YSECQ4.js} +2 -2
  8. package/dist/{chunk-DM7FTF7W.js → chunk-GNABVGDZ.js} +31 -32
  9. package/dist/{chunk-DMD24UFZ.js → chunk-HTT6LUPP.js} +19 -19
  10. package/dist/{chunk-3FMK32KQ.js → chunk-LHQP7QRX.js} +9 -9
  11. package/dist/{chunk-6C5PKREN.js → chunk-NOAQG5CY.js} +1 -1
  12. package/dist/{chunk-4EKXYIJF.js → chunk-PAHT4ABL.js} +4 -4
  13. package/dist/{chunk-JNMDD7JY.js → chunk-RHO7WRVJ.js} +5 -5
  14. package/dist/{chunk-BQM7MBPS.js → chunk-WYDVMFGJ.js} +5 -5
  15. package/dist/{chunk-TPLVQFXM.js → chunk-X2YL6KSY.js} +13 -13
  16. package/dist/{cli-agent-USMKX7WN.js → cli-agent-2NBPF3GN.js} +11 -11
  17. package/dist/{cli-recover-XEZ2SKPU.js → cli-recover-TTOR7CJR.js} +2 -2
  18. package/dist/{cli-serve-BDGOOOKQ.js → cli-serve-5VFU4GR4.js} +3 -3
  19. package/dist/{cli-verify-CZIITRED.js → cli-verify-WICBVLAM.js} +2 -2
  20. package/dist/cli.js +5 -5
  21. package/dist/{connection-manager-KAWEUWUR.js → connection-manager-Y7CCQK4X.js} +1 -1
  22. package/dist/dashboard/docs/cluster.html +285 -0
  23. package/dist/dashboard/pages/cluster.js +400 -69
  24. package/dist/{deployer-3YK4RPUL.js → deployer-7NG7LCJW.js} +1 -1
  25. package/dist/{factory-JFWXTAWK.js → factory-4V2W4BSV.js} +1 -1
  26. package/dist/index.js +9 -9
  27. package/dist/{integrations-TF4EBCJ7.js → integrations-V2WXFDIV.js} +13 -13
  28. package/dist/{local-6MLIZDKO.js → local-OXFH4V7E.js} +2 -2
  29. package/dist/{meeting-voice-intelligence-CJLR52YV.js → meeting-voice-intelligence-RZZCAD6G.js} +2 -2
  30. package/dist/{meetings-FJ453ENF.js → meetings-SQNTB6GD.js} +1 -1
  31. package/dist/{microsoft-2IIHDLJB.js → microsoft-2PDVV6HX.js} +3 -3
  32. package/dist/{postgres-WGUVC2S7.js → postgres-USXBPTHX.js} +2 -2
  33. package/dist/{pw-ai-IBEF6HBF.js → pw-ai-NK5GKBDG.js} +1 -1
  34. package/dist/{routes-XYR2RNEC.js → routes-T3CDAQTD.js} +4 -4
  35. package/dist/{runtime-6BULDBR3.js → runtime-X4BTVICL.js} +1 -1
  36. package/dist/{server-7NT4LMSQ.js → server-WQ6LLYGB.js} +5 -5
  37. package/dist/{setup-2JBXMUDS.js → setup-6DRKSOMH.js} +2 -2
  38. package/dist/{skills-FR7I5V7H.js → skills-EL4RTJKK.js} +1 -1
  39. package/logs/cloudflared-error.log +14 -0
  40. package/logs/enterprise-out.log +2 -0
  41. package/package.json +1 -1
  42. package/src/admin/routes.ts +1 -1
  43. package/src/agent-tools/tool-resolver.ts +1 -1
  44. package/src/agent-tools/tools/agenticmail.ts +2 -2
  45. package/src/agent-tools/tools/browser.ts +1 -1
  46. package/src/agent-tools/tools/enterprise-code-sandbox.ts +1 -1
  47. package/src/agent-tools/tools/enterprise-diff.ts +1 -1
  48. package/src/agent-tools/tools/enterprise-http.ts +1 -3
  49. package/src/agent-tools/tools/enterprise-security-scan.ts +1 -1
  50. package/src/agent-tools/tools/google/forms.ts +2 -2
  51. package/src/agent-tools/tools/google/gmail.ts +1 -1
  52. package/src/agent-tools/tools/google/maps.ts +2 -2
  53. package/src/agent-tools/tools/google/meeting-voice.ts +1 -1
  54. package/src/agent-tools/tools/google/meetings.ts +1 -1
  55. package/src/agent-tools/tools/google/slides.ts +2 -2
  56. package/src/agent-tools/tools/grep.ts +1 -1
  57. package/src/agent-tools/tools/knowledge-search.ts +1 -1
  58. package/src/agent-tools/tools/local/coding.ts +5 -5
  59. package/src/agent-tools/tools/microsoft/excel-vba.ts +1 -1
  60. package/src/agent-tools/tools/microsoft/excel.ts +1 -1
  61. package/src/agent-tools/tools/microsoft/powerpoint.ts +1 -1
  62. package/src/agent-tools/tools/visual-memory/index.ts +11 -11
  63. package/src/agent-tools/tools/visual-memory/similarity.ts +2 -2
  64. package/src/agent-tools/tools/visual-memory/storage.ts +1 -1
  65. package/src/agenticmail/providers/imap.ts +2 -2
  66. package/src/browser/enterprise-compat.ts +1 -1
  67. package/src/cli-agent.ts +3 -3
  68. package/src/cli-serve.ts +1 -1
  69. package/src/dashboard/docs/cluster.html +285 -0
  70. package/src/dashboard/pages/cluster.js +400 -69
  71. package/src/database-access/connection-manager.ts +6 -6
  72. package/src/database-access/routes.ts +0 -1
  73. package/src/db/dynamodb.ts +1 -1
  74. package/src/db/postgres.ts +2 -2
  75. package/src/deploy/fly.ts +4 -4
  76. package/src/deploy/managed.ts +0 -1
  77. package/src/engine/agent-config.ts +1 -1
  78. package/src/engine/agent-heartbeat.ts +1 -1
  79. package/src/engine/agent-hierarchy.ts +1 -1
  80. package/src/engine/agent-memory.ts +1 -1
  81. package/src/engine/agent-routes.ts +2 -2
  82. package/src/engine/chat-poller.ts +1 -1
  83. package/src/engine/cluster.ts +14 -1
  84. package/src/engine/community-registry.ts +2 -2
  85. package/src/engine/db-adapter.ts +0 -1
  86. package/src/engine/deployer.ts +8 -8
  87. package/src/engine/email-poller.ts +1 -1
  88. package/src/engine/knowledge-contribution.ts +1 -1
  89. package/src/engine/knowledge-import/import-manager.ts +2 -3
  90. package/src/engine/knowledge-import/processors/extract-github.ts +1 -1
  91. package/src/engine/knowledge-import/processors/extract-sharepoint.ts +1 -1
  92. package/src/engine/knowledge-import/processors/validate.ts +1 -1
  93. package/src/engine/lifecycle.ts +1 -1
  94. package/src/engine/meeting-monitor.ts +2 -2
  95. package/src/engine/meeting-voice-intelligence.ts +3 -3
  96. package/src/engine/messaging-poller.ts +2 -2
  97. package/src/engine/org-integration-routes.ts +2 -2
  98. package/src/engine/org-integrations.ts +1 -1
  99. package/src/engine/routes.ts +119 -1
  100. package/src/engine/skills.ts +1 -1
  101. package/src/engine/tool-catalog.ts +1 -1
  102. package/src/engine/vault-routes.ts +1 -1
  103. package/src/engine/vault.ts +1 -1
  104. package/src/mcp/adapters/adp.adapter.ts +1 -1
  105. package/src/mcp/adapters/auth0.adapter.ts +1 -1
  106. package/src/mcp/adapters/clickup.adapter.ts +1 -1
  107. package/src/mcp/adapters/close.adapter.ts +1 -1
  108. package/src/mcp/adapters/firebase.adapter.ts +1 -1
  109. package/src/mcp/adapters/google-ads.adapter.ts +1 -1
  110. package/src/mcp/adapters/kubernetes.adapter.ts +1 -1
  111. package/src/mcp/adapters/mixpanel.adapter.ts +1 -1
  112. package/src/mcp/adapters/recurly.adapter.ts +1 -1
  113. package/src/mcp/adapters/sap.adapter.ts +2 -2
  114. package/src/mcp/adapters/shortcut.adapter.ts +1 -1
  115. package/src/mcp/adapters/snowflake.adapter.ts +1 -1
  116. package/src/mcp/adapters/stripe.adapter.ts +1 -1
  117. package/src/mcp/adapters/supabase.adapter.ts +1 -1
  118. package/src/mcp/adapters/zuora.adapter.ts +1 -1
  119. package/src/middleware/request-limits.ts +1 -1
  120. package/src/runtime/agent-loop.ts +3 -3
  121. package/src/runtime/compaction.ts +2 -2
  122. package/src/runtime/followup.ts +1 -1
  123. package/src/runtime/hooks.ts +3 -3
  124. package/src/runtime/index.ts +5 -6
  125. package/src/runtime/llm-client.ts +1 -1
  126. package/src/runtime/subagent.ts +0 -1
  127. package/src/runtime/types.ts +2 -0
  128. package/src/security/brute-force.ts +1 -1
  129. package/src/security/csp.ts +1 -1
  130. package/src/security/index.ts +3 -3
  131. package/src/security/input-sanitizer.ts +1 -1
  132. package/src/security/threat-logger.ts +2 -2
  133. package/src/server.ts +2 -2
  134. package/src/setup/database.ts +1 -1
  135. package/src/setup/index.ts +1 -2
  136. package/src/setup/provision.ts +1 -1
  137. package/dist/_seed-data-FQR5PY2W.js +0 -4554
  138. package/dist/agent-heartbeat-3FWNHZFX.js +0 -510
  139. package/dist/agent-heartbeat-4RWHZR7H.js +0 -510
  140. package/dist/agent-heartbeat-6ZGB5ILY.js +0 -510
  141. package/dist/agent-heartbeat-BBINFNL4.js +0 -510
  142. package/dist/agent-heartbeat-BIVHLKFM.js +0 -510
  143. package/dist/agent-heartbeat-HGVIAHS5.js +0 -510
  144. package/dist/agent-heartbeat-HRKVFK2T.js +0 -510
  145. package/dist/agent-heartbeat-JC5GWVXD.js +0 -510
  146. package/dist/agent-heartbeat-K6A4HMHB.js +0 -510
  147. package/dist/agent-heartbeat-LCDXWFVB.js +0 -510
  148. package/dist/agent-heartbeat-P7HZCZAQ.js +0 -510
  149. package/dist/agent-heartbeat-PUIRSNIO.js +0 -510
  150. package/dist/agent-heartbeat-SN5ILQ6Y.js +0 -510
  151. package/dist/agent-heartbeat-TW5YTDYC.js +0 -510
  152. package/dist/agent-heartbeat-YCSWP54H.js +0 -510
  153. package/dist/agent-heartbeat-Z2QQXROL.js +0 -510
  154. package/dist/agent-tools-3W7XLUYA.js +0 -13949
  155. package/dist/agent-tools-54VZGT6L.js +0 -9
  156. package/dist/agent-tools-AYYDPO27.js +0 -13949
  157. package/dist/agent-tools-F2X47FKF.js +0 -13949
  158. package/dist/agent-tools-O6W3QAZL.js +0 -13949
  159. package/dist/agent-tools-OAWVZBMW.js +0 -9
  160. package/dist/agent-tools-QCCU74PN.js +0 -13949
  161. package/dist/agent-tools-QGE26U6R.js +0 -9
  162. package/dist/chunk-2LHUARN6.js +0 -4929
  163. package/dist/chunk-2WVCNCYC.js +0 -5087
  164. package/dist/chunk-3FM6YQUK.js +0 -5087
  165. package/dist/chunk-46GOWZT4.js +0 -5087
  166. package/dist/chunk-5KYJAUZV.js +0 -1519
  167. package/dist/chunk-6ZMLNEHB.js +0 -1519
  168. package/dist/chunk-7HBGXW7Z.js +0 -4929
  169. package/dist/chunk-7UCKD25B.js +0 -551
  170. package/dist/chunk-BDCFOP7O.js +0 -537
  171. package/dist/chunk-BPZQT5N5.js +0 -25652
  172. package/dist/chunk-C52OQNNY.js +0 -5087
  173. package/dist/chunk-C7HGQF4Y.js +0 -25652
  174. package/dist/chunk-CAHNZGGK.js +0 -25656
  175. package/dist/chunk-CK7R6UHE.js +0 -4945
  176. package/dist/chunk-D36RPWB7.js +0 -25652
  177. package/dist/chunk-DJK2UPFH.js +0 -4891
  178. package/dist/chunk-DXZGPUAF.js +0 -5087
  179. package/dist/chunk-F46WB5IL.js +0 -5087
  180. package/dist/chunk-F5QG5SQH.js +0 -5087
  181. package/dist/chunk-GYB2WHMN.js +0 -5101
  182. package/dist/chunk-H7GP733U.js +0 -5087
  183. package/dist/chunk-HHBXWB5U.js +0 -25640
  184. package/dist/chunk-HS5YWSGM.js +0 -3206
  185. package/dist/chunk-IMXS4N6W.js +0 -1519
  186. package/dist/chunk-JTV5LA47.js +0 -1519
  187. package/dist/chunk-KN3T3CTD.js +0 -4929
  188. package/dist/chunk-KV6G7NZX.js +0 -1519
  189. package/dist/chunk-M6ZIC5H3.js +0 -1370
  190. package/dist/chunk-MU5MEBIK.js +0 -1519
  191. package/dist/chunk-NLT5MC7X.js +0 -465
  192. package/dist/chunk-NVLYIM4J.js +0 -4945
  193. package/dist/chunk-NZY2BIZH.js +0 -4891
  194. package/dist/chunk-O42L6G67.js +0 -1519
  195. package/dist/chunk-OCNERGGM.js +0 -4891
  196. package/dist/chunk-OJSNHONE.js +0 -1519
  197. package/dist/chunk-OWTLNV4Q.js +0 -25623
  198. package/dist/chunk-PCNYEP6T.js +0 -4891
  199. package/dist/chunk-PI4AQ4Z6.js +0 -25652
  200. package/dist/chunk-PN3EGTCA.js +0 -194
  201. package/dist/chunk-PWWV2U5P.js +0 -195
  202. package/dist/chunk-Q37UKNRC.js +0 -1519
  203. package/dist/chunk-QXTC6J7H.js +0 -5087
  204. package/dist/chunk-RF2LGX3E.js +0 -1519
  205. package/dist/chunk-RH7KPWRQ.js +0 -465
  206. package/dist/chunk-RKERL5LZ.js +0 -4925
  207. package/dist/chunk-RVBK2IOX.js +0 -25652
  208. package/dist/chunk-SAKODCZ5.js +0 -4891
  209. package/dist/chunk-SALGFC5L.js +0 -4945
  210. package/dist/chunk-STGWZ2MS.js +0 -1519
  211. package/dist/chunk-SVSLIQYN.js +0 -1519
  212. package/dist/chunk-UY3ZVQDP.js +0 -25652
  213. package/dist/chunk-V6OSD62M.js +0 -5087
  214. package/dist/chunk-VP6YAHX4.js +0 -1519
  215. package/dist/chunk-WDYJOEAI.js +0 -5087
  216. package/dist/chunk-WEAFQNOS.js +0 -195
  217. package/dist/chunk-XKUSAZGP.js +0 -5087
  218. package/dist/chunk-YCWOCIPH.js +0 -5101
  219. package/dist/chunk-ZGE3XAXY.js +0 -1519
  220. package/dist/cli-agent-33GWIF2D.js +0 -2300
  221. package/dist/cli-agent-4XK6LVQQ.js +0 -2357
  222. package/dist/cli-agent-64EOV3ST.js +0 -2300
  223. package/dist/cli-agent-67WP6KKO.js +0 -2300
  224. package/dist/cli-agent-7RW5Y7C4.js +0 -2294
  225. package/dist/cli-agent-7TB2BWS6.js +0 -2370
  226. package/dist/cli-agent-AKXFFST2.js +0 -2370
  227. package/dist/cli-agent-C3YSECO4.js +0 -2344
  228. package/dist/cli-agent-DZTKLITB.js +0 -2357
  229. package/dist/cli-agent-FNMDJN7T.js +0 -2357
  230. package/dist/cli-agent-FOF7PFEP.js +0 -2357
  231. package/dist/cli-agent-FXZ6DJKP.js +0 -2357
  232. package/dist/cli-agent-H74M2ZYN.js +0 -2357
  233. package/dist/cli-agent-HG4Y657I.js +0 -2300
  234. package/dist/cli-agent-HORWVPHB.js +0 -2370
  235. package/dist/cli-agent-HSZT6SKF.js +0 -2423
  236. package/dist/cli-agent-ION2W5JF.js +0 -2441
  237. package/dist/cli-agent-JLUQ4ZU6.js +0 -2424
  238. package/dist/cli-agent-KBPWY3CB.js +0 -2302
  239. package/dist/cli-agent-MVCDH4HV.js +0 -2370
  240. package/dist/cli-agent-NZXOEPJ2.js +0 -2357
  241. package/dist/cli-agent-OO6H57UQ.js +0 -2300
  242. package/dist/cli-agent-PADN3QRC.js +0 -2357
  243. package/dist/cli-agent-QAYEX3BE.js +0 -2441
  244. package/dist/cli-agent-QT64DT5J.js +0 -2370
  245. package/dist/cli-agent-TCTRKCHN.js +0 -2300
  246. package/dist/cli-agent-TFL2M6UK.js +0 -2424
  247. package/dist/cli-agent-TSOJG7EX.js +0 -2357
  248. package/dist/cli-agent-UIKXATTD.js +0 -2357
  249. package/dist/cli-agent-UJN6FYTO.js +0 -2370
  250. package/dist/cli-agent-VIQAYVY4.js +0 -2357
  251. package/dist/cli-agent-WNWFVOFM.js +0 -2370
  252. package/dist/cli-agent-XBQX67VJ.js +0 -2423
  253. package/dist/cli-agent-ZLSC6FF4.js +0 -2357
  254. package/dist/cli-agent-ZSHUPBBN.js +0 -2357
  255. package/dist/cli-recover-T32NABFA.js +0 -487
  256. package/dist/cli-serve-2IL5DTEY.js +0 -153
  257. package/dist/cli-serve-3NGBX5ER.js +0 -140
  258. package/dist/cli-serve-47N5UKKW.js +0 -153
  259. package/dist/cli-serve-4RS4UDHC.js +0 -140
  260. package/dist/cli-serve-4XGZFUV2.js +0 -140
  261. package/dist/cli-serve-53FVANQK.js +0 -260
  262. package/dist/cli-serve-57225XWV.js +0 -140
  263. package/dist/cli-serve-63BDPSOP.js +0 -140
  264. package/dist/cli-serve-657NRUOX.js +0 -140
  265. package/dist/cli-serve-6ER7QMLR.js +0 -140
  266. package/dist/cli-serve-6OT3UEAN.js +0 -140
  267. package/dist/cli-serve-7JQ4FVUQ.js +0 -260
  268. package/dist/cli-serve-7L6EY5UH.js +0 -153
  269. package/dist/cli-serve-BFNIW2LF.js +0 -153
  270. package/dist/cli-serve-C7MN6U5Q.js +0 -153
  271. package/dist/cli-serve-CQFI3LMK.js +0 -140
  272. package/dist/cli-serve-CR3OY3IM.js +0 -153
  273. package/dist/cli-serve-DAJFRWQ7.js +0 -153
  274. package/dist/cli-serve-DTQLN5UI.js +0 -140
  275. package/dist/cli-serve-EQS2SGT3.js +0 -140
  276. package/dist/cli-serve-FW6FHFW4.js +0 -153
  277. package/dist/cli-serve-GEEOQS77.js +0 -153
  278. package/dist/cli-serve-H562I3ZK.js +0 -153
  279. package/dist/cli-serve-HDQZF4C4.js +0 -153
  280. package/dist/cli-serve-KBJNXWYJ.js +0 -140
  281. package/dist/cli-serve-LICAOMEB.js +0 -140
  282. package/dist/cli-serve-LLGYLWFS.js +0 -153
  283. package/dist/cli-serve-LMZKQ5GX.js +0 -140
  284. package/dist/cli-serve-LNTT73P2.js +0 -140
  285. package/dist/cli-serve-MQKBUZ7X.js +0 -140
  286. package/dist/cli-serve-N3OISDNB.js +0 -153
  287. package/dist/cli-serve-NBFT7B42.js +0 -140
  288. package/dist/cli-serve-RTWO3AWY.js +0 -140
  289. package/dist/cli-serve-SIHTSW5P.js +0 -140
  290. package/dist/cli-serve-SP6TEURE.js +0 -140
  291. package/dist/cli-serve-TDKZA6I5.js +0 -140
  292. package/dist/cli-serve-TF5ZVVXF.js +0 -140
  293. package/dist/cli-serve-TIZ27EVR.js +0 -153
  294. package/dist/cli-serve-TUNI2RCN.js +0 -153
  295. package/dist/cli-serve-WCU66CHX.js +0 -140
  296. package/dist/cli-serve-WNOZMAWD.js +0 -153
  297. package/dist/cli-serve-YCCKRRUY.js +0 -140
  298. package/dist/cli-serve-ZD5V7I6G.js +0 -140
  299. package/dist/cli-validate-6XDDLVVQ.js +0 -150
  300. package/dist/cli-verify-I4WGRQNT.js +0 -149
  301. package/dist/connection-manager-4ZA4XAFA.js +0 -9
  302. package/dist/db-adapter-IK2EDK2N.js +0 -7
  303. package/dist/db-adapter-IRHOUMVC.js +0 -7
  304. package/dist/dependency-manager-G6D2XXNY.js +0 -11
  305. package/dist/dependency-manager-OCUKF72T.js +0 -543
  306. package/dist/dependency-manager-YULUXN34.js +0 -511
  307. package/dist/factory-MQASIPEB.js +0 -11
  308. package/dist/google-W5AYGNUJ.js +0 -33
  309. package/dist/integrations-VWANOHQ4.js +0 -43830
  310. package/dist/local-O2FN57UN.js +0 -1128
  311. package/dist/local-S7SDOQHN.js +0 -1128
  312. package/dist/microsoft-HPLA5ZL5.js +0 -2414
  313. package/dist/microsoft-UFLZBEAC.js +0 -1619
  314. package/dist/microsoft-VREAZ7M2.js +0 -3955
  315. package/dist/microsoft-YUT6EIGP.js +0 -3400
  316. package/dist/postgres-BOTHOPDW.js +0 -875
  317. package/dist/routes-3MMLQTB6.js +0 -90
  318. package/dist/routes-4ZUIJ4HE.js +0 -90
  319. package/dist/routes-5MXHKKH4.js +0 -90
  320. package/dist/routes-64NJFK3B.js +0 -90
  321. package/dist/routes-6AKQ2LBV.js +0 -90
  322. package/dist/routes-CRRBUDO4.js +0 -90
  323. package/dist/routes-D7SMYOLT.js +0 -90
  324. package/dist/routes-DIAF3MC3.js +0 -90
  325. package/dist/routes-KMUNU6CY.js +0 -90
  326. package/dist/routes-LRRLXIZR.js +0 -90
  327. package/dist/routes-N647AJYG.js +0 -90
  328. package/dist/routes-SSSELAAR.js +0 -90
  329. package/dist/routes-STERVGKJ.js +0 -90
  330. package/dist/routes-TZMPYLHJ.js +0 -90
  331. package/dist/routes-XNK2MAVO.js +0 -90
  332. package/dist/routes-ZEZZACZP.js +0 -90
  333. package/dist/runtime-4UVCTFNQ.js +0 -45
  334. package/dist/runtime-5EQN4GFM.js +0 -45
  335. package/dist/runtime-5LP7PUD4.js +0 -45
  336. package/dist/runtime-6YEENDN3.js +0 -45
  337. package/dist/runtime-7LQFRG3B.js +0 -45
  338. package/dist/runtime-AMXJU2MB.js +0 -45
  339. package/dist/runtime-D6WSE7FG.js +0 -45
  340. package/dist/runtime-EYVN7NFJ.js +0 -45
  341. package/dist/runtime-F6RPWQVW.js +0 -45
  342. package/dist/runtime-FYMJURFC.js +0 -45
  343. package/dist/runtime-GGF4P55M.js +0 -45
  344. package/dist/runtime-H3SAMWWF.js +0 -45
  345. package/dist/runtime-H7T4I7I7.js +0 -45
  346. package/dist/runtime-HTIM7GZR.js +0 -45
  347. package/dist/runtime-JRNBL4O4.js +0 -45
  348. package/dist/runtime-K4C7NQLW.js +0 -45
  349. package/dist/runtime-MWWZCPC2.js +0 -45
  350. package/dist/runtime-N7CM2DYA.js +0 -45
  351. package/dist/runtime-OM2NIBMI.js +0 -45
  352. package/dist/runtime-OVGSOTAH.js +0 -45
  353. package/dist/runtime-QQ6LAY4U.js +0 -45
  354. package/dist/runtime-QWPVD7CY.js +0 -45
  355. package/dist/runtime-SX3B5MG3.js +0 -45
  356. package/dist/runtime-YLIIPTE4.js +0 -45
  357. package/dist/runtime-YU6P22CG.js +0 -45
  358. package/dist/runtime-ZOC337DD.js +0 -45
  359. package/dist/server-3AVWBRIF.js +0 -28
  360. package/dist/server-5BKJI5OW.js +0 -28
  361. package/dist/server-6NDO2S52.js +0 -28
  362. package/dist/server-7TD3M2BW.js +0 -28
  363. package/dist/server-AMCSXINC.js +0 -28
  364. package/dist/server-BEJ6RAGL.js +0 -28
  365. package/dist/server-BFPYDHBG.js +0 -28
  366. package/dist/server-BKEWXGVX.js +0 -28
  367. package/dist/server-BMEJZGFG.js +0 -28
  368. package/dist/server-CU6LVQS4.js +0 -28
  369. package/dist/server-DFR7FI3Q.js +0 -28
  370. package/dist/server-DFYGH2CV.js +0 -28
  371. package/dist/server-DURRN3GJ.js +0 -28
  372. package/dist/server-EELWOC3X.js +0 -28
  373. package/dist/server-EN5E2OWQ.js +0 -28
  374. package/dist/server-EXZC3OJO.js +0 -28
  375. package/dist/server-GW2HYJYI.js +0 -28
  376. package/dist/server-J25NCRWJ.js +0 -28
  377. package/dist/server-JDGNOTFV.js +0 -28
  378. package/dist/server-KA6U3YNP.js +0 -28
  379. package/dist/server-L52A2ME4.js +0 -28
  380. package/dist/server-NE5HD5DJ.js +0 -28
  381. package/dist/server-NLQAXPOG.js +0 -28
  382. package/dist/server-NQOT7W77.js +0 -28
  383. package/dist/server-OHHAA34U.js +0 -28
  384. package/dist/server-PWE5PQTR.js +0 -28
  385. package/dist/server-Q2Q32H2B.js +0 -28
  386. package/dist/server-Q77ME7TL.js +0 -28
  387. package/dist/server-QDKO6OVO.js +0 -28
  388. package/dist/server-RR6QJIXM.js +0 -28
  389. package/dist/server-T3R6BO6A.js +0 -28
  390. package/dist/server-TRIBAHDV.js +0 -28
  391. package/dist/server-TXV3ZVVR.js +0 -28
  392. package/dist/server-VHSFJP3I.js +0 -28
  393. package/dist/server-VOJF2XGU.js +0 -28
  394. package/dist/server-W76YHPEC.js +0 -28
  395. package/dist/server-WLLH4WST.js +0 -28
  396. package/dist/server-WTUJ2O3F.js +0 -28
  397. package/dist/server-X4CJTHHF.js +0 -28
  398. package/dist/server-XK3ILCJC.js +0 -28
  399. package/dist/server-ZRD3NDJE.js +0 -28
  400. package/dist/setup-2JYXGTW6.js +0 -20
  401. package/dist/setup-3XOSZEW5.js +0 -20
  402. package/dist/setup-44VBAO4J.js +0 -20
  403. package/dist/setup-4OA7QNJW.js +0 -20
  404. package/dist/setup-4ONNQBWB.js +0 -20
  405. package/dist/setup-4OSBXSCL.js +0 -20
  406. package/dist/setup-4QFGRBLZ.js +0 -20
  407. package/dist/setup-52US54Z4.js +0 -20
  408. package/dist/setup-5CY3CKKT.js +0 -20
  409. package/dist/setup-6766SGAR.js +0 -20
  410. package/dist/setup-6NUSB4XO.js +0 -20
  411. package/dist/setup-7FZJEOD4.js +0 -20
  412. package/dist/setup-7LYYXBUL.js +0 -20
  413. package/dist/setup-ADSKKBGV.js +0 -20
  414. package/dist/setup-AMV2WKVH.js +0 -20
  415. package/dist/setup-AYY24DKM.js +0 -20
  416. package/dist/setup-B34N4HPU.js +0 -20
  417. package/dist/setup-CEF4QY4L.js +0 -20
  418. package/dist/setup-E2YLC2EY.js +0 -20
  419. package/dist/setup-ER6NXTY5.js +0 -20
  420. package/dist/setup-FIOAQJ6C.js +0 -20
  421. package/dist/setup-G76S7X44.js +0 -20
  422. package/dist/setup-H2AGCBW5.js +0 -20
  423. package/dist/setup-H4JZUHH5.js +0 -20
  424. package/dist/setup-ICOZRKCX.js +0 -20
  425. package/dist/setup-JFTJH7UF.js +0 -20
  426. package/dist/setup-JJHOT2ZU.js +0 -20
  427. package/dist/setup-KEAM2BCL.js +0 -20
  428. package/dist/setup-LW4MLU2N.js +0 -20
  429. package/dist/setup-NHAZABW4.js +0 -20
  430. package/dist/setup-PRFNI6YW.js +0 -20
  431. package/dist/setup-RAHBMYHE.js +0 -20
  432. package/dist/setup-T6KYFR7O.js +0 -20
  433. package/dist/setup-TGM6L362.js +0 -20
  434. package/dist/setup-TNANAH7C.js +0 -20
  435. package/dist/setup-TXPR5UQX.js +0 -20
  436. package/dist/setup-UJSNSCLM.js +0 -20
  437. package/dist/setup-XCJMELVU.js +0 -20
  438. package/dist/setup-XIYEIFVK.js +0 -20
  439. package/dist/setup-XP2VGBEU.js +0 -20
  440. package/dist/setup-Z4PZSHBI.js +0 -20
  441. package/dist/skills-HCVBA6PK.js +0 -16
  442. package/dist/skills-HFSW74KZ.js +0 -16
  443. package/dist/system-prompts-6OUTAMH6.js +0 -41
  444. package/dist/task-queue-YP2I54IA.js +0 -9
  445. package/dist/transport-encryption-F2NQYACT.js +0 -25
  446. package/seed-data.mjs +0 -455
  447. package/src/agent-tools/tools/integrations/_seed-data.json +0 -4548
  448. package/src/agent-tools/tools/integrations/_seed-data.ts +0 -4563
  449. package/src/engine/NOTE.MD +0 -52
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  GoogleEmailProvider,
4
4
  MicrosoftEmailProvider,
5
5
  createEmailProvider
6
- } from "./chunk-HKCKMCPY.js";
6
+ } from "./chunk-G4YSECQ4.js";
7
7
  import {
8
8
  deployToCloud,
9
9
  generateDockerCompose,
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  provision,
15
15
  runSetupWizard
16
- } from "./chunk-SVSLIQYN.js";
16
+ } from "./chunk-RHO7WRVJ.js";
17
17
  import {
18
18
  AgentRuntime,
19
19
  EmailChannel,
@@ -28,7 +28,7 @@ import {
28
28
  executeTool,
29
29
  runAgentLoop,
30
30
  toolsToDefinitions
31
- } from "./chunk-KN3T3CTD.js";
31
+ } from "./chunk-GNABVGDZ.js";
32
32
  import {
33
33
  ValidationError,
34
34
  auditLogger,
@@ -42,7 +42,7 @@ import {
42
42
  requireRole,
43
43
  securityHeaders,
44
44
  validate
45
- } from "./chunk-GYB2WHMN.js";
45
+ } from "./chunk-HTT6LUPP.js";
46
46
  import "./chunk-DJBCRQTD.js";
47
47
  import {
48
48
  PROVIDER_REGISTRY,
@@ -82,7 +82,7 @@ import {
82
82
  init_storage_manager,
83
83
  init_tenant,
84
84
  init_workforce
85
- } from "./chunk-CQYLRIQ3.js";
85
+ } from "./chunk-DWHJYAV6.js";
86
86
  import {
87
87
  ENGINE_TABLES,
88
88
  ENGINE_TABLES_POSTGRES,
@@ -102,20 +102,20 @@ import "./chunk-AF3WSNVX.js";
102
102
  import "./chunk-74ZCQKYU.js";
103
103
  import "./chunk-Z6K5FKAB.js";
104
104
  import "./chunk-C6JP5NR6.js";
105
- import "./chunk-BQM7MBPS.js";
105
+ import "./chunk-WYDVMFGJ.js";
106
106
  import "./chunk-3UAFHUEC.js";
107
107
  import {
108
108
  BUILTIN_SKILLS,
109
109
  PRESET_PROFILES,
110
110
  PermissionEngine,
111
111
  init_skills
112
- } from "./chunk-6C5PKREN.js";
112
+ } from "./chunk-NOAQG5CY.js";
113
113
  import {
114
114
  AgentConfigGenerator,
115
115
  DeploymentEngine,
116
116
  init_agent_config,
117
117
  init_deployer
118
- } from "./chunk-3FMK32KQ.js";
118
+ } from "./chunk-LHQP7QRX.js";
119
119
  import {
120
120
  CircuitBreaker,
121
121
  CircuitOpenError,
@@ -139,7 +139,7 @@ import {
139
139
  import {
140
140
  createAdapter,
141
141
  getSupportedDatabases
142
- } from "./chunk-4EKXYIJF.js";
142
+ } from "./chunk-PAHT4ABL.js";
143
143
  import {
144
144
  AGENTICMAIL_TOOLS,
145
145
  ALL_TOOLS,
@@ -815,7 +815,7 @@ function formatWorker(worker) {
815
815
  const person = worker.person || {};
816
816
  const name = person.legalName ? [person.legalName.givenName, person.legalName.familyName1].filter(Boolean).join(" ") : "(no name)";
817
817
  const email = person.communication?.emails?.[0]?.emailUri || "(no email)";
818
- const assignment = worker.workerDates ? "" : "";
818
+ const _assignment = worker.workerDates ? "" : "";
819
819
  const status = worker.workerStatus?.statusCode?.codeValue || "N/A";
820
820
  const id = worker.workerID?.idValue || worker.associateOID || "N/A";
821
821
  return `${name} <${email}> -- Status: ${status} (ID: ${id})`;
@@ -2239,7 +2239,7 @@ var blockUser = {
2239
2239
  try {
2240
2240
  const baseUrl = auth0Url(ctx);
2241
2241
  const blocked = params.blocked !== false;
2242
- const result = await ctx.apiExecutor.request({
2242
+ const _result = await ctx.apiExecutor.request({
2243
2243
  method: "PATCH",
2244
2244
  path: void 0,
2245
2245
  url: `${baseUrl}/users/${encodeURIComponent(params.user_id)}`,
@@ -6096,7 +6096,7 @@ var listTasks2 = {
6096
6096
  };
6097
6097
  if (params.include_closed) query4.include_closed = "true";
6098
6098
  if (params.statuses?.length) {
6099
- params.statuses.forEach((s, i) => {
6099
+ params.statuses.forEach((s, _i) => {
6100
6100
  query4[`statuses[]`] = s;
6101
6101
  });
6102
6102
  }
@@ -6354,7 +6354,7 @@ function formatLead(lead) {
6354
6354
  const status = lead.status_label || "unknown";
6355
6355
  const contacts = lead.contacts?.length || 0;
6356
6356
  const created = lead.date_created ? lead.date_created.slice(0, 16) : "";
6357
- const url = lead.url || "";
6357
+ const _url = lead.url || "";
6358
6358
  return `${name} -- ${status} -- ${contacts} contact(s) -- ${created} (ID: ${lead.id})`;
6359
6359
  }
6360
6360
  function formatOpportunity(opp) {
@@ -11069,7 +11069,7 @@ var updateDocument = {
11069
11069
  firestoreFields[key] = { stringValue: JSON.stringify(val) };
11070
11070
  }
11071
11071
  }
11072
- const queryParts = updateMaskPaths.map((p) => `updateMask.fieldPaths=${encodeURIComponent(p)}`);
11072
+ const _queryParts = updateMaskPaths.map((p) => `updateMask.fieldPaths=${encodeURIComponent(p)}`);
11073
11073
  const query4 = {};
11074
11074
  for (const path of updateMaskPaths) {
11075
11075
  query4[`updateMask.fieldPaths`] = path;
@@ -19172,7 +19172,7 @@ function k8sError(err) {
19172
19172
  if (err instanceof Error) {
19173
19173
  const data = err.data;
19174
19174
  if (data && typeof data === "object") {
19175
- const status = data.status || "";
19175
+ const _status = data.status || "";
19176
19176
  const message = data.message || "";
19177
19177
  const reason = data.reason || "";
19178
19178
  const code = data.code || "";
@@ -22395,7 +22395,7 @@ var mixpanelGetFunnels = {
22395
22395
  };
22396
22396
  if (params.unit) query4.unit = params.unit;
22397
22397
  const data = await ctx.apiExecutor.get("/funnels", query4);
22398
- const meta = data.meta ?? {};
22398
+ const _meta = data.meta ?? {};
22399
22399
  const funnelData = data.data ?? {};
22400
22400
  const dates = Object.keys(funnelData).sort();
22401
22401
  if (dates.length === 0) {
@@ -29796,7 +29796,7 @@ var recurlyGetAccount = {
29796
29796
  const email = acct.email ?? "N/A";
29797
29797
  const state = acct.state ?? "unknown";
29798
29798
  const created = formatDate7(acct.created_at);
29799
- const balance = formatAmount6(acct.hosted_login_token ? void 0 : 0, acct.bill_to ?? "USD");
29799
+ const _balance = formatAmount6(acct.hosted_login_token ? void 0 : 0, acct.bill_to ?? "USD");
29800
29800
  const addr = acct.address ?? {};
29801
29801
  const addressStr = [addr.street1, addr.street2, addr.city, addr.region, addr.postal_code, addr.country].filter(Boolean).join(", ") || "N/A";
29802
29802
  const content = [
@@ -31906,7 +31906,7 @@ function sapBaseUrl(ctx) {
31906
31906
  if (!host) {
31907
31907
  throw new Error('SAP host is required in skillConfig (e.g. { host: "mycompany.s4hana.ondemand.com" })');
31908
31908
  }
31909
- const client = ctx.skillConfig.client || "100";
31909
+ const _client = ctx.skillConfig.client || "100";
31910
31910
  return `https://${host}/sap/opu/odata/sap`;
31911
31911
  }
31912
31912
  function sapClient(ctx) {
@@ -33945,7 +33945,7 @@ var searchStories = {
33945
33945
  },
33946
33946
  async execute(params, ctx) {
33947
33947
  try {
33948
- const body = {
33948
+ const _body = {
33949
33949
  query: params.query,
33950
33950
  page_size: params.page_size ?? 25
33951
33951
  };
@@ -34742,7 +34742,7 @@ var executeQuery = {
34742
34742
  body
34743
34743
  });
34744
34744
  const statementHandle = result.statementHandle || "";
34745
- const status = result.statementStatusUrl || "";
34745
+ const _status = result.statementStatusUrl || "";
34746
34746
  const rowCount = result.resultSetMetaData?.numRows ?? result.data?.length ?? 0;
34747
34747
  const formatted = formatResultSet(result);
34748
34748
  return {
@@ -36925,7 +36925,7 @@ var supabaseAdapter = {
36925
36925
  placeholder: "abcdefghijklmnop"
36926
36926
  }
36927
36927
  },
36928
- async initialize(credentials) {
36928
+ async initialize(_credentials) {
36929
36929
  }
36930
36930
  };
36931
36931
 
@@ -43320,7 +43320,7 @@ var zuoraListAccounts = {
43320
43320
  },
43321
43321
  additionalProperties: false
43322
43322
  },
43323
- async execute(params, ctx) {
43323
+ async execute(_params, ctx) {
43324
43324
  try {
43325
43325
  const base = zuoraBaseUrl(ctx);
43326
43326
  const data = await ctx.apiExecutor.request({
@@ -729,8 +729,8 @@ function createCodingTools(opts) {
729
729
  });
730
730
  if (useRg && stdout) {
731
731
  var matches = [];
732
- var currentFile = "";
733
- var contextBuf = [];
732
+ var _currentFile = "";
733
+ var _contextBuf = [];
734
734
  for (var line of stdout.split("\n").filter(Boolean)) {
735
735
  try {
736
736
  var j = JSON.parse(line);
@@ -151,7 +151,7 @@ var MeetingVoiceIntelligence = class _MeetingVoiceIntelligence {
151
151
  }
152
152
  // ─── Speech State (called by meeting_speak tool) ────────
153
153
  /** Call BEFORE streaming TTS response audio */
154
- markSpeaking(text) {
154
+ markSpeaking(_text) {
155
155
  this._state = "speaking";
156
156
  }
157
157
  /** Call AFTER TTS response finishes (or fails) */
@@ -240,7 +240,7 @@ var MeetingVoiceIntelligence = class _MeetingVoiceIntelligence {
240
240
  }
241
241
  cancelResume() {
242
242
  }
243
- markDoneSpeaking_legacy(completed) {
243
+ markDoneSpeaking_legacy(_completed) {
244
244
  this.markDoneSpeaking();
245
245
  }
246
246
  // Legacy — decisionEngine stub
@@ -2,7 +2,7 @@ import {
2
2
  createMeetingTools,
3
3
  ensureBrowser,
4
4
  sendChatMessage
5
- } from "./chunk-TPLVQFXM.js";
5
+ } from "./chunk-X2YL6KSY.js";
6
6
  import "./chunk-ZB3VC2MR.js";
7
7
  import "./chunk-KFQGP6VL.js";
8
8
  export {
@@ -2414,7 +2414,7 @@ function createExcelTools(config, _options) {
2414
2414
  const base = itemPath(params);
2415
2415
  let rangePath;
2416
2416
  if (params.range) {
2417
- const ws = params.worksheet ? `/worksheets/${encodeURIComponent(params.worksheet)}` : "/worksheets";
2417
+ const _ws = params.worksheet ? `/worksheets/${encodeURIComponent(params.worksheet)}` : "/worksheets";
2418
2418
  if (params.range.includes("!")) {
2419
2419
  rangePath = `${base}/workbook/worksheets/${encodeURIComponent(params.range.split("!")[0])}/range(address='${params.range.split("!")[1]}')`;
2420
2420
  } else if (params.worksheet) {
@@ -2908,7 +2908,7 @@ function createExcelAdvancedTools(config, _options) {
2908
2908
  const base = itemPath2(params);
2909
2909
  const ws = params.worksheet || "Sheet1";
2910
2910
  const rangePath = `${base}/workbook/worksheets/${encodeURIComponent(ws)}/range(address='${params.range}')`;
2911
- const format = {};
2911
+ const _format = {};
2912
2912
  if (params.numberFormat) {
2913
2913
  await graph(token, `${rangePath}/format`, { method: "PATCH", body: { columnWidth: null } });
2914
2914
  }
@@ -3503,7 +3503,7 @@ function createPowerPointTools(config, _options) {
3503
3503
  });
3504
3504
  let slideCount = null;
3505
3505
  try {
3506
- const preview = await graph(token, `${base}/preview`, { method: "POST", body: {} });
3506
+ const _preview = await graph(token, `${base}/preview`, { method: "POST", body: {} });
3507
3507
  const thumbs = await graph(token, `${base}/thumbnails`);
3508
3508
  if (thumbs.value?.[0]) slideCount = Object.keys(thumbs.value[0]).filter((k) => k !== "id").length;
3509
3509
  } catch {
@@ -110,7 +110,7 @@ var PostgresAdapter = class extends DatabaseAdapter {
110
110
  // ─── Engine Integration ──────────────────────────────────
111
111
  getEngineDB() {
112
112
  if (!this.pool || this.ended) return null;
113
- const pool = this.pool;
113
+ const _pool = this.pool;
114
114
  const self = this;
115
115
  const pgSql = (sql) => {
116
116
  let i = 0;
@@ -702,7 +702,7 @@ var PostgresAdapter = class extends DatabaseAdapter {
702
702
  activeAgents: parseInt(active.rows[0].count, 10),
703
703
  totalUsers: parseInt(users.rows[0].count, 10),
704
704
  totalEmails: 0,
705
- // TODO: wire to email storage
705
+ // Email count tracked externally via AgenticMail
706
706
  totalAuditEvents: parseInt(audit.rows[0].count, 10)
707
707
  };
708
708
  }
@@ -11,7 +11,7 @@ import {
11
11
  resolvePreferredAgenticMailTmpDir,
12
12
  withBrowserNavigationPolicy,
13
13
  withCdpSocket
14
- } from "./chunk-JEGYVXYC.js";
14
+ } from "./chunk-CQV7GGHT.js";
15
15
  import "./chunk-KFQGP6VL.js";
16
16
 
17
17
  // src/browser/pw-ai-state.ts
@@ -35,17 +35,17 @@ import {
35
35
  tenants,
36
36
  vault,
37
37
  workforce
38
- } from "./chunk-CQYLRIQ3.js";
38
+ } from "./chunk-DWHJYAV6.js";
39
39
  import "./chunk-Z7NVD3OQ.js";
40
40
  import "./chunk-VSBC4SWO.js";
41
41
  import "./chunk-AF3WSNVX.js";
42
42
  import "./chunk-74ZCQKYU.js";
43
43
  import "./chunk-Z6K5FKAB.js";
44
44
  import "./chunk-C6JP5NR6.js";
45
- import "./chunk-BQM7MBPS.js";
45
+ import "./chunk-WYDVMFGJ.js";
46
46
  import "./chunk-3UAFHUEC.js";
47
- import "./chunk-6C5PKREN.js";
48
- import "./chunk-3FMK32KQ.js";
47
+ import "./chunk-NOAQG5CY.js";
48
+ import "./chunk-LHQP7QRX.js";
49
49
  import "./chunk-YDD5TC5Q.js";
50
50
  import "./chunk-FLQ5FLHW.js";
51
51
  import "./chunk-WUAWWKTN.js";
@@ -14,7 +14,7 @@ import {
14
14
  executeTool,
15
15
  runAgentLoop,
16
16
  toolsToDefinitions
17
- } from "./chunk-3G2GYKMG.js";
17
+ } from "./chunk-GNABVGDZ.js";
18
18
  import {
19
19
  PROVIDER_REGISTRY,
20
20
  listAllProviders,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-GYB2WHMN.js";
3
+ } from "./chunk-HTT6LUPP.js";
4
4
  import "./chunk-DJBCRQTD.js";
5
5
  import "./chunk-UF3ZJMJO.js";
6
- import "./chunk-CQYLRIQ3.js";
6
+ import "./chunk-DWHJYAV6.js";
7
7
  import "./chunk-Z7NVD3OQ.js";
8
8
  import "./chunk-VSBC4SWO.js";
9
9
  import "./chunk-AF3WSNVX.js";
10
10
  import "./chunk-74ZCQKYU.js";
11
11
  import "./chunk-Z6K5FKAB.js";
12
12
  import "./chunk-C6JP5NR6.js";
13
- import "./chunk-BQM7MBPS.js";
13
+ import "./chunk-WYDVMFGJ.js";
14
14
  import "./chunk-3UAFHUEC.js";
15
- import "./chunk-6C5PKREN.js";
16
- import "./chunk-3FMK32KQ.js";
15
+ import "./chunk-NOAQG5CY.js";
16
+ import "./chunk-LHQP7QRX.js";
17
17
  import "./chunk-YDD5TC5Q.js";
18
18
  import "./chunk-37ABTUFU.js";
19
19
  import "./chunk-NU657BBQ.js";
@@ -6,8 +6,8 @@ import {
6
6
  promptRegistration,
7
7
  provision,
8
8
  runSetupWizard
9
- } from "./chunk-LRCKO5KE.js";
10
- import "./chunk-4EKXYIJF.js";
9
+ } from "./chunk-RHO7WRVJ.js";
10
+ import "./chunk-PAHT4ABL.js";
11
11
  import "./chunk-KFQGP6VL.js";
12
12
  export {
13
13
  promptCompanyInfo,
@@ -4,7 +4,7 @@ import {
4
4
  PermissionEngine,
5
5
  SKILL_SUITES,
6
6
  init_skills
7
- } from "./chunk-6C5PKREN.js";
7
+ } from "./chunk-NOAQG5CY.js";
8
8
  import "./chunk-ZGYVXYQQ.js";
9
9
  import "./chunk-KFQGP6VL.js";
10
10
  init_skills();
@@ -69,3 +69,17 @@
69
69
  2026-03-05 07:01:07: 2026-03-05T06:01:07Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
70
70
  2026-03-05 07:06:07: 2026-03-05T06:06:07Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
71
71
  2026-03-05 07:06:07: 2026-03-05T06:06:07Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
72
+ 2026-03-05 07:11:44: 2026-03-05T06:11:44Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
73
+ 2026-03-05 07:11:44: 2026-03-05T06:11:44Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
74
+ 2026-03-05 07:21:11: 2026-03-05T06:21:11Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
75
+ 2026-03-05 07:21:11: 2026-03-05T06:21:11Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:3100: connect: connection refused" connIndex=3 dest=https://enterprise.agenticmail.io/dashboard/agents/3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
76
+ 2026-03-05 07:21:11: 2026-03-05T06:21:11Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
77
+ 2026-03-05 07:21:11: 2026-03-05T06:21:11Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
78
+ 2026-03-05 07:28:48: 2026-03-05T06:28:48Z ERR failed to run the datagram handler error="timeout: no recent network activity" connIndex=2 event=0 ip=198.41.192.57
79
+ 2026-03-05 07:28:48: 2026-03-05T06:28:48Z ERR failed to accept incoming stream requests error="failed to accept QUIC stream: timeout: no recent network activity" connIndex=2 event=0 ip=198.41.192.57
80
+ 2026-03-05 07:28:48: 2026-03-05T06:28:48Z WRN failed to serve tunnel connection error="datagram manager encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.57
81
+ 2026-03-05 07:28:48: 2026-03-05T06:28:48Z WRN Serve tunnel error error="datagram manager encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.57
82
+ 2026-03-05 07:28:48: 2026-03-05T06:28:48Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.192.57
83
+ 2026-03-05 07:28:49: 2026-03-05T06:28:49Z WRN Connection terminated error="datagram manager encountered a failure while serving" connIndex=2
84
+ 2026-03-05 07:28:59: 2026-03-05T06:28:59Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=2 event=0 ip=198.41.192.57
85
+ 2026-03-05 07:28:59: 2026-03-05T06:28:59Z INF Registered tunnel connection connIndex=2 connection=d69b6230-41a7-45fb-b4c2-b7df2504f7b4 event=0 ip=198.41.192.57 location=atl12 protocol=quic
@@ -5,3 +5,5 @@
5
5
  2026-03-05 06:59:40: Loaded config from /Users/ope/Desktop/projects/agenticmail/enterprise/.env
6
6
  2026-03-05 07:01:07: Loaded config from /Users/ope/Desktop/projects/agenticmail/enterprise/.env
7
7
  2026-03-05 07:06:08: Loaded config from /Users/ope/Desktop/projects/agenticmail/enterprise/.env
8
+ 2026-03-05 07:11:44: Loaded config from /Users/ope/Desktop/projects/agenticmail/enterprise/.env
9
+ 2026-03-05 07:21:11: Loaded config from /Users/ope/Desktop/projects/agenticmail/enterprise/.env
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.324",
3
+ "version": "0.5.326",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -365,7 +365,7 @@ export function createAdminRoutes(db: DatabaseAdapter) {
365
365
  // Get deployment credentials
366
366
  const settings = await db.getSettings();
367
367
  const pricingConfig = (settings as any)?.modelPricingConfig || {};
368
- const providerApiKeys = pricingConfig.providerApiKeys || {};
368
+ const _providerApiKeys = pricingConfig.providerApiKeys || {};
369
369
 
370
370
  if (targetType === 'fly') {
371
371
  // Get Fly.io API token from deploy credentials or config
@@ -817,7 +817,7 @@ const SET_DESCRIPTIONS: Record<ToolSet, string> = {
817
817
  function createRequestToolsTool(
818
818
  allTools: AnyAgentTool[],
819
819
  activeSets: Set<ToolSet>,
820
- context: SessionContext,
820
+ _context: SessionContext,
821
821
  ): AnyAgentTool {
822
822
  const loadedSets = new Set<ToolSet>(activeSets);
823
823
  const allSets = Object.keys(SET_DESCRIPTIONS) as ToolSet[];
@@ -50,7 +50,7 @@ export interface AgenticMailToolsConfig {
50
50
  */
51
51
  export function createAgenticMailTools(
52
52
  config: AgenticMailToolsConfig,
53
- options?: ToolCreationOptions,
53
+ _options?: ToolCreationOptions,
54
54
  ): AnyAgentTool[] {
55
55
  const { manager, agentId } = config;
56
56
  const tools: AnyAgentTool[] = [];
@@ -732,7 +732,7 @@ export function createAgenticMailTools(
732
732
  bcc: { type: 'string', description: 'BCC recipients' },
733
733
  }, ['id', 'to']),
734
734
  'high',
735
- async (args) => {
735
+ async (_args) => {
736
736
  // Enterprise version: would load template and perform substitution, then send
737
737
  return { success: false, error: 'Template send not implemented in this enterprise deployment - use agenticmail_send instead' };
738
738
  },
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import type { AnyAgentTool, ToolCreationOptions } from '../types.js';
9
- import { readStringParam, readNumberParam, readBooleanParam, jsonResult, textResult, errorResult } from '../common.js';
9
+ import { readStringParam, readNumberParam, jsonResult, textResult, errorResult } from '../common.js';
10
10
  import type { SsrfGuard } from '../security.js';
11
11
  import * as path from 'node:path';
12
12
  import * as os from 'node:os';
@@ -12,7 +12,7 @@ import { execFile, exec } from 'node:child_process';
12
12
  import os from 'node:os';
13
13
  import crypto from 'node:crypto';
14
14
  import type { AnyAgentTool, ToolCreationOptions } from '../types.js';
15
- import { readStringParam, readNumberParam, jsonResult, textResult, errorResult } from '../common.js';
15
+ import { readStringParam, readNumberParam, jsonResult, errorResult } from '../common.js';
16
16
 
17
17
  function promiseExecFile(cmd: string, args: string[], opts: Record<string, unknown>): Promise<{ stdout: string; stderr: string }> {
18
18
  return new Promise(function(resolve, reject) {
@@ -9,7 +9,7 @@
9
9
  import fs from 'node:fs/promises';
10
10
  import path from 'node:path';
11
11
  import type { AnyAgentTool, ToolCreationOptions } from '../types.js';
12
- import { readStringParam, readNumberParam, readStringArrayParam, jsonResult, textResult, errorResult } from '../common.js';
12
+ import { readStringParam, readNumberParam, jsonResult, textResult, errorResult } from '../common.js';
13
13
 
14
14
  type DiffHunk = { oldStart: number; oldCount: number; newStart: number; newCount: number; lines: string[] };
15
15
  type JsonDiffEntry = { path: string; type: 'added' | 'removed' | 'changed'; oldValue?: unknown; newValue?: unknown };
@@ -9,10 +9,8 @@
9
9
  import fs from 'node:fs/promises';
10
10
  import { createWriteStream } from 'node:fs';
11
11
  import path from 'node:path';
12
- import { pipeline } from 'node:stream/promises';
13
- import { Readable } from 'node:stream';
14
12
  import type { AnyAgentTool, ToolCreationOptions } from '../types.js';
15
- import { readStringParam, readNumberParam, readStringArrayParam, textResult, jsonResult, errorResult } from '../common.js';
13
+ import { readStringParam, readNumberParam, jsonResult, errorResult } from '../common.js';
16
14
  import { validateEgress } from '../../middleware/egress-filter.js';
17
15
 
18
16
  var MAX_RESPONSE_SIZE = 50 * 1024; // 50KB response body cap
@@ -12,7 +12,7 @@ import path from 'node:path';
12
12
  import crypto from 'node:crypto';
13
13
  import readline from 'node:readline';
14
14
  import type { AnyAgentTool, ToolCreationOptions } from '../types.js';
15
- import { readStringParam, readBooleanParam, readStringArrayParam, jsonResult, textResult, errorResult } from '../common.js';
15
+ import { readStringParam, readBooleanParam, jsonResult, textResult, errorResult } from '../common.js';
16
16
 
17
17
  type SecretPattern = { name: string; regex: RegExp };
18
18
  type PiiPattern = { name: string; regex: RegExp; validate?: (m: string) => boolean };
@@ -212,7 +212,7 @@ export function createGoogleFormsTools(config: GoogleToolsConfig, _options?: Too
212
212
  if (input.title) { info.title = input.title; updateMasks.push('info.title'); }
213
213
  if (input.description !== undefined) { info.description = input.description; updateMasks.push('info.description'); }
214
214
  if (updateMasks.length === 0) return errorResult('Provide title or description to update');
215
- const result = await formsApi(token, `/forms/${input.formId}:batchUpdate`, {
215
+ const _result = await formsApi(token, `/forms/${input.formId}:batchUpdate`, {
216
216
  method: 'POST',
217
217
  body: {
218
218
  requests: [{
@@ -355,7 +355,7 @@ export function createGoogleFormsTools(config: GoogleToolsConfig, _options?: Too
355
355
  const publishSettings: any = {};
356
356
  if (input.isPublished !== undefined) publishSettings.isPublished = input.isPublished === 'true';
357
357
  if (input.isAcceptingResponses !== undefined) publishSettings.isAcceptingResponses = input.isAcceptingResponses === 'true';
358
- const result = await formsApi(token, `/forms/${input.formId}:setPublishSettings`, {
358
+ const _result = await formsApi(token, `/forms/${input.formId}:setPublishSettings`, {
359
359
  method: 'POST',
360
360
  body: { publishSettings },
361
361
  });
@@ -885,7 +885,7 @@ export function createGmailTools(config: GoogleToolsConfig, _options?: ToolCreat
885
885
  const update: any = { signature: params.signature };
886
886
  if (params.displayName) update.displayName = params.displayName;
887
887
 
888
- const result = await gmail(token, `/settings/sendAs/${encodeURIComponent(primary.sendAsEmail)}`, {
888
+ const _result = await gmail(token, `/settings/sendAs/${encodeURIComponent(primary.sendAsEmail)}`, {
889
889
  method: 'PATCH',
890
890
  body: update,
891
891
  });
@@ -12,7 +12,7 @@
12
12
  */
13
13
 
14
14
  import type { AnyAgentTool } from '../../types.js';
15
- import { jsonResult, errorResult, textResult } from '../../common.js';
15
+ import { jsonResult, errorResult } from '../../common.js';
16
16
 
17
17
  export interface GoogleMapsConfig {
18
18
  /** Resolve the Google Maps API key. Called on each request (supports vault decryption). */
@@ -46,7 +46,7 @@ async function mapsApi(endpoint: string, params: Record<string, string>): Promis
46
46
  }
47
47
 
48
48
  // Places API (New) uses different base URL
49
- async function placesApiNew(path: string, body: any): Promise<any> {
49
+ async function _placesApiNew(path: string, body: any): Promise<any> {
50
50
  const key = await getApiKey();
51
51
  const res = await fetch(`https://places.googleapis.com/v1${path}`, {
52
52
  method: 'POST',
@@ -237,7 +237,7 @@ const DEFAULT_VOICES: Record<string, string> = {
237
237
  'sam': 'yoZ06aMxZJJ28mfd3POQ', // Male, raspy
238
238
  };
239
239
 
240
- function delay(ms: number) { return new Promise(r => setTimeout(r, ms)); }
240
+ function _delay(ms: number) { return new Promise(r => setTimeout(r, ms)); }
241
241
 
242
242
  /**
243
243
  * Generate speech audio from text using ElevenLabs
@@ -622,7 +622,7 @@ export function createMeetingTools(config: GoogleToolsConfig, _options?: ToolCre
622
622
  console.warn(`[meeting-join:${agentId}] Voice preflight failed: ${e.message}`);
623
623
  }
624
624
 
625
- const voiceBlock = voiceStatus
625
+ const _voiceBlock = voiceStatus
626
626
  ? voiceCapability.buildPromptBlock(agentId)
627
627
  : '\n## Voice: NOT CHECKED\nUse meeting_speak to talk — it auto-falls back to chat if voice fails.\n';
628
628
 
@@ -132,7 +132,7 @@ export function createGoogleSlidesTools(config: GoogleToolsConfig, _options?: To
132
132
  }
133
133
 
134
134
  for (const slide of contentSlides) {
135
- const PT = 12700;
135
+ const _PT = 12700;
136
136
  // Create slide with TITLE_AND_BODY layout
137
137
  const addReq: any = { createSlide: { slideLayoutReference: { predefinedLayout: 'TITLE_AND_BODY' } } };
138
138
  const addResult = await slidesApi(token, `/presentations/${presentationId}:batchUpdate`, {
@@ -321,7 +321,7 @@ export function createGoogleSlidesTools(config: GoogleToolsConfig, _options?: To
321
321
  async execute(_id: string, input: any) {
322
322
  try {
323
323
  const token = await tp.getAccessToken();
324
- const result = await slidesApi(token, `/presentations/${input.presentationId}:batchUpdate`, {
324
+ const _result = await slidesApi(token, `/presentations/${input.presentationId}:batchUpdate`, {
325
325
  method: 'POST',
326
326
  body: {
327
327
  requests: [{
@@ -48,7 +48,7 @@ async function ripgrepSearch(params: {
48
48
  args.push('--', shellEscape(params.pattern), shellEscape(params.searchPath));
49
49
 
50
50
  return new Promise(function(resolve) {
51
- exec(args.join(' '), { maxBuffer: 1_000_000, timeout: DEFAULT_TIMEOUT_MS }, function(error, stdout) {
51
+ exec(args.join(' '), { maxBuffer: 1_000_000, timeout: DEFAULT_TIMEOUT_MS }, function(_error, stdout) {
52
52
  resolve(stdout || '');
53
53
  });
54
54
  });
@@ -36,7 +36,7 @@ export function createKnowledgeSearchTools(opts: ToolCreationOptions): AnyAgentT
36
36
  const knowledgeEngine: KnowledgeBaseEngine | undefined = (opts as any).knowledgeEngine;
37
37
  const engineDb = opts.engineDb;
38
38
  const agentId = opts.agentId || 'unknown';
39
- const orgId = (opts as any).orgId || '';
39
+ const _orgId = (opts as any).orgId || '';
40
40
 
41
41
  const tools: AnyAgentTool[] = [];
42
42
 
@@ -8,10 +8,10 @@
8
8
  * Designed to make agents BETTER at coding than raw shell + file tools alone.
9
9
  */
10
10
 
11
- import { readFile, writeFile, readdir, stat, access } from 'node:fs/promises';
12
- import { exec as cpExec, spawn } from 'node:child_process';
11
+ import { readFile, writeFile, readdir, access } from 'node:fs/promises';
12
+ import { exec as cpExec } from 'node:child_process';
13
13
  import { promisify } from 'node:util';
14
- import { join, relative, extname, basename, dirname } from 'node:path';
14
+ import { join, relative, extname, dirname } from 'node:path';
15
15
  import { resolvePath } from './resolve-path.js';
16
16
  import type { ToolDefinition } from '../../types.js';
17
17
 
@@ -220,8 +220,8 @@ export function createCodingTools(opts?: { cwd?: string; sandbox?: string }): To
220
220
  if (useRg && stdout) {
221
221
  // Parse ripgrep JSON output
222
222
  var matches: { file: string; line: number; text: string; context?: string[] }[] = [];
223
- var currentFile = '';
224
- var contextBuf: string[] = [];
223
+ var _currentFile = '';
224
+ var _contextBuf: string[] = [];
225
225
  for (var line of stdout.split('\n').filter(Boolean)) {
226
226
  try {
227
227
  var j = JSON.parse(line);