Skip to content

0.3.4 — inline code and model picker fixes / inline-код и списки моделей

Choose a tag to compare

@cfyz1297 cfyz1297 released this 10 Nov 14:20
· 82 commits to main since this release

⚠️ Устарел — используйте v0.3.5: он содержит эти же исправления плюс время работы инструмента.

English

0.3.4 (69) — two fixes: inline code in chat was drawn with misplaced highlight bars that cut letters, and the model / reasoning-effort pickers could come up empty after the phone came back. Installs over 0.3.3 without uninstalling.

  • Chat text renders cleanly. Inline code was highlighted with a background bar. On Android that bar is positioned from the code span's own box, and for a span that wraps it is taller than its line: the bar starts above the previous line and covers the letters there, and a smaller code font shifts it about half a line down. Reproduced on an Android emulator in several style variants — the bars themselves are what corrupted the text, not the glyphs. Inline code is now marked by colour and monospace only, so there is no rectangle that can land in the wrong place.
  • The model and effort sheets no longer come up empty. The provider catalog was fetched once per connection. If that single request landed while the phone was locked or the server was asleep, the list stayed empty for the rest of the session and only Settings → Models revived it (that screen loads the catalog itself). Now a failed request keeps the list already loaded, returning to the app refreshes it, and opening the picker with an empty catalog fetches again before showing the sheet.

APK: opencode-mobile-v2.apk + SHA256SUMS.txt.


Русский

0.3.4 (69) — два исправления: inline-код в чате рисовался съехавшими плашками, которые резали буквы, а списки моделей и усилия могли остаться пустыми после возврата к телефону. Ставится поверх 0.3.3 без удаления приложения.

  • Текст в чате отрисовывается чисто. Inline-код подсвечивался плашкой. На Android плашка позиционируется по собственному боксу фрагмента кода, и если фрагмент переносится, плашка выше своей строки: она начинается над предыдущей строкой и закрывает буквы там, а уменьшенный шрифт кода сдвигает её примерно на полстроки вниз. Воспроизведено на эмуляторе Android в нескольких вариантах стиля — портит текст именно прямоугольник, а не глифы. Теперь inline-код выделяется только цветом и моноширинным шрифтом, так что прямоугольнику негде съехать.
  • Списки моделей и усилия больше не пустые. Каталог провайдеров запрашивался один раз на соединение. Если этот единственный запрос приходился на заблокированный телефон или спящий сервер, список оставался пустым до конца сессии, и оживляли его только Настройки → Модели (этот экран загружает каталог сам). Теперь неудачный запрос сохраняет уже загруженный список, возврат в приложение обновляет каталог, а открытие списка с пустым каталогом сначала запрашивает его заново.

APK: opencode-mobile-v2.apk + SHA256SUMS.txt.