@agenticmail/enterprise 0.5.367 → 0.5.368
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/{agent-tools-XBMJR6DQ.js → agent-tools-QHR2LY5V.js} +1 -1
- package/dist/{chunk-X2YL6KSY.js → chunk-2EI4AYXM.js} +2 -5
- package/dist/{chunk-ULKGUIVP.js → chunk-IO5EPYLA.js} +7 -2
- package/dist/{chunk-OKLI672B.js → chunk-SXDQEUHA.js} +2 -2
- package/dist/{chunk-Z3OXPQ73.js → chunk-ZW24HPRG.js} +2 -2
- package/dist/{cli-agent-JYQSLTKP.js → cli-agent-VEQZKUCM.js} +1 -1
- package/dist/{cli-serve-YTFZUDRS.js → cli-serve-2K7AX2G2.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{meetings-SQNTB6GD.js → meetings-EMKU56G3.js} +1 -1
- package/dist/{runtime-5AZEZO75.js → runtime-GS2SAORH.js} +1 -1
- package/dist/{server-7IR64ZIT.js → server-ET4HLIC7.js} +1 -1
- package/dist/{setup-R4AAM5PT.js → setup-DCBFFTLT.js} +1 -1
- package/logs/cloudflared-error.log +6 -0
- package/package.json +1 -1
|
@@ -522,10 +522,7 @@ function createBrowserTool(options) {
|
|
|
522
522
|
{ type: "text", text: `Screenshot of: ${page.url()}
|
|
523
523
|
Saved to: ${screenshotPath}
|
|
524
524
|
Filename: ${screenshotFile}
|
|
525
|
-
Size: ${buf.length} bytes
|
|
526
|
-
|
|
527
|
-
To attach this screenshot to an email, use gmail_reply or gmail_send with:
|
|
528
|
-
attachment_paths: ["${screenshotPath}"]` },
|
|
525
|
+
Size: ${buf.length} bytes` },
|
|
529
526
|
{ type: "image", data: buf.toString("base64"), mimeType: "image/png" }
|
|
530
527
|
]
|
|
531
528
|
};
|
|
@@ -1418,7 +1415,7 @@ Tips:
|
|
|
1418
1415
|
} catch {
|
|
1419
1416
|
}
|
|
1420
1417
|
try {
|
|
1421
|
-
const { ensureBrowser: ensureBrowser3, sendChatMessage: sendChatMessage2 } = await import("./meetings-
|
|
1418
|
+
const { ensureBrowser: ensureBrowser3, sendChatMessage: sendChatMessage2 } = await import("./meetings-EMKU56G3.js");
|
|
1422
1419
|
const { page } = await ensureBrowser3(false, agentId, false);
|
|
1423
1420
|
if (!vcm._announcedChatFallback?.has(agentId)) {
|
|
1424
1421
|
if (!vcm._announcedChatFallback) vcm._announcedChatFallback = /* @__PURE__ */ new Set();
|
|
@@ -3345,7 +3345,12 @@ var SET_DESCRIPTIONS = {
|
|
|
3345
3345
|
};
|
|
3346
3346
|
function createRequestToolsTool(allTools, activeSets, _context) {
|
|
3347
3347
|
const loadedSets = new Set(activeSets);
|
|
3348
|
-
const
|
|
3348
|
+
const availableSetsInAllTools = /* @__PURE__ */ new Set();
|
|
3349
|
+
for (const tool of allTools) {
|
|
3350
|
+
const set = TOOL_REGISTRY[tool.name];
|
|
3351
|
+
if (set) availableSetsInAllTools.add(set);
|
|
3352
|
+
}
|
|
3353
|
+
const allSets = Object.keys(SET_DESCRIPTIONS).filter((s) => availableSetsInAllTools.has(s));
|
|
3349
3354
|
const notLoaded = allSets.filter((s) => !loadedSets.has(s));
|
|
3350
3355
|
const description = notLoaded.length > 0 ? `Load more tools into this session. Available: ${notLoaded.map((s) => `${s} (${SET_DESCRIPTIONS[s]})`).join("; ")}.` : "All tool sets are loaded.";
|
|
3351
3356
|
return {
|
|
@@ -3397,7 +3402,7 @@ function createRequestToolsTool(allTools, activeSets, _context) {
|
|
|
3397
3402
|
};
|
|
3398
3403
|
}
|
|
3399
3404
|
async function createToolsForContext(options, context, opts) {
|
|
3400
|
-
const { createAllTools } = await import("./agent-tools-
|
|
3405
|
+
const { createAllTools } = await import("./agent-tools-QHR2LY5V.js");
|
|
3401
3406
|
if (context === "full") {
|
|
3402
3407
|
return createAllTools(options);
|
|
3403
3408
|
}
|
|
@@ -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-
|
|
1237
|
+
const { createServer: createServer2 } = await import("./server-ET4HLIC7.js");
|
|
1238
1238
|
const server2 = createServer2({ port: tunnel.port, db, jwtSecret });
|
|
1239
1239
|
const handle2 = await server2.start();
|
|
1240
1240
|
spinner.succeed("Server running");
|
|
@@ -1535,7 +1535,7 @@ async function deploy(config, db, jwtSecret, vaultKey, spinner, chalk) {
|
|
|
1535
1535
|
return {};
|
|
1536
1536
|
}
|
|
1537
1537
|
spinner.start("Starting local server...");
|
|
1538
|
-
const { createServer } = await import("./server-
|
|
1538
|
+
const { createServer } = await import("./server-ET4HLIC7.js");
|
|
1539
1539
|
const server = createServer({ port: 3e3, db, jwtSecret });
|
|
1540
1540
|
const handle = await server.start();
|
|
1541
1541
|
spinner.succeed("Server running");
|
|
@@ -4691,7 +4691,7 @@ function createServer(config) {
|
|
|
4691
4691
|
engineInitialized = true;
|
|
4692
4692
|
if (config.runtime?.enabled) {
|
|
4693
4693
|
try {
|
|
4694
|
-
const { createAgentRuntime } = await import("./runtime-
|
|
4694
|
+
const { createAgentRuntime } = await import("./runtime-GS2SAORH.js");
|
|
4695
4695
|
const { mountRuntimeApp, setRuntime } = await import("./routes-OKGFOUUP.js");
|
|
4696
4696
|
let getEmailConfig;
|
|
4697
4697
|
let onTokenRefresh;
|
|
@@ -4960,7 +4960,7 @@ function createServer(config) {
|
|
|
4960
4960
|
await setEngineDb(engineDb, config.db);
|
|
4961
4961
|
if (config.runtime?.enabled) {
|
|
4962
4962
|
try {
|
|
4963
|
-
const { createAgentRuntime } = await import("./runtime-
|
|
4963
|
+
const { createAgentRuntime } = await import("./runtime-GS2SAORH.js");
|
|
4964
4964
|
const { mountRuntimeApp, setRuntime } = await import("./routes-OKGFOUUP.js");
|
|
4965
4965
|
let getEmailConfig;
|
|
4966
4966
|
let onTokenRefresh;
|
|
@@ -820,7 +820,7 @@ async function runAgent(_args) {
|
|
|
820
820
|
}
|
|
821
821
|
} catch {
|
|
822
822
|
}
|
|
823
|
-
const { createAgentRuntime } = await import("./runtime-
|
|
823
|
+
const { createAgentRuntime } = await import("./runtime-GS2SAORH.js");
|
|
824
824
|
let orgIntMgr = null;
|
|
825
825
|
try {
|
|
826
826
|
const { orgIntegrations: oi } = await import("./routes-OKGFOUUP.js");
|
|
@@ -94,7 +94,7 @@ async function runServe(_args) {
|
|
|
94
94
|
process.exit(1);
|
|
95
95
|
}
|
|
96
96
|
const { createAdapter, smartDbConfig } = await import("./factory-RTZU2K54.js");
|
|
97
|
-
const { createServer } = await import("./server-
|
|
97
|
+
const { createServer } = await import("./server-ET4HLIC7.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
|
@@ -57,14 +57,14 @@ Skill Development:
|
|
|
57
57
|
break;
|
|
58
58
|
case "serve":
|
|
59
59
|
case "start":
|
|
60
|
-
import("./cli-serve-
|
|
60
|
+
import("./cli-serve-2K7AX2G2.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
|
|
61
61
|
break;
|
|
62
62
|
case "agent":
|
|
63
|
-
import("./cli-agent-
|
|
63
|
+
import("./cli-agent-VEQZKUCM.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
|
|
64
64
|
break;
|
|
65
65
|
case "setup":
|
|
66
66
|
default:
|
|
67
|
-
import("./setup-
|
|
67
|
+
import("./setup-DCBFFTLT.js").then((m) => m.runSetupWizard()).catch(fatal);
|
|
68
68
|
break;
|
|
69
69
|
}
|
|
70
70
|
function fatal(err) {
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
provision,
|
|
15
15
|
runSetupWizard
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SXDQEUHA.js";
|
|
17
17
|
import {
|
|
18
18
|
AgentRuntime,
|
|
19
19
|
EmailChannel,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
executeTool,
|
|
29
29
|
runAgentLoop,
|
|
30
30
|
toolsToDefinitions
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IO5EPYLA.js";
|
|
32
32
|
import {
|
|
33
33
|
ValidationError,
|
|
34
34
|
auditLogger,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
requireRole,
|
|
43
43
|
securityHeaders,
|
|
44
44
|
validate
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZW24HPRG.js";
|
|
46
46
|
import "./chunk-DJBCRQTD.js";
|
|
47
47
|
import {
|
|
48
48
|
PROVIDER_REGISTRY,
|
|
@@ -159,3 +159,9 @@
|
|
|
159
159
|
2026-03-05 20:36:07: 2026-03-05T19:36:07Z ERR Request failed error="stream 993 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
|
|
160
160
|
2026-03-05 20:36:34: 2026-03-05T19:36:34Z ERR error="stream 1381 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
161
161
|
2026-03-05 20:36:34: 2026-03-05T19:36:34Z ERR Request failed error="stream 1381 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
|
|
162
|
+
2026-03-05 21:13:03: 2026-03-05T20:13:03Z ERR error="stream 1349 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
163
|
+
2026-03-05 21:13:03: 2026-03-05T20:13:03Z ERR Request failed error="stream 1349 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
|
|
164
|
+
2026-03-05 21:13:04: 2026-03-05T20:13:04Z ERR error="stream 1425 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
165
|
+
2026-03-05 21:13:04: 2026-03-05T20:13:04Z ERR Request failed error="stream 1425 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
|
|
166
|
+
2026-03-05 21:13:33: 2026-03-05T20:13:33Z ERR error="stream 1805 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
167
|
+
2026-03-05 21:13:33: 2026-03-05T20:13:33Z ERR Request failed error="stream 1805 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
|