negotium 0.2.26 → 0.2.27
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 +7 -9
- package/dist/agent-helpers.js.map +4 -4
- package/dist/hosted-agent.js +2 -2
- package/dist/hosted-agent.js.map +2 -2
- package/dist/main.js +7 -9
- package/dist/main.js.map +4 -4
- package/dist/mcp-factories.js +7 -9
- package/dist/mcp-factories.js.map +4 -4
- package/dist/registry.js +2 -2
- package/dist/registry.js.map +2 -2
- package/dist/runtime/src/storage/api-topics.ts +17 -8
- package/dist/runtime/src/version.ts +1 -1
- package/dist/storage.js +6 -8
- package/dist/storage.js.map +3 -3
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/mcp-factories.js
CHANGED
|
@@ -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.
|
|
1019
|
+
var NEGOTIUM_VERSION = "0.2.27";
|
|
1020
1020
|
|
|
1021
1021
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
1022
1022
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -4347,7 +4347,7 @@ function backfillTopicSurfaces() {
|
|
|
4347
4347
|
logger.info({ surface }, "api_topics: surface backfilled");
|
|
4348
4348
|
}
|
|
4349
4349
|
function renameSurfaceTitleCollisions() {
|
|
4350
|
-
const rows = db.query("SELECT id, title, kind, surface FROM api_topics ORDER BY created_at ASC, rowid ASC").all();
|
|
4350
|
+
const rows = db.query("SELECT id, title, kind, surface FROM api_topics WHERE kind != 'manager' ORDER BY created_at ASC, rowid ASC").all();
|
|
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) {
|
|
@@ -4572,12 +4572,10 @@ function findTopicTitleConflict(title, kind, opts = {}) {
|
|
|
4572
4572
|
if (general)
|
|
4573
4573
|
return rowToDto2(general);
|
|
4574
4574
|
}
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
params.push(kind, GENERAL_TOPIC_ID);
|
|
4580
|
-
}
|
|
4575
|
+
if (kind === "manager")
|
|
4576
|
+
return null;
|
|
4577
|
+
const params = [wanted, surface, kind, GENERAL_TOPIC_ID];
|
|
4578
|
+
let sql = "SELECT * FROM api_topics WHERE LOWER(TRIM(title)) = ? AND surface = ? AND (kind = ? OR id = ?)";
|
|
4581
4579
|
if (opts.excludeTopicId) {
|
|
4582
4580
|
sql += " AND id != ?";
|
|
4583
4581
|
params.push(opts.excludeTopicId);
|
|
@@ -21078,4 +21076,4 @@ export {
|
|
|
21078
21076
|
createAgentHealthMcpServer
|
|
21079
21077
|
};
|
|
21080
21078
|
|
|
21081
|
-
//# debugId=
|
|
21079
|
+
//# debugId=C765C65C8A1E78BE64756E2164756E21
|