The composer frame kept `opacity-95` and `backdrop-blur-md`, so it stayed a
composited layer with the textarea inside it. Repainting that layer whenever
command or mention mode toggled (frame class change, mode badge mount, takeover
list mount, z-index change) still made iOS draw the caret at a stale position
below the typed text, even after the transition was removed.
Render the frosted background as a `before:` pseudo-element and drop the
compositing from the frame, so the textarea's ancestor is never a layer that
repaints on mode changes. Add a regression test pinning the invariant.
The composer frame used transition-all, so entering or leaving command/mention mode animated its border, ring and shadow. While that transition ran iOS Safari painted the textarea caret in the wrong place and left it there, dropping the caret below the typed text once the command list closed. Drop the transition so the frame changes in a single frame.
Restrict the token-free proxy socket to ticketed persistent PTY connects.
OpenCode builds per-directory services before it validates an /api/pty
ticket, so that route must not be reachable without the Manager token.
- Reject untrusted Origins and an uninitialized lifecycle before upgrading
- Open the upstream socket first and answer 403 on rejection instead of
upgrading and closing
- Handle ticketed sockets before the repo lookup and the password read
- Cap client-to-upstream buffering at 4 MiB and add a 10 s connect deadline
- Share bridge handlers, peer wrapper, proxy prefix and WebSocket URL helpers
- Remove persistent PTYs with their directory in TerminalService.removeAll
Expose session goals and multi-runs on the Manager internal API, add shared goal label formatters, and add the /goal, /multirun and /ocm commands with their dialogs, Manager auth and API helpers, and tests.
In takeover mode the suggestion rows render reversed so the best match sits nearest the composer. Stepping the selection in index order moved it opposite the pressed arrow on mobile; flip the step when isMobile while preserving desktop clamp and wrap behavior.
Collapse consecutive read, search and fetch tool calls in the chat transcript into one expandable summary line, matching the OpenCode TUI. Adds a groupToolCalls preference (default on) with a Settings toggle.
applyDefaultMode ran inside the launch try/catch, so a permission-mode
failure was swallowed by the launch-failure handler instead of being
logged, and any later post-launch step was skipped. Move it into its own
try/catch that logs with the session id, leaving the fusion started.
Replace the centered Multi-run dialog and the stacked Fusion dialog with one
right-side runs sheet, turn fusion into an inline selection mode, and
pre-approve each selected source workspace for the fusion session.
- Move MultiRunDialog into a SideDrawer with Runs / New run tabs; add
MultiRunCard, FusionComposer and an optimistic starting fusion.
- Add buildFusionSourcePermissionRuleset (external_directory allow, edit deny)
and thread permissions through SessionLauncher.launch.
- Apply the default permission mode to fusion sessions after launch.
- Let ModelCombobox and BranchCombobox take a listClassName; make SideDrawer
ignore an Escape already handled by a nested layer.
Keep any directory inside the Manager workspace (repos, OpenCode and
schedule worktrees) instead of forcing the bound repo, so /projects and
worktree session lists work. Only remap a directory the client sent on the
session list, and stop adding a directory filter to lists that carry none.
Sessions now fills the remaining sidebar height while the Menu section is
capped at 40% and scrolls internally. Menu rows use a denser variant of
SidebarItem, cutting each row from 44px to 32px.
Align the manager's model selection with the OpenCode TUI: one
model.json-backed preference store, one provider catalog, one ordering
and default-ownership rule, and one set of availability, ref-formatting
and variant helpers shared across chat, schedules, agents and the goal
auditor.
- Add a shared TUI-compatible model-preference module and make the
backend model.json store match its format.
- Consolidate the frontend provider catalog, availability check, model
ref formatter and variant persistence into single owners.
- Drive chat, schedule, agent and goal-auditor model lists from a shared
useModelSections hook and buildModelSections, following TUI ordering.
- Extract a shared ModelCombobox with a taller list, and list models the
TUI way in ModelQuickSelect.
- Add a shared isRecord util and model-selection comparison helpers.
Add a shared rehype pipeline (rehype-raw -> rehype-sanitize -> rehype-highlight) to every markdown renderer so scripts, frames and event handlers are stripped from model output and repository files while safe HTML and highlighting survive.
Also delete change walkthroughs when their session is deleted (including in-flight generation), build schedule model options from default/favorite/recent state, and include 127.0.0.1 origins in the default trusted origins.
Fuse two to five completed multi-run entries into one synthesized session,
and explain a session's diff as ordered walkthrough stops cached by diff hash.
- Multi-run fusion service, persistence, routes and FuseRunDialog
- Change walkthrough service, persistence, routes and ChangesWalkthroughDialog
- Shared unified-diff parser plus bounded text generation, json-extract,
text-truncate and service-error helpers
- add ScheduleRepoSwitcher: the header title opens a picker with All
repos and every repository, on desktop (dropdown) and mobile (sheet
with search)
- wire it into the per-repo schedules header and the all-repos header so
the scope can be changed from either page
- mark the current scope active and navigate on selection
- mount the worktrees session list for schedule-only repos so kept
worktrees are visible and expandable
- keep worktree groups mounted while sessions load so schedule group
expansion is not reset
- constrain the job detail grid on mobile so the worktree path no longer
overflows and clips
- label the icon-only Remove all worktrees button
- avoid invalid p-in-p nesting in the clear history description
Drop the repo workspace mode so every scheduled run executes in a
worktree. Clearing run history or deleting a run now asks whether to
commit pending changes and keep the run branches, or force-remove the
worktrees and delete the branches.
Sibling repo listings carry the schedule name, and the repo detail
workspace view subscribes to schedule worktree sessions only while
expanded. Also unify schedule worktree path/branch helpers, refuse a run
branch already checked out elsewhere, and clean up terminals when a
worktree is removed.