Commit Graph

10794 Commits (246490b607997b46f3f26a96e27eef74113c1fa5)
 

Author SHA1 Message Date
Reage 246490b607
Merge branch 'dev' into commit-gpg 2026-04-02 10:20:39 +08:00
Aiden Cline df1c6c9e8d
tui: add consent dialog when sharing for the first time (#20525) 2026-04-02 01:58:57 +00:00
opencode-agent[bot] 789d86f7b0 chore: generate 2026-04-02 01:56:34 +00:00
Kit Langton e148b318b7
fix(build): replace require() with dynamic import() in cross-spawn-spawner (#20580) 2026-04-01 21:55:35 -04:00
MC 0cad775427
chore: add User-Agent headers for Cloudflare providers (#20538)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-01 20:02:17 -05:00
Kit Langton 00d6841f84
fix(account): refresh console tokens before expiry (#20558) 2026-04-02 00:25:24 +00:00
Sebastian 8a8f7b3e90
flock npm.add (#20557) 2026-04-02 00:21:26 +00:00
Kit Langton c526caae7b
fix: show model display name in message footer and transcript (#20539) 2026-04-02 00:17:38 +00:00
Kit Langton b1c07488bd
refactor(revert): yield SessionSummary.Service directly (#20541) 2026-04-01 20:10:59 -04:00
Kit Langton 92f8e03160
fix(test): use effect helper in snapshot race test (#20567) 2026-04-01 20:05:47 -04:00
Sebastian f6fd43e574
Refactor plugin/config loading, add theme-only plugin package support (#20556) 2026-04-01 23:50:22 +00:00
opencode-agent[bot] 854484babf chore: generate 2026-04-01 23:49:44 +00:00
Kit Langton e4ff1ea778
refactor(bash): use Effect ChildProcess for bash tool execution (#20496) 2026-04-01 19:48:47 -04:00
Kit Langton 26fb6b8788
refactor: add Effect-returning versions of MessageV2 functions (#20374) 2026-04-01 19:48:36 -04:00
opencode-agent[bot] 4214ae205d chore: generate 2026-04-01 23:48:30 +00:00
Kit Langton d9d4f895bc
fix(test): auto-acknowledge tool-result follow-ups in mock LLM server (#20528) 2026-04-01 23:47:26 +00:00
Kit Langton 48db7cf07a
fix(opencode): batch snapshot revert without reordering (#20564) 2026-04-01 23:46:06 +00:00
Luke Parker 802d165572
chore(tui): clean up scroll config follow-up (#20561) 2026-04-02 09:36:49 +10:00
Luke Parker f7f41dc3a0
fix(tui): apply scroll configuration uniformly across all scrollboxes (#14735) 2026-04-02 09:15:19 +10:00
Aiden Cline 1fcfb69bf7
feat: add new provider plugin hook for resolving models and sync models from github models endpoint (falls back to models.dev) (#20533) 2026-04-01 23:04:14 +00:00
Luke Parker fa96cb9c6e
Fix selection expansion by retaining focused input selections during global key events (#20205) 2026-04-02 08:43:40 +10:00
Sebastian cc30bfc94b
resolve subpath only packages for plugins (#20555) 2026-04-01 22:14:36 +00:00
Joscha Götzer 880c0a7477
fix: normalize filepath in FileTime to prevent Windows path mismatch (#20367)
Co-authored-by: JosXa <info@josxa.dev>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
2026-04-02 07:45:50 +10:00
Frank eabf3caeb9 zen: sync 2026-04-01 17:41:04 -04:00
Dax c9326fc199
refactor: replace BunProc with Npm module using @npmcli/arborist (#18308)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-01 21:01:37 +00:00
Frank d7481f4593 wip: zen 2026-04-01 14:17:31 -04:00
Kit Langton f3f728ec27
test(app): fix isolated backend follow-ups (#20513) 2026-04-01 17:43:19 +00:00
Kit Langton c619caefdd
fix(account): coalesce concurrent console token refreshes (#20503) 2026-04-01 13:16:35 -04:00
Kit Langton c559af51ce
test(app): migrate more e2e suites to isolated backend (#20505) 2026-04-01 13:15:42 -04:00
github-actions[bot] d1e0a4640c Update VOUCHED list
https://github.com/anomalyco/opencode/issues/20482#issuecomment-4171492178
2026-04-01 16:50:21 +00:00
opencode-agent[bot] f9e71ec515 chore: update nix node_modules hashes 2026-04-01 16:47:33 +00:00
opencode-agent[bot] ef538c9707 chore: generate 2026-04-01 16:14:37 +00:00
Kit Langton 2f405daa98
refactor: use Effect services instead of async facades in provider, auth, and file (#20480) 2026-04-01 16:13:13 +00:00
Kit Langton a9c85b7c27
refactor(shell): use Effect ChildProcess for shell command execution (#20494) 2026-04-01 12:07:57 -04:00
Shoubhit Dash 897d83c589
refactor(init): tighten AGENTS guidance (#20422) 2026-04-01 21:37:25 +05:30
opencode-agent[bot] 0a125e5d4d chore: generate 2026-04-01 15:59:28 +00:00
Kit Langton 38d2276592
test(e2e): isolate prompt tests with per-worker backend (#20464) 2026-04-01 15:58:11 +00:00
Dax Raad d58004a864 fall back to first agent if last used agent is not available 2026-04-01 11:09:29 -04:00
Kit Langton 5fd833aa18
refactor: standardize InstanceState variable name to state (#20267) 2026-04-01 10:39:43 -04:00
Shoubhit Dash 44f83015cd
perf(review): defer offscreen diff mounts (#20469) 2026-04-01 19:29:12 +05:30
Kit Langton 9a1c9ae15a
test(app): route prompt e2e through mock llm (#20383) 2026-04-01 08:28:38 -04:00
Shoubhit Dash a3a6cf1c07
feat(comments): support file mentions (#20447) 2026-04-01 16:11:57 +05:30
Shoubhit Dash 47a676111a
fix(session): add keyboard support to question dock (#20439) 2026-04-01 15:47:15 +05:30
Brendan Allan 1df5ad470a
app: try to hide autofill popups in prompt input (#20197) 2026-04-01 08:43:03 +00:00
Brendan Allan 506dd75818
electron: port mergeShellEnv logic from tauri (#20192) 2026-04-01 07:01:44 +00:00
rentiansheng 31e7749b43
fix(tui): use SDK publish for acks and per-instance state tracking
- TUI ack events now use sdk.client.tui.publish() instead of Bus.publish()
  to properly route events from TUI process to backend worker thread
- TerminalControl now uses Instance.state() for per-instance subscription
  tracking instead of global boolean, fixing multi-instance scenarios
- Remove unused Bus import from app.tsx
2026-04-01 10:45:34 +08:00
rentiansheng 44d0519137
fix(typecheck): exclude drizzle.config.ts from typecheck
Pre-existing issue where drizzle-kit types aren't available during typecheck.
Drizzle config files are only used by drizzle-kit CLI, not in application code.
2026-04-01 10:45:32 +08:00
rentiansheng 5ecf732bf5
fix(bash): coordinate TUI suspend/resume for interactive commands
Implement Bus event-based coordination between bash tool and TUI renderer
to properly handle interactive commands like GPG signing, SSH, and git rebase.
Prevents terminal corruption, control character leakage, and keyboard protocol
issues by suspending TUI rendering before spawning stdio-inherit subprocesses.

- Add TerminalControl module with suspend/resume coordination via Bus events
- Wrap interactive bash commands with TUI suspend/resume lifecycle
- Add TUI event handlers for renderer suspend/resume with ack handshake
- Set OPENCODE_TUI=1 environment variable for TUI mode detection
- Generate terminal tokens for request tracking with timeout handling

Fixes GPG pinentry dialog disappearing, password input routing to wrong location,
escape sequences appearing as garbage, and keyboard shortcuts becoming characters.
2026-04-01 10:45:27 +08:00
Kit Langton c8ecd64022
test(app): add mock llm e2e fixture (#20375) 2026-03-31 21:24:39 -04:00
opencode-agent[bot] ca376a4cff chore: update nix node_modules hashes 2026-04-01 01:15:51 +00:00