@agenticmail/enterprise 0.5.242 → 0.5.243

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.
@@ -0,0 +1,45 @@
1
+ import {
2
+ AgentRuntime,
3
+ EmailChannel,
4
+ FollowUpScheduler,
5
+ SessionManager,
6
+ SubAgentManager,
7
+ ToolRegistry,
8
+ callLLM,
9
+ createAgentRuntime,
10
+ createNoopHooks,
11
+ createRuntimeHooks,
12
+ estimateMessageTokens,
13
+ estimateTokens,
14
+ executeTool,
15
+ runAgentLoop,
16
+ toolsToDefinitions
17
+ } from "./chunk-4VZAJQUR.js";
18
+ import {
19
+ PROVIDER_REGISTRY,
20
+ listAllProviders,
21
+ resolveApiKeyForProvider,
22
+ resolveProvider
23
+ } from "./chunk-UF3ZJMJO.js";
24
+ import "./chunk-KFQGP6VL.js";
25
+ export {
26
+ AgentRuntime,
27
+ EmailChannel,
28
+ FollowUpScheduler,
29
+ PROVIDER_REGISTRY,
30
+ SessionManager,
31
+ SubAgentManager,
32
+ ToolRegistry,
33
+ callLLM,
34
+ createAgentRuntime,
35
+ createNoopHooks,
36
+ createRuntimeHooks,
37
+ estimateMessageTokens,
38
+ estimateTokens,
39
+ executeTool,
40
+ listAllProviders,
41
+ resolveApiKeyForProvider,
42
+ resolveProvider,
43
+ runAgentLoop,
44
+ toolsToDefinitions
45
+ };
@@ -0,0 +1,15 @@
1
+ import {
2
+ createServer
3
+ } from "./chunk-EIORALQZ.js";
4
+ import "./chunk-OF4MUWWS.js";
5
+ import "./chunk-UF3ZJMJO.js";
6
+ import "./chunk-3OC6RH7W.js";
7
+ import "./chunk-2DDKGTD6.js";
8
+ import "./chunk-YVK6F5OD.js";
9
+ import "./chunk-MKRNEM5A.js";
10
+ import "./chunk-DRXMYYKN.js";
11
+ import "./chunk-6WSX7QXF.js";
12
+ import "./chunk-KFQGP6VL.js";
13
+ export {
14
+ createServer
15
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ promptCompanyInfo,
3
+ promptDatabase,
4
+ promptDeployment,
5
+ promptDomain,
6
+ promptRegistration,
7
+ provision,
8
+ runSetupWizard
9
+ } from "./chunk-TM3CIRVW.js";
10
+ import "./chunk-ULRBF2T7.js";
11
+ import "./chunk-KFQGP6VL.js";
12
+ export {
13
+ promptCompanyInfo,
14
+ promptDatabase,
15
+ promptDeployment,
16
+ promptDomain,
17
+ promptRegistration,
18
+ provision,
19
+ runSetupWizard
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.242",
3
+ "version": "0.5.243",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,21 +5,21 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Browser Provider Setup Guide — AgenticMail Enterprise</title>
7
7
  <style>
8
- /* ── Inherit from the main dashboard theme via CSS custom properties ── */
8
+ /* ── Match the enterprise dashboard theme exactly ── */
9
9
  :root {
10
- --bg-primary: #0f172a; --bg-secondary: #1e293b; --bg-tertiary: #334155;
11
- --text-primary: #e2e8f0; --text-secondary: #cbd5e1; --text-muted: #94a3b8;
12
- --accent: #3b82f6; --accent-soft: rgba(59,130,246,0.12);
13
- --border: #334155; --radius: 10px;
14
- --success: #15803d; --warning: #f59e0b; --danger: #ef4444;
15
- --info-soft: rgba(59,130,246,0.08);
10
+ --bg-primary: #0f1117; --bg-secondary: #161822; --bg-tertiary: #1c1f2e; --bg-card: #181b28;
11
+ --text-primary: #e8eaf0; --text-secondary: #9ca3b8; --text-muted: #6b7394;
12
+ --accent: #6366f1; --accent-soft: rgba(99,102,241,0.12);
13
+ --border: #2a2f45; --border-light: #353a52; --radius: 10px;
14
+ --success: #15803d; --warning: #eab308; --danger: #ef4444;
15
+ --info-soft: rgba(99,102,241,0.06);
16
16
  }
17
- /* Light theme (warm golden — matches dashboard) */
17
+ /* Light theme (warm golden parchment — matches dashboard) */
18
18
  [data-theme="light"] {
19
- --bg-primary: #d0c5a0; --bg-secondary: #ddd3b2; --bg-tertiary: #c8bc94;
19
+ --bg-primary: #d0c5a0; --bg-secondary: #ddd3b2; --bg-tertiary: #c8bc94; --bg-card: #e5dcc0;
20
20
  --text-primary: #2c2410; --text-secondary: #3d3520; --text-muted: #6b5e42;
21
21
  --accent: #2563eb; --accent-soft: rgba(37,99,235,0.1);
22
- --border: #b8ad8a; --info-soft: rgba(37,99,235,0.06);
22
+ --border: #b8ad8a; --border-light: #a89e7a; --info-soft: rgba(37,99,235,0.06);
23
23
  }
24
24
  * { box-sizing: border-box; margin: 0; padding: 0; }
25
25
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; padding: 32px; max-width: 900px; margin: 0 auto; }
@@ -30,7 +30,7 @@
30
30
  code { background: var(--bg-primary); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--accent); }
