@agenticmail/enterprise 0.5.367 → 0.5.369

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.
@@ -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-SQNTB6GD.js");
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 allSets = Object.keys(SET_DESCRIPTIONS);
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-XBMJR6DQ.js");
3405
+ const { createAllTools } = await import("./agent-tools-QHR2LY5V.js");
3401
3406
  if (context === "full") {
3402
3407
  return createAllTools(options);
3403
3408
  }
@@ -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-5AZEZO75.js");
4694
+ const { createAgentRuntime } = await import("./runtime-HNPFFKQL.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-5AZEZO75.js");
4963
+ const { createAgentRuntime } = await import("./runtime-HNPFFKQL.js");
4964
4964
  const { mountRuntimeApp, setRuntime } = await import("./routes-OKGFOUUP.js");
4965
4965
  let getEmailConfig;
4966
4966
  let onTokenRefresh;