@agenticmail/enterprise 0.5.99 → 0.5.101
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-2VJ55T2N.js +2194 -0
- package/dist/chunk-CIQEP4QU.js +16106 -0
- package/dist/chunk-GAJWZ5JD.js +898 -0
- package/dist/chunk-KL4U6ZNK.js +2194 -0
- package/dist/chunk-NERC4SQV.js +16106 -0
- package/dist/chunk-Q5DKWAKT.js +898 -0
- package/dist/chunk-RPQRVVZI.js +9289 -0
- package/dist/chunk-ZTE2CLPZ.js +9304 -0
- package/dist/cli.js +1 -1
- package/dist/dashboard/pages/agent-detail.js +13 -0
- package/dist/index.js +4 -4
- package/dist/routes-57DSR7XQ.js +6938 -0
- package/dist/routes-PIXKXDFM.js +6954 -0
- package/dist/runtime-76G4DCS3.js +49 -0
- package/dist/runtime-XPEXCY6Y.js +49 -0
- package/dist/server-2TUDV7SX.js +12 -0
- package/dist/server-KF7WIPLV.js +12 -0
- package/dist/setup-7DIOEWPX.js +20 -0
- package/dist/setup-QELYIXLF.js +20 -0
- package/package.json +1 -1
- package/src/dashboard/pages/agent-detail.js +13 -0
- package/src/engine/agent-routes.ts +18 -0
- package/src/engine/deployer.ts +3 -1
- package/src/engine/lifecycle.ts +34 -11
- package/src/engine/routes.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -367,6 +367,19 @@ function OverviewSection(props) {
|
|
|
367
367
|
h('div', { className: 'card-header' }, h('span', null, 'Quick Actions')),
|
|
368
368
|
h('div', { className: 'card-body', style: { display: 'flex', flexWrap: 'wrap', gap: 10 } },
|
|
369
369
|
|
|
370
|
+
// Reset state (when in error/degraded)
|
|
371
|
+
(agentState === 'error' || agentState === 'degraded') && h('button', {
|
|
372
|
+
className: 'btn btn-secondary btn-sm',
|
|
373
|
+
disabled: !!acting,
|
|
374
|
+
onClick: function() {
|
|
375
|
+
setActing('reset');
|
|
376
|
+
engineCall('/agents/' + agentId + '/reset-state', { method: 'POST' })
|
|
377
|
+
.then(function() { toast('Agent state reset to ready', 'success'); reload(); })
|
|
378
|
+
.catch(function(err) { toast(err.message, 'error'); })
|
|
379
|
+
.finally(function() { setActing(''); });
|
|
380
|
+
}
|
|
381
|
+
}, I.refresh(), ' Reset State'),
|
|
382
|
+
|
|
370
383
|
// Deploy / Stop / Restart
|
|
371
384
|
(agentState !== 'running' && agentState !== 'active') && h('button', {
|
|
372
385
|
className: 'btn btn-primary btn-sm',
|
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
TenantManager,
|
|
21
21
|
WorkforceManager,
|
|
22
22
|
init_guardrails
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZTE2CLPZ.js";
|
|
24
24
|
import {
|
|
25
25
|
AgentRuntime,
|
|
26
26
|
EmailChannel,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
executeTool,
|
|
36
36
|
runAgentLoop,
|
|
37
37
|
toolsToDefinitions
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NERC4SQV.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-KL4U6ZNK.js";
|
|
56
56
|
import {
|
|
57
57
|
provision,
|
|
58
58
|
runSetupWizard
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Q5DKWAKT.js";
|
|
60
60
|
import {
|
|
61
61
|
ENGINE_TABLES,
|
|
62
62
|
ENGINE_TABLES_POSTGRES,
|