@agenticmail/enterprise 0.5.401 → 0.5.402

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.
@@ -466,7 +466,7 @@ var AgentHeartbeatManager = class {
466
466
  return;
467
467
  }
468
468
  try {
469
- const { guardrails } = await import("./routes-EEUWXTHX.js");
469
+ const { guardrails } = await import("./routes-UIUIEZKQ.js");
470
470
  const status = await guardrails.getStatus(ctx.agentId);
471
471
  if (status.paused || status.offDuty) {
472
472
  console.log(`[heartbeat] Skipping action dispatch \u2014 agent is ${status.offDuty ? "off duty" : "paused"}`);
@@ -11,7 +11,7 @@ import {
11
11
  init_config_bus,
12
12
  init_routes,
13
13
  routes_exports
14
- } from "./chunk-IIAY4DXV.js";
14
+ } from "./chunk-ZZQWXIAX.js";
15
15
  import {
16
16
  SecureVault,
17
17
  init_vault
@@ -4683,7 +4683,7 @@ function createServer(config) {
4683
4683
  let engineInitialized = false;
4684
4684
  api.all("/engine/*", async (c, _next) => {
4685
4685
  try {
4686
- const { engineRoutes, setEngineDb } = await import("./routes-EEUWXTHX.js");
4686
+ const { engineRoutes, setEngineDb } = await import("./routes-UIUIEZKQ.js");
4687
4687
  const { EngineDatabase } = await import("./db-adapter-2T56ORSD.js");
4688
4688
  if (!engineInitialized) {
4689
4689
  engineInitialized = true;
@@ -4713,13 +4713,13 @@ function createServer(config) {
4713
4713
  engineInitialized = true;
4714
4714
  if (config.runtime?.enabled) {
4715
4715
  try {
4716
- const { createAgentRuntime } = await import("./runtime-DS4SWATW.js");
4717
- const { mountRuntimeApp, setRuntime } = await import("./routes-EEUWXTHX.js");
4716
+ const { createAgentRuntime } = await import("./runtime-NOZFX4PB.js");
4717
+ const { mountRuntimeApp, setRuntime } = await import("./routes-UIUIEZKQ.js");
4718
4718
  let getEmailConfig;
4719
4719
  let onTokenRefresh;
4720
4720
  let agentMemoryMgr;
4721
4721
  try {
4722
- const { lifecycle: lc, memoryManager: mm } = await import("./routes-EEUWXTHX.js");
4722
+ const { lifecycle: lc, memoryManager: mm } = await import("./routes-UIUIEZKQ.js");
4723
4723
  agentMemoryMgr = mm;
4724
4724
  if (lc) {
4725
4725
  getEmailConfig = (agentId) => {
@@ -4758,7 +4758,7 @@ function createServer(config) {
4758
4758
  }
4759
4759
  } catch {
4760
4760
  }
4761
- const { vault: vaultRef, permissionEngine: permRef, databaseManager: dbMgr } = await import("./routes-EEUWXTHX.js");
4761
+ const { vault: vaultRef, permissionEngine: permRef, databaseManager: dbMgr } = await import("./routes-UIUIEZKQ.js");
4762
4762
  const runtime = createAgentRuntime({
4763
4763
  engineDb,
4764
4764
  adminDb: config.db,
@@ -5009,7 +5009,7 @@ function createServer(config) {
5009
5009
  });
5010
5010
  (async () => {
5011
5011
  try {
5012
- const { engineRoutes, setEngineDb } = await import("./routes-EEUWXTHX.js");
5012
+ const { engineRoutes, setEngineDb } = await import("./routes-UIUIEZKQ.js");
5013
5013
  const { EngineDatabase } = await import("./db-adapter-2T56ORSD.js");
5014
5014
  if (!engineInitialized) {
5015
5015
  engineInitialized = true;
@@ -5033,13 +5033,13 @@ function createServer(config) {
5033
5033
  await setEngineDb(engineDb, config.db);
5034
5034
  if (config.runtime?.enabled) {
5035
5035
  try {
5036
- const { createAgentRuntime } = await import("./runtime-DS4SWATW.js");
5037
- const { mountRuntimeApp, setRuntime } = await import("./routes-EEUWXTHX.js");
5036
+ const { createAgentRuntime } = await import("./runtime-NOZFX4PB.js");
5037
+ const { mountRuntimeApp, setRuntime } = await import("./routes-UIUIEZKQ.js");
5038
5038
  let getEmailConfig;
5039
5039
  let onTokenRefresh;
5040
5040
  let agentMemoryMgr;
5041
5041
  try {
5042
- const { lifecycle: lc, memoryManager: mm } = await import("./routes-EEUWXTHX.js");
5042
+ const { lifecycle: lc, memoryManager: mm } = await import("./routes-UIUIEZKQ.js");
5043
5043
  agentMemoryMgr = mm;
5044
5044
  if (lc) {
5045
5045
  getEmailConfig = (agentId) => {
@@ -5078,7 +5078,7 @@ function createServer(config) {
5078
5078
  }
5079
5079
  } catch {
5080
5080
  }
5081
- const { vault: vaultRef2, permissionEngine: permRef2, databaseManager: dbMgr2 } = await import("./routes-EEUWXTHX.js");
5081
+ const { vault: vaultRef2, permissionEngine: permRef2, databaseManager: dbMgr2 } = await import("./routes-UIUIEZKQ.js");
5082
5082
  const runtime = createAgentRuntime({
5083
5083
  engineDb,
5084
5084
  adminDb: config.db,
@@ -5090,7 +5090,7 @@ function createServer(config) {
5090
5090
  agentMemoryManager: agentMemoryMgr,
5091
5091
  vault: vaultRef2,
5092
5092
  permissionEngine: permRef2,
5093
- hierarchyManager: (await import("./routes-EEUWXTHX.js")).hierarchyManager ?? void 0,
5093
+ hierarchyManager: (await import("./routes-UIUIEZKQ.js")).hierarchyManager ?? void 0,
5094
5094
  databaseManager: dbMgr2
5095
5095
  });
5096
5096
  await runtime.start();
@@ -5104,7 +5104,7 @@ function createServer(config) {
5104
5104
  }
5105
5105
  console.log("[engine] Eagerly initialized");
5106
5106
  try {
5107
- const { lifecycle: lcRef } = await import("./routes-EEUWXTHX.js");
5107
+ const { lifecycle: lcRef } = await import("./routes-UIUIEZKQ.js");
5108
5108
  if (lcRef) {
5109
5109
  const agents = Array.from(lcRef.agents?.values?.() || []);
5110
5110
  const hasLocalPm2 = agents.some((a) => {
@@ -359,7 +359,7 @@ function createRuntimeHooks(deps) {
359
359
  var injectedMessages = [...messages];
360
360
  if (deps.knowledgeBaseEnabled !== false) {
361
361
  try {
362
- var { knowledgeBase } = await import("./routes-EEUWXTHX.js");
362
+ var { knowledgeBase } = await import("./routes-UIUIEZKQ.js");
363
363
  var kbs = await knowledgeBase.listForAgent(agentId);
364
364
  if (kbs.length > 0) {
365
365
  var contextParts = [];
@@ -392,7 +392,7 @@ ${contextParts.join("\n\n")}`;
392
392
  }
393
393
  if (deps.memoryEnabled !== false) {
394
394
  try {
395
- var { memoryManager } = await import("./routes-EEUWXTHX.js");
395
+ var { memoryManager } = await import("./routes-UIUIEZKQ.js");
396
396
  var memories = await memoryManager.queryMemories({
397
397
  agentId,
398
398
  limit: 10,
@@ -413,7 +413,7 @@ ${memories.map(function(m) {
413
413
  }
414
414
  if (deps.policyEnabled !== false) {
415
415
  try {
416
- var { policyEngine } = await import("./routes-EEUWXTHX.js");
416
+ var { policyEngine } = await import("./routes-UIUIEZKQ.js");
417
417
  var policies = await policyEngine.getAgentPolicies(agentId, deps.orgId);
418
418
  if (policies.length > 0) {
419
419
  var policyText = policies.map(function(p) {
@@ -438,7 +438,7 @@ ${policyText}`;
438
438
  // ─── Budget Check ──────────────────────────────
439
439
  async checkBudget(agentId, _orgId, _estimatedTokens) {
440
440
  try {
441
- var { lifecycle } = await import("./routes-EEUWXTHX.js");
441
+ var { lifecycle } = await import("./routes-UIUIEZKQ.js");
442
442
  var now = Date.now();
443
443
  var cacheKey = `budget_sync_${agentId}`;
444
444
  var lastSync = globalThis[cacheKey] || 0;
@@ -531,7 +531,7 @@ ${policyText}`;
531
531
  // ─── Record LLM Usage ──────────────────────────
532
532
  async recordLLMUsage(agentId, orgId, usage) {
533
533
  try {
534
- var { lifecycle } = await import("./routes-EEUWXTHX.js");
534
+ var { lifecycle } = await import("./routes-UIUIEZKQ.js");
535
535
  console.log(`[hooks] recordLLMUsage: agent=${agentId}, input=${usage.inputTokens}, output=${usage.outputTokens}`);
536
536
  await lifecycle.recordLLMUsage(agentId, {
537
537
  inputTokens: usage.inputTokens,
@@ -542,7 +542,7 @@ ${policyText}`;
542
542
  console.log(`[hooks] recordLLMUsage error: ${recordErr.message}`);
543
543
  }
544
544
  try {
545
- var { activity } = await import("./routes-EEUWXTHX.js");
545
+ var { activity } = await import("./routes-UIUIEZKQ.js");
546
546
  await activity.record({
547
547
  agentId,
548
548
  orgId,
@@ -590,7 +590,7 @@ ${policyText}`;
590
590
  var cacheKey = `${ctx.agentId}:${ctx.toolName}`;
591
591
  var cached = getCachedPermission(cacheKey);
592
592
  if (cached) return cached;
593
- var { permissionEngine } = await import("./routes-EEUWXTHX.js");
593
+ var { permissionEngine } = await import("./routes-UIUIEZKQ.js");
594
594
  var permResult = await permissionEngine.checkPermission(ctx.agentId, ctx.toolName);
595
595
  var result = {
596
596
  allowed: permResult.allowed,
@@ -599,7 +599,7 @@ ${policyText}`;
599
599
  };
600
600
  if (result.allowed && deps.guardrailsEnabled !== false) {
601
601
  try {
602
- var { guardrails } = await import("./routes-EEUWXTHX.js");
602
+ var { guardrails } = await import("./routes-UIUIEZKQ.js");
603
603
  var status = await guardrails.getStatus(ctx.agentId);
604
604
  if (status.paused || status.offDuty) {
605
605
  result.allowed = false;
@@ -611,7 +611,7 @@ ${policyText}`;
611
611
  }
612
612
  if (result.allowed && deps.dlpEnabled !== false && ctx.parameters) {
613
613
  try {
614
- var { dlp } = await import("./routes-EEUWXTHX.js");
614
+ var { dlp } = await import("./routes-UIUIEZKQ.js");
615
615
  var dlpResult = await dlp.scanParameters({
616
616
  orgId: ctx.orgId,
617
617
  agentId: ctx.agentId,
@@ -631,7 +631,7 @@ ${policyText}`;
631
631
  }
632
632
  if (result.requiresApproval && result.allowed) {
633
633
  try {
634
- var { approvals } = await import("./routes-EEUWXTHX.js");
634
+ var { approvals } = await import("./routes-UIUIEZKQ.js");
635
635
  var approval = await approvals.createAndWait({
636
636
  agentId: ctx.agentId,
637
637
  orgId: ctx.orgId,
@@ -661,7 +661,7 @@ ${policyText}`;
661
661
  // ─── After Tool Call ────────────────────────────
662
662
  async afterToolCall(ctx, result) {
663
663
  try {
664
- var { activity } = await import("./routes-EEUWXTHX.js");
664
+ var { activity } = await import("./routes-UIUIEZKQ.js");
665
665
  await activity.record({
666
666
  agentId: ctx.agentId,
667
667
  orgId: ctx.orgId,
@@ -678,7 +678,7 @@ ${policyText}`;
678
678
  } catch {
679
679
  }
680
680
  try {
681
- var { lifecycle } = await import("./routes-EEUWXTHX.js");
681
+ var { lifecycle } = await import("./routes-UIUIEZKQ.js");
682
682
  await lifecycle.recordToolCall(ctx.agentId, {
683
683
  toolId: ctx.toolName,
684
684
  tokensUsed: 0,
@@ -690,7 +690,7 @@ ${policyText}`;
690
690
  }
691
691
  if (result.success && EXTERNAL_TOOLS.has(ctx.toolName)) {
692
692
  try {
693
- var { journal } = await import("./routes-EEUWXTHX.js");
693
+ var { journal } = await import("./routes-UIUIEZKQ.js");
694
694
  await journal.record({
695
695
  orgId: ctx.orgId,
696
696
  agentId: ctx.agentId,
@@ -705,7 +705,7 @@ ${policyText}`;
705
705
  }
706
706
  if (result.success && COMMUNICATION_TOOLS.has(ctx.toolName)) {
707
707
  try {
708
- var { commBus } = await import("./routes-EEUWXTHX.js");
708
+ var { commBus } = await import("./routes-UIUIEZKQ.js");
709
709
  await commBus.observeMessage({
710
710
  orgId: ctx.orgId,
711
711
  agentId: ctx.agentId,
@@ -719,7 +719,7 @@ ${policyText}`;
719
719
  // ─── Session Lifecycle ──────────────────────────
720
720
  async onSessionStart(sessionId, agentId, orgId) {
721
721
  try {
722
- var { activity } = await import("./routes-EEUWXTHX.js");
722
+ var { activity } = await import("./routes-UIUIEZKQ.js");
723
723
  await activity.record({
724
724
  agentId,
725
725
  orgId,
@@ -732,7 +732,7 @@ ${policyText}`;
732
732
  },
733
733
  async onSessionEnd(sessionId, agentId, orgId) {
734
734
  try {
735
- var { activity } = await import("./routes-EEUWXTHX.js");
735
+ var { activity } = await import("./routes-UIUIEZKQ.js");
736
736
  await activity.record({
737
737
  agentId,
738
738
  orgId,
@@ -746,7 +746,7 @@ ${policyText}`;
746
746
  // ─── Context Compaction ─────────────────────────
747
747
  async onContextCompaction(sessionId, agentId, summary) {
748
748
  try {
749
- var { memoryManager } = await import("./routes-EEUWXTHX.js");
749
+ var { memoryManager } = await import("./routes-UIUIEZKQ.js");
750
750
  await memoryManager.createMemory({
751
751
  agentId,
752
752
  orgId: deps.orgId,
@@ -762,7 +762,7 @@ ${policyText}`;
762
762
  console.warn(`[hooks] Failed to persist compaction summary: ${err?.message}`);
763
763
  }
764
764
  try {
765
- var { TaskQueueManager } = await import("./task-queue-O7IVZYUO.js");
765
+ var { TaskQueueManager } = await import("./task-queue-Y2ERCCRY.js");
766
766
  var tq = new TaskQueueManager();
767
767
  tq.db = deps.engineDb;
768
768
  await tq.init();
@@ -2521,7 +2521,7 @@ async function runAgentLoop(config, initialMessages, hooks, options) {
2521
2521
  console.log(`[agent-loop] \u2705 Tool ${toolCall.name} succeeded (${content.length} chars): ${content.slice(0, 300)}`);
2522
2522
  }
2523
2523
  try {
2524
- const { activity } = await import("./routes-EEUWXTHX.js");
2524
+ const { activity } = await import("./routes-UIUIEZKQ.js");
2525
2525
  activity.recordToolCallCompact({
2526
2526
  agentId: config.agentId,
2527
2527
  orgId: config.orgId,
@@ -1234,7 +1234,7 @@ async function deploy(config, db, jwtSecret, vaultKey, spinner, chalk) {
1234
1234
  const { deployTarget, company, database, domain, tunnel, cloud } = config;
1235
1235
  if (deployTarget === "cloudflare-tunnel" && tunnel) {
1236
1236
  spinner.start(`Starting local server on port ${tunnel.port}...`);
1237
- const { createServer: createServer2 } = await import("./server-S4564LJA.js");
1237
+ const { createServer: createServer2 } = await import("./server-2V62CIPS.js");
1238
1238
  const server2 = createServer2({ port: tunnel.port, db, jwtSecret });
1239
1239
  const handle2 = await server2.start();
1240
1240
  spinner.succeed("Server running");
@@ -1536,7 +1536,7 @@ async function deploy(config, db, jwtSecret, vaultKey, spinner, chalk) {
1536
1536
  return {};
1537
1537
  }
1538
1538
  spinner.start("Starting local server...");
1539
- const { createServer } = await import("./server-S4564LJA.js");
1539
+ const { createServer } = await import("./server-2V62CIPS.js");
1540
1540
  const server = createServer({ port: 3e3, db, jwtSecret });
1541
1541
  const handle = await server.start();
1542
1542
  spinner.succeed("Server running");
@@ -110,6 +110,7 @@ var init_task_queue = __esm({
110
110
  * Sync active tasks from database into memory.
111
111
  * Called by the task poller before each cycle to catch externally-added or reset tasks.
112
112
  */
113
+ _startTime = Date.now();
113
114
  async syncFromDb() {
114
115
  if (!this.db) return;
115
116
  try {
@@ -117,11 +118,23 @@ var init_task_queue = __esm({
117
118
  `SELECT * FROM task_pipeline WHERE status IN ('created','assigned','in_progress') ORDER BY created_at DESC LIMIT 200`
118
119
  );
119
120
  if (!rows) return;
120
- let added = 0;
121
+ let added = 0, skippedPreRestart = 0;
121
122
  for (const row of rows) {
122
123
  const existing = this.tasks.get(row.id);
123
124
  const dbTask = this.rowToTask(row);
124
125
  if (!existing) {
126
+ const createdMs = new Date(dbTask.createdAt).getTime();
127
+ if (createdMs < this._startTime - 6e4) {
128
+ try {
129
+ await this.db.run(
130
+ `UPDATE task_pipeline SET status = 'failed', error = 'Process restarted \u2014 task was not completed before restart' WHERE id = ?`,
131
+ [row.id]
132
+ );
133
+ } catch {
134
+ }
135
+ skippedPreRestart++;
136
+ continue;
137
+ }
125
138
  this.tasks.set(row.id, dbTask);
126
139
  added++;
127
140
  } else if (existing.status !== dbTask.status || existing.sessionId !== dbTask.sessionId) {
@@ -129,6 +142,7 @@ var init_task_queue = __esm({
129
142
  }
130
143
  }
131
144
  if (added > 0) console.log(`[TaskQueue] syncFromDb: added ${added} tasks from DB`);
145
+ if (skippedPreRestart > 0) console.log(`[TaskQueue] syncFromDb: auto-failed ${skippedPreRestart} pre-restart tasks`);
132
146
  } catch (e) {
133
147
  console.error("[TaskQueue] syncFromDb error:", e.message);
134
148
  }
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  TaskQueueManager,
31
31
  init_task_queue
32
- } from "./chunk-Z6K5FKAB.js";
32
+ } from "./chunk-ZNLABJCS.js";
33
33
  import {
34
34
  AgentStatusTracker,
35
35
  init_agent_status
@@ -7103,7 +7103,7 @@ function createAgentRoutes(opts) {
7103
7103
  }
7104
7104
  const managedAgent = await lifecycle2.createAgent(orgId, config, actor);
7105
7105
  try {
7106
- const { knowledgeBase: kbEngine } = await import("./routes-EEUWXTHX.js");
7106
+ const { knowledgeBase: kbEngine } = await import("./routes-UIUIEZKQ.js");
7107
7107
  const allKbs = kbEngine.getAllKnowledgeBases();
7108
7108
  const clientOrgId = managedAgent?.clientOrgId || config?.clientOrgId || null;
7109
7109
  let kbAssigned = 0;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TaskQueueManager,
3
3
  init_task_queue
4
- } from "./chunk-Z6K5FKAB.js";
4
+ } from "./chunk-ZNLABJCS.js";
5
5
  import "./chunk-KFQGP6VL.js";
6
6
 
7
7
  // src/cli-agent.ts
@@ -776,7 +776,7 @@ async function runAgent(_args) {
776
776
  const agent = agentRow[0];
777
777
  console.log(` Agent: ${agent.display_name || agent.name}`);
778
778
  console.log(` State: ${agent.state}`);
779
- const routes = await import("./routes-EEUWXTHX.js");
779
+ const routes = await import("./routes-UIUIEZKQ.js");
780
780
  await routes.lifecycle.setDb(engineDb);
781
781
  await routes.lifecycle.loadFromDb();
782
782
  routes.lifecycle.standaloneMode = true;
@@ -834,10 +834,10 @@ async function runAgent(_args) {
834
834
  }
835
835
  } catch {
836
836
  }
837
- const { createAgentRuntime } = await import("./runtime-DS4SWATW.js");
837
+ const { createAgentRuntime } = await import("./runtime-NOZFX4PB.js");
838
838
  let orgIntMgr = null;
839
839
  try {
840
- const { orgIntegrations: oi } = await import("./routes-EEUWXTHX.js");
840
+ const { orgIntegrations: oi } = await import("./routes-UIUIEZKQ.js");
841
841
  orgIntMgr = oi;
842
842
  } catch {
843
843
  }
@@ -1236,7 +1236,7 @@ Please complete this task now.`,
1236
1236
  }
1237
1237
  if (scope === "all" || scope === "permissions") {
1238
1238
  try {
1239
- const { permissionEngine } = await import("./routes-EEUWXTHX.js");
1239
+ const { permissionEngine } = await import("./routes-UIUIEZKQ.js");
1240
1240
  await permissionEngine.setDb(engineDb);
1241
1241
  reloaded.push("permissions");
1242
1242
  } catch {
@@ -1276,7 +1276,7 @@ Please complete this task now.`,
1276
1276
  }
1277
1277
  if (scope === "all" || scope === "guardrails") {
1278
1278
  try {
1279
- const { guardrails } = await import("./routes-EEUWXTHX.js");
1279
+ const { guardrails } = await import("./routes-UIUIEZKQ.js");
1280
1280
  await guardrails.loadFromDb?.();
1281
1281
  reloaded.push("guardrails");
1282
1282
  } catch {
@@ -2216,7 +2216,7 @@ Available tools: ${providerType === "imap" ? "email_send (to, subject, body)" :
2216
2216
  console.log("[guardrails] Disabled via autonomy settings");
2217
2217
  }
2218
2218
  try {
2219
- const { AgentHeartbeatManager } = await import("./agent-heartbeat-LAWETDFL.js");
2219
+ const { AgentHeartbeatManager } = await import("./agent-heartbeat-2P2LGVJA.js");
2220
2220
  const hbOrgRows = await engineDb.query(`SELECT org_id FROM managed_agents WHERE id = $1`, [AGENT_ID]);
2221
2221
  const hbOrgId = hbOrgRows?.[0]?.org_id || "";
2222
2222
  const hbManagerEmail = config.managerEmail || (config.manager?.type === "external" ? config.manager.email : null);
@@ -94,7 +94,7 @@ async function runServe(_args) {
94
94
  process.exit(1);
95
95
  }
96
96
  const { createAdapter, smartDbConfig } = await import("./factory-XRYYBBCW.js");
97
- const { createServer } = await import("./server-S4564LJA.js");
97
+ const { createServer } = await import("./server-2V62CIPS.js");
98
98
  const db = await createAdapter(smartDbConfig(DATABASE_URL));
99
99
  await db.migrate();
100
100
  const server = createServer({
package/dist/cli.js CHANGED
@@ -65,14 +65,14 @@ Skill Development:
65
65
  break;
66
66
  case "serve":
67
67
  case "start":
68
- import("./cli-serve-SZ5FUFGN.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
68
+ import("./cli-serve-2ZI3K57V.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
69
69
  break;
70
70
  case "agent":
71
- import("./cli-agent-M2E24J3V.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
71
+ import("./cli-agent-FKL5HTLS.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
72
72
  break;
73
73
  case "setup":
74
74
  default:
75
- import("./setup-6SPPY2QZ.js").then((m) => m.runSetupWizard()).catch(fatal);
75
+ import("./setup-XUQEEZJV.js").then((m) => m.runSetupWizard()).catch(fatal);
76
76
  break;
77
77
  }
78
78
  function fatal(err) {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  provision,
3
3
  runSetupWizard
4
- } from "./chunk-3TFN5A7B.js";
4
+ } from "./chunk-RK5UYRKG.js";
5
5
  import {
6
6
  AgenticMailManager,
7
7
  GoogleEmailProvider,
@@ -28,7 +28,7 @@ import {
28
28
  executeTool,
29
29
  runAgentLoop,
30
30
  toolsToDefinitions
31
- } from "./chunk-VXX6CTZ2.js";
31
+ } from "./chunk-LO5LOW2A.js";
32
32
  import "./chunk-WPM52NBU.js";
33
33
  import {
34
34
  ValidationError,
@@ -43,7 +43,7 @@ import {
43
43
  requireRole,
44
44
  securityHeaders,
45
45
  validate
46
- } from "./chunk-VWEYO2YP.js";
46
+ } from "./chunk-3JIZOJPH.js";
47
47
  import "./chunk-DJBCRQTD.js";
48
48
  import {
49
49
  PROVIDER_REGISTRY,
@@ -83,7 +83,7 @@ import {
83
83
  init_storage_manager,
84
84
  init_tenant,
85
85
  init_workforce
86
- } from "./chunk-IIAY4DXV.js";
86
+ } from "./chunk-ZZQWXIAX.js";
87
87
  import "./chunk-WYDVMFGJ.js";
88
88
  import "./chunk-3UAFHUEC.js";
89
89
  import {
@@ -109,7 +109,7 @@ import {
109
109
  } from "./chunk-VSBC4SWO.js";
110
110
  import "./chunk-AF3WSNVX.js";
111
111
  import "./chunk-74ZCQKYU.js";
112
- import "./chunk-Z6K5FKAB.js";
112
+ import "./chunk-ZNLABJCS.js";
113
113
  import "./chunk-C6JP5NR6.js";
114
114
  import {
115
115
  SecureVault,
@@ -35,7 +35,7 @@ import {
35
35
  tenants,
36
36
  vault,
37
37
  workforce
38
- } from "./chunk-IIAY4DXV.js";
38
+ } from "./chunk-ZZQWXIAX.js";
39
39
  import "./chunk-WYDVMFGJ.js";
40
40
  import "./chunk-3UAFHUEC.js";
41
41
  import "./chunk-E6B4W3WG.js";
@@ -43,7 +43,7 @@ import "./chunk-Z7NVD3OQ.js";
43
43
  import "./chunk-VSBC4SWO.js";
44
44
  import "./chunk-AF3WSNVX.js";
45
45
  import "./chunk-74ZCQKYU.js";
46
- import "./chunk-Z6K5FKAB.js";
46
+ import "./chunk-ZNLABJCS.js";
47
47
  import "./chunk-C6JP5NR6.js";
48
48
  import "./chunk-WUAWWKTN.js";
49
49
  import "./chunk-E5QPDR3O.js";
@@ -14,7 +14,7 @@ import {
14
14
  executeTool,
15
15
  runAgentLoop,
16
16
  toolsToDefinitions
17
- } from "./chunk-VXX6CTZ2.js";
17
+ } from "./chunk-LO5LOW2A.js";
18
18
  import "./chunk-WPM52NBU.js";
19
19
  import {
20
20
  PROVIDER_REGISTRY,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-VWEYO2YP.js";
3
+ } from "./chunk-3JIZOJPH.js";
4
4
  import "./chunk-DJBCRQTD.js";
5
5
  import "./chunk-UF3ZJMJO.js";
6
- import "./chunk-IIAY4DXV.js";
6
+ import "./chunk-ZZQWXIAX.js";
7
7
  import "./chunk-WYDVMFGJ.js";
8
8
  import "./chunk-3UAFHUEC.js";
9
9
  import "./chunk-E6B4W3WG.js";
@@ -11,7 +11,7 @@ import "./chunk-Z7NVD3OQ.js";
11
11
  import "./chunk-VSBC4SWO.js";
12
12
  import "./chunk-AF3WSNVX.js";
13
13
  import "./chunk-74ZCQKYU.js";
14
- import "./chunk-Z6K5FKAB.js";
14
+ import "./chunk-ZNLABJCS.js";
15
15
  import "./chunk-C6JP5NR6.js";
16
16
  import "./chunk-WUAWWKTN.js";
17
17
  import "./chunk-E5QPDR3O.js";
@@ -6,7 +6,7 @@ import {
6
6
  promptRegistration,
7
7
  provision,
8
8
  runSetupWizard
9
- } from "./chunk-3TFN5A7B.js";
9
+ } from "./chunk-RK5UYRKG.js";
10
10
  import "./chunk-P6W565WH.js";
11
11
  import "./chunk-KFQGP6VL.js";
12
12
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TaskQueueManager,
3
3
  init_task_queue
4
- } from "./chunk-Z6K5FKAB.js";
4
+ } from "./chunk-ZNLABJCS.js";
5
5
  import "./chunk-KFQGP6VL.js";
6
6
  init_task_queue();
7
7
  export {
@@ -11,3 +11,4 @@
11
11
  2026-03-06 03:30:50: [TaskPoller] spawnForTask error: No API key configured for provider: undefined
12
12
  2026-03-06 03:39:47: [runtime] Marked stale session: JcWAi0Zj5k3i6A697xteM
13
13
  2026-03-06 03:39:47: [runtime] Marked stale session: i-KTYjRjZVj_FH-jZPf27
14
+ 2026-03-06 03:46:50: [TaskPoller] spawnForTask error: No API key configured for provider: undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.401",
3
+ "version": "0.5.402",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {