@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/agent-helpers.js
CHANGED
|
@@ -5270,7 +5270,7 @@ var init_codex = __esm(async () => {
|
|
|
5270
5270
|
});
|
|
5271
5271
|
|
|
5272
5272
|
// ../../packages/core/src/version.ts
|
|
5273
|
-
var NEGOTIUM_VERSION = "0.23.
|
|
5273
|
+
var NEGOTIUM_VERSION = "0.23.15";
|
|
5274
5274
|
|
|
5275
5275
|
// ../../packages/core/src/agents/codex-native-multi-agent.ts
|
|
5276
5276
|
import { spawn as spawn2 } from "child_process";
|
|
@@ -20458,6 +20458,11 @@ function startAiTurn(params) {
|
|
|
20458
20458
|
}
|
|
20459
20459
|
if (decision.action === "abort-replace") {
|
|
20460
20460
|
const running = decision.running;
|
|
20461
|
+
const runningRequestIds = new Set(running.durableRequestIds ?? []);
|
|
20462
|
+
if (durableRequestIds.length > 0 && durableRequestIds.every((requestId) => runningRequestIds.has(requestId))) {
|
|
20463
|
+
logger.warn({ topicId, queryId: running.queryId, durableRequestIds }, "ai: ignored a replay of the durable request this room is already running");
|
|
20464
|
+
return running.queryId;
|
|
20465
|
+
}
|
|
20461
20466
|
if (isUserOrigin(running.origin) && !sameTurnActor(running.actorUserId, params.actorUserId)) {
|
|
20462
20467
|
const queuedQueryId = waitToStartRemoteUserTurn({
|
|
20463
20468
|
...params,
|
|
@@ -23205,4 +23210,4 @@ export {
|
|
|
23205
23210
|
withTaskSnapshots
|
|
23206
23211
|
};
|
|
23207
23212
|
|
|
23208
|
-
//# debugId=
|
|
23213
|
+
//# debugId=2617EB59D12BCB6864756E2164756E21
|