@agenticmail/enterprise 0.5.319 → 0.5.321
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.
- package/CHANGELOG.md +68 -0
- package/CODE_OF_CONDUCT.md +31 -0
- package/README.md +118 -38
- package/SECURITY.md +42 -0
- package/dist/agent-heartbeat-3FWNHZFX.js +510 -0
- package/dist/agent-heartbeat-4RWHZR7H.js +510 -0
- package/dist/agent-heartbeat-6ZGB5ILY.js +510 -0
- package/dist/agent-heartbeat-BIVHLKFM.js +510 -0
- package/dist/agent-heartbeat-HRKVFK2T.js +510 -0
- package/dist/agent-heartbeat-JC5GWVXD.js +510 -0
- package/dist/agent-heartbeat-K6A4HMHB.js +510 -0
- package/dist/agent-heartbeat-LCDXWFVB.js +510 -0
- package/dist/agent-heartbeat-P7HZCZAQ.js +510 -0
- package/dist/agent-heartbeat-PUIRSNIO.js +510 -0
- package/dist/agent-heartbeat-SN5ILQ6Y.js +510 -0
- package/dist/agent-heartbeat-TW5YTDYC.js +510 -0
- package/dist/agent-heartbeat-Z2QQXROL.js +510 -0
- package/dist/agent-notify-OEQBCZLN.js +43 -0
- package/dist/{agent-tools-263HM5QU.js → agent-tools-3W7XLUYA.js} +1 -1
- package/dist/agent-tools-4QK7LLNP.js +9 -0
- package/dist/agent-tools-54VZGT6L.js +9 -0
- package/dist/{agent-tools-AT4D276V.js → agent-tools-AYYDPO27.js} +7 -7
- package/dist/{agent-tools-MSTAPX2I.js → agent-tools-F2X47FKF.js} +7 -7
- package/dist/{agent-tools-FA26SY5O.js → agent-tools-O6W3QAZL.js} +11 -6
- package/dist/agent-tools-OAWVZBMW.js +9 -0
- package/dist/agent-tools-QCCU74PN.js +13949 -0
- package/dist/chunk-2LHUARN6.js +4929 -0
- package/dist/chunk-2WVCNCYC.js +5087 -0
- package/dist/{chunk-6PWDS7KY.js → chunk-3FM6YQUK.js} +20 -20
- package/dist/chunk-3UAFHUEC.js +212 -0
- package/dist/{chunk-WJO57PMO.js → chunk-46GOWZT4.js} +20 -20
- package/dist/{chunk-BNRE7TSX.js → chunk-5KYJAUZV.js} +3 -3
- package/dist/chunk-6C5PKREN.js +467 -0
- package/dist/{chunk-447MTPZF.js → chunk-6ZMLNEHB.js} +3 -3
- package/dist/chunk-BPZQT5N5.js +25652 -0
- package/dist/chunk-BQM7MBPS.js +1380 -0
- package/dist/{chunk-ZRFKGPIU.js → chunk-C52OQNNY.js} +20 -20
- package/dist/chunk-C7HGQF4Y.js +25652 -0
- package/dist/chunk-CAHNZGGK.js +25656 -0
- package/dist/{chunk-FL3CH3ET.js → chunk-CK7R6UHE.js} +51 -27
- package/dist/chunk-D36RPWB7.js +25652 -0
- package/dist/{chunk-36NM2B4C.js → chunk-DJK2UPFH.js} +63 -93
- package/dist/chunk-DM7FTF7W.js +4929 -0
- package/dist/chunk-DMD24UFZ.js +5101 -0
- package/dist/{chunk-36XNMIHA.js → chunk-DXZGPUAF.js} +20 -20
- package/dist/chunk-F46WB5IL.js +5087 -0
- package/dist/chunk-F5QG5SQH.js +5087 -0
- package/dist/{chunk-JGEVQZDR.js → chunk-FLQ5FLHW.js} +13 -16
- package/dist/chunk-H7GP733U.js +5087 -0
- package/dist/{chunk-OZSQLOV6.js → chunk-HHBXWB5U.js} +415 -19
- package/dist/{chunk-D24JY75H.js → chunk-IMXS4N6W.js} +3 -3
- package/dist/{chunk-6PVBV6ZP.js → chunk-JNMDD7JY.js} +3 -3
- package/dist/chunk-JTV5LA47.js +1519 -0
- package/dist/chunk-KV6G7NZX.js +1519 -0
- package/dist/chunk-MU5MEBIK.js +1519 -0
- package/dist/chunk-NLT5MC7X.js +465 -0
- package/dist/{chunk-GTFZZUXX.js → chunk-NVLYIM4J.js} +51 -27
- package/dist/{chunk-6G5SXLXC.js → chunk-NZY2BIZH.js} +63 -93
- package/dist/chunk-O42L6G67.js +1519 -0
- package/dist/chunk-OCNERGGM.js +4891 -0
- package/dist/chunk-OJSNHONE.js +1519 -0
- package/dist/{chunk-2TAZJWJN.js → chunk-OWL3QVH7.js} +18 -0
- package/dist/{chunk-P3HVY2HS.js → chunk-OWTLNV4Q.js} +382 -7
- package/dist/chunk-PCNYEP6T.js +4891 -0
- package/dist/{chunk-YL3Z5KPR.js → chunk-PI4AQ4Z6.js} +438 -15
- package/dist/chunk-PN3EGTCA.js +194 -0
- package/dist/chunk-Q37UKNRC.js +1519 -0
- package/dist/chunk-QXTC6J7H.js +5087 -0
- package/dist/{chunk-SPBQVNDI.js → chunk-RKERL5LZ.js} +25 -21
- package/dist/chunk-RVBK2IOX.js +25652 -0
- package/dist/chunk-SAKODCZ5.js +4891 -0
- package/dist/{chunk-XV4TU65E.js → chunk-SALGFC5L.js} +51 -27
- package/dist/chunk-STGWZ2MS.js +1519 -0
- package/dist/chunk-UY3ZVQDP.js +25652 -0
- package/dist/chunk-V6OSD62M.js +5087 -0
- package/dist/chunk-VP6YAHX4.js +1519 -0
- package/dist/chunk-WDYJOEAI.js +5087 -0
- package/dist/chunk-WEAFQNOS.js +195 -0
- package/dist/chunk-XKUSAZGP.js +5087 -0
- package/dist/chunk-Z6K5FKAB.js +548 -0
- package/dist/chunk-ZGE3XAXY.js +1519 -0
- package/dist/chunk-ZGYVXYQQ.js +3296 -0
- package/dist/cli-agent-7TB2BWS6.js +2370 -0
- package/dist/cli-agent-AKXFFST2.js +2370 -0
- package/dist/cli-agent-DZTKLITB.js +2357 -0
- package/dist/cli-agent-FOF7PFEP.js +2357 -0
- package/dist/cli-agent-H74M2ZYN.js +2357 -0
- package/dist/cli-agent-HORWVPHB.js +2370 -0
- package/dist/cli-agent-HSZT6SKF.js +2423 -0
- package/dist/cli-agent-JLUQ4ZU6.js +2424 -0
- package/dist/cli-agent-MVCDH4HV.js +2370 -0
- package/dist/cli-agent-NZXOEPJ2.js +2357 -0
- package/dist/cli-agent-PADN3QRC.js +2357 -0
- package/dist/cli-agent-QAYEX3BE.js +2441 -0
- package/dist/cli-agent-QT64DT5J.js +2370 -0
- package/dist/cli-agent-TFL2M6UK.js +2424 -0
- package/dist/cli-agent-UIKXATTD.js +2357 -0
- package/dist/cli-agent-UJN6FYTO.js +2370 -0
- package/dist/cli-agent-VIQAYVY4.js +2357 -0
- package/dist/cli-agent-WNWFVOFM.js +2370 -0
- package/dist/cli-agent-XBQX67VJ.js +2423 -0
- package/dist/cli-agent-ZLSC6FF4.js +2357 -0
- package/dist/cli-serve-2IL5DTEY.js +153 -0
- package/dist/cli-serve-47N5UKKW.js +153 -0
- package/dist/cli-serve-4XGZFUV2.js +140 -0
- package/dist/cli-serve-6OT3UEAN.js +140 -0
- package/dist/cli-serve-7L6EY5UH.js +153 -0
- package/dist/cli-serve-BDGOOOKQ.js +260 -0
- package/dist/cli-serve-BFNIW2LF.js +153 -0
- package/dist/cli-serve-C7MN6U5Q.js +153 -0
- package/dist/cli-serve-CR3OY3IM.js +153 -0
- package/dist/cli-serve-DAJFRWQ7.js +153 -0
- package/dist/cli-serve-FW6FHFW4.js +153 -0
- package/dist/cli-serve-GEEOQS77.js +153 -0
- package/dist/cli-serve-H562I3ZK.js +153 -0
- package/dist/cli-serve-HDQZF4C4.js +153 -0
- package/dist/cli-serve-LICAOMEB.js +140 -0
- package/dist/cli-serve-LLGYLWFS.js +153 -0
- package/dist/cli-serve-N3OISDNB.js +153 -0
- package/dist/cli-serve-TIZ27EVR.js +153 -0
- package/dist/cli-serve-TUNI2RCN.js +153 -0
- package/dist/cli-serve-WNOZMAWD.js +153 -0
- package/dist/cli-validate-Z726VJCN.js +150 -0
- package/dist/cli.js +4 -4
- package/dist/connection-manager-KAWEUWUR.js +9 -0
- package/dist/dashboard/app.js +9 -3
- package/dist/dashboard/components/knowledge-link.js +15 -0
- package/dist/dashboard/components/settings-help.js +4 -2
- package/dist/dashboard/docs/agent-deployment.html +33 -1
- package/dist/dashboard/docs/settings-network.html +321 -0
- package/dist/dashboard/docs/settings-security.html +347 -0
- package/dist/dashboard/docs/settings-tool-security.html +176 -0
- package/dist/dashboard/docs/settings.html +36 -16
- package/dist/dashboard/pages/agent-detail/deployment.js +39 -6
- package/dist/dashboard/pages/agent-detail/tools.js +10 -0
- package/dist/dashboard/pages/database-access.js +4 -3
- package/dist/dashboard/pages/settings.js +174 -37
- package/dist/dashboard/pages/task-pipeline.js +400 -843
- package/dist/db-adapter-2T56ORSD.js +7 -0
- package/dist/db-adapter-IRHOUMVC.js +7 -0
- package/dist/index.js +41 -41
- package/dist/microsoft-VREAZ7M2.js +3955 -0
- package/dist/routes-3MMLQTB6.js +90 -0
- package/dist/routes-4ZUIJ4HE.js +90 -0
- package/dist/routes-5MXHKKH4.js +90 -0
- package/dist/routes-64NJFK3B.js +90 -0
- package/dist/routes-6AKQ2LBV.js +90 -0
- package/dist/routes-CRRBUDO4.js +90 -0
- package/dist/routes-DIAF3MC3.js +90 -0
- package/dist/routes-KMUNU6CY.js +90 -0
- package/dist/routes-LRRLXIZR.js +90 -0
- package/dist/routes-N647AJYG.js +90 -0
- package/dist/routes-SSSELAAR.js +90 -0
- package/dist/routes-STERVGKJ.js +90 -0
- package/dist/routes-ZEZZACZP.js +90 -0
- package/dist/runtime-5EQN4GFM.js +45 -0
- package/dist/runtime-5LP7PUD4.js +45 -0
- package/dist/runtime-6BULDBR3.js +45 -0
- package/dist/runtime-6YEENDN3.js +45 -0
- package/dist/runtime-7LQFRG3B.js +45 -0
- package/dist/runtime-AMXJU2MB.js +45 -0
- package/dist/runtime-D6WSE7FG.js +45 -0
- package/dist/runtime-EYVN7NFJ.js +45 -0
- package/dist/runtime-F6RPWQVW.js +45 -0
- package/dist/runtime-FYMJURFC.js +45 -0
- package/dist/runtime-JRNBL4O4.js +45 -0
- package/dist/runtime-OM2NIBMI.js +45 -0
- package/dist/runtime-QWPVD7CY.js +45 -0
- package/dist/runtime-YLIIPTE4.js +45 -0
- package/dist/runtime-YU6P22CG.js +45 -0
- package/dist/screen-unlock-4RPZBHOI.js +118 -0
- package/dist/server-AMCSXINC.js +28 -0
- package/dist/server-CU6LVQS4.js +28 -0
- package/dist/server-DFYGH2CV.js +28 -0
- package/dist/server-EELWOC3X.js +28 -0
- package/dist/server-EN5E2OWQ.js +28 -0
- package/dist/server-GW2HYJYI.js +28 -0
- package/dist/server-J25NCRWJ.js +28 -0
- package/dist/server-JDGNOTFV.js +28 -0
- package/dist/server-NE5HD5DJ.js +28 -0
- package/dist/server-NQOT7W77.js +28 -0
- package/dist/server-PWE5PQTR.js +28 -0
- package/dist/server-Q2Q32H2B.js +28 -0
- package/dist/server-Q77ME7TL.js +28 -0
- package/dist/server-WLLH4WST.js +28 -0
- package/dist/server-WTUJ2O3F.js +28 -0
- package/dist/server-X4CJTHHF.js +28 -0
- package/dist/server-XK3ILCJC.js +28 -0
- package/dist/server-ZRD3NDJE.js +28 -0
- package/dist/setup-44VBAO4J.js +20 -0
- package/dist/setup-4ONNQBWB.js +20 -0
- package/dist/setup-4OSBXSCL.js +20 -0
- package/dist/setup-4QFGRBLZ.js +20 -0
- package/dist/setup-6766SGAR.js +20 -0
- package/dist/setup-AYY24DKM.js +20 -0
- package/dist/setup-B34N4HPU.js +20 -0
- package/dist/setup-E2YLC2EY.js +20 -0
- package/dist/setup-ER6NXTY5.js +20 -0
- package/dist/setup-H2AGCBW5.js +20 -0
- package/dist/setup-ICOZRKCX.js +20 -0
- package/dist/setup-JFTJH7UF.js +20 -0
- package/dist/setup-PRFNI6YW.js +20 -0
- package/dist/setup-RAHBMYHE.js +20 -0
- package/dist/setup-TXPR5UQX.js +20 -0
- package/dist/setup-XCJMELVU.js +20 -0
- package/dist/setup-XIYEIFVK.js +20 -0
- package/dist/setup-Z4PZSHBI.js +20 -0
- package/dist/skills-FR7I5V7H.js +16 -0
- package/dist/skills-HCVBA6PK.js +16 -0
- package/dist/system-prompts-TM7OA32C.js +913 -0
- package/dist/task-queue-O7IVZYUO.js +9 -0
- package/dist/transport-encryption-2T7PIXKG.js +25 -0
- package/logs/cloudflared-error.log +61 -0
- package/logs/cloudflared-out.log +0 -0
- package/logs/enterprise-error.log +0 -0
- package/logs/enterprise-out.log +3 -0
- package/logs/fola-error.log +0 -0
- package/logs/fola-out.log +0 -0
- package/logs/john-error.log +8 -0
- package/logs/john-out.log +0 -0
- package/package.json +31 -3
- package/src/agent-tools/tool-resolver.ts +50 -61
- package/src/agent-tools/tools/enterprise-database.ts +5 -5
- package/src/agent-tools/tools/local/dependency-manager.ts +2 -2
- package/src/agent-tools/tools/microsoft/graph-api.ts +137 -26
- package/src/agent-tools/tools/microsoft/outlook-mail.ts +392 -100
- package/src/agent-tools/tools/microsoft/teams.ts +267 -48
- package/src/auth/routes.ts +4 -4
- package/src/cli-agent.ts +108 -8
- package/src/cli-serve.ts +140 -0
- package/src/dashboard/app.js +9 -3
- package/src/dashboard/components/knowledge-link.js +15 -0
- package/src/dashboard/components/settings-help.js +4 -2
- package/src/dashboard/docs/agent-deployment.html +33 -1
- package/src/dashboard/docs/settings-network.html +321 -0
- package/src/dashboard/docs/settings-security.html +347 -0
- package/src/dashboard/docs/settings-tool-security.html +176 -0
- package/src/dashboard/docs/settings.html +36 -16
- package/src/dashboard/pages/agent-detail/deployment.js +39 -6
- package/src/dashboard/pages/agent-detail/tools.js +10 -0
- package/src/dashboard/pages/database-access.js +4 -3
- package/src/dashboard/pages/settings.js +174 -37
- package/src/dashboard/pages/task-pipeline.js +400 -843
- package/src/database-access/agent-tools.ts +78 -63
- package/src/database-access/connection-manager.ts +13 -2
- package/src/database-access/routes.ts +13 -1
- package/src/db/adapter.ts +1 -0
- package/src/engine/agent-memory.ts +2 -1
- package/src/engine/agent-notify.ts +50 -0
- package/src/engine/agent-routes.ts +257 -4
- package/src/engine/db-adapter.ts +16 -0
- package/src/engine/lifecycle.ts +4 -0
- package/src/engine/routes.ts +4 -3
- package/src/engine/screen-unlock.ts +136 -0
- package/src/engine/skills/database-access.ts +78 -0
- package/src/engine/skills/index.ts +3 -2
- package/src/engine/skills.ts +2 -0
- package/src/engine/task-queue-routes.ts +18 -0
- package/src/engine/task-queue.ts +15 -2
- package/src/middleware/transport-encryption.ts +1 -4
- package/src/runtime/agent-loop.ts +4 -0
- package/src/runtime/index.ts +15 -6
- package/src/server.ts +14 -1
- package/src/system-prompts/google/index.ts +1 -2
- package/src/system-prompts/index.ts +1 -1
- package/src/system-prompts/microsoft/contacts.ts +34 -0
- package/src/system-prompts/microsoft/excel.ts +52 -0
- package/src/system-prompts/microsoft/index.ts +31 -0
- package/src/system-prompts/microsoft/onedrive.ts +41 -0
- package/src/system-prompts/microsoft/onenote.ts +36 -0
- package/src/system-prompts/microsoft/outlook-calendar.ts +37 -0
- package/src/system-prompts/microsoft/outlook-mail.ts +46 -0
- package/src/system-prompts/microsoft/planner.ts +37 -0
- package/src/system-prompts/microsoft/powerbi.ts +38 -0
- package/src/system-prompts/microsoft/powerpoint.ts +35 -0
- package/src/system-prompts/microsoft/sharepoint.ts +44 -0
- package/src/system-prompts/microsoft/teams.ts +49 -0
- package/src/system-prompts/microsoft/todo.ts +37 -0
- package/src/types/hono-env.ts +4 -0
- package/.github/CODEOWNERS +0 -23
- package/.github/workflows/publish-community-skills.yml +0 -121
- package/.github/workflows/validate-community-skills.yml +0 -172
- package/agriculture_southwest_nigeria_research.txt +0 -10
- package/boa_credit_cards_research.txt +0 -10
- package/customer_support_research_feb2026.txt +0 -10
- package/dist/agent-tools-LRA7PPXG.js +0 -13922
- package/dist/agent-tools-VAU5DOQB.js +0 -13910
- package/dist/agent-tools-VWV7OWXU.js +0 -13922
- package/dist/chunk-2Z7MWTCX.js +0 -4977
- package/dist/chunk-3T4XU3VV.js +0 -5010
- package/dist/chunk-445QM4NX.js +0 -5061
- package/dist/chunk-5TW3Y7DJ.js +0 -1519
- package/dist/chunk-6I7VY3LT.js +0 -5060
- package/dist/chunk-6W5EK3UP.js +0 -4977
- package/dist/chunk-AQMSHJQT.js +0 -5069
- package/dist/chunk-ASSQW7HX.js +0 -5051
- package/dist/chunk-CIN27FGC.js +0 -5037
- package/dist/chunk-CMXY3NUB.js +0 -4977
- package/dist/chunk-DRLMRUDP.js +0 -5052
- package/dist/chunk-EHI7Z446.js +0 -1519
- package/dist/chunk-FEAILFAQ.js +0 -1519
- package/dist/chunk-GA3PYBZL.js +0 -1519
- package/dist/chunk-GWX63G5J.js +0 -1519
- package/dist/chunk-HHMZ4UY6.js +0 -1519
- package/dist/chunk-HVQMNF7E.js +0 -4921
- package/dist/chunk-HXM7F3YN.js +0 -1519
- package/dist/chunk-K6NGOUXG.js +0 -5060
- package/dist/chunk-KPG5WINJ.js +0 -4977
- package/dist/chunk-LBCUBYDL.js +0 -1519
- package/dist/chunk-LIRQSWLR.js +0 -5014
- package/dist/chunk-LRCKO5KE.js +0 -1519
- package/dist/chunk-M7XL3DJD.js +0 -5069
- package/dist/chunk-MHJULEIQ.js +0 -1519
- package/dist/chunk-MJGGW6MC.js +0 -106
- package/dist/chunk-MMYBDHDB.js +0 -4921
- package/dist/chunk-MQT5FXKD.js +0 -1519
- package/dist/chunk-OIMPEQF5.js +0 -4977
- package/dist/chunk-OOU7JUYE.js +0 -542
- package/dist/chunk-OW4GLBHP.js +0 -1519
- package/dist/chunk-Q4K4MMLU.js +0 -4977
- package/dist/chunk-RUK4CRPF.js +0 -1519
- package/dist/chunk-T7H65XQY.js +0 -1519
- package/dist/chunk-TQVFWG57.js +0 -5064
- package/dist/chunk-UEPK3IMC.js +0 -1519
- package/dist/chunk-VUWTXJH6.js +0 -1519
- package/dist/chunk-WCPGGSAD.js +0 -1519
- package/dist/chunk-WO63NZOJ.js +0 -1519
- package/dist/chunk-YPJDRVUM.js +0 -5064
- package/dist/chunk-ZROMH5DL.js +0 -4921
- package/src/dashboard/docs/_template.txt +0 -92
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to AgenticMail Enterprise are documented here.
|
|
4
|
+
|
|
5
|
+
## [0.5.320] - 2026-03-05
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Microsoft 365 Integration** — 97 tools across 13 services (Outlook Mail, Calendar, OneDrive, Teams, Excel, SharePoint, OneNote, To Do, Contacts, PowerPoint, Planner, Power BI)
|
|
9
|
+
- **Microsoft Graph API helper** — Retry with backoff, rate-limit handling, auto-pagination, JSON batching
|
|
10
|
+
- **Microsoft system prompts** — 12 structured prompt files mirroring Google tools pattern
|
|
11
|
+
- **Task pipeline redesign** — Table/list view with status tabs, search, pagination, real-time updates via webhook
|
|
12
|
+
- **Client organization data isolation** — Org-bound users see only their organization's data
|
|
13
|
+
- **Visible roles configuration** — Parent org controls which roles client org users can see
|
|
14
|
+
- **Cross-platform dependency manager** — macOS, Linux, Windows support with policy-driven installation
|
|
15
|
+
- **Org-wide dependency policy** — Configurable from Settings > Security tab
|
|
16
|
+
- **PM2 production persistence** — ecosystem.config.cjs, LaunchAgent, log rotation
|
|
17
|
+
- **LOG_LEVEL env var** — Production log noise suppression
|
|
18
|
+
- **Port validation** — Checks availability before local agent deployment
|
|
19
|
+
- **Screen unlock** — Agents can auto-unlock machine screen
|
|
20
|
+
- **Per-section editing** — Independent edit buttons on Security and Permissions tabs
|
|
21
|
+
- **Dynamic sidebar company name** — Updates in real-time from settings
|
|
22
|
+
- **Tiered tool loading** — ~75% tool count reduction for messaging channels
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
- DB connection pool exhaustion (MaxClientsInSessionMode)
|
|
26
|
+
- Smart DB URL auto-configuration for Supabase/Neon
|
|
27
|
+
- Stop-impersonation logging user out
|
|
28
|
+
- Client org skills/roles showing all data during impersonation
|
|
29
|
+
- Agent UUID display in compliance reports
|
|
30
|
+
|
|
31
|
+
## [0.5.315] - 2026-03-03
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
- Client organization data isolation across all dashboard pages
|
|
35
|
+
- `allowed_roles` JSONB column for role visibility control
|
|
36
|
+
- Impersonation token refresh preserving org restrictions
|
|
37
|
+
|
|
38
|
+
## [0.5.313] - 2026-03-01
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
- Smart DB URL auto-configuration (Supabase/Neon detection)
|
|
42
|
+
- 7 enterprise DLP rule packs (53 rules)
|
|
43
|
+
- SOC 2 Type II compliance reports with HTML export
|
|
44
|
+
- Comprehensive README rewrite
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
- DB connection pool exhaustion
|
|
48
|
+
- Compliance report generation crashes
|
|
49
|
+
|
|
50
|
+
## [0.5.312] - 2026-02-28
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
- Transport encryption (AES-256-GCM)
|
|
54
|
+
- Org switchers across all dashboard pages
|
|
55
|
+
- DLP rule editing, enable/disable toggle, detail modal
|
|
56
|
+
- Journal action detail modal
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
- Double encryption with Hono wildcard middleware
|
|
60
|
+
- Engine sub-app body forwarding
|
|
61
|
+
- Org switching not reloading data
|
|
62
|
+
- Knowledge base auto-assign persistence
|
|
63
|
+
- Workforce/guardrails/audit org filtering
|
|
64
|
+
|
|
65
|
+
[0.5.320]: https://github.com/agenticmail/enterprise/releases/tag/v0.5.320
|
|
66
|
+
[0.5.315]: https://github.com/agenticmail/enterprise/releases/tag/v0.5.315
|
|
67
|
+
[0.5.313]: https://github.com/agenticmail/enterprise/releases/tag/v0.5.313
|
|
68
|
+
[0.5.312]: https://github.com/agenticmail/enterprise/releases/tag/v0.5.312
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
## Our Standards
|
|
8
|
+
|
|
9
|
+
Examples of behavior that contributes to a positive environment:
|
|
10
|
+
|
|
11
|
+
* Using welcoming and inclusive language
|
|
12
|
+
* Being respectful of differing viewpoints and experiences
|
|
13
|
+
* Gracefully accepting constructive criticism
|
|
14
|
+
* Focusing on what is best for the community
|
|
15
|
+
* Showing empathy towards other community members
|
|
16
|
+
|
|
17
|
+
Examples of unacceptable behavior:
|
|
18
|
+
|
|
19
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
20
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
21
|
+
* Public or private harassment
|
|
22
|
+
* Publishing others' private information without explicit permission
|
|
23
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
24
|
+
|
|
25
|
+
## Enforcement
|
|
26
|
+
|
|
27
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to **conduct@agenticmail.io**. All complaints will be reviewed and investigated promptly and fairly.
|
|
28
|
+
|
|
29
|
+
## Attribution
|
|
30
|
+
|
|
31
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.
|
package/README.md
CHANGED
|
@@ -152,7 +152,8 @@ Most AI agent platforms give you a chatbot. We give you a **workforce**.
|
|
|
152
152
|
| SaaS integration adapters | 145 |
|
|
153
153
|
| Enterprise skill definitions | 52 |
|
|
154
154
|
| Google Workspace tools | 13 services |
|
|
155
|
-
|
|
|
155
|
+
| Microsoft 365 tools | 13 services, 90+ tools |
|
|
156
|
+
| Agent tools | 270+ (smart tiered loading) |
|
|
156
157
|
| Soul templates | 51 (14 categories) |
|
|
157
158
|
| DLP rule packs | 7 (53 pre-built rules) |
|
|
158
159
|
| Compliance report types | 5 (SOC 2, GDPR, SOX, Incident, Access Review) |
|
|
@@ -385,7 +386,19 @@ The agent automatically:
|
|
|
385
386
|
|
|
386
387
|
## Agent Tools
|
|
387
388
|
|
|
388
|
-
270+ tools organized by category:
|
|
389
|
+
270+ tools organized by category, with **intelligent tiered loading** to minimize token costs:
|
|
390
|
+
|
|
391
|
+
### Smart Tool Loading
|
|
392
|
+
|
|
393
|
+
Tools are loaded on-demand using a 3-tier system — agents don't pay for 270 tool definitions on every message:
|
|
394
|
+
|
|
395
|
+
| Tier | When Loaded | Example |
|
|
396
|
+
|------|-------------|---------|
|
|
397
|
+
| **Tier 1 — Essential** | Always loaded (~20 tools, ~3K tokens) | File I/O, memory, management, search |
|
|
398
|
+
| **Tier 2 — Contextual** | Auto-loaded by channel + conversation signals | Gmail when user says "email", Teams when on Teams |
|
|
399
|
+
| **Tier 3 — Specialist** | On-demand via `request_tools` | Slides, Forms, Power BI, security scanning |
|
|
400
|
+
|
|
401
|
+
A simple "Thank you" on Telegram loads ~50 tools (~8K tokens) instead of 270 (~33K tokens) — **75% token savings**. The agent can always request more tools mid-conversation, and conversation signals auto-promote relevant tools (mention "calendar" → calendar tools load automatically).
|
|
389
402
|
|
|
390
403
|
### Core Tools
|
|
391
404
|
|
|
@@ -417,6 +430,25 @@ The agent automatically:
|
|
|
417
430
|
| `google_forms_*` / `google_tasks_*` | Forms and Tasks |
|
|
418
431
|
| `google_meetings_*` | Meet integration |
|
|
419
432
|
|
|
433
|
+
### Microsoft 365 Tools
|
|
434
|
+
|
|
435
|
+
| Tool | Description |
|
|
436
|
+
|------|-------------|
|
|
437
|
+
| `outlook_mail_*` (20 tools) | Read, send, reply, forward, search, drafts, rules, categories, auto-reply, thread |
|
|
438
|
+
| `outlook_calendar_*` (7 tools) | Events, create with Teams link, respond to invites, free/busy |
|
|
439
|
+
| `teams_*` (15 tools) | Channel messages, chats, file sharing, members, presence, status |
|
|
440
|
+
| `onedrive_*` (12 tools) | Files, search, share, move, copy, versions, permissions |
|
|
441
|
+
| `excel_*` (16 tools) | Read/write ranges, tables, charts, formulas, sessions, named ranges, formatting |
|
|
442
|
+
| `sharepoint_*` (10 tools) | Sites, document libraries, lists, search, upload |
|
|
443
|
+
| `onenote_*` (6 tools) | Notebooks, sections, pages, create, update |
|
|
444
|
+
| `planner_*` (6 tools) | Plans, buckets, tasks with ETag concurrency |
|
|
445
|
+
| `todo_*` (6 tools) | Task lists, create, update, complete |
|
|
446
|
+
| `powerpoint_*` (5 tools) | Info, export PDF, thumbnails, templates, embed URLs |
|
|
447
|
+
| `powerbi_*` (8 tools) | Workspaces, reports, dashboards, datasets, DAX queries, refresh |
|
|
448
|
+
| `ms_contacts_*` (5 tools) | Contacts CRUD, people/directory search |
|
|
449
|
+
|
|
450
|
+
Microsoft tools auto-detect via OAuth provider — if the agent has Microsoft OAuth configured, all Graph API tools become available. Includes production-grade retry with exponential backoff, 429 rate-limit handling, auto-pagination, and JSON batch support.
|
|
451
|
+
|
|
420
452
|
### Enterprise Tools
|
|
421
453
|
|
|
422
454
|
| Tool | Description |
|
|
@@ -484,6 +516,36 @@ Agents can:
|
|
|
484
516
|
|
|
485
517
|
---
|
|
486
518
|
|
|
519
|
+
## Microsoft 365 Integration
|
|
520
|
+
|
|
521
|
+
Deep, native integration with 13 Microsoft services via Microsoft Graph API:
|
|
522
|
+
|
|
523
|
+
| Service | Tools | Key Features |
|
|
524
|
+
|---------|-------|-------------|
|
|
525
|
+
| **Outlook Mail** | 20 tools | Full CRUD, threads, rules, categories, auto-reply, drafts, attachments |
|
|
526
|
+
| **Outlook Calendar** | 7 tools | Events, Teams meeting links, free/busy, invite responses |
|
|
527
|
+
| **Teams** | 15 tools | Channels, chats, file sharing, members, presence, status messages |
|
|
528
|
+
| **OneDrive** | 12 tools | Files, search, share, move, copy, versions, permissions |
|
|
529
|
+
| **Excel** | 16 tools | Ranges, tables, charts, formulas, sessions, named ranges, formatting |
|
|
530
|
+
| **SharePoint** | 10 tools | Sites, document libraries, lists, content search |
|
|
531
|
+
| **OneNote** | 6 tools | Notebooks, sections, pages CRUD |
|
|
532
|
+
| **Planner** | 6 tools | Team task management with concurrency control |
|
|
533
|
+
| **To Do** | 6 tools | Personal task lists with reminders |
|
|
534
|
+
| **PowerPoint** | 5 tools | Export, thumbnails, templates, embedding |
|
|
535
|
+
| **Power BI** | 8 tools | Reports, dashboards, DAX queries, dataset refresh |
|
|
536
|
+
| **Contacts** | 5 tools | Contact CRUD, people/directory search |
|
|
537
|
+
|
|
538
|
+
**Auto-detected via OAuth provider** — connect Microsoft OAuth in the dashboard and all tools become available. Each service has its own dedicated system prompt with tool usage guidance.
|
|
539
|
+
|
|
540
|
+
**Production-grade Graph API client:**
|
|
541
|
+
- Retry with exponential backoff (3 attempts)
|
|
542
|
+
- 429 rate-limit handling with `Retry-After` header
|
|
543
|
+
- Auto-pagination via `@odata.nextLink` (up to 500 items)
|
|
544
|
+
- JSON batch support (up to 20 requests per batch)
|
|
545
|
+
- Beta endpoint support for preview APIs
|
|
546
|
+
|
|
547
|
+
---
|
|
548
|
+
|
|
487
549
|
## 145 SaaS Integration Adapters
|
|
488
550
|
|
|
489
551
|
Pre-built MCP adapters for connecting agents to any SaaS tool:
|
|
@@ -510,8 +572,8 @@ Each adapter provides:
|
|
|
510
572
|
### Google Workspace Suite (14)
|
|
511
573
|
Gmail · Calendar · Drive · Docs · Sheets · Slides · Forms · Meet · Chat · Keep · Sites · Groups · Admin · Vault
|
|
512
574
|
|
|
513
|
-
### Microsoft 365 Suite (
|
|
514
|
-
Outlook · Teams · OneDrive
|
|
575
|
+
### Microsoft 365 Suite (13 services, 90+ tools)
|
|
576
|
+
Outlook Mail (20 tools) · Outlook Calendar (7) · Teams (15) · OneDrive (12) · Excel (16) · SharePoint (10) · OneNote (6) · Planner (6) · To Do (6) · PowerPoint (5) · Power BI (8) · Contacts (5) · Each with dedicated system prompts and Graph API integration with retry, rate-limit handling, pagination, and batch support.
|
|
515
577
|
|
|
516
578
|
### Enterprise Custom Suite (16+)
|
|
517
579
|
Calendar · Code Sandbox · Database · Diff · Documents · Finance · HTTP · Knowledge Search · Logs · Notifications · Security Scan · Spreadsheet · Translation · Vision · Web Research · Workflow
|
|
@@ -757,18 +819,21 @@ Manage agents like employees:
|
|
|
757
819
|
|
|
758
820
|
### Task Pipeline
|
|
759
821
|
|
|
760
|
-
-
|
|
761
|
-
-
|
|
762
|
-
-
|
|
763
|
-
-
|
|
764
|
-
-
|
|
822
|
+
- **Real-time table view** — Paginated task list with search, sort, and status tabs (Active, Completed, Failed, All)
|
|
823
|
+
- **Live SSE updates** — Tasks appear, update, and move between tabs instantly as agents work
|
|
824
|
+
- **Cross-process webhook relay** — Standalone agent processes notify the enterprise server, so the dashboard updates in real-time even when agents run as separate processes
|
|
825
|
+
- **Delegation chain visualization** — Click any task to see the full delegation flow (who assigned → who worked → review loops)
|
|
826
|
+
- **Stats cards** — Active, completed, failed counts with today's metrics, token usage, and cost
|
|
827
|
+
- **Org-scoped views** — Client org users only see their agents' tasks
|
|
828
|
+
- **Activity log** — Per-task activity timeline with search and type filtering
|
|
765
829
|
|
|
766
830
|
### External Channels
|
|
767
831
|
|
|
768
832
|
| Channel | Mode | Features |
|
|
769
833
|
|---------|------|----------|
|
|
770
834
|
| **Email (Gmail)** | OAuth | Full CRUD, attachments, signatures |
|
|
771
|
-
| **Email (Outlook)** | OAuth | Full CRUD, attachments |
|
|
835
|
+
| **Email (Outlook)** | OAuth | Full CRUD, attachments, rules, auto-reply, categories |
|
|
836
|
+
| **Microsoft Teams** | OAuth | Channels, chats, file sharing, presence, status |
|
|
772
837
|
| **Telegram** | Long-polling | Text, media (images/video/docs), inline buttons |
|
|
773
838
|
| **WhatsApp** | Webhook | Text, media, templates |
|
|
774
839
|
| **Google Chat** | Webhook + API | Messages, spaces, reactions |
|
|
@@ -835,49 +900,63 @@ Media handling includes:
|
|
|
835
900
|
|
|
836
901
|
## Deployment
|
|
837
902
|
|
|
838
|
-
###
|
|
903
|
+
### Zero-Config (Recommended)
|
|
839
904
|
|
|
840
905
|
```bash
|
|
841
|
-
|
|
842
|
-
|
|
906
|
+
npx @agenticmail/enterprise
|
|
907
|
+
```
|
|
843
908
|
|
|
844
|
-
|
|
845
|
-
pm2 start dist/cli.js --name fola-agent -- agent --env-file=.env.fola
|
|
846
|
-
pm2 start dist/cli.js --name john-agent -- agent --env-file=.env.john
|
|
909
|
+
The setup wizard handles everything. After setup, the system is **self-managing**.
|
|
847
910
|
|
|
848
|
-
|
|
849
|
-
pm2 start cloudflared -- tunnel run --token $TUNNEL_TOKEN
|
|
850
|
-
```
|
|
911
|
+
### Automatic System Persistence
|
|
851
912
|
|
|
852
|
-
|
|
913
|
+
AgenticMail automatically configures itself to survive reboots, crashes, and network outages — **you never run a single command**:
|
|
853
914
|
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
915
|
+
| Feature | What It Does |
|
|
916
|
+
|---------|-------------|
|
|
917
|
+
| **Auto-start on boot** | Configures OS-level startup (launchd on macOS, systemd on Linux, Windows Service on Windows) |
|
|
918
|
+
| **Crash recovery** | Exponential backoff restart (1.5s → 3s → 6s → 12s → 15s cap). Max 50 restarts before stopping |
|
|
919
|
+
| **Memory protection** | Auto-restart if process exceeds memory limit (512MB server, 384MB agents) |
|
|
920
|
+
| **Log rotation** | Auto-installs pm2-logrotate: 10MB max per file, 5 rotated files, compressed |
|
|
921
|
+
| **Process persistence** | Saves process list on every boot — `pm2 resurrect` restores everything automatically |
|
|
922
|
+
| **Graceful shutdown** | 10s timeout for clean shutdown before force-kill |
|
|
858
923
|
|
|
859
|
-
|
|
924
|
+
**Works on every platform — automatically:**
|
|
860
925
|
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
926
|
+
| Platform | Startup Method | User Action Needed |
|
|
927
|
+
|----------|---------------|-------------------|
|
|
928
|
+
| macOS | launchd (LaunchAgent) | None |
|
|
929
|
+
| Linux (Ubuntu/Debian/RHEL) | systemd service | None |
|
|
930
|
+
| Windows | Windows Service | None |
|
|
931
|
+
| Docker | `pm2-runtime` in CMD | None |
|
|
932
|
+
| Raspberry Pi | systemd | None |
|
|
933
|
+
|
|
934
|
+
All persistence setup runs **once on first boot** and writes a marker file. Subsequent boots just save the process list silently.
|
|
935
|
+
|
|
936
|
+
### Production Log Levels
|
|
937
|
+
|
|
938
|
+
| Level | What Shows |
|
|
939
|
+
|-------|-----------|
|
|
940
|
+
| `debug` | Everything (verbose) |
|
|
941
|
+
| `info` | Normal operation (default) |
|
|
942
|
+
| `warn` | Warnings and errors only (recommended for production) |
|
|
943
|
+
| `error` | Errors only |
|
|
944
|
+
|
|
945
|
+
Set `LOG_LEVEL=warn` in your `.env` file for production deployments.
|
|
867
946
|
|
|
868
|
-
###
|
|
947
|
+
### Manual PM2 (Advanced)
|
|
869
948
|
|
|
870
949
|
```bash
|
|
871
|
-
|
|
872
|
-
|
|
950
|
+
# Or use the ecosystem config for full control:
|
|
951
|
+
pm2 start ecosystem.config.cjs
|
|
952
|
+
pm2 save
|
|
873
953
|
```
|
|
874
954
|
|
|
875
|
-
###
|
|
955
|
+
### Docker / Fly.io / Railway
|
|
876
956
|
|
|
877
957
|
```bash
|
|
878
|
-
npx @agenticmail/enterprise # Select
|
|
879
|
-
#
|
|
880
|
-
npm run dev # Build + watch mode
|
|
958
|
+
npx @agenticmail/enterprise # Select your deploy target
|
|
959
|
+
# Wizard handles everything
|
|
881
960
|
```
|
|
882
961
|
|
|
883
962
|
---
|
|
@@ -923,6 +1002,7 @@ npx @agenticmail/enterprise verify-domain
|
|
|
923
1002
|
| `MASTER_KEY` | Admin master key (first-run setup) | — |
|
|
924
1003
|
| `TRANSPORT_DECRYPT_KEY` | Transport encryption key for API responses | — |
|
|
925
1004
|
| `PORT` | Server port | `3000` |
|
|
1005
|
+
| `LOG_LEVEL` | Log verbosity: `debug`, `info`, `warn`, `error` | `info` |
|
|
926
1006
|
| `CORS_ORIGINS` | Allowed CORS origins (comma-separated) | `*` |
|
|
927
1007
|
| `RATE_LIMIT` | Requests per minute per IP | `120` |
|
|
928
1008
|
| `DB_POOL_MAX` | Override database connection pool size | Auto (3 for pooler, 10 for direct) |
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
| ------- | ------------------ |
|
|
7
|
+
| 0.5.x | :white_check_mark: |
|
|
8
|
+
| < 0.5 | :x: |
|
|
9
|
+
|
|
10
|
+
## Reporting a Vulnerability
|
|
11
|
+
|
|
12
|
+
**Do not report security vulnerabilities through public GitHub issues.**
|
|
13
|
+
|
|
14
|
+
Instead, please report them via email to **security@agenticmail.io**.
|
|
15
|
+
|
|
16
|
+
You should receive an acknowledgment within 48 hours. We will send a detailed response within 7 days indicating next steps.
|
|
17
|
+
|
|
18
|
+
Please include:
|
|
19
|
+
|
|
20
|
+
- Description of the vulnerability
|
|
21
|
+
- Steps to reproduce
|
|
22
|
+
- Impact assessment
|
|
23
|
+
- Any suggested fixes (optional)
|
|
24
|
+
|
|
25
|
+
## Security Measures
|
|
26
|
+
|
|
27
|
+
AgenticMail Enterprise implements multiple layers of security:
|
|
28
|
+
|
|
29
|
+
- **Transport Encryption** — AES-256-GCM encryption for all API traffic
|
|
30
|
+
- **Data Loss Prevention (DLP)** — Real-time content scanning with 53 built-in rules across 7 categories
|
|
31
|
+
- **Role-Based Access Control (RBAC)** — Granular permissions with preset profiles
|
|
32
|
+
- **Multi-Tenant Isolation** — Client organization data isolation across all endpoints
|
|
33
|
+
- **Audit Logging** — Comprehensive action journal with org-scoped filtering
|
|
34
|
+
- **SOC 2 Type II Compliance** — Automated reporting across all 9 Common Criteria (CC1-CC9)
|
|
35
|
+
- **OAuth 2.0 / SAML / OIDC** — Enterprise SSO with provider-based tool auto-detection
|
|
36
|
+
- **Rate Limiting** — Configurable per-endpoint and per-agent limits
|
|
37
|
+
- **CORS / Security Headers** — Strict origin validation and security header enforcement
|
|
38
|
+
- **Outbound Guard** — PII and credential scanning on all outgoing communications
|
|
39
|
+
|
|
40
|
+
## Disclosure Policy
|
|
41
|
+
|
|
42
|
+
We follow responsible disclosure. Security issues are patched in private and released as part of the next version. Critical vulnerabilities may receive out-of-band patches.
|