Commit Graph

445 Commits

Author SHA1 Message Date
Shoubhit Dash 4541e88fb1 refactor(reference): normalize config entries (#28178) 2026-05-18 20:42:41 +05:30
Dax 5d48313337 fix: preserve bus instance context (#28051) 2026-05-17 12:56:42 -04:00
Shoubhit Dash 44b1202328 refactor(project): import instance context directly (#27714) 2026-05-15 15:59:56 +05:30
Aiden Cline 29bbff1aee fix: image resizer wasm loading, reenable image resizing (#26805) 2026-05-13 23:06:07 -05: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] d9a7317ec5 chore: generate 2026-05-12 22:11:13 +00: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
Aiden Cline b91bf2467d fix(compaction): restore tail turns after summarization (#27145) 2026-05-12 15:33:16 -05:00
Kit Langton 2296db6be8 Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Shoubhit Dash 9216acf052 chore: remove codesearch tool (#27019) 2026-05-12 13:44:02 +05:30
Aiden Cline 75bcb2db52 feat: create global opencode.jsonc if no configs exist (#26992) 2026-05-11 23:13:22 -05:00
Kit Langton d283b18d95 Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
Kit Langton dbf8727937 Validate TUI config with Effect Schema (#26952) 2026-05-11 23:51:45 +00: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
Shoubhit Dash 5b2b91d09f feat(scout): autocomplete configured mentions (#26843) 2026-05-11 20:50:03 +05:30
Kit Langton f524bc8178 Parse command config with Effect Schema (#26801) 2026-05-11 10:22:45 -04:00
Shoubhit Dash bb56b50ebe feat(compaction): serialize compaction tail (#26830) 2026-05-11 13:40:36 +05:30
Aiden Cline 6b792099f9 feat: better image handling (auto resize & max size constraints) (#26401) 2026-05-10 01:48:19 -05:00
Kit Langton de617e9071 refactor(provider): share model status schema (#26595)
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:20:31 -04:00
Kit Langton 8fa8f7af30 fix(config): allow active provider model status (#26592)
Co-authored-by: Developer <temp@example.com>
2026-05-09 18:59:05 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton 6561e24e32 chore(server): clean up post-Hono-deletion scar tissue (#26542) 2026-05-09 12:30:18 -04: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
Sebastian 4785e66cc6 introduce opentui keymap as sole key/cmd engine (#26053) 2026-05-07 20:35:31 +02:00
opencode-agent[bot] 076cff6ad0 chore: generate 2026-05-06 15:13:34 +00: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
Luke Parker 6593cf5f1c docs: clarify LSP and formatter opt-in config (#25502) 2026-05-03 00:09:50 +00:00
Kit Langton 04449495bf fix(instance): run bootstrap from instance store (#25475) 2026-05-02 19:33:38 -04:00
Kit Langton ea8710ba39 refactor(instance-store): consolidate dispose helpers (#25424) 2026-05-02 11:21:40 -04:00
Kit Langton 6c85bbc7f0 Replace Instance.disposeAll/load with fixture helper (#25418) 2026-05-02 10:56:15 -04:00
Kit Langton a2bee5a71a Convert LoadInput.init to Effect + extract InstanceBootstrap as a Service (#25376) 2026-05-02 00:02:52 -04:00
Kit Langton 832c5343ec Drop ALS fallbacks from containsPath and workspace routing (#25374) 2026-05-02 03:06:22 +00:00
Dax Raad e8138070e9 core: remove @effect/language-service plugin and optimize hot path type performance
- Removed @effect/language-service from both packages/core and packages/opencode tsconfig files and dependencies

- Wrapped mergeDeep calls in config loading and LLM streaming to avoid expensive remeda conditional merge type instantiations in hot paths

- Narrowed Drizzle migrate() overload signature to avoid expensive variance checks during database initialization

These changes reduce TypeScript type-checking overhead and improve startup and runtime performance for config loading, LLM streaming, and database migrations.
2026-04-30 23:21:05 -04:00
OpeOginni 9cd86e3ba2 fix(desktop): Prevent Model response Interruption when opening settings dialog (#25114) 2026-05-01 01:27:38 +00:00
Aiden Cline 60f88a613c chore: rm broken codesearch tool (#24992) 2026-04-29 13:15:44 -05:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Luke Parker 7454f363db feat: configurable shell selection + desktop settings UI (#20602) 2026-04-27 00:54:55 +00:00
Kit Langton d14201ec17 feat(httpapi): bridge config update endpoint (#24387) 2026-04-25 17:52:34 -04: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 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 Raad 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Kit Langton f666835f3c fix(config): preserve permission order with Effect decode (#24308) 2026-04-25 13:30:12 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Dax Raad 56405bf0c5 core: permission config schema now provides full IntelliSense for all tool permission keys
The permission configuration previously used a generic record type that didn't offer editor completions. Updated the schema to explicitly list all tool permission keys (read, edit, glob, grep, list, bash, task, external_directory, lsp, skill, todowrite, question, webfetch, websearch, codesearch, doom_loop) with proper types, enabling autocomplete when editing permission files.
2026-04-25 09:48:09 -04:00
Dax fc6904b9a3 fix permission config order (#24222) 2026-04-25 13:18:42 +00:00