Commit Graph
596 Commits
Author SHA1 Message Date
Chris Scott 36a5693b5c fix(frontend): float one jump-to-latest button above the composer
Match the mobile app: while the transcript is scrolled up, show a centered
round button above the composer instead of swapping the mobile composer tools
button for an arrow and hiding the desktop arrow when the prompt has text.

The composer tools menu now stays available on mobile at all times, and the
desktop in-composer arrow is gone.
2026-10-23 14:20:57 -04:00
Chris Scott 67cfd862b1 fix(tts): let voice mode read replies aloud on iOS
iOS rejects play() outside a user gesture unless the same media element was
already played inside one. Each chunk used a new Audio element, so replies in
voice mode failed with "Reading the reply failed".

- reuse one audio element for all external TTS playback
- add tts.unlock(), which plays a short silent clip on that element, and call
  it from the voice mode start and orb taps
- route every playback failure through failPlayback(message) and pass the
  message to onEnd so voice mode shows the underlying reason
- report a blocked play() as "Audio playback was blocked by the browser"
2026-10-23 14:08:33 -04:00
Chris Scott 811c22c7ec refactor(frontend): use async/await for composer send completion 2026-10-23 13:06:24 -04:00
ioplex dabe750920 fix: key auth rate limiting on the socket address only and clear sent drafts after unmount
- auth: drop the AUTH_TRUSTED_PROXY_HEADERS opt-in. Configured headers were
  trusted from any peer, so direct access to the published port could still
  rotate them. Better Auth now reads only the Manager-set socket address
  header; the env, compose forwarding, docs and tests are removed.
- composer: a send that completes after the composer unmounted (session
  switched mid-send) left the submitted text in the per-session draft store.
  Sends now complete through mutateAsync and clear the stored draft only if
  it still matches what was submitted, so newer edits are kept.
2026-10-23 12:49:53 -04:00
ioplex 4ec62cd4e7 fix: address findings from the full Docker evaluation of main
Critical and high:
- repos: unlinking a local repo removes only the Manager reference and alias,
  never the repository files; confirm button reads "Unlink"
- auth: rate-limit by the socket address; trust proxy headers only when
  AUTH_TRUSTED_PROXY_HEADERS is set (documented and forwarded in compose)
- composer: per-session in-memory drafts (text, bash mode, attachments);
  Escape no longer clears the prompt
- url params: compose same-tick updates so schedule dialogs stay closed after
  create/delete; delete dialog names the job

Medium:
- tool rows show failures (non-zero shell exit, failed exploration members)
- voice conversation shows the specific error and a starting state
- settings: Escape in dropdowns and the shortcut recorder no longer closes
  the dialog; mobile deep links open the requested section; one content tree
  per platform
- closing pushed sheets, settings, tool panels and schedule dialogs goes back
  in history
- login returns to the requested page; signed-out pages make no
  authenticated requests
- action terminals keep their output (Manager-side output capture and replay)
- unpushed-commit detection, commit message kept on failure
- binary files with unknown extensions are detected and not editable
- tool panel resizes when docked and floats as a dismissible sheet when the
  page is too narrow
- Docker image runs tini as PID 1

Low: not-found states, add-repo and branch validation errors (4xx),
search-aware empty states, mobile repo sort/filter/select cues, sidebar
resize affordance and collapse shortcut, mobile unread badge, preview port
filtering, terminal close handling, walkthrough empty state and helper
session filtering, placeholder contrast, permission labels and focus,
TTS task-list sanitizing, git identity email validation, quieter git
logging, hermetic worktree tests, and accessible names for icon-only
controls.
2026-10-23 11:42:37 -04:00
Chris Scott 1c22ef6ea1 Merge pull request #459 from chriswritescode-dev/feat/voice-conversation-mode
feat(frontend): hands-free voice conversation mode in the composer
2026-10-22 22:13:03 -04:00
Chris Scott a5694d874f refactor(frontend): isolate voice conversation from the memoized composer re-renders 2026-10-22 21:58:13 -04:00
Chris Scott 73af7aec89 fix(frontend): address CodeRabbit review findings on voice conversation mode
Report STT start and capture failures instead of staying on Listening, treat a failed reading as an error, skip replies with no readable text, stop auto-play replaying a reply voice mode already read, focus the text box after Edit in text box, and strip think blocks before text reaches TTS.
2026-10-22 20:36:01 -04:00
Chris Scott 5d8b2c9445 feat(frontend): hands-free voice conversation mode in the composer
The mic opens a voice loop that listens, sends on end of speech, reads each completed reply and reopens the mic when the agent is idle. The phase reducer, pause options and voice-mode instruction move to the shared package. TTS gains per-message completion and pause/resume. The old tap-and-drag recorder, its strip and its CSS are removed.
2026-10-22 20:18:16 -04:00
Chris Scott 6ac264f9d0 test(frontend): cover RepoList empty-state add action
Asserts the empty-state Add repository button calls onAddRepo once, the only add path left on mobile after the header action became desktop-only.
2026-10-22 09:30:07 -04:00
Chris Scott 739f4d3d5c feat(frontend): move the mobile add-repo action into the search row
The header ran out of room on narrow screens now that the server switcher is
always present. The Repo button is desktop-only and mobile gets a bordered
icon button beside the search input instead. The empty state carries its own
add button, since it renders no search row.
2026-10-22 09:20:24 -04:00
Chris Scott 9319579150 fix(frontend): queue TTS auto-play per step instead of cutting each off
The auto-play hook returned early whenever the last assistant message was
still streaming, before it could record that a reply had started, so the
first reply in a fresh session was never spoken. Remove that input and rely
on the message's own completion state.

Auto-play now speaks every completed assistant step and queues steps that
arrive during playback, resuming after a short pause, rather than
interrupting the audio in progress. Manual playback and stop still interrupt
and clear the queue.
2026-10-22 00:08:11 -04:00
Chris Scott 276bc1b920 fix(frontend): address CodeRabbit review findings on the transcript branch
- wrap long retry errors instead of truncating them
- keep the server switcher in the home header for the local server too
- accept trailing-slash session detail routes in isSessionDetailRoute
2026-10-21 23:41:12 -04:00
Chris Scott cbdd252d7a feat(frontend): switch servers from the home page header
Replace the read-only connection status with the server switcher, so the
header names the selected linked server and can change servers in place.
2026-10-21 23:14:12 -04:00
Chris Scott c4bb104cc0 fix(frontend): reveal transcript actions on focus and bound the shell preview
- expose the user message action buttons to keyboard focus, not just hover
- compute the shell preview tail once per output change and clamp very long lines
2026-10-21 23:14:12 -04:00
Chris Scott d8495df811 fix(frontend): keep transcript display settings working with the plain log layout 2026-10-21 22:26:33 -04:00
Chris Scott 8004496f10 feat(frontend): restyle the session transcript as a plain log with collapsible tool details 2026-10-21 21:42:11 -04:00
Chris Scott d154d56645 fix(frontend): delay and de-duplicate desktop sidebar tooltips 2026-10-21 14:20:03 -04:00
Chris Scott 095d3a6b37 fix(frontend): keep the discard release from restarting the mic and let reduced motion stop the wave animation 2026-10-21 14:20:03 -04:00
Chris Scott 99cc8a7f24 fix(frontend): raise the mobile composer controls to 44px 2026-10-21 14:13:29 -04:00
Chris Scott a2ae98107d feat(frontend): replace the mobile voice overlay with an in-row recorder 2026-10-21 14:07:10 -04:00
Chris Scott 160770396f fix(frontend): lift the mobile composer row clear of the rounded screen corners and match the agent and model control height 2026-10-21 13:26:20 -04:00
Chris Scott 570e528ba1 feat(frontend): dock the mobile composer as a solid full-width strip and enlarge the mic and tools buttons 2026-10-21 13:08:43 -04:00
Chris Scott 32102cca3e fix(frontend): anchor the mobile activity scanner just below the composer controls 2026-10-21 13:01:48 -04:00
Chris Scott 648713268d feat(frontend): consolidate composer controls at 36px and repaint the activity scanner in CSS 2026-10-21 12:40:34 -04:00
ioplex 76d52b3550 feat(frontend): move send to the input and show key bar in the controls row
- Place Send/Queue/View at the end of the textarea and hide Send when the draft is empty
- Keep the model picker visible on mobile while a session is active
- Keep the mobile mic in the controls row alongside Send
- Show the /, @, ! keys in place of the agent/model selectors while focused on mobile
- Compact the mobile controls row while the prompt is focused
2026-10-21 12:40:34 -04:00
ioplex 332fb07f45 feat(frontend): move session activity scanner under the composer
- Keep the model picker visible while a session is active
- Render a full-width segmented scanner below the composer via shared ScannerBars
- Reduce SessionStatusIndicator to the list-row spinner
2026-10-21 12:40:34 -04:00
Chris Scott 884233d95c fix(e2e): stop the login page requesting linked servers and update the background-activity test 2026-10-20 23:04:26 -04:00
Chris Scott 24ac88e724 fix(repos): add bottom padding to the desktop repo and remote project lists 2026-10-19 23:14:17 -04:00
Chris Scott 1a5776dd5b fix(sessions): keep the question card within the space above the prompt 2026-10-19 23:12:40 -04:00
Chris Scott 050f0a27e4 Merge remote-tracking branch 'origin/main' into feat/mobile-fullscreen-form-prompt
# Conflicts:
#	frontend/src/pages/SessionDetail.tsx
2026-10-19 22:50:16 -04:00
Chris Scott a525314c38 feat(sessions): add a side-question button to the mobile question sheet 2026-10-19 22:43:58 -04:00
Chris Scott b01e8707ee feat(sessions): full-screen mobile question sheet with persisted draft answers 2026-10-19 19:07:54 -04:00
Chris Scott 8605dbf494 feat(servers): open a remote directory session from a dialog
The open-directory form no longer sits at the bottom of the project list, where it overlapped the mobile tab bar. A button beside the search input opens it in a dialog.
2026-10-19 15:41:23 -04:00
Chris Scott c18c3584ef feat(servers): show linked server projects on the home page and remove the server page
The home page follows the sidebar server selection and lists a linked server's projects with the same cards, search and row actions as local repositories. /servers/:id now selects that server and redirects home. Back from a remote session goes to its project page and back from a project goes home, and the selection follows the route app-wide so mobile keeps the linked server.
2026-10-19 15:01:48 -04:00
Chris Scott c1e09f34a5 feat(servers): name the local server OC Manager in the switcher 2026-10-19 12:58:17 -04:00
Chris Scott 24745597f2 Merge remote-tracking branch 'origin/feat/linked-opencode-servers' into feat/remote-server-automation
# Conflicts:
#	frontend/src/lib/navigation.test.ts
2026-10-19 11:37:57 -04:00
Chris Scott 42dd733378 fix(servers): open settings tabs with history and keep server selection on load errors
External settings openers push a history entry and close the mobile sheet. The sidebar server selection only falls back to Local after the server list loads successfully.
2026-10-19 11:37:42 -04:00
Chris Scott 1659664d53 fix(servers): test edited server URLs with the stored password
Test always checks the draft URL. When the password is left blank, the stored password is reused only if the draft URL has the same origin as the saved server.
2026-10-19 11:37:40 -04:00
Chris Scott 96e22dfa66 feat(servers): compact server switcher and mobile navigation for linked servers
Replace the Servers list with a single dropdown switcher in the sidebar, collapsed rail and mobile repo sheet, flagging activity on other servers. Show the More button on remote sessions, the tab bar on server and project pages, and the server name in a distinct color in the session header.
2026-10-19 10:36:43 -04:00
Chris Scott 8277ec253e fix(terminal): remove terminals that exit cleanly
A shell that exits with code 0 is now deleted and its tab removed, and the terminal panel closes when it was the last one. Non-zero exits keep their tab and output.
2026-10-19 10:36:43 -04:00
Chris Scott 36b8c1b200 feat(servers): switch the sidebar listing between local and linked servers
The Servers section becomes a Local/server switcher shared by the desktop sidebar, collapsed rail and mobile repo sheet. Selecting a linked server lists its projects and sessions with the same navigation as local repos, and a remote project page mirrors the local repo page.
2026-10-19 10:16:32 -04:00
Chris Scott e707e80b91 fix(sessions): delete local active sessions through the local server
Render the session picker's Active tab under the local server scope so
local rows deleted from a linked-server route no longer go to the
linked server.
2026-10-18 22:06:37 -04:00
Chris Scott 5586120ba2 fix(servers): guard stored credentials and reconcile remote session status
Reject a server address change to a new origin unless a password or
pairing is supplied, so the stored password is never sent to another
host. Test connection now checks the edited values and warns when an
origin change needs credentials. Replay and reconcile remote session
statuses on stream reconnect and browser resync so linked-server
sessions no longer stay busy. Treat malformed server session URLs as
not found instead of throwing.
2026-10-18 21:53:19 -04:00
Chris Scott 7874afdab9 feat(servers): bring linked-server sessions to parity with local
Add a read-only Source Control panel for linked servers backed by the OpenCode VCS API, broadcast remote events to every client, include recent linked-server sessions in Activity with per-server sidebar indicators, and enable the session picker, tool shortcuts, mobile activity, remote Skills panel and remote permission prompt titles.
2026-10-18 21:46:14 -04:00
Chris Scott 780d31087b Merge remote-tracking branch 'origin/feat/linked-opencode-servers' into feat/remote-server-automation
# Conflicts:
#	backend/src/services/remote-server-events.ts
#	frontend/src/components/navigation/MoreDrawer.test.tsx
#	frontend/src/components/navigation/moreDrawerItems.test.ts
#	frontend/src/lib/opencode-event-stream/openCodeEventStream.ts
#	frontend/src/pages/SessionDetail.tsx
#	frontend/src/pages/__tests__/SessionDetail.remote.test.tsx
2026-10-18 20:53:23 -04:00
Chris Scott 3a7227a602 Merge origin/main into feat/linked-opencode-servers
Keep the schedule reports list added on main and the remote-route gating
for activity, repos, and assistant entries added on this branch.
2026-10-18 20:29:25 -04:00
Chris Scott f566556fd6 feat(servers): harden pairing and run linked-server sessions in the UI
Replace the plaintext pairing exchange with a nonce and HMAC proof plus
AES-256-GCM encrypted credentials, bumping links to v2. Track session
ownership per linked server so activity, session picker, transcript, MCP
and skills views work against remote servers. Share encrypted secret
access, event routing and URL helpers across backend, shared and CLI.
2026-10-18 20:27:34 -04:00
Chris Scott ca54b08cef Merge pull request #443 from chriswritescode-dev/feat/resizable-sidebar
feat(navigation): add drag-resizable desktop sidebar
2026-10-18 20:24:48 -04:00
Chris Scott a9bdb8358f feat(servers): run Manager automation on linked servers 2026-10-19 00:06:34 +00:00