Commit Graph
1188 Commits
Author SHA1 Message Date
Chris Scott 052f2bbe04 Merge pull request #452 from chriswritescode-dev/fix/event-context-build-types
fix(events): restore frontend build after stale pending-action fixes
2026-10-20 18:49:50 -04:00
Chris Scott 63364baab5 fix(events): restore frontend build after stale pending-action fixes 2026-10-20 18:40:03 -04:00
Chris Scott 7cb28c0fc1 Merge pull request #451 from chriswritescode-dev/fix/stale-remote-questions
fix(events): clear stale pending questions from remote servers
2026-10-20 18:30:08 -04:00
Chris Scott 539f10f9a3 fix(events): ignore stale pending-action results for disabled servers and gone sessions 2026-10-20 18:24:03 -04:00
Chris Scott 9c28ab6873 fix(events): reconcile pending actions per server and drop unreachable ones
- Reconcile pending forms and permissions per server on reconnect, remote resync, and when a server is enabled after connect
- Resolve the directory of pending sessions with no known directory, dropping them when the session returns 404
- Drop a remote server's pending items when reconciling it fails as unreachable (status 0, 502, 504)
- Generalize the pending-item pruning helper
2026-10-20 18:16:02 -04:00
Chris Scott 382b26806e fix(events): clear stale pending questions from remote servers
- Drop pending forms and permissions when a session is deleted or its page returns 404
- Reconcile remembered remote directories on browser reconnect, not only local repos
- Purge pending items from remote servers that are disabled or removed
- Prefer the viewed session's pending item over a pinned item from another session
- Time out remote proxy GET/HEAD requests that never send headers (504)
2026-10-20 21:01:16 +00:00
Chris Scott b00b74f5a1 Merge pull request #449 from chriswritescode-dev/fix/ocm-link-service-discovery
fix(ocm-cli): detect the OpenCode service in ocm link
2026-10-20 09:35:16 -04:00
Chris Scott 4e26a1942c fix(ocm-cli): detect the OpenCode service in ocm link
Read the service registration then config for the base URL and password, warn when the service is loopback only, substitute LAN addresses for wildcard hosts, and use the Windows default port. Clarify that explicit URLs require explicit credentials.
2026-10-20 09:18:57 -04:00
Chris Scott 2106722c07 fix(shared): import jsonc-parser ESM entry
Align with ocm-cli's import so shared resolves the ESM build and its
types consistently under Bun and Vite bundling.
2026-10-20 00:25:17 -04:00
Chris Scott 9ae229f44a Merge pull request #448 from chriswritescode-dev/fix/form-prompt-desktop-overflow
fix(sessions): keep the question card within the space above the prompt
2026-10-19 23:26:15 -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 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