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]
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
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
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
Ruben De Smet
1a20703469
feat: add Mistral Small reasoning variant support (issue #19479 ) ( #23735 )
2026-04-21 16:45:06 -04:00
Kit Langton
ecc06a3d8f
refactor(core): make Config.Info canonical Effect Schema ( #23716 )
2026-04-21 14:06:47 -04: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
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
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
Dax Raad
b9640fc7e4
core: fix session compaction test to properly enable prune config option
2026-04-19 19:53:43 -04:00
Dax Raad
5ae74aa881
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Aiden Cline
78ca49a1bc
test: fix bedrock test ( #23351 )
2026-04-18 17:46:15 -05:00
Kit Langton
9918f389e7
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
opencode-agent[bot]
dd8c424806
chore: generate
2026-04-18 15:21:48 +00:00
Dax Raad
078d8a07cf
core: support OTEL_RESOURCE_ATTRIBUTES environment variable for custom telemetry attributes
...
Users can now pass custom OpenTelemetry resource attributes via the OTEL_RESOURCE_ATTRIBUTES environment variable (comma-separated key=value format). These attributes are automatically included in all telemetry data sent from both the main process and workspace environments, enabling better observability integration with existing monitoring systems that rely on custom resource tags.
2026-04-18 11:20:29 -04:00
Dax Raad
55315bdffa
tui: fix sync loading indicator to properly show loading state on startup
2026-04-18 10:39:10 -04:00
Dax Raad
882b8e1e75
core: track retry attempts with detailed error context on assistant entries
...
users can now see when transient failures occur during assistant responses,
such as rate limits or provider overloads, giving visibility into what
issues were encountered and automatically resolved before the final response
2026-04-18 10:38:35 -04:00
opencode-agent[bot]
95edbc0ae6
chore: generate
2026-04-18 05:49:37 +00:00
Dax Raad
11cd4fb639
core: extract session entry stepping logic into dedicated module
...
Move the step function from session-entry.ts to session-entry-stepper.ts and remove immer dependency. Add static fromEvent factory methods to Synthetic, Assistant, and Compaction classes for cleaner event-to-entry conversion.
2026-04-18 01:48:21 -04:00
Aiden Cline
9c16bd1e30
fix: make skills logic more token efficient ( #23253 )
2026-04-17 23:51:16 -05:00
opencode-agent[bot]
daaa1c7e26
chore: generate
2026-04-18 02:03:30 +00:00
Kit Langton
1fae784b81
feat(effect-zod): add ZodPreprocess annotation for pre-parse transforms ( #23222 )
2026-04-18 02:02:37 +00:00
Kit Langton
e6fd57165e
refactor: remove ambient instance reads from lsp ( #23023 )
2026-04-17 21:47:59 -04:00
opencode-agent[bot]
f52ae28432
chore: generate
2026-04-18 00:56:33 +00:00
Kit Langton
36119ff173
feat(effect-zod): translate Schema.withDecodingDefault into zod .default() ( #23207 )
2026-04-17 20:55:38 -04:00
Kit Langton
bb90f3bbf9
feat(effect-zod): translate well-known filters into native Zod methods ( #23209 )
2026-04-17 20:50:36 -04:00
Kit Langton
05cdb7c107
refactor(v2): tag session unions and exhaustively match events ( #23201 )
2026-04-18 00:29:26 +00:00
Kit Langton
211136e3a8
feat(effect-zod): transform support + walk memoization + flattened checks ( #23203 )
2026-04-18 00:29:26 +00:00
Kit Langton
eafbe5c57c
refactor(server): align route-span attrs with OTel semantic conventions ( #23198 )
2026-04-18 00:29:26 +00:00
Kit Langton
7b98f544ff
feat(effect-zod): add catchall (StructWithRest) support to the walker ( #23186 )
2026-04-18 00:29:26 +00:00
Kit Langton
d5c4c26b4b
feat(server): auto-tag route spans with route params (session.id, message.id, …) ( #23189 )
2026-04-18 00:29:26 +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]
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
68834cfcc3
fix(opencode): normalize provider metadata and tag otel runs ( #23140 )
2026-04-17 15:22:08 -04:00
Dax
467be08e67
refactor: consolidate npm exports and trace flock acquisition ( #23151 )
2026-04-17 18:58:37 +00:00
Dax Raad
b1f076558c
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
Dax Raad
2f73e73e9d
trace npm fully
2026-04-17 14:08:45 -04:00
James Long
a8c78fc005
fix(core): add historical sync on workspace connect ( #23121 )
2026-04-17 13:30:09 -04:00
Ismail Ghallou
3fe602cda3
feat: add LLM Gateway provider ( #7847 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-17 10:29:31 -05:00
James Long
7605acff65
refactor(core): move server routes around to clarify workspacing ( #23031 )
2026-04-17 02:06:20 -04:00
Aiden Cline
76a141090e
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Brendan Allan
a4882290aa
Merge branch 'dev' into nxl/improve-compaction-strategy
2026-04-17 11:53:17 +08:00
James Long
0bedea52b1
fix(tui): tui resiliency when workspace is dead, disable directory filter in session list ( #23013 )
2026-04-16 23:35:36 -04:00
opencode-agent[bot]
dc38f22bd8
chore: generate
2026-04-17 02:34:07 +00:00
Dax
220e3e9a2b
refactor: make formatter config opt-in ( #22997 )
2026-04-17 02:33:09 +00:00
Dax
ee708040f6
fix: prefer real undo filenames over /dev/null ( #23006 )
2026-04-16 22:25:43 -04:00
Dax
01bb54a94d
refactor: split config parsing steps ( #22996 )
2026-04-17 01:57:43 +00:00
Kit Langton
f592c3846b
refactor: convert Flag namespace to const object with getters ( #22984 )
2026-04-17 01:57:21 +00:00
Kit Langton
c026e25088
refactor: eliminate account/ barrel, route consumers to sibling files ( #22995 )
2026-04-17 01:55:50 +00:00
Kit Langton
9c87a144e8
refactor: normalize AccountRepo to canonical Effect service pattern ( #22991 )
2026-04-17 01:43:57 +00:00
Kit Langton
5d47ea0918
refactor: unwrap ConfigMCP namespace + self-reexport ( #22948 )
2026-04-16 19:52:04 -04:00
Kit Langton
2638e2acfa
refactor: collapse plugin barrel into plugin/index.ts ( #22914 )
2026-04-16 20:37:13 +00:00
Kit Langton
1c33b866ba
fix: remove 10 more unnecessary as any casts in opencode core ( #22882 )
2026-04-16 20:11:05 +00:00
Kobi Hudson
5e650fd9e2
fix(opencode): drop max_tokens for OpenAI reasoning models on Cloudflare AI Gateway ( #22864 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-16 15:01:21 -05:00
Aiden Cline
47e0e2342c
tweak: set display 'summarized' by default for opus 4.7 thorugh messages api ( #22873 )
2026-04-16 14:12:43 -05:00
Dax
9afbdc102c
fix(test): make plugin loader theme source path separator-safe ( #22870 )
2026-04-16 14:45:17 -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
Aiden Cline
c5deeee8c7
fix: ensure azure has store = true by default ( #22764 )
2026-04-16 12:19:01 -05: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
James Long
06afd33291
refactor(tui): improve workspace management ( #22691 )
2026-04-16 12:24:40 -04:00
James Long
305460b25f
fix: add a few more tests for sync and session restore ( #22837 )
2026-04-16 12:15:44 -04:00
Graham Campbell
378c05f202
feat: Add support for claude opus 4.7 xhigh adaptive reasoning effort ( #22833 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-16 10:57:36 -05: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
6b20838981
feat: unwrap provider namespaces to flat exports + barrel ( #22760 )
2026-04-16 05:02:50 +00:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel ( #22762 )
2026-04-16 03:56:54 +00:00
Kit Langton
9f4b73b6a3
fix: clean up final 16 no-unused-vars warnings ( #22751 )
2026-04-16 03:54:21 +00:00
Kit Langton
8aa0f9fe95
feat: enable type-aware no-base-to-string rule, fix 56 violations ( #22750 )
2026-04-16 03:50:47 +00:00
Kit Langton
509bc11f81
feat: unwrap lsp namespaces to flat exports + barrel ( #22748 )
2026-04-15 23:30:52 -04:00
Kit Langton
f24207844f
feat: unwrap storage namespaces to flat exports + barrel ( #22747 )
2026-04-15 23:30:49 -04:00
Kit Langton
1ca257e356
feat: unwrap config namespaces to flat exports + barrel ( #22746 )
2026-04-15 23:29:14 -04:00
Kit Langton
d4cfbd020d
feat: unwrap effect namespaces to flat exports + barrel ( #22745 )
2026-04-15 23:29:12 -04:00
Kit Langton
581d5208ca
feat: unwrap share namespaces to flat exports + barrel ( #22744 )
2026-04-15 23:28:46 -04:00
Kit Langton
a427a28fa9
feat: unwrap project namespaces to flat exports + barrel ( #22743 )
2026-04-15 23:28:46 -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
702f741267
feat: enable oxlint suspicious category, fix 24 violations ( #22727 )
2026-04-16 02:53:10 +00: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
cf423d2769
fix: remove 10 unused type-only imports and declarations ( #22696 )
2026-04-16 02:17:59 +00:00
Kit Langton
5ae91aa810
feat: unwrap uplugin namespace to flat exports + barrel ( #22711 )
2026-04-16 02:15:19 +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
34213d4446
fix: delete 9 dead functions with zero callers ( #22697 )
2026-04-16 02:01:02 +00:00
Kit Langton
d6b14e2467
fix: prefix 32 unused parameters with underscore ( #22694 )
2026-04-15 21:56:23 -04:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
2026-04-15 21:33:54 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Kit Langton
0fb0135e51
refactor: remove makeRuntime facades from File and Ripgrep ( #22513 )
2026-04-15 21:22:18 -04:00
Aiden Cline
307251bf3c
fix: bash memory usage ( #22660 )
2026-04-15 20:09:06 -05:00
James Long
074ef032ee
feat(core): add fence to make all methods strongly consistent when syncing ( #22679 )
2026-04-15 21:04:37 -04:00
Kit Langton
4ca809ef4e
fix(session): retry 5xx server errors even when isRetryable is unset ( #22511 )
2026-04-16 00:58:48 +00:00
Kit Langton
3d6f90cb53
feat: add oxlint with correctness defaults ( #22682 )
2026-04-15 20:45:19 -04:00
Kit Langton
250e30bc7d
add experimental permission HttpApi slice ( #22385 )
2026-04-15 21:28:01 +00:00
Aiden Cline
e83b22159d
tweak: ensure auto continuing compaction is tracked as agent initiated for github copilot ( #22567 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-15 15:50:33 -05:00
Aiden Cline
348a84969d
fix: ensure tool_use is always followed by tool_result ( #22646 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-15 14:56:45 -05:00
Dax
4ae7c77f8a
migrate: move flock and hash utilities to shared package ( #22640 )
2026-04-15 15:50:24 +00:00
Kit Langton
f1751401aa
fix(effect): add effect bridge for callback contexts ( #22504 )
2026-04-15 15:22:34 +00:00
Kit Langton
fe01fa7249
remove makeRuntime facade from Env ( #22523 )
2026-04-15 10:55:50 -04:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Shoubhit Dash
f6409759e5
fix: restore instance context in prompt runs ( #22498 )
2026-04-15 03:59:12 +05:30
Kit Langton
aeb7d99d20
fix(effect): preserve logger context in prompt runs ( #22496 )
2026-04-14 17:33:44 -04:00
Kit Langton
f2525a63c9
add experimental question HttpApi slice ( #22357 )
2026-04-14 19:43:49 +00:00
Dax Raad
6ce5c01b1a
ignore: v2 experiments
2026-04-14 14:25:38 -04:00
Kit Langton
4626458175
fix(mcp): persist immediate oauth connections ( #22376 )
2026-04-14 13:56:45 -04:00
Kit Langton
68384613be
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -04:00
Kit Langton
4f967d5bc0
improve bash timeout retry hint ( #22390 )
2026-04-14 12:55:03 -04:00
Kit Langton
020c47a055
refactor(project): remove async facade exports ( #22387 )
2026-04-14 12:49:20 -04:00
Aiden Cline
b1312a3181
core: prevent duplicate user messages in ACP clients ( #22468 )
2026-04-14 11:37:33 -05:00
Shoubhit Dash
d6840868d4
refactor(ripgrep): use embedded wasm backend ( #21703 )
2026-04-14 11:56:23 +05:30
Kit Langton
f954854232
refactor(instance): remove state helper ( #22381 )
2026-04-13 22:40:12 -04:00
Kit Langton
6a99079012
kit/env instance state ( #22383 )
2026-04-13 22:28:16 -04:00
Kit Langton
f40209bdfb
refactor(snapshot): remove async facade exports ( #22370 )
2026-04-13 21:24:54 -04:00
Kit Langton
a2cb4909da
refactor(plugin): remove async facade exports ( #22367 )
2026-04-13 21:24:20 -04:00
Kit Langton
7a05ba47d1
refactor(session): remove compaction async facade exports ( #22366 )
2026-04-13 21:23:34 -04:00
Kit Langton
36745caa2a
refactor(worktree): remove async facade exports ( #22369 )
2026-04-13 21:23:15 -04:00
Aiden Cline
34e2429c49
feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction ( #22361 )
2026-04-13 20:14:53 -05:00
Kit Langton
e8471256f2
refactor(session): move llm stream into layer ( #22358 )
2026-04-13 19:53:30 -04:00
Kit Langton
d199648aeb
refactor(permission): remove async facade exports ( #22342 )
2026-04-13 19:33:58 -04:00
Kit Langton
a06f40297b
fix grep exact file path searches ( #22356 )
2026-04-13 19:26:50 -04:00
Kit Langton
67aaecacac
refactor(session): remove revert async facade exports ( #22339 )
2026-04-13 16:16:13 -04:00
Kit Langton
29c202e6ab
refactor(mcp): remove mcp auth async facade exports ( #22338 )
2026-04-13 15:36:12 -04:00
Kit Langton
dcbf11f41a
refactor(session): remove summary async facades ( #22337 )
2026-04-13 15:35:38 -04:00
Kit Langton
14ccff4037
refactor(agent): remove async facade exports ( #22341 )
2026-04-13 14:54:01 -04:00
Kit Langton
1dc69359d5
refactor(mcp): remove async facade exports ( #22324 )
2026-04-13 13:45:34 -04:00
James Long
bf50d1c028
feat(core): expose workspace adaptors to plugins ( #21927 )
2026-04-13 13:33:13 -04:00
Kit Langton
b8801dbd22
refactor(file): remove async facade exports ( #22322 )
2026-04-13 13:12:02 -04:00
Kit Langton
f7c6943817
refactor(config): remove async facade exports ( #22325 )
2026-04-13 13:11:05 -04:00
Kit Langton
21d7a85e76
refactor(lsp): remove async facade exports ( #22321 )
2026-04-13 12:47:52 -04:00
Kit Langton
663e798e76
refactor(provider): remove async facade exports ( #22320 )
2026-04-13 12:40:00 -04:00
Aiden Cline
5bc2d2498d
test: ensure project and global instructions are loaded ( #22317 )
2026-04-13 11:34:38 -05:00
Kit Langton
c22e34853d
refactor(auth): remove async auth facade exports ( #22306 )
2026-04-13 12:31:43 -04:00
Kit Langton
6825b0bbc7
refactor(pty): remove async facade exports ( #22305 )
2026-04-13 11:47:05 -04:00
Kit Langton
ca6200121b
refactor: remove vcs async facade exports ( #22304 )
2026-04-13 11:22:20 -04:00
Kit Langton
7239b38b7f
refactor(skill): remove async facade exports ( #22308 )
2026-04-13 11:18:10 -04:00
Kit Langton
9ae8dc2d01
refactor: remove ToolRegistry runtime facade ( #22307 )
2026-04-13 11:09:32 -04:00
Brendan Allan
94f71f59a3
core: make InstanceBootstrap into an effect ( #22274 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-04-13 10:16:40 -04:00
Kit Langton
6fdb8ab90d
refactor(file): add ripgrep search service ( #22295 )
2026-04-13 10:04:32 -04:00
Kit Langton
321bf1f8e1
refactor: finish small effect service adoption cleanups ( #22094 )
2026-04-13 09:17:13 -04:00
Aiden Cline
a915fe74be
tweak: adjust session getUsage function to use more up to date LanguageModelUsage instead of LanguageModelV2Usage ( #22224 )
2026-04-12 21:39:06 -05:00
Dax
264418c0cd
fix(snapshot): complete gitignore respect for previously tracked files ( #22172 )
2026-04-12 14:05:46 -04:00
Dax
113304a058
fix(snapshot): respect gitignore for previously tracked files ( #22171 )
2026-04-12 13:41:50 -04:00
Aiden Cline
cdb951ec2f
feat: make gh copilot use msgs api when available ( #22106 )
2026-04-11 23:06:35 -05:00
Aiden Cline
fc01cad2b8
fix: ensure logger cleanup properly orders list before deleting files ( #22101 )
2026-04-11 22:07:34 -05:00
opencode-agent[bot]
c1ddc0ea2d
chore: generate
2026-04-12 01:21:17 +00:00
Kit Langton
319b7655b7
refactor(tool): destroy Truncate facade, effectify Tool.define ( #22093 )
2026-04-11 21:20:12 -04:00
Kit Langton
824c12c01a
refactor(file): destroy FileWatcher facade ( #22091 )
2026-04-11 21:19:12 -04:00
opencode-agent[bot]
17b2900884
chore: generate
2026-04-12 00:58:05 +00:00
Kit Langton
003010bdb6
refactor(question): destroy Question facade ( #22092 )
2026-04-11 20:57:01 -04:00
Kit Langton
82a4292934
refactor(file): destroy FileTime facade ( #22090 )
2026-04-11 20:08:55 -04:00
Kit Langton
eea4253d67
refactor(session): destroy Instruction facade ( #22089 )
2026-04-11 20:04:09 -04:00
Kit Langton
1a509d62a0
refactor(session): destroy SessionRunState facade ( #22064 )
2026-04-11 20:01:52 -04:00
Dax
ca5f086759
refactor(server): simplify router middleware with next() ( #21720 )
2026-04-11 16:55:17 -04:00
ryan.h.park
63035f977f
fix: enable thinking for zhipuai-coding-plan & prevent Korean IME truncation ( #22041 )
...
Co-authored-by: claudianus <claudianus@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-11 15:51:49 -05:00
Kit Langton
ccb0b320e1
refactor(session): make SystemPrompt a proper Effect Service ( #21992 )
2026-04-11 12:52:35 -04:00
Kit Langton
5ee7edaf9e
refactor(tool): make Tool.Info init effectful ( #21989 )
2026-04-11 12:33:17 -04:00
Kit Langton
87e23abb10
refactor: remove ProviderAuth facade ( #21983 )
2026-04-10 23:25:43 -04:00
Kit Langton
3dd09147c2
refactor(tool): Tool.Context.metadata returns Effect ( #21972 )
2026-04-10 23:12:04 -04:00
Kit Langton
9581bf0670
refactor(effect): upgrade opencode to beta.46 context APIs ( #21977 )
2026-04-10 23:06:28 -04:00
Kit Langton
af8aff3788
refactor: make TaskPromptOps effectful ( #21971 )
2026-04-10 22:57:47 -04:00
opencode-agent[bot]
577139c626
chore: generate
2026-04-11 02:36:59 +00:00
Kit Langton
c5fb6281f0
refactor(tool): Tool.Def.execute returns Effect, rename defineEffect → define ( #21961 )
2026-04-10 22:36:02 -04:00
Kit Langton
f99812443c
refactor: destroy SessionStatus facade ( #21968 )
2026-04-10 22:16:53 -04:00
opencode-agent[bot]
605559b165
chore: generate
2026-04-11 01:22:01 +00:00
Kit Langton
5cd4c6eb22
refactor: destroy Storage facades ( #21956 )
2026-04-10 21:21:02 -04:00
Aiden Cline
96c1c0363d
chore: rm unnecessary test (now we use effect) and the test is flaky ( #21959 )
2026-04-10 19:59:33 -05:00
Kit Langton
5d6fe01465
convert skill tool to Tool.defineEffect ( #21936 )
2026-04-10 19:49:53 -04:00
Kit Langton
0556774097
refactor(tool): convert apply_patch to Tool.defineEffect ( #21938 )
2026-04-10 19:42:14 -04:00
Kit Langton
d9d5a0615e
refactor: break SessionPrompt/TaskTool cycle via ctx injection ( #21948 )
2026-04-10 19:36:13 -04:00
Kit Langton
d72ddd71fa
refactor(tool): convert grep tool to Tool.defineEffect ( #21937 )
2026-04-10 19:20:00 -04:00
opencode-agent[bot]
fb26308bc7
chore: generate
2026-04-10 21:12:22 +00:00
Kit Langton
b41fa8e318
refactor: convert edit tool to Tool.defineEffect ( #21904 )
2026-04-10 17:10:28 -04:00
Kit Langton
b139bc2ef3
refactor(tool): convert write tool to Tool.defineEffect ( #21901 )
2026-04-10 16:57:12 -04:00
Aiden Cline
ce26120205
tweak: make it so disabling uv or ruff fmters disables both ( #21921 )
2026-04-10 13:30:30 -05:00
opencode-agent[bot]
d2d5d84d1e
chore: generate
2026-04-10 17:57:46 +00:00
Kit Langton
847f1d99c9
convert glob tool to Tool.defineEffect ( #21897 )
2026-04-10 13:56:42 -04:00
opencode-agent[bot]
59d08683ea
chore: generate
2026-04-10 17:27:31 +00:00
Kit Langton
f7514d9eca
refactor(tool): convert bash to defineEffect with ChildProcessSpawner ( #21895 )
2026-04-10 13:26:31 -04:00
James Long
180ded6a27
rector(core,tui): handle workspace state in project context, add workspace status, improve ui ( #21896 )
2026-04-10 13:03:20 -04:00
Kit Langton
46b74e0873
refactor(tool): convert websearch tool internals to Effect ( #21810 )
2026-04-10 11:30:38 -04:00
Kit Langton
e83404367c
refactor(tool): convert webfetch tool internals to Effect ( #21809 )
2026-04-10 10:50:13 -04:00
James Long
42206da1f8
refactor(tui): switch to global events and start passing workspace param ( #21719 )
2026-04-10 10:47:27 -04:00
Aiden Cline
ce19c051be
fix: ts lsp ( #21827 )
2026-04-10 00:15:45 -05:00
Shoubhit Dash
6f5a3d30fd
keep recent turns during session compaction
2026-04-10 09:34:01 +05:30
Kit Langton
91786d2fc1
refactor(effect): use Git service in file and storage ( #21803 )
2026-04-09 22:49:36 -04:00
Kit Langton
eca11ca71a
refactor(effect): use SessionRevert service in prompt ( #21796 )
2026-04-09 22:28:11 -04:00
Kit Langton
17bd16667c
refactor(effect): move tool descriptions into registry ( #21795 )
2026-04-09 22:20:27 -04:00
Kit Langton
10441efad1
refactor(effect): extract session run state service ( #21744 )
2026-04-09 16:03:40 -04:00
Kit Langton
3199383eef
fix: finalize interrupted bash via tool result path ( #21724 )
2026-04-09 15:20:28 -04:00
Aiden Cline
b0600664ab
feat: add support for fast modes for claude and gpt models (that support it) ( #21706 )
2026-04-09 12:06:26 -05:00
Aleksandr Lossenko
a7743e6467
feat(mcp): add OAuth redirect URI configuration for MCP servers ( #21385 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-09 11:45:52 -05:00
Kit Langton
46da801f30
refactor(effect): drop shell abort signals from runner ( #21599 )
2026-04-09 10:54:26 -04:00
Kit Langton
58a99916bb
fix: preserve text part timing in session processor ( #21691 )
2026-04-09 10:05:14 -04:00
Kit Langton
c29392d085
fix: preserve interrupted bash output in tool results ( #21598 )
2026-04-09 10:03:26 -04:00
Brendan Allan
ee23043d64
Remove CLI from electron app ( #17803 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-04-09 13:18:46 +08:00
Kit Langton
8bdcc22541
refactor(effect): inline session processor interrupt cleanup ( #21593 )
2026-04-08 21:19:01 -04:00
Kit Langton
2bdd279467
fix: propagate abort signal to inline read tool ( #21584 )
2026-04-08 21:07:55 -04:00
Kit Langton
38f8714c09
refactor(effect): build task tool from agent services ( #21017 )
2026-04-08 19:02:19 -04:00
Aiden Cline
cd87d4f9d3
test: update webfetch test ( #21398 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-08 12:25:02 -05:00
Kit Langton
ae614d919f
fix(tui): simplify console org display ( #21339 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-07 21:03:24 -04:00
Dax
b7fab49b64
refactor(snapshot): store unified patches in file diffs ( #21244 )
...
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-04-07 19:48:23 -04:00
Dax
463318486f
core: refactor tool system to remove agent context from initialization ( #21052 )
2026-04-07 19:48:12 -04:00
Aiden Cline
bc1840b196
fix(opencode): clear webfetch timeouts on failed fetches ( #21378 )
2026-04-07 20:46:02 +00:00
Kyle Altendorf
095aeba0a7
test: disable GPG signing in test fixtures ( #20386 )
2026-04-07 15:26:01 -05:00
opencode-agent[bot]
6bfa82de65
chore: generate
2026-04-07 18:33:24 +00:00
Kit Langton
d83fe4b540
fix(opencode): improve console login transport errors ( #21350 )
2026-04-07 18:31:53 +00:00
Aiden Cline
81bdffc81c
fix: ensure the alibaba provider errors are retried ( #21355 )
2026-04-07 17:46:01 +00:00
James Long
5d48e7bd44
refactor(core): support multiple event streams in worker and remove workspaces from plugin api ( #21348 )
2026-04-07 13:22:34 -04:00
Dax
1f94c48bdd
fix(opencode): keep user message variants scoped to model ( #21332 )
2026-04-07 10:12:53 -04:00
Aiden Cline
3c31d04666
chore: bump anthropic ai sdk pkg, delete patch ( #21247 )
2026-04-06 20:28:32 -05:00
Aiden Cline
48c1b6b338
tweak: move the max token exclusions to plugins @rekram1-node ( #21225 )
2026-04-06 17:43:58 -05:00
Aiden Cline
5a6d10cd53
tweak: ensure copilot anthropic models have same reasoning effort model as copilot cli, also fix qwen incorrectly having variants ( #21212 )
2026-04-06 18:12:43 +00:00
opencode-agent[bot]
24bdd3c9fb
chore: generate
2026-04-06 13:51:36 +00:00
Derek Barrera
01f0319192
fix(lsp): MEMORY LEAK: ensure typescript server uses native project config ( #19953 )
2026-04-06 09:50:36 -04:00
Luke Parker
77a462c930
fix(tui): default Ctrl+Z to undo on Windows ( #21138 )
2026-04-06 02:38:35 +00:00
Luke Parker
68f4aa220e
fix(plugin): parse package specifiers with npm-package-arg and sanitize win32 cache paths ( #21135 )
2026-04-06 00:26:40 +00:00
Aiden Cline
8b8d4fa066
test: add regression test for double counting bug ( #21053 )
2026-04-04 16:40:28 -07:00
Kit Langton
c796b9a19e
refactor(effect): move read tool onto defineEffect ( #21016 )
2026-04-04 19:06:00 -04:00
Kit Langton
6ea108a03b
feat(tui): show console-managed providers ( #20956 )
2026-04-04 19:05:45 -04:00
Kit Langton
288eb044cb
perf(opencode): batch snapshot diffFull blob reads ( #20752 )
...
Co-authored-by: Nate Williams <50088025+natewill@users.noreply.github.com>
2026-04-04 01:05:23 +00:00
Kit Langton
59ca4543d8
refactor(provider): stop custom loaders using facades ( #20776 )
...
Co-authored-by: luanweslley77 <213105503+luanweslley77@users.noreply.github.com>
2026-04-04 00:24:24 +00:00
Kit Langton
f2d4ced8ea
refactor(effect): build todowrite tool from Todo service ( #20789 )
...
Co-authored-by: Juan Pablo Carranza Hurtado <52012198+jpcarranza94@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 12:05:40 -04:00
Shoubhit Dash
35350b1d25
feat: restore git-backed review modes ( #20845 )
2026-04-03 09:54:57 -05:00
Kit Langton
7994dce0f2
refactor(effect): resolve built tools through the registry ( #20787 )
2026-04-03 10:31:00 -04:00
Nate Williams
6359d00fb4
fix(core): fix restoring earlier messages in a reverted chain ( #20780 )
2026-04-03 18:23:00 +05:30
opencode-agent[bot]
8daeacc989
chore: generate
2026-04-03 02:10:50 +00:00
Juan Pablo Carranza Hurtado
81d3ac3bf0
fix: prevent Tool.define() wrapper accumulation on object-defined tools ( #16952 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 22:09:53 -04:00
Kit Langton
8e9e79d276
refactor(share): effectify share next ( #20596 )
2026-04-03 00:56:56 +00:00
Kit Langton
8942fc21aa
refactor(effect): prune unused facades ( #20748 )
2026-04-02 20:15:09 -04:00
Sebastian
29f7dc073b
Adds TUI prompt traits, refs, and plugin slots ( #20741 )
2026-04-02 22:11:17 +02:00
Kit Langton
b5b5f7e019
test(opencode): remove temporary e2e url repro ( #20729 )
2026-04-02 14:35:21 -04:00
Kit Langton
c3ef69c866
test(app): add a golden path for mocked e2e prompts ( #20593 )
2026-04-02 18:17:28 +00:00
Noam Bressler
1989704abe
feat(acp): Add messageID and emit user_message_chunk on prompt/command ( #18625 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-02 12:56:56 -05:00
Lenny Vaknine
7e32f80d82
feat: add macOS managed preferences support for enterprise MDM deployments ( #19178 )
...
Co-authored-by: Lenny Vaknine <lvaknine@gitlab.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-02 12:52:49 -05:00
Dax
3faabdadb7
refactor(format): update formatter interface to return command from enabled() ( #20703 )
2026-04-02 12:22:01 -04:00
Kit Langton
916afb5220
refactor(account): share token freshness helper ( #20591 )
2026-04-02 02:57:45 +00:00
Valentin Vivaldi
733a3bd031
fix(core): prevent agent loop from stopping after tool calls with OpenAI-compatible providers ( #14973 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-01 21:34:01 -05:00
Kit Langton
0bae38c062
refactor(instruction): migrate to Effect service pattern ( #20542 )
2026-04-01 22:22:51 -04:00
Kit Langton
00d6841f84
fix(account): refresh console tokens before expiry ( #20558 )
2026-04-02 00:25:24 +00:00
Kit Langton
c526caae7b
fix: show model display name in message footer and transcript ( #20539 )
2026-04-02 00:17:38 +00:00
Kit Langton
92f8e03160
fix(test): use effect helper in snapshot race test ( #20567 )
2026-04-01 20:05:47 -04:00
Sebastian
f6fd43e574
Refactor plugin/config loading, add theme-only plugin package support ( #20556 )
2026-04-01 23:50:22 +00:00
opencode-agent[bot]
854484babf
chore: generate
2026-04-01 23:49:44 +00:00
Kit Langton
e4ff1ea778
refactor(bash): use Effect ChildProcess for bash tool execution ( #20496 )
2026-04-01 19:48:47 -04:00
Kit Langton
26fb6b8788
refactor: add Effect-returning versions of MessageV2 functions ( #20374 )
2026-04-01 19:48:36 -04:00
opencode-agent[bot]
4214ae205d
chore: generate
2026-04-01 23:48:30 +00:00
Kit Langton
d9d4f895bc
fix(test): auto-acknowledge tool-result follow-ups in mock LLM server ( #20528 )
2026-04-01 23:47:26 +00:00
Kit Langton
48db7cf07a
fix(opencode): batch snapshot revert without reordering ( #20564 )
2026-04-01 23:46:06 +00:00
Aiden Cline
1fcfb69bf7
feat: add new provider plugin hook for resolving models and sync models from github models endpoint (falls back to models.dev) ( #20533 )
2026-04-01 23:04:14 +00:00
Joscha Götzer
880c0a7477
fix: normalize filepath in FileTime to prevent Windows path mismatch ( #20367 )
...
Co-authored-by: JosXa <info@josxa.dev>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
2026-04-02 07:45:50 +10:00
Dax
c9326fc199
refactor: replace BunProc with Npm module using @npmcli/arborist ( #18308 )
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-01 21:01:37 +00:00
Kit Langton
c619caefdd
fix(account): coalesce concurrent console token refreshes ( #20503 )
2026-04-01 13:16:35 -04:00
Kit Langton
a9c85b7c27
refactor(shell): use Effect ChildProcess for shell command execution ( #20494 )
2026-04-01 12:07:57 -04:00
Kit Langton
38d2276592
test(e2e): isolate prompt tests with per-worker backend ( #20464 )
2026-04-01 15:58:11 +00:00
Kit Langton
9a1c9ae15a
test(app): route prompt e2e through mock llm ( #20383 )
2026-04-01 08:28:38 -04:00
Kit Langton
7532d99e5b
test: finish HTTP mock processor coverage ( #20372 )
2026-04-01 00:45:42 +00:00
Kit Langton
181b5f6236
refactor(prompt): use Provider service in effect layers ( #20167 )
2026-04-01 00:44:15 +00:00
opencode-agent[bot]
9b09a7e766
chore: generate
2026-03-31 23:15:56 +00:00
Kit Langton
3fc0367b93
refactor(session): effectify SessionRevert service ( #20143 )
2026-03-31 19:14:49 -04:00
Kit Langton
0c03a3ee10
test: migrate prompt tests to HTTP mock LLM server ( #20304 )
2026-03-31 19:14:32 -04:00
Sebastian
18121300f3
upgrade opentui to 0.1.94 ( #20357 )
2026-03-31 23:54:13 +02:00
Major Hayden
26cc924ea2
feat: enable prompt caching and cache token tracking for google-vertex-anthropic ( #20266 )
...
Signed-off-by: Major Hayden <major@mhtx.net>
2026-03-31 15:16:14 -05:00
Aiden Cline
4dd866d5c4
fix: rm exclusion of ai-sdk/azure in transform.ts, when we migrated to v6 the ai sdk changed the key for ai-sdk/azure so the exclusion is no longer needed ( #20326 )
2026-03-31 14:57:15 -05:00
Aiden Cline
434d82bbe2
test: update model test fixture ( #20182 )
2026-03-31 16:20:01 +00:00
Sebastian
25a2b739e6
warn only and ignore plugins without entrypoints, default config via exports ( #20284 )
2026-03-31 17:14:03 +02:00
Sebastian
2e78fdec43
ensure pinned plugin versions and do not run package scripts on install ( #20248 )
2026-03-31 16:59:43 +02:00
Kit Langton
a898c2ea3a
refactor(storage): effectify Storage service ( #20132 )
2026-03-31 01:16:02 +00:00
Luke Parker
1de06452d3
fix(plugin): properly resolve entrypoints without leading dot ( #20140 )
2026-03-31 09:21:17 +10:00
Kit Langton
2ed756c72c
fix(session): restore busy route handling and add regression coverage ( #20125 )
2026-03-30 20:30:34 +00:00
Kit Langton
c5442d418d
refactor(session): effectify SessionPrompt service ( #19483 )
2026-03-30 20:06:51 +00:00
Sebastian
fa95a61c4e
Refactor into plugin loader and do not enforce ( #20112 )
2026-03-30 20:36:21 +02:00
Sebastian
8e4bab5181
update plugin themes when plugin was updated ( #20052 )
2026-03-30 13:51:07 +02:00
Luke Parker
b234370080
feat(windows): add first-class pwsh/powershell support ( #16069 )
2026-03-30 13:10:01 +10:00
Sebastian
0b1018f6dd
plugins installs should preserve jsonc comments ( #19938 )
2026-03-29 21:15:03 +02:00
ualtinok
72c77d0e7b
fix(session): fix token usage double-counting w/ anthropic & bedrock due to AI SDK v6 upgrade ( #19758 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-03-29 12:40:10 -05:00
Luke Parker
a5b1dc081d
test: add regression coverage for sync plugin hooks ( #19589 )
2026-03-29 03:43:00 +00:00
Sebastian
38af99dcb4
prompt slot ( #19563 )
2026-03-29 00:27:27 +01:00
Kit Langton
860531c275
refactor(session): effectify session processor ( #19485 )
2026-03-28 12:09:47 -04:00
Kit Langton
2145d97f18
refactor(session): effectify SessionCompaction service ( #19459 )
2026-03-28 01:09:14 +00:00
Sebastian
f3997d8082
Single target plugin entrypoints ( #19467 )
2026-03-27 23:44:46 +00:00
Kit Langton
5cd54ec345
refactor(format): use ChildProcessSpawner instead of Process.spawn ( #19457 )
2026-03-27 17:37:07 -04:00
Aiden Cline
c33d9996f0
feat: AI SDK v6 support ( #18433 )
2026-03-27 15:24:30 -05:00
Sebastian
ff13524a53
fix flaky plugin tests (no mock.module for bun) ( #19445 )
2026-03-27 20:55:03 +01:00
Kit Langton
e528ed5d86
effectify Plugin service internals ( #19365 )
2026-03-27 15:20:11 +00:00
opencode-agent[bot]
21023337fa
chore: generate
2026-03-27 14:01:28 +00:00
Sebastian
6274b0677c
tui plugins ( #19347 )
2026-03-27 15:00:26 +01:00
Kit Langton
9c6f1edfd7
refactor(effect): yield services instead of promise facades ( #19325 )
2026-03-26 21:46:38 -04:00
opencode-agent[bot]
c333e914ee
chore: generate
2026-03-26 18:42:59 +00:00
Kit Langton
2e6ac8ff49
fix(mcp): close transport on failed/timed-out connections ( #19200 )
2026-03-26 14:41:00 -04:00
Kit Langton
28f5176ffd
effectify Config service ( #19139 )
2026-03-26 13:07:01 -04:00
James Long
38450443b1
feat(core): remove workspace server, WorkspaceContext, start work towards better routing ( #19316 )
2026-03-26 12:30:26 -04:00
opencode-agent[bot]
17e8f577d6
chore: generate
2026-03-26 15:49:53 +00:00
Kit Langton
c7d23098d1
refactor(lsp): effectify LSP service with InstanceState ( #19150 )
2026-03-26 11:48:36 -04:00
opencode-agent[bot]
1d363fa19f
chore: generate
2026-03-26 14:16:07 +00:00
Shoubhit Dash
1b028d0632
revert: roll back git-backed review modes ( #19295 )
2026-03-26 10:14:57 -04:00
opencode-agent[bot]
31ad6e85ba
chore: generate
2026-03-26 00:56:34 +00:00
Kit Langton
97c15a087d
effectify Bus service: migrate to Effect PubSub + InstanceState ( #18579 )
2026-03-25 20:19:24 -04:00
Kit Langton
b90de755f9
fix+refactor(mcp): lifecycle tests, cancelPending fix, Effect migration ( #19042 )
2026-03-25 20:15:05 -04:00
André Cruz
7123aad5a8
fix(opencode): classify ZlibError from Bun fetch as retryable instead of unknown ( #19104 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-25 13:08:40 -05:00
Aiden Cline
77fc88c8ad
chore: remove dead code for todoread tool ( #19128 )
2026-03-25 16:21:42 +00:00
Shoubhit Dash
73e107250d
feat: restore git-backed review modes with effectful git service ( #18900 )
2026-03-25 21:09:53 +05:30
James Long
b0017bf1b9
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Aiden Cline
71693cc24b
tweak: only spawn lsp servers for files in current instance (or cwd if instance is global) ( #19058 )
2026-03-25 00:31:29 -05:00
Dax
0a80ef4278
fix(opencode): avoid snapshotting files over 2MB ( #19043 )
2026-03-25 04:43:48 +00:00
Kit Langton
4647aa80ac
effectify Worktree service ( #18679 )
2026-03-24 20:26:21 -04:00
opencode-agent[bot]
e837dcc1c5
chore: generate
2026-03-24 18:43:20 +00:00
Nicholas Hansen
024979f3fd
feat(bedrock): Add token caching for any amazon-bedrock provider ( #18959 )
2026-03-24 13:42:20 -05:00
opencode-agent[bot]
8994cbfc0f
chore: generate
2026-03-24 18:05:43 +00:00
Kit Langton
539b01f20f
effectify Project service ( #18808 )
2026-03-24 14:04:22 -04:00
Ryan Skidmore
814a515a8a
fix: improve plugin system robustness — agent/command resolution, async errors, hook timing, two-phase init ( #18280 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-24 12:50:55 -05:00
opencode-agent[bot]
1d3232b388
chore: generate
2026-03-24 17:05:02 +00:00
Kit Langton
5c1bb5de86
fix: remove flaky cross-spawn spawner tests ( #18977 )
2026-03-24 13:04:04 -04:00
Kit Langton
41c77ccb33
fix: restore cross-spawn behavior for effect child processes ( #18798 )
2026-03-24 10:35:24 -04:00
opencode-agent[bot]
9a006d8700
chore: generate
2026-03-23 17:12:55 +00:00
Kit Langton
3a0bf2f39f
fix console account URL handling ( #18809 )
2026-03-23 13:11:38 -04:00
James Long
84d9b38873
fix(core): fix file watcher test ( #18698 )
2026-03-23 03:35:17 +00:00
Kit Langton
0e0e7a4a4b
effectify Command service ( #18568 )
2026-03-22 00:21:41 +00:00
Protocol Zero
cc818f8032
fix(provider): only set thinkingConfig for models with reasoning capability ( #18283 )
2026-03-21 11:57:52 -05:00
opencode-agent[bot]
2e0d5d2308
chore: generate
2026-03-21 04:52:23 +00:00
Kit Langton
38e0dc9ccd
Move service state into InstanceState, flatten service facades ( #18483 )
2026-03-21 04:51:35 +00:00
Dax Raad
5dc47905a9
allow customizing DB location
2026-03-20 22:49:55 -04:00
Kit Langton
d70099b059
fix: apply Layer.fresh at instance service definition site ( #18418 )
2026-03-20 14:37:12 -04:00
Vladimir Glafirov
05d3e65f76
feat: enable GitLab Agent Platform with workflow model discovery ( #18014 )
2026-03-20 12:55:22 -05:00
opencode-agent[bot]
51618e9cef
chore: generate
2026-03-20 16:11:21 +00:00
Kit Langton
e78944e9a4
effectify Installation service, drop Effect suffix from namespaces ( #18266 )
2026-03-20 12:10:33 -04:00
Luke Parker
7866dbcfcc
fix: avoid truncate permission import cycle ( #18292 )
2026-03-19 23:52:04 -04:00
opencode-agent[bot]
a6ef9e9206
chore: generate
2026-03-19 20:21:10 +00:00
Kit Langton
6e09a1d904
fix(account): handle pending console login polling ( #18281 )
2026-03-19 16:18:28 -04:00
jorge g
2dbcd79fd2
fix: stabilize agent and skill ordering in prompt descriptions ( #18261 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-19 15:04:03 -05:00
Aiden Cline
aeece6166b
ignore: revert 3 commits that broke dev branch ( #18260 )
2026-03-19 11:15:07 -05:00
Kit Langton
0d7e62a532
fix forked prompt attachments losing file parts ( #17815 )
2026-03-19 12:00:32 -04:00
opencode-agent[bot]
d178d8249f
chore: generate
2026-03-19 14:00:32 +00:00
Shoubhit Dash
e6f5214779
feat: add git-backed session review modes ( #17961 )
2026-03-19 19:29:29 +05:30
Kit Langton
84e62fc662
fix(session): preserve tagged error messages ( #18165 )
2026-03-18 20:36:53 -04:00
Luke Parker
5d2f8d77f9
fix: restore recent test regressions and upgrade effect beta ( #18158 )
2026-03-19 09:54:01 +10:00
Kit Langton
81be544981
feat(filesystem): add AppFileSystem service, migrate Snapshot ( #18138 )
2026-03-18 19:52:43 -04:00
opencode-agent[bot]
773c1192dc
chore: generate
2026-03-18 23:45:03 +00:00
Kit Langton
5ddfe4ada5
chore: type Provider.list() as Record<ProviderID, Info>, delete dead code ( #18123 )
2026-03-18 19:43:12 -04:00
Luke Parker
54ed87d53c
fix(windows): use cross-spawn for shim-backed commands ( #18010 )
2026-03-19 08:49:16 +10:00
opencode-agent[bot]
c3ddc85cca
chore: generate
2026-03-18 17:37:40 +00:00
Kit Langton
a800583aea
refactor(effect): unify service namespaces and align naming ( #18093 )
2026-03-18 13:34:36 -04:00
opencode-agent[bot]
0292f1b559
chore: generate
2026-03-18 02:01:02 +00:00
Kit Langton
5dfe86dcb1
refactor(truncation): effectify TruncateService, delete Scheduler ( #17957 )
2026-03-17 21:59:54 -04:00
Ariane Emory
4b4dd2b882
fix: Add apply_patch to EDIT_TOOLS filter ( #18009 )
2026-03-17 20:11:42 -05:00
opencode-agent[bot]
bc949af623
chore: generate
2026-03-18 01:05:16 +00:00
Kit Langton
9e7c136de7
refactor(snapshot): effectify SnapshotService ( #17878 )
2026-03-17 21:04:16 -04:00
Luke Parker
cb69501098
test(opencode): deflake file and tool timing ( #17859 )
2026-03-17 00:49:04 +00:00
Kit Langton
3849822769
refactor(skill): effectify SkillService as scoped service ( #17849 )
2026-03-16 23:51:07 +00:00
Kit Langton
69381f6aea
refactor(file): effectify FileService as scoped service ( #17845 )
2026-03-16 16:18:39 -04:00
Kit Langton
335356280c
refactor(format): effectify FormatService as scoped service ( #17675 )
2026-03-16 15:58:36 -04:00
Kit Langton
2cbdf04ec9
refactor(file-time): effectify FileTimeService with Semaphore locks ( #17835 )
2026-03-16 18:23:13 +00:00
Kit Langton
e5cbecf17c
fix+refactor(vcs): fix HEAD filter bug and effectify VcsService ( #17829 )
2026-03-16 13:59:11 -04:00
Kit Langton
9e740d9947
stack: effectify-file-watcher-service ( #17827 )
2026-03-16 13:18:40 -04:00
Kit Langton
469c3a4204
refactor(instance): move scoped services to LayerMap ( #17544 )
2026-03-16 12:55:14 -04:00
Johannes Loher
e718db624f
fix(core): consider code: context_length_exceeded as context overflow in API call errors ( #17748 )
2026-03-16 10:25:24 -05:00
Luke Parker
59c530cc6c
fix(opencode): teach Kit's test what an ID is ( #17745 )
2026-03-16 18:08:27 +10:00
Jason Quense
c2ca1494e5
fix(opencode): preserve prompt tool enables with empty agent permissions ( #17064 )
...
Co-authored-by: jquense <jquense@ramp.com>
2026-03-15 23:01:46 -05:00
Kit Langton
f015154314
refactor(permission): effectify PermissionNext + fix InstanceState ALS bug ( #17511 )
2026-03-14 18:28:00 +00:00
opencode-agent[bot]
b698f14e55
chore: generate
2026-03-14 15:59:01 +00:00
Kit Langton
cec1255b36
refactor(question): effectify QuestionService ( #17432 )
2026-03-14 11:58:00 -04:00
Michael Dwan
4b9b86b544
fix(opencode): lost sessions across worktrees and orphan branches ( #16389 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-13 15:51:55 -04:00
Kit Langton
c7a52b6a2d
feat(schema): scaffold effect-to-zod bridge ( #17273 )
2026-03-13 10:59:57 -04:00
Shoubhit Dash
d4ae13f2a0
fix(opencode): serialize config bun installs ( #17342 )
2026-03-13 17:58:00 +05:30
Adam
843f188aaa
fix(app): support text attachments ( #17335 )
2026-03-13 06:58:24 -05:00
Shoubhit Dash
9457493696
perf(server): paginate session history ( #17134 )
2026-03-13 15:48:43 +05:30
Aiden Cline
f8475649da
chore: cleanup migrate from global code ( #17292 )
2026-03-12 23:54:11 -05:00
Michael Dwan
b94e110a4c
fix(opencode): sessions lost after git init in existing project ( #16814 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-12 23:18:59 -05:00
Tom Ryder
4a2a046d79
fix: filter empty content blocks for Bedrock provider ( #14586 )
2026-03-12 22:13:09 -05:00
Kit Langton
dd68b85f58
refactor(provider): effectify ProviderAuthService ( #17227 )
2026-03-13 02:08:37 +00:00
Kit Langton
1cb7df7159
refactor(provider): flow branded ProviderID/ModelID through internal signatures ( #17182 )
2026-03-12 14:48:17 +00:00
Kit Langton
c45467964c
feat(id): brand ProviderID and ModelID ( #17110 )
2026-03-12 09:27:52 -04:00
Kit Langton
2a4dedc210
feat(id): brand PermissionID, PtyID, QuestionID, and ToolID ( #17042 )
2026-03-12 01:49:57 +00:00
Kit Langton
090f636354
feat(id): brand PartID through Drizzle and Zod schemas ( #16966 )
2026-03-11 23:40:50 +00:00
Kit Langton
16a6d6feba
feat(id): brand WorkspaceID through Drizzle and Zod schemas ( #16964 )
2026-03-11 23:30:17 +00:00
John Mylchreest
f1c3a44190
fix: resolve symlinks in Instance cache to prevent duplicate contexts ( #16651 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-03-11 23:26:54 +00:00
Kit Langton
cb67465675
feat(id): brand SessionID through Drizzle and Zod schemas ( #16953 )
2026-03-11 23:16:56 +00:00
Aiden Cline
f96e2d4222
tweak: adjust skill presentation to be a little less token heavy ( #17098 )
2026-03-11 16:03:15 -05:00
Kit Langton
dbc00aa8e0
feat(id): brand ProjectID through Drizzle and Zod schemas ( #16948 )
2026-03-11 16:44:26 -04:00
Kit Langton
981c7b9e37
refactor(account): tighten effect-based account flows ( #17072 )
2026-03-11 18:18:58 +00:00
Aiden Cline
5acfdd1c5d
chore: kill old copilot 403 message that was used for old plugin migration ( #16904 )
2026-03-10 16:20:41 -05:00
opencode-agent[bot]
94c128f73b
chore: generate
2026-03-10 16:56:30 +00:00
Dax
613562f504
core: make account login upgrades safe while adding multi-account workspace auth ( #15487 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 12:53:47 -04:00
James Long
69ddc91c35
fix(core): a chunk timeout when processing llm stream ( #16366 )
2026-03-10 11:12:14 -04:00
opencode-agent[bot]
5a40158abf
chore: generate
2026-03-10 15:07:35 +00:00
Jérôme Benoit
4dce485854
fix(opencode): add thinking variants support for SAP AI provider ( #14958 )
...
Co-authored-by: Test <test@test.com>
Co-authored-by: Stephen Collings <stevoland@gmail.com>
2026-03-10 10:05:45 -05:00
opencode-agent[bot]
4f982ddb94
chore: generate
2026-03-10 02:02:18 +00:00
adam jones
ff3bb7424d
fix(mcp): fix OAuth auto-connect failing on first connection ( #15547 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-09 21:01:19 -05:00
Dax Raad
89d6f60d25
refactor(server): extract createApp function for server initialization
...
- Replace Server.App() with Server.Default() for internal server access
- Extract server app creation into Server.createApp(opts) for testability
- Move CORS whitelist from module-level variable to function parameter
- Update all tests to use Server.Default() instead of Server.App()
2026-03-09 17:13:52 -04:00
James Long
86cef16940
fix(core): put workspace routing behind OPENCODE_EXPERIMENTAL_WORKSPACES flag ( #16775 )
2026-03-09 16:14:19 -04:00
Dax
2f2856e20a
refactor(opencode): replace Bun shell in core flows ( #16286 )
2026-03-09 15:19:50 -04:00
Armin Pašalić
ef9bc4ec9e
feat(gitlab): send context-1m-2025-08-07 beta header to enable 1M context window ( #16153 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-09 09:22:00 -05:00
Jack
5838b58913
add copilot gpt-5.4 xhigh support ( #16294 )
2026-03-09 22:07:12 +08:00
Luke Parker
e51ed460a6
fix(tui): canonicalize cwd after chdir ( #16641 )
2026-03-09 07:57:48 +10:00
Shoubhit Dash
050f99ec54
test: make process cwd check cross-platform ( #16594 )
2026-03-08 06:56:45 -05:00
Dax
a2ce4eb650
test: remove unused Ripgrep.search coverage ( #16554 )
2026-03-07 21:40:57 -05:00
Dax Raad
e30678a088
test: normalize ripgrep path assertion on windows
2026-03-07 19:47:57 -05:00
opencode-agent[bot]
771b29a857
chore: generate
2026-03-08 00:31:35 +00:00
Dax Raad
e6d1aae33a
test: lock in process, ripgrep, and installation helpers
2026-03-07 19:30:32 -05:00
Dax Raad
523f792b48
core: update database path test to verify correct channel-based filename
...
The test now validates that the database file is named according to the current installation channel (latest/beta get 'opencode.db', others get sanitized names). This ensures users' data is stored in the correct location based on their update channel.
2026-03-07 18:53:29 -05:00
Quan Ran
be9b4d1bcd
fix(opencode): preserve original line endings in 'edit' tool ( #9443 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-03-07 07:42:54 +00:00
Luke Parker
8a95be492d
fix(windows): git path resolution for modified files across Git Bash, MSYS2, and Cygwin ( #16422 )
2026-03-07 15:42:14 +10:00
kikuchan
b2c2478d9d
fix(pty): pty session handle leak ( #15599 )
2026-03-07 14:53:11 +10:00
Luke Parker
4c7fe60493
fix(opencode): sanitize preview database filenames ( #16430 )
2026-03-07 04:34:29 +00:00
Adam
7a071eff5c
chore: fix test
2026-03-06 15:27:49 -06:00
Shoubhit Dash
d6e0f47361
feat: add project git init api ( #16383 )
2026-03-06 13:39:50 -06:00
Dax Raad
5e699c9426
chore(storage): update drizzle and channel db handling
2026-03-06 10:58:19 -05:00
Luke Parker
aec6ca71fa
fix(git): stop leaking fsmonitor daemons e.g. 60GB+ of commited memory after running tests ( #16249 )
2026-03-06 15:42:08 +10:00
Dax
74effa8eec
refactor(opencode): replace Bun.which with npm which ( #15012 )
2026-03-06 05:18:29 +00:00
Dax
3ebba02d04
refactor: replace Bun.sleep with node timers ( #15013 )
2026-03-05 21:54:06 -05:00
James Long
7f37acdaaa
feat(core): rework workspace integration and adaptor interface ( #15895 )
2026-03-03 21:35:38 -05:00
Matt Silverlock
74ebb4147f
fix(auth): normalize trailing slashes in auth login URLs ( #15874 )
2026-03-03 13:35:49 -05:00
Shoubhit Dash
7e3e85ba59
fix(opencode): avoid gemini combiner schema sibling injection ( #15318 )
2026-03-03 10:11:05 +05:30
opencode-agent[bot]
e41b53504f
chore: generate
2026-03-03 03:53:50 +00:00
Ryan Skidmore
96d6fb78da
fix(provider): forward metadata options to cloudflare-ai-gateway provider ( #15619 )
2026-03-02 22:53:03 -05:00
Ryan Skidmore
fd6f7133c5
fix(opencode): clone part data in Bus event to preserve token values ( #15780 )
2026-03-02 22:52:43 -05:00
James Long
c12ce2ffff
feat(core): basic implementation of remote workspace support ( #15120 )
2026-02-27 15:36:39 -05:00
Adam
37d42595cf
fix: test
2026-02-26 18:11:05 -06:00
Sebastian
9d29d692c6
split tui/server config ( #13968 )
2026-02-25 23:53:09 +01:00
Dax Raad
3c6c74457d
sync
2026-02-25 01:48:10 -05:00
Noam Bressler
2cee947671
fix: ACP both live and load share synthetic pending status preceeding… ( #14916 )
2026-02-24 23:54:10 +10:00
Luke Parker
32417774c4
fix(test): replace structuredClone with spread for process.env ( #14908 )
2026-02-24 23:16:24 +10:00
Luke Parker
3d379c20c4
fix(test): replace Unix-only assumptions with cross-platform alternatives ( #14906 )
2026-02-24 23:03:18 +10:00
Luke Parker
06f25c78f6
fix(test): use path.sep in discovery test for cross-platform path matching ( #14905 )
2026-02-24 22:51:56 +10:00
Luke Parker
1af3e9e557
fix(win32): fix plugin resolution with createRequire fallback ( #14898 )
2026-02-24 22:20:57 +10:00
Luke Parker
a292eddeb5
fix(test): harden preload cleanup against Windows EBUSY ( #14895 )
2026-02-24 21:59:14 +10:00
Luke Parker
79254c1020
fix(test): normalize git excludesFile path for Windows ( #14893 )
2026-02-24 21:40:38 +10:00
opencode-agent[bot]
ef7f222d80
chore: generate
2026-02-24 11:15:39 +00:00
Noam Bressler
888b123387
feat: ACP - stream bash output and synthetic pending events ( #14079 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-24 21:14:47 +10:00
Luke Parker
13cabae29f
fix(win32): add git flags for snapshot operations and fix tests for cross-platform ( #14890 )
2026-02-24 21:14:16 +10:00
Luke Parker
659068942e
fix(win32): handle CRLF line endings in markdown frontmatter parsing ( #14886 )
2026-02-24 20:33:22 +10:00
Luke Parker
de796d9a00
fix(test): use path.join for cross-platform glob test assertions ( #14837 )
2026-02-24 20:07:56 +10:00
adamelmore
9f4fc5b72a
Revert "fix(app): terminal issues"
...
This reverts commit e70d2b27de .
2026-02-22 21:27:25 -06:00
Luke Parker
ee754c46f9
fix(win32): normalize paths at permission boundaries ( #14738 )
2026-02-23 12:05:21 +10:00
Erik Demaine
0042a07052
fix: Windows path support and canonicalization ( #13671 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 10:10:27 +10:00
Erik Demaine
a74fedd23b
fix(desktop): change detection on Windows, especially Cygwin ( #13659 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 09:49:05 +10:00
Adam
e70d2b27de
fix(app): terminal issues
2026-02-22 06:17:59 -06:00
Ryan Vogel
7419ebc872
feat: add list sessions for all sessions (experimental) ( #14038 )
2026-02-20 08:45:12 -05:00
Adam
4e9ef3ecc1
fix(app): terminal issues ( #14435 )
2026-02-20 07:34:36 -06:00
Shoubhit Dash
ac0b37a7b7
fix(snapshot): respect info exclude in snapshot staging ( #13495 )
2026-02-20 07:02:25 -06:00
Aiden Cline
04a634a80d
test: merge test files into a single file ( #14366 )
2026-02-19 20:32:01 -06:00
Dax Raad
cb5a0de42f
core: remove User-Agent header assertion from LLM test to fix failing test
2026-02-19 18:37:55 -06:00
tctev
193013a44d
feat(opencode): support adaptive thinking for claude sonnet 4.6 ( #14283 )
...
Co-authored-by: tctev <224793535+tctev@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-19 16:17:57 -06:00
Adam
f8dad0ae17
fix(app): terminal issues ( #14329 )
2026-02-19 14:54:09 -06:00
opencode-agent[bot]
1867f1acaa
chore: generate
2026-02-19 20:12:16 +00:00
Aiden Cline
00c079868a
test: fix discovery test to boot up server instead of relying on 3rd party ( #14327 )
2026-02-19 14:11:23 -06:00
Dax
cb8b74d3f1
refactor: migrate from Bun.Glob to npm glob package ( #14317 )
2026-02-19 13:40:09 -05:00
Aiden Cline
7e35d0c610
core: bump ai sdk packages for google, google vertex, anthropic, bedrock, and provider utils ( #14318 )
2026-02-19 12:35:51 -06:00
Dax Raad
af72010e9f
Revert "refactor: migrate from Bun.Glob to npm glob package"
...
This reverts commit 3c21735b35 .
2026-02-19 12:48:43 -05:00
Dax Raad
3c21735b35
refactor: migrate from Bun.Glob to npm glob package
...
Replace Bun.Glob usage with a new Glob utility wrapper around the npm 'glob' package.
This moves us off Bun-specific APIs toward standard Node.js compatible solutions.
Changes:
- Add new src/util/glob.ts utility module with scan(), scanSync(), and match()
- Default include option is 'file' (only returns files, not directories)
- Add symlink option (default: false) to control symlink following
- Migrate all 12 files using Bun.Glob to use the new Glob utility
- Add comprehensive tests for the glob utility
Breaking changes:
- Removed support for include: 'dir' option (use include: 'all' and filter manually)
- symlink now defaults to false (was true in most Bun.Glob usages)
Files migrated:
- src/util/log.ts
- src/util/filesystem.ts
- src/tool/truncation.ts
- src/session/instruction.ts
- src/storage/json-migration.ts
- src/storage/storage.ts
- src/project/project.ts
- src/cli/cmd/tui/context/theme.tsx
- src/config/config.ts
- src/tool/registry.ts
- src/skill/skill.ts
- src/file/ignore.ts
2026-02-19 12:34:18 -05:00
Dax
02a9495063
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Adam
8ebdbe0ea2
fix(core): text files missclassified as binary
2026-02-19 07:32:58 -06:00
Adam
d07f09925f
fix(app): terminal rework ( #14217 )
2026-02-19 06:35:14 -06:00
Ariane Emory
1893473148
fix: token substitution in OPENCODE_CONFIG_CONTENT (alternate take) ( #14047 )
2026-02-18 23:18:24 -06:00
Dax Raad
568eccb4c6
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Dax
d366a1430f
refactor: migrate src/lsp/server.ts from Bun.file()/Bun.write() to Filesystem module ( #14138 )
2026-02-18 21:41:07 +00:00
Adam
de25703e9d
fix(app): terminal cross-talk ( #14184 )
2026-02-18 13:56:05 -06:00
Matt Silverlock
d447b7694a
fix(github): emit PROMPT_TOO_LARGE error on context overflow ( #14166 )
2026-02-18 11:45:27 -06:00
Dax
6b29896a35
feat: Add centralized filesystem module for Bun.file migration ( #14117 )
2026-02-18 15:30:52 +00:00
Aiden Cline
25f3eef957
fix: ensure explore subagent has external_directory perm set to ask instead of auto denying ( #14060 )
2026-02-17 20:16:55 -06:00
Aiden Cline
0ca75544ab
fix: dont autoload kilo ( #14052 )
2026-02-17 18:42:18 -06:00
opencode-agent[bot]
572a037e5d
chore: generate
2026-02-17 23:53:22 +00:00
RAMA
ad92181fa7
feat: add Kilo as a native provider ( #13765 )
2026-02-17 17:52:21 -06:00
Aiden Cline
c1b03b728a
fix: make read tool more mem efficient ( #14009 )
2026-02-17 15:36:45 -06:00
Nathan Anderson
4ccb82e81a
feat: surface plugin auth providers in the login picker ( #13921 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-17 15:21:49 -06:00
Aiden Cline
e35a4131d0
core: keep message part order stable when files resolve asynchronously ( #13915 )
2026-02-16 18:45:11 -06:00
Aiden Cline
a580fb47d2
tweak: drop ids from attachments in tools, assign them in prompt.ts instead ( #13890 )
2026-02-16 14:59:57 -06:00
opencode-agent[bot]
089ab9defa
chore: generate
2026-02-16 08:32:34 +00:00
Jhin Lee
f7708efa5b
feat: add openai-compatible endpoint support for google-vertex provider ( #10303 )
...
Co-authored-by: BlueT - Matthew Lien - 練喆明 <BlueT@BlueT.org>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-16 02:31:48 -06:00
Dax Raad
b5c8bd3421
test: add tests for path-derived IDs in json migration
...
Tests verify that file paths are used for IDs even when JSON contains
different values - ensuring robustness against stale JSON content.
2026-02-14 20:37:17 -05:00
Aiden Cline
933a491ade
fix: ensure vercel variants pass amazon models under bedrock key ( #13631 )
2026-02-14 13:18:52 -06:00
Dax Raad
8631d6c01d
core: add comprehensive test coverage for Session.list() filters
...
Adds test cases for filtering sessions by directory, root sessions only,
start time, search terms, and result limits to ensure the listing
functionality works correctly for all filter combinations.
2026-02-14 13:43:41 -05:00
Aiden Cline
759ec104b6
fix vercel gateway variants ( #13541 )
...
Co-authored-by: Benjamin Woodruff <github@benjam.info>"
2026-02-14 12:32:29 -06:00
opencode-agent[bot]
afb04ed5d4
chore: generate
2026-02-14 04:19:48 +00:00
Dax
6d95f0d14c
sqlite again ( #10597 )
...
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
Aiden Cline
1fb6c0b5b3
Revert "fix: token substitution in OPENCODE_CONFIG_CONTENT" ( #13429 )
2026-02-12 23:24:31 -06:00
Adam
8da5fd0a66
fix(app): worktree delete
2026-02-12 19:38:13 -06:00
projectArtur
991496a753
fix: resolve ACP hanging indefinitely in thinking state on Windows ( #13222 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-12 18:20:00 -06:00
Ariane Emory
29671c1397
fix: token substitution in OPENCODE_CONFIG_CONTENT ( #13384 )
2026-02-12 16:59:44 -06:00
Adam
548608b7ad
fix(app): terminal pty isolation
2026-02-12 15:15:34 -06:00
Aiden Cline
d1ee4c8dca
test: add more test cases for project.test.ts ( #13355 )
2026-02-12 18:46:44 +00:00
Dax Raad
789705ea96
ignore: document test fixtures for agents
2026-02-12 12:10:21 -05:00
Ryan Vogel
ba54cee55e
feat(tool): return image attachments from webfetch ( #13331 )
2026-02-12 12:09:29 -05:00
Kyle Mistele
e269788a8f
feat: support claude agent SDK-style structured outputs in the OpenCode SDK ( #8161 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Dax Raad <d@ironbay.co>
2026-02-12 04:54:05 +00:00
Aiden Cline
006d673ed2
tweak: make read tool offset 1 indexed instead of 0 to avoid confusion that could be caused by line #s being 1 based ( #13198 )
2026-02-11 14:02:30 -06:00
Aiden Cline
6b4d617df0
feat: adjust read tool so that it can handle dirs too ( #13090 )
2026-02-11 13:23:00 -06:00
Aiden Cline
0fd6f365be
fix(core): ensure compaction is more reliable, add reserve token buffer to ensure that input window has enough room to compact ( #12924 )
...
Co-authored-by: James Lal <james@littlebearlabs.io>
2026-02-10 19:55:22 -06:00
Aiden Cline
f74c0339cc
test: fix failing prompt test ( #12847 )
2026-02-09 11:25:22 -06:00
Aiden Cline
99ea1351ce
tweak: add new ContextOverflowError type ( #12777 )
2026-02-08 23:54:01 -06:00
Aiden Cline
62f38087b8
fix: parse mid stream openai responses style errors to prevent infinite retries for errors that should STOP execution ( #12768 )
2026-02-08 20:55:41 -06:00
Dax
7249b87bf6
feat(skill): add skill discovery from URLs via well-known RFC ( #12423 )
...
Co-authored-by: Frank <frank@anoma.ly>
2026-02-06 17:31:40 -05:00
Khang Ha (Kelvin)
fde0b39b7c
fix: properly encode file URLs with special characters ( #12424 )
2026-02-06 16:16:56 -06:00
Matt Silverlock
24dbc46548
fix(github): handle step-start/step-finish parts in extractResponseText ( #12470 )
2026-02-06 10:20:33 -06:00
Yuvraj Virk
c07077f96c
fix: correct /data API usage and data format for importing share URLs ( #7381 )
2026-02-06 15:29:10 +00:00
Hank Stoever
229cdafcc4
fix(config): handle $ character with {file:} pattern ( #12390 )
...
Co-authored-by: Hank Stoever <1109058+hstove@users.noreply.github.com>
2026-02-05 20:10:35 -06:00
Dax Raad
9adcf524e2
core: bundle GitLab auth plugin directly instead of dynamic install
...
Remove dynamic installation of built-in plugins. GitLab auth is now imported
directly as an internal plugin, eliminating network requests during startup
and simplifying the plugin loading logic.
Removes the need for test mocks since plugins are no longer
dynamically installed at runtime.
2026-02-05 11:29:00 -05:00
Dax Raad
531b1941a0
ci: ensure config test waits for dependencies to complete installation
2026-02-05 10:13:52 -05:00
Dax
556adad67b
fix: wait for dependencies before loading custom tools and plugins ( #12227 )
2026-02-05 03:25:43 +00:00
Shantur Rathore
0d38e69038
fix(core): skip dependency install in read-only config dirs ( #12128 )
2026-02-04 14:45:59 -06:00
Adam
1721c6efdf
fix(core): session errors when attachment file not found
2026-02-04 10:21:03 -06:00
Sergiy Dybskiy
b942e0b4dc
fix: prevent double-prefixing of Bedrock cross-region inference models ( #12056 )
2026-02-03 23:06:17 -06:00
Łukasz Gładysz
6daa962aaa
fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md ( #11536 )
2026-02-04 01:35:22 +00:00
Max Leiter
93e060272a
fix: prevent memory leaks from AbortController closures ( #12024 )
2026-02-03 17:51:26 -06:00
Aiden Cline
a68fedd4a6
chore: adjust way skill dirs are whitelisted ( #12026 )
2026-02-03 16:33:36 -06:00
Idris Gadi
95211a8854
feat(tui): allow theme colors in agent customization ( #11444 )
2026-02-03 15:09:21 -06:00
Dax
17e62b050f
feat: add support for reading skills from .agents/skills directories ( #11842 )
...
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
2026-02-03 15:51:54 -05:00
Aiden Cline
857b8a4b56
test: add test for new skill improvements ( #11969 )
2026-02-03 16:05:10 +00:00
Aiden Cline
3975329629
feat: improve skills, better prompting, fix permission asks after invoking skills, ensure agent knows where scripts/resources are ( #11737 )
2026-02-03 09:58:31 -06:00
Muhammad Mugni Hadi
3741516fe3
fix: handle nested array items for Gemini schema validation ( #11952 )
2026-02-03 09:24:52 -06:00
Filip
d116c227e0
fix(core): plugins are always reinstalled ( #9675 )
2026-02-03 00:47:52 -06:00
Kiyoung Chang
3adeed8f97
fix(provider): strip properties/required from non-object types in Gemini schema ( #11888 )
2026-02-02 23:13:24 -06:00
Aiden Cline
188cc24bfc
chore: cleanup external_dir perm logic ( #11845 )
2026-02-02 16:43:55 -06:00
Aiden Cline
aa6b552c39
Revert pr that was mistakenly merged ( #11844 )
2026-02-02 15:28:02 -06:00
Adam
3b93e8d95c
fix(app): added/deleted file status now correctly calculated
2026-02-02 14:24:23 -06:00
Jigar
43354eeabd
fix: convert system message content to string for Copilot provider ( #11600 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 23:28:28 -06:00
Dax Raad
0f3630d936
ci: skip unicode filename test due to inconsistent behavior causing CI failures
2026-02-01 21:01:57 -05:00
Aiden Cline
5db089070a
test: add unit test
2026-02-01 19:26:23 -05:00
Aiden Cline
f6948d0ffa
fix: variant logic for anthropic models through openai compat endpoint ( #11665 )
2026-02-01 14:50:49 -06:00
Rohan Godha
ca5e85d6ea
fix: prompt caching for opus on bedrock ( #11664 )
2026-02-01 14:42:42 -06:00
neavo
f15755684f
fix(opencode): scope agent variant to model ( #11410 )
2026-02-01 14:12:30 -06:00
YeonGyu-Kim
16145af480
fix: prevent duplicate AGENTS.md injection when reading instruction files ( #11581 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-01 13:46:08 -06:00
zerone0x
cc1d3732bc
fix(tui): remove outer backtick wrapper in session transcript tool formatting ( #11566 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2026-02-01 13:11:18 -06:00
Joscha Götzer
3577d829c2
fix: allow user plugins to override built-in auth plugins ( #11058 )
...
Co-authored-by: JosXa <info@josxa.dev>
2026-02-01 10:50:41 -06:00
Aiden Cline
d1d7447493
fix: ensure switching anthropic models mid convo on copilot works without errors, fix issue with reasoning opaque not being picked up for gemini models ( #11569 )
2026-02-01 01:36:44 -06:00
Aiden Cline
d4c90b2dfb
fix: issue where you couldn't @ folders/files that started with a "." ( #11553 )
2026-01-31 21:01:51 -06:00
Aiden Cline
da7c874808
tweak: show actual retry error message instead of generic error msg ( #11520 )
2026-01-31 13:15:42 -06:00
Aiden Cline
f834915d3f
test: fix flaky test ( #11427 )
2026-01-31 01:07:22 -06:00
Dax Raad
6b972329fd
sync
2026-01-31 01:58:20 -05:00
Dax Raad
6ecd011e51
tui: allow specifying custom models file path via OPENCODE_MODELS_PATH
...
Users can now configure their own models configuration file by setting the OPENCODE_MODELS_PATH environment variable, providing more flexibility for testing and configuration.
2026-01-31 01:53:23 -05:00
opencode-agent[bot]
644f0d4e92
chore: generate
2026-01-31 02:35:22 +00:00
Steffen Deusch
d9f18e4006
feat(opencode): add copilot specific provider to properly handle copilot reasoning tokens ( #8900 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-30 19:53:22 -06:00
opencode-agent[bot]
252b2c450d
chore: generate
2026-01-31 01:32:46 +00:00
Cesar Garcia
0c32afbc35
fix(provider): use snake_case for thinking param with OpenAI-compatible APIs ( #10109 )
2026-01-31 01:32:02 +00:00
Aiden Cline
9d3f32065b
test: add llm.test.ts ( #11375 )
2026-01-30 17:04:32 -06:00
Patrick Schiel
e7ff7143b6
fix: handle redirected_statement treesitter node in bash permissions ( #6737 )
2026-01-30 16:11:45 -06:00
Ryan Vogel
4a56491e42
fix(provider): exclude chat models from textVerbosity setting ( #11363 )
2026-01-30 21:06:48 +00:00
Mikhail Levchenko
b5ffa997da
feat(config): add managed settings support for enterprise deployments ( #6441 )
...
Co-authored-by: Dax <mail@thdxr.com>
2026-01-29 22:56:25 +00:00
Aiden Cline
33c5c100ff
fix: frontmatter was adding newlines in some cases causing invalid model ids ( #11095 )
...
Co-authored-by: aptdnfapt <aptdnfapt@users.noreply.github.com>
2026-01-28 23:40:59 -06:00
Aiden Cline
b938e1ea99
test: fix test
2026-01-28 22:02:14 -06:00
Aiden Cline
558590712d
fix: ensure parallel tool calls dont double load AGENTS.md
2026-01-28 01:38:10 -05:00
Aiden Cline
f12f7e7718
tweak: adjust retry check to be more defensive
2026-01-27 11:31:02 -05:00
Aiden Cline
8b5dde5536
tweak: retry logic to catch certain provider problems
2026-01-26 16:12:41 -05:00
GitHub Action
18bfc740c8
chore: generate
2026-01-26 18:50:58 +00:00
Tim
837037cd04
fix: ensure openai 404 errors are retried ( #10590 )
2026-01-26 13:50:04 -05:00
Aiden Cline
39a73d4894
feat: dynamically resolve AGENTS.md files from subdirectories as agent explores them ( #10678 )
2026-01-26 10:49:41 -05:00
adamelmore
5993a098b4
fix(core): don't override source in custom provider loaders
2026-01-25 20:40:00 -06:00
Aiden Cline
e2d0d85d93
test: fix
2026-01-24 23:42:12 -05:00
Aiden Cline
2917a2fa61
test: fix
2026-01-24 23:41:47 -05:00
Dax Raad
32e6bcae3b
core: fix unicode filename handling in snapshot diff by disabling quote escaping
...
This ensures unicode and special characters in filenames are displayed correctly when generating diff patches, allowing proper file detection and revert operations
2026-01-24 13:07:07 -05:00
Britt
f4cf3f4976
fix(web): construct apply_patch metadata before requesting permission ( #10422 )
2026-01-24 12:00:21 -06:00
Dax Raad
e3c1861a3e
get rid of models.dev macro
2026-01-24 12:27:13 -05:00
Arthur
cf7e10c4e8
fix: add xhigh reasoning effort for GitHub Copilot GPT-5 models ( #10092 )
...
Co-authored-by: Arthur Freitas Ramos <arthur@MacBook-Air-de-Arthur.local>
2026-01-24 00:09:47 -05:00
Aiden Cline
c2844697f3
fix: ensure images are properly returned as tool results
2026-01-21 23:54:44 -06:00
Alex Sadleir
fc0210c2fd
fix(acp): rename setSessionModel to unstable_setSessionModel ( #9940 )
2026-01-21 22:11:09 -06:00
Daniel Olowoniyi
2a370f8038
feat: implement home directory expansion for permission patterns using ~ and $HOME prefixes. ( #9813 )
2026-01-21 12:52:21 -06:00
Bart Broere
8df09abb1b
feat: Make the models.dev domain configurable for offline environments ( #9258 )
2026-01-21 11:23:07 -06:00
Stephen Collings
0e1a8a1839
fix: Claude w/bedrock custom inference profile - caching support ( #9838 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-21 10:42:13 -06:00
GitHub Action
96e9c89cc6
chore: generate
2026-01-21 05:37:18 +00:00
Kenny
a18ae2c8b7
feat: add OPENCODE_DISABLE_PROJECT_CONFIG env var ( #8093 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-20 23:36:42 -06:00
Aiden Cline
021e42c0bb
core: fix issue when switching models (mainly between providers) where past reasoning/metadata would be sent to server and cause 400 errors since they came from another account/provider
2026-01-20 16:39:00 -06:00
Aiden Cline
0c4ffec857
chore: rename toModelMessage -> toModelMessages
2026-01-20 16:16:23 -06:00
Aiden Cline
9706aaf552
rm filetime assertions from patch tool
2026-01-20 00:32:29 -06:00
Aiden Cline
e2f1f4d81e
add scheduler, cleanup module ( #9346 )
2026-01-18 23:33:23 -06:00
Aiden Cline
0d8e706fac
test: fix transfomr test
2026-01-18 14:44:39 -06:00
zerone0x
38c641a2fc
fix(tool): treat .fbs files as text instead of images ( #9276 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-18 13:17:49 -06:00
Noam Bressler
bef1f66281
fix(acp): use single global event subscription and route by sessionID ( #5628 )
...
Co-authored-by: noamzbr <noamzbr@users.noreply.github.com>
Co-authored-by: noam-v <noam@bespo.ai>
2026-01-18 01:29:42 -06:00
GitHub Action
d13c0ea915
chore: generate
2026-01-18 06:42:13 +00:00
Bowen Dwelle
3591372c45
feat(tool): increase question header and label limits ( #9201 )
2026-01-18 00:41:36 -06:00
Aiden Cline
b7ad6bd839
feat: apply_patch tool for openai models ( #9127 )
2026-01-18 00:35:09 -06:00
Aiden Cline
052f887a9a
core: prevent env variables in config from being replaced with actual values
...
When opencode.json was missing a $schema, the config loader would add it
and write the file back - but with env variables like {env:API_KEY} replaced
with their actual secret values. This made it impossible to safely commit
opencode.json to version control.
Now the original config text is preserved when adding $schema, keeping
variable placeholders intact.
2026-01-17 20:59:50 -06:00
Aiden Cline
ea13b6e8aa
test: add azure test case
2026-01-17 00:35:49 -06:00
Aiden Cline
33290c54cd
Revert "feat(mcp): add OAuth redirect URI configuration for MCP servers ( #7379 )"
...
This reverts commit 40b275d7e6 .
2026-01-16 22:17:33 -06:00
Aiden Cline
7c3eeeb0fa
fix: gpt id stuff fr fr this time :/ ( #9006 )
2026-01-16 22:09:36 -06:00
Aiden Cline
8c24879246
test: fix
2026-01-16 15:52:51 -06:00
Aiden Cline
f5a6a4af7f
Revert "fix: ensure that tool attachments arent sent as user messages ( #8944 )"
...
This reverts commit 8fd1b92e6e .
2026-01-16 15:50:24 -06:00
Aiden Cline
8fd1b92e6e
fix: ensure that tool attachments arent sent as user messages ( #8944 )
2026-01-16 12:47:43 -06:00
Aiden Cline
40836e9683
fix: fix the itemId stripping logic, this time it should fix that id issue w/ gpt models fr
2026-01-16 11:34:45 -06:00
Aiden Cline
d510bd52a4
Revert "test: fix test now that image fix went in"
...
This reverts commit fffa718f5e .
2026-01-16 09:34:00 -06:00
Aiden Cline
fffa718f5e
test: fix test now that image fix went in
2026-01-16 00:11:30 -06:00
Christopher Tso
40b275d7e6
feat(mcp): add OAuth redirect URI configuration for MCP servers ( #7379 )
2026-01-15 23:36:48 -06:00
Aiden Cline
d8ef9f808d
test: fix transform test
2026-01-15 19:27:04 -06:00
Dan Lapid
b572c68100
fix(mcp): show auth URL when browser cannot open in remote sessions ( #7884 )
2026-01-15 20:21:39 -05:00
Sercan Sagman
81983d4a2e
fix(agent): default agent selection in acp and headless mode ( #8678 )
...
Signed-off-by: assagman <ahmetsercansagman@gmail.com>
2026-01-15 17:09:19 -06:00
seilk
9b57db30d1
feat: add litellmProxy provider option for explicit LiteLLM compatibility ( #8658 )
...
Co-authored-by: Mark Henderson <Mark.Henderson99@hotmail.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-15 22:01:15 +00:00
Aiden Cline
dc1c25cff5
fix: ensure frontmatter can process same content as other agents ( #8719 )
2026-01-15 13:06:14 -06:00
opencode-agent[bot]
ebc194ca9a
Prettify retry duration display in TUI ( #8608 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-01-15 11:50:18 -06:00
Brandon Smith
8d720f9463
fix(opencode): add input limit for compaction ( #8465 )
2026-01-15 01:35:16 -06:00
Aiden Cline
92931437c4
fix: codex id issue ( #8605 )
2026-01-15 01:31:50 -06:00
Aiden Cline
50dfa9caf3
chore: upgrade bun from 1.3.5 -> 1.3.6, also update types/bun from 1.3.4 -> 1.3.6 and fix type errs ( #8499 )
...
Co-authored-by: Github Action <action@github.com>
2026-01-14 11:53:12 -06:00
Jacopo Binosi
3a9e6b558c
feat(opencode): add AWS Web Identity Token File support for Bedrock ( #8461 )
2026-01-14 10:20:47 -06:00
Shane Bishop
077ca4454f
fix(desktop): "load more" button behavior in desktop sidebar ( #8430 )
2026-01-14 07:36:08 -06:00
Vladimir Glafirov
452f11ff77
fix: Add Plugin Mocks to Provider Tests ( #8276 )
2026-01-13 15:23:41 -06:00
Dax Raad
501347cda5
test: fix plan agent test path from .opencode/plan/* to .opencode/plans/*
2026-01-13 16:19:14 -05:00
Dax
0a3c72d678
feat: add plan mode with enter/exit tools ( #8281 )
2026-01-13 15:55:48 -05:00
Vladimir Glafirov
05867f9318
feat: Add GitLab Duo Agentic Chat Provider Support ( #7333 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-13 13:21:39 -06:00
Aiden Cline
fd37d5b54e
tweak: truncation dir perm
2026-01-12 16:46:47 -06:00
Aiden Cline
5c4345da4f
test: fix read test
2026-01-12 15:49:31 -06:00
Aiden Cline
735f3d17bc
fix: ensure plurals are properly handled ( #8070 )
2026-01-12 15:21:01 -06:00
Aiden Cline
62702fbd11
fix: permissions wildcarding so that for ex: 'ls *' includes ls * AND 'ls' to prevent having to double state commands or use 'ls*'
2026-01-12 13:02:29 -06:00
Aiden Cline
d527ceeb2b
test: fix
2026-01-12 12:33:39 -06:00
Dillon Mulroy
fa79736b87
fix: check worktree for external_directory permission in subdirs ( #7811 )
2026-01-11 14:17:36 -06:00
Dax Raad
f94ee5ce90
core: extract external directory validation to shared utility to reduce code duplication across tools
2026-01-10 18:49:42 -05:00
Frédéric DE MATOS
1662e149b3
fix: add ChatGPT-Account-Id header for organization subscriptions ( #7603 )
2026-01-10 07:50:24 -06:00
Jeon Suyeol
8e3ab4afa7
feat(config): deduplicate plugins by name with priority-based resolution ( #5957 )
2026-01-09 02:11:24 -06:00
Dax
22dd70b75b
feat(question): support multi-select questions ( #7386 )
2026-01-08 17:32:21 -05:00
Aiden Cline
3c5043497c
ignore: ensure new file truncation stuff still works even if external_directoy is set to deny
2026-01-08 11:07:33 -06:00
Aiden Cline
d5f0e3fccc
test: add larger image test for read tool
2026-01-07 23:01:02 -06:00
Dax
e37fd9c105
core: add interactive question tool for gathering user preferences and clarifying instructions ( #7268 )
2026-01-07 22:29:42 -05:00
Aiden Cline
1b82511fbd
feat: write truncated tool outputs to files ( #7239 )
2026-01-07 17:25:00 -06:00
M. Adel Alhashemi
34c9d106ee
refactor: simplify task tool subagent filtering ( #7165 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-07 13:28:13 -06:00
Matt Silverlock
4ba0b22b04
fix: config precedence now correctly allows local config to override remote ( #7141 )
2026-01-07 12:07:21 -05:00
GitHub Action
c961072d20
chore: generate
2026-01-07 07:43:43 +00:00
Aiden Cline
429240f439
ignore: add truncation funcs ( #7178 )
2026-01-07 01:43:06 -06:00
Daniel Polito
b5be883758
Make General SubAgent not hidden ( #6752 )
2026-01-07 01:31:47 -06:00
Sewer.
fd7b7eacd3
Added: Ability to hide subagents from primary agents system prompt. ( #4773 )
...
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-06 22:29:17 -06:00
Dax Raad
0276885181
core: preserve permission config key order to maintain user-defined permission precedence
2026-01-05 14:09:37 -05:00
Grégoire Morpain
e3b4d4ad49
feat(bedrock): config options and authentication precedence ( #6377 )
2026-01-05 12:51:43 -06:00
Aiden Cline
c285304acf
fix: for anthropic compat ensure empty msgs and empty reasoning is filtered out
2026-01-05 01:40:15 -06:00
Dax Raad
2f5b2b23d5
core: fix permission rule matching to use permission field instead of pattern field
2026-01-05 01:21:49 -05:00
Aiden Cline
3611260405
core: remove hardcoded .env read block and use new permissions model instead
2026-01-04 01:49:49 -06:00
Dax Raad
0b4af95223
core: add sandbox support for git worktrees to allow working in multiple directories per project
2026-01-03 18:52:53 -05:00
Dax Raad
47c670aea9
tui: add reject message support to permission dialogs for better user feedback
2026-01-03 01:34:23 -05:00
YeonGyu-Kim
a3f38e0533
feat(plugin): add tui.session.select API endpoint for TUI navigation ( #6565 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-02 16:57:21 -06:00
Matt Silverlock
66bc046503
fix: merge instructions arrays across config files ( #6663 )
2026-01-02 13:55:40 -06:00
Aiden Cline
2fd97377f6
test: fix transform test
2026-01-02 12:38:44 -06:00
Aiden Cline
47ebb2973f
test: add message-v2 test
2026-01-02 12:28:40 -06:00
Dax Raad
dad9c917d2
tui: fix memory leaks in session management and improve permission error handling
2026-01-01 21:28:11 -05:00
Dax Raad
db8d83b53d
tui: fix permission tests for new evaluate function signature
2026-01-01 21:01:34 -05:00
Dillon Mulroy
05eee679a3
feat: add assistant metadata to session export ( #6611 )
2026-01-01 18:56:23 -06:00
Aiden Cline
76186d19f3
fix: ensure new permissions changes work for special case bash commands like rm, cd, etc
2026-01-01 17:27:23 -06:00
Dax
351ddeed91
Permission rework ( #6319 )
...
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-01-01 17:54:11 -05:00
Saatvik Arya
7a3ff5b98f
fix(session): check for context overflow mid-turn in finish-step ( #6480 )
2026-01-01 12:03:18 -06:00
Aiden Cline
9a1dc1ffe4
core: prevent TimeoutOverflowWarning by capping setTimeout delay to max 32-bit signed integer
2025-12-31 16:15:49 -06:00
Aiden Cline
81fef60266
fix: ensure variants also work for completely custom models ( #6481 )
...
Co-authored-by: Daniel Smolsky <dannysmo@gmail.com>
2025-12-30 16:37:32 -06:00
Aiden Cline
abc7eed92b
tweak: read global claude skills too ( #6420 )
2025-12-29 23:48:58 -06:00
Grégoire Morpain
893888536a
fix(bedrock): support region and bearer token configuration ( #6332 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-28 22:44:15 -06:00
Connor Adams
ae67f43ff0
feat: add support for .claude/skills directory ( #6252 )
2025-12-28 22:39:10 -06:00
Didier Durand
29d8557d41
doc: fix typos in various files ( #6294 )
2025-12-28 13:06:25 -06:00
Matt Silverlock
d6db6ff198
fix: handle non-text response parts in GitHub action ( #6173 )
2025-12-27 21:24:10 -06:00
rari404
3c02d5d338
feat: add path traversal protection to File.read and File.list ( #5985 )
2025-12-26 23:20:07 -06:00
Christopher Ochsenreither
bfb9787361
fix: compact command after revert now properly cleans up revert state ( #6235 )
2025-12-26 22:57:59 -06:00
Dax Raad
2cdc88d295
core: add compaction config tests to verify auto and prune settings work correctly
2025-12-26 19:44:32 -05:00
Aiden Cline
664e6bf2d0
test: add more tests to make sure that cwd is locked for read tool
2025-12-26 14:30:05 -06:00
Aiden Cline
8b40e38cd7
test: add test for retry
2025-12-23 19:34:40 -06:00
lif
5af35117db
fix: handle Windows CRLF line endings in grep tool ( #5948 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-22 22:26:15 -06:00
Mohammad Alhashemi
046e351140
feat: add native skill tool with permission system ( #5930 )
...
Co-authored-by: Dax Raad <d@ironbay.co>
2025-12-22 18:24:06 -05:00
Aiden Cline
5605fc3f38
test: rm claude skills test
2025-12-22 15:45:31 -06:00
Buck Evan
60db171b44
fix(read): narrow .env file blocking to not block .envrc ( #5654 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-22 08:37:43 -06:00
Dax
8fe0715928
feat: add Agent Skills support ( #5921 )
2025-12-21 19:44:56 -05:00
Aiden Cline
d3922f0965
core: add verification that at least 1 primary agent is enabled, add regression tests ( #5881 )
2025-12-20 21:36:22 -06:00
lif
d89b567b47
fix: add transform case for gemini if mcp tool has missing array items ( #5846 )
2025-12-20 11:41:52 -06:00
Aiden Cline
dae0168ed8
test: fixture cleanup
2025-12-19 17:00:23 -06:00
Aiden Cline
edfe2e4f1c
test: fix test case
2025-12-19 16:37:36 -06:00
Aiden Cline
f9d0850c5e
test: add regression test for setCacheKey option
2025-12-17 10:24:53 -06:00
Aiden Cline
3ac42e9632
fix: github install cmd if repo has . in it
2025-12-16 11:19:18 -06:00
René
9eefcd1b41
Provider fix, anthropic Errorhandling if empty image file is read ( #5521 )
2025-12-14 23:56:47 -06:00
Adam
79a4c65313
fix: test
2025-12-14 21:42:17 -06:00
Dax Raad
e22af25076
ci: fix test failures in CI by pre-populating models cache
...
Tests were failing in CI because the models.json cache file doesn't exist
and the data() macro fallback only works at build time, not runtime.
The preload now pre-fetches models.json and disables the background
refresh to prevent race conditions during test execution.
2025-12-14 21:23:45 -05:00
Sebastian Herrlinger
80e04be84f
fix super modifier parsing
2025-12-11 19:20:23 +01:00
Aiden Cline
59fb3ae606
ignore: add bash tests
2025-12-10 15:07:40 -06:00
Aiden Cline
da56319af4
ignore: fix test
2025-12-10 13:31:45 -06:00
Dax Raad
cb188f907f
ci
2025-12-09 19:53:50 -05:00
Dax Raad
63d9656ad8
ci
2025-12-09 19:46:59 -05:00
Dax Raad
3512d02e9e
ci
2025-12-09 19:46:38 -05:00
Aiden Cline
df64612d54
better interleaved thinking support ( #5298 )
2025-12-09 16:32:12 -06:00
Dax Raad
5f6b2fdc6f
fix tests
2025-12-09 16:03:33 -05:00
Dax Raad
f1955b4d05
core: fix project event emission to include updated worktree data
2025-12-09 15:41:38 -05:00
Dax Raad
c5e5627cbd
test fixes
2025-12-09 15:41:38 -05:00
Dax Raad
b48caec218
core: add automatic project icon discovery from favicon/logo files
2025-12-09 15:06:24 -05:00
Dax Raad
fb1b6c5e6b
add project.name/icon
2025-12-09 13:57:18 -05:00
Aiden Cline
e23a81097c
core: add test to prevent MCP headers regression when OAuth is enabled
...
Custom headers configured for remote MCP servers were being silently
dropped when OAuth was enabled (the default). This test ensures headers
are always sent to MCP servers regardless of OAuth configuration.
2025-12-09 12:06:40 -06:00
Aiden Cline
9856e3b798
ignore: add test for provider url case
2025-12-07 13:06:12 -06:00
Aiden Cline
75a4dcbce8
tweak: make bash give agent more awareness of cwd, bump default timeout, drop max timeout ( #5140 )
2025-12-06 23:55:07 -06:00
Aiden Cline
767a81f930
fix: ensure that vcs is still set to git even if no commits in repo
2025-12-04 23:02:11 -06:00
Dax Raad
b1202ac6db
core: add test for custom model npm package inheritance
2025-12-04 16:30:54 -05:00
Jakub Matjanowski
46790e57e9
feat: Enhance DeepSeek reasoning content handling ( #4975 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-03 21:31:36 -06:00
Dax
6d3fc63658
core: refactor provider and model system ( #5033 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-12-03 21:09:03 -05:00
Dax Raad
ee4437ff32
core: add provider test coverage for upcoming refactor
...
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions
Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
2025-12-03 18:30:42 -05:00
Dax Raad
9eabbe2e76
retry anthropic overloaded errors
2025-11-25 15:47:34 -05:00
Ariane Emory
4273fa9ccf
fix: merge plugin selections ( resolves #4565 ) ( #4724 )
...
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-25 11:34:21 -06:00
Aiden Cline
618c654aa0
ignore: todo fix test case
2025-11-19 15:18:21 -06:00
Aiden Cline
a1dc4ebbe4
ignore: flaky test be a lil less flaky plz
2025-11-19 14:46:06 -06:00
Aiden Cline
e4e6096510
ignore: fix hanging test
2025-11-19 14:38:12 -06:00
Dax Raad
0a2d7af179
core: honor retry-after values exceeding 10 minutes instead of discarding them
2025-11-17 11:33:28 -05:00
Dax Raad
8b19c6c7e4
better retry display
2025-11-17 11:31:10 -05:00
Chris Olszewski
69a45ef7d7
fix: snapshot history when running from git worktrees ( #4312 )
2025-11-15 01:02:00 -06:00
Aiden Cline
0c51feb9c2
fix: max tokens when using models like opus with providers other than anthropic ( #4307 )
2025-11-13 16:39:09 -06:00
Aiden Cline
0b86adbe99
feat: agent color cfg ( #4226 )
...
Co-authored-by: 0xrin <0xrin1@protonmail.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-11 18:32:44 -06:00
Dax Raad
ce1397cc34
core: add test to verify OpenCode doesn't crash when starting in git repositories with no commit history
2025-11-11 20:17:36 +00:00
Dax Raad
299bf1dca8
ci
2025-11-11 01:59:10 -05:00
Aiden Cline
f7cc46cd9f
set cap for max time to wait between retries ( #4135 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-11-09 11:46:58 -06:00
Christopher Sacca
271b679058
fix(lsp): handle optional requests to avoid MethodNotFound (-32601) with MATLAB Language Server ( #4007 )
2025-11-08 16:31:39 -06:00
GitHub Action
34ff87d504
chore: format code
2025-11-08 01:59:02 +00:00
Jinhyeok Lee
afb831c93c
vscode: Add VS Code Insiders support ( #4019 )
2025-11-07 10:31:16 -06:00
Dax Raad
3c2803fd9a
flaky test
2025-11-06 13:05:53 -05:00
Dax Raad
1ea3a8eb9b
big format
2025-11-06 13:03:12 -05:00
Dax Raad
67f3c934fe
fix tests
2025-11-06 11:42:46 -05:00
Aiden Cline
065f656fb0
chore: rm hanging test
2025-11-06 10:39:32 -06:00
Err
6f0028644e
fix: support scoped npm plugins ( #3785 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 09:15:01 -06:00
James Alexander
37a6b5177e
Add unit tests for util functions: iife, lazy, timeout ( #3791 )
2025-11-03 09:24:45 -05:00
Sebastian Herrlinger
92a1943771
upgrade to opentui 0.1.32, activates kitty keyboard
2025-11-02 01:45:38 +01:00
Dax
96bdeb3c7b
OpenTUI is here ( #2685 )
2025-10-31 15:07:36 -04:00
Aiden Cline
e6301ca5d5
tweak: rename event
2025-10-27 10:42:47 -05:00
Bernat Pericàs
b562863fcc
feat: add session.started event that triggers when a new session is created ( #3413 )
2025-10-27 07:18:23 -05:00
Aiden Cline
e88b659545
make plan agent whitelist more conservative ( #3424 )
2025-10-24 14:40:36 -05:00
Adam
fe8f6d7a3e
wip: desktop work
2025-10-24 12:16:33 -05:00
Dax Raad
4cab66da6c
test cleanup
2025-10-24 09:29:38 -04:00
Aiden Cline
b5f336c0ea
test: rm flaky test
2025-10-23 12:52:08 -05:00
Aiden Cline
7c7ebb0a9d
feat: retry parts ( #3369 )
2025-10-22 18:31:36 -05:00
Aiden Cline
354f5c3281
ignore: fix acp test ( #3339 )
2025-10-21 15:27:59 -05:00
Dax Raad
e9996342a7
core: provide line-level statistics in file diffs to help users understand the scale of changes
2025-10-21 11:54:41 -04:00
Dax Raad
a0a09f421c
core: add session diff API to show file changes between snapshots
2025-10-20 17:59:26 -04:00
Joe Schmitt
f3f21194ae
feat: Add ACP (Agent Client Protocol) support ( #2947 )
...
Co-authored-by: opencode-bot <devnull@opencode.local>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
2025-10-20 16:55:22 -05:00
Alberto Fanton
7ef246f98f
fix: disable GPG signing in snapshot tests ( #3102 )
2025-10-13 23:40:41 -05:00
Dax Raad
9d30bc692c
ci: fixes
2025-10-11 00:24:35 -04:00
Dax Raad
9da95cb805
upgrade to bun 1.3.0
2025-10-10 17:53:32 -04:00
Dax Raad
dfc7ac4cf0
ignore: improve file ignore performance and cross-platform support
...
- Replace glob patterns with Set lookup for common folders to speed up matching
- Use path.sep for cross-platform compatibility on Windows/Unix systems
- Add comprehensive test coverage for nested and non-nested folder matching
- Simplify implementation by removing unnecessary caching complexity
2025-10-09 15:54:01 -04:00
Dax Raad
5f61945090
core: remove redundant patch integration test
...
The integration test was duplicating coverage already provided by the comprehensive
patch namespace tests. Users benefit from faster test runs without losing any
coverage of patch functionality. The remaining tests provide complete validation
of patch parsing, application, and tool integration.
2025-10-01 06:49:19 -04:00
Dax Raad
41ce56494b
core: make patch tool more reliable and consistent with other editing tools
...
The patch tool now works seamlessly alongside other file editing tools with improved
error handling and a more intuitive permission system. Users will experience:
- More reliable patch application with better error messages
- Consistent permission prompts that match other editing tools
- Smoother integration when applying complex multi-file changes
- Better feedback on what changes are being made before applying patches
This refactoring leverages the robust patch parsing engine while making the tool
feel native to the opencode workflow, reducing friction when making bulk changes
to your codebase.
2025-10-01 06:45:43 -04:00
Dax Raad
6a7eeb39c3
core: prevent file deletion when reverting changes to existing files
2025-10-01 05:06:37 -04:00
Dax Raad
d644e0b8a7
core: fix config test by removing model field expectation
2025-09-27 03:10:01 -04:00
Dax Raad
4b94d98f89
ci: improve test coverage
2025-09-27 03:04:42 -04:00
Dax Raad
d0043a4a78
sync
2025-09-27 02:53:20 -04:00
Dax Raad
53481f9790
wip: bun test improvements
2025-09-27 02:17:08 -04:00
GitHub Action
b5b8a0555d
chore: format code
2025-09-19 09:12:20 +00:00
Dax Raad
ae6154e1c3
ignore: rework bootstrap so server lazy starts it
2025-09-19 05:11:29 -04:00
Dax
3b6c0ec0b3
support custom tools ( #2668 )
2025-09-18 03:58:21 -04:00
Dax Raad
40c206c2f9
add opencode attach command to connect to a remote opencode server
2025-09-17 03:30:25 -04:00
Dax Raad
259c722208
only prune messages from more than 2 turns ago
2025-09-17 03:30:09 -04:00
Dax Raad
abd99aeb7d
ignore: fix event type gen
2025-09-17 01:17:56 -04:00
Dax
c1b4e1f19d
Upgrade to Zod v4 ( #2605 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Dax
9bb25a9260
Session management and prompt handling improvements ( #2577 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Dax Raad
38e8c42cf0
ci: format
2025-09-09 23:44:04 -04:00
Zack Jackson
ab3c22b77a
feat: add dynamic tool registration for plugins and external services ( #2420 )
2025-09-08 16:25:04 -04:00
Aiden Cline
f740663ded
fix: more durable @ references for commands ( #2386 )
2025-09-02 21:24:56 -05:00
Adam Spiers
47d4c87bdd
make @file references in custom slash commands more robust ( #2203 )
...
Co-authored-by: Adam Spiers <opencode@adamspiers.org>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-01 21:14:27 -05:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process ( #2360 )
...
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk
1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Dax
10735f93ca
Add agent-level permissions with whitelist/blacklist support ( #1862 )
2025-08-12 11:39:39 -04:00
Dax Raad
061ba65d20
show combined output of bash tool progressively
2025-08-11 01:23:00 -04:00
Yordis Prieto
04a1ab3893
chore: enhance bash command tests with config mock and timeout adjustments ( #1486 )
...
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
2025-08-01 14:14:54 -04:00
adamdotdevin
1d682544b9
fix: test
2025-07-31 10:10:34 -05:00
adamdotdevin
ef633fe92e
fix: test
2025-07-31 10:07:58 -05:00
Dax
18888351e9
use treesitter to parse bash commands and catch commands that go outside of cwd ( #1443 )
2025-07-30 20:57:52 -04:00
Yordis Prieto
c38b091895
fix: update glob pattern and path in tool test ( #1436 )
2025-07-30 15:42:13 -05:00
Yordis Prieto
eecfd6d0ca
fix: unit test assertion ( #1435 )
...
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
2025-07-30 15:13:37 -05:00
Yordis Prieto
4c34b69ae6
chore: fix test to have deterministic testing ( #1401 )
2025-07-29 17:54:22 -05:00
Dax Raad
e97613ef9f
allow temperature to be configured per mode
2025-07-25 13:29:44 -04:00
Dax Raad
8dcd39f5b7
real life totally configurabl ai subasians
2025-07-24 21:21:02 -04:00
Filip
541a7a39d3
fix: edit tool ( #1287 )
2025-07-24 16:18:04 -04:00
Nipuna Perera
add81b9739
Enhance private npm registry support ( #998 )
2025-07-16 08:31:38 -04:00
Dax
f884766445
v2 message format and upgrade to ai sdk v5 ( #743 )
...
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dax Raad
51bf193889
ignore: run prettier
2025-06-26 22:30:44 -04:00
Dax Raad
d240f4c676
more edit tool fixes
2025-06-25 19:22:54 -04:00
Dax Raad
9c90cdbe08
integrate gemini-cli strategies for edit tool
2025-06-25 17:56:14 -04:00
Dax Raad
fc7af31fe5
make edit tool more robust
2025-06-25 17:10:48 -04:00
Tom
09b89fdb23
fix: resolve test failures by adding missing zod-openapi import ( #301 )
...
Co-authored-by: opencode <noreply@opencode.ai>
2025-06-22 14:25:02 -04:00
Dax Raad
f99904bc1c
track version on session info
2025-06-18 13:40:36 -04:00
Dax Raad
ee91f31313
fix issue with tool schemas and google
2025-06-17 11:27:07 -04:00
Dax Raad
68e1b3c46c
Fix TypeScript compilation errors and consolidate version handling
...
🤖 Generated with [opencode](https://opencode.ai )
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 10:27:49 -04:00
Dax Raad
bfb36a8566
Refactor app context system to use Zod schemas and sync access pattern
...
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-03 11:59:03 -04:00
Dax Raad
e764525578
sync
2025-06-01 15:01:57 -04:00
Dax Raad
a1c4f345a8
Fix TypeScript errors and clean up unused imports
...
- Remove unused fs import from app.ts
- Remove unused LLM import and missing module reference from server.ts
- Fix parameter naming inconsistency in fetch.ts execute function
- Add missing metadata property to fetch.ts return statement
- Update test file to use correct API signatures and parameter names
- Remove unused parameters from example.ts
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-01 14:46:04 -04:00
Dax Raad
b4f809559e
tool rework
2025-05-31 17:12:16 -04:00
Dax Raad
3b746162d2
run formatter
2025-05-31 14:41:00 -04:00
Dax Raad
f3da73553c
sync
2025-05-30 20:48:36 -04:00