Commit Graph

129 Commits

Author SHA1 Message Date
Kit Langton 2dfba395b8 fix(config): resolve agent/command names from relative paths (#28359) 2026-05-19 20:48:32 +00:00
Kit Langton 23460b049c fix(config): tolerate invalid OPENCODE_PERMISSION JSON (#28388) 2026-05-19 20:37:50 +00:00
Kit Langton ecbc4f0cab Migrate remaining legacy tools config tests (#28363) 2026-05-19 12:06:07 -04:00
Kit Langton 42934a72aa Migrate MCP config tests to instance fixtures (#28338) 2026-05-19 11:45:13 -04:00
Kit Langton 57fda600a7 test: migrate plugin config fixtures 2026-05-18 22:14:01 -04:00
Kit Langton c9673b9538 test: migrate managed config fixtures 2026-05-18 22:02:59 -04:00
Kit Langton 2c3df0d532 test: migrate remaining simple config fixtures 2026-05-18 21:42:00 -04:00
Kit Langton 4d74e99171 test: migrate config legacy tool fixtures 2026-05-18 21:27:43 -04:00
Kit Langton c4f4b74b7e Migrate config .opencode file tests to instance fixtures (#28268) 2026-05-18 21:17:11 -04:00
Kit Langton 7b8095a0b0 Migrate config update tests to instance fixtures (#28266) 2026-05-18 20:57:42 -04:00
Kit Langton 6343406f86 Migrate config agent tests to instance fixtures (#28213) 2026-05-18 23:55:33 +00:00
Kit Langton 8dade17b90 Migrate config template tests to instance fixtures (#28211) 2026-05-18 23:37:58 +00:00
Kit Langton 5a2582f6f5 Migrate simple config tests to instance fixtures (#28210) 2026-05-18 19:13:16 -04:00
Kit Langton b8048cd162 Speed up targeted opencode tests
Reduce avoidable setup costs in slow opencode tests while preserving reviewed coverage and recording the benchmark evidence for follow-up test-suite work.
2026-05-18 16:18:29 +00:00
Sebastian 50c6af880d dialog prompt submit keybind + opentui event sink (#27945) 2026-05-18 00:23:19 +02:00
Sebastian 2695458b88 Revert "add dialog prompt submit keybind (#27807)" (#27815) 2026-05-16 04:44:32 +02:00
Sebastian f431408b30 add dialog prompt submit keybind (#27807) 2026-05-16 03:11:46 +02:00
Shoubhit Dash c066b249b9 refactor(instance): retire WithInstance adapter (#27782) 2026-05-16 01:30:07 +05:30
Shoubhit Dash 12968615a0 refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
Sebastian 44e41479d9 fix keymap fallback priority and TUI config diagnostics (#27384) 2026-05-13 23:00:48 +02:00
Kit Langton d6880b46b9 chore: delete unused util/color module (#27331) 2026-05-13 14:02:17 +00:00
Aiden Cline f45082de63 temporarily revert: preserve permission ordering by accepting a layered array (#27258) 2026-05-12 23:55:45 -05:00
opencode-agent[bot] 72108563e8 chore: generate 2026-05-13 01:45:20 +00:00
Kit Langton 85dfe1dc2a test(config): migrate TUI config tests to Effect runner (#27206) 2026-05-13 01:42:33 +00:00
Sebastian 18c1e45c76 Add TUI notifications and attention sounds (disabled by default) (#26980) 2026-05-13 03:26:25 +02:00
Andrew Suffield 2bc87fa321 fix: preserve permission ordering by accepting a layered array (#23214)
Co-authored-by: Andrew Suffield <asuffield@cloudflare.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-12 17:09:06 -05:00
Kit Langton 0c205798ff test: migrate agent color config tests (#27139) 2026-05-12 20:31:38 +00:00
Aiden Cline 75bcb2db52 feat: create global opencode.jsonc if no configs exist (#26992) 2026-05-11 23:13:22 -05:00
Kit Langton 693e9d3450 Drop unused opencode Zod statics (#26935) 2026-05-11 17:14:18 -04:00
Kit Langton e97f296088 Drop Config Info Zod static (#26933) 2026-05-11 16:49:22 -04:00
Kit Langton e98bd253ae Drop LSP config Zod statics (#26920) 2026-05-11 16:11:11 -04:00
Sebastian 4d6a1c6101 flatten to keybind compatible config (#26421) 2026-05-09 01:29:13 +02:00
opencode-agent[bot] ddf5a926c3 chore: generate 2026-05-08 11:56:55 +00:00
Sebastian e39b558e44 internal which-key plugin, inactive by default (#26337) 2026-05-08 13:55:49 +02:00
opencode-agent[bot] dba7e1982d chore: generate 2026-05-07 18:36:42 +00:00
Sebastian 4785e66cc6 introduce opentui keymap as sole key/cmd engine (#26053) 2026-05-07 20:35:31 +02:00
Dax 905e38a685 feat(config): support well-known remote_config (#26054) 2026-05-06 15:12:23 +00:00
Kit Langton e9bd6648c4 refactor(config+core): drop ConfigPaths.readFile, add AppFileSystem.readFileStringSafe, flatten TuiConfig.loadState (#25602) 2026-05-03 15:21:34 +00:00
Kit Langton be489206f6 Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
Kit Langton 04449495bf fix(instance): run bootstrap from instance store (#25475) 2026-05-02 19:33:38 -04:00
Kit Langton 6c85bbc7f0 Replace Instance.disposeAll/load with fixture helper (#25418) 2026-05-02 10:56:15 -04:00
Kit Langton 75d9296bbf test: use Effect test helper for agent colors (#25051) 2026-04-30 15:14:25 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax bae5dc246d Refactor npm config handling (#24565) 2026-04-27 03:54:59 +00:00
Luke Parker 7454f363db feat: configurable shell selection + desktop settings UI (#20602) 2026-04-27 00:54:55 +00:00
Dax Raad 5ea6eaad3c core: move npm service to core package for shared dependency management 2026-04-25 14:36:15 -04:00
Dax Raad 6742034b03 core: move cross-spawn-spawner to root and remove unused types
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.

This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
Dax Raad 7b2fbf2c2f core: move cross-spawn-spawner from opencode to core package
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.

Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04: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
Kit Langton f666835f3c fix(config): preserve permission order with Effect decode (#24308) 2026-04-25 13:30:12 -04:00