Commit Graph

86 Commits

Author SHA1 Message Date
Kit Langton 1df15f7ff1 Migrate UI cancel error to tagged error (#27112) 2026-05-12 18:09:00 +00:00
Simon Klee 16e9d6916d prompt: fix cursor math for wide characters (#27017)
String.length counts code points, not display columns, so CJK
characters and emoji that occupy two terminal cells caused
misaligned cursors, broken mention triggers, and incorrect
history restoration offsets.

Use Bun.stringWidth for now, we need an alternative for this.

Fix #26716
Close #26922
2026-05-12 11:45:28 +02:00
opencode-agent[bot] 055631749f chore: generate 2026-05-12 03:43:40 +00:00
James Long 2286f34474 fix(tui): scope events by project (#26936) 2026-05-11 23:42:04 -04:00
Kit Langton 93affbbcf4 fix(tui): guard prompt submit against concurrent invocation (#26972) 2026-05-12 01:35:28 +00:00
Kit Langton a7a2f7bc31 Avoid bootstrapping server plugins from TUI plugin runtime (#26938) 2026-05-11 17:32:16 -04:00
Sebastian ca2be55fca restore managed textarea keymap handling (#26771) 2026-05-11 01:45:59 +02:00
Kit Langton f71d79c0e6 Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
opencode-agent[bot] 74dac3d823 chore: generate 2026-05-09 22:47:54 +00:00
Kit Langton a7251202bd fix(tui): aggregate bootstrap request failures
TUI bootstrap now reports all parallel fetch failures together instead of losing sibling failures after the first rejection.
2026-05-09 18:46:52 -04:00
Kit Langton 0a885a6d0a fix(tui): guard messages.data in session.sync against undefined (#26566)
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:58:03 +00:00
Sebastian 4d6a1c6101 flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
Shoubhit Dash eab8804ed1 feat(core): add scout agent for repo research (#24149)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-05-08 20:20:08 +00:00
opencode-agent[bot] fd7a714025 chore: generate 2026-05-08 17:46:57 +00:00
Simon Klee be09da6819 cli/run: switch to global event stream (#26383) 2026-05-08 19:44:31 +02:00
James Long 04c1d3442d feat(core): allow external workspace creation (#26212) 2026-05-08 11:09:12 -04:00
Sebastian e39b558e44 internal which-key plugin, inactive by default (#26337) 2026-05-08 13:55:49 +02:00
opencode-agent[bot] 0fe4c8b953 chore: generate 2026-05-08 10:18:22 +00:00
Simon Klee 3a519e1dbc feat(opencode): add interactive split-footer mode to run (#23557) 2026-05-08 12:17:14 +02:00
Sebastian 4785e66cc6 introduce opentui keymap as sole key/cmd engine (#26053) 2026-05-07 20:35:31 +02:00
James Long 4d6c05923f feat(core): copy file changes when warping (#26190) 2026-05-07 10:24:17 -04:00
Shoubhit Dash a3f6690406 fix(tui): restore custom provider in /connect (#26168) 2026-05-07 17:05:35 +05:30
James Long 2e5b8ee6bb fix(tui): filter only connected workspaces in dialog; add warp synthetic message (#25915) 2026-05-06 10:25:42 -04:00
James Long ccc17d1309 fix(core): better state handling of editor context (#25911) 2026-05-05 15:53:05 -04:00
Kit Langton 47120def17 fix(cli): bridge Instance.current ALS in effectCmd handlers (regression from #25522) (#25546) 2026-05-03 04:24:33 +00:00
Dax cdf3760d79 Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Kit Langton a7a0e5ec22 fix(tui): keep shell-mode prompt editable (#25419) 2026-05-02 10:56:27 -04:00
Kit Langton 6e79f20932 fix(tui): scope Zed editor context to containing workspaces (#25211) 2026-04-30 22:33:39 -04:00
Kit Langton e8ae2fc3c2 Isolate TUI thread cwd resolution test (#25147) 2026-04-30 15:10:30 -04:00
Kit Langton 738a379fd5 Support multiple Zed selections in TUI context (#25140) 2026-04-30 14:15:50 -04:00
Kit Langton ef11a6a9c7 test: use testEffect for system prompt test (#25047) 2026-04-30 12:51:32 -04:00
Luke Parker 92b08bf1ed fix(desktop): Path mismatches cause sessions missing + strong ID + existing data fix (#25013) 2026-04-29 22:39:19 +00:00
James Long c9db964e9b fix(core): reconnect editor context for session directory (#24984) 2026-04-29 15:11:44 -04:00
James Long 29be8a7333 feat(core): filter sessions by path and add setting to disable (#24849) 2026-04-28 16:49:13 -04:00
Kit Langton 9dc4b4306d fix(tui): handle Zed selection byte offsets (#24825) 2026-04-28 14:09:39 -04:00
Kit Langton dff01e9afb fix(tui): preserve Zed context on terminal focus (#24662) 2026-04-27 16:25:37 -04:00
opencode-agent[bot] a2505db3f2 chore: generate 2026-04-27 19:38:33 +00:00
Kit Langton fbaeb962f2 fix(tui): stabilize Zed editor context polling (#24656) 2026-04-27 15:37:18 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax Raad 5ea6eaad3c core: move npm service to core package for shared dependency management 2026-04-25 14:36:15 -04:00
Kit Langton 07077992cf feat(tui): read Zed editor context from state db (#24352) 2026-04-25 18:10:58 +00:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax 99871ed954 refactor: consolidate npm exports and trace flock acquisition (#23151) 2026-04-17 18:58:37 +00:00
Dax Raad 0b8e65bacb test: align plugin loader npm mocks
- switch plugin loader tests to the effect npm module
- return Option.none() for mocked npm entrypoints
- keep test fixtures aligned with the current Npm.add contract
2026-04-17 14:33:02 -04:00
James Long 53e47bc9ca fix(tui): tui resiliency when workspace is dead, disable directory filter in session list (#23013) 2026-04-16 23:35:36 -04:00
Dax 31baaf507b fix: prefer real undo filenames over /dev/null (#23006) 2026-04-16 22:25:43 -04:00
Dax d354d5fb04 fix(test): make plugin loader theme source path separator-safe (#22870) 2026-04-16 14:45:17 -04:00
James Long 5b94e49a4b refactor(tui): improve workspace management (#22691) 2026-04-16 12:24:40 -04:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton 0249f58509 feat: unwrap config namespaces to flat exports + barrel (#22746) 2026-04-15 23:29:14 -04:00