fix(ext): v0.5.5 wrong-LS 자동 복구 — fixLSConnection export + 'input not registered' 감지 시 LS 재연결 + 1회 retry

This commit is contained in:
Variet Worker
2026-03-21 21:15:18 +09:00
parent a72c522ab5
commit 6234301a47
4 changed files with 51 additions and 13 deletions

View File

@@ -30,6 +30,7 @@ export interface BridgeContext {
recentDiscordSentTexts: Map<string, number>;
writeChatSnapshot: (text: string) => void;
writeChatSnapshotWithFiles: (text: string, files: Array<{ name: string, content: string }>) => void;
fixLSConnection?: () => Promise<boolean>;
}
let ctx: BridgeContext;