negotium 0.6.12 → 0.6.13

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.
@@ -3040,7 +3040,7 @@ var init_codex = __esm(async () => {
3040
3040
  });
3041
3041
 
3042
3042
  // ../../packages/core/src/version.ts
3043
- var NEGOTIUM_VERSION = "0.6.12";
3043
+ var NEGOTIUM_VERSION = "0.6.13";
3044
3044
 
3045
3045
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
3046
3046
  import { spawn as spawn2 } from "child_process";
@@ -3818,8 +3818,8 @@ class SqliteRuntimeBus {
3818
3818
  broadcastTopicUpdated(topicId) {
3819
3819
  this.emit({ type: "topic-updated", topicId, payload: null });
3820
3820
  }
3821
- broadcastTopicDeleted(topicId) {
3822
- this.emit({ type: "topic-deleted", topicId, payload: null });
3821
+ broadcastTopicDeleted(topicId, meta) {
3822
+ this.emit({ type: "topic-deleted", topicId, payload: meta ?? null });
3823
3823
  }
3824
3824
  broadcastAiActive(topicId, queryId) {
3825
3825
  this.broadcastAiStatus(topicId, { kind: "ai_active", queryId });
@@ -14066,7 +14066,10 @@ async function deleteTopicCascadeImpl(topic, userId, options, deletingAncestorId
14066
14066
  return;
14067
14067
  }
14068
14068
  deleted = true;
14069
- WsHub.get().broadcastTopicDeleted(topicId);
14069
+ WsHub.get().broadcastTopicDeleted(topicId, {
14070
+ surface: topic.surface,
14071
+ surfaceScope: topic.surfaceScope
14072
+ });
14070
14073
  for (const childId of reparentedChildIds)
14071
14074
  WsHub.get().broadcastTopicUpdated(childId);
14072
14075
  } finally {
@@ -21643,4 +21646,4 @@ export {
21643
21646
  createAgentHealthMcpServer
21644
21647
  };
21645
21648
 
21646
- //# debugId=DB6A4CFA52E85E4564756E2164756E21
21649
+ //# debugId=D003C1D3A0FFF81964756E2164756E21