negotium 0.2.25 → 0.2.26

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.
@@ -1016,7 +1016,7 @@ var init_claude_registry = __esm(() => {
1016
1016
  });
1017
1017
 
1018
1018
  // ../../packages/core/src/version.ts
1019
- var NEGOTIUM_VERSION = "0.2.25";
1019
+ var NEGOTIUM_VERSION = "0.2.26";
1020
1020
 
1021
1021
  // ../../packages/core/src/agents/codex-native-multi-agent.ts
1022
1022
  import { spawn as spawn2 } from "child_process";
@@ -4351,7 +4351,7 @@ function renameSurfaceTitleCollisions() {
4351
4351
  const taken = new Set;
4352
4352
  const update = db.query("UPDATE api_topics SET title = ? WHERE id = ?");
4353
4353
  for (const row of rows) {
4354
- const key = (title) => `${row.surface}\x00${row.kind}\x00${normalizedTitle(title)}`;
4354
+ const key = (title) => [row.surface, row.kind, normalizedTitle(title)].join("\x00");
4355
4355
  if (!taken.has(key(row.title))) {
4356
4356
  taken.add(key(row.title));
4357
4357
  continue;
@@ -4504,7 +4504,7 @@ function upsertTopic(t) {
4504
4504
  is_subagent = excluded.is_subagent,
4505
4505
  visibility = excluded.visibility,
4506
4506
  surface = excluded.surface,
4507
- subagent_report_mode = excluded.subagent_report_mode`).run(t.id, t.title, normalized.kind, t.description ?? null, normalized.agent ?? null, t.defaultModel ?? null, t.defaultEffort ?? null, normalized.aiMode, t.createdAt, t.lastMessageAt ?? null, t.parentTopicId ?? null, t.memoryTopicId ?? null, t.memoryKey ?? null, t.isFork ? 1 : 0, t.isSubagent ? 1 : 0, normalizeTopicVisibility(t.visibility), normalizeTopicSurface(t.surface), t.subagentReportMode ?? "auto");
4507
+ subagent_report_mode = excluded.subagent_report_mode`).run(t.id, t.title, normalized.kind, t.description ?? null, normalized.agent ?? null, t.defaultModel ?? null, t.defaultEffort ?? null, normalized.aiMode, t.createdAt, t.lastMessageAt ?? null, t.parentTopicId ?? null, t.memoryTopicId ?? null, t.memoryKey ?? null, t.isFork ? 1 : 0, t.isSubagent ? 1 : 0, normalizeTopicVisibility(t.visibility), normalizeTopicSurface(t.surface ?? defaultTopicSurface()), t.subagentReportMode ?? "auto");
4508
4508
  db.query("DELETE FROM topic_members WHERE topic_id = ?").run(t.id);
4509
4509
  for (const participant of t.participants) {
4510
4510
  db.query("INSERT INTO topic_members (topic_id,user_id,role) VALUES (?,?,?)").run(t.id, participant.userId, participant.role);
@@ -21078,4 +21078,4 @@ export {
21078
21078
  createAgentHealthMcpServer
21079
21079
  };
21080
21080
 
21081
- //# debugId=BFB111C75156DA0764756E2164756E21
21081
+ //# debugId=A3645A70D023CC9C64756E2164756E21