@agenticmail/enterprise 0.5.395 → 0.5.397

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.
@@ -847,7 +847,7 @@ function createEditTool(options) {
847
847
 
848
848
  // src/agent-tools/tools/bash.ts
849
849
  import { exec } from "child_process";
850
- var DEFAULT_TIMEOUT_MS = 12e4;
850
+ var DEFAULT_TIMEOUT_MS = 3e5;
851
851
  var MAX_TIMEOUT_MS = 6e5;
852
852
  var DEFAULT_MAX_OUTPUT_BYTES = 2e5;
853
853
  var SENSITIVE_ENV_VARS = [
@@ -900,7 +900,7 @@ function createBashTool(options) {
900
900
  return {
901
901
  name: "bash",
902
902
  label: "Execute Command",
903
- description: "Execute a bash command. Returns stdout, stderr, and exit code. Commands have a configurable timeout (default 2 minutes, max 10 minutes).",
903
+ description: "Execute a bash command. Returns stdout, stderr, and exit code. Commands have a configurable timeout (default 5 minutes, max 10 minutes).",
904
904
  category: "command",
905
905
  risk: "high",
906
906
  parameters: {
@@ -3423,7 +3423,7 @@ function createRequestToolsTool(allTools, activeSets, _context) {
3423
3423
  };
3424
3424
  }
3425
3425
  async function createToolsForContext(options, context, opts) {
3426
- const { createAllTools } = await import("./agent-tools-SXHMNUVO.js");
3426
+ const { createAllTools } = await import("./agent-tools-ZKR4SUBR.js");
3427
3427
  if (context === "full") {
3428
3428
  return createAllTools(options);
3429
3429
  }
@@ -4009,6 +4009,9 @@ var FollowUpScheduler = class {
4009
4009
  };
4010
4010
 
4011
4011
  // src/runtime/index.ts
4012
+ import { homedir } from "os";
4013
+ import { join } from "path";
4014
+ import { mkdirSync } from "fs";
4012
4015
  var _remotionPrompt = buildRemotonPrompt();
4013
4016
  var DEFAULT_MODEL = {
4014
4017
  provider: "anthropic",
@@ -4051,9 +4054,14 @@ var AgentRuntime = class {
4051
4054
  /** Build tool options for a given agent, including OAuth email config if available */
4052
4055
  buildToolOptions(agentId, sessionId) {
4053
4056
  const self = this;
4057
+ const agentWorkspace = join(homedir(), ".agenticmail", "workspaces", agentId);
4058
+ try {
4059
+ mkdirSync(agentWorkspace, { recursive: true });
4060
+ } catch {
4061
+ }
4054
4062
  const base = {
4055
4063
  agentId,
4056
- workspaceDir: process.cwd(),
4064
+ workspaceDir: agentWorkspace,
4057
4065
  agenticmailManager: this.config.agenticmailManager,
4058
4066
  agentMemoryManager: this.config.agentMemoryManager,
4059
4067
  engineDb: this.config.engineDb,
@@ -4829,6 +4837,7 @@ function createAgentRuntime(config) {
4829
4837
  return new AgentRuntime(config);
4830
4838
  }
4831
4839
  function buildDefaultSystemPrompt(agentId, memoryContext, hierarchyContext, agentIdentity, dbConnections) {
4840
+ const wsDir = join(homedir(), ".agenticmail", "workspaces", agentId);
4832
4841
  var base = `You are an AI agent managed by AgenticMail Enterprise (agent: ${agentId}).
4833
4842
 
4834
4843
  You have access to a comprehensive set of tools for completing tasks. Use them effectively.
@@ -4841,6 +4850,12 @@ Guidelines:
4841
4850
  - Respect organization policies and permissions
4842
4851
  - Keep responses concise unless detail is requested
4843
4852
  - For long tasks, work systematically and report progress
4853
+
4854
+ ## Your Workspace
4855
+ Your dedicated workspace directory is: ${wsDir}
4856
+ ALWAYS save files, deliverables, rendered videos, images, and outputs here \u2014 NEVER in /tmp.
4857
+ /tmp files are cleaned up by the OS and will be lost. Your workspace persists across sessions.
4858
+ Create subdirectories as needed (e.g. videos/, images/, projects/, exports/).
4844
4859
  - ACTIVELY USE YOUR MEMORY: After corrections, lessons, or insights, call memory_reflect to record them
4845
4860
  - Before complex tasks, call memory_context to recall relevant knowledge
4846
4861
  - Your memory persists across conversations \u2014 it's how you grow as an expert
@@ -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-QRLH3PX3.js");
1237
+ const { createServer: createServer2 } = await import("./server-BWD2O5WP.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-QRLH3PX3.js");
1539
+ const { createServer } = await import("./server-BWD2O5WP.js");
1540
1540
  const server = createServer({ port: 3e3, db, jwtSecret });
1541
1541
  const handle = await server.start();
1542
1542
  spinner.succeed("Server running");
@@ -4713,7 +4713,7 @@ function createServer(config) {
4713
4713
  engineInitialized = true;
4714
4714
  if (config.runtime?.enabled) {
4715
4715
  try {
4716
- const { createAgentRuntime } = await import("./runtime-ZD6VUR2K.js");
4716
+ const { createAgentRuntime } = await import("./runtime-WPUNDUHR.js");
4717
4717
  const { mountRuntimeApp, setRuntime } = await import("./routes-KL7BIX5B.js");
4718
4718
  let getEmailConfig;
4719
4719
  let onTokenRefresh;
@@ -5033,7 +5033,7 @@ 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-ZD6VUR2K.js");
5036
+ const { createAgentRuntime } = await import("./runtime-WPUNDUHR.js");
5037
5037
  const { mountRuntimeApp, setRuntime } = await import("./routes-KL7BIX5B.js");
5038
5038
  let getEmailConfig;
5039
5039
  let onTokenRefresh;
@@ -834,7 +834,7 @@ async function runAgent(_args) {
834
834
  }
835
835
  } catch {
836
836
  }
837
- const { createAgentRuntime } = await import("./runtime-ZD6VUR2K.js");
837
+ const { createAgentRuntime } = await import("./runtime-WPUNDUHR.js");
838
838
  let orgIntMgr = null;
839
839
  try {
840
840
  const { orgIntegrations: oi } = await import("./routes-KL7BIX5B.js");
@@ -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-QRLH3PX3.js");
97
+ const { createServer } = await import("./server-BWD2O5WP.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-LF7WFVQX.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
68
+ import("./cli-serve-CY6V5YHF.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
69
69
  break;
70
70
  case "agent":
71
- import("./cli-agent-UPHPASIH.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
71
+ import("./cli-agent-X356EE3C.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
72
72
  break;
73
73
  case "setup":
74
74
  default:
75
- import("./setup-VMMJDM6R.js").then((m) => m.runSetupWizard()).catch(fatal);
75
+ import("./setup-GGMNQVWH.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-TS7ITTGF.js";
4
+ } from "./chunk-6XGF35TY.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-ZG54KN2R.js";
31
+ } from "./chunk-5OY7G6NG.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-QPGW3UCS.js";
46
+ } from "./chunk-X5ULMFKP.js";
47
47
  import "./chunk-DJBCRQTD.js";
48
48
  import {
49
49
  PROVIDER_REGISTRY,
@@ -14,7 +14,7 @@ import {
14
14
  executeTool,
15
15
  runAgentLoop,
16
16
  toolsToDefinitions
17
- } from "./chunk-ZG54KN2R.js";
17
+ } from "./chunk-5OY7G6NG.js";
18
18
  import "./chunk-WPM52NBU.js";
19
19
  import {
20
20
  PROVIDER_REGISTRY,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-QPGW3UCS.js";
3
+ } from "./chunk-X5ULMFKP.js";
4
4
  import "./chunk-DJBCRQTD.js";
5
5
  import "./chunk-UF3ZJMJO.js";
6
6
  import "./chunk-SL2GRD72.js";
@@ -6,7 +6,7 @@ import {
6
6
  promptRegistration,
7
7
  provision,
8
8
  runSetupWizard
9
- } from "./chunk-TS7ITTGF.js";
9
+ } from "./chunk-6XGF35TY.js";
10
10
  import "./chunk-P6W565WH.js";
11
11
  import "./chunk-KFQGP6VL.js";
12
12
  export {
@@ -16,3 +16,122 @@
16
16
  2026-03-06 02:52:54: 2026-03-06T01:52:54Z ERR Request failed error="stream 14897 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream event=0 ip=198.41.192.107 type=http
17
17
  2026-03-06 02:53:26: 2026-03-06T01:53:26Z ERR error="stream 14933 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
18
18
  2026-03-06 02:53:26: 2026-03-06T01:53:26Z ERR Request failed error="stream 14933 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
19
+ 2026-03-06 03:01:46: 2026-03-06T02:01:46Z ERR error="stream 15029 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
20
+ 2026-03-06 03:01:46: 2026-03-06T02:01:46Z ERR Request failed error="stream 15029 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/branding/logo.png event=0 ip=198.41.192.107 type=http
21
+ 2026-03-06 03:02:30: 2026-03-06T02:02:30Z ERR error="stream 14913 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
22
+ 2026-03-06 03:02:30: 2026-03-06T02:02:30Z ERR Request failed error="stream 14913 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
23
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
24
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
25
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
26
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/task-pipeline/stream event=0 ip=198.41.192.107 type=http
27
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
28
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
29
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
30
+ 2026-03-06 03:02:32: 2026-03-06T02:02:32Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
31
+ 2026-03-06 03:03:35: 2026-03-06T02:03:35Z ERR error="stream 2461 canceled by remote with error code 0" connIndex=3 event=1 ingressRule=0 originService=http://localhost:3100
32
+ 2026-03-06 03:03:35: 2026-03-06T02:03:35Z ERR Request failed error="stream 2461 canceled by remote with error code 0" connIndex=3 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.53 type=http
33
+ 2026-03-06 03:03:44: 2026-03-06T02:03:44Z ERR error="stream 15713 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
34
+ 2026-03-06 03:03:44: 2026-03-06T02:03:44Z ERR Request failed error="stream 15713 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
35
+ 2026-03-06 03:10:42: 2026-03-06T02:10:42Z ERR error="stream 15681 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
36
+ 2026-03-06 03:10:42: 2026-03-06T02:10:42Z ERR Request failed error="stream 15681 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
37
+ 2026-03-06 03:11:01: 2026-03-06T02:11:01Z ERR error="stream 165 canceled by remote with error code 0" connIndex=2 event=1 ingressRule=0 originService=http://localhost:3100
38
+ 2026-03-06 03:11:01: 2026-03-06T02:11:01Z ERR Request failed error="stream 165 canceled by remote with error code 0" connIndex=2 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.57 type=http
39
+ 2026-03-06 03:11:38: 2026-03-06T02:11:38Z ERR error="stream 16141 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
40
+ 2026-03-06 03:11:38: 2026-03-06T02:11:38Z ERR Request failed error="stream 16141 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
41
+ 2026-03-06 03:12:06: 2026-03-06T02:12:06Z ERR error="stream 16117 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
42
+ 2026-03-06 03:12:06: 2026-03-06T02:12:06Z ERR Request failed error="stream 16117 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
43
+ 2026-03-06 03:13:39: 2026-03-06T02:13:39Z ERR error="stream 16461 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
44
+ 2026-03-06 03:13:39: 2026-03-06T02:13:39Z ERR Request failed error="stream 16461 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
45
+ 2026-03-06 03:13:40: 2026-03-06T02:13:40Z ERR error="stream 16485 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
46
+ 2026-03-06 03:13:40: 2026-03-06T02:13:40Z ERR Request failed error="stream 16485 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
47
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z INF Initiating graceful shutdown due to signal interrupt ...
48
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to run the datagram handler error="context canceled" connIndex=3 event=0 ip=198.41.200.53
49
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to run the datagram handler error="context canceled" connIndex=2 event=0 ip=198.41.192.57
50
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.57
51
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=3 event=0 ip=198.41.200.53
52
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.57
53
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=3 event=0 ip=198.41.200.53
54
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.192.57
55
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z INF Retrying connection in up to 1s connIndex=3 event=0 ip=198.41.200.53
56
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Connection terminated connIndex=2
57
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Connection terminated connIndex=3
58
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to run the datagram handler error="context canceled" connIndex=1 event=0 ip=198.41.200.63
59
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=1 event=0 ip=198.41.200.63
60
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=1 event=0 ip=198.41.200.63
61
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z INF Retrying connection in up to 1s connIndex=1 event=0 ip=198.41.200.63
62
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z ERR Connection terminated connIndex=1
63
+ 2026-03-06 03:14:12: 2026-03-06T02:14:12Z INF Unregistered tunnel connection connIndex=0 event=0 ip=198.41.192.107
64
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Starting tunnel tunnelID=18dbfae9-fe5c-4380-a5c7-e5e875255b06
65
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Version 2026.2.0 (Checksum dc6e60da390e702c4db3332d0cc9cf4e98a88df99f17273e9b3d83f435695fb4)
66
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF GOOS: darwin, GOVersion: go1.25.7, GoArch: arm64
67
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Settings: map[cred-file:/Users/ope/.cloudflared/18dbfae9-fe5c-4380-a5c7-e5e875255b06.json credentials-file:/Users/ope/.cloudflared/18dbfae9-fe5c-4380-a5c7-e5e875255b06.json]
68
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF cloudflared will not automatically update if installed by a package manager.
69
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Generated Connector ID: c0da7ab3-90d8-45b2-a06f-f2eac119eb16
70
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Initial protocol quic
71
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF ICMP proxy will use 192.168.86.21 as source for IPv4
72
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF ICMP proxy will use fe80::1c9c:15a9:2404:3154 in zone en1 as source for IPv6
73
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Created ICMP proxy listening on 192.168.86.21:0
74
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF ICMP proxy will use 192.168.86.21 as source for IPv4
75
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF ICMP proxy will use fe80::1c9c:15a9:2404:3154 in zone en1 as source for IPv6
76
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Starting metrics server on 127.0.0.1:20241/metrics
77
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=0 event=0 ip=198.41.200.33
78
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Registered tunnel connection connIndex=0 connection=13e54812-2d8f-4155-91d3-322ea8206fd6 event=0 ip=198.41.200.33 location=atl11 protocol=quic
79
+ 2026-03-06 03:14:22: 2026-03-06T02:14:22Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=1 event=0 ip=198.41.192.57
80
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z INF Registered tunnel connection connIndex=1 connection=41c58f12-41a7-4bfe-adc2-c3ac01dccdea event=0 ip=198.41.192.57 location=atl06 protocol=quic
81
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=2 event=0 ip=198.41.192.227
82
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z ERR failed to run the datagram handler error="context canceled" connIndex=2 event=0 ip=198.41.192.227
83
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z WRN failed to serve tunnel connection error="control stream encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.227
84
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z WRN Serve tunnel error error="control stream encountered a failure while serving" connIndex=2 event=0 ip=198.41.192.227
85
+ 2026-03-06 03:14:23: 2026-03-06T02:14:23Z INF Retrying connection in up to 2s connIndex=2 event=0 ip=198.41.192.227
86
+ 2026-03-06 03:14:24: 2026-03-06T02:14:24Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=3 event=0 ip=198.41.200.53
87
+ 2026-03-06 03:14:24: 2026-03-06T02:14:24Z INF Registered tunnel connection connIndex=3 connection=ff1b00ad-218d-4b6f-953a-f6f74d15089c event=0 ip=198.41.200.53 location=atl11 protocol=quic
88
+ 2026-03-06 03:14:25: 2026-03-06T02:14:25Z WRN Connection terminated error="control stream encountered a failure while serving" connIndex=2
89
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Initiating graceful shutdown due to signal interrupt ...
90
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to run the datagram handler error="Application error 0x0 (remote)" connIndex=1 event=0 ip=198.41.192.57
91
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to run the datagram handler error="context canceled" connIndex=3 event=0 ip=198.41.200.53
92
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=3 event=0 ip=198.41.200.53
93
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=3 event=0 ip=198.41.200.53
94
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Retrying connection in up to 1s connIndex=3 event=0 ip=198.41.200.53
95
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Connection terminated connIndex=3
96
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=1 event=0 ip=198.41.192.57
97
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=1 event=0 ip=198.41.192.57
98
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Retrying connection in up to 1s connIndex=1 event=0 ip=198.41.192.57
99
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Connection terminated connIndex=1
100
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to run the datagram handler error="context canceled" connIndex=0 event=0 ip=198.41.200.33
101
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR failed to serve tunnel connection error="accept stream listener encountered a failure while serving" connIndex=0 event=0 ip=198.41.200.33
102
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Serve tunnel error error="accept stream listener encountered a failure while serving" connIndex=0 event=0 ip=198.41.200.33
103
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Retrying connection in up to 1s connIndex=0 event=0 ip=198.41.200.33
104
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR Connection terminated connIndex=0
105
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z ERR no more connections active and exiting
106
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Tunnel server stopped
107
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Metrics server stopped
108
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF icmp router terminated error="read udp 192.168.86.21:0: raw-read udp 192.168.86.21:0: use of closed network connection"
109
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Starting tunnel tunnelID=18dbfae9-fe5c-4380-a5c7-e5e875255b06
110
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Version 2026.2.0 (Checksum dc6e60da390e702c4db3332d0cc9cf4e98a88df99f17273e9b3d83f435695fb4)
111
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF GOOS: darwin, GOVersion: go1.25.7, GoArch: arm64
112
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Settings: map[cred-file:/Users/ope/.cloudflared/18dbfae9-fe5c-4380-a5c7-e5e875255b06.json credentials-file:/Users/ope/.cloudflared/18dbfae9-fe5c-4380-a5c7-e5e875255b06.json]
113
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF cloudflared will not automatically update if installed by a package manager.
114
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Generated Connector ID: ce0d7460-9359-478a-ae28-50faa0dcfeda
115
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Initial protocol quic
116
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF ICMP proxy will use 192.168.86.21 as source for IPv4
117
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF ICMP proxy will use fe80::1c9c:15a9:2404:3154 in zone en1 as source for IPv6
118
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Created ICMP proxy listening on 192.168.86.21:0
119
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF ICMP proxy will use 192.168.86.21 as source for IPv4
120
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF ICMP proxy will use fe80::1c9c:15a9:2404:3154 in zone en1 as source for IPv6
121
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Starting metrics server on 127.0.0.1:20241/metrics
122
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=0 event=0 ip=198.41.200.43
123
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Registered tunnel connection connIndex=0 connection=71caa6a2-4e65-4ece-b6f0-b2425f17813a event=0 ip=198.41.200.43 location=atl08 protocol=quic
124
+ 2026-03-06 03:14:28: 2026-03-06T02:14:28Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=1 event=0 ip=198.41.192.67
125
+ 2026-03-06 03:14:29: 2026-03-06T02:14:29Z INF Registered tunnel connection connIndex=1 connection=2e617672-4185-4116-9f85-faa2f4ee60de event=0 ip=198.41.192.67 location=atl06 protocol=quic
126
+ 2026-03-06 03:14:29: 2026-03-06T02:14:29Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=2 event=0 ip=198.41.200.33
127
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z INF Registered tunnel connection connIndex=2 connection=cedf8487-a1ee-4233-8f2f-6231f841452d event=0 ip=198.41.200.33 location=atl08 protocol=quic
128
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:8080
129
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.43 type=http
130
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:8080
131
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.43 type=http
132
+ 2026-03-06 03:14:30: 2026-03-06T02:14:30Z INF Tunnel connection curve preferences: [X25519MLKEM768 CurveP256] connIndex=3 event=0 ip=198.41.192.37
133
+ 2026-03-06 03:14:31: 2026-03-06T02:14:31Z INF Registered tunnel connection connIndex=3 connection=a23c65da-d8ea-458d-b23f-b8b17a0df4f0 event=0 ip=198.41.192.37 location=atl01 protocol=quic
134
+ 2026-03-06 03:17:57: 2026-03-06T02:17:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:8080
135
+ 2026-03-06 03:17:57: 2026-03-06T02:17:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 dest=https://enterprise.agenticmail.io/dashboard/agents/3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.200.43 type=http
136
+ 2026-03-06 03:17:57: 2026-03-06T02:17:57Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:8080
137
+ 2026-03-06 03:17:57: 2026-03-06T02:17:57Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: EOF" connIndex=0 dest=https://enterprise.agenticmail.io/favicon.ico event=0 ip=198.41.200.43 type=http
@@ -5,3 +5,4 @@
5
5
  2026-03-06 00:35:46: [TaskPoller] spawnForTask error: No API key configured for provider: undefined
6
6
  2026-03-06 00:51:46: [TaskPoller] spawnForTask error: No API key configured for provider: undefined
7
7
  2026-03-06 02:52:02: Fatal error: current transaction is aborted, commands ignored until end of transaction block
8
+ 2026-03-06 03:02:32: Fatal error: current transaction is aborted, commands ignored until end of transaction block
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.395",
3
+ "version": "0.5.397",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {