Commit Graph
985 Commits
Author SHA1 Message Date
Chris Scott a9331cb484 refactor(mobile): group MoreDrawer items and remove command/file mention entries 2026-10-08 00:18:01 -04:00
Chris Scott 485ab940aa feat(ui): dock repo and session tools in a desktop side panel
Add a docked desktop tool panel with an icon rail, driven by the shared panel URL param, and keep the mobile dialogs and drawers. Extract dialog bodies into reusable content components, rename the walkthrough dialog to a sheet, and make walkthrough generation asynchronous with client polling.
2026-10-07 23:58:56 -04:00
Chris Scott bdbcc60716 Merge pull request #399 from chriswritescode-dev/fix/mobile-header-actions
fix(mobile): tighten repo header actions and hide empty reports inbox
2026-10-07 23:10:43 -04:00
Chris Scott 85da1ceb13 chore(release): bump manager to 0.22.0 and ocm-cli to 0.4.0 2026-10-07 23:04:41 -04:00
Chris Scott fbdc14b408 fix(mobile): tighten repo header actions and hide empty reports inbox
Group the back button with the title so the repo name truncates instead
of colliding with actions, unify the mobile header buttons to 40px
ghost icons, collapse the reports inbox when nothing is unread, and let
Header.Title truncate on every page.
2026-10-08 03:03:29 +00:00
Chris Scott 22fd9093e2 Merge pull request #398 from chriswritescode-dev/docs/refresh-env-and-ocm-guides
docs(ocm): refresh env and CLI guides and redact internal settings secrets
2026-10-07 22:18:08 -04:00
Chris Scott 4b6df6cf5f docs(ocm): refresh env and CLI guides and redact internal settings secrets 2026-10-07 22:17:46 -04:00
Chris Scott 4553af41dc fix(composer): stop the mobile caret misplacing on command mode toggles
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.
2026-10-07 22:01:53 -04:00
Chris Scott e42ce1bd56 Merge pull request #397 from chriswritescode-dev/fix/remote-terminal-proxy
fix(proxy): bridge ticketed PTY WebSockets for remote terminals
2026-10-07 21:48:18 -04:00
Chris Scott db08aca1c7 fix(composer): keep the mobile caret aligned when command mode toggles
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.
2026-10-07 21:37:10 -04:00
Chris Scott 958cf7cd53 fix(proxy): harden remote terminal WebSocket bridging
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
2026-10-07 21:22:15 -04:00
Chris Scott 15749ff737 Merge pull request #396 from chriswritescode-dev/fix/tui-goals-multirun-review
fix(tui): address review follow-ups for session goals and multi-runs
2026-10-07 21:07:07 -04:00
Chris Scott 390f95710c fix(ocm): abort the feature probe with the caller signal and keep fusion request ids across reopened multi-run commands 2026-10-07 20:47:12 -04:00
Chris Scott 98668f684b fix(proxy): bridge ticketed PTY WebSockets for remote terminals 2026-10-07 20:27:33 -04:00
Chris Scott c41149dc39 fix(tui): address review follow-ups for session goals and multi-runs 2026-10-07 20:26:49 -04:00
Chris Scott bf369540a7 Merge pull request #395 from chriswritescode-dev/feat/tui-goals-multirun
feat(tui): add session goals, multi-runs and server switching to the ocm TUI
2026-10-07 20:00:33 -04:00
Chris Scott 2d7d9d661d fix(ocm): keep the local switch reachable and correct older-Manager status docs 2026-10-07 20:00:20 -04:00
Chris Scott f67a48b728 feat(tui): fuse all started results of a run from the run list 2026-10-07 19:47:02 -04:00
Chris Scott 588bf7b12e refactor(tui): unify dialog row styling with shared rowColors helper 2026-10-07 19:33:57 -04:00
Chris Scott 7bb36e81cb Merge pull request #394 from chriswritescode-dev/feat/prompt-suggestions
feat(composer): unify prompt suggestions with fuzzy matching and a mobile keybar
2026-10-07 19:04:23 -04:00
Chris Scott 1e852c935a feat(tui): add session goals, multi-runs and server switching to the ocm TUI
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.
2026-10-07 19:01:52 -04:00
Chris Scott a9a1fd8d5a section 7: Phase 7: Browse recent multi-runs: open, discard, and fuse f 2026-10-07 18:33:03 -04:00
Chris Scott 0aaa2bd3d6 section 6: Phase 6: Launch a multi-run from the TUI (/multirun) 2026-10-07 18:33:03 -04:00
Chris Scott e63f756c32 section 5: Phase 5: Session goals in the TUI (/goal, composer status 2026-10-07 18:33:03 -04:00
Chris Scott 87e55372c0 section 4: Phase 4: Prompt and multi-select dialog helpers 2026-10-07 18:33:03 -04:00
Chris Scott a99e69f653 section 3: Phase 3: Shared Manager auth helper and Manager API client f 2026-10-07 18:33:03 -04:00
Chris Scott b316cb960c section 2: Phase 2: Attach env carries the Manager URL and repo id 2026-10-07 18:33:03 -04:00
Chris Scott e8548b1e07 section 1: Phase 1: Expose session goals and multi-runs on the internal 2026-10-07 18:33:03 -04:00
Chris Scott a566610c66 fix(composer): reverse arrow navigation for the mobile takeover list
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.
2026-10-07 18:20:43 -04:00
Chris Scott 855b78297e feat(composer): unify prompt suggestions with fuzzy matching and a mobile keybar 2026-10-07 18:04:08 -04:00
Chris Scott 704f81884b Merge pull request #393 from chriswritescode-dev/fix/assistant-mobile-files-tab
fix(navigation): scope the mobile Files tab to the assistant workspace
2026-10-07 17:12:31 -04:00
Chris Scott e133d37842 fix(navigation): scope the mobile Files tab to the assistant workspace 2026-10-07 17:09:40 -04:00
Chris Scott 0045a74716 Merge pull request #392 from chriswritescode-dev/feat/group-tool-calls
feat(chat): group exploration tool calls
2026-10-07 16:52:49 -04:00
Chris Scott 02d2e89bca feat(chat): group exploration tool calls
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.
2026-10-07 16:40:38 -04:00
Chris Scott 81dd00e89f Merge pull request #391 from chriswritescode-dev/feat/multi-run-sheet
feat(multi-run): add a runs sheet with inline fusion
2026-10-07 13:13:01 -04:00
Chris Scott ec96ac0d55 feat(multi-run): always run fusions in a new worktree 2026-10-07 13:12:25 -04:00
Chris Scott 30783c49ec fix(multi-run): deny defaults on fusion session permissions 2026-10-07 12:07:56 -04:00
Chris Scott 00b38552bf fix(multi-run): log fusion permission-mode failures separately
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.
2026-10-07 11:53:06 -04:00
Chris Scott f2e06abb62 feat(multi-run): add a runs sheet with inline fusion
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.
2026-10-07 11:36:36 -04:00
Chris Scott b0361cd98b Merge pull request #390 from chriswritescode-dev/fix/expired-permission-requests
fix(permissions): clear expired permission requests
2026-10-07 09:49:01 -04:00
Chris Scott fa0cde5d51 test(permissions): lock the declared error tag as FetchError.code 2026-10-07 09:43:37 -04:00
Chris Scott 041ca200f1 fix(permissions): unify expired pending-action handling 2026-10-07 09:22:50 -04:00
Chris Scott 2b12fc34cb style(worktree): drop the source badge corner radius 2026-10-07 09:05:33 -04:00
Chris Scott 83e8650949 fix(permissions): clear expired permission requests 2026-10-07 09:05:21 -04:00
Chris Scott bf9903862b Merge pull request #389 from chriswritescode-dev/fix/ocm-worktree-sessions
fix(ocm): scope the repo proxy to the requested worktree
2026-10-06 23:30:38 -04:00
Chris Scott 4cc9785948 fix(ocm): pass workspace directories through the repo proxy
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.
2026-10-06 23:02:56 -04:00
Chris Scott f952a99b37 fix(ocm): scope the repo proxy to the requested worktree 2026-10-06 22:47:43 -04:00
Chris Scott f4d2221d46 fix(sidebar): give sessions the spare height and cap the menu section
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.
2026-10-06 21:30:47 -04:00
Chris Scott a81c0becfa Merge pull request #387 from chriswritescode-dev/refactor/unify-model-picker
refactor: unify model selection with the TUI
2026-10-06 21:26:12 -04:00
Chris Scott 65b72e55ae refactor: unify model selection with the TUI
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.
2026-10-06 20:44:27 -04:00