Keep the leading slash when resolving relative paths against an absolute
markdown file, retry an inline image when its source changes after a load
failure, and render linked markdown images without a nested expand button.
Route markdown image nodes through a shared MarkdownImage component that
loads local paths through the raw file API, and allow data:image/* sources
through the sanitizer and URL transform so inline images survive rendering.
Render image attachments as thumbnails in the message thread, and accept
image/webp uploads.
On mobile the dictation button sat at the right edge of the composer, directly
below the floating cluster (Stop, Clear, TTS pill) anchored to the composer's
top-right corner, so the two were adjacent touch targets. Render the dictation
button ahead of the composer tools menu so it takes the slot one position left.
The reorder exposed a latent bug: renderVoiceButton attaches the same
voiceButtonContainerRef for both variants, so the last one rendered owns it.
The desktop variant is always rendered (CSS-hidden below md), so moving the
mobile variant first handed the ref to the desktop container and the
outside-press guard stopped recognising the mic, ending the recording on the
first tap. Render the desktop variant only at desktop widths so exactly one
voice container exists in the DOM.
The mobile composer mixed 32-38px controls with the 44px dictation button,
so the action row changed height between the empty (mic) and typed (Send)
states, and most controls sat below the 44px touch target.
Raise the mic, Send, tools, agent, model, Latest and keybar controls to 44px
on mobile and pin the mic to the right edge of its container. Let the model
button fill the row by growing its left-hand group, which was content-sized
and left the model button's flex-1 with nothing to grow into.
Desktop sizes are unchanged through md: guards. The mobile mic is located in
tests through a data-voice-variant attribute rather than Tailwind sizing
classes.
The header context count differed from the OpenCode TUI and dipped then jumped
back up mid-session:
- cache write tokens were left out of the total, so context stored as a cache
write was dropped and then reappeared as a cache read on the next step
- the newest assistant message without token data was skipped only one message
back, so a step without usage showed 0 or a stale count
The total now includes cache write tokens and the newest assistant message that
reports tokens is counted, matching the TUI: messages before the latest completed
compaction are ignored, messages at or after a revert point are ignored, and the
indicator is hidden when no message qualifies or the total is zero.
- keep shell state changed by events that arrive while a shell snapshot is in
flight, so an exited shell is not restored and a new one is not dropped
- resolve session ancestry for the owners of running shells and for new shells
- follow already-known parent links when resolving ancestry
- sync running shells for repository directories added after the stream connects
- announce session and background activity to screen readers from the prompt bar
The transcript cache is never re-read when a mounted session page switches to
another session or is returned to, so a session that finished while the user was
away kept showing its stop button and treated new prompts as queued. Re-read the
newest page whenever the session subscription starts with an existing cache, and
drop refetchOnMount so a mount performs a single read.
- Hash text, voice, model, speed, normalized endpoint and API key into one SHA-256 key shared by the disk cache and in-flight synthesis, so different providers cannot reuse each other's audio and old keys are not read as fallback.
- Add DELETE /api/tts/cache to remove completed cached audio files, keep temporary files, tolerate missing files and report real failures.
- Add a Clear audio cache action to TTS settings, available even when TTS is disabled or the builtin provider is selected, with pending, success and retryable error states.
Add DELETE /api/change-walkthroughs/:sessionId to cancel the generation for a session and source. The service removes the in-flight entry, persists the partial walkthrough, and aborts a per-generation signal threaded through model resolution and every model call. Cancellation is not recorded as a failure and leaves the remaining stops pending. A Stop button in the walkthrough chrome calls the new endpoint.
- Tag each playback and ignore stale async continuations and audio events, so a previous message's chunk chain cannot play over the current one.
- Cancel browser speech regardless of the saved provider.
- Fetch each chunk at most once per playback and await an in-flight fetch instead of starting a duplicate.
Model pickers without a location, such as the goal auditor and walkthrough model settings, could stay stuck on an empty model list. OpenCode's model and provider catalog events were only delivered to clients subscribed to the originating directory, and the provider catalog was not reloaded on a browser stream reconnect or upstream resync, so a list cached empty while OpenCode was loading or restarting never refreshed.
Route model.updated, provider.updated and integration.updated through the resolved-event broadcast like the command, agent and skill catalogs, and reload the provider catalog on reconnect and resync alongside them.
- Wait for the model catalog once per walkthrough generation instead of before every model call
- Report open_walkthrough as requested, not opened, and drop its unused metadata
- Share the ocm tool and action names through @opencode-manager/shared
- Remove the unused source-request nonce and duplicate session check
- Scan only new messages when auto-opening the walkthrough
- Assert the request action cannot reach the internal change-walkthroughs route
Resolve ChangesWalkthroughSheet conflicts by keeping main's overview/paging model and the branch's source picker, per-stop status, and mechanical hunks.
Addresses two CodeRabbit findings on the update banner change.
The banner row could not fit the icon, message and Reload button on a narrow viewport at large text zoom, and the root clips overflow, so the button could be unreachable. Let the row wrap; the button drops to its own centered line only when the content does not fit.
The login, register and setup containers centred their forms with no scrolling, so once the banner reduced the shell height a tall form was clipped and its submit button could not be reached. Make the container the scroll area and centre the form wrapper with min-h-full, matching the pattern already used in GlobalSchedules and PromptsTab.
The slash menu prefixed every command with the Command (⌘) glyph, which the leading "/" already conveys and which only consumed horizontal space. Render the kind icon only for kinds that have one, so command rows start at the label while agent, skill and file rows keep theirs.
The commands query seeded every new directory key with the builtin commands as initialData. With the app's 10s staleTime, React Query treated that seed as freshly fetched data, so switching to a session in another project never requested that location's commands and the slash menu showed only the builtins until some later invalidation.
Mark the seed as stale with initialDataUpdatedAt: 0 so each directory fetches its commands on mount.
The service worker update notice was a dismissible toast that was easy to miss, leaving users on a stale build. Render a persistent status bar above the app shell with an explicit Reload action, and switch the shell to a flex column so pages size against the shell height (h-full) rather than the viewport (h-dvh), keeping the layout correct while the banner is visible.
OpenCode returns an empty command list for a location until it has
loaded that location's config, then emits a command.updated event. When
the browser stream or the upstream SSE connection is reconnecting, that
event is missed and nothing reloads the list, leaving the slash menu
stuck on the builtin commands until the OpenCode server is restarted.
Reload commands, agents and skills on both a browser stream reconnect
and an upstream resync, and handle skill.updated so skill changes
refresh like agent and command changes already do.
- fetch picker sessions only while the dialog is open
- list all-projects sessions with one request per page
- block infinite-scroll paging while a search is pending
- memoize picker rows with stable callbacks
- remove deleted sessions from list caches instead of refetching
- keep the repo tab when the open session is deleted
- reuse useSessionSearch in the sidebar session tree
- drop dead activeSessionID/isActive and share delete, session-key and repo-map helpers
- move usePersistentBoolean to its own hook
Resolve effective bindings from stored prefs plus defaults with leader/direct collision handling and default leader Ctrl+X; let direct actions pass through in terminals and suppress abort while an overlay is open. Add half-page scroll disengage, verified overlay focus restore, and consolidate prompt reset.