@agenticmail/enterprise 0.5.70 → 0.5.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-PB2APZMU.js +2128 -0
- package/dist/chunk-UGBWZJ5G.js +898 -0
- package/dist/chunk-WH2LORAG.js +13099 -0
- package/dist/cli.js +1 -1
- package/dist/dashboard/pages/agent-detail.js +17 -0
- package/dist/index.js +3 -3
- package/dist/routes-3RX4J56L.js +6242 -0
- package/dist/runtime-C3NOQSVF.js +47 -0
- package/dist/server-IE76NDGL.js +12 -0
- package/dist/setup-N7RALR7Z.js +20 -0
- package/package.json +1 -1
- package/src/dashboard/pages/agent-detail.js +17 -0
- package/src/engine/agent-routes.ts +1 -0
package/dist/cli.js
CHANGED
|
@@ -3875,6 +3875,23 @@ function EmailSection(props) {
|
|
|
3875
3875
|
|
|
3876
3876
|
useEffect(function() { loadConfig(); }, [agentId]);
|
|
3877
3877
|
|
|
3878
|
+
// Listen for OAuth popup completion
|
|
3879
|
+
useEffect(function() {
|
|
3880
|
+
function onMessage(e) {
|
|
3881
|
+
if (e.data && e.data.type === 'oauth-result') {
|
|
3882
|
+
if (e.data.status === 'success') {
|
|
3883
|
+
toast('Email connected successfully', 'success');
|
|
3884
|
+
} else {
|
|
3885
|
+
toast('OAuth failed: ' + (e.data.message || 'Unknown error'), 'error');
|
|
3886
|
+
}
|
|
3887
|
+
loadConfig();
|
|
3888
|
+
if (reload) reload();
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
window.addEventListener('message', onMessage);
|
|
3892
|
+
return function() { window.removeEventListener('message', onMessage); };
|
|
3893
|
+
}, []);
|
|
3894
|
+
|
|
3878
3895
|
// Preset changed → auto-fill hosts
|
|
3879
3896
|
var PRESETS = {
|
|
3880
3897
|
microsoft365: { label: 'Microsoft 365 / Outlook', imapHost: 'outlook.office365.com', imapPort: 993, smtpHost: 'smtp.office365.com', smtpPort: 587 },
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
executeTool,
|
|
36
36
|
runAgentLoop,
|
|
37
37
|
toolsToDefinitions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WH2LORAG.js";
|
|
39
39
|
import "./chunk-TYW5XTOW.js";
|
|
40
40
|
import {
|
|
41
41
|
ValidationError,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
requireRole,
|
|
51
51
|
securityHeaders,
|
|
52
52
|
validate
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-PB2APZMU.js";
|
|
54
54
|
import {
|
|
55
55
|
provision,
|
|
56
56
|
runSetupWizard
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UGBWZJ5G.js";
|
|
58
58
|
import {
|
|
59
59
|
ENGINE_TABLES,
|
|
60
60
|
ENGINE_TABLES_POSTGRES,
|