Skip to content

0.3.5 — tool duration fix / время работы инструмента

Choose a tag to compare

@cfyz1297 cfyz1297 released this 10 Nov 14:51
· 94 commits to main since this release

⚠️ Устарел — используйте v0.3.6.

English

0.3.5 (70) — a long-running tool no longer looks like a frozen app. Installs over 0.3.4 without uninstalling.

  • Elapsed time while a tool runs. The tool row printed a duration only when both the start and the end timestamp were present, and a running tool has no end — so a ten-minute command sat there with no sign of life and the session looked hung. It now ticks the elapsed time every second, and reads 5m 05s past the first minute.
  • V2 servers send no tool timing at all. Checked against the live server: every tool part arrives as {status, input, content, metadata} with no time field, so there was nothing to measure even for finished tools. The V2 compatibility layer now builds that window from the event timestamps: the first event of a call opens it, the terminal one closes it.

No other behaviour changed.

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


Русский

0.3.5 (70) — долго работающий инструмент больше не выглядит как зависшее приложение. Ставится поверх 0.3.4 без удаления приложения.

  • Прошедшее время, пока инструмент работает. Длительность в строке показывалась только когда есть и начало, и конец, а у выполняющегося инструмента конца нет — поэтому десятиминутная команда висела без признаков жизни, и сессия выглядела зависшей. Теперь время тикает каждую секунду, а после первой минуты показывается как 5m 05s.
  • V2-сервер вообще не присылает время инструментов. Проверено на живом сервере: каждая часть приходит как {status, input, content, metadata} без поля time, так что измерять было нечего даже у завершённых вызовов. Слой совместимости с V2 теперь строит это окно из отметок событий: первое событие вызова открывает его, завершающее — закрывает.

Другое поведение не менялось.

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