Commit Graph
872 Commits
Author SHA1 Message Date
Chris Scott beab2646e7 section 2: Phase 2: Terminal service, REST routes and cleanup 2026-10-03 01:05:02 -04:00
Chris Scott b494ee9f4a section 1: Phase 1: Shell environment owner and repo working-directory 2026-10-03 00:56:39 -04:00
Chris Scott 52b6147ed3 chore: bump version to 0.20.0 v0.20.0 2026-10-02 22:55:54 -04:00
Chris Scott 9ae48d8a98 fix(schedules): let drawer content scroll under the safe area and add tab bar spacing 2026-10-02 21:34:06 -04:00
Chris Scott 6a5f8926c1 fix(schedules): apply mobile tabbar padding to scrollable panels 2026-10-02 21:03:39 -04:00
Chris Scott d046bccaf6 refactor(schedules): improve mobile table layout and extract tabbar padding utility 2026-10-02 20:57:42 -04:00
Chris Scott 4ee3e50af1 Merge pull request #378 from chriswritescode-dev/feat/slash-command-parity
feat(commands): align built-in slash commands with OpenCode v2
2026-10-02 19:54:04 -04:00
Chris Scott 91607a2531 Merge remote-tracking branch 'origin/main' into feat/slash-command-parity
# Conflicts:
#	frontend/src/components/schedules/RunDetailPanel.test.tsx
#	frontend/src/components/schedules/RunDetailPanel.tsx
#	frontend/src/pages/__tests__/SessionDetail.export.test.tsx
2026-10-02 19:52:28 -04:00
Chris Scott ca348f20a3 feat(schedules): open repo session with run context for finished worktree runs 2026-10-02 12:52:46 -04:00
Chris Scott 2c658dde53 Merge pull request #377 from chriswritescode-dev/fix/om-15-documentation-drift
fix: reconcile documentation guarantees and enforcement (OM-15)
2026-10-02 11:02:29 -04:00
Chris Scott a857f330e2 docs: correct --create push behavior (OM-15) 2026-10-02 11:02:07 -04:00
Chris Scott 7102715068 fix(commands): run multi-line and Enter commands, restore focus, refresh forks
- Match command arguments across newlines so a multi-line /btw or custom
  command runs instead of being sent as plain text.
- Run a typed command on plain Enter once its name is complete, while
  Enter stays a new line for regular text and Shift+Enter for commands.
- Focus the prompt when a session opens on a pointer device, and return
  focus to the previously focused element when a dialog closes, except a
  text field on touch so the keyboard stays closed.
- Invalidate the session list on session.forked so a forked session shows
  in the sidebar without waiting for the next event.
- Correct the Quick Start keyboard shortcuts.
2026-10-02 10:45:20 -04:00
Chris Scott 7e93eb4c34 feat(commands): align built-in slash commands with OpenCode v2
Replace the split built-in command name list and switch with one typed
registry, so a registered command without a handler is a compile error.
Remove the broken themes/share/unshare/editor entries and the hardcoded
init; server and custom commands now win on a name clash and built-ins
dispatch by registry identity.

Add /copy, /btw, /rename, /fork (message picker), /timeline, /model,
/agent, /variants, /mcp, /skills, /settings and /connect. Open the model
picker through state so /model and the select-model shortcut work while a
response is running, load full session history in the fork picker, and
keep attachments when a built-in command is submitted.

