negotium 0.12.0 → 0.12.2
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 +14 -7
- package/dist/agent-helpers.js.map +8 -8
- package/dist/{chunk-tvx2tm5q.js → chunk-bw6mrsc6.js} +3 -3
- package/dist/{chunk-tvx2tm5q.js.map → chunk-bw6mrsc6.js.map} +2 -2
- package/dist/{chunk-4drjv7x2.js → chunk-jz4jf6t1.js} +5 -1
- package/dist/{chunk-4drjv7x2.js.map → chunk-jz4jf6t1.js.map} +4 -4
- package/dist/{chunk-q1fta5e3.js → chunk-v9vh52nc.js} +1 -1
- package/dist/hosted-agent.js +6 -2
- package/dist/hosted-agent.js.map +5 -5
- package/dist/main.js +17 -7
- package/dist/main.js.map +11 -11
- package/dist/mcp-factories.js +15 -7
- package/dist/mcp-factories.js.map +9 -9
- package/dist/query-runtime.js +2 -2
- package/dist/query-runtime.js.map +3 -3
- package/dist/registry.js +3 -3
- package/dist/rollout.js +2 -2
- package/dist/runtime/src/mcp/runtime-spec.ts +12 -0
- package/dist/runtime/src/mcp/session-comm/context.ts +3 -0
- package/dist/runtime/src/mcp/session-comm/default-host.ts +3 -0
- package/dist/runtime/src/platform/mcp-config.ts +6 -0
- package/dist/runtime/src/query/active-rooms.ts +3 -0
- package/dist/runtime/src/runtime/ask-callbacks.ts +2 -0
- package/dist/runtime/src/runtime/inbox.ts +9 -0
- package/dist/runtime/src/runtime/turn-runner.ts +24 -2
- package/dist/runtime/src/version.ts +1 -1
- package/dist/types/packages/core/src/mcp/runtime-spec.d.ts +8 -0
- package/dist/types/packages/core/src/mcp/session-comm/context.d.ts +2 -0
- package/dist/types/packages/core/src/query/active-rooms.d.ts +2 -0
- package/dist/types/packages/core/src/runtime/ask-callbacks.d.ts +2 -0
- package/dist/types/packages/core/src/runtime/turn-runner.d.ts +1 -0
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-q1fta5e3.js.map → chunk-v9vh52nc.js.map} +0 -0
package/dist/hosted-agent.js
CHANGED
|
@@ -606,6 +606,7 @@ function hostedMcpCacheIdentity(surface, ctx) {
|
|
|
606
606
|
depth: ctx.depth ?? 0,
|
|
607
607
|
silent: ctx.silent ?? false,
|
|
608
608
|
agent: ctx.agent,
|
|
609
|
+
threadRootId: ctx.threadRootId ?? null,
|
|
609
610
|
peerBridge: ctx.peerBridge ?? null
|
|
610
611
|
};
|
|
611
612
|
break;
|
|
@@ -952,6 +953,7 @@ function buildBuiltinMcpServer(surface, ctx, stdio) {
|
|
|
952
953
|
...ctx.queryId ? { queryId: ctx.queryId } : {},
|
|
953
954
|
...ctx.wikiTopicId ? { wikiTopicId: ctx.wikiTopicId } : {},
|
|
954
955
|
...ctx.subagentParentTopicId ? { subagentParentTopicId: ctx.subagentParentTopicId } : {},
|
|
956
|
+
...ctx.threadRootId ? { threadRootId: ctx.threadRootId } : {},
|
|
955
957
|
cwd: ctx.cwd ?? (ctx.topicId ? resolveTopicWorkspaceDir(ctx.topicId) : process.cwd()),
|
|
956
958
|
agent,
|
|
957
959
|
...ctx.model ? { model: ctx.model } : {},
|
|
@@ -1139,6 +1141,7 @@ var MCP_CATALOG = {
|
|
|
1139
1141
|
agent,
|
|
1140
1142
|
depth = 0,
|
|
1141
1143
|
silent,
|
|
1144
|
+
threadRootId,
|
|
1142
1145
|
peerBridge
|
|
1143
1146
|
} = ctx;
|
|
1144
1147
|
const effectiveAgent = agent ?? FALLBACK_AGENT;
|
|
@@ -1152,6 +1155,7 @@ var MCP_CATALOG = {
|
|
|
1152
1155
|
`--agent=${effectiveAgent}`,
|
|
1153
1156
|
...cronSessionId ? [`--cron-session-id=${cronSessionId}`] : [],
|
|
1154
1157
|
...silent ? ["--reply-only=true"] : [],
|
|
1158
|
+
...threadRootId ? [`--thread-root-id=${threadRootId}`] : [],
|
|
1155
1159
|
...peerBridge ? [`--peer-host-query-id=${peerBridge.hostQueryId}`] : []
|
|
1156
1160
|
];
|
|
1157
1161
|
return buildBuiltinMcpServer("session-comm", ctx, () => buildStdioMcpServer(effectiveAgent, SESSION_COMM_SERVER, args, peerBridge ? peerSessionBridgeIpcEnv() : undefined));
|
|
@@ -2495,7 +2499,7 @@ import { tmpdir } from "os";
|
|
|
2495
2499
|
import { dirname as dirname5, join as join4 } from "path";
|
|
2496
2500
|
|
|
2497
2501
|
// ../../packages/core/src/version.ts
|
|
2498
|
-
var NEGOTIUM_VERSION = "0.12.
|
|
2502
|
+
var NEGOTIUM_VERSION = "0.12.2";
|
|
2499
2503
|
|
|
2500
2504
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
2501
2505
|
var moduleRequire = createRequire2(import.meta.url);
|
|
@@ -4333,4 +4337,4 @@ export {
|
|
|
4333
4337
|
buildClaudeDisallowedTools
|
|
4334
4338
|
};
|
|
4335
4339
|
|
|
4336
|
-
//# debugId=
|
|
4340
|
+
//# debugId=1B551F67FB4EB03364756E2164756E21
|