@pasko70/pibo 3.2.1 → 3.2.2
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.
|
@@ -634,8 +634,10 @@ export class RuntimeRoutedSession {
|
|
|
634
634
|
}));
|
|
635
635
|
return;
|
|
636
636
|
case "compaction_end":
|
|
637
|
+
// Compaction continues the same product turn and eventId, so close open
|
|
638
|
+
// blocks without reusing their persisted output-part indices.
|
|
637
639
|
if (event.result && !event.aborted)
|
|
638
|
-
this.
|
|
640
|
+
this.closeActiveContentParts();
|
|
639
641
|
this.emit(this.withActiveMessage({
|
|
640
642
|
type: "compaction_end",
|
|
641
643
|
piboSessionId: this.piboSessionId,
|
|
@@ -1188,10 +1190,13 @@ export class RuntimeRoutedSession {
|
|
|
1188
1190
|
sessionIdentityOperationInFlight: this.sessionIdentityOperationInFlight,
|
|
1189
1191
|
});
|
|
1190
1192
|
}
|
|
1191
|
-
|
|
1193
|
+
closeActiveContentParts() {
|
|
1192
1194
|
this.activeAssistantIndex = undefined;
|
|
1193
|
-
this.nextAssistantIndex = 0;
|
|
1194
1195
|
this.activeThinkingIndex = undefined;
|
|
1196
|
+
}
|
|
1197
|
+
resetContentIndices() {
|
|
1198
|
+
this.closeActiveContentParts();
|
|
1199
|
+
this.nextAssistantIndex = 0;
|
|
1195
1200
|
this.nextThinkingIndex = 0;
|
|
1196
1201
|
}
|
|
1197
1202
|
withActiveMessage(event) {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pasko70/pibo",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pasko70/pibo",
|
|
9
|
-
"version": "3.2.
|
|
9
|
+
"version": "3.2.2",
|
|
10
10
|
"workspaces": [
|
|
11
11
|
"packages/workflows"
|
|
12
12
|
],
|