fix(extension): resolve 10-item limit truncation & WS zombie disconnection (v0.5.14)

This commit is contained in:
Variet Worker
2026-04-01 18:21:51 +09:00
parent 2d5059d2d5
commit 13f13ee243
10 changed files with 147 additions and 4 deletions

View File

@@ -178,7 +178,8 @@ function setupMonitor() {
ctx.logToFile(`[POLL#${pollCount}] alive`);
}
try {
const allTraj = await ctx.sdk.ls.rawRPC('GetAllCascadeTrajectories', {});
// Fix (v0.5.14): Reverted 100-limit DoS but restored descending: true with a safe limit of 30
const allTraj = await ctx.sdk.ls.rawRPC('GetAllCascadeTrajectories', { limit: 30, descending: true });
if (!allTraj?.trajectorySummaries) {
if (pollCount <= 3) ctx.logToFile('[POLL] no trajectorySummaries');
return;