Extract shared clipboard and primary-agent helpers, reuse CopyButton in
the manager token settings, and update the Quick Start and chat docs.
2026-10-02 09:53:57 -04:00
Chris Scott dcb50b7e0f fix: reconcile documentation guarantees and enforcement (OM-15) 2026-10-02 13:00:09 +00:00
Chris Scott 6c878ae79a Merge pull request #376 from chriswritescode-dev/feat/schedule-run-notifications
feat(schedules): add unread run report notifications and run search
2026-10-02 00:04:31 -04:00
Chris Scott f695c142f1 fix(schedules): use real row buttons and correct run timestamps
- replace row-level keyboard handlers with buttons and aria-labels
- keep the active run resolvable when filtered out of the list
- show run startedAt consistently and ignore the unread shortcut with modifiers
2026-10-02 00:04:13 -04:00
Chris Scott 4cf69e9023 refactor(frontend): drop sidebar action bus and primary CTAs 2026-10-01 23:56:55 -04:00
Chris Scott 5a8a81419c feat(schedules): add unread run report notifications and run search 2026-10-01 23:35:10 -04:00
Chris Scott 7cac8baade style(frontend): apply thin theme-matched scrollbars globally 2026-10-01 18:35:56 -04:00
Chris Scott 332c3271d2 Merge pull request #375 from chriswritescode-dev/feat/opencode-failure-reporting
feat(opencode): surface server startup and recovery failures in-app
2026-10-01 18:26:29 -04:00
Chris Scott 9a23aa0c2a fix(frontend): keep sidebar state usable when localStorage throws 2026-10-01 18:25:25 -04:00
Chris Scott edc3fb4219 feat(frontend): default sidebar sections open and theme toasts
- Rework useSidebarSections to track sections independently, open by default
- Theme sonner toasts with app color tokens and the selected theme mode
2026-10-01 17:49:57 -04:00
Chris Scott e77badb444 fix(opencode): harden supervised server startup failure diagnostics 2026-10-01 17:26:45 -04:00
Chris Scott 7e9afc3da4 feat(opencode): surface server startup and recovery failures in-app 2026-10-01 16:13:11 -04:00
Chris Scott 53a70d8545 fix(files): skip broken symlinks during directory scans 2026-10-01 11:23:30 -04:00
Chris Scott 074c7d178e Merge pull request #373 from chriswritescode-dev/feat/schedule-mcp-servers
feat(schedules): attach MCP servers to scheduled runs
2026-09-29 21:19:37 -04:00
Chris Scott 8e32507f21 feat(schedules): attach MCP servers to scheduled runs 2026-09-29 19:43:02 -04:00
Chris Scott 24e2037b73 fix(opencode-config): reject redacted placeholder in raw-text config writes 2026-09-29 16:46:10 -04:00
Chris Scott fa2d794239 Merge pull request #372 from chriswritescode-dev/feature/themed-syntax-highlight
feat(themes): drive code block syntax highlighting from active theme
2026-09-29 16:29:37 -04:00
Chris Scott ff629c1d99 docs: add theme showcase video to README 2026-09-29 16:29:18 -04:00
Chris Scott 6396e8c22c feat(themes): drive code block syntax highlighting from active theme 2026-09-29 16:26:51 -04:00
Chris Scott 479adcc719 Merge pull request #371 from chriswritescode-dev/fix/schedules-mobile-run-history
fix(schedules): improve mobile run history layout
2026-09-29 11:36:59 -04:00
Chris Scott 8579ba883b Merge pull request #370 from chriswritescode-dev/fix/schedule-report-links
fix(schedules): open report links in place and route schedule notifications to the run report
2026-09-29 11:36:53 -04:00
Chris Scott b53f192830 fix(schedules): keep cached reports visible after polling errors 2026-09-29 11:10:07 -04:00
Chris Scott eb40a04353 fix(schedules): intercept local report links while repo data loads 2026-09-29 10:43:49 -04:00
Chris Scott e497dbfe34 fix(schedules): resolve older run links and index session lookups 2026-09-29 10:32:20 -04:00
Chris Scott 0e6e30890a Merge fix/schedule-report-links into fix/schedules-mobile-run-history 2026-09-29 10:14:12 -04:00
Chris Scott 3fff29751f fix(schedules): let run history cards fill the available width 2026-09-29 09:55:20 -04:00
Chris Scott 28f7d34fcd fix(schedules): improve mobile run history layout 2026-09-29 13:38:13 +00:00
Chris Scott 3d8c2f5b5e fix(schedules): open report links in place and route schedule notifications to the run report 2026-09-29 00:33:31 -04:00
Chris Scott 7fbb7555b2 feat(files): fullscreen preview, relative markdown links, and preinstalled Chromium (#369)
* feat(files): add fullscreen preview with a minimal close control

Add a fullscreen toggle to the desktop file preview header. Fullscreen fills the viewport, hides the header, and shows only a small on-top X to exit.

Keep the mobile preview fullscreen by default with its close button layered above the content, and give the headerless mobile preview the same small on-top X.

* fix(files): open relative markdown links and preinstall Chromium

Resolve relative and absolute markdown links against the previewed file
and open them in the file browser; external links open in a new tab.
Install Playwright and Chromium into the Manager image with NODE_PATH
and PLAYWRIGHT_BROWSERS_PATH so agents can run browser automation
without a project-local install.

* refactor(files): share markdown link handling across renderers

* test(docker): cover the preinstalled playwright chromium step
2026-09-29 00:15:52 -04:00
Chris Scott 304f636516 fix: stabilize scheduled runs and background task tracking (#365)
* fix: stabilize scheduled runs and background task tracking

* fix: complete scheduled runs and harden background task status

- Route directory-less OpenCode session events (session.execution.*,
  session.usage.updated) to backend listeners by remembering each
  session's directory in the SSE aggregator, so scheduled runs finish
  and failure push notifications fire; browser delivery is unchanged.
- Resolve background shell status from the transcript completion notice
  when OpenCode no longer lists the shell, keep the first terminal
  status so a kill is not reported as completed, and share one status
  icon and colour mapping between the transcript and background bar.
- Reconcile child sessions only while unknown or running, trigger it
  from the EventProvider alone, refresh children that drop to unknown
  after a poll, and forget deleted sessions.
- Fetch the model list and default concurrently while waiting for the
  schedule model, share configured-model selection, and consolidate
  schedule startup cancellation cleanup.
- Reduce background work re-renders, prune shell exit records, remove
  dead exports, and document background work in the chat guide.

* fix: hide finished background tasks and clip long dialog titles
2026-09-28 23:55:01 -04:00
Chris Scott e80016cc22 fix(navigation): show Assistant sessions in the sidebar and repo switcher (#368) 2026-09-28 23:52:45 -04:00
Chris Scott a1b7f58aae feat(opencode-config): redact secrets and add MCP listing to the internal config API (#366) 2026-09-28 23:52:41 -04:00
Chris Scott 68b13c8e35 fix(files): resolve workspace paths and add sandboxed HTML preview (#367)
* fix(files): resolve workspace paths and add sandboxed HTML preview

Accept workspace-absolute paths in the file service and return repo-relative paths for file reads and directory listings. Serve raw content under a CSP sandbox and preview HTML files in a sandboxed iframe with a raw toggle.

Resolve file-click paths from the session directory and repo local path, detect absolute and html/htm file references while ignoring URLs, accept the legacy filePath input key and filediff metadata, fix the file browser navigating into an initially selected directory, and use focus-visible rings across shared UI primitives.

* fix(files): address review feedback on navigation and path fallback

Key initial directory navigation to the initial selection so viewport changes do not reset it, and open the mobile preview from a separate effect.

Fall back to the legacy filePath input when path is empty, and cover both with regression tests.
2026-09-28 22:27:18 -04:00
Chris Scott 5bd688de4b feat(themes): apply OpenCode color themes app-wide with a settings picker (#364)
- Vendor the 36 OpenCode theme palettes into the shared package, synced
  from the pinned OpenCode release tag via pnpm themes:sync.
- Add a colorTheme user preference across the settings schema, defaults,
  and the assistant internal API.
- Extend palettes with success, warning, info, and diff colors, and add a
  resolver that maps palettes to CSS tokens and applies them to the DOM.
- Apply the theme app-wide through a ThemeProvider context, adopting the
  tokens in message, repo, session, and settings components, agent
  colors, git status styles, and diff viewers.
- Add a theme picker to General settings and make model quick-select
  follow the active theme (fixes #355).
2026-09-28 00:19:32 -04:00
Chris Scott 702e3c4e13 docs: refresh screenshots, trim feature docs, and drop the New Repo sidebar CTA (#363) 2026-09-27 19:22:04 -04:00
Chris Scott be6c4108a6 chore: bump version to 0.19.1 v0.19.1 2026-09-26 22:18:02 -04:00
Chris Scott d6b2d555ca feat(sidebar): add loading state to new session button and reposition repo toggle 2026-09-26 22:16:28 -04:00
Chris Scott 54a13af32e feat(sidebar): make desktop sidebar sections mutually exclusive
Replace the independent per-section collapse state with an accordion hook so opening Sessions or Menu closes the other.
2026-09-26 21:55:46 -04:00