muuuuse 4.0.0 → 4.0.1
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/package.json +1 -1
- package/src/runtime.js +9 -7
package/package.json
CHANGED
package/src/runtime.js
CHANGED
|
@@ -1523,15 +1523,10 @@ class ArmedSeat {
|
|
|
1523
1523
|
this.identity.privateKey
|
|
1524
1524
|
);
|
|
1525
1525
|
|
|
1526
|
-
|
|
1527
|
-
// Commentary is gated here; continue targets filter independently.
|
|
1528
|
-
if (shouldAcceptInboundEntry(this.flowMode, signedEntry)) {
|
|
1529
|
-
appendJsonl(this.paths.eventsPath, signedEntry);
|
|
1530
|
-
this.log(`[${this.seatId}] ${previewText(payload)}`);
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1526
|
+
appendJsonl(this.paths.eventsPath, signedEntry);
|
|
1533
1527
|
this.forwardContinuation(signedEntry);
|
|
1534
1528
|
this.rememberEmittedAnswer(answerKey);
|
|
1529
|
+
this.log(`[${this.seatId}] ${previewText(payload)}`);
|
|
1535
1530
|
}
|
|
1536
1531
|
|
|
1537
1532
|
forwardContinuation(signedEntry) {
|
|
@@ -1795,6 +1790,13 @@ function stopAllSessions() {
|
|
|
1795
1790
|
signalPid(seat.wrapperPid, "SIGTERM");
|
|
1796
1791
|
}
|
|
1797
1792
|
}
|
|
1793
|
+
|
|
1794
|
+
// Clean up session directory so stale data doesn't bleed into next session.
|
|
1795
|
+
try {
|
|
1796
|
+
fs.rmSync(sessionPaths.dir, { recursive: true, force: true });
|
|
1797
|
+
} catch {
|
|
1798
|
+
// Best-effort cleanup.
|
|
1799
|
+
}
|
|
1798
1800
|
}
|
|
1799
1801
|
|
|
1800
1802
|
return {
|