@agenticmail/enterprise 0.5.69 → 0.5.70

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-HKQDFATJ.js").then((m) => m.runSetupWizard()).catch(fatal);
51
+ import("./setup-CTHP4V2A.js").then((m) => m.runSetupWizard()).catch(fatal);
52
52
  break;
53
53
  }
54
54
  function fatal(err) {
@@ -3912,14 +3912,14 @@ function EmailSection(props) {
3912
3912
  oauthClientId: form.oauthClientId,
3913
3913
  oauthClientSecret: form.oauthClientSecret,
3914
3914
  oauthTenantId: form.oauthTenantId,
3915
- oauthRedirectUri: baseUrl + '/oauth/callback',
3915
+ oauthRedirectUri: baseUrl + '/api/engine/oauth/callback',
3916
3916
  });
3917
3917
  } else if (form.provider === 'google') {
3918
3918
  var gBaseUrl = window.location.origin;
3919
3919
  Object.assign(body, {
3920
3920
  oauthClientId: form.oauthClientId,
3921
3921
  oauthClientSecret: form.oauthClientSecret,
3922
- oauthRedirectUri: gBaseUrl + '/oauth/callback',
3922
+ oauthRedirectUri: gBaseUrl + '/api/engine/oauth/callback',
3923
3923
  });
3924
3924
  }
3925
3925
 
@@ -4098,7 +4098,7 @@ function EmailSection(props) {
4098
4098
  h('div', { style: { padding: '12px 16px', background: 'var(--info-soft)', borderRadius: 'var(--radius)', fontSize: 12, color: 'var(--info)', marginBottom: 16 } },
4099
4099
  h('strong', null, 'Setup Instructions:'), h('br'),
4100
4100
  '1. Go to ', h('a', { href: 'https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade', target: '_blank', style: { color: 'var(--accent)' } }, 'Azure Portal → App Registrations'), h('br'),
4101
- '2. Click "New Registration" → name it (e.g., "AgenticMail Agent") → set redirect URI to: ', h('code', { style: { background: 'var(--bg-tertiary)', padding: '1px 4px', borderRadius: 3 } }, window.location.origin + '/oauth/callback'), h('br'),
4101
+ '2. Click "New Registration" → name it (e.g., "AgenticMail Agent") → set redirect URI to: ', h('code', { style: { background: 'var(--bg-tertiary)', padding: '1px 4px', borderRadius: 3 } }, window.location.origin + '/api/engine/oauth/callback'), h('br'),
4102
4102
  '3. Under "Certificates & Secrets" → create a Client Secret', h('br'),
4103
4103
  '4. Under "API Permissions" → add Microsoft Graph: Mail.ReadWrite, Mail.Send, offline_access', h('br'),
4104
4104
  '5. Copy the Application (client) ID and Client Secret below'
@@ -4132,7 +4132,7 @@ function EmailSection(props) {
4132
4132
  h('div', { style: { padding: '12px 16px', background: 'var(--info-soft)', borderRadius: 'var(--radius)', fontSize: 12, color: 'var(--info)', marginBottom: 16 } },
4133
4133
  h('strong', null, 'Setup Instructions:'), h('br'),
4134
4134
  '1. Go to ', h('a', { href: 'https://console.cloud.google.com/apis/credentials', target: '_blank', style: { color: 'var(--accent)' } }, 'Google Cloud Console → Credentials'), h('br'),
4135
- '2. Create an OAuth 2.0 Client ID (Web application) → add redirect URI: ', h('code', { style: { background: 'var(--bg-tertiary)', padding: '1px 4px', borderRadius: 3 } }, window.location.origin + '/oauth/callback'), h('br'),
4135
+ '2. Create an OAuth 2.0 Client ID (Web application) → add redirect URI: ', h('code', { style: { background: 'var(--bg-tertiary)', padding: '1px 4px', borderRadius: 3 } }, window.location.origin + '/api/engine/oauth/callback'), h('br'),
4136
4136
  '3. Enable the Gmail API in your project', h('br'),
4137
4137
  '4. Copy the Client ID and Client Secret below'
4138
4138
  ),
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  executeTool,
36
36
  runAgentLoop,
37
37
  toolsToDefinitions
38
- } from "./chunk-E2QHM43W.js";
38
+ } from "./chunk-SWD4HRGX.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-REEOTFHO.js";
53
+ } from "./chunk-5KWBRCXT.js";
54
54
  import {
55
55
  provision,
56
56
  runSetupWizard
57
- } from "./chunk-5CJEN2T2.js";
57
+ } from "./chunk-77QJHMFG.js";
58
58
  import {
59
59
  ENGINE_TABLES,
60
60
  ENGINE_TABLES_POSTGRES,