mirror of
https://github.com/hectorqin/reader.git
synced 2026-11-11 13:31:09 +08:00
check-shell.sh failed on main in three places, none of them real defects: - Every `fun` at method indentation counted as a bridge method, so the Kotlin-only SpeechBridge.interruptForMedia (called by the media bridge, not the page) was reported as undeclared. Only methods directly under @JavascriptInterface are the page's contract now. - configuredServerUrl was declared as an optional *property* (`configuredServerUrl?: () => string`), which the declaration reader does not see. Written as the equivalent optional method, `configuredServerUrl?(): string`. - The package/directory check stripped only src/main/java/, so every unit test under src/test/java/ was reported as misplaced. Any source set's java/ root is stripped now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>