Commit Graph
1154 Commits
Author SHA1 Message Date
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 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 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 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
Chris Scott 33d9523666 Merge pull request #436 from chriswritescode-dev/feat/activity-switcher
feat(activity): surface active work across the session picker, tool rail and mobile
2026-10-16 12:48:52 -04:00
Chris Scott cd4b8a7e07 fix(activity): page active work to the window, resolve backfilled ancestors, and tick the window clock 2026-10-16 12:14:51 -04:00
Chris Scott 84cdffa261 fix(activity): roll subagent activity up to its root and accept only selectable windows
- List child sessions in the activity query and credit each child's latest update
  to its root, so Recent includes roots whose subagents were active inside the
  window; children never become rows, and only roots of in-window children are
  fetched
- Show and sort activity rows by that rolled-up time
- Restrict activityWindowMinutes to the selectable options on write, and coerce a
  stored unknown value to the default on read so it cannot reset every preference
2026-10-16 11:57:52 -04:00
Chris Scott 8b6251d83b fix(activity): animate the braille spinner in SVG and tighten the activity lists
- Draw the TUI braille spinner as a 2x4 SVG dot cell stepped by declarative
  <animate> timelines derived from SPINNER_FRAMES: no JavaScript timer or React
  render per frame, and it keeps animating under prefers-reduced-motion so an
  active session never looks stalled
- Enlarge the spinner cell and dots so it stays legible next to 14px text
- Add a compact ActivityList variant for the mobile More drawer and Repos sheet:
  one flat list capped at five rows, single-line rows, no group subheadings
- Let ActivityList callers own navigation so a row tap navigates once instead of
  pushing a duplicate history entry
- Share the picker keyboard navigation between the session and project tabs and
  reuse the shared session merge helpers in the sidebar repo groups
