Kit Langton
6849f96825
refactor(provider): share model status schema ( #26595 )
...
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:20:31 -04:00
Kit Langton
00c3248295
fix(config): allow active provider model status ( #26592 )
...
Co-authored-by: Developer <temp@example.com>
2026-05-09 18:59:05 -04:00
Dax
dcdbdb218f
Move schema utilities into core ( #26565 )
2026-05-09 19:51:09 +00:00
Kit Langton
b24a4e897e
chore(server): clean up post-Hono-deletion scar tissue ( #26542 )
2026-05-09 12:30:18 -04:00
Sebastian
a0fc27e424
flatten to keybind compatible config ( #26421 )
2026-05-09 01:29:13 +02:00
Shoubhit Dash
40d5ea1cf1
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
98f5e6e713
introduce opentui keymap as sole key/cmd engine ( #26053 )
2026-05-07 20:35:31 +02:00
opencode-agent[bot]
b9b854bf9f
chore: generate
2026-05-06 15:13:34 +00:00
Dax
d9c18381a6
feat(config): support well-known remote_config ( #26054 )
2026-05-06 15:12:23 +00:00
Kit Langton
13ac849db5
refactor(config+core): drop ConfigPaths.readFile, add AppFileSystem.readFileStringSafe, flatten TuiConfig.loadState ( #25602 )
2026-05-03 15:21:34 +00:00
Luke Parker
6b68b1020e
docs: clarify LSP and formatter opt-in config ( #25502 )
2026-05-03 00:09:50 +00:00
Kit Langton
f98053c34e
fix(instance): run bootstrap from instance store ( #25475 )
2026-05-02 19:33:38 -04:00
Kit Langton
b09b7d28b8
refactor(instance-store): consolidate dispose helpers ( #25424 )
2026-05-02 11:21:40 -04:00
Kit Langton
4c4860fb24
Replace Instance.disposeAll/load with fixture helper ( #25418 )
2026-05-02 10:56:15 -04:00
Kit Langton
f33aec1139
Convert LoadInput.init to Effect + extract InstanceBootstrap as a Service ( #25376 )
2026-05-02 00:02:52 -04:00
Kit Langton
1571933096
Drop ALS fallbacks from containsPath and workspace routing ( #25374 )
2026-05-02 03:06:22 +00:00
Dax Raad
ff55a40749
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
a9d399699e
fix(desktop): Prevent Model response Interruption when opening settings dialog ( #25114 )
2026-05-01 01:27:38 +00:00
Aiden Cline
6aa8e894b1
chore: rm broken codesearch tool ( #24992 )
2026-04-29 13:15:44 -05:00
Kit Langton
6015084fa2
Prepare Effect HttpApi backend parity ( #24853 )
2026-04-29 09:34:50 -04:00
Dax
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -04:00
Luke Parker
141f33d24b
feat: configurable shell selection + desktop settings UI ( #20602 )
2026-04-27 00:54:55 +00:00
Kit Langton
df9e1d9854
feat(httpapi): bridge config update endpoint ( #24387 )
2026-04-25 17:52:34 -04:00
Dax Raad
f5dce6d960
core: move npm service to core package for shared dependency management
2026-04-25 14:36:15 -04:00
Dax Raad
705f792e87
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
1a734adb4d
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
a9740b9133
fix(config): preserve permission order with Effect decode ( #24308 )
2026-04-25 13:30:12 -04:00
Dax
62ef2a2207
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Dax Raad
1b92c95425
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
66f93035b0
fix permission config order ( #24222 )
2026-04-25 13:18:42 +00:00
rahul
f8c6ddd4cb
feat(truncate): allow configuring tool output truncation limits ( #23770 )
...
Co-authored-by: rgs_ramp <rgs@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-23 17:43:33 -04:00
Kit Langton
cd93533b1f
refactor(bus): migrate BusEvent to Effect Schema ( #24040 )
2026-04-23 15:37:44 -04:00
Kit Langton
0590452456
refactor(schema): use Schema.Int and consolidate PositiveInt/NonNegativeInt ( #24029 )
2026-04-23 13:22:48 -04:00
Kit Langton
d6dea3f3e0
chore(core): clean up after ConfigPermission Effect Schema migration ( #23749 )
2026-04-21 17:40:54 -04:00
Kit Langton
b0f565b74a
refactor(core): migrate ConfigPermission.Info to Effect Schema canonical ( #23740 )
2026-04-21 17:33:13 -04:00
opencode-agent[bot]
1e1a500603
chore: generate
2026-04-21 18:08:04 +00:00
Kit Langton
ecc06a3d8f
refactor(core): make Config.Info canonical Effect Schema ( #23716 )
2026-04-21 14:06:47 -04:00
Kit Langton
96a534d8c6
feat(core): bridge GET /config through experimental HttpApi ( #23712 )
2026-04-21 16:05:23 +00:00
Aiden Cline
2486621ca1
chore: kill unused tool ( #23701 )
2026-04-21 11:31:20 -04:00
Aiden Cline
c6c56ac2cf
tweak: rename tail_tokens -> preserve_recent_tokens ( #23491 )
2026-04-20 01:06:29 -05:00
Dax Raad
5ae74aa881
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Kit Langton
23f31475e7
refactor(config): migrate config.ts root Info to Effect Schema ( #23241 )
2026-04-18 03:44:35 +00:00
opencode-agent[bot]
8a1e85d0c8
chore: generate
2026-04-18 03:17:28 +00:00
Kit Langton
2793502db2
refactor(config): migrate agent.ts Info to Effect Schema ( #23237 )
2026-04-18 03:16:24 +00:00
opencode-agent[bot]
9f7bd0246c
chore: generate
2026-04-18 03:05:59 +00:00
Kit Langton
a6a4350d10
refactor(config): migrate permission.ts Info to Effect Schema ( #23231 )
2026-04-18 03:05:06 +00:00
Kit Langton
fc5b353144
refactor(config): migrate keybinds.ts to Effect Schema ( #23227 )
2026-04-18 02:28:45 +00:00
Kit Langton
826fd3350c
refactor(config): migrate Server + Layout to Effect Schema ( #23216 )
2026-04-18 01:20:06 +00:00
Kit Langton
5181f9b4e1
refactor(config): drop ZodOverride from PositiveInt in provider.ts ( #23215 )
2026-04-18 01:04:40 +00:00
opencode-agent[bot]
cf0a53c501
chore: generate
2026-04-18 00:29:26 +00:00
Kit Langton
2899984819
refactor(config): migrate provider (Model + Info) to Effect Schema ( #23197 )
2026-04-18 00:29:26 +00:00
Dax
cded68a2e2
refactor(npm): use object-based package spec for install API ( #23181 )
2026-04-17 17:30:50 -04:00
opencode-agent[bot]
89e8994fd1
chore: generate
2026-04-17 21:08:00 +00:00
Kit Langton
5980b0a5ee
feat(effect-zod): add tuple support; migrate config/plugin to Effect Schema ( #23178 )
2026-04-17 21:06:55 +00:00
opencode-agent[bot]
89029a20ef
chore: generate
2026-04-17 21:00:20 +00:00
Kit Langton
ce69bd97b9
refactor(config): migrate model-id and command to Effect Schema ( #23175 )
2026-04-17 20:59:24 +00:00
Kit Langton
b1307d5c2a
refactor(config): migrate skills, formatter, console-state to Effect Schema ( #23162 )
2026-04-17 20:49:36 +00:00
opencode-agent[bot]
dc16013b4f
chore: generate
2026-04-17 20:47:05 +00:00
Kit Langton
e7686dbd64
feat(effect-zod): translate Schema.check filters into zod .superRefine + promote LSP refinement to Effect layer ( #23173 )
2026-04-17 20:46:05 +00:00
Kit Langton
d11268ece7
refactor(config): migrate permission Action/Object/Rule leaves to Effect Schema ( #23168 )
2026-04-17 20:35:42 +00:00
Kit Langton
650a13a690
refactor(config): migrate lsp schemas to Effect Schema ( #23167 )
2026-04-17 20:34:47 +00:00
Kit Langton
11fa257549
refactor(config): migrate mcp schemas to Effect Schema.Class ( #23163 )
2026-04-17 20:25:49 +00:00
Dax
467be08e67
refactor: consolidate npm exports and trace flock acquisition ( #23151 )
2026-04-17 18:58:37 +00:00
Dax Raad
2f73e73e9d
trace npm fully
2026-04-17 14:08:45 -04:00
Dax
d9950598d0
core: migrate config loading to Effect framework ( #23032 )
2026-04-17 06:44:01 +00:00
Brendan Allan
a4882290aa
Merge branch 'dev' into nxl/improve-compaction-strategy
2026-04-17 11:53:17 +08:00
Dax
220e3e9a2b
refactor: make formatter config opt-in ( #22997 )
2026-04-17 02:33:09 +00:00
Dax
01bb54a94d
refactor: split config parsing steps ( #22996 )
2026-04-17 01:57:43 +00:00
Kit Langton
c026e25088
refactor: eliminate account/ barrel, route consumers to sibling files ( #22995 )
2026-04-17 01:55:50 +00:00
opencode-agent[bot]
5b9fa32255
chore: generate
2026-04-17 01:36:45 +00:00
Dax
326471a25c
refactor: split config lsp and formatter schemas ( #22986 )
2026-04-17 01:35:26 +00:00
Dax Raad
39342b0e75
tui: fix Windows terminal suspend and input undo keybindings
...
On Windows, native terminals don't support POSIX suspend (ctrl+z), so we now
assign ctrl+z to input undo instead of terminal suspend. Terminal suspend is
disabled on Windows to avoid conflicts with the undo functionality.
2026-04-16 20:37:58 -04:00
Kit Langton
635970b0a1
refactor: unwrap ConfigSkills namespace + self-reexport ( #22950 )
2026-04-17 00:02:53 +00:00
Kit Langton
19d15d9ff7
refactor: unwrap ConfigProvider namespace + self-reexport ( #22949 )
2026-04-17 00:00:48 +00:00
opencode-agent[bot]
f9aa3d77cd
chore: generate
2026-04-16 23:53:10 +00:00
Kit Langton
5d47ea0918
refactor: unwrap ConfigMCP namespace + self-reexport ( #22948 )
2026-04-16 19:52:04 -04:00
Kit Langton
32548bcb4a
refactor: unwrap ConfigPlugin namespace to flat exports + self-reexport ( #22876 )
2026-04-16 16:59:17 -04:00
Kit Langton
1c33b866ba
fix: remove 10 more unnecessary as any casts in opencode core ( #22882 )
2026-04-16 20:11:05 +00:00
Dax Raad
bee5f919fc
core: reorganize ConfigPaths module export for cleaner dependency management
2026-04-16 13:33:54 -04:00
Dax Raad
cefa7f04c6
core: reorganize ConfigPaths module export for cleaner dependency management
2026-04-16 13:32:22 -04:00
Dax Raad
03e20e6ac1
core: modularize config parsing to improve maintainability
...
Extract error handling, parsing logic, and variable substitution into dedicated
modules. This reduces duplication between tui.json and opencode.json parsing
and makes the config system easier to extend for future config formats.
2026-04-16 13:29:03 -04:00
Dax Raad
8b1f0e2d90
core: add documentation comments to plugin configuration merge logic
...
Adds explanatory comments to config.ts and plugin.ts clarifying:
- How plugin specs are stored and normalized during config loading
- Why plugin_origins tracks provenance for location-sensitive decisions
- Why path-like specs are resolved early to prevent reinterpretation during merges
- How plugin deduplication works while keeping origin metadata for writes and diagnostics
2026-04-16 12:55:40 -04:00
Dax Raad
9bf2dfea35
core: refactor config schemas into separate modules for better maintainability
2026-04-16 12:47:09 -04:00
Dax Raad
33bb847a1d
config: refactor
2026-04-16 12:40:24 -04:00
Dax Raad
bfffc3c2c6
tui: ensure TUI plugins load with proper project context when multiple directories are open
...
Fixes potential plugin resolution issues when switching between projects by wrapping
plugin loading in Instance.provide(). This ensures each plugin resolves dependencies
relative to its correct project directory instead of inheriting context from whatever
instance happened to be active.
Also reorganizes config loading code into focused modules (command.ts, managed.ts,
plugin.ts) to make the codebase easier to maintain and test.
2026-04-16 12:40:24 -04:00
Shoubhit Dash
42771c1db3
fix(compaction): budget retained tail with media
2026-04-16 17:30:29 +05:30
Shoubhit Dash
2e18a603f0
merge dev
2026-04-16 17:30:14 +05:30
Dax
ef90b93205
fix: restore .gitignore logic for config dirs and migrate to shared Npm service ( #22772 )
2026-04-16 03:14:06 -04:00
Dax
675a46e23e
CLI perf: reduce deps ( #22652 )
2026-04-16 02:03:03 -04:00
Kit Langton
9f4b73b6a3
fix: clean up final 16 no-unused-vars warnings ( #22751 )
2026-04-16 03:54:21 +00:00
Kit Langton
0e20382396
fix: resolve circular sibling imports causing runtime ReferenceError ( #22752 )
2026-04-15 23:41:34 -04:00
Kit Langton
509bc11f81
feat: unwrap lsp namespaces to flat exports + barrel ( #22748 )
2026-04-15 23:30:52 -04:00
Kit Langton
1ca257e356
feat: unwrap config namespaces to flat exports + barrel ( #22746 )
2026-04-15 23:29:14 -04:00
Kit Langton
80f1f1b5b8
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
2026-04-15 23:27:32 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
379e40d772
feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel ( #22721 )
2026-04-16 02:45:45 +00:00
Kit Langton
6c7e9f6f3a
refactor: migrate Effect call sites from Flock to EffectFlock ( #22688 )
2026-04-16 02:39:59 +00:00
Kit Langton
cce05c1665
fix: clean up 49 unused variables, catch params, and stale imports ( #22695 )
2026-04-16 02:01:53 +00:00
Kit Langton
d6b14e2467
fix: prefix 32 unused parameters with underscore ( #22694 )
2026-04-15 21:56:23 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00