Kit Langton
eb0219988b
feat(httpapi): bridge catalog read endpoints ( #24353 )
2026-04-25 14:00:30 -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
opencode-agent[bot]
27353df0cc
chore: generate
2026-04-25 17:31:57 +00: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
1d728fc627
feat: add startup debug command ( #24310 )
2026-04-25 15:08:19 +00:00
Dax
62ef2a2207
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Dax
37aa8442dc
refactor: remove lazy cross-spawn runtime ( #24305 )
2026-04-25 14:46:16 +00:00
opencode-agent[bot]
5b0e828c10
chore: generate
2026-04-25 14:43:27 +00:00
Kit Langton
d5bfaef53d
feat(httpapi): bridge instance read endpoints ( #24258 )
2026-04-25 10:42:31 -04:00
opencode
bad732c26a
sync release versions for v1.14.25
2026-04-25 14:37:01 +00: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 Raad
d748c71845
ci: centralize opentui dependencies in workspace catalog
...
Use catalog references for @opentui/core, @opentui/solid, and opentui-spinner
across packages to ensure consistent versions and simplify updates.
2026-04-25 09:41:30 -04:00
Dax
66f93035b0
fix permission config order ( #24222 )
2026-04-25 13:18:42 +00:00
Simon Klee
9ff999cc2b
tool/lsp: include request details in permission metadata ( #24139 )
2026-04-25 14:21:35 +02:00
Luke Parker
73ee7ae702
Merge branch 'dev' into refactor-shells
2026-04-25 15:23:49 +10:00
LukeParkerDev
2051cadcb8
Update prompt.ts
2026-04-25 15:18:30 +10:00
Kit Langton
4877eccc0d
Fix shell cwd after login startup ( #24215 )
2026-04-25 01:14:52 -04:00
Maddison Hellstrom
49894330d9
fix(build): add prettier to devDependencies ( #23255 )
2026-04-24 22:47:05 -04:00
LukeParkerDev
790d181d8a
slight accuracy
2026-04-25 11:37:32 +10:00
LukeParkerDev
ecac4c4e2a
split prompt/definition from logic
2026-04-25 11:32:18 +10:00
LukeParkerDev
f89955a4e3
Merge remote-tracking branch 'upstream/dev' into refactor-shells
2026-04-25 11:18:01 +10:00
LukeParkerDev
428b0c46a7
cmd
2026-04-25 11:15:31 +10:00
LukeParkerDev
341b8e78c9
perms
2026-04-25 11:11:42 +10:00
Luke Parker
1e4b7b5451
Add Roslyn support for Razor and C# scripts ( #24228 )
2026-04-25 10:25:57 +10:00
LukeParkerDev
d704110e52
fix: lazy session error schema
2026-04-25 10:04:49 +10:00
opencode-agent[bot]
5cd178ba70
chore: generate
2026-04-24 22:05:23 +00:00
Kit Langton
97eb9fdee8
test(httpapi): cover hono bridge middleware ( #24216 )
2026-04-24 18:03:51 -04:00
Kit Langton
5a04de231e
refactor(ripgrep): migrate result schemas to effect ( #24213 )
2026-04-24 17:42:52 -04:00
Kyle Altendorf
bb3509b5ff
fix(opencode): clarify git amend condition to require verifying commit landed ( #19937 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-04-24 17:42:10 -04:00
Aiden Cline
4a67905266
fix: ensure gpt-5.5 compacts at correct context size when using openai oauth ( #24212 )
2026-04-24 17:39:06 -04:00
opencode-agent[bot]
c4e33d3168
chore: generate
2026-04-24 21:38:31 +00:00
Kit Langton
361d7001d0
Clarify HttpApi migration plan ( #24211 )
2026-04-24 17:36:49 -04:00
opencode-agent[bot]
7a02eee0f4
chore: generate
2026-04-24 21:13:00 +00:00
Kit Langton
cf45a8d807
refactor(schema): decode effect schemas directly ( #24169 )
2026-04-24 17:11:52 -04:00
Kit Langton
435becbea0
Refactor HttpApi auth middleware wiring ( #24168 )
2026-04-24 17:11:07 -04:00
opencode
28025a0f36
sync release versions for v1.14.24
2026-04-24 15:53:03 +00:00
Sebastian
3a5507de95
Use OpenTUI theme detection for initial TUI mode, again ( #23846 )
2026-04-24 17:28:07 +02:00
Aiden Cline
86715fecc4
fix: ensure assistant messages always have reasoning on them for deepseek ( #24180 )
2026-04-24 11:10:47 -04:00
Shoubhit Dash
80aeb78b38
Merge branch 'dev' into nxl/background-subagents
2026-04-24 20:32:04 +05:30
Shoubhit Dash
601fe03a3a
refactor(task): simplify effect wrappers
2026-04-24 20:30:53 +05:30
Shoubhit Dash
3f4b9d9ef4
test(task): use branded session id in schema test
2026-04-24 20:21:02 +05:30
Shoubhit Dash
1357bb984f
style: fix background task formatting
2026-04-24 20:20:04 +05:30
Shoubhit Dash
ecde8ab363
test(task): update parameter schema snapshot
2026-04-24 20:20:04 +05:30
07akioni
3062d3e070
fix: use existingModel as fallback for interleaved field ( #24172 )
2026-04-24 10:41:41 -04:00
Shoubhit Dash
7970130720
fix(ui): label background task cards
2026-04-24 20:08:32 +05:30
Shoubhit Dash
971c837ad4
feat(task): add background subagent support
2026-04-24 20:08:24 +05:30
Shoubhit Dash
b633a8b1c8
refactor(scout): fold github remote parsing into repository
2026-04-24 19:03:56 +05:30
Shoubhit Dash
c750df3e86
fix(scout): use effect schema tool params
2026-04-24 18:58:28 +05:30
opencode-agent[bot]
d89bfc32ac
chore: generate
2026-04-24 13:20:23 +00:00
Kit Langton
011c23761b
feat(httpapi): bridge mcp status endpoint ( #24100 )
2026-04-24 09:18:57 -04:00
opencode
a8c8d2dd79
sync release versions for v1.14.23
2026-04-24 13:17:13 +00:00
Kit Langton
9f7ecd65e5
feat(httpapi): bridge file read endpoints ( #24098 )
2026-04-24 09:12:05 -04:00
Aiden Cline
f8e939d96f
fix: support max for deepseek ( #24163 )
2026-04-24 08:48:52 -04:00
黑墨水鱼
923af96d26
fix: preserve empty reasoning_content for DeepSeek V4 thinking mode ( #24146 )
...
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-04-24 08:42:57 -04:00
Aiden Cline
a882e958b3
fix: deepseek variants ( #24157 )
2026-04-24 08:34:48 -04:00
Shoubhit Dash
3bf0c79396
Merge branch 'dev' into nxl/scout-repo-tools
2026-04-24 16:39:56 +05:30
Shoubhit Dash
35a19df57d
fix(scout): widen repo tool schema types
2026-04-24 16:38:37 +05:30
Shoubhit Dash
343e68853c
fix(scout): type repo tool definitions
2026-04-24 16:34:45 +05:30
Shoubhit Dash
1e0246cdc8
feat(scout): add repo research tools
2026-04-24 16:29:19 +05:30
Ariane Emory
09e4e5a184
Merge branch 'dev' into feat/canceled-prompts-in-history
2026-04-23 21:55:13 -04:00
LukeParkerDev
4f8ff6ab53
.
2026-04-24 08:23:18 +10:00
LukeParkerDev
7266b48ca0
Merge remote-tracking branch 'upstream/dev' into refactor-shells
2026-04-24 08:11:09 +10:00
LukeParkerDev
26d77add77
edges
2026-04-24 08:03:16 +10:00
LukeParkerDev
cffb8eb1e3
.
2026-04-24 07:54:08 +10: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
LukeParkerDev
6d66973fd5
clean
2026-04-24 07:39:19 +10:00
Kit Langton
e50a688ca3
feat(httpapi): bridge workspace read endpoints ( #24062 )
2026-04-23 17:32:02 -04:00
Aiden Cline
334ab4707c
fix: account for additional openai retry case ( #24063 )
2026-04-23 17:31:43 -04:00
Aiden Cline
87321942fe
chore: update copilot readme to symlink to an agents md to prevent dumbass agents from touching these files ( #24057 )
2026-04-23 17:08:46 -04:00
opencode-agent[bot]
a771859362
chore: generate
2026-04-23 20:50:19 +00:00
Kit Langton
31d01d404a
refactor(control-plane): migrate workspace DTO schemas ( #24056 )
2026-04-23 16:48:56 -04:00
Kit Langton
814e83ffec
docs: update effect schema migration tracker ( #24054 )
2026-04-23 16:23:45 -04:00
opencode-agent[bot]
4c3e65c877
chore: generate
2026-04-23 20:20:26 +00:00
James Long
98ea5b6e7e
feat(tui): support builtin protocol for handling context from editors ( #24034 )
2026-04-23 16:19:19 -04:00
opencode-agent[bot]
3f8c659056
chore: generate
2026-04-23 20:10:56 +00:00
Kit Langton
3910a6e527
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23244 )
2026-04-23 16:09:34 -04:00
opencode-agent[bot]
24892559ae
chore: generate
2026-04-23 19:38:54 +00: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
93940a1859
refactor(provider): migrate provider domain to Effect Schema ( #24027 )
2026-04-23 13:17:33 -04:00
Kit Langton
8b2f8355b2
docs(schema): mark sync/index.ts migrated with compat-bridge note ( #24024 )
2026-04-23 12:54:46 -04:00
opencode-agent[bot]
aed03078f8
chore: generate
2026-04-23 16:44:32 +00:00
Kit Langton
c50d65b4d6
refactor(sync): make session events schema-first ( #24019 )
2026-04-23 12:43:08 -04:00
opencode-agent[bot]
353532b1c1
chore: generate
2026-04-23 16:00:01 +00:00
Shoubhit Dash
9df7c78ebe
fix(npm): respect npmrc for version lookups ( #24016 )
2026-04-23 21:28:54 +05:30
opencode
eb7555d3c6
sync release versions for v1.14.22
2026-04-23 15:56:49 +00:00
opencode-agent[bot]
2cd89d64e9
chore: generate
2026-04-23 15:31:16 +00:00
Kit Langton
0517ab4695
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
James Long
bbf67d0fff
fix(tui): render all non-synthetic text parts of a user message ( #24009 )
2026-04-23 11:24:40 -04:00
Shoubhit Dash
38deb0f3ee
fix(npm): respect npmrc config ( #24001 )
2026-04-23 19:54:01 +05:30
opencode-agent[bot]
3ae74cb047
chore: generate
2026-04-23 10:58:14 +00:00
Brendan Allan
6002500bc0
feat(project): add icon_url_override field to projects ( #23955 )
2026-04-23 18:57:04 +08:00
LukeParkerDev
3e30068907
refactor: make shell the canonical tool internals
2026-04-23 19:46:00 +10:00
LukeParkerDev
b75f831eaa
.
2026-04-23 17:34:57 +10:00
LukeParkerDev
f9a633bd0b
Merge remote-tracking branch 'upstream/dev' into refactor-shells
2026-04-23 17:31:07 +10:00
opencode
871789ce64
sync release versions for v1.14.21
2026-04-23 05:45:21 +00:00
Aiden Cline
9730008543
tweak: codex model logic ( #23925 )
2026-04-23 00:29:56 -04:00
opencode-agent[bot]
1cd4c92242
chore: generate
2026-04-23 00:25:40 -04:00
Luke Parker
e383df4b17
feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) ( #23771 )
2026-04-23 00:25:40 -04:00
Steven T. Cramer
3a082a0efd
fix(project): use git common dir for bare repo project cache ( #19054 )
2026-04-23 00:25:39 -04:00
opencode-agent[bot]
504fd1b373
chore: generate
2026-04-23 00:25:39 -04:00
Shoubhit Dash
574b2c2170
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -04:00
opencode-agent[bot]
fa8b7bc4d2
chore: generate
2026-04-23 00:25:38 -04:00
Shoubhit Dash
6196b81e0a
fix(tui): fail fast on invalid session startup ( #23837 )
2026-04-23 00:25:38 -04:00
opencode-agent[bot]
71d196d3cd
chore: generate
2026-04-23 00:25:37 -04:00
Luke Parker
20756e0ee4
test: fix cross-spawn stderr race on Windows CI ( #23808 )
2026-04-23 00:25:37 -04:00
opencode-agent[bot]
894e638914
chore: generate
2026-04-23 00:25:37 -04:00
Luke Parker
8113a4360e
fix: preserve BOM in text tool round-trips ( #23797 )
2026-04-23 00:25:36 -04:00
opencode-agent[bot]
b0455583aa
chore: generate
2026-04-22 03:41:42 +00:00
Kit Langton
ed802fd121
refactor(core): migrate MessageV2 errors to Schema-backed named errors ( #23764 )
2026-04-21 23:40:32 -04:00
Kit Langton
1593c3ed16
refactor(core): migrate MessageV2 internal Cursor to Effect Schema ( #23763 )
2026-04-21 23:28:33 -04:00
Kit Langton
e89543811c
refactor(core): migrate MessageV2 message DTOs (User/Assistant/Part/Info/WithParts) to Effect Schema ( #23757 )
2026-04-21 23:26:12 -04:00
opencode-agent[bot]
1a76799fd8
chore: generate
2026-04-22 03:18:25 +00:00
Kit Langton
fa623964a2
refactor(core): migrate MessageV2 part leaves + ToolPart to Effect Schema ( #23756 )
2026-04-21 23:17:23 -04:00
Kit Langton
ad7ae7353f
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
opencode-agent[bot]
d2181e9273
chore: generate
2026-04-21 22:04:16 +00:00
Mathews Bryan
5e9fb3cc90
feat: replace csharp-ls with roslyn-language-server ( #14463 )
...
Co-authored-by: Mathews <Mathews.Bryan@cincpro.com>
2026-04-21 22:03:09 +00:00
Kit Langton
2da6d860e0
refactor(core): derive provider schema .zod via effect-zod walker ( #23753 )
2026-04-21 17:49:24 -04:00
Kit Langton
df0c1f649c
refactor(core): migrate MessageV2 tool state schemas to Effect Schema ( #23752 )
2026-04-21 17:47:50 -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
0bcf734a67
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Kit Langton
b0f565b74a
refactor(core): migrate ConfigPermission.Info to Effect Schema canonical ( #23740 )
2026-04-21 17:33:13 -04:00
Kit Langton
2ae64f426b
refactor(core): migrate MessageV2.Format to Effect Schema ( #23744 )
2026-04-21 17:30:08 -04:00
Kit Langton
7933657135
migrate LSP data schemas to Effect Schema ( #23745 )
2026-04-21 17:26:50 -04:00
Ruben De Smet
1a20703469
feat: add Mistral Small reasoning variant support (issue #19479 ) ( #23735 )
2026-04-21 16:45:06 -04:00
Aiden Cline
58232d896e
fix: dont show variants for kimi models that dont support them ( #23696 )
2026-04-21 15:33:35 -04:00
Rahul Iyer
cd6415f332
fix(tui): don't check for version upgrades if it's disabled by the user ( #20089 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-21 15:30:15 -04:00
opencode
c9fb8d0ce7
sync release versions for v1.14.20
2026-04-21 19:07:36 +00: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
Aiden Cline
e95474df05
fix: revert parts of a824064c4 which caused system theme regression ( #23714 )
2026-04-21 12:08:12 -04:00
Kit Langton
96a534d8c6
feat(core): bridge GET /config through experimental HttpApi ( #23712 )
2026-04-21 16:05:23 +00:00
Kit Langton
9579429276
test(opencode): consolidate session prompt tests into Effect style ( #23710 )
2026-04-21 15:54:40 +00:00
Aiden Cline
2486621ca1
chore: kill unused tool ( #23701 )
2026-04-21 11:31:20 -04:00
James Long
b5acc2203c
fix(core): fix permissions routing when using remote workspace ( #23593 )
2026-04-21 14:42:54 +00:00
Luke Parker
92c005866b
fix(core): use file:// URLs for local dynamic import() on Windows+Node ( #23639 )
2026-04-21 07:54:53 +00:00
Brendan Allan
e041605b40
Merge branch 'dev' into brendan/lazy-init-plugins
2026-04-21 12:33:02 +08:00
opencode-agent[bot]
bd1bdc4f04
chore: generate
2026-04-20 18:29:48 +00:00
James Long
debcff2b6b
feat(core): add debug workspace server ( #23590 )
2026-04-20 18:27:58 +00:00
opencode
7c6948cf6f
sync release versions for v1.14.19
2026-04-20 07:21:46 +00:00
Luke Parker
7a568a457f
fix: defer MessageV2.Assistant.shape access to break circular dep in compiled binary ( #23495 )
2026-04-20 06:39:13 +00:00
LukeParkerDev
2b3d027e3b
fix: resolve compiled binary crashes from circular dep and Bun CJS splitting bug
2026-04-20 16:19:44 +10:00
LukeParkerDev
f280e7e69c
fix: defer MessageV2.Assistant.shape access to break circular dep in compiled binary
2026-04-20 16:08:42 +10:00
opencode-agent[bot]
f3d5a71620
chore: generate
2026-04-20 06:07:28 +00:00
Aiden Cline
c6c56ac2cf
tweak: rename tail_tokens -> preserve_recent_tokens ( #23491 )
2026-04-20 01:06:29 -05:00
Aiden Cline
e539efe2b9
fix: patch arborist to get around bun bug ( #23460 )
2026-04-20 00:49:46 -05:00
opencode-agent[bot]
84e322b0fd
chore: generate
2026-04-20 05:15:29 +00:00
Aiden Cline
8bc4f91fd9
fix: parallel edits sometimes would override each other ( #23483 )
2026-04-20 00:14:21 -05:00
opencode-agent[bot]
cbe702c09d
chore: generate
2026-04-20 04:40:12 +00:00