From bf2a70570599865a69fde07577ef451a010a51c5 Mon Sep 17 00:00:00 2001 From: Randalix Date: Fri, 23 Oct 2026 15:46:51 +0200 Subject: [PATCH] fix(edit-history): doc comment no longer reads as a second _onSessionIdle definition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SSE dispatch-table guard matches `(^|\s)\s*\(` across all public modules; "Called by _onSessionIdle() …" in edit-history-ui.js counted as a second definition and turned the guard red. Co-Authored-By: Claude Opus 5.5 (1M context) --- src/web/public/edit-history-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/public/edit-history-ui.js b/src/web/public/edit-history-ui.js index c180647f..da26ac2d 100644 --- a/src/web/public/edit-history-ui.js +++ b/src/web/public/edit-history-ui.js @@ -199,7 +199,7 @@ Object.assign(CodemanApp.prototype, { }, /** - * Called by _onSessionIdle() (`session:idle`, { id }): the end of a turn. Claude's interactive + * Called by app.js's `session:idle` handler ({ id }): the end of a turn. Claude's interactive * transcript has no `result` line, so the transcript watcher's `transcript:complete` never fires * for these sessions. */