@agenticmail/enterprise 0.5.86 → 0.5.87

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-3KIT2V6U.js").then((m) => m.runSetupWizard()).catch(fatal);
51
+ import("./setup-R2EI7Y2P.js").then((m) => m.runSetupWizard()).catch(fatal);
52
52
  break;
53
53
  }
54
54
  function fatal(err) {
@@ -4037,34 +4037,46 @@ function MeetingCapabilitiesSection(props) {
4037
4037
 
4038
4038
  var isContainer = sysCaps && sysCaps.raw && (sysCaps.raw.deployment === 'container');
4039
4039
  var canJoinMeetings = sysCaps && sysCaps.raw && sysCaps.raw.canJoinMeetings;
4040
+ var isObserverOnly = sysCaps && sysCaps.raw && sysCaps.raw.isContainerWithFakeMedia;
4041
+ var canJoinFullMedia = sysCaps && sysCaps.raw && sysCaps.raw.canJoinMeetingsFullMedia;
4040
4042
 
4041
4043
  return h('div', { style: sectionStyle },
4042
4044
  sectionTitle('\uD83C\uDFA5', 'Meetings & Video Calls'),
4043
4045
 
4044
- // Deployment capability warning
4045
- sysCaps && !canJoinMeetings && h('div', { style: {
4046
- background: 'rgba(255,152,0,0.08)', border: '1px solid rgba(255,152,0,0.3)',
4046
+ // Deployment capability warning — show for no-meeting OR observer-only
4047
+ sysCaps && (!canJoinMeetings || isObserverOnly) && h('div', { style: {
4048
+ background: isObserverOnly ? 'rgba(33,150,243,0.08)' : 'rgba(255,152,0,0.08)',
4049
+ border: '1px solid ' + (isObserverOnly ? 'rgba(33,150,243,0.3)' : 'rgba(255,152,0,0.3)'),
4047
4050
  borderRadius: 8, padding: '12px 16px', marginBottom: 16,
4048
4051
  } },
4049
4052
  h('div', { style: { display: 'flex', alignItems: 'flex-start', gap: 10 } },
4050
- h('span', { style: { fontSize: 18 } }, '\u26A0\uFE0F'),
4053
+ h('span', { style: { fontSize: 18 } }, isObserverOnly ? '\uD83D\uDC41\uFE0F' : '\u26A0\uFE0F'),
4051
4054
  h('div', null,
4052
4055
  h('div', { style: { fontWeight: 600, fontSize: 13, marginBottom: 4 } },
4053
- 'Limited on this deployment' + (isContainer ? ' (container)' : '')
4056
+ isObserverOnly
4057
+ ? 'Observer Mode — Container Deployment'
4058
+ : 'Limited on this deployment' + (isContainer ? ' (container)' : '')
4054
4059
  ),
4055
4060
  h('div', { style: { fontSize: 12, color: 'var(--text-muted)', lineHeight: 1.5 } },
4056
- 'Video meeting joining requires a display server, audio subsystem, and browser — which are not available on container deployments (Fly.io, Railway, etc.).'
4061
+ isObserverOnly
4062
+ ? 'This container has Chromium + virtual display, but uses fake media devices. The agent can join meetings as an observer — it can see the screen, read chat, and take notes, but cannot send or receive real audio/video.'
4063
+ : 'Video meeting joining requires a display server, audio subsystem, and browser — which are not available on container deployments (Fly.io, Railway, etc.).'
4057
4064
  ),
4058
- h('div', { style: { fontSize: 12, marginTop: 8, lineHeight: 1.5 } },
4065
+ isObserverOnly && h('div', { style: { fontSize: 12, marginTop: 8, lineHeight: 1.5 } },
4066
+ h('strong', null, 'Works in observer mode: '),
4067
+ 'Join meetings, read chat, see shared screens, take screenshots, capture meeting notes.'
4068
+ ),
4069
+ isObserverOnly && h('div', { style: { fontSize: 12, marginTop: 4, lineHeight: 1.5 } },
4070
+ h('strong', null, 'Does NOT work: '),
4071
+ 'Speaking, sending audio, showing video/camera, screen sharing.'
4072
+ ),
4073
+ !isObserverOnly && h('div', { style: { fontSize: 12, marginTop: 8, lineHeight: 1.5 } },
4059
4074
  h('strong', null, 'What works here: '), 'Calendar management, meeting prep, Drive organization, notes, email scanning for invites, RSVP.'
4060
4075
  ),
4061
- h('div', { style: { fontSize: 12, marginTop: 4, lineHeight: 1.5 } },
4062
- h('strong', null, 'For meeting joining: '), 'Deploy on a VM (Hetzner, DigitalOcean, GCP) with our ',
4076
+ h('div', { style: { fontSize: 12, marginTop: 8, lineHeight: 1.5 } },
4077
+ h('strong', null, 'For full media (audio + video): '), 'Deploy on a VM (Hetzner, DigitalOcean, GCP) with our ',
4063
4078
  h('code', { style: { fontSize: 11, background: 'var(--bg-secondary)', padding: '1px 4px', borderRadius: 3 } }, 'vm-setup.sh'),
4064
- ' script, or use a Remote Browser (CDP) provider below.'
4065
- ),
4066
- sysCaps.unavailable && sysCaps.unavailable.length > 0 && h('div', { style: { fontSize: 11, color: 'var(--text-muted)', marginTop: 8 } },
4067
- 'Missing: ' + sysCaps.unavailable.join(' \u2022 ')
4079
+ ' script, or use a Remote Browser (CDP) provider.'
4068
4080
  )
4069
4081
  )
4070
4082
  )
@@ -4112,7 +4124,8 @@ function MeetingCapabilitiesSection(props) {
4112
4124
  browserStatus?.ok
4113
4125
  ? h('div', null,
4114
4126
  h('div', { style: { fontSize: 12, color: 'var(--text-muted)' } }, browserStatus.browserVersion || 'Chromium ready'),
4115
- isContainer && !canJoinMeetings && h('div', { style: { fontSize: 11, color: 'var(--warning)', marginTop: 4 } },
4127
+ isObserverOnly && h('span', { className: 'badge', style: { fontSize: 10, padding: '1px 6px', marginLeft: 8, background: 'rgba(33,150,243,0.15)', color: 'var(--accent)' } }, 'Observer Only'),
4128
+ isContainer && !canJoinMeetings && !isObserverOnly && h('div', { style: { fontSize: 11, color: 'var(--warning)', marginTop: 4 } },
4116
4129
  '\u26A0 Browser is headless-only on this container. It cannot join video calls (no display/audio).'
4117
4130
  )
4118
4131
  )
@@ -0,0 +1,11 @@
1
+ import {
2
+ detectCapabilities,
3
+ getCapabilitySummary,
4
+ resetCapabilitiesCache
5
+ } from "./chunk-NRF3YRF7.js";
6
+ import "./chunk-KFQGP6VL.js";
7
+ export {
8
+ detectCapabilities,
9
+ getCapabilitySummary,
10
+ resetCapabilitiesCache
11
+ };
package/dist/index.js CHANGED
@@ -35,8 +35,8 @@ import {
35
35
  executeTool,
36
36
  runAgentLoop,
37
37
  toolsToDefinitions
38
- } from "./chunk-FN73A3AQ.js";
39
- import "./chunk-TGOSFAYW.js";
38
+ } from "./chunk-F23OR2UN.js";
39
+ import "./chunk-NRF3YRF7.js";
40
40
  import "./chunk-TYW5XTOW.js";
41
41
  import "./chunk-AQH4DFYV.js";
42
42
  import {
@@ -52,11 +52,11 @@ import {
52
52
  requireRole,
53
53
  securityHeaders,
54
54
  validate
55
- } from "./chunk-QJIY4RQJ.js";
55
+ } from "./chunk-WY7EUYDG.js";
56
56
  import {
57
57
  provision,
58
58
  runSetupWizard
59
- } from "./chunk-U72GUDSD.js";
59
+ } from "./chunk-6YHJFTJV.js";
60
60
  import {
61
61
  ENGINE_TABLES,
62
62
  ENGINE_TABLES_POSTGRES,