31
31
  pre { background: var(--bg-primary); border: 1px solid var(--border); padding: 16px; border-radius: var(--radius); overflow-x: auto; margin: 12px 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }
32
32
  pre code { background: none; border: none; padding: 0; }
33
- .card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
33
+ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
34
34
  .tip { background: var(--info-soft); border: 1px solid rgba(59,130,246,0.3); padding: 12px 16px; border-radius: var(--radius); margin: 12px 0; font-size: 13px; color: var(--text-secondary); }
35
35
  .warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.3); padding: 12px 16px; border-radius: var(--radius); margin: 12px 0; font-size: 13px; color: var(--text-secondary); }
36
36
  .danger { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3); padding: 12px 16px; border-radius: var(--radius); margin: 12px 0; font-size: 13px; color: var(--text-secondary); }
@@ -58,7 +58,10 @@ export function MeetingCapabilitiesSection(props) {
58
58
 
59
59
  function stopMeetingBrowser() {
60
60
  setStopping(true);
61
- engineCall('/bridge/agents/' + agentId + '/browser-config/stop-meeting-browser', { method: 'POST' })
61
+ var body = {};
62
+ if (browserStatus && browserStatus.port) body.port = browserStatus.port;
63
+ if (browserStatus && browserStatus.cdpUrl) body.cdpUrl = browserStatus.cdpUrl;
64
+ engineCall('/bridge/agents/' + agentId + '/browser-config/stop-meeting-browser', { method: 'POST', body: JSON.stringify(body) })
62
65
  .then(function(d) {
63
66
  if (d.error) { toast(d.error, 'error'); }
64
67
  else { toast('Meeting browser stopped', 'success'); setBrowserStatus(null); }
@@ -1430,8 +1430,9 @@ export function createAgentRoutes(opts: {
1430
1430
  if (!managed) return c.json({ error: 'Agent not found' }, 404);
1431
1431
 
1432
1432
  try {
1433
+ const body = await c.req.json().catch(() => ({})) as any;
1433
1434
  const tracked = meetingBrowsers.get(agentId);
1434
- const port = tracked?.port || (managed.config as any)?.meetingBrowserPort;
1435
+ const port = tracked?.port || (managed.config as any)?.meetingBrowserPort || body.port;
1435
1436
  if (!port) return c.json({ error: 'No meeting browser is tracked for this agent' }, 400);
1436
1437
 
1437
1438
  // Try to close gracefully via CDP