Commit graph

607 commits

Author SHA1 Message Date
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