@agenticmail/enterprise 0.3.2 → 0.4.0

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 (1106) hide show
  1. package/.github/CODEOWNERS +23 -0
  2. package/.github/workflows/publish-community-skills.yml +121 -0
  3. package/.github/workflows/validate-community-skills.yml +172 -0
  4. package/ARCHITECTURE.md +184 -167
  5. package/CLAUDE.md +40 -0
  6. package/CONTRIBUTING.md +254 -0
  7. package/DEPLOYMENT.md +1031 -0
  8. package/README.md +355 -174
  9. package/community-skills/_template/README.md +31 -0
  10. package/community-skills/_template/agenticmail-skill.json +48 -0
  11. package/community-skills/activecampaign/README.md +21 -0
  12. package/community-skills/activecampaign/agenticmail-skill.json +56 -0
  13. package/community-skills/adobe-sign/README.md +21 -0
  14. package/community-skills/adobe-sign/agenticmail-skill.json +72 -0
  15. package/community-skills/adp/README.md +21 -0
  16. package/community-skills/adp/agenticmail-skill.json +65 -0
  17. package/community-skills/airtable-bases/README.md +29 -0
  18. package/community-skills/airtable-bases/agenticmail-skill.json +69 -0
  19. package/community-skills/apollo-io/README.md +21 -0
  20. package/community-skills/apollo-io/agenticmail-skill.json +50 -0
  21. package/community-skills/asana-tasks/README.md +30 -0
  22. package/community-skills/asana-tasks/agenticmail-skill.json +70 -0
  23. package/community-skills/auth0/README.md +21 -0
  24. package/community-skills/auth0/agenticmail-skill.json +56 -0
  25. package/community-skills/aws-services/README.md +38 -0
  26. package/community-skills/aws-services/agenticmail-skill.json +70 -0
  27. package/community-skills/azure-devops/README.md +21 -0
  28. package/community-skills/azure-devops/agenticmail-skill.json +57 -0
  29. package/community-skills/bamboohr/README.md +21 -0
  30. package/community-skills/bamboohr/agenticmail-skill.json +56 -0
  31. package/community-skills/basecamp/README.md +21 -0
  32. package/community-skills/basecamp/agenticmail-skill.json +56 -0
  33. package/community-skills/bigcommerce/README.md +21 -0
  34. package/community-skills/bigcommerce/agenticmail-skill.json +55 -0
  35. package/community-skills/bitbucket-repos/README.md +29 -0
  36. package/community-skills/bitbucket-repos/agenticmail-skill.json +70 -0
  37. package/community-skills/box/README.md +21 -0
  38. package/community-skills/box/agenticmail-skill.json +48 -0
  39. package/community-skills/brex/README.md +21 -0
  40. package/community-skills/brex/agenticmail-skill.json +48 -0
  41. package/community-skills/buffer/README.md +21 -0
  42. package/community-skills/buffer/agenticmail-skill.json +50 -0
  43. package/community-skills/calendly/README.md +20 -0
  44. package/community-skills/calendly/agenticmail-skill.json +43 -0
  45. package/community-skills/canva-design/README.md +33 -0
  46. package/community-skills/canva-design/agenticmail-skill.json +60 -0
  47. package/community-skills/chargebee/README.md +21 -0
  48. package/community-skills/chargebee/agenticmail-skill.json +55 -0
  49. package/community-skills/circleci-pipelines/README.md +28 -0
  50. package/community-skills/circleci-pipelines/agenticmail-skill.json +66 -0
  51. package/community-skills/clickup/README.md +21 -0
  52. package/community-skills/clickup/agenticmail-skill.json +48 -0
  53. package/community-skills/close-crm/README.md +21 -0
  54. package/community-skills/close-crm/agenticmail-skill.json +49 -0
  55. package/community-skills/cloudflare-cdn/README.md +37 -0
  56. package/community-skills/cloudflare-cdn/agenticmail-skill.json +67 -0
  57. package/community-skills/confluence-wiki/README.md +31 -0
  58. package/community-skills/confluence-wiki/agenticmail-skill.json +74 -0
  59. package/community-skills/contentful/README.md +21 -0
  60. package/community-skills/contentful/agenticmail-skill.json +62 -0
  61. package/community-skills/copper-crm/README.md +21 -0
  62. package/community-skills/copper-crm/agenticmail-skill.json +56 -0
  63. package/community-skills/crisp/README.md +21 -0
  64. package/community-skills/crisp/agenticmail-skill.json +56 -0
  65. package/community-skills/crowdstrike/README.md +21 -0
  66. package/community-skills/crowdstrike/agenticmail-skill.json +69 -0
  67. package/community-skills/datadog-monitoring/README.md +37 -0
  68. package/community-skills/datadog-monitoring/agenticmail-skill.json +73 -0
  69. package/community-skills/digitalocean/README.md +21 -0
  70. package/community-skills/digitalocean/agenticmail-skill.json +48 -0
  71. package/community-skills/discord/README.md +45 -0
  72. package/community-skills/discord/agenticmail-skill.json +65 -0
  73. package/community-skills/docker-containers/README.md +38 -0
  74. package/community-skills/docker-containers/agenticmail-skill.json +70 -0
  75. package/community-skills/docusign-esign/README.md +35 -0
  76. package/community-skills/docusign-esign/agenticmail-skill.json +66 -0
  77. package/community-skills/drift/README.md +21 -0
  78. package/community-skills/drift/agenticmail-skill.json +50 -0
  79. package/community-skills/dropbox-storage/README.md +36 -0
  80. package/community-skills/dropbox-storage/agenticmail-skill.json +67 -0
  81. package/community-skills/figma-design/README.md +36 -0
  82. package/community-skills/figma-design/agenticmail-skill.json +66 -0
  83. package/community-skills/firebase/README.md +21 -0
  84. package/community-skills/firebase/agenticmail-skill.json +56 -0
  85. package/community-skills/flyio/README.md +21 -0
  86. package/community-skills/flyio/agenticmail-skill.json +56 -0
  87. package/community-skills/freshbooks/README.md +21 -0
  88. package/community-skills/freshbooks/agenticmail-skill.json +55 -0
  89. package/community-skills/freshdesk/README.md +21 -0
  90. package/community-skills/freshdesk/agenticmail-skill.json +57 -0
  91. package/community-skills/freshsales/README.md +21 -0
  92. package/community-skills/freshsales/agenticmail-skill.json +55 -0
  93. package/community-skills/freshservice/README.md +21 -0
  94. package/community-skills/freshservice/agenticmail-skill.json +56 -0
  95. package/community-skills/front/README.md +21 -0
  96. package/community-skills/front/agenticmail-skill.json +48 -0
  97. package/community-skills/github/README.md +49 -0
  98. package/community-skills/github/agenticmail-skill.json +73 -0
  99. package/community-skills/github-actions/README.md +29 -0
  100. package/community-skills/github-actions/agenticmail-skill.json +72 -0
  101. package/community-skills/gitlab-ci/README.md +51 -0
  102. package/community-skills/gitlab-ci/agenticmail-skill.json +66 -0
  103. package/community-skills/gong/README.md +21 -0
  104. package/community-skills/gong/agenticmail-skill.json +50 -0
  105. package/community-skills/google-ads/README.md +36 -0
  106. package/community-skills/google-ads/agenticmail-skill.json +58 -0
  107. package/community-skills/google-analytics/README.md +28 -0
  108. package/community-skills/google-analytics/agenticmail-skill.json +69 -0
  109. package/community-skills/google-cloud/README.md +33 -0
  110. package/community-skills/google-cloud/agenticmail-skill.json +59 -0
  111. package/community-skills/google-drive/README.md +36 -0
  112. package/community-skills/google-drive/agenticmail-skill.json +65 -0
  113. package/community-skills/gotomeeting/README.md +20 -0
  114. package/community-skills/gotomeeting/agenticmail-skill.json +45 -0
  115. package/community-skills/grafana/README.md +21 -0
  116. package/community-skills/grafana/agenticmail-skill.json +56 -0
  117. package/community-skills/greenhouse/README.md +21 -0
  118. package/community-skills/greenhouse/agenticmail-skill.json +49 -0
  119. package/community-skills/gusto/README.md +21 -0
  120. package/community-skills/gusto/agenticmail-skill.json +49 -0
  121. package/community-skills/hashicorp-vault/README.md +21 -0
  122. package/community-skills/hashicorp-vault/agenticmail-skill.json +58 -0
  123. package/community-skills/heroku/README.md +21 -0
  124. package/community-skills/heroku/agenticmail-skill.json +48 -0
  125. package/community-skills/hibob/README.md +21 -0
  126. package/community-skills/hibob/agenticmail-skill.json +48 -0
  127. package/community-skills/hootsuite/README.md +21 -0
  128. package/community-skills/hootsuite/agenticmail-skill.json +48 -0
  129. package/community-skills/hubspot-crm/README.md +36 -0
  130. package/community-skills/hubspot-crm/agenticmail-skill.json +70 -0
  131. package/community-skills/huggingface/README.md +21 -0
  132. package/community-skills/huggingface/agenticmail-skill.json +48 -0
  133. package/community-skills/index.json +1320 -0
  134. package/community-skills/intercom-support/README.md +36 -0
  135. package/community-skills/intercom-support/agenticmail-skill.json +64 -0
  136. package/community-skills/jira/README.md +53 -0
  137. package/community-skills/jira/agenticmail-skill.json +72 -0
  138. package/community-skills/klaviyo/README.md +21 -0
  139. package/community-skills/klaviyo/agenticmail-skill.json +48 -0
  140. package/community-skills/kubernetes-cluster/README.md +36 -0
  141. package/community-skills/kubernetes-cluster/agenticmail-skill.json +72 -0
  142. package/community-skills/lattice/README.md +21 -0
  143. package/community-skills/lattice/agenticmail-skill.json +49 -0
  144. package/community-skills/launchdarkly/README.md +21 -0
  145. package/community-skills/launchdarkly/agenticmail-skill.json +48 -0
  146. package/community-skills/lever/README.md +21 -0
  147. package/community-skills/lever/agenticmail-skill.json +49 -0
  148. package/community-skills/linear/README.md +29 -0
  149. package/community-skills/linear/agenticmail-skill.json +81 -0
  150. package/community-skills/linkedin/README.md +21 -0
  151. package/community-skills/linkedin/agenticmail-skill.json +48 -0
  152. package/community-skills/livechat/README.md +20 -0
  153. package/community-skills/livechat/agenticmail-skill.json +43 -0
  154. package/community-skills/loom-video/README.md +20 -0
  155. package/community-skills/loom-video/agenticmail-skill.json +44 -0
  156. package/community-skills/mailchimp-campaigns/README.md +37 -0
  157. package/community-skills/mailchimp-campaigns/agenticmail-skill.json +69 -0
  158. package/community-skills/mailgun/README.md +21 -0
  159. package/community-skills/mailgun/agenticmail-skill.json +71 -0
  160. package/community-skills/microsoft-teams/README.md +51 -0
  161. package/community-skills/microsoft-teams/agenticmail-skill.json +66 -0
  162. package/community-skills/miro-boards/README.md +20 -0
  163. package/community-skills/miro-boards/agenticmail-skill.json +44 -0
  164. package/community-skills/mixpanel-analytics/README.md +34 -0
  165. package/community-skills/mixpanel-analytics/agenticmail-skill.json +64 -0
  166. package/community-skills/monday-boards/README.md +28 -0
  167. package/community-skills/monday-boards/agenticmail-skill.json +68 -0
  168. package/community-skills/mongodb-atlas/README.md +21 -0
  169. package/community-skills/mongodb-atlas/agenticmail-skill.json +58 -0
  170. package/community-skills/neon/README.md +21 -0
  171. package/community-skills/neon/agenticmail-skill.json +50 -0
  172. package/community-skills/netlify/README.md +21 -0
  173. package/community-skills/netlify/agenticmail-skill.json +48 -0
  174. package/community-skills/netsuite/README.md +21 -0
  175. package/community-skills/netsuite/agenticmail-skill.json +57 -0
  176. package/community-skills/newrelic/README.md +21 -0
  177. package/community-skills/newrelic/agenticmail-skill.json +58 -0
  178. package/community-skills/notion/README.md +49 -0
  179. package/community-skills/notion/agenticmail-skill.json +72 -0
  180. package/community-skills/okta/README.md +21 -0
  181. package/community-skills/okta/agenticmail-skill.json +57 -0
  182. package/community-skills/openai/README.md +21 -0
  183. package/community-skills/openai/agenticmail-skill.json +48 -0
  184. package/community-skills/opsgenie/README.md +21 -0
  185. package/community-skills/opsgenie/agenticmail-skill.json +48 -0
  186. package/community-skills/outreach/README.md +21 -0
  187. package/community-skills/outreach/agenticmail-skill.json +50 -0
  188. package/community-skills/paddle/README.md +21 -0
  189. package/community-skills/paddle/agenticmail-skill.json +55 -0
  190. package/community-skills/pagerduty/README.md +21 -0
  191. package/community-skills/pagerduty/agenticmail-skill.json +48 -0
  192. package/community-skills/pandadoc/README.md +21 -0
  193. package/community-skills/pandadoc/agenticmail-skill.json +48 -0
  194. package/community-skills/paypal/README.md +21 -0
  195. package/community-skills/paypal/agenticmail-skill.json +55 -0
  196. package/community-skills/personio/README.md +21 -0
  197. package/community-skills/personio/agenticmail-skill.json +48 -0
  198. package/community-skills/pinecone/README.md +21 -0
  199. package/community-skills/pinecone/agenticmail-skill.json +48 -0
  200. package/community-skills/pipedrive-deals/README.md +33 -0
  201. package/community-skills/pipedrive-deals/agenticmail-skill.json +60 -0
  202. package/community-skills/plaid/README.md +21 -0
  203. package/community-skills/plaid/agenticmail-skill.json +65 -0
  204. package/community-skills/postmark/README.md +21 -0
  205. package/community-skills/postmark/agenticmail-skill.json +48 -0
  206. package/community-skills/power-automate/README.md +21 -0
  207. package/community-skills/power-automate/agenticmail-skill.json +59 -0
  208. package/community-skills/quickbooks-accounting/README.md +38 -0
  209. package/community-skills/quickbooks-accounting/agenticmail-skill.json +70 -0
  210. package/community-skills/recurly/README.md +21 -0
  211. package/community-skills/recurly/agenticmail-skill.json +48 -0
  212. package/community-skills/reddit/README.md +21 -0
  213. package/community-skills/reddit/agenticmail-skill.json +48 -0
  214. package/community-skills/render/README.md +21 -0
  215. package/community-skills/render/agenticmail-skill.json +48 -0
  216. package/community-skills/ringcentral/README.md +20 -0
  217. package/community-skills/ringcentral/agenticmail-skill.json +43 -0
  218. package/community-skills/rippling/README.md +21 -0
  219. package/community-skills/rippling/agenticmail-skill.json +48 -0
  220. package/community-skills/salesforce/README.md +53 -0
  221. package/community-skills/salesforce/agenticmail-skill.json +73 -0
  222. package/community-skills/salesloft/README.md +21 -0
  223. package/community-skills/salesloft/agenticmail-skill.json +48 -0
  224. package/community-skills/sanity/README.md +21 -0
  225. package/community-skills/sanity/agenticmail-skill.json +62 -0
  226. package/community-skills/sap/README.md +21 -0
  227. package/community-skills/sap/agenticmail-skill.json +63 -0
  228. package/community-skills/segment-cdp/README.md +37 -0
  229. package/community-skills/segment-cdp/agenticmail-skill.json +66 -0
  230. package/community-skills/sendgrid-email/README.md +51 -0
  231. package/community-skills/sendgrid-email/agenticmail-skill.json +71 -0
  232. package/community-skills/sentry/README.md +21 -0
  233. package/community-skills/sentry/agenticmail-skill.json +58 -0
  234. package/community-skills/servicenow/README.md +21 -0
  235. package/community-skills/servicenow/agenticmail-skill.json +56 -0
  236. package/community-skills/shopify/README.md +21 -0
  237. package/community-skills/shopify/agenticmail-skill.json +56 -0
  238. package/community-skills/shortcut/README.md +21 -0
  239. package/community-skills/shortcut/agenticmail-skill.json +48 -0
  240. package/community-skills/slack/README.md +45 -0
  241. package/community-skills/slack/agenticmail-skill.json +73 -0
  242. package/community-skills/smartsheet/README.md +21 -0
  243. package/community-skills/smartsheet/agenticmail-skill.json +48 -0
  244. package/community-skills/snowflake-warehouse/README.md +37 -0
  245. package/community-skills/snowflake-warehouse/agenticmail-skill.json +71 -0
  246. package/community-skills/snyk/README.md +21 -0
  247. package/community-skills/snyk/agenticmail-skill.json +48 -0
  248. package/community-skills/splunk/README.md +21 -0
  249. package/community-skills/splunk/agenticmail-skill.json +56 -0
  250. package/community-skills/square/README.md +21 -0
  251. package/community-skills/square/agenticmail-skill.json +55 -0
  252. package/community-skills/statuspage/README.md +21 -0
  253. package/community-skills/statuspage/agenticmail-skill.json +56 -0
  254. package/community-skills/stripe/README.md +45 -0
  255. package/community-skills/stripe/agenticmail-skill.json +66 -0
  256. package/community-skills/supabase/README.md +21 -0
  257. package/community-skills/supabase/agenticmail-skill.json +56 -0
  258. package/community-skills/teamwork/README.md +21 -0
  259. package/community-skills/teamwork/agenticmail-skill.json +56 -0
  260. package/community-skills/telegram-bot/README.md +20 -0
  261. package/community-skills/telegram-bot/agenticmail-skill.json +52 -0
  262. package/community-skills/terraform-iac/README.md +34 -0
  263. package/community-skills/terraform-iac/agenticmail-skill.json +66 -0
  264. package/community-skills/todoist-tasks/README.md +29 -0
  265. package/community-skills/todoist-tasks/agenticmail-skill.json +72 -0
  266. package/community-skills/trello-cards/README.md +30 -0
  267. package/community-skills/trello-cards/agenticmail-skill.json +72 -0
  268. package/community-skills/twilio-sms/README.md +47 -0
  269. package/community-skills/twilio-sms/agenticmail-skill.json +63 -0
  270. package/community-skills/twitter/README.md +21 -0
  271. package/community-skills/twitter/agenticmail-skill.json +48 -0
  272. package/community-skills/vercel-deployments/README.md +29 -0
  273. package/community-skills/vercel-deployments/agenticmail-skill.json +70 -0
  274. package/community-skills/weaviate/README.md +21 -0
  275. package/community-skills/weaviate/agenticmail-skill.json +56 -0
  276. package/community-skills/webex/README.md +20 -0
  277. package/community-skills/webex/agenticmail-skill.json +43 -0
  278. package/community-skills/webflow/README.md +21 -0
  279. package/community-skills/webflow/agenticmail-skill.json +48 -0
  280. package/community-skills/whatsapp-business/README.md +20 -0
  281. package/community-skills/whatsapp-business/agenticmail-skill.json +52 -0
  282. package/community-skills/whereby/README.md +20 -0
  283. package/community-skills/whereby/agenticmail-skill.json +43 -0
  284. package/community-skills/woocommerce/README.md +21 -0
  285. package/community-skills/woocommerce/agenticmail-skill.json +55 -0
  286. package/community-skills/wordpress/README.md +21 -0
  287. package/community-skills/wordpress/agenticmail-skill.json +56 -0
  288. package/community-skills/workday/README.md +21 -0
  289. package/community-skills/workday/agenticmail-skill.json +56 -0
  290. package/community-skills/wrike/README.md +21 -0
  291. package/community-skills/wrike/agenticmail-skill.json +48 -0
  292. package/community-skills/xero/README.md +21 -0
  293. package/community-skills/xero/agenticmail-skill.json +56 -0
  294. package/community-skills/youtube/README.md +21 -0
  295. package/community-skills/youtube/agenticmail-skill.json +52 -0
  296. package/community-skills/zendesk-tickets/README.md +37 -0
  297. package/community-skills/zendesk-tickets/agenticmail-skill.json +65 -0
  298. package/community-skills/zoho-crm/README.md +21 -0
  299. package/community-skills/zoho-crm/agenticmail-skill.json +74 -0
  300. package/community-skills/zoom-meetings/README.md +51 -0
  301. package/community-skills/zoom-meetings/agenticmail-skill.json +66 -0
  302. package/community-skills/zuora/README.md +21 -0
  303. package/community-skills/zuora/agenticmail-skill.json +55 -0
  304. package/dashboards/README.md +81 -70
  305. package/dashboards/django/app.py +117 -0
  306. package/dashboards/django/static/styles.css +284 -0
  307. package/dashboards/django/templates/agent_detail.html +501 -0
  308. package/dashboards/django/templates/agents.html +217 -0
  309. package/dashboards/django/templates/api_keys.html +41 -0
  310. package/dashboards/django/templates/audit.html +26 -0
  311. package/dashboards/django/templates/compliance.html +33 -0
  312. package/dashboards/django/templates/components/modal.html +6 -0
  313. package/dashboards/django/templates/components/pagination.html +9 -0
  314. package/dashboards/django/templates/components/stats.html +8 -0
  315. package/dashboards/django/templates/dashboard.html +24 -0
  316. package/dashboards/django/templates/dlp.html +70 -0
  317. package/dashboards/django/templates/guardrails.html +78 -0
  318. package/dashboards/django/templates/journal.html +39 -0
  319. package/dashboards/django/templates/layout.html +52 -0
  320. package/dashboards/django/templates/login.html +30 -0
  321. package/dashboards/django/templates/messages.html +38 -0
  322. package/dashboards/django/templates/settings.html +472 -0
  323. package/dashboards/django/templates/skills.html +66 -0
  324. package/dashboards/django/templates/users.html +34 -0
  325. package/dashboards/django/templates/vault.html +46 -0
  326. package/dashboards/django/utils/__init__.py +0 -0
  327. package/dashboards/django/utils/api.py +20 -0
  328. package/dashboards/django/utils/helpers.py +39 -0
  329. package/dashboards/django/views/__init__.py +38 -0
  330. package/dashboards/django/views/agents.py +343 -0
  331. package/dashboards/django/views/api_keys.py +47 -0
  332. package/dashboards/django/views/audit.py +35 -0
  333. package/dashboards/django/views/auth.py +34 -0
  334. package/dashboards/django/views/compliance.py +37 -0
  335. package/dashboards/django/views/dashboard.py +27 -0
  336. package/dashboards/django/views/dlp.py +53 -0
  337. package/dashboards/django/views/guardrails.py +61 -0
  338. package/dashboards/django/views/journal.py +41 -0
  339. package/dashboards/django/views/messages.py +65 -0
  340. package/dashboards/django/views/settings_view.py +335 -0
  341. package/dashboards/django/views/skills.py +50 -0
  342. package/dashboards/django/views/users.py +42 -0
  343. package/dashboards/django/views/vault.py +50 -0
  344. package/dashboards/dotnet/AgenticMailDashboard.csproj +10 -0
  345. package/dashboards/dotnet/Program.cs +53 -233
  346. package/dashboards/dotnet/Routes/AgentRoutes.cs +771 -0
  347. package/dashboards/dotnet/Routes/ApiKeyRoutes.cs +185 -0
  348. package/dashboards/dotnet/Routes/AuditRoutes.cs +86 -0
  349. package/dashboards/dotnet/Routes/AuthRoutes.cs +50 -0
  350. package/dashboards/dotnet/Routes/ComplianceRoutes.cs +143 -0
  351. package/dashboards/dotnet/Routes/DashboardRoutes.cs +81 -0
  352. package/dashboards/dotnet/Routes/DlpRoutes.cs +230 -0
  353. package/dashboards/dotnet/Routes/GuardrailRoutes.cs +285 -0
  354. package/dashboards/dotnet/Routes/JournalRoutes.cs +118 -0
  355. package/dashboards/dotnet/Routes/MessageRoutes.cs +167 -0
  356. package/dashboards/dotnet/Routes/SettingRoutes.cs +907 -0
  357. package/dashboards/dotnet/Routes/SkillRoutes.cs +198 -0
  358. package/dashboards/dotnet/Routes/UserRoutes.cs +111 -0
  359. package/dashboards/dotnet/Routes/VaultRoutes.cs +162 -0
  360. package/dashboards/dotnet/Services/ApiClient.cs +103 -0
  361. package/dashboards/dotnet/Services/HtmlBuilder.cs +249 -0
  362. package/dashboards/dotnet/wwwroot/styles.css +284 -0
  363. package/dashboards/express/app.js +37 -126
  364. package/dashboards/express/middleware/auth.js +10 -0
  365. package/dashboards/express/package-lock.json +922 -0
  366. package/dashboards/express/package.json +17 -0
  367. package/dashboards/express/public/styles.css +284 -0
  368. package/dashboards/express/routes/agents.js +771 -0
  369. package/dashboards/express/routes/apiKeys.js +107 -0
  370. package/dashboards/express/routes/audit.js +75 -0
  371. package/dashboards/express/routes/auth.js +38 -0
  372. package/dashboards/express/routes/compliance.js +93 -0
  373. package/dashboards/express/routes/dashboard.js +65 -0
  374. package/dashboards/express/routes/dlp.js +165 -0
  375. package/dashboards/express/routes/guardrails.js +195 -0
  376. package/dashboards/express/routes/journal.js +95 -0
  377. package/dashboards/express/routes/messages.js +97 -0
  378. package/dashboards/express/routes/settings.js +830 -0
  379. package/dashboards/express/routes/skills.js +141 -0
  380. package/dashboards/express/routes/users.js +69 -0
  381. package/dashboards/express/routes/vault.js +141 -0
  382. package/dashboards/express/utils/api.js +44 -0
  383. package/dashboards/express/utils/helpers.js +46 -0
  384. package/dashboards/express/views/components/modal.js +255 -0
  385. package/dashboards/express/views/components/stats.js +22 -0
  386. package/dashboards/express/views/components/table.js +31 -0
  387. package/dashboards/express/views/layout.js +73 -0
  388. package/dashboards/express/views/login.js +45 -0
  389. package/dashboards/go/go.mod +3 -0
  390. package/dashboards/go/handlers/agents.go +790 -0
  391. package/dashboards/go/handlers/apikeys.go +38 -0
  392. package/dashboards/go/handlers/audit.go +52 -0
  393. package/dashboards/go/handlers/auth.go +39 -0
  394. package/dashboards/go/handlers/compliance.go +58 -0
  395. package/dashboards/go/handlers/dashboard.go +43 -0
  396. package/dashboards/go/handlers/dlp.go +78 -0
  397. package/dashboards/go/handlers/guardrails.go +89 -0
  398. package/dashboards/go/handlers/journal.go +60 -0
  399. package/dashboards/go/handlers/messages.go +59 -0
  400. package/dashboards/go/handlers/settings.go +951 -0
  401. package/dashboards/go/handlers/skills.go +129 -0
  402. package/dashboards/go/handlers/users.go +54 -0
  403. package/dashboards/go/handlers/vault.go +85 -0
  404. package/dashboards/go/main.go +35 -485
  405. package/dashboards/go/middleware/auth.go +17 -0
  406. package/dashboards/go/services/api.go +38 -0
  407. package/dashboards/go/services/session.go +52 -0
  408. package/dashboards/go/static/styles.css +284 -0
  409. package/dashboards/go/templates/components.go +45 -0
  410. package/dashboards/go/templates/helpers.go +35 -0
  411. package/dashboards/go/templates/layout.go +59 -0
  412. package/dashboards/html/index.html +203 -450
  413. package/dashboards/html/package.json +11 -0
  414. package/dashboards/html/public/styles.css +149 -0
  415. package/dashboards/html/src/api.js +36 -0
  416. package/dashboards/html/src/components/badge.js +13 -0
  417. package/dashboards/html/src/components/layout.js +11 -0
  418. package/dashboards/html/src/components/modal.js +9 -0
  419. package/dashboards/html/src/components/pagination.js +12 -0
  420. package/dashboards/html/src/components/stat-card.js +14 -0
  421. package/dashboards/html/src/components/table.js +6 -0
  422. package/dashboards/html/src/main.js +83 -0
  423. package/dashboards/html/src/pages/agents.js +831 -0
  424. package/dashboards/html/src/pages/api-keys.js +80 -0
  425. package/dashboards/html/src/pages/audit.js +50 -0
  426. package/dashboards/html/src/pages/compliance.js +69 -0
  427. package/dashboards/html/src/pages/dashboard.js +25 -0
  428. package/dashboards/html/src/pages/dlp.js +112 -0
  429. package/dashboards/html/src/pages/guardrails.js +127 -0
  430. package/dashboards/html/src/pages/journal.js +54 -0
  431. package/dashboards/html/src/pages/login.js +84 -0
  432. package/dashboards/html/src/pages/messages.js +90 -0
  433. package/dashboards/html/src/pages/settings.js +656 -0
  434. package/dashboards/html/src/pages/skills.js +114 -0
  435. package/dashboards/html/src/pages/users.js +62 -0
  436. package/dashboards/html/src/pages/vault.js +105 -0
  437. package/dashboards/html/src/router.js +40 -0
  438. package/dashboards/html/src/utils/escape.js +7 -0
  439. package/dashboards/html/src/utils/time.js +16 -0
  440. package/dashboards/html/src/utils/toast.js +10 -0
  441. package/dashboards/java/AgenticMailDashboard.java +123 -346
  442. package/dashboards/java/handlers/AgentsHandler.java +807 -0
  443. package/dashboards/java/handlers/ApiKeysHandler.java +201 -0
  444. package/dashboards/java/handlers/AuditHandler.java +95 -0
  445. package/dashboards/java/handlers/AuthHandler.java +71 -0
  446. package/dashboards/java/handlers/ComplianceHandler.java +192 -0
  447. package/dashboards/java/handlers/DashboardHandler.java +98 -0
  448. package/dashboards/java/handlers/DlpHandler.java +230 -0
  449. package/dashboards/java/handlers/GuardrailsHandler.java +272 -0
  450. package/dashboards/java/handlers/JournalHandler.java +130 -0
  451. package/dashboards/java/handlers/MessagesHandler.java +168 -0
  452. package/dashboards/java/handlers/SettingsHandler.java +1017 -0
  453. package/dashboards/java/handlers/SkillsHandler.java +198 -0
  454. package/dashboards/java/handlers/UsersHandler.java +118 -0
  455. package/dashboards/java/handlers/VaultHandler.java +168 -0
  456. package/dashboards/java/services/ApiClient.java +233 -0
  457. package/dashboards/java/services/SessionManager.java +138 -0
  458. package/dashboards/java/static/styles.css +288 -0
  459. package/dashboards/java/templates/Components.java +142 -0
  460. package/dashboards/java/templates/Helpers.java +106 -0
  461. package/dashboards/java/templates/Layout.java +98 -0
  462. package/dashboards/laravel/controllers/AgentController.php +250 -0
  463. package/dashboards/laravel/controllers/ApiKeyController.php +73 -0
  464. package/dashboards/laravel/controllers/AuditController.php +31 -0
  465. package/dashboards/laravel/controllers/AuthController.php +44 -0
  466. package/dashboards/laravel/controllers/ComplianceController.php +55 -0
  467. package/dashboards/laravel/controllers/DashboardController.php +28 -0
  468. package/dashboards/laravel/controllers/DlpController.php +88 -0
  469. package/dashboards/laravel/controllers/GuardrailController.php +110 -0
  470. package/dashboards/laravel/controllers/JournalController.php +44 -0
  471. package/dashboards/laravel/controllers/MessageController.php +47 -0
  472. package/dashboards/laravel/controllers/SettingController.php +258 -0
  473. package/dashboards/laravel/controllers/SkillController.php +74 -0
  474. package/dashboards/laravel/controllers/UserController.php +47 -0
  475. package/dashboards/laravel/controllers/VaultController.php +94 -0
  476. package/dashboards/laravel/index.php +319 -0
  477. package/dashboards/laravel/lib/Api.php +73 -0
  478. package/dashboards/laravel/lib/Helpers.php +123 -0
  479. package/dashboards/laravel/public/styles.css +291 -0
  480. package/dashboards/laravel/views/agent-detail.php +534 -0
  481. package/dashboards/laravel/views/agents.php +204 -0
  482. package/dashboards/laravel/views/api-keys.php +55 -0
  483. package/dashboards/laravel/views/audit.php +30 -0
  484. package/dashboards/laravel/views/compliance.php +48 -0
  485. package/dashboards/laravel/views/components/modal.php +59 -0
  486. package/dashboards/laravel/views/components/stats.php +21 -0
  487. package/dashboards/laravel/views/components/table.php +35 -0
  488. package/dashboards/laravel/views/dashboard.php +31 -0
  489. package/dashboards/laravel/views/dlp.php +87 -0
  490. package/dashboards/laravel/views/guardrails.php +95 -0
  491. package/dashboards/laravel/views/journal.php +50 -0
  492. package/dashboards/laravel/views/layout.php +82 -0
  493. package/dashboards/laravel/views/login.php +45 -0
  494. package/dashboards/laravel/views/messages.php +60 -0
  495. package/dashboards/laravel/views/settings.php +622 -0
  496. package/dashboards/laravel/views/skills.php +74 -0
  497. package/dashboards/laravel/views/users.php +42 -0
  498. package/dashboards/laravel/views/vault.php +80 -0
  499. package/dashboards/php/components/layout.php +80 -0
  500. package/dashboards/php/components/modal.php +22 -0
  501. package/dashboards/php/components/stats.php +20 -0
  502. package/dashboards/php/components/table.php +33 -0
  503. package/dashboards/php/index.php +663 -381
  504. package/dashboards/php/lib/api.php +37 -0
  505. package/dashboards/php/lib/auth.php +47 -0
  506. package/dashboards/php/lib/helpers.php +69 -0
  507. package/dashboards/php/pages/agent-detail.php +552 -0
  508. package/dashboards/php/pages/agents.php +185 -0
  509. package/dashboards/php/pages/api-keys.php +34 -0
  510. package/dashboards/php/pages/audit.php +31 -0
  511. package/dashboards/php/pages/compliance.php +38 -0
  512. package/dashboards/php/pages/dashboard.php +29 -0
  513. package/dashboards/php/pages/dlp.php +65 -0
  514. package/dashboards/php/pages/guardrails.php +70 -0
  515. package/dashboards/php/pages/journal.php +53 -0
  516. package/dashboards/php/pages/login.php +34 -0
  517. package/dashboards/php/pages/messages.php +53 -0
  518. package/dashboards/php/pages/settings.php +687 -0
  519. package/dashboards/php/pages/skills.php +70 -0
  520. package/dashboards/php/pages/users.php +37 -0
  521. package/dashboards/php/pages/vault.php +70 -0
  522. package/dashboards/php/public/styles.css +81 -0
  523. package/dashboards/python/app.py +61 -259
  524. package/dashboards/python/routes/__init__.py +0 -0
  525. package/dashboards/python/routes/agents.py +296 -0
  526. package/dashboards/python/routes/api_keys.py +49 -0
  527. package/dashboards/python/routes/audit.py +33 -0
  528. package/dashboards/python/routes/auth.py +30 -0
  529. package/dashboards/python/routes/compliance.py +50 -0
  530. package/dashboards/python/routes/dashboard.py +32 -0
  531. package/dashboards/python/routes/dlp.py +64 -0
  532. package/dashboards/python/routes/guardrails.py +79 -0
  533. package/dashboards/python/routes/journal.py +40 -0
  534. package/dashboards/python/routes/messages.py +46 -0
  535. package/dashboards/python/routes/settings.py +260 -0
  536. package/dashboards/python/routes/skills.py +59 -0
  537. package/dashboards/python/routes/users.py +43 -0
  538. package/dashboards/python/routes/vault.py +59 -0
  539. package/dashboards/python/static/styles.css +288 -0
  540. package/dashboards/python/templates/agent_detail.html +552 -0
  541. package/dashboards/python/templates/agents.html +246 -0
  542. package/dashboards/python/templates/api_keys.html +64 -0
  543. package/dashboards/python/templates/audit.html +50 -0
  544. package/dashboards/python/templates/compliance.html +74 -0
  545. package/dashboards/python/templates/components/modal.html +43 -0
  546. package/dashboards/python/templates/components/stats.html +26 -0
  547. package/dashboards/python/templates/components/table.html +43 -0
  548. package/dashboards/python/templates/dashboard.html +34 -0
  549. package/dashboards/python/templates/dlp.html +159 -0
  550. package/dashboards/python/templates/guardrails.html +131 -0
  551. package/dashboards/python/templates/journal.html +66 -0
  552. package/dashboards/python/templates/layout.html +86 -0
  553. package/dashboards/python/templates/login.html +36 -0
  554. package/dashboards/python/templates/messages.html +90 -0
  555. package/dashboards/python/templates/settings.html +624 -0
  556. package/dashboards/python/templates/skills.html +89 -0
  557. package/dashboards/python/templates/users.html +70 -0
  558. package/dashboards/python/templates/vault.html +73 -0
  559. package/dashboards/python/utils/__init__.py +0 -0
  560. package/dashboards/python/utils/api.py +35 -0
  561. package/dashboards/python/utils/helpers.py +90 -0
  562. package/dashboards/rails/app.rb +56 -0
  563. package/dashboards/rails/helpers/api.rb +39 -0
  564. package/dashboards/rails/helpers/auth.rb +11 -0
  565. package/dashboards/rails/helpers/view.rb +95 -0
  566. package/dashboards/rails/public/styles.css +299 -0
  567. package/dashboards/rails/routes/agents.rb +173 -0
  568. package/dashboards/rails/routes/api_keys.rb +30 -0
  569. package/dashboards/rails/routes/audit.rb +15 -0
  570. package/dashboards/rails/routes/auth.rb +29 -0
  571. package/dashboards/rails/routes/compliance.rb +25 -0
  572. package/dashboards/rails/routes/dashboard.rb +13 -0
  573. package/dashboards/rails/routes/dlp.rb +40 -0
  574. package/dashboards/rails/routes/guardrails.rb +51 -0
  575. package/dashboards/rails/routes/journal.rb +24 -0
  576. package/dashboards/rails/routes/messages.rb +22 -0
  577. package/dashboards/rails/routes/settings.rb +196 -0
  578. package/dashboards/rails/routes/skills.rb +38 -0
  579. package/dashboards/rails/routes/users.rb +18 -0
  580. package/dashboards/rails/routes/vault.rb +37 -0
  581. package/dashboards/rails/views/agent_detail.erb +550 -0
  582. package/dashboards/rails/views/agents.erb +214 -0
  583. package/dashboards/rails/views/api_keys.erb +52 -0
  584. package/dashboards/rails/views/audit.erb +38 -0
  585. package/dashboards/rails/views/compliance.erb +69 -0
  586. package/dashboards/rails/views/dashboard.erb +46 -0
  587. package/dashboards/rails/views/dlp.erb +104 -0
  588. package/dashboards/rails/views/guardrails.erb +107 -0
  589. package/dashboards/rails/views/journal.erb +65 -0
  590. package/dashboards/rails/views/layout.erb +53 -0
  591. package/dashboards/rails/views/login.erb +47 -0
  592. package/dashboards/rails/views/messages.erb +62 -0
  593. package/dashboards/rails/views/settings.erb +578 -0
  594. package/dashboards/rails/views/skills.erb +66 -0
  595. package/dashboards/rails/views/users.erb +53 -0
  596. package/dashboards/rails/views/vault.erb +66 -0
  597. package/dashboards/ruby/app.rb +53 -182
  598. package/dashboards/ruby/helpers/api.rb +63 -0
  599. package/dashboards/ruby/helpers/auth.rb +20 -0
  600. package/dashboards/ruby/helpers/view.rb +91 -0
  601. package/dashboards/ruby/public/styles.css +294 -0
  602. package/dashboards/ruby/routes/agents.rb +197 -0
  603. package/dashboards/ruby/routes/api_keys.rb +43 -0
  604. package/dashboards/ruby/routes/audit.rb +15 -0
  605. package/dashboards/ruby/routes/auth.rb +29 -0
  606. package/dashboards/ruby/routes/compliance.rb +28 -0
  607. package/dashboards/ruby/routes/dashboard.rb +13 -0
  608. package/dashboards/ruby/routes/dlp.rb +55 -0
  609. package/dashboards/ruby/routes/guardrails.rb +77 -0
  610. package/dashboards/ruby/routes/journal.rb +24 -0
  611. package/dashboards/ruby/routes/messages.rb +27 -0
  612. package/dashboards/ruby/routes/settings.rb +214 -0
  613. package/dashboards/ruby/routes/skills.rb +50 -0
  614. package/dashboards/ruby/routes/users.rb +26 -0
  615. package/dashboards/ruby/routes/vault.rb +49 -0
  616. package/dashboards/ruby/views/agent_detail.erb +550 -0
  617. package/dashboards/ruby/views/agents.erb +214 -0
  618. package/dashboards/ruby/views/api_keys.erb +59 -0
  619. package/dashboards/ruby/views/audit.erb +38 -0
  620. package/dashboards/ruby/views/compliance.erb +45 -0
  621. package/dashboards/ruby/views/dashboard.erb +46 -0
  622. package/dashboards/ruby/views/dlp.erb +88 -0
  623. package/dashboards/ruby/views/guardrails.erb +103 -0
  624. package/dashboards/ruby/views/journal.erb +53 -0
  625. package/dashboards/ruby/views/layout.erb +52 -0
  626. package/dashboards/ruby/views/login.erb +31 -0
  627. package/dashboards/ruby/views/messages.erb +51 -0
  628. package/dashboards/ruby/views/settings.erb +579 -0
  629. package/dashboards/ruby/views/skills.erb +66 -0
  630. package/dashboards/ruby/views/users.erb +53 -0
  631. package/dashboards/ruby/views/vault.erb +66 -0
  632. package/dashboards/shared/styles.css +322 -0
  633. package/dist/{chunk-TVF23PUW.js → chunk-7FVRYOP4.js} +22 -7
  634. package/dist/chunk-DRXMYYKN.js +79 -0
  635. package/dist/chunk-E23VJ3QX.js +9427 -0
  636. package/dist/chunk-EOBN6RCA.js +12652 -0
  637. package/dist/chunk-FLRYMSKY.js +23 -0
  638. package/dist/chunk-HAUHDCUB.js +764 -0
  639. package/dist/chunk-HSF6OJ5Z.js +154 -0
  640. package/dist/{chunk-PNKVD2UK.js → chunk-KFQGP6VL.js} +7 -0
  641. package/dist/chunk-LKAFZ343.js +591 -0
  642. package/dist/{chunk-GXIEEA2T.js → chunk-NTVN3JHS.js} +10 -10
  643. package/dist/chunk-RO537U6H.js +70 -0
  644. package/dist/chunk-SGBTJHEF.js +2287 -0
  645. package/dist/chunk-SMUXH6FM.js +1943 -0
  646. package/dist/chunk-TY7NVD4U.js +275 -0
  647. package/dist/chunk-X6UVWFHW.js +3455 -0
  648. package/dist/{chunk-7RGCCHIT.js → chunk-XMDE2NGH.js} +2 -1
  649. package/dist/chunk-ZNR5DDTA.js +239 -0
  650. package/dist/cidr-LISVZSM2.js +17 -0
  651. package/dist/cli-build-skill-XOYECCLE.js +235 -0
  652. package/dist/cli-recover-SSGGSKZJ.js +97 -0
  653. package/dist/cli-submit-skill-RSBLF5XN.js +162 -0
  654. package/dist/cli-validate-WJBUOEGW.js +148 -0
  655. package/dist/cli-verify-V3GPFMWU.js +98 -0
  656. package/dist/cli.js +50 -376
  657. package/dist/config-store-CRMKWBON.js +58 -0
  658. package/dist/dashboard/app.js +246 -0
  659. package/dist/dashboard/assets/logo.png +0 -0
  660. package/dist/dashboard/components/error-boundary.js +21 -0
  661. package/dist/dashboard/components/help-button.js +34 -0
  662. package/dist/dashboard/components/icons.js +53 -0
  663. package/dist/dashboard/components/modal.js +124 -0
  664. package/dist/dashboard/components/persona-fields.js +271 -0
  665. package/dist/dashboard/components/settings-help.js +191 -0
  666. package/dist/dashboard/components/tag-input.js +96 -0
  667. package/dist/dashboard/components/utils.js +148 -0
  668. package/dist/dashboard/index.html +407 -874
  669. package/dist/dashboard/pages/activity.js +62 -0
  670. package/dist/dashboard/pages/agent-detail.js +3577 -0
  671. package/dist/dashboard/pages/agents.js +1072 -0
  672. package/dist/dashboard/pages/approvals.js +81 -0
  673. package/dist/dashboard/pages/audit.js +133 -0
  674. package/dist/dashboard/pages/community-skills.js +665 -0
  675. package/dist/dashboard/pages/compliance.js +81 -0
  676. package/dist/dashboard/pages/dashboard.js +150 -0
  677. package/dist/dashboard/pages/dlp.js +107 -0
  678. package/dist/dashboard/pages/domain-status.js +123 -0
  679. package/dist/dashboard/pages/guardrails.js +995 -0
  680. package/dist/dashboard/pages/journal.js +51 -0
  681. package/dist/dashboard/pages/knowledge-contributions.js +763 -0
  682. package/dist/dashboard/pages/knowledge.js +46 -0
  683. package/dist/dashboard/pages/login.js +491 -0
  684. package/dist/dashboard/pages/messages.js +274 -0
  685. package/dist/dashboard/pages/settings.js +1554 -0
  686. package/dist/dashboard/pages/skill-connections.js +452 -0
  687. package/dist/dashboard/pages/skills.js +433 -0
  688. package/dist/dashboard/pages/users.js +49 -0
  689. package/dist/dashboard/pages/vault.js +538 -0
  690. package/dist/dashboard/pages/workforce.js +569 -0
  691. package/dist/dashboard/vendor/react-dom.production.min.js +267 -0
  692. package/dist/dashboard/vendor/react.production.min.js +31 -0
  693. package/dist/db-adapter-5PWMLY67.js +7 -0
  694. package/dist/domain-lock-URIFILHB.js +7 -0
  695. package/dist/{dynamodb-CCGL2E77.js → dynamodb-CD3LREWD.js} +4 -4
  696. package/dist/{factory-HINWFYZ3.js → factory-FVJH5RRY.js} +2 -2
  697. package/dist/firewall-AHIRE6UB.js +10 -0
  698. package/dist/index.js +133 -448
  699. package/dist/{managed-RZITNPXG.js → managed-QVTONZ7E.js} +4 -2
  700. package/dist/{mongodb-ODTXIVPV.js → mongodb-73MGW7LD.js} +4 -4
  701. package/dist/{mysql-RM3S2FV5.js → mysql-A2RYNBQG.js} +59 -6
  702. package/dist/{postgres-LN7A6MGQ.js → postgres-OE23X46P.js} +63 -6
  703. package/dist/registry/cli.js +411 -0
  704. package/dist/routes-NJK5OI5N.js +5673 -0
  705. package/dist/runtime-SMA6JUMP.js +46 -0
  706. package/dist/server-ZT5NWHT4.js +11 -0
  707. package/dist/setup-RCYNX5NA.js +20 -0
  708. package/dist/skills-QNR3CCHA.js +14 -0
  709. package/dist/soul-templates.json +1525 -0
  710. package/dist/{sqlite-VLKVAJA4.js → sqlite-SFVNZPHX.js} +56 -8
  711. package/dist/{turso-LDWODSDI.js → turso-L6WQAY7U.js} +59 -6
  712. package/live-test.mjs +1 -1
  713. package/package.json +11 -10
  714. package/schemas/agenticmail-skill.v1.schema.json +180 -0
  715. package/serve.mjs +12 -2
  716. package/src/admin/routes.ts +536 -5
  717. package/src/agent-tools/common.ts +232 -0
  718. package/src/agent-tools/index.ts +246 -0
  719. package/src/agent-tools/merge.ts +62 -0
  720. package/src/agent-tools/middleware.ts +436 -0
  721. package/src/agent-tools/security.ts +352 -0
  722. package/src/agent-tools/tools/bash.ts +154 -0
  723. package/src/agent-tools/tools/browser.ts +236 -0
  724. package/src/agent-tools/tools/edit.ts +100 -0
  725. package/src/agent-tools/tools/enterprise-calendar.ts +561 -0
  726. package/src/agent-tools/tools/enterprise-code-sandbox.ts +395 -0
  727. package/src/agent-tools/tools/enterprise-database.ts +377 -0
  728. package/src/agent-tools/tools/enterprise-diff.ts +580 -0
  729. package/src/agent-tools/tools/enterprise-documents.ts +896 -0
  730. package/src/agent-tools/tools/enterprise-finance.ts +484 -0
  731. package/src/agent-tools/tools/enterprise-http.ts +477 -0
  732. package/src/agent-tools/tools/enterprise-knowledge-search.ts +369 -0
  733. package/src/agent-tools/tools/enterprise-logs.ts +479 -0
  734. package/src/agent-tools/tools/enterprise-notifications.ts +532 -0
  735. package/src/agent-tools/tools/enterprise-security-scan.ts +528 -0
  736. package/src/agent-tools/tools/enterprise-spreadsheet.ts +825 -0
  737. package/src/agent-tools/tools/enterprise-translation.ts +530 -0
  738. package/src/agent-tools/tools/enterprise-vision.ts +348 -0
  739. package/src/agent-tools/tools/enterprise-web-research.ts +422 -0
  740. package/src/agent-tools/tools/enterprise-workflow.ts +308 -0
  741. package/src/agent-tools/tools/glob.ts +129 -0
  742. package/src/agent-tools/tools/grep.ts +178 -0
  743. package/src/agent-tools/tools/memory.ts +194 -0
  744. package/src/agent-tools/tools/read.ts +160 -0
  745. package/src/agent-tools/tools/web-fetch-utils.ts +202 -0
  746. package/src/agent-tools/tools/web-fetch.ts +456 -0
  747. package/src/agent-tools/tools/web-search.ts +480 -0
  748. package/src/agent-tools/tools/web-shared.ts +232 -0
  749. package/src/agent-tools/tools/write.ts +68 -0
  750. package/src/agent-tools/types.ts +193 -0
  751. package/src/auth/routes.ts +916 -51
  752. package/src/cli.ts +74 -14
  753. package/src/dashboard/app.js +246 -0
  754. package/src/dashboard/assets/logo.png +0 -0
  755. package/src/dashboard/components/error-boundary.js +21 -0
  756. package/src/dashboard/components/help-button.js +34 -0
  757. package/src/dashboard/components/icons.js +53 -0
  758. package/src/dashboard/components/modal.js +124 -0
  759. package/src/dashboard/components/persona-fields.js +271 -0
  760. package/src/dashboard/components/settings-help.js +191 -0
  761. package/src/dashboard/components/tag-input.js +96 -0
  762. package/src/dashboard/components/utils.js +148 -0
  763. package/src/dashboard/index.html +407 -874
  764. package/src/dashboard/pages/activity.js +62 -0
  765. package/src/dashboard/pages/agent-detail.js +3577 -0
  766. package/src/dashboard/pages/agents.js +1072 -0
  767. package/src/dashboard/pages/approvals.js +81 -0
  768. package/src/dashboard/pages/audit.js +133 -0
  769. package/src/dashboard/pages/community-skills.js +665 -0
  770. package/src/dashboard/pages/compliance.js +81 -0
  771. package/src/dashboard/pages/dashboard.js +150 -0
  772. package/src/dashboard/pages/dlp.js +107 -0
  773. package/src/dashboard/pages/domain-status.js +123 -0
  774. package/src/dashboard/pages/guardrails.js +995 -0
  775. package/src/dashboard/pages/journal.js +51 -0
  776. package/src/dashboard/pages/knowledge-contributions.js +763 -0
  777. package/src/dashboard/pages/knowledge.js +46 -0
  778. package/src/dashboard/pages/login.js +491 -0
  779. package/src/dashboard/pages/messages.js +274 -0
  780. package/src/dashboard/pages/settings.js +1554 -0
  781. package/src/dashboard/pages/skill-connections.js +452 -0
  782. package/src/dashboard/pages/skills.js +433 -0
  783. package/src/dashboard/pages/users.js +49 -0
  784. package/src/dashboard/pages/vault.js +538 -0
  785. package/src/dashboard/pages/workforce.js +569 -0
  786. package/src/dashboard/vendor/react-dom.production.min.js +267 -0
  787. package/src/dashboard/vendor/react.production.min.js +31 -0
  788. package/src/db/adapter.ts +134 -1
  789. package/src/db/dynamodb.ts +2 -2
  790. package/src/db/mongodb.ts +2 -2
  791. package/src/db/mysql.ts +55 -1
  792. package/src/db/postgres.ts +59 -1
  793. package/src/db/proxy.ts +39 -0
  794. package/src/db/sql-schema.ts +2 -1
  795. package/src/db/sqlite.ts +51 -3
  796. package/src/db/turso.ts +55 -1
  797. package/src/deploy/fly.ts +2 -2
  798. package/src/deploy/managed.ts +32 -11
  799. package/src/domain-lock/cli-recover.ts +124 -0
  800. package/src/domain-lock/cli-verify.ts +122 -0
  801. package/src/domain-lock/index.ts +220 -0
  802. package/src/engine/activity-routes.ts +116 -0
  803. package/src/engine/activity.ts +62 -2
  804. package/src/engine/agent-config.ts +190 -24
  805. package/src/engine/agent-memory.ts +1062 -0
  806. package/src/engine/agent-routes.ts +379 -0
  807. package/src/engine/approvals.ts +309 -2
  808. package/src/engine/catalog-routes.ts +155 -0
  809. package/src/engine/cli-build-skill.ts +285 -0
  810. package/src/engine/cli-submit-skill.ts +200 -0
  811. package/src/engine/cli-validate.ts +188 -0
  812. package/src/engine/communication-routes.ts +139 -0
  813. package/src/engine/communication.ts +759 -0
  814. package/src/engine/community-registry.ts +1509 -0
  815. package/src/engine/community-routes.ts +233 -0
  816. package/src/engine/compliance-routes.ts +93 -0
  817. package/src/engine/compliance.ts +325 -0
  818. package/src/engine/db-adapter.ts +349 -1
  819. package/src/engine/db-schema.ts +971 -23
  820. package/src/engine/deploy-schema-routes.ts +176 -0
  821. package/src/engine/deployer.ts +6 -6
  822. package/src/engine/dlp-routes.ts +59 -0
  823. package/src/engine/dlp.ts +231 -0
  824. package/src/engine/guardrail-routes.ts +125 -0
  825. package/src/engine/guardrails.ts +403 -0
  826. package/src/engine/index.ts +131 -10
  827. package/src/engine/journal-routes.ts +56 -0
  828. package/src/engine/journal.ts +249 -0
  829. package/src/engine/knowledge-contribution-routes.ts +385 -0
  830. package/src/engine/knowledge-contribution.ts +1319 -0
  831. package/src/engine/knowledge-routes.ts +68 -0
  832. package/src/engine/knowledge.ts +73 -1
  833. package/src/engine/lifecycle.ts +487 -31
  834. package/src/engine/memory-routes.ts +142 -0
  835. package/src/engine/oauth-connect-routes.ts +366 -0
  836. package/src/engine/oauth-connect.ts +304 -0
  837. package/src/engine/onboarding-routes.ts +140 -0
  838. package/src/engine/onboarding.ts +574 -0
  839. package/src/engine/org-approval-routes.ts +146 -0
  840. package/src/engine/org-policies.ts +497 -0
  841. package/src/engine/policy-import-routes.ts +125 -0
  842. package/src/engine/policy-import.ts +1186 -0
  843. package/src/engine/policy-routes.ts +163 -0
  844. package/src/engine/routes.ts +239 -482
  845. package/src/engine/skill-updater-routes.ts +132 -0
  846. package/src/engine/skill-updater.ts +480 -0
  847. package/src/engine/skill-validator.ts +331 -0
  848. package/src/engine/skills/enterprise-calendar.ts +142 -0
  849. package/src/engine/skills/enterprise-code-sandbox.ts +112 -0
  850. package/src/engine/skills/enterprise-database.ts +122 -0
  851. package/src/engine/skills/enterprise-diff.ts +94 -0
  852. package/src/engine/skills/enterprise-documents.ts +161 -0
  853. package/src/engine/skills/enterprise-finance.ts +109 -0
  854. package/src/engine/skills/enterprise-http.ts +98 -0
  855. package/src/engine/skills/enterprise-knowledge-search.ts +106 -0
  856. package/src/engine/skills/enterprise-logs.ts +115 -0
  857. package/src/engine/skills/enterprise-notifications.ts +119 -0
  858. package/src/engine/skills/enterprise-security-scan.ts +124 -0
  859. package/src/engine/skills/enterprise-spreadsheet.ts +170 -0
  860. package/src/engine/skills/enterprise-translation.ts +111 -0
  861. package/src/engine/skills/enterprise-vision.ts +107 -0
  862. package/src/engine/skills/enterprise-web-research.ts +114 -0
  863. package/src/engine/skills/enterprise-workflow.ts +109 -0
  864. package/src/engine/skills/gws-admin.ts +17 -0
  865. package/src/engine/skills/gws-calendar.ts +19 -0
  866. package/src/engine/skills/gws-chat.ts +16 -0
  867. package/src/engine/skills/gws-docs.ts +17 -0
  868. package/src/engine/skills/gws-drive.ts +20 -0
  869. package/src/engine/skills/gws-forms.ts +16 -0
  870. package/src/engine/skills/gws-gmail.ts +20 -0
  871. package/src/engine/skills/gws-groups.ts +16 -0
  872. package/src/engine/skills/gws-keep.ts +16 -0
  873. package/src/engine/skills/gws-meet.ts +16 -0
  874. package/src/engine/skills/gws-sheets.ts +18 -0
  875. package/src/engine/skills/gws-sites.ts +15 -0
  876. package/src/engine/skills/gws-slides.ts +16 -0
  877. package/src/engine/skills/gws-vault.ts +16 -0
  878. package/src/engine/skills/index.ts +121 -0
  879. package/src/engine/skills/m365-admin.ts +17 -0
  880. package/src/engine/skills/m365-bookings.ts +16 -0
  881. package/src/engine/skills/m365-copilot.ts +16 -0
  882. package/src/engine/skills/m365-excel.ts +59 -0
  883. package/src/engine/skills/m365-forms.ts +16 -0
  884. package/src/engine/skills/m365-onedrive.ts +59 -0
  885. package/src/engine/skills/m365-onenote.ts +16 -0
  886. package/src/engine/skills/m365-outlook.ts +26 -0
  887. package/src/engine/skills/m365-planner.ts +17 -0
  888. package/src/engine/skills/m365-power-automate.ts +17 -0
  889. package/src/engine/skills/m365-power-bi.ts +18 -0
  890. package/src/engine/skills/m365-powerpoint.ts +32 -0
  891. package/src/engine/skills/m365-sharepoint.ts +19 -0
  892. package/src/engine/skills/m365-teams.ts +20 -0
  893. package/src/engine/skills/m365-todo.ts +16 -0
  894. package/src/engine/skills/m365-whiteboard.ts +15 -0
  895. package/src/engine/skills/m365-word.ts +41 -0
  896. package/src/engine/skills.ts +353 -17
  897. package/src/engine/soul-library.ts +142 -0
  898. package/src/engine/soul-templates.json +1525 -0
  899. package/src/engine/storage-manager.ts +252 -0
  900. package/src/engine/storage-routes.ts +113 -0
  901. package/src/engine/storage.ts +528 -0
  902. package/src/engine/tenant.ts +69 -5
  903. package/src/engine/tool-catalog.ts +177 -13
  904. package/src/engine/vault-routes.ts +130 -0
  905. package/src/engine/vault.ts +544 -0
  906. package/src/engine/workforce-routes.ts +282 -0
  907. package/src/engine/workforce.ts +957 -0
  908. package/src/index.ts +9 -1
  909. package/src/lib/cidr.ts +122 -0
  910. package/src/lib/config-store.ts +86 -0
  911. package/src/mcp/adapters/activecampaign.adapter.ts +391 -0
  912. package/src/mcp/adapters/adobe-sign.adapter.ts +469 -0
  913. package/src/mcp/adapters/adp.adapter.ts +358 -0
  914. package/src/mcp/adapters/airtable.adapter.ts +273 -0
  915. package/src/mcp/adapters/apollo.adapter.ts +420 -0
  916. package/src/mcp/adapters/asana.adapter.ts +315 -0
  917. package/src/mcp/adapters/auth0.adapter.ts +386 -0
  918. package/src/mcp/adapters/aws.adapter.ts +345 -0
  919. package/src/mcp/adapters/azure-devops.adapter.ts +389 -0
  920. package/src/mcp/adapters/bamboohr.adapter.ts +376 -0
  921. package/src/mcp/adapters/basecamp.adapter.ts +366 -0
  922. package/src/mcp/adapters/bigcommerce.adapter.ts +429 -0
  923. package/src/mcp/adapters/bitbucket.adapter.ts +260 -0
  924. package/src/mcp/adapters/box.adapter.ts +350 -0
  925. package/src/mcp/adapters/brex.adapter.ts +367 -0
  926. package/src/mcp/adapters/buffer.adapter.ts +303 -0
  927. package/src/mcp/adapters/calendly.adapter.ts +262 -0
  928. package/src/mcp/adapters/canva.adapter.ts +256 -0
  929. package/src/mcp/adapters/chargebee.adapter.ts +448 -0
  930. package/src/mcp/adapters/circleci.adapter.ts +216 -0
  931. package/src/mcp/adapters/clickup.adapter.ts +335 -0
  932. package/src/mcp/adapters/close.adapter.ts +390 -0
  933. package/src/mcp/adapters/cloudflare.adapter.ts +377 -0
  934. package/src/mcp/adapters/confluence.adapter.ts +301 -0
  935. package/src/mcp/adapters/contentful.adapter.ts +355 -0
  936. package/src/mcp/adapters/copper.adapter.ts +468 -0
  937. package/src/mcp/adapters/crisp.adapter.ts +415 -0
  938. package/src/mcp/adapters/crowdstrike.adapter.ts +413 -0
  939. package/src/mcp/adapters/datadog.adapter.ts +373 -0
  940. package/src/mcp/adapters/digitalocean.adapter.ts +336 -0
  941. package/src/mcp/adapters/discord.adapter.ts +248 -0
  942. package/src/mcp/adapters/docker.adapter.ts +238 -0
  943. package/src/mcp/adapters/docusign.adapter.ts +431 -0
  944. package/src/mcp/adapters/drift.adapter.ts +386 -0
  945. package/src/mcp/adapters/dropbox.adapter.ts +315 -0
  946. package/src/mcp/adapters/figma.adapter.ts +302 -0
  947. package/src/mcp/adapters/firebase.adapter.ts +446 -0
  948. package/src/mcp/adapters/flyio.adapter.ts +302 -0
  949. package/src/mcp/adapters/freshbooks.adapter.ts +474 -0
  950. package/src/mcp/adapters/freshdesk.adapter.ts +441 -0
  951. package/src/mcp/adapters/freshsales.adapter.ts +457 -0
  952. package/src/mcp/adapters/freshservice.adapter.ts +481 -0
  953. package/src/mcp/adapters/front.adapter.ts +357 -0
  954. package/src/mcp/adapters/github-actions.adapter.ts +329 -0
  955. package/src/mcp/adapters/github.adapter.ts +387 -0
  956. package/src/mcp/adapters/gitlab.adapter.ts +368 -0
  957. package/src/mcp/adapters/gong.adapter.ts +386 -0
  958. package/src/mcp/adapters/google-ads.adapter.ts +363 -0
  959. package/src/mcp/adapters/google-analytics.adapter.ts +316 -0
  960. package/src/mcp/adapters/google-cloud.adapter.ts +312 -0
  961. package/src/mcp/adapters/google-drive.adapter.ts +387 -0
  962. package/src/mcp/adapters/gotomeeting.adapter.ts +255 -0
  963. package/src/mcp/adapters/grafana.adapter.ts +361 -0
  964. package/src/mcp/adapters/greenhouse.adapter.ts +354 -0
  965. package/src/mcp/adapters/gusto.adapter.ts +329 -0
  966. package/src/mcp/adapters/hashicorp-vault.adapter.ts +355 -0
  967. package/src/mcp/adapters/heroku.adapter.ts +291 -0
  968. package/src/mcp/adapters/hibob.adapter.ts +334 -0
  969. package/src/mcp/adapters/hootsuite.adapter.ts +322 -0
  970. package/src/mcp/adapters/hubspot.adapter.ts +400 -0
  971. package/src/mcp/adapters/huggingface.adapter.ts +349 -0
  972. package/src/mcp/adapters/index.ts +530 -0
  973. package/src/mcp/adapters/intercom.adapter.ts +269 -0
  974. package/src/mcp/adapters/jira.adapter.ts +482 -0
  975. package/src/mcp/adapters/klaviyo.adapter.ts +353 -0
  976. package/src/mcp/adapters/kubernetes.adapter.ts +431 -0
  977. package/src/mcp/adapters/lattice.adapter.ts +339 -0
  978. package/src/mcp/adapters/launchdarkly.adapter.ts +368 -0
  979. package/src/mcp/adapters/lever.adapter.ts +347 -0
  980. package/src/mcp/adapters/linear.adapter.ts +300 -0
  981. package/src/mcp/adapters/linkedin.adapter.ts +331 -0
  982. package/src/mcp/adapters/livechat.adapter.ts +259 -0
  983. package/src/mcp/adapters/loom.adapter.ts +230 -0
  984. package/src/mcp/adapters/mailchimp.adapter.ts +394 -0
  985. package/src/mcp/adapters/mailgun.adapter.ts +425 -0
  986. package/src/mcp/adapters/microsoft-teams.adapter.ts +251 -0
  987. package/src/mcp/adapters/miro.adapter.ts +274 -0
  988. package/src/mcp/adapters/mixpanel.adapter.ts +324 -0
  989. package/src/mcp/adapters/monday.adapter.ts +308 -0
  990. package/src/mcp/adapters/mongodb-atlas.adapter.ts +345 -0
  991. package/src/mcp/adapters/neon.adapter.ts +312 -0
  992. package/src/mcp/adapters/netlify.adapter.ts +324 -0
  993. package/src/mcp/adapters/netsuite.adapter.ts +411 -0
  994. package/src/mcp/adapters/newrelic.adapter.ts +339 -0
  995. package/src/mcp/adapters/notion.adapter.ts +338 -0
  996. package/src/mcp/adapters/okta.adapter.ts +394 -0
  997. package/src/mcp/adapters/openai.adapter.ts +315 -0
  998. package/src/mcp/adapters/opsgenie.adapter.ts +375 -0
  999. package/src/mcp/adapters/outreach.adapter.ts +372 -0
  1000. package/src/mcp/adapters/paddle.adapter.ts +467 -0
  1001. package/src/mcp/adapters/pagerduty.adapter.ts +412 -0
  1002. package/src/mcp/adapters/pandadoc.adapter.ts +389 -0
  1003. package/src/mcp/adapters/paypal.adapter.ts +465 -0
  1004. package/src/mcp/adapters/personio.adapter.ts +401 -0
  1005. package/src/mcp/adapters/pinecone.adapter.ts +340 -0
  1006. package/src/mcp/adapters/pipedrive.adapter.ts +324 -0
  1007. package/src/mcp/adapters/plaid.adapter.ts +444 -0
  1008. package/src/mcp/adapters/postmark.adapter.ts +387 -0
  1009. package/src/mcp/adapters/power-automate.adapter.ts +388 -0
  1010. package/src/mcp/adapters/quickbooks.adapter.ts +431 -0
  1011. package/src/mcp/adapters/recurly.adapter.ts +433 -0
  1012. package/src/mcp/adapters/reddit.adapter.ts +371 -0
  1013. package/src/mcp/adapters/render.adapter.ts +332 -0
  1014. package/src/mcp/adapters/ringcentral.adapter.ts +281 -0
  1015. package/src/mcp/adapters/rippling.adapter.ts +287 -0
  1016. package/src/mcp/adapters/salesforce.adapter.ts +321 -0
  1017. package/src/mcp/adapters/salesloft.adapter.ts +413 -0
  1018. package/src/mcp/adapters/sanity.adapter.ts +363 -0
  1019. package/src/mcp/adapters/sap.adapter.ts +483 -0
  1020. package/src/mcp/adapters/segment.adapter.ts +260 -0
  1021. package/src/mcp/adapters/sendgrid.adapter.ts +265 -0
  1022. package/src/mcp/adapters/sentry.adapter.ts +331 -0
  1023. package/src/mcp/adapters/servicenow.adapter.ts +468 -0
  1024. package/src/mcp/adapters/shopify.adapter.ts +451 -0
  1025. package/src/mcp/adapters/shortcut.adapter.ts +290 -0
  1026. package/src/mcp/adapters/slack.adapter.ts +380 -0
  1027. package/src/mcp/adapters/smartsheet.adapter.ts +326 -0
  1028. package/src/mcp/adapters/snowflake.adapter.ts +347 -0
  1029. package/src/mcp/adapters/snyk.adapter.ts +394 -0
  1030. package/src/mcp/adapters/splunk.adapter.ts +403 -0
  1031. package/src/mcp/adapters/square.adapter.ts +467 -0
  1032. package/src/mcp/adapters/statuspage.adapter.ts +401 -0
  1033. package/src/mcp/adapters/stripe.adapter.ts +380 -0
  1034. package/src/mcp/adapters/supabase.adapter.ts +334 -0
  1035. package/src/mcp/adapters/teamwork.adapter.ts +404 -0
  1036. package/src/mcp/adapters/telegram.adapter.ts +299 -0
  1037. package/src/mcp/adapters/terraform.adapter.ts +300 -0
  1038. package/src/mcp/adapters/todoist.adapter.ts +239 -0
  1039. package/src/mcp/adapters/trello.adapter.ts +316 -0
  1040. package/src/mcp/adapters/twilio.adapter.ts +233 -0
  1041. package/src/mcp/adapters/twitter.adapter.ts +348 -0
  1042. package/src/mcp/adapters/vercel.adapter.ts +219 -0
  1043. package/src/mcp/adapters/weaviate.adapter.ts +371 -0
  1044. package/src/mcp/adapters/webex.adapter.ts +237 -0
  1045. package/src/mcp/adapters/webflow.adapter.ts +287 -0
  1046. package/src/mcp/adapters/whatsapp.adapter.ts +273 -0
  1047. package/src/mcp/adapters/whereby.adapter.ts +240 -0
  1048. package/src/mcp/adapters/woocommerce.adapter.ts +454 -0
  1049. package/src/mcp/adapters/wordpress.adapter.ts +455 -0
  1050. package/src/mcp/adapters/workday.adapter.ts +354 -0
  1051. package/src/mcp/adapters/wrike.adapter.ts +349 -0
  1052. package/src/mcp/adapters/xero.adapter.ts +472 -0
  1053. package/src/mcp/adapters/youtube.adapter.ts +401 -0
  1054. package/src/mcp/adapters/zendesk.adapter.ts +399 -0
  1055. package/src/mcp/adapters/zoho-crm.adapter.ts +410 -0
  1056. package/src/mcp/adapters/zoom.adapter.ts +241 -0
  1057. package/src/mcp/adapters/zuora.adapter.ts +476 -0
  1058. package/src/mcp/framework/api-executor.ts +192 -0
  1059. package/src/mcp/framework/aws-sigv4.ts +216 -0
  1060. package/src/mcp/framework/credential-resolver.ts +128 -0
  1061. package/src/mcp/framework/skill-mcp-framework.ts +226 -0
  1062. package/src/mcp/framework/types.ts +130 -0
  1063. package/src/mcp/index.ts +124 -0
  1064. package/src/middleware/egress-filter.ts +81 -0
  1065. package/src/middleware/firewall.ts +121 -0
  1066. package/src/middleware/index.ts +33 -0
  1067. package/src/registry/cli.ts +63 -0
  1068. package/src/registry/server.ts +504 -0
  1069. package/src/runtime/agent-loop.ts +504 -0
  1070. package/src/runtime/email-channel.ts +120 -0
  1071. package/src/runtime/followup.ts +211 -0
  1072. package/src/runtime/gateway.ts +260 -0
  1073. package/src/runtime/hooks.ts +472 -0
  1074. package/src/runtime/index.ts +679 -0
  1075. package/src/runtime/llm-client.ts +1019 -0
  1076. package/src/runtime/providers.ts +231 -0
  1077. package/src/runtime/session-manager.ts +340 -0
  1078. package/src/runtime/subagent.ts +154 -0
  1079. package/src/runtime/tool-executor.ts +202 -0
  1080. package/src/runtime/types.ts +215 -0
  1081. package/src/server.ts +157 -45
  1082. package/src/setup/company.ts +127 -8
  1083. package/src/setup/database.ts +2 -1
  1084. package/src/setup/domain.ts +33 -4
  1085. package/src/setup/index.ts +19 -7
  1086. package/src/setup/provision.ts +128 -8
  1087. package/src/setup/registration.ts +227 -0
  1088. package/src/types/hono-env.ts +14 -0
  1089. package/src/types/optional-deps.d.ts +10 -0
  1090. package/start-live.mjs +12 -3
  1091. package/test-integration.mjs +628 -257
  1092. package/dist/chunk-77IDQJL3.js +0 -7
  1093. package/dist/chunk-BE7MXVLA.js +0 -757
  1094. package/dist/chunk-BS2WCSHO.js +0 -48
  1095. package/dist/chunk-FL3VQBGL.js +0 -757
  1096. package/dist/chunk-IQWA44WT.js +0 -970
  1097. package/dist/chunk-N2JVTNNJ.js +0 -2553
  1098. package/dist/chunk-YFDSE4BW.js +0 -1355
  1099. package/dist/db-adapter-DEWEFNIV.js +0 -7
  1100. package/dist/factory-V37IG5AT.js +0 -9
  1101. package/dist/routes-2JEPIIKC.js +0 -441
  1102. package/dist/server-32YYCI3A.js +0 -8
  1103. package/dist/server-H3C6WUOS.js +0 -8
  1104. package/dist/sqlite-3K5YOZ4K.js +0 -439
  1105. package/src/engine/agenticmail-bridge.ts +0 -296
  1106. package/src/engine/openclaw-hook.ts +0 -371
