negotium 0.12.1 → 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/main.js CHANGED
@@ -2184,6 +2184,7 @@ function hostedMcpCacheIdentity(surface, ctx) {
2184
2184
  depth: ctx.depth ?? 0,
2185
2185
  silent: ctx.silent ?? false,
2186
2186
  agent: ctx.agent,
2187
+ threadRootId: ctx.threadRootId ?? null,
2187
2188
  peerBridge: ctx.peerBridge ?? null
2188
2189
  };
2189
2190
  break;
@@ -2596,6 +2597,7 @@ function buildBuiltinMcpServer(surface, ctx, stdio) {
2596
2597
  ...ctx.queryId ? { queryId: ctx.queryId } : {},
2597
2598
  ...ctx.wikiTopicId ? { wikiTopicId: ctx.wikiTopicId } : {},
2598
2599
  ...ctx.subagentParentTopicId ? { subagentParentTopicId: ctx.subagentParentTopicId } : {},
2600
+ ...ctx.threadRootId ? { threadRootId: ctx.threadRootId } : {},
2599
2601
  cwd: ctx.cwd ?? (ctx.topicId ? resolveTopicWorkspaceDir(ctx.topicId) : process.cwd()),
2600
2602
  agent,
2601
2603
  ...ctx.model ? { model: ctx.model } : {},
@@ -3778,7 +3780,7 @@ var exports_version = {};
3778
3780
  __export(exports_version, {
3779
3781
  NEGOTIUM_VERSION: () => NEGOTIUM_VERSION
3780
3782
  });
3781
- var NEGOTIUM_VERSION = "0.12.1";
3783
+ var NEGOTIUM_VERSION = "0.12.2";
3782
3784
 
3783
3785
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
3784
3786
  import { spawn as spawn2 } from "child_process";
@@ -29965,6 +29967,7 @@ async function buildHostedSurfaceServer(surface, context) {
29965
29967
  userId: context.userId,
29966
29968
  currentTopic: context.topicTitle,
29967
29969
  currentTopicId: context.topicId,
29970
+ currentThreadRootId: context.threadRootId,
29968
29971
  subagentParentTopicId: context.subagentParentTopicId,
29969
29972
  peerHostQueryId: context.peerBridge?.hostQueryId,
29970
29973
  depth: context.depth ?? 0,
@@ -50771,4 +50774,4 @@ switch (command) {
50771
50774
  }
50772
50775
  }
50773
50776
 
50774
- //# debugId=50C725DD994A7C1D64756E2164756E21
50777
+ //# debugId=60B98B6B10E61F0664756E2164756E21