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/agent-helpers.js
CHANGED
|
@@ -2395,7 +2395,7 @@ var init_claude_registry = __esm(() => {
|
|
|
2395
2395
|
});
|
|
2396
2396
|
|
|
2397
2397
|
// ../../packages/core/src/version.ts
|
|
2398
|
-
var NEGOTIUM_VERSION = "0.2.
|
|
2398
|
+
var NEGOTIUM_VERSION = "0.2.27";
|
|
2399
2399
|
|
|
2400
2400
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
2401
2401
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -7636,7 +7636,7 @@ function backfillTopicSurfaces() {
|
|
|
7636
7636
|
logger.info({ surface }, "api_topics: surface backfilled");
|
|
7637
7637
|
}
|
|
7638
7638
|
function renameSurfaceTitleCollisions() {
|
|
7639
|
-
const rows = db.query("SELECT id, title, kind, surface FROM api_topics ORDER BY created_at ASC, rowid ASC").all();
|
|
7639
|
+
const rows = db.query("SELECT id, title, kind, surface FROM api_topics WHERE kind != 'manager' ORDER BY created_at ASC, rowid ASC").all();
|
|
7640
7640
|
const taken = new Set;
|
|
7641
7641
|
const update = db.query("UPDATE api_topics SET title = ? WHERE id = ?");
|
|
7642
7642
|
for (const row of rows) {
|
|
@@ -7857,12 +7857,10 @@ function findTopicTitleConflict(title, kind, opts = {}) {
|
|
|
7857
7857
|
if (general)
|
|
7858
7858
|
return rowToDto2(general);
|
|
7859
7859
|
}
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
params.push(kind, GENERAL_TOPIC_ID);
|
|
7865
|
-
}
|
|
7860
|
+
if (kind === "manager")
|
|
7861
|
+
return null;
|
|
7862
|
+
const params = [wanted, surface, kind, GENERAL_TOPIC_ID];
|
|
7863
|
+
let sql = "SELECT * FROM api_topics WHERE LOWER(TRIM(title)) = ? AND surface = ? AND (kind = ? OR id = ?)";
|
|
7866
7864
|
if (opts.excludeTopicId) {
|
|
7867
7865
|
sql += " AND id != ?";
|
|
7868
7866
|
params.push(opts.excludeTopicId);
|
|
@@ -18810,4 +18808,4 @@ export {
|
|
|
18810
18808
|
DEFAULT_SELF_CONFIG_PRODUCT
|
|
18811
18809
|
};
|
|
18812
18810
|
|
|
18813
|
-
//# debugId=
|
|
18811
|
+
//# debugId=B1C944EBC633AE5864756E2164756E21
|