negotium 0.22.4 → 0.22.5

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.
@@ -2455,6 +2455,12 @@ refreshForumCatalogViews();
2455
2455
  function isReservedRuntimeMcpServerName(name) {
2456
2456
  return Object.hasOwn(MCP_CATALOG, name) || nodeMcpEntries.some((entry) => entry.key === name);
2457
2457
  }
2458
+ var MANAGER_ONLY_HOST_MCP_NAMES = new Set(["topic-admin"]);
2459
+ function withoutManagerOnlyHostMcpServers(hostMcpServers) {
2460
+ if (!hostMcpServers)
2461
+ return;
2462
+ return Object.fromEntries(Object.entries(hostMcpServers).filter(([name]) => !MANAGER_ONLY_HOST_MCP_NAMES.has(name)));
2463
+ }
2458
2464
  function mergeHostMcpServers(base, hostMcpServers) {
2459
2465
  if (!hostMcpServers)
2460
2466
  return base;
@@ -2682,7 +2688,7 @@ function getMcpServersForQuery(opts) {
2682
2688
  fileDeliveryTools: opts.fileDeliveryTools
2683
2689
  }), opts.hostMcpServers), opts.topicId);
2684
2690
  }
2685
- return hideProviderIntrospectionForOtium(getForumMcpServers({
2691
+ return hideProviderIntrospectionForOtium(mergeHostMcpServers(getForumMcpServers({
2686
2692
  userId: opts.userId || "local",
2687
2693
  actorUserId: opts.actorUserId,
2688
2694
  actorTopicScope: opts.actorTopicScope,
@@ -2709,7 +2715,7 @@ function getMcpServersForQuery(opts) {
2709
2715
  extra: opts.mcpExtra,
2710
2716
  silent: opts.silent,
2711
2717
  peerBridge: opts.peerBridge
2712
- }), opts.topicId);
2718
+ }), withoutManagerOnlyHostMcpServers(opts.hostMcpServers)), opts.topicId);
2713
2719
  }
2714
2720
  function hideProviderIntrospectionForOtium(servers, topicId) {
2715
2721
  if (!topicId || getTopic(topicId)?.surface !== "otium")
@@ -3584,7 +3590,7 @@ import { tmpdir } from "os";
3584
3590
  import { dirname as dirname5, join as join3 } from "path";
3585
3591
 
3586
3592
  // ../../packages/core/src/version.ts
3587
- var NEGOTIUM_VERSION = "0.22.4";
3593
+ var NEGOTIUM_VERSION = "0.22.5";
3588
3594
 
3589
3595
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
3590
3596
  var moduleRequire = createRequire(import.meta.url);
@@ -5643,4 +5649,4 @@ export {
5643
5649
  buildClaudeDisallowedTools
5644
5650
  };
5645
5651
 
5646
- //# debugId=052575FE43ABD9DA64756E2164756E21
5652
+ //# debugId=408BB69E04535D8664756E2164756E21