@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/cli.js CHANGED
@@ -48,7 +48,7 @@ Skill Development:
48
48
  break;
49
49
  case "setup":
50
50
  default:
51
- import("./setup-LNSX2NVU.js").then((m) => m.runSetupWizard()).catch(fatal);
51
+ import("./setup-S3D5IQ7W.js").then((m) => m.runSetupWizard()).catch(fatal);
52
52
  break;
53
53
  }
54
54
  function fatal(err) {
@@ -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, 'SMTP Configuration')),
228
+ h('div', { className: 'card-header' }, h('h3', null, 'Email Configuration')),
229
229
  h('div', { className: 'card-body' },
230
- h('p', { style: { color: 'var(--text-secondary)', fontSize: 13, marginBottom: 16 } }, 'Configure outbound email delivery. Leave blank to use the default AgenticMail relay.'),
231
- h('div', { style: { display: 'grid', gridTemplateColumns: '2fr 1fr', gap: 16 } },
232
- h('div', { className: 'form-group' },
233
- h('label', { className: 'form-label' }, 'SMTP Host'),
234
- h('input', { className: 'input', value: settings.smtpHost || '', onChange: e => setSettings(s => ({ ...s, smtpHost: e.target.value })), placeholder: 'smtp.gmail.com' })
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-UOFWBDLW.js";
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-T3XU62HZ.js";
53
+ } from "./chunk-CHX4QRYU.js";
54
54
  import {
55
55
  provision,
56
56
  runSetupWizard
57
- } from "./chunk-HTAJQYUO.js";
57
+ } from "./chunk-ORQTLTFF.js";
58
58
  import {
59
59
  ENGINE_TABLES,
60
60
  ENGINE_TABLES_POSTGRES,