10060 Commits

Author SHA1 Message Date
opencode 7d837b6f1c release: v1.2.22 v1.2.22 2026-03-08 22:34:59 +00:00
Sebastian 496f96721f guard tui exit (#16640) 2026-03-08 23:14:41 +01:00
Luke Parker 7c79a5a849 fix(tui): canonicalize cwd after chdir (#16641) 2026-03-09 07:57:48 +10:00
David Hill d512909fc5 tui: fix sidebar background color when collapsed
When the sidebar was collapsed (not on mobile), the background color was showing as the stronger variant instead of matching the base background. This fixes the hover state detection so users see a consistent lighter background when the sidebar is in collapsed mode.
2026-03-08 13:34:56 +00:00
David Hill 7d903b7f34 app: suppress hover when opening project menu or right-clicking to prevent flickering 2026-03-08 13:31:18 +00:00
Shoubhit Dash 008ac7eae9 fix: trim retained desktop terminal buffers (#16583) 2026-03-08 07:50:04 -05:00
opencode-agent[bot] e8b2a58f88 chore: update nix node_modules hashes 2026-03-08 12:25:35 +00:00
Adam 21373267cf fix(app): less auto-expand/collapse 2026-03-08 07:11:15 -05:00
Adam 3b2ae9d2a1 chore: refactoring ui hooks 2026-03-08 07:11:15 -05:00
Adam 48a19c2391 fix(app): messages not loading reliably 2026-03-08 07:11:15 -05:00
Shoubhit Dash fe109b3f17 fix: prune and evict stale app session caches (#16584) 2026-03-08 07:10:00 -05:00
Shoubhit Dash 096f2c698f test: make process cwd check cross-platform (#16594) 2026-03-08 06:56:45 -05:00
Roy Bruschini 6f3c73898c docs(zen.mdx): correct Italian grammar and punctuation errors (#16590) 2026-03-08 16:40:06 +05:30
tobwen 9130c188d6 fix(opencode): avoid TTY corruption from double cleanup (#16565)
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-08 13:55:33 +05:30
Nate Williams b022adb41c fix(tui): fix broken /mcp toggling (#16431)
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-08 13:31:09 +05:30
Dax 442ecf5ee0 test: remove unused Ripgrep.search coverage (#16554) 2026-03-07 21:40:57 -05:00
David Hill bd42be52a7 Revert "tui: dock auto-accept after thinking and move Add file to bottom-left"
This reverts commit 4c457ba392.
2026-03-08 01:31:09 +00:00
David Hill b53991ee03 Revert "tui: keep model + thinking selectors beside Add file"
This reverts commit e22cd8bd4e.
2026-03-08 01:31:06 +00:00
David Hill 2db0ac25cb Revert "tui: add more editor bottom padding for prompt controls"
This reverts commit bf1e48ff8e.
2026-03-08 01:31:03 +00:00
David Hill 7585aabf0f Revert "tui: expose auto-accept as a permissions select"
This reverts commit ef0f922461.
2026-03-08 01:31:00 +00:00
David Hill 53798b2c3b Revert "tui: use text-base color for prompt selects"
This reverts commit 31745d8009.
2026-03-08 01:30:55 +00:00
David Hill d999d6d48b Revert "tui: remove prompt model/thinking/permissions selectors on dev so the composer stays simple"
This reverts commit d4eec7e5da.
2026-03-08 01:27:45 +00:00
David Hill d4eec7e5da tui: remove prompt model/thinking/permissions selectors on dev so the composer stays simple 2026-03-08 01:21:45 +00:00
David Hill aa419b050d tui: restore new-session logo on dev so users recognize OpenCode immediately 2026-03-08 01:18:42 +00:00
David Hill e02914f18a tui: revert new-session logo on dev so this UI change only ships with auto-accept-permissions 2026-03-08 01:10:52 +00:00
David Hill 86051adc9d tui: add opencode logo to new session screen so users can immediately identify the app when starting a fresh session 2026-03-08 00:59:03 +00:00
David Hill 31745d8009 tui: use text-base color for prompt selects
Select triggers in the composer now use the normal text color so model/thinking/permissions controls read consistently with the rest of the input UI.
2026-03-08 00:53:57 +00:00
David Hill ef0f922461 tui: expose auto-accept as a permissions select
Lets people explicitly choose between normal permission prompts and auto-accept while composing, without relying on an ambiguous icon state.
2026-03-08 00:53:57 +00:00
David Hill bf1e48ff8e tui: add more editor bottom padding for prompt controls
Gives typed text more breathing room above the Add file/model/thinking row so the controls don’t visually crowd what you’re writing.
2026-03-08 00:53:57 +00:00
David Hill e22cd8bd4e tui: keep model + thinking selectors beside Add file
People change models and thinking settings while composing, so keeping those controls next to the Add file button avoids hunting in the footer and reduces context switching mid-message.
2026-03-08 00:53:57 +00:00
David Hill 4c457ba392 tui: dock auto-accept after thinking and move Add file to bottom-left
Auto-accept now lives in the footer dock beside the thinking control so it stays easy to find without crowding the text box.

The Add file button moves to the bottom-left of the editor and the input gets a bit more bottom padding so the control row doesn’t overlap what you’re typing.
2026-03-08 00:53:57 +00:00
Dax Raad 9685f7dbaa test: normalize ripgrep path assertion on windows 2026-03-07 19:47:57 -05:00
opencode-agent[bot] 832c086822 chore: generate 2026-03-08 00:31:35 +00:00
Dax Raad 8330999cea test: lock in process, ripgrep, and installation helpers 2026-03-07 19:30:32 -05:00
David Hill 64858dc353 tui: revert prompt control docking
Restore the previous prompt control layout after the dock/position changes made the composer feel less familiar.

This brings auto-accept back to its prior spot and returns Add file to the previous placement.
2026-03-08 00:17:28 +00:00
David Hill ff5dbb8474 tui: dock auto-accept after thinking and move Add file to bottom-left
Auto-accept now lives in the footer dock beside the thinking control so it stays easy to find without crowding the text box.

The Add file button moves to the bottom-left of the editor and the input gets a bit more bottom padding so the control row doesn’t overlap what you’re typing.
2026-03-08 00:08:37 +00:00
Dax Raad 62fe4ae644 core: update database path test to verify correct channel-based filename
The test now validates that the database file is named according to the current installation channel (latest/beta get 'opencode.db', others get sanitized names). This ensures users' data is stored in the correct location based on their update channel.
2026-03-07 18:53:29 -05:00
Dax Raad f6c48cf6b2 core: allow beta channel to share database with stable channel 2026-03-07 18:53:29 -05:00
David Hill 64d04a91b7 tui: balance titlebar columns so center content doesn't get squeezed by long side content 2026-03-07 23:50:23 +00:00
David Hill 05362100f7 tui: align numeric displays consistently across tool outputs and diff counters using tabular numerals 2026-03-07 23:49:10 +00:00
David Hill c9533ac67a tui: center empty states vertically in session view and improve review panel messaging for projects without version control 2026-03-07 23:45:16 +00:00
Dax Raad 35e1142383 core: add OPENCODE_SKIP_MIGRATIONS flag to bypass database migrations
Allows users to skip automatic database migrations by setting the
OPENCODE_SKIP_MIGRATIONS environment variable. Useful for testing
scenarios or when manually managing database state.
2026-03-07 16:17:00 -05:00
Frank 2675680768 zen: fix graph legend 2026-03-07 14:28:36 -05:00
Adam 56ba5c7fce fix(app): review panel transition 2026-03-07 13:27:44 -06:00
opencode 29f129acbb release: v1.2.21 v1.2.21 2026-03-07 18:00:39 +00:00
Karan Handa 9f1ab5e855 fix(storybook): restore build by mocking useLocation (#16472) 2026-03-07 09:55:43 -06:00
Eric Guo a1bb6a4047 fix(app): text-shimmer undefined length (#16475) 2026-03-07 09:53:32 -06:00
SANGWOO PARK 5b6fba32f0 fix(app): guard session-header current() against undefined when options is empty (#16478) 2026-03-07 09:51:21 -06:00
Filip 879a092d9b fix(app): preserve file tree tab on reopen + fix e2e test regressions (#16482) 2026-03-07 09:47:45 -06:00
David Hill 8cfd7c4066 tui: remove close button from project hover popover (#16403)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-03-07 07:00:58 -06:00