@agenticmail/enterprise 0.5.84 → 0.5.86
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/browser-tool-KJMHSNK3.js +3997 -0
- package/dist/chunk-AQH4DFYV.js +142 -0
- package/dist/chunk-CETB63LZ.js +15813 -0
- package/dist/chunk-FN73A3AQ.js +15813 -0
- package/dist/chunk-LOA5LNXR.js +898 -0
- package/dist/chunk-PHZS6OIO.js +2191 -0
- package/dist/chunk-QISZRTVR.js +2154 -0
- package/dist/chunk-QJIY4RQJ.js +2191 -0
- package/dist/chunk-TGOSFAYW.js +194 -0
- package/dist/chunk-U72GUDSD.js +898 -0
- package/dist/cli.js +1 -1
- package/dist/dashboard/pages/agent-detail.js +60 -4
- package/dist/environment-L6BN6KGK.js +11 -0
- package/dist/index.js +5 -3
- package/dist/pw-ai-IRORDXFW.js +2212 -0
- package/dist/routes-5BXENG5D.js +6871 -0
- package/dist/routes-VIK7WDVW.js +6859 -0
- package/dist/runtime-NEO2ZB6O.js +49 -0
- package/dist/runtime-XVQZ3DRZ.js +49 -0
- package/dist/server-5NCVUWGY.js +12 -0
- package/dist/server-ZIB4HUUC.js +12 -0
- package/dist/setup-3KIT2V6U.js +20 -0
- package/dist/setup-YD3LJ6DT.js +20 -0
- package/package.json +1 -1
- package/scripts/vm-setup.sh +309 -0
- package/src/agent-tools/index.ts +69 -2
- package/src/agent-tools/tools/meeting-lifecycle.ts +437 -0
- package/src/dashboard/pages/agent-detail.js +60 -4
- package/src/engine/agent-routes.ts +28 -0
- package/src/runtime/agent-loop.ts +1 -1
- package/src/runtime/environment.ts +290 -0
- package/src/runtime/index.ts +3 -3
package/dist/cli.js
CHANGED
|
@@ -4003,6 +4003,14 @@ function MeetingCapabilitiesSection(props) {
|
|
|
4003
4003
|
var _d = useApp(); var toast = _d.toast;
|
|
4004
4004
|
var _launching = useState(false); var launching = _launching[0]; var setLaunching = _launching[1];
|
|
4005
4005
|
var _browserStatus = useState(null); var browserStatus = _browserStatus[0]; var setBrowserStatus = _browserStatus[1];
|
|
4006
|
+
var _sysCaps = useState(null); var sysCaps = _sysCaps[0]; var setSysCaps = _sysCaps[1];
|
|
4007
|
+
|
|
4008
|
+
// Fetch system capabilities on mount
|
|
4009
|
+
useEffect(function() {
|
|
4010
|
+
engineCall('/bridge/system/capabilities')
|
|
4011
|
+
.then(function(d) { setSysCaps(d); })
|
|
4012
|
+
.catch(function() { setSysCaps(null); });
|
|
4013
|
+
}, []);
|
|
4006
4014
|
|
|
4007
4015
|
function checkMeetingBrowser() {
|
|
4008
4016
|
engineCall('/bridge/agents/' + agentId + '/browser-config/test', { method: 'POST' })
|
|
@@ -4027,9 +4035,41 @@ function MeetingCapabilitiesSection(props) {
|
|
|
4027
4035
|
|
|
4028
4036
|
var meetingsOn = cfg.meetingsEnabled === true;
|
|
4029
4037
|
|
|
4038
|
+
var isContainer = sysCaps && sysCaps.raw && (sysCaps.raw.deployment === 'container');
|
|
4039
|
+
var canJoinMeetings = sysCaps && sysCaps.raw && sysCaps.raw.canJoinMeetings;
|
|
4040
|
+
|
|
4030
4041
|
return h('div', { style: sectionStyle },
|
|
4031
4042
|
sectionTitle('\uD83C\uDFA5', 'Meetings & Video Calls'),
|
|
4032
4043
|
|
|
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)',
|
|
4047
|
+
borderRadius: 8, padding: '12px 16px', marginBottom: 16,
|
|
4048
|
+
} },
|
|
4049
|
+
h('div', { style: { display: 'flex', alignItems: 'flex-start', gap: 10 } },
|
|
4050
|
+
h('span', { style: { fontSize: 18 } }, '\u26A0\uFE0F'),
|
|
4051
|
+
h('div', null,
|
|
4052
|
+
h('div', { style: { fontWeight: 600, fontSize: 13, marginBottom: 4 } },
|
|
4053
|
+
'Limited on this deployment' + (isContainer ? ' (container)' : '')
|
|
4054
|
+
),
|
|
4055
|
+
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.).'
|
|
4057
|
+
),
|
|
4058
|
+
h('div', { style: { fontSize: 12, marginTop: 8, lineHeight: 1.5 } },
|
|
4059
|
+
h('strong', null, 'What works here: '), 'Calendar management, meeting prep, Drive organization, notes, email scanning for invites, RSVP.'
|
|
4060
|
+
),
|
|
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 ',
|
|
4063
|
+
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 ')
|
|
4068
|
+
)
|
|
4069
|
+
)
|
|
4070
|
+
)
|
|
4071
|
+
),
|
|
4072
|
+
|
|
4033
4073
|
// Main toggle
|
|
4034
4074
|
h('div', { style: { display: 'flex', alignItems: 'center', gap: 16, marginBottom: meetingsOn ? 16 : 0 } },
|
|
4035
4075
|
h('div', {
|
|
@@ -4070,11 +4110,27 @@ function MeetingCapabilitiesSection(props) {
|
|
|
4070
4110
|
browserStatus?.ok && h('span', { className: 'badge', style: { fontSize: 10, padding: '1px 6px', background: 'var(--success-soft)', color: 'var(--success)' } }, 'Running')
|
|
4071
4111
|
),
|
|
4072
4112
|
browserStatus?.ok
|
|
4073
|
-
? h('div',
|
|
4113
|
+
? h('div', null,
|
|
4114
|
+
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 } },
|
|
4116
|
+
'\u26A0 Browser is headless-only on this container. It cannot join video calls (no display/audio).'
|
|
4117
|
+
)
|
|
4118
|
+
)
|
|
4074
4119
|
: h('div', null,
|
|
4075
|
-
h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginBottom: 8 } },
|
|
4076
|
-
|
|
4077
|
-
|
|
4120
|
+
h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginBottom: 8 } },
|
|
4121
|
+
isContainer && !canJoinMeetings
|
|
4122
|
+
? 'Meeting browser cannot join video calls on container deployments. Use a VM or Remote Browser (CDP) instead.'
|
|
4123
|
+
: 'A dedicated browser instance will be launched for video calls with virtual display and audio.'
|
|
4124
|
+
),
|
|
4125
|
+
h('button', {
|
|
4126
|
+
className: 'btn btn-sm',
|
|
4127
|
+
disabled: launching || (isContainer && !canJoinMeetings),
|
|
4128
|
+
onClick: launchMeetingBrowser,
|
|
4129
|
+
title: isContainer && !canJoinMeetings ? 'Not available on container deployments' : '',
|
|
4130
|
+
},
|
|
4131
|
+
isContainer && !canJoinMeetings
|
|
4132
|
+
? '\u274C Not available on containers'
|
|
4133
|
+
: launching ? 'Launching...' : '\u25B6\uFE0F Launch Meeting Browser'
|
|
4078
4134
|
)
|
|
4079
4135
|
)
|
|
4080
4136
|
)
|
package/dist/index.js
CHANGED
|
@@ -35,8 +35,10 @@ import {
|
|
|
35
35
|
executeTool,
|
|
36
36
|
runAgentLoop,
|
|
37
37
|
toolsToDefinitions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FN73A3AQ.js";
|
|
39
|
+
import "./chunk-TGOSFAYW.js";
|
|
39
40
|
import "./chunk-TYW5XTOW.js";
|
|
41
|
+
import "./chunk-AQH4DFYV.js";
|
|
40
42
|
import {
|
|
41
43
|
ValidationError,
|
|
42
44
|
auditLogger,
|
|
@@ -50,11 +52,11 @@ import {
|
|
|
50
52
|
requireRole,
|
|
51
53
|
securityHeaders,
|
|
52
54
|
validate
|
|
53
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QJIY4RQJ.js";
|
|
54
56
|
import {
|
|
55
57
|
provision,
|
|
56
58
|
runSetupWizard
|
|
57
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-U72GUDSD.js";
|
|
58
60
|
import {
|
|
59
61
|
ENGINE_TABLES,
|
|
60
62
|
ENGINE_TABLES_POSTGRES,
|