2026-10-16 11:42:03 -04:00
Chris Scott 4bca305167 Merge pull request #435 from chriswritescode-dev/feat/agent-built-change-walkthrough
feat(walkthrough): build the change walkthrough in a spawned agent session
2026-10-16 00:56:06 -04:00
Chris Scott d8f2fcf29c feat(activity): surface active work across the session picker, tool rail and mobile 2026-10-16 00:54:06 -04:00
Chris Scott 0b637cadf4 feat(walkthrough): build the change walkthrough in a spawned agent session
Replace the fixed, stop-based walkthrough with an agent-built one. Every
request (Generate, Update, Regenerate, /walkthrough, the multi-run button
and the agent's open_walkthrough) now spawns a separate walkthrough
session. That session reads the diff through a new walkthrough_changes
action, writes one self-contained HTML file into a Manager-owned
directory, and calls publish_walkthrough; the panel renders the file in a
sandboxed frame shared with the inline artifact card and the file browser
HTML preview.

Publication marks the walkthrough ready while execution is tracked
separately, so Stop, the 15-minute limit, polling, refine gating and
interruption when the target session is deleted follow the agent instead
of the first publish. One diff copy is reused per run. Regenerate
interrupts the previous session and removes its output directory.

Walkthrough sessions are kept and listed, with their completion and error
push notifications muted. The stop pipeline, its wire schemas and the
concurrency limiter it used are removed.
2026-10-16 03:58:31 +00:00
Chris Scott be874ee07c Merge pull request #434 from chriswritescode-dev/fix/sse-close-on-pagehide
fix(sse): close the event stream on pagehide and reconnect on bfcache restore
2026-10-15 17:10:39 -04:00
Chris Scott bea9fb4567 Merge pull request #430 from chriswritescode-dev/feat/sandbox-sessions
feat(sandbox): per-session sandbox VMs with resource settings and provider arbitration
2026-10-15 17:10:02 -04:00
Chris Scott e0a1c093c7 fix(sandbox): reject core.worktree and symlinked .git redirects when deriving VM mounts 2026-10-15 16:53:49 -04:00
Chris Scott 2d2921a6c6 fix(sandbox): verify worktree back-links, fail fast on root lookup, and tidy settings saves 2026-10-15 16:53:49 -04:00
Chris Scott 1d001bc43e feat(sandbox): remove session VMs when the sandbox is turned off or idle
Turning a session's sandbox off now removes its microVM and Docker data volume in the background. The idle sweep removes idle session VMs instead of stopping them, covering stopped VMs and VMs left from before a Manager restart, and starts when the Manager boots. Removal is serialized against boots so a command planned during a removal gets a fresh VM.
2026-10-15 16:53:49 -04:00
Chris Scott 493a51f803 fix(sandbox-image): restart dockerd until ready in ocm-dockerd-start
On a freshly created session VM dockerd can exit with "timeout waiting for containerd to start" before its first initialization finishes. Supervise dockerd for up to 180s, relaunching it when it exits, instead of failing after 60s. Takes effect once the sandbox image is republished and its digest is pinned.
2026-10-15 16:53:49 -04:00
Chris Scott 27c673d830 fix(sandbox): recreate orphaned microVMs with --replace
A session VM create that fails partway leaves an orphaned msb sandbox that msb ls omits but every later create rejects as already existing, so the session could never get a VM again. Retry the create once with --replace when msb reports the name already exists.
2026-10-15 16:53:49 -04:00
Chris Scott 052218d5d6 fix(sse): notify listeners of events that cannot be routed to a directory
session.deleted carries only a session id, so after a Manager restart the aggregator could not resolve a directory for sessions created earlier and dropped the event before any listener ran. Deleting such a session leaked its sandbox microVM and volume, its sandbox and permission mode rows, goals, and walkthroughs. Listeners now receive unroutable events with a null directory.
2026-10-15 16:53:49 -04:00
Chris Scott 95a9f6e1ed feat(sandbox): add the session sandbox control to the desktop composer
The sandbox toggle and resources dialog were only reachable from the mobile composer menu. Add SessionSandboxMenu next to the permission toggle on desktop and share the sandbox menu items with the mobile menu.
2026-10-15 16:53:49 -04:00
Chris Scott b21fdf5b94 feat(sandbox): per-session sandbox VMs with resource settings and provider arbitration
- Sandbox new root sessions by default with a per-session composer toggle;
  child sessions inherit their root session's mode (OM-82)
- Run each sandboxed root session in its own microVM that mounts only the
  session's repository, with per-session CPU/memory overrides, Settings
  defaults, idle stop, and a cap on running VMs (OM-89)
- Arbitrate shell sandboxing with other plugins (opencode-forge) through the
  shared opencode.sandbox-arbiter.v1 registry so exactly one provider
  sandboxes each call regardless of load order; fail closed on claim errors
- Throw when another plugin rewrites a pinned sandbox shell setting
- Tag sandboxed tool results with the owning provider and show it in the badge
- Hint the agent to start Docker inside the VM only when OCM owns the session
2026-10-15 16:53:49 -04:00
Chris Scott ccdf75d803 Merge pull request #429 from chriswritescode-dev/feature/mobile-friendly-replies
feat(chat): tailor replies for mobile and text-to-speech
2026-10-15 16:45:28 -04:00
Chris Scott 1902fe5878 Merge pull request #425 from chriswritescode-dev/feat/session-picker-projects-tab
feat(sessions): switch between sessions and projects in the session picker
2026-10-15 16:45:20 -04:00
Chris Scott afc95039a8 fix(sessions): focus picker search after the tab shortcut on touch devices 2026-10-15 16:45:08 -04:00
Chris Scott cd2f6d47ea fix(sse): close the event stream on pagehide and reconnect on bfcache restore 2026-10-15 16:38:39 -04:00
Chris Scott abcecd1c0c fix(sessions): keep search focus when switching picker tabs 2026-10-15 16:36:23 -04:00
Chris Scott ef7ff521bd Merge pull request #433 from chriswritescode-dev/fix/backend-test-isolation
test(backend): isolate sandbox env and bound OpenCode stop in binary-backed tests
2026-10-15 16:00:47 -04:00