@agenticmail/enterprise 0.5.65 → 0.5.67
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-2BIPHRH2.js +2125 -0
- package/dist/chunk-2STD5FFE.js +898 -0
- package/dist/chunk-CHX4QRYU.js +2125 -0
- package/dist/chunk-FYYEDVXN.js +13099 -0
- package/dist/chunk-ORQTLTFF.js +898 -0
- package/dist/cli.js +1 -1
- package/dist/dashboard/pages/settings.js +7 -27
- package/dist/index.js +3 -3
- package/dist/routes-QYIH2M52.js +6137 -0
- package/dist/runtime-2QY67633.js +47 -0
- package/dist/server-2IWGLRJM.js +12 -0
- package/dist/server-OVMWIVSH.js +12 -0
- package/dist/setup-57WW2QQB.js +20 -0
- package/dist/setup-S3D5IQ7W.js +20 -0
- package/package.json +1 -1
- package/src/auth/routes.ts +0 -2
- package/src/dashboard/pages/settings.js +7 -27
- package/src/engine/agent-routes.ts +8 -0
package/dist/cli.js
CHANGED
|
@@ -225,35 +225,15 @@ export function SettingsPage() {
|
|
|
225
225
|
)
|
|
226
226
|
),
|
|
227
227
|
h('div', { className: 'card' },
|
|
228
|
-
h('div', { className: 'card-header' }, h('h3', null, '
|
|
228
|
+
h('div', { className: 'card-header' }, h('h3', null, 'Email Configuration')),
|
|
229
229
|
h('div', { className: 'card-body' },
|
|
230
|
-
h('
|
|
231
|
-
|
|
232
|
-
h('div',
|
|
233
|
-
h('
|
|
234
|
-
h('
|
|
235
|
-
),
|
|
236
|
-
h('div', { className: 'form-group' },
|
|
237
|
-
h('label', { className: 'form-label' }, 'SMTP Port'),
|
|
238
|
-
h('input', { className: 'input', type: 'number', value: settings.smtpPort || '', onChange: e => setSettings(s => ({ ...s, smtpPort: e.target.value })), placeholder: '587' })
|
|
239
|
-
)
|
|
240
|
-
),
|
|
241
|
-
h('div', { style: { display: 'grid', gridTemplateColumns: '1fr 1fr', gap: 16 } },
|
|
242
|
-
h('div', { className: 'form-group' },
|
|
243
|
-
h('label', { className: 'form-label' }, 'SMTP Username'),
|
|
244
|
-
h('input', { className: 'input', value: settings.smtpUser || '', onChange: e => setSettings(s => ({ ...s, smtpUser: e.target.value })), placeholder: 'you@gmail.com' })
|
|
245
|
-
),
|
|
246
|
-
h('div', { className: 'form-group' },
|
|
247
|
-
h('label', { className: 'form-label' }, 'SMTP Password'),
|
|
248
|
-
h('input', { className: 'input', type: 'password', value: settings.smtpPass || '', onChange: e => setSettings(s => ({ ...s, smtpPass: e.target.value })), placeholder: 'App password' })
|
|
230
|
+
h('div', { style: { display: 'flex', alignItems: 'center', gap: 12, padding: 16, background: 'var(--bg-tertiary)', borderRadius: 'var(--radius)' } },
|
|
231
|
+
h('div', { style: { fontSize: 24 } }, '\u2709\uFE0F'),
|
|
232
|
+
h('div', null,
|
|
233
|
+
h('p', { style: { fontSize: 14, fontWeight: 600, marginBottom: 4 } }, 'Email is configured per agent'),
|
|
234
|
+
h('p', { style: { fontSize: 13, color: 'var(--text-muted)' } }, 'Each agent has its own email credentials (IMAP/SMTP, Microsoft 365 OAuth, or Google OAuth). Configure email from each agent\'s detail page under the Email tab.')
|
|
249
235
|
)
|
|
250
|
-
)
|
|
251
|
-
h('div', { className: 'form-group' },
|
|
252
|
-
h('label', { className: 'form-label' }, 'DKIM Private Key'),
|
|
253
|
-
h('textarea', { className: 'input', value: settings.dkimPrivateKey || '', onChange: e => setSettings(s => ({ ...s, dkimPrivateKey: e.target.value })), placeholder: '-----BEGIN RSA PRIVATE KEY-----', rows: 3, style: { fontFamily: 'var(--font-mono)', fontSize: 11 } }),
|
|
254
|
-
h('p', { className: 'form-help' }, 'Optional. Used for email authentication (DKIM signing).')
|
|
255
|
-
),
|
|
256
|
-
h('button', { className: 'btn btn-primary', onClick: () => apiCall('/settings', { method: 'PATCH', body: JSON.stringify({ smtpHost: settings.smtpHost || null, smtpPort: settings.smtpPort ? Number(settings.smtpPort) : null, smtpUser: settings.smtpUser || null, smtpPass: settings.smtpPass || null, dkimPrivateKey: settings.dkimPrivateKey || null }) }).then(d => { setSettings(d); toast('SMTP settings saved', 'success'); }).catch(e => toast(e.message, 'error')) }, 'Save SMTP Settings')
|
|
236
|
+
)
|
|
257
237
|
)
|
|
258
238
|
),
|
|
259
239
|
h('div', { className: 'card', style: { marginTop: 16 } },
|
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-FYYEDVXN.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-CHX4QRYU.js";
|
|
54
54
|
import {
|
|
55
55
|
provision,
|
|
56
56
|
runSetupWizard
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ORQTLTFF.js";
|
|
58
58
|
import {
|
|
59
59
|
ENGINE_TABLES,
|
|
60
60
|
ENGINE_TABLES_POSTGRES,
|