@agenticmail/enterprise 0.5.91 → 0.5.92
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/chunk-EHRV5YHB.js +2191 -0
- package/dist/chunk-VCTFKFI6.js +898 -0
- package/dist/chunk-ZYEJ34BP.js +15813 -0
- package/dist/cli.js +1 -1
- package/dist/dashboard/pages/agent-detail.js +19 -4
- package/dist/index.js +3 -3
- package/dist/routes-WEJBG3N3.js +6938 -0
- package/dist/runtime-PV3THRB6.js +49 -0
- package/dist/server-G32TQ7AP.js +12 -0
- package/dist/setup-KJBLGSGM.js +20 -0
- package/package.json +1 -1
- package/src/dashboard/pages/agent-detail.js +19 -4
- package/src/engine/onboarding-routes.ts +9 -1
package/dist/cli.js
CHANGED
|
@@ -298,14 +298,29 @@ function OverviewSection(props) {
|
|
|
298
298
|
h('div', { style: { display: 'flex', alignItems: 'center', gap: 8, marginBottom: 12 } },
|
|
299
299
|
onboardingStatus?.onboarded
|
|
300
300
|
? h('span', { className: 'badge badge-success' }, I.check(), ' Onboarded')
|
|
301
|
-
:
|
|
301
|
+
: onboardingStatus?.status === 'in_progress'
|
|
302
|
+
? h('span', { className: 'badge badge-info' }, I.clock(), ' In Progress')
|
|
303
|
+
: h('span', { className: 'badge badge-warning' }, 'Not Onboarded')
|
|
302
304
|
),
|
|
303
|
-
onboardingStatus?.status && h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginBottom: 8 } },
|
|
304
|
-
|
|
305
|
+
onboardingStatus?.status === 'in_progress' && h('div', { style: { fontSize: 12, color: 'var(--text-muted)', marginBottom: 8 } },
|
|
306
|
+
'Policies: ' + (onboardingStatus.acknowledgedPolicies || 0) + '/' + (onboardingStatus.totalPolicies || 0) + ' acknowledged'
|
|
307
|
+
),
|
|
308
|
+
!onboardingStatus?.onboarded && onboardingStatus?.status !== 'in_progress' && h('button', {
|
|
305
309
|
className: 'btn btn-primary btn-sm',
|
|
306
310
|
disabled: acting === 'onboard',
|
|
307
311
|
onClick: initiateOnboarding
|
|
308
|
-
}, acting === 'onboard' ? 'Starting...' : 'Start Onboarding')
|
|
312
|
+
}, acting === 'onboard' ? 'Starting...' : 'Start Onboarding'),
|
|
313
|
+
onboardingStatus?.status === 'in_progress' && h('button', {
|
|
314
|
+
className: 'btn btn-ghost btn-sm', style: { marginTop: 4 },
|
|
315
|
+
disabled: acting === 'forceComplete',
|
|
316
|
+
onClick: function() {
|
|
317
|
+
setActing('forceComplete');
|
|
318
|
+
engineCall('/onboarding/force-complete/' + agentId, { method: 'POST', body: JSON.stringify({ adminId: 'admin' }) })
|
|
319
|
+
.then(function() { toast('Onboarding force-completed', 'success'); reload(); })
|
|
320
|
+
.catch(function(err) { toast(err.message, 'error'); })
|
|
321
|
+
.finally(function() { setActing(null); });
|
|
322
|
+
}
|
|
323
|
+
}, acting === 'forceComplete' ? 'Completing...' : 'Force Complete')
|
|
309
324
|
)
|
|
310
325
|
),
|
|
311
326
|
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
executeTool,
|
|
36
36
|
runAgentLoop,
|
|
37
37
|
toolsToDefinitions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZYEJ34BP.js";
|
|
39
39
|
import "./chunk-NRF3YRF7.js";
|
|
40
40
|
import "./chunk-TYW5XTOW.js";
|
|
41
41
|
import "./chunk-AQH4DFYV.js";
|
|
@@ -52,11 +52,11 @@ import {
|
|
|
52
52
|
requireRole,
|
|
53
53
|
securityHeaders,
|
|
54
54
|
validate
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-EHRV5YHB.js";
|
|
56
56
|
import {
|
|
57
57
|
provision,
|
|
58
58
|
runSetupWizard
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VCTFKFI6.js";
|
|
60
60
|
import {
|
|
61
61
|
ENGINE_TABLES,
|
|
62
62
|
ENGINE_TABLES_POSTGRES,
|