@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/cli.js CHANGED
@@ -48,7 +48,7 @@ Skill Development:
48
48
  break;
49
49
  case "setup":
50
50
  default:
51
- import("./setup-IRQGAGRA.js").then((m) => m.runSetupWizard()).catch(fatal);
51
+ import("./setup-QELYIXLF.js").then((m) => m.runSetupWizard()).catch(fatal);
52
52
  break;
53
53
  }
54
54
  function fatal(err) {
@@ -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-MMSLIL7U.js";
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-3AJ7YYAA.js";
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-KIFKMDHY.js";
55
+ } from "./chunk-KL4U6ZNK.js";
56
56
  import {
57
57
  provision,
58
58
  runSetupWizard
59
- } from "./chunk-7RUXEES6.js";
59
+ } from "./chunk-Q5DKWAKT.js";
60
60
  import {
61
61
  ENGINE_TABLES,
62
62
  ENGINE_TABLES_POSTGRES,