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.
- package/dist/agent-helpers.js +16 -8
- package/dist/agent-helpers.js.map +6 -6
- package/dist/{chunk-0jtan6fd.js → chunk-7rpbcn1j.js} +3 -3
- package/dist/{chunk-0jtan6fd.js.map → chunk-7rpbcn1j.js.map} +2 -2
- package/dist/{chunk-y4tyc603.js → chunk-a3me2mje.js} +3 -3
- package/dist/chunk-a3me2mje.js.map +10 -0
- package/dist/{chunk-rwj7x5pg.js → chunk-vh8px000.js} +9 -3
- package/dist/{chunk-rwj7x5pg.js.map → chunk-vh8px000.js.map} +3 -3
- package/dist/hosted-agent.js +10 -4
- package/dist/hosted-agent.js.map +4 -4
- package/dist/main.js +32 -14
- package/dist/main.js.map +9 -9
- package/dist/mcp-factories.js +16 -8
- package/dist/mcp-factories.js.map +6 -6
- package/dist/registry.js +3 -3
- package/dist/rollout.js +2 -2
- package/dist/runtime/src/agents/rollout/claude.ts +6 -1
- package/dist/runtime/src/application/submit-runtime-gateway-turn.ts +6 -4
- package/dist/runtime/src/node-host.ts +1 -0
- package/dist/runtime/src/platform/mcp-config.ts +60 -28
- package/dist/runtime/src/runtime/turn-runner.ts +9 -4
- package/dist/runtime/src/version.ts +1 -1
- package/dist/types/packages/core/src/agents/rollout/claude.d.ts +5 -0
- package/dist/types/packages/core/src/platform/mcp-config.d.ts +8 -0
- package/dist/types/packages/core/src/runtime/turn-runner.d.ts +6 -2
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-y4tyc603.js.map +0 -10
package/dist/hosted-agent.js
CHANGED
|
@@ -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.
|
|
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=
|
|
5652
|
+
//# debugId=408BB69E04535D8664756E2164756E21
|