zidane 1.6.10 → 1.6.11
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.
|
@@ -778,7 +778,8 @@ ${skillsCatalog}`;
|
|
|
778
778
|
}
|
|
779
779
|
}) : void 0;
|
|
780
780
|
async function flushTurns() {
|
|
781
|
-
if (!session)
|
|
781
|
+
if (!session)
|
|
782
|
+
return;
|
|
782
783
|
const remaining = turns.slice(lastPersistedTurnCount);
|
|
783
784
|
if (remaining.length > 0) {
|
|
784
785
|
await session.appendTurns(remaining);
|
|
@@ -786,7 +787,8 @@ ${skillsCatalog}`;
|
|
|
786
787
|
}
|
|
787
788
|
}
|
|
788
789
|
async function finalizeSession(status) {
|
|
789
|
-
if (!session)
|
|
790
|
+
if (!session)
|
|
791
|
+
return;
|
|
790
792
|
const run2 = session.runs.find((r) => r.id === runId);
|
|
791
793
|
if (run2)
|
|
792
794
|
await session.updateRun(run2);
|
package/dist/harnesses.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineHarness,
|
|
3
3
|
noTools
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I4H5NMVB.js";
|
|
5
5
|
import {
|
|
6
6
|
createAgent,
|
|
7
7
|
createDockerContext,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
createSandboxContext,
|
|
11
11
|
createSpawnTool,
|
|
12
12
|
spawn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WNQFXNKB.js";
|
|
14
14
|
import {
|
|
15
15
|
connectMcpServers
|
|
16
16
|
} from "./chunk-5LOHDFK3.js";
|
package/dist/tools.js
CHANGED