@otium-team/negotium 0.23.14 → 0.23.15
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 -2
- package/dist/agent-helpers.js.map +4 -4
- package/dist/{chunk-3v58ejrk.js → chunk-3hf8y6bd.js} +2 -2
- package/dist/{chunk-3v58ejrk.js.map → chunk-3hf8y6bd.js.map} +2 -2
- package/dist/hosted-agent.js +2 -2
- package/dist/hosted-agent.js.map +2 -2
- package/dist/main.js +34593 -34455
- package/dist/main.js.map +80 -79
- package/dist/mcp-factories.js +7 -2
- package/dist/mcp-factories.js.map +4 -4
- package/dist/registry.js +1 -1
- package/dist/runtime/src/runtime/turn-runner.ts +39 -0
- package/dist/runtime/src/version.ts +1 -1
- package/dist/types/packages/core/src/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/mcp-factories.js
CHANGED
|
@@ -5316,7 +5316,7 @@ var init_codex = __esm(async () => {
|
|
|
5316
5316
|
});
|
|
5317
5317
|
|
|
5318
5318
|
// ../../packages/core/src/version.ts
|
|
5319
|
-
var NEGOTIUM_VERSION = "0.23.
|
|
5319
|
+
var NEGOTIUM_VERSION = "0.23.15";
|
|
5320
5320
|
|
|
5321
5321
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
5322
5322
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -20461,6 +20461,11 @@ function startAiTurn(params) {
|
|
|
20461
20461
|
}
|
|
20462
20462
|
if (decision.action === "abort-replace") {
|
|
20463
20463
|
const running = decision.running;
|
|
20464
|
+
const runningRequestIds = new Set(running.durableRequestIds ?? []);
|
|
20465
|
+
if (durableRequestIds.length > 0 && durableRequestIds.every((requestId) => runningRequestIds.has(requestId))) {
|
|
20466
|
+
logger.warn({ topicId, queryId: running.queryId, durableRequestIds }, "ai: ignored a replay of the durable request this room is already running");
|
|
20467
|
+
return running.queryId;
|
|
20468
|
+
}
|
|
20464
20469
|
if (isUserOrigin(running.origin) && !sameTurnActor(running.actorUserId, params.actorUserId)) {
|
|
20465
20470
|
const queuedQueryId = waitToStartRemoteUserTurn({
|
|
20466
20471
|
...params,
|
|
@@ -25882,4 +25887,4 @@ export {
|
|
|
25882
25887
|
protectMcpStdio
|
|
25883
25888
|
};
|
|
25884
25889
|
|
|
25885
|
-
//# debugId=
|
|
25890
|
+
//# debugId=6F1E51F59983617264756E2164756E21
|