negotium 0.6.11 → 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.
@@ -3001,7 +3001,7 @@ var init_codex = __esm(async () => {
3001
3001
  });
3002
3002
 
3003
3003
  // ../../packages/core/src/version.ts
3004
- var NEGOTIUM_VERSION = "0.6.11";
3004
+ var NEGOTIUM_VERSION = "0.6.13";
3005
3005
 
3006
3006
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
3007
3007
  import { spawn as spawn2 } from "child_process";
@@ -6444,8 +6444,8 @@ class SqliteRuntimeBus {
6444
6444
  broadcastTopicUpdated(topicId) {
6445
6445
  this.emit({ type: "topic-updated", topicId, payload: null });
6446
6446
  }
6447
- broadcastTopicDeleted(topicId) {
6448
- this.emit({ type: "topic-deleted", topicId, payload: null });
6447
+ broadcastTopicDeleted(topicId, meta) {
6448
+ this.emit({ type: "topic-deleted", topicId, payload: meta ?? null });
6449
6449
  }
6450
6450
  broadcastAiActive(topicId, queryId) {
6451
6451
  this.broadcastAiStatus(topicId, { kind: "ai_active", queryId });
@@ -14589,7 +14589,10 @@ async function deleteTopicCascadeImpl(topic, userId, options, deletingAncestorId
14589
14589
  return;
14590
14590
  }
14591
14591
  deleted = true;
14592
- WsHub.get().broadcastTopicDeleted(topicId);
14592
+ WsHub.get().broadcastTopicDeleted(topicId, {
14593
+ surface: topic.surface,
14594
+ surfaceScope: topic.surfaceScope
14595
+ });
14593
14596
  for (const childId of reparentedChildIds)
14594
14597
  WsHub.get().broadcastTopicUpdated(childId);
14595
14598
  } finally {
@@ -19336,4 +19339,4 @@ export {
19336
19339
  DEFAULT_SELF_CONFIG_PRODUCT
19337
19340
  };
19338
19341
 
19339
- //# debugId=25AB947064107E8364756E2164756E21
19342
+ //# debugId=8B9AB8887B02E08264756E2164756E21