Files
hectorqinandClaude Opus 5.5 392148c8da fix(android): shell contract check counts only page-callable methods
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>
2026-10-27 10:09:32 +00:00
..