@@ -0,0 +1,591 @@
1
+ import {
2
+ ENTERPRISE_SKILL_DEFS,
3
+ GWS_SKILL_DEFS,
4
+ M365_SKILL_DEFS,
5
+ init_skills,
6
+ init_tool_catalog,
7
+ tool_catalog_exports
8
+ } from "./chunk-X6UVWFHW.js";
9
+ import {
10
+ __toCommonJS
11
+ } from "./chunk-KFQGP6VL.js";
12
+
13
+ // src/engine/skills.ts
14
+ init_skills();
15
+ var SKILL_SUITES = [
16
+ {
17
+ id: "microsoft-365",
18
+ name: "Microsoft 365",
19
+ description: "Complete Microsoft 365 suite \u2014 Outlook, Teams, SharePoint, OneDrive, Word, Excel, PowerPoint, OneNote, Planner, Power BI, Power Automate, Forms, To Do, Bookings, Whiteboard, Admin Center, Copilot.",
20
+ icon: "\u{1F3E2}",
21
+ skills: [
22
+ "m365-outlook",
23
+ "m365-teams",
24
+ "m365-sharepoint",
25
+ "m365-onedrive",
26
+ "m365-word",
27
+ "m365-excel",
28
+ "m365-powerpoint",
29
+ "m365-onenote",
30
+ "m365-planner",
31
+ "m365-power-bi",
32
+ "m365-power-automate",
33
+ "m365-forms",
34
+ "m365-todo",
35
+ "m365-bookings",
36
+ "m365-whiteboard",
37
+ "m365-admin",
38
+ "m365-copilot"
39
+ ]
40
+ },
41
+ {
42
+ id: "google-workspace",
43
+ name: "Google Workspace",
44
+ description: "Complete Google Workspace suite \u2014 Gmail, Calendar, Drive, Docs, Sheets, Slides, Meet, Chat, Forms, Sites, Keep, Admin Console, Vault, Groups.",
45
+ icon: "\u{1F535}",
46
+ skills: [
47
+ "gws-gmail",
48
+ "gws-calendar",
49
+ "gws-drive",
50
+ "gws-docs",
51
+ "gws-sheets",
52
+ "gws-slides",
53
+ "gws-meet",
54
+ "gws-chat",
55
+ "gws-forms",
56
+ "gws-sites",
57
+ "gws-keep",
58
+ "gws-admin",
59
+ "gws-vault",
60
+ "gws-groups"
61
+ ]
62
+ },
63
+ {
64
+ id: "atlassian",
65
+ name: "Atlassian Suite",
66
+ description: "Jira, Confluence, Bitbucket, Trello, Statuspage, and Opsgenie.",
67
+ icon: "\u{1F537}",
68
+ skills: ["jira", "confluence", "bitbucket", "trello", "statuspage", "opsgenie"]
69
+ },
70
+ {
71
+ id: "aws",
72
+ name: "Amazon Web Services",
73
+ description: "AWS cloud infrastructure \u2014 S3, EC2, Lambda, RDS, CloudWatch, IAM, SES, SNS, SQS, DynamoDB, CloudFormation.",
74
+ icon: "\u2601\uFE0F",
75
+ skills: ["aws-s3", "aws-ec2", "aws-lambda", "aws-rds", "aws-cloudwatch", "aws-iam", "aws-ses", "aws-sns", "aws-sqs", "aws-dynamodb", "aws-cloudformation"]
76
+ },
77
+ {
78
+ id: "azure",
79
+ name: "Microsoft Azure",
80
+ description: "Azure cloud infrastructure \u2014 VMs, App Service, Functions, Storage, SQL, CosmosDB, DevOps, Active Directory.",
81
+ icon: "\u26C5",
82
+ skills: ["azure-vms", "azure-app-service", "azure-functions", "azure-storage", "azure-sql", "azure-cosmosdb", "azure-devops", "azure-ad"]
83
+ },
84
+ {
85
+ id: "gcp",
86
+ name: "Google Cloud Platform",
87
+ description: "GCP cloud infrastructure \u2014 Compute Engine, Cloud Functions, Cloud Storage, BigQuery, Cloud Run, Pub/Sub, Firestore.",
88
+ icon: "\u{1F324}\uFE0F",
89
+ skills: ["gcp-compute", "gcp-functions", "gcp-storage", "gcp-bigquery", "gcp-run", "gcp-pubsub", "gcp-firestore"]
90
+ },
91
+ {
92
+ id: "salesforce-suite",
93
+ name: "Salesforce Suite",
94
+ description: "Salesforce CRM, Service Cloud, Marketing Cloud, and Commerce Cloud.",
95
+ icon: "\u2601",
96
+ skills: ["salesforce", "salesforce-service", "salesforce-marketing", "salesforce-commerce"]
97
+ },
98
+ {
99
+ id: "hubspot-suite",
100
+ name: "HubSpot Suite",
101
+ description: "HubSpot CRM, Marketing Hub, Sales Hub, Service Hub, and CMS.",
102
+ icon: "\u{1F7E0}",
103
+ skills: ["hubspot-crm", "hubspot-marketing", "hubspot-sales", "hubspot-service"]
104
+ },
105
+ {
106
+ id: "adobe-creative",
107
+ name: "Adobe Creative Cloud",
108
+ description: "Adobe Photoshop, Illustrator, Premiere Pro, After Effects, InDesign, and XD.",
109
+ icon: "\u{1F3A8}",
110
+ skills: ["adobe-photoshop", "adobe-illustrator", "adobe-premiere", "adobe-after-effects", "adobe-indesign", "adobe-xd"]
111
+ },
112
+ {
113
+ id: "enterprise-utility",
114
+ name: "Enterprise Utility Tools",
115
+ description: "Built-in enterprise productivity tools \u2014 database queries, spreadsheets, documents, calendar, knowledge search, web research, translation, logs, workflow, notifications, finance, HTTP, security scanning, code sandbox, diff, and vision.",
116
+ icon: "\u{1F3D7}\uFE0F",
117
+ skills: [
118
+ "enterprise-database",
119
+ "enterprise-spreadsheet",
120
+ "enterprise-documents",
121
+ "enterprise-calendar",
122
+ "enterprise-knowledge-search",
123
+ "enterprise-web-research",
124
+ "enterprise-translation",
125
+ "enterprise-logs",
126
+ "enterprise-workflow",
127
+ "enterprise-notifications",
128
+ "enterprise-finance",
129
+ "enterprise-http",
130
+ "enterprise-security-scan",
131
+ "enterprise-code-sandbox",
132
+ "enterprise-diff",
133
+ "enterprise-vision"
134
+ ]
135
+ }
136
+ ];
137
+ var PRESET_PROFILES = [
138
+ {
139
+ name: "Research Assistant",
140
+ description: "Can search the web, read files, and summarize content. Cannot send messages, run code, or modify anything.",
141
+ skills: { mode: "allowlist", list: ["research", "summarize", "data-read"] },
142
+ tools: { blocked: ["exec", "write", "edit"], allowed: ["web_search", "web_fetch", "read", "memory_search", "memory_get"] },
143
+ maxRiskLevel: "low",
144
+ blockedSideEffects: ["sends-email", "sends-message", "sends-sms", "posts-social", "runs-code", "modifies-files", "deletes-data", "controls-device", "financial"],
145
+ requireApproval: { enabled: false, forRiskLevels: [], forSideEffects: [], approvers: [], timeoutMinutes: 30 },
146
+ rateLimits: { toolCallsPerMinute: 30, toolCallsPerHour: 500, toolCallsPerDay: 5e3, externalActionsPerHour: 0 },
147
+ constraints: { maxConcurrentTasks: 3, maxSessionDurationMinutes: 480, sandboxMode: false }
148
+ },
149
+ {
150
+ name: "Customer Support Agent",
151
+ description: "Can read/send emails, search knowledge base, and manage tickets. Cannot run code or access files.",
152
+ skills: { mode: "allowlist", list: ["communication", "research", "agenticmail", "m365-outlook", "m365-teams", "gws-gmail", "gws-calendar", "zendesk", "intercom"] },
153
+ tools: { blocked: ["exec", "browser", "write", "edit"], allowed: ["agenticmail_send", "agenticmail_reply", "agenticmail_inbox", "agenticmail_read", "agenticmail_search", "web_search", "web_fetch"] },
154
+ maxRiskLevel: "medium",
155
+ blockedSideEffects: ["runs-code", "modifies-files", "deletes-data", "controls-device", "financial", "posts-social"],
156
+ requireApproval: { enabled: true, forRiskLevels: ["high", "critical"], forSideEffects: ["sends-email"], approvers: [], timeoutMinutes: 60 },
157
+ rateLimits: { toolCallsPerMinute: 20, toolCallsPerHour: 300, toolCallsPerDay: 3e3, externalActionsPerHour: 50 },
158
+ constraints: { maxConcurrentTasks: 5, maxSessionDurationMinutes: 480, sandboxMode: false }
159
+ },
160
+ {
161
+ name: "Developer Assistant",
162
+ description: "Full development capabilities: code, git, GitHub, shell. Cannot send external messages or access smart home.",
163
+ skills: { mode: "allowlist", list: ["development", "github", "coding-agent", "research", "data", "docker", "github-actions", "jira", "linear", "slack"] },
164
+ tools: { blocked: ["agenticmail_send", "message", "tts", "nodes"], allowed: ["exec", "read", "write", "edit", "web_search", "web_fetch", "browser"] },
165
+ maxRiskLevel: "high",
166
+ blockedSideEffects: ["sends-email", "sends-message", "sends-sms", "posts-social", "controls-device", "financial"],
167
+ requireApproval: { enabled: true, forRiskLevels: ["critical"], forSideEffects: [], approvers: [], timeoutMinutes: 15 },
168
+ rateLimits: { toolCallsPerMinute: 60, toolCallsPerHour: 1e3, toolCallsPerDay: 1e4, externalActionsPerHour: 100 },
169
+ constraints: { maxConcurrentTasks: 3, maxSessionDurationMinutes: 720, sandboxMode: false }
170
+ },
171
+ {
172
+ name: "Full Access (Owner)",
173
+ description: "Unrestricted access to all skills and tools. Use with caution.",
174
+ skills: { mode: "blocklist", list: [] },
175
+ tools: { blocked: [], allowed: [] },
176
+ maxRiskLevel: "critical",
177
+ blockedSideEffects: [],
178
+ requireApproval: { enabled: false, forRiskLevels: [], forSideEffects: [], approvers: [], timeoutMinutes: 30 },
179
+ rateLimits: { toolCallsPerMinute: 120, toolCallsPerHour: 5e3, toolCallsPerDay: 5e4, externalActionsPerHour: 500 },
180
+ constraints: { maxConcurrentTasks: 10, maxSessionDurationMinutes: 1440, sandboxMode: false }
181
+ },
182
+ {
183
+ name: "Sandbox (Testing)",
184
+ description: "All tools available but in simulation mode. No real external actions are taken.",
185
+ skills: { mode: "blocklist", list: [] },
186
+ tools: { blocked: [], allowed: [] },
187
+ maxRiskLevel: "critical",
188
+ blockedSideEffects: [],
189
+ requireApproval: { enabled: false, forRiskLevels: [], forSideEffects: [], approvers: [], timeoutMinutes: 30 },
190
+ rateLimits: { toolCallsPerMinute: 60, toolCallsPerHour: 1e3, toolCallsPerDay: 1e4, externalActionsPerHour: 500 },
191
+ constraints: { maxConcurrentTasks: 5, maxSessionDurationMinutes: 480, sandboxMode: true }
192
+ }
193
+ ];
194
+ var BUILTIN_SKILLS = [
195
+ // Communication
196
+ { id: "agenticmail", name: "AgenticMail", description: "Full email system \u2014 send, receive, organize, search, forward, reply. Agent-to-agent messaging and task delegation.", category: "communication", risk: "medium", icon: "\u{1F4E7}", source: "builtin" },
197
+ { id: "imsg", name: "iMessage", description: "Send and receive iMessages and SMS via macOS.", category: "communication", risk: "high", icon: "\u{1F4AC}", source: "builtin", requires: ["macos"] },
198
+ { id: "wacli", name: "WhatsApp", description: "Send WhatsApp messages and search chat history.", category: "communication", risk: "high", icon: "\u{1F4F1}", source: "builtin" },
199
+ // Development
200
+ { id: "github", name: "GitHub", description: "Manage issues, PRs, CI runs, and repositories via gh CLI.", category: "development", risk: "medium", icon: "\u{1F419}", source: "builtin" },
201
+ { id: "coding-agent", name: "Coding Agent", description: "Run Codex CLI, Claude Code, or other coding agents as background processes.", category: "development", risk: "high", icon: "\u{1F4BB}", source: "builtin" },
202
+ // Productivity
203
+ { id: "gog", name: "Google Workspace", description: "Gmail, Calendar, Drive, Contacts, Sheets, and Docs.", category: "productivity", risk: "medium", icon: "\u{1F4C5}", source: "builtin" },
204
+ { id: "apple-notes", name: "Apple Notes", description: "Create, search, edit, and manage Apple Notes.", category: "productivity", risk: "low", icon: "\u{1F4DD}", source: "builtin", requires: ["macos"] },
205
+ { id: "apple-reminders", name: "Apple Reminders", description: "Manage Apple Reminders lists and items.", category: "productivity", risk: "low", icon: "\u2705", source: "builtin", requires: ["macos"] },
206
+ { id: "bear-notes", name: "Bear Notes", description: "Create, search, and manage Bear notes.", category: "productivity", risk: "low", icon: "\u{1F43B}", source: "builtin", requires: ["macos"] },
207
+ { id: "obsidian", name: "Obsidian", description: "Work with Obsidian vaults and automate via CLI.", category: "productivity", risk: "low", icon: "\u{1F48E}", source: "builtin" },
208
+ { id: "things-mac", name: "Things 3", description: "Manage tasks and projects in Things 3.", category: "productivity", risk: "low", icon: "\u2611\uFE0F", source: "builtin", requires: ["macos"] },
209
+ // Research
210
+ { id: "web-search", name: "Web Search", description: "Search the web via Brave Search API.", category: "research", risk: "low", icon: "\u{1F50D}", source: "builtin" },
211
+ { id: "web-fetch", name: "Web Fetch", description: "Fetch and extract readable content from URLs.", category: "research", risk: "low", icon: "\u{1F310}", source: "builtin" },
212
+ { id: "summarize", name: "Summarize", description: "Summarize or transcribe URLs, podcasts, and files.", category: "research", risk: "low", icon: "\u{1F4C4}", source: "builtin" },
213
+ { id: "blogwatcher", name: "Blog Watcher", description: "Monitor blogs and RSS/Atom feeds for updates.", category: "research", risk: "low", icon: "\u{1F4E1}", source: "builtin" },
214
+ // Media
215
+ { id: "openai-image-gen", name: "Image Generation", description: "Generate images via OpenAI Images API.", category: "media", risk: "low", icon: "\u{1F3A8}", source: "builtin" },
216
+ { id: "nano-banana-pro", name: "Gemini Image", description: "Generate or edit images via Gemini 3 Pro.", category: "media", risk: "low", icon: "\u{1F5BC}\uFE0F", source: "builtin" },
217
+ { id: "tts", name: "Text-to-Speech", description: "Convert text to speech audio.", category: "media", risk: "low", icon: "\u{1F50A}", source: "builtin" },
218
+ { id: "openai-whisper", name: "Whisper Transcription", description: "Transcribe audio via OpenAI Whisper API.", category: "media", risk: "low", icon: "\u{1F399}\uFE0F", source: "builtin" },
219
+ { id: "video-frames", name: "Video Frames", description: "Extract frames or clips from videos.", category: "media", risk: "low", icon: "\u{1F3AC}", source: "builtin" },
220
+ { id: "gifgrep", name: "GIF Search", description: "Search and download GIFs.", category: "media", risk: "low", icon: "\u{1F3AD}", source: "builtin" },
221
+ // Automation
222
+ { id: "browser", name: "Browser Control", description: "Automate web browsers \u2014 navigate, click, type, screenshot.", category: "automation", risk: "high", icon: "\u{1F30D}", source: "builtin" },
223
+ { id: "exec", name: "Shell Commands", description: "Execute shell commands on the host machine.", category: "automation", risk: "critical", icon: "\u26A1", source: "builtin" },
224
+ { id: "peekaboo", name: "macOS UI Automation", description: "Capture and automate macOS UI with Peekaboo.", category: "automation", risk: "high", icon: "\u{1F441}\uFE0F", source: "builtin", requires: ["macos"] },
225
+ { id: "cron", name: "Scheduled Tasks", description: "Create and manage cron jobs and reminders.", category: "automation", risk: "medium", icon: "\u23F0", source: "builtin" },
226
+ // Smart Home
227
+ { id: "openhue", name: "Philips Hue", description: "Control Hue lights and scenes.", category: "smart-home", risk: "low", icon: "\u{1F4A1}", source: "builtin" },
228
+ { id: "sonoscli", name: "Sonos", description: "Control Sonos speakers.", category: "smart-home", risk: "low", icon: "\u{1F508}", source: "builtin" },
229
+ { id: "blucli", name: "BluOS", description: "Control BluOS speakers.", category: "smart-home", risk: "low", icon: "\u{1F3B5}", source: "builtin" },
230
+ { id: "eightctl", name: "Eight Sleep", description: "Control Eight Sleep pod temperature and alarms.", category: "smart-home", risk: "low", icon: "\u{1F6CF}\uFE0F", source: "builtin" },
231
+ { id: "camsnap", name: "IP Cameras", description: "Capture frames from RTSP/ONVIF cameras.", category: "smart-home", risk: "medium", icon: "\u{1F4F7}", source: "builtin" },
232
+ // Data
233
+ { id: "files", name: "File System", description: "Read, write, and edit files on the host.", category: "data", risk: "medium", icon: "\u{1F4C1}", source: "builtin" },
234
+ { id: "memory", name: "Agent Memory", description: "Persistent memory search and storage.", category: "data", risk: "low", icon: "\u{1F9E0}", source: "builtin" },
235
+ // Security
236
+ { id: "1password", name: "1Password", description: "Read and manage secrets via 1Password CLI.", category: "security", risk: "critical", icon: "\u{1F510}", source: "builtin" },
237
+ { id: "healthcheck", name: "Security Audit", description: "Host security hardening and risk checks.", category: "security", risk: "medium", icon: "\u{1F6E1}\uFE0F", source: "builtin" },
238
+ // Social
239
+ { id: "twitter", name: "Twitter/X", description: "Post tweets, read timeline, manage social presence.", category: "social", risk: "high", icon: "\u{1F426}", source: "builtin" },
240
+ // Platform
241
+ { id: "gateway", name: "Agent Runtime Gateway", description: "Restart, configure, and update the agent runtime gateway.", category: "platform", risk: "critical", icon: "\u2699\uFE0F", source: "builtin" },
242
+ { id: "sessions", name: "Session Management", description: "Spawn sub-agents, list sessions, send messages between sessions.", category: "platform", risk: "medium", icon: "\u{1F504}", source: "builtin" },
243
+ { id: "nodes", name: "Node Control", description: "Discover and control paired devices (camera, screen, location).", category: "platform", risk: "high", icon: "\u{1F4E1}", source: "builtin" },
244
+ // ─── Microsoft 365 (from individual skill files) ────────
245
+ ...M365_SKILL_DEFS,
246
+ // ─── Google Workspace (from individual skill files) ─────
247
+ ...GWS_SKILL_DEFS,
248
+ // ─── Collaboration ──────────────────────────────────────
249
+ { id: "slack", name: "Slack", description: "Messaging, channels, threads, apps, workflows, and Slack Connect.", category: "collaboration", risk: "medium", icon: "\u{1F4AC}", source: "builtin" },
250
+ { id: "zoom", name: "Zoom", description: "Video meetings, webinars, recordings, scheduling, and Zoom Phone.", category: "collaboration", risk: "medium", icon: "\u{1F4F9}", source: "builtin" },
251
+ { id: "discord", name: "Discord", description: "Messaging, voice channels, bots, and server management.", category: "collaboration", risk: "medium", icon: "\u{1F3AE}", source: "builtin" },
252
+ { id: "webex", name: "Webex", description: "Cisco Webex meetings, messaging, calling, and device management.", category: "collaboration", risk: "medium", icon: "\u{1F4DE}", source: "builtin" },
253
+ { id: "mattermost", name: "Mattermost", description: "Open-source team messaging, channels, and integrations.", category: "collaboration", risk: "medium", icon: "\u{1F4AD}", source: "builtin" },
254
+ // ─── CRM ────────────────────────────────────────────────
255
+ { id: "salesforce", name: "Salesforce CRM", description: "Leads, contacts, opportunities, accounts, cases, and custom objects.", category: "crm", risk: "medium", icon: "\u2601\uFE0F", source: "builtin" },
256
+ { id: "salesforce-service", name: "Salesforce Service Cloud", description: "Case management, knowledge base, service console, and omni-channel routing.", category: "customer-support", risk: "medium", icon: "\u{1F3A7}", source: "builtin" },
257
+ { id: "salesforce-marketing", name: "Salesforce Marketing Cloud", description: "Email campaigns, journeys, audiences, and marketing automation.", category: "marketing", risk: "medium", icon: "\u{1F4E3}", source: "builtin" },
258
+ { id: "salesforce-commerce", name: "Salesforce Commerce Cloud", description: "Online storefronts, product catalogs, orders, and customer data.", category: "ecommerce", risk: "medium", icon: "\u{1F6D2}", source: "builtin" },
259
+ { id: "hubspot-crm", name: "HubSpot CRM", description: "Contacts, deals, companies, tickets, and pipeline management.", category: "crm", risk: "medium", icon: "\u{1F7E0}", source: "builtin" },
260
+ { id: "hubspot-marketing", name: "HubSpot Marketing", description: "Email marketing, landing pages, forms, workflows, and analytics.", category: "marketing", risk: "medium", icon: "\u{1F4E7}", source: "builtin" },
261
+ { id: "hubspot-sales", name: "HubSpot Sales", description: "Sales pipeline, sequences, meetings, quotes, and call tracking.", category: "crm", risk: "medium", icon: "\u{1F4B0}", source: "builtin" },
262
+ { id: "hubspot-service", name: "HubSpot Service", description: "Help desk, tickets, knowledge base, customer feedback, and live chat.", category: "customer-support", risk: "medium", icon: "\u{1F3AF}", source: "builtin" },
263
+ { id: "pipedrive", name: "Pipedrive", description: "Sales CRM \u2014 deals, contacts, activities, and pipeline visualization.", category: "crm", risk: "medium", icon: "\u{1F517}", source: "builtin" },
264
+ { id: "zoho-crm", name: "Zoho CRM", description: "Leads, contacts, deals, workflows, and custom modules.", category: "crm", risk: "medium", icon: "\u{1F7E1}", source: "builtin" },
265
+ // ─── Project Management ─────────────────────────────────
266
+ { id: "jira", name: "Jira", description: "Issues, sprints, boards, backlogs, epics, and agile project management.", category: "project-management", risk: "medium", icon: "\u{1F537}", source: "builtin" },
267
+ { id: "confluence", name: "Confluence", description: "Wiki pages, spaces, templates, comments, and knowledge management.", category: "project-management", risk: "medium", icon: "\u{1F4D6}", source: "builtin" },
268
+ { id: "asana", name: "Asana", description: "Tasks, projects, timelines, portfolios, and workload management.", category: "project-management", risk: "medium", icon: "\u{1F534}", source: "builtin" },
269
+ { id: "monday", name: "Monday.com", description: "Boards, items, automations, dashboards, and work management.", category: "project-management", risk: "medium", icon: "\u{1F7E3}", source: "builtin" },
270
+ { id: "notion", name: "Notion", description: "Pages, databases, wikis, templates, and all-in-one workspace.", category: "project-management", risk: "medium", icon: "\u{1F4D3}", source: "builtin" },
271
+ { id: "linear", name: "Linear", description: "Issue tracking, cycles, projects, roadmaps, and triage.", category: "project-management", risk: "medium", icon: "\u{1F7EA}", source: "builtin" },
272
+ { id: "trello", name: "Trello", description: "Boards, cards, lists, checklists, and power-ups.", category: "project-management", risk: "low", icon: "\u{1F4CC}", source: "builtin" },
273
+ { id: "clickup", name: "ClickUp", description: "Tasks, docs, whiteboards, goals, and time tracking.", category: "project-management", risk: "medium", icon: "\u2B06\uFE0F", source: "builtin" },
274
+ { id: "basecamp", name: "Basecamp", description: "Projects, message boards, to-dos, schedules, and campfires.", category: "project-management", risk: "low", icon: "\u{1F3D5}\uFE0F", source: "builtin" },
275
+ { id: "airtable", name: "Airtable", description: "Spreadsheet-database hybrid with views, automations, and apps.", category: "project-management", risk: "medium", icon: "\u{1F5C3}\uFE0F", source: "builtin" },
276
+ // ─── Customer Support ───────────────────────────────────
277
+ { id: "zendesk", name: "Zendesk", description: "Tickets, help center, chat, talk, and customer analytics.", category: "customer-support", risk: "medium", icon: "\u{1F3A7}", source: "builtin" },
278
+ { id: "intercom", name: "Intercom", description: "Live chat, inbox, help center, bots, and product tours.", category: "customer-support", risk: "medium", icon: "\u{1F4AC}", source: "builtin" },
279
+ { id: "freshdesk", name: "Freshdesk", description: "Tickets, automations, SLA management, and customer portal.", category: "customer-support", risk: "medium", icon: "\u{1F7E2}", source: "builtin" },
280
+ { id: "servicenow", name: "ServiceNow", description: "IT service management, incidents, changes, assets, and workflows.", category: "customer-support", risk: "high", icon: "\u{1F527}", source: "builtin" },
281
+ { id: "front", name: "Front", description: "Shared inbox, assignments, SLAs, tags, and team collaboration.", category: "customer-support", risk: "medium", icon: "\u{1F4EE}", source: "builtin" },
282
+ // ─── Cloud Infrastructure — AWS ─────────────────────────
283
+ { id: "aws-s3", name: "AWS S3", description: "Object storage \u2014 buckets, objects, permissions, lifecycle policies.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1FAA3}", source: "builtin" },
284
+ { id: "aws-ec2", name: "AWS EC2", description: "Virtual machines \u2014 instances, AMIs, security groups, EBS volumes.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F5A5}\uFE0F", source: "builtin" },
285
+ { id: "aws-lambda", name: "AWS Lambda", description: "Serverless functions \u2014 deployment, invocation, layers, event triggers.", category: "cloud-infrastructure", risk: "high", icon: "\u03BB", source: "builtin" },
286
+ { id: "aws-rds", name: "AWS RDS", description: "Managed databases \u2014 instances, snapshots, parameter groups, and read replicas.", category: "database", risk: "high", icon: "\u{1F5C4}\uFE0F", source: "builtin" },
287
+ { id: "aws-cloudwatch", name: "AWS CloudWatch", description: "Monitoring, logs, alarms, dashboards, and metrics.", category: "monitoring", risk: "low", icon: "\u{1F441}\uFE0F", source: "builtin" },
288
+ { id: "aws-iam", name: "AWS IAM", description: "Identity and access management \u2014 users, roles, policies, and MFA.", category: "security", risk: "critical", icon: "\u{1F511}", source: "builtin" },
289
+ { id: "aws-ses", name: "AWS SES", description: "Simple Email Service \u2014 send, receive, templates, and domain verification.", category: "communication", risk: "medium", icon: "\u{1F4E7}", source: "builtin" },
290
+ { id: "aws-sns", name: "AWS SNS", description: "Simple Notification Service \u2014 topics, subscriptions, push notifications.", category: "communication", risk: "medium", icon: "\u{1F514}", source: "builtin" },
291
+ { id: "aws-sqs", name: "AWS SQS", description: "Simple Queue Service \u2014 queues, messages, dead letter queues.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1F4E8}", source: "builtin" },
292
+ { id: "aws-dynamodb", name: "AWS DynamoDB", description: "NoSQL database \u2014 tables, items, indexes, and streams.", category: "database", risk: "medium", icon: "\u26A1", source: "builtin" },
293
+ { id: "aws-cloudformation", name: "AWS CloudFormation", description: "Infrastructure as code \u2014 stacks, templates, change sets.", category: "devops", risk: "high", icon: "\u{1F3D7}\uFE0F", source: "builtin" },
294
+ // ─── Cloud Infrastructure — Azure ───────────────────────
295
+ { id: "azure-vms", name: "Azure VMs", description: "Virtual machines, scale sets, images, and managed disks.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F5A5}\uFE0F", source: "builtin" },
296
+ { id: "azure-app-service", name: "Azure App Service", description: "Web apps, APIs, mobile backends, and deployment slots.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1F310}", source: "builtin" },
297
+ { id: "azure-functions", name: "Azure Functions", description: "Serverless compute \u2014 triggers, bindings, and durable functions.", category: "cloud-infrastructure", risk: "high", icon: "\u0192", source: "builtin" },
298
+ { id: "azure-storage", name: "Azure Storage", description: "Blobs, files, queues, tables, and data lake storage.", category: "storage", risk: "medium", icon: "\u{1F4BE}", source: "builtin" },
299
+ { id: "azure-sql", name: "Azure SQL", description: "Managed SQL databases, elastic pools, and server management.", category: "database", risk: "high", icon: "\u{1F5C4}\uFE0F", source: "builtin" },
300
+ { id: "azure-cosmosdb", name: "Azure Cosmos DB", description: "Globally distributed NoSQL database with multiple APIs.", category: "database", risk: "medium", icon: "\u{1F30D}", source: "builtin" },
301
+ { id: "azure-devops", name: "Azure DevOps", description: "Boards, repos, pipelines, test plans, and artifacts.", category: "devops", risk: "medium", icon: "\u{1F537}", source: "builtin" },
302
+ { id: "azure-ad", name: "Azure Active Directory", description: "Identity management, SSO, conditional access, and app registrations.", category: "security", risk: "critical", icon: "\u{1F510}", source: "builtin" },
303
+ // ─── Cloud Infrastructure — GCP ─────────────────────────
304
+ { id: "gcp-compute", name: "GCP Compute Engine", description: "Virtual machines, instance groups, and persistent disks.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F5A5}\uFE0F", source: "builtin" },
305
+ { id: "gcp-functions", name: "GCP Cloud Functions", description: "Serverless functions with event triggers.", category: "cloud-infrastructure", risk: "high", icon: "\u0192", source: "builtin" },
306
+ { id: "gcp-storage", name: "GCP Cloud Storage", description: "Object storage buckets, objects, and lifecycle management.", category: "storage", risk: "medium", icon: "\u{1FAA3}", source: "builtin" },
307
+ { id: "gcp-bigquery", name: "BigQuery", description: "Data warehouse \u2014 SQL queries, datasets, tables, and ML models.", category: "analytics", risk: "medium", icon: "\u{1F4CA}", source: "builtin" },
308
+ { id: "gcp-run", name: "GCP Cloud Run", description: "Serverless containers \u2014 deploy, manage, and auto-scale.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F3C3}", source: "builtin" },
309
+ { id: "gcp-pubsub", name: "GCP Pub/Sub", description: "Messaging and event streaming \u2014 topics and subscriptions.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1F4E8}", source: "builtin" },
310
+ { id: "gcp-firestore", name: "Firestore", description: "NoSQL document database with real-time sync.", category: "database", risk: "medium", icon: "\u{1F525}", source: "builtin" },
311
+ // ─── DevOps & CI/CD ─────────────────────────────────────
312
+ { id: "docker", name: "Docker", description: "Container management \u2014 images, containers, compose, and registries.", category: "devops", risk: "high", icon: "\u{1F433}", source: "builtin" },
313
+ { id: "kubernetes", name: "Kubernetes", description: "Container orchestration \u2014 pods, deployments, services, and helm charts.", category: "devops", risk: "high", icon: "\u2638\uFE0F", source: "builtin" },
314
+ { id: "terraform", name: "Terraform", description: "Infrastructure as code \u2014 plan, apply, state management, and modules.", category: "devops", risk: "high", icon: "\u{1F3D7}\uFE0F", source: "builtin" },
315
+ { id: "ansible", name: "Ansible", description: "Configuration management \u2014 playbooks, roles, and inventories.", category: "devops", risk: "high", icon: "\u{1F4DC}", source: "builtin" },
316
+ { id: "github-actions", name: "GitHub Actions", description: "CI/CD workflows, actions marketplace, and secrets management.", category: "devops", risk: "medium", icon: "\u2699\uFE0F", source: "builtin" },
317
+ { id: "gitlab-ci", name: "GitLab CI/CD", description: "Pipelines, runners, artifacts, environments, and deployments.", category: "devops", risk: "medium", icon: "\u{1F98A}", source: "builtin" },
318
+ { id: "jenkins", name: "Jenkins", description: "Build automation \u2014 jobs, pipelines, plugins, and agents.", category: "devops", risk: "medium", icon: "\u{1F3D7}\uFE0F", source: "builtin" },
319
+ { id: "circleci", name: "CircleCI", description: "CI/CD pipelines, orbs, caching, and test splitting.", category: "devops", risk: "medium", icon: "\u2B55", source: "builtin" },
320
+ { id: "bitbucket", name: "Bitbucket", description: "Git repositories, pull requests, code review, and pipelines.", category: "development", risk: "medium", icon: "\u{1F535}", source: "builtin" },
321
+ { id: "gitlab", name: "GitLab", description: "Repositories, merge requests, issues, and DevSecOps platform.", category: "development", risk: "medium", icon: "\u{1F98A}", source: "builtin" },
322
+ { id: "vercel", name: "Vercel", description: "Frontend deployment, serverless functions, edge config, and analytics.", category: "devops", risk: "medium", icon: "\u25B2", source: "builtin" },
323
+ { id: "netlify", name: "Netlify", description: "Web deployment, forms, identity, functions, and edge handlers.", category: "devops", risk: "medium", icon: "\u{1F310}", source: "builtin" },
324
+ // ─── Finance & Payments ─────────────────────────────────
325
+ { id: "stripe", name: "Stripe", description: "Payments, subscriptions, invoices, customers, and financial reports.", category: "finance", risk: "high", icon: "\u{1F4B3}", source: "builtin" },
326
+ { id: "quickbooks", name: "QuickBooks", description: "Accounting \u2014 invoices, expenses, reports, payroll, and bank reconciliation.", category: "finance", risk: "high", icon: "\u{1F4D2}", source: "builtin" },
327
+ { id: "xero", name: "Xero", description: "Cloud accounting \u2014 invoicing, bank feeds, reporting, and payroll.", category: "finance", risk: "high", icon: "\u{1F4D7}", source: "builtin" },
328
+ { id: "freshbooks", name: "FreshBooks", description: "Invoicing, time tracking, expenses, and financial reports.", category: "finance", risk: "medium", icon: "\u{1F4D8}", source: "builtin" },
329
+ { id: "paypal", name: "PayPal", description: "Payments, invoices, subscriptions, and disputes.", category: "finance", risk: "high", icon: "\u{1F4B0}", source: "builtin" },
330
+ { id: "wise", name: "Wise", description: "International transfers, multi-currency accounts, and batch payments.", category: "finance", risk: "high", icon: "\u{1F30D}", source: "builtin" },
331
+ { id: "plaid", name: "Plaid", description: "Bank connections, account data, transactions, and identity verification.", category: "finance", risk: "critical", icon: "\u{1F3E6}", source: "builtin" },
332
+ // ─── Analytics & BI ─────────────────────────────────────
333
+ { id: "tableau", name: "Tableau", description: "Data visualization, dashboards, workbooks, and data sources.", category: "analytics", risk: "medium", icon: "\u{1F4CA}", source: "builtin" },
334
+ { id: "looker", name: "Looker", description: "Business intelligence \u2014 explores, dashboards, LookML, and scheduling.", category: "analytics", risk: "medium", icon: "\u{1F50D}", source: "builtin" },
335
+ { id: "mixpanel", name: "Mixpanel", description: "Product analytics \u2014 events, funnels, retention, and user profiles.", category: "analytics", risk: "low", icon: "\u{1F4C8}", source: "builtin" },
336
+ { id: "amplitude", name: "Amplitude", description: "Product analytics \u2014 behavioral data, cohorts, experiments, and segments.", category: "analytics", risk: "low", icon: "\u{1F4C9}", source: "builtin" },
337
+ { id: "segment", name: "Segment", description: "Customer data platform \u2014 sources, destinations, protocols, and personas.", category: "analytics", risk: "medium", icon: "\u{1F7E2}", source: "builtin" },
338
+ { id: "google-analytics", name: "Google Analytics", description: "Web analytics \u2014 pageviews, events, conversions, audiences, and reports.", category: "analytics", risk: "low", icon: "\u{1F4CA}", source: "builtin" },
339
+ { id: "hotjar", name: "Hotjar", description: "Heatmaps, session recordings, surveys, and user feedback.", category: "analytics", risk: "low", icon: "\u{1F525}", source: "builtin" },
340
+ // ─── Design ─────────────────────────────────────────────
341
+ { id: "figma", name: "Figma", description: "UI/UX design \u2014 files, components, prototypes, and design tokens.", category: "design", risk: "low", icon: "\u{1F3A8}", source: "builtin" },
342
+ { id: "canva", name: "Canva", description: "Graphic design \u2014 templates, brand kit, team designs, and media library.", category: "design", risk: "low", icon: "\u{1F5BC}\uFE0F", source: "builtin" },
343
+ { id: "miro", name: "Miro", description: "Online whiteboard \u2014 boards, frames, sticky notes, and templates.", category: "design", risk: "low", icon: "\u{1F7E1}", source: "builtin" },
344
+ { id: "adobe-photoshop", name: "Adobe Photoshop", description: "Image editing, compositing, and batch processing.", category: "design", risk: "low", icon: "\u{1F3A8}", source: "builtin" },
345
+ { id: "adobe-illustrator", name: "Adobe Illustrator", description: "Vector graphics, logos, icons, and illustrations.", category: "design", risk: "low", icon: "\u2712\uFE0F", source: "builtin" },
346
+ { id: "adobe-premiere", name: "Adobe Premiere Pro", description: "Video editing, color grading, audio mixing, and export.", category: "media", risk: "low", icon: "\u{1F3AC}", source: "builtin" },
347
+ { id: "adobe-after-effects", name: "Adobe After Effects", description: "Motion graphics, visual effects, and compositing.", category: "media", risk: "low", icon: "\u2728", source: "builtin" },
348
+ { id: "adobe-indesign", name: "Adobe InDesign", description: "Page layout, publishing, and document design.", category: "design", risk: "low", icon: "\u{1F4C4}", source: "builtin" },
349
+ { id: "adobe-xd", name: "Adobe XD", description: "UI/UX design, prototyping, and design systems.", category: "design", risk: "low", icon: "\u{1F3AF}", source: "builtin" },
350
+ // ─── Marketing ──────────────────────────────────────────
351
+ { id: "mailchimp", name: "Mailchimp", description: "Email campaigns, audiences, automations, templates, and analytics.", category: "marketing", risk: "medium", icon: "\u{1F435}", source: "builtin" },
352
+ { id: "sendgrid", name: "SendGrid", description: "Transactional and marketing email \u2014 templates, stats, and deliverability.", category: "marketing", risk: "medium", icon: "\u{1F4E7}", source: "builtin" },
353
+ { id: "google-ads", name: "Google Ads", description: "Search, display, video, and shopping campaigns. Bidding and reporting.", category: "marketing", risk: "high", icon: "\u{1F4E2}", source: "builtin" },
354
+ { id: "meta-ads", name: "Meta Ads", description: "Facebook and Instagram advertising \u2014 campaigns, audiences, and creatives.", category: "marketing", risk: "high", icon: "\u{1F4F1}", source: "builtin" },
355
+ { id: "linkedin-marketing", name: "LinkedIn Marketing", description: "Sponsored content, InMail campaigns, and lead gen forms.", category: "marketing", risk: "high", icon: "\u{1F517}", source: "builtin" },
356
+ { id: "activecampaign", name: "ActiveCampaign", description: "Email automation, CRM, site messaging, and machine learning.", category: "marketing", risk: "medium", icon: "\u{1F4EC}", source: "builtin" },
357
+ { id: "buffer", name: "Buffer", description: "Social media scheduling, analytics, and team collaboration.", category: "social", risk: "medium", icon: "\u{1F4CB}", source: "builtin" },
358
+ { id: "hootsuite", name: "Hootsuite", description: "Social media management \u2014 scheduling, monitoring, and reporting.", category: "social", risk: "medium", icon: "\u{1F989}", source: "builtin" },
359
+ // ─── E-Commerce ─────────────────────────────────────────
360
+ { id: "shopify", name: "Shopify", description: "Online store \u2014 products, orders, customers, inventory, and shipping.", category: "ecommerce", risk: "medium", icon: "\u{1F6CD}\uFE0F", source: "builtin" },
361
+ { id: "woocommerce", name: "WooCommerce", description: "WordPress ecommerce \u2014 products, orders, coupons, and shipping.", category: "ecommerce", risk: "medium", icon: "\u{1F6D2}", source: "builtin" },
362
+ { id: "bigcommerce", name: "BigCommerce", description: "Enterprise ecommerce \u2014 catalog, orders, customers, and channels.", category: "ecommerce", risk: "medium", icon: "\u{1F3EC}", source: "builtin" },
363
+ { id: "magento", name: "Magento", description: "Adobe Commerce \u2014 products, categories, orders, and customer segments.", category: "ecommerce", risk: "medium", icon: "\u{1F9F2}", source: "builtin" },
364
+ // ─── HR & People ────────────────────────────────────────
365
+ { id: "bamboohr", name: "BambooHR", description: "Employee records, time-off, onboarding, performance, and reporting.", category: "hr", risk: "high", icon: "\u{1F38B}", source: "builtin" },
366
+ { id: "workday", name: "Workday", description: "HCM, payroll, time tracking, benefits, and talent management.", category: "hr", risk: "high", icon: "\u{1F3E2}", source: "builtin" },
367
+ { id: "gusto", name: "Gusto", description: "Payroll, benefits, HR, and compliance for small businesses.", category: "hr", risk: "high", icon: "\u{1F49A}", source: "builtin" },
368
+ { id: "rippling", name: "Rippling", description: "Unified HR, IT, and Finance \u2014 payroll, devices, apps, and benefits.", category: "hr", risk: "high", icon: "\u{1F30A}", source: "builtin" },
369
+ { id: "lever", name: "Lever", description: "Recruiting \u2014 job postings, candidates, interviews, and offer letters.", category: "hr", risk: "medium", icon: "\u{1F527}", source: "builtin" },
370
+ { id: "greenhouse", name: "Greenhouse", description: "Talent acquisition \u2014 requisitions, scorecards, scheduling, and reports.", category: "hr", risk: "medium", icon: "\u{1F331}", source: "builtin" },
371
+ // ─── Legal & Compliance ─────────────────────────────────
372
+ { id: "docusign", name: "DocuSign", description: "Electronic signatures, envelopes, templates, and agreement workflows.", category: "legal", risk: "high", icon: "\u270D\uFE0F", source: "builtin" },
373
+ { id: "pandadoc", name: "PandaDoc", description: "Document automation \u2014 proposals, quotes, contracts, and e-signatures.", category: "legal", risk: "medium", icon: "\u{1F43C}", source: "builtin" },
374
+ { id: "clio", name: "Clio", description: "Legal practice management \u2014 matters, time entries, billing, and documents.", category: "legal", risk: "high", icon: "\u2696\uFE0F", source: "builtin" },
375
+ // ─── Storage & File Sharing ─────────────────────────────
376
+ { id: "dropbox", name: "Dropbox", description: "Cloud storage, file sharing, Paper docs, and team spaces.", category: "storage", risk: "medium", icon: "\u{1F4E6}", source: "builtin" },
377
+ { id: "box", name: "Box", description: "Enterprise content management \u2014 files, folders, metadata, and workflows.", category: "storage", risk: "medium", icon: "\u{1F4C1}", source: "builtin" },
378
+ // ─── Database ───────────────────────────────────────────
379
+ { id: "mongodb-atlas", name: "MongoDB Atlas", description: "Cloud MongoDB \u2014 clusters, collections, indexes, and aggregations.", category: "database", risk: "high", icon: "\u{1F343}", source: "builtin" },
380
+ { id: "redis-cloud", name: "Redis Cloud", description: "Managed Redis \u2014 databases, keys, streams, and pub/sub.", category: "database", risk: "medium", icon: "\u{1F534}", source: "builtin" },
381
+ { id: "elasticsearch", name: "Elasticsearch", description: "Search and analytics \u2014 indexes, queries, aggregations, and mappings.", category: "database", risk: "medium", icon: "\u{1F50E}", source: "builtin" },
382
+ { id: "snowflake", name: "Snowflake", description: "Cloud data warehouse \u2014 SQL queries, warehouses, stages, and shares.", category: "database", risk: "high", icon: "\u2744\uFE0F", source: "builtin" },
383
+ { id: "supabase", name: "Supabase", description: "Open-source Firebase \u2014 Postgres, auth, storage, realtime, and edge functions.", category: "database", risk: "medium", icon: "\u26A1", source: "builtin" },
384
+ { id: "planetscale", name: "PlanetScale", description: "Serverless MySQL \u2014 branches, deploy requests, and schema management.", category: "database", risk: "medium", icon: "\u{1F310}", source: "builtin" },
385
+ // ─── Monitoring & Observability ─────────────────────────
386
+ { id: "datadog", name: "Datadog", description: "APM, logs, metrics, dashboards, monitors, and synthetics.", category: "monitoring", risk: "medium", icon: "\u{1F436}", source: "builtin" },
387
+ { id: "pagerduty", name: "PagerDuty", description: "Incident management \u2014 alerts, escalations, schedules, and on-call.", category: "monitoring", risk: "medium", icon: "\u{1F6A8}", source: "builtin" },
388
+ { id: "sentry", name: "Sentry", description: "Error tracking \u2014 issues, releases, performance, and session replay.", category: "monitoring", risk: "low", icon: "\u{1FAB2}", source: "builtin" },
389
+ { id: "newrelic", name: "New Relic", description: "Full-stack observability \u2014 APM, infrastructure, logs, and dashboards.", category: "monitoring", risk: "medium", icon: "\u{1F52D}", source: "builtin" },
390
+ { id: "grafana", name: "Grafana", description: "Dashboards, alerting, and data source visualization.", category: "monitoring", risk: "low", icon: "\u{1F4CA}", source: "builtin" },
391
+ { id: "statuspage", name: "Statuspage", description: "Public and private status pages, incidents, and maintenance windows.", category: "monitoring", risk: "medium", icon: "\u{1F7E2}", source: "builtin" },
392
+ { id: "opsgenie", name: "Opsgenie", description: "Alert management, on-call schedules, escalations, and incident response.", category: "monitoring", risk: "medium", icon: "\u{1F514}", source: "builtin" },
393
+ // ─── Security & Identity ────────────────────────────────
394
+ { id: "okta", name: "Okta", description: "Identity management \u2014 SSO, MFA, user lifecycle, and API access management.", category: "security", risk: "critical", icon: "\u{1F510}", source: "builtin" },
395
+ { id: "auth0", name: "Auth0", description: "Authentication \u2014 login flows, social connections, roles, and organizations.", category: "security", risk: "high", icon: "\u{1F513}", source: "builtin" },
396
+ { id: "vault-hashicorp", name: "HashiCorp Vault", description: "Secrets management \u2014 KV store, dynamic credentials, encryption, and PKI.", category: "security", risk: "critical", icon: "\u{1F5DD}\uFE0F", source: "builtin" },
397
+ { id: "crowdstrike", name: "CrowdStrike", description: "Endpoint security \u2014 detections, incidents, IoCs, and threat intelligence.", category: "security", risk: "high", icon: "\u{1F985}", source: "builtin" },
398
+ { id: "snyk", name: "Snyk", description: "Developer security \u2014 vulnerability scanning, license compliance, and SBOM.", category: "security", risk: "medium", icon: "\u{1F50D}", source: "builtin" },
399
+ // ─── Social Media (expanded) ────────────────────────────
400
+ { id: "linkedin", name: "LinkedIn", description: "Professional networking \u2014 posts, connections, company pages, and messaging.", category: "social", risk: "high", icon: "\u{1F517}", source: "builtin" },
401
+ { id: "instagram", name: "Instagram", description: "Photo/video sharing \u2014 posts, stories, reels, and insights.", category: "social", risk: "high", icon: "\u{1F4F8}", source: "builtin" },
402
+ { id: "facebook", name: "Facebook Pages", description: "Page management \u2014 posts, comments, insights, and messenger.", category: "social", risk: "high", icon: "\u{1F4D8}", source: "builtin" },
403
+ { id: "youtube", name: "YouTube", description: "Video platform \u2014 uploads, playlists, analytics, comments, and live streams.", category: "social", risk: "high", icon: "\u25B6\uFE0F", source: "builtin" },
404
+ { id: "tiktok", name: "TikTok Business", description: "Short-form video \u2014 uploads, analytics, and business tools.", category: "social", risk: "high", icon: "\u{1F3B5}", source: "builtin" },
405
+ { id: "reddit", name: "Reddit", description: "Posts, comments, subreddits, and moderation.", category: "social", risk: "medium", icon: "\u{1F534}", source: "builtin" },
406
+ // ─── Communication (expanded) ───────────────────────────
407
+ { id: "twilio", name: "Twilio", description: "Programmable voice, SMS, video, and messaging APIs.", category: "communication", risk: "high", icon: "\u{1F4DE}", source: "builtin" },
408
+ { id: "vonage", name: "Vonage", description: "Communication APIs \u2014 SMS, voice, video, and verification.", category: "communication", risk: "high", icon: "\u{1F4F1}", source: "builtin" },
409
+ { id: "ringcentral", name: "RingCentral", description: "Cloud phone system \u2014 calls, messages, video, and fax.", category: "communication", risk: "medium", icon: "\u{1F4DE}", source: "builtin" },
410
+ // ─── Automation (expanded) ──────────────────────────────
411
+ { id: "zapier", name: "Zapier", description: "No-code automation \u2014 zaps, triggers, actions, and multi-step workflows.", category: "automation", risk: "medium", icon: "\u26A1", source: "builtin" },
412
+ { id: "make", name: "Make (Integromat)", description: "Visual automation \u2014 scenarios, modules, and data routing.", category: "automation", risk: "medium", icon: "\u{1F500}", source: "builtin" },
413
+ { id: "n8n", name: "n8n", description: "Open-source workflow automation \u2014 nodes, triggers, and custom functions.", category: "automation", risk: "medium", icon: "\u{1F504}", source: "builtin" },
414
+ // ─── Infrastructure ─────────────────────────────────────
415
+ { id: "cloudflare", name: "Cloudflare", description: "CDN, DNS, Workers, Pages, security, and zero trust.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F536}", source: "builtin" },
416
+ { id: "digitalocean", name: "DigitalOcean", description: "Cloud infrastructure \u2014 droplets, databases, spaces, and app platform.", category: "cloud-infrastructure", risk: "high", icon: "\u{1F30A}", source: "builtin" },
417
+ { id: "heroku", name: "Heroku", description: "Cloud platform \u2014 apps, dynos, add-ons, and pipelines.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1F7E3}", source: "builtin" },
418
+ { id: "fly-io", name: "Fly.io", description: "Edge deployment \u2014 machines, volumes, secrets, and global routing.", category: "cloud-infrastructure", risk: "medium", icon: "\u{1FA81}", source: "builtin" },
419
+ // ─── Enterprise Utility Skills (from individual skill files) ─
420
+ ...ENTERPRISE_SKILL_DEFS
421
+ ];
422
+ var PermissionEngine = class {
423
+ skills = /* @__PURE__ */ new Map();
424
+ profiles = /* @__PURE__ */ new Map();
425
+ engineDb;
426
+ constructor(skills) {
427
+ if (skills) {
428
+ for (const s of skills) this.skills.set(s.id, s);
429
+ }
430
+ }
431
+ /**
432
+ * Set the database adapter and load existing profiles from DB
433
+ */
434
+ async setDb(db) {
435
+ this.engineDb = db;
436
+ }
437
+ registerSkill(skill) {
438
+ this.skills.set(skill.id, skill);
439
+ }
440
+ setProfile(agentId, profile, orgId) {
441
+ this.profiles.set(agentId, profile);
442
+ if (this.engineDb && orgId) {
443
+ this.engineDb.upsertPermissionProfile(orgId, profile).catch((err) => {
444
+ console.error(`[permissions] Failed to persist profile for agent ${agentId}:`, err);
445
+ });
446
+ }
447
+ }
448
+ getProfile(agentId) {
449
+ return this.profiles.get(agentId);
450
+ }
451
+ /**
452
+ * Core permission check: Can this agent use this tool right now?
453
+ * Returns { allowed, reason, requiresApproval }
454
+ */
455
+ checkPermission(agentId, toolId, context) {
456
+ const profile = this.profiles.get(agentId);
457
+ if (!profile) {
458
+ return { allowed: false, reason: "No permission profile assigned", requiresApproval: false };
459
+ }
460
+ if (profile.constraints.sandboxMode) {
461
+ return { allowed: true, reason: "Sandbox mode \u2014 action will be simulated", requiresApproval: false, sandbox: true };
462
+ }
463
+ if (profile.constraints.allowedWorkingHours) {
464
+ const now = context?.timestamp || /* @__PURE__ */ new Date();
465
+ const { start, end, timezone } = profile.constraints.allowedWorkingHours;
466
+ const hour = parseInt(new Intl.DateTimeFormat("en-US", { hour: "numeric", hour12: false, timeZone: timezone }).format(now));
467
+ const startHour = parseInt(start.split(":")[0]);
468
+ const endHour = parseInt(end.split(":")[0]);
469
+ if (hour < startHour || hour >= endHour) {
470
+ return { allowed: false, reason: `Outside working hours (${start}-${end} ${timezone})`, requiresApproval: false };
471
+ }
472
+ }
473
+ if (profile.constraints.allowedIPs?.length && context?.ip) {
474
+ if (!profile.constraints.allowedIPs.includes(context.ip)) {
475
+ return { allowed: false, reason: `IP ${context.ip} not in allowlist`, requiresApproval: false };
476
+ }
477
+ }
478
+ if (profile.tools.blocked.includes(toolId)) {
479
+ return { allowed: false, reason: `Tool "${toolId}" is explicitly blocked`, requiresApproval: false };
480
+ }
481
+ if (profile.tools.allowed.includes(toolId)) {
482
+ return this._checkApproval(profile, toolId);
483
+ }
484
+ const tool = this._findTool(toolId);
485
+ if (!tool) {
486
+ return { allowed: false, reason: `Unknown tool "${toolId}"`, requiresApproval: false };
487
+ }
488
+ const skillAllowed = profile.skills.mode === "allowlist" ? profile.skills.list.includes(tool.skillId) : !profile.skills.list.includes(tool.skillId);
489
+ if (!skillAllowed) {
490
+ return { allowed: false, reason: `Skill "${tool.skillId}" is not permitted`, requiresApproval: false };
491
+ }
492
+ const riskOrder = ["low", "medium", "high", "critical"];
493
+ const toolRiskIdx = riskOrder.indexOf(tool.risk);
494
+ const maxRiskIdx = riskOrder.indexOf(profile.maxRiskLevel);
495
+ if (toolRiskIdx > maxRiskIdx) {
496
+ return { allowed: false, reason: `Tool risk "${tool.risk}" exceeds max allowed "${profile.maxRiskLevel}"`, requiresApproval: false };
497
+ }
498
+ for (const effect of tool.sideEffects) {
499
+ if (profile.blockedSideEffects.includes(effect)) {
500
+ return { allowed: false, reason: `Side effect "${effect}" is blocked`, requiresApproval: false };
501
+ }
502
+ }
503
+ return this._checkApproval(profile, toolId, tool);
504
+ }
505
+ _checkApproval(profile, toolId, tool) {
506
+ if (!profile.requireApproval.enabled) {
507
+ return { allowed: true, reason: "Permitted", requiresApproval: false };
508
+ }
509
+ if (tool) {
510
+ if (profile.requireApproval.forRiskLevels.includes(tool.risk)) {
511
+ return { allowed: true, reason: "Requires human approval (risk level)", requiresApproval: true };
512
+ }
513
+ for (const effect of tool.sideEffects) {
514
+ if (profile.requireApproval.forSideEffects.includes(effect)) {
515
+ return { allowed: true, reason: `Requires human approval (${effect})`, requiresApproval: true };
516
+ }
517
+ }
518
+ }
519
+ return { allowed: true, reason: "Permitted", requiresApproval: false };
520
+ }
521
+ _findTool(toolId) {
522
+ for (const skill of this.skills.values()) {
523
+ const tool = skill.tools.find((t) => t.id === toolId);
524
+ if (tool) return tool;
525
+ }
526
+ try {
527
+ const { TOOL_INDEX } = (init_tool_catalog(), __toCommonJS(tool_catalog_exports));
528
+ return TOOL_INDEX.get(toolId);
529
+ } catch {
530
+ return void 0;
531
+ }
532
+ }
533
+ /**
534
+ * Get the full resolved tool list for an agent — what they can actually use
535
+ */
536
+ getAvailableTools(agentId) {
537
+ const result = [];
538
+ for (const skill of this.skills.values()) {
539
+ for (const tool of skill.tools) {
540
+ const perm = this.checkPermission(agentId, tool.id);
541
+ if (perm.allowed) {
542
+ result.push({
543
+ tool,
544
+ status: perm.sandbox ? "sandbox" : perm.requiresApproval ? "approval-required" : "allowed"
545
+ });
546
+ }
547
+ }
548
+ }
549
+ return result;
550
+ }
551
+ /**
552
+ * Generate the tool policy config for an agent based on their profile
553
+ */
554
+ generateToolPolicy(agentId) {
555
+ const profile = this.profiles.get(agentId);
556
+ if (!profile) return { allowedTools: [], blockedTools: [], approvalRequired: [], rateLimits: { toolCallsPerMinute: 10, toolCallsPerHour: 100, toolCallsPerDay: 1e3, externalActionsPerHour: 10 } };
557
+ const allowed = [];
558
+ const blocked = [];
559
+ const approval = [];
560
+ for (const skill of this.skills.values()) {
561
+ for (const tool of skill.tools) {
562
+ const perm = this.checkPermission(agentId, tool.id);
563
+ if (perm.allowed) {
564
+ allowed.push(tool.id);
565
+ if (perm.requiresApproval) approval.push(tool.id);
566
+ } else {
567
+ blocked.push(tool.id);
568
+ }
569
+ }
570
+ }
571
+ return { allowedTools: allowed, blockedTools: blocked, approvalRequired: approval, rateLimits: profile.rateLimits };
572
+ }
573
+ getAllSkills() {
574
+ return Array.from(this.skills.values());
575
+ }
576
+ getSkillsByCategory() {
577
+ const result = {};
578
+ for (const skill of this.skills.values()) {
579
+ if (!result[skill.category]) result[skill.category] = [];
580
+ result[skill.category].push(skill);
581
+ }
582
+ return result;
583
+ }
584
+ };
585
+
586
+ export {
587
+ SKILL_SUITES,
588
+ PRESET_PROFILES,
589
+ BUILTIN_SKILLS,
590
+ PermissionEngine
591
+ };