Commit Graph
1177 Commits
Author SHA1 Message Date
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 32a2cd1b85 Merge pull request #447 from chriswritescode-dev/feat/mobile-fullscreen-form-prompt
feat(sessions): full-screen mobile question sheet with persisted draft answers
2026-10-19 22:51:01 -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 d30c8eaa45 Merge pull request #445 from chriswritescode-dev/feat/remote-server-automation
feat(servers): terminals, notifications, permission modes, goals, multi-runs and schedules on linked servers
2026-10-19 22:46:12 -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
ioplex 360ceea3ac fix(servers): reconcile linked server statuses once the server list loads
The browser stream usually connects before the linked server list resolves, so a fresh page never fetched remote active sessions and busy remote sessions showed as idle until their status changed. Reconcile each enabled linked server once per stream connection, including servers that arrive or are enabled after the stream connects.
2026-10-19 19:01:31 -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 0a520babc4 feat(models): share favorites, recents and variants across linked servers
Model preferences are per user, as in the OpenCode TUI, so linked servers read and write the same model state as the local server. The picker still only lists models in the current server's catalog, and a failed preference load no longer blocks model selection.
2026-10-19 12:27:59 -04:00
Chris Scott a926991637 fix(navigation): ignore malformed server ids on remote project routes 2026-10-19 11:42:47 -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 cb9b7645e6 fix(opencode-import): skip caches and worktrees when importing host state
First-run state import copied the entire host OpenCode data directory, including snapshots, repos, binaries, logs and worktrees, which could reach tens of gigabytes, block startup, and recurse into the manager's own checkout. Skip those top-level entries and any entry containing the destination.
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 e4a4afbad4 fix(schedules): recover runs across reconnects and cancel on unavailable servers
Re-check monitored schedule sessions when their server's event stream reconnects, finalize cancellation without contacting a disabled or removed linked server, and tighten the disabled-server goal recovery test.
2026-10-18 21:59:15 -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 9ec2ed5903 fix(servers): address CodeRabbit review on linked-server automation
Scope session permission modes and schedule locks by server, keep remote schedule cleanup working when a server is disabled or removed, harden the session server-scope migration and rollback, reject local server multi-run targets, widen schedule query invalidation, and update CLI fixtures for server-scoped schemas.
2026-10-18 21:01:53 -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 c7a374af0d Merge pull request #444 from chriswritescode-dev/fix/mobile-header-notifications
feat(header): move mobile reports into the More menu and compact the header
2026-10-18 20:24:30 -04:00
Chris Scott a9bdb8358f feat(servers): run Manager automation on linked servers 2026-10-19 00:06:34 +00:00
Chris Scott db40b71108 feat(header): move mobile reports into the More menu and compact the header 2026-10-18 19:27:03 -04:00
Chris Scott 93118b678a feat(navigation): add drag-resizable desktop sidebar 2026-10-18 19:06:19 -04:00
Chris Scott c591c15743 feat(servers): link remote OpenCode servers with QR pairing 2026-10-18 22:35:39 +00:00
Chris Scott 7f5c242fe0 Merge pull request #440 from chriswritescode-dev/feat/execute-tool-card
feat(chat): render execute calls with a dedicated card and show tool images
2026-10-17 22:06:13 -04:00
Chris Scott 801a4cd112 fix: address review feedback on execute status, file links, and login flags 2026-10-17 20:36:51 -04:00
Chris Scott 421387793b feat(ocm-cli): replace the ocm process with opencode when warping 2026-10-17 20:09:00 -04:00
Chris Scott 8b428837c3 feat(ocm-cli): label the attached manager with an optional login name 2026-10-17 20:09:00 -04:00
Chris Scott 612b0e6621 feat(chat): show images and files returned by tool calls 2026-10-17 20:05:03 -04:00
Chris Scott f67c3e33b2 feat(chat): render Code Mode execute calls with a dedicated card 2026-10-17 20:00:36 -04:00
Chris Scott 851a63fb32 Merge pull request #439 from chriswritescode-dev/fix/branch-label-invalidation
fix(git): refresh branch labels after branch changes
2026-10-17 13:01:01 -04:00
Chris Scott f5199931d4 fix(git): refresh branch labels after branch changes
Invalidate the repo siblings cache with repo metadata so the session header branch updates after a switch, refresh the repo list git status and worktree siblings on vcs.branch.updated, and refresh repo metadata after continuing or aborting an operation.
2026-10-17 16:11:11 +00:00
Chris Scott 9075ab1101 chore(release): bump manager to 1.0.1 v1.0.1 2026-10-16 17:33:07 -04:00
Chris Scott 9f88c20bf4 fix(chat): present aborted messages as a muted status instead of an error
Aborted messages render as an inline status (label 'Stopped', muted tone, status role) while other errors keep the destructive tone as a compact alert row.
2026-10-16 17:31:02 -04:00
Chris Scott f5d073d7ee feat(session): show the workspace branch in the session detail header
Resolve the branch from the repo's siblings so a session running in a worktree shows that worktree's branch, falling back to the repo branch and staying empty when no branch is resolvable. Desktop renders a branch chip in the header; mobile appends it to the repo name in the subtitle.
2026-10-16 17:29:31 -04:00
Chris Scott 4e8051b75a Merge pull request #437 from chriswritescode-dev/fix/walkthrough-tool-waits-until-ready
fix(walkthrough): wait for the walkthrough to be ready before completing open_walkthrough
2026-10-16 17:02:56 -04:00
Chris Scott 4080702218 Merge pull request #438 from chriswritescode-dev/fix/activity-worktrees
fix(activity): surface worktree sessions in active work, the sidebar and repo badges
2026-10-16 17:02:28 -04:00
Chris Scott 62c2eb8aed fix(activity): report failed worktree lookups instead of showing partial session lists 2026-10-16 20:50:35 +00:00
Chris Scott bfbbbf08ef fix(activity): surface worktree sessions in active work, the sidebar and repo badges
- Resolve sessions in repo worktrees to the owning repo in the activity list; show the worktree branch and open the Workspaces tab
- Look up worktrees only for unmatched sessions in the window or under an active root, and hold the loading state until it settles
- Show schedule-worktree sessions only while running or needing input
- Light repo badges for worktree sessions through one app-wide worktree lookup
- List worktree sessions under the expanded repo in the sidebar
- Subscribe the event stream to active session directories so worktree permissions and forms arrive
- Keep the worktree tab when navigating from the desktop Activity panel
- Remove the braille spinner's always-dim bottom row
2026-10-16 20:36:56 +00:00
Chris Scott a0bdecd9fc fix(walkthrough): wait for the walkthrough to be ready before completing open_walkthrough 2026-10-16 20:09:20 +00:00
Chris Scott 1d31286904 fix(mobile): navigate to activity sessions from the More drawer
The activity row navigated and then called onClose, whose mobileTab-only
replace navigation resolved against the pre-navigation location and
overwrote the new route. Navigating alone drops mobileTab, which closes
the drawer without discarding the destination.
2026-10-16 14:00:24 -04:00