Commit graph

197 commits

Author SHA1 Message Date
Kit Langton
39ea816a72
refactor(opencode): roll out serviceUse proxy across 14 services + tests (#28576) 2026-05-21 03:36:27 +00:00
opencode-agent[bot]
fccfef1aaf chore: generate 2026-05-21 02:44:38 +00:00
Kit Langton
e0e8159965
test(opencode): port provider.test.ts to it.instance (#28565) 2026-05-21 02:43:14 +00:00
opencode-agent[bot]
9cd6e07a50 chore: generate 2026-05-21 02:32:58 +00:00
Kit Langton
c05ce3b725
test(opencode): port amazon-bedrock.test.ts to it.instance (#28559) 2026-05-20 22:31:42 -04:00
Kit Langton
88681d389b
Migrate provider lookup tests to instance fixtures
Migrate provider env precedence, model lookup, and default model tests to Effect-aware instance fixtures while keeping behavior unchanged.
2026-05-18 18:01:53 +00:00
Kit Langton
ae2ecd1ed3
Migrate custom provider tests to instance fixtures
Migrate the next custom provider/model config tests to Effect-aware instance fixtures while keeping timing neutral and behavior unchanged.
2026-05-18 17:49:26 +00:00
Kit Langton
762850dfe5
Migrate provider config tests to instance fixtures
Convert the first provider env/config/filtering tests to Effect-aware instance fixtures while keeping behavior unchanged and documenting neutral timing.
2026-05-18 13:22:59 -04:00
Kit Langton
896ad7b884
Speed up targeted opencode tests
Reduce avoidable setup costs in slow opencode tests while preserving reviewed coverage and recording the benchmark evidence for follow-up test-suite work.
2026-05-18 16:18:29 +00:00
Dax
e85119aa64
Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
Shoubhit Dash
65f96a5851
refactor(instance): retire WithInstance adapter (#27782) 2026-05-16 01:30:07 +05:30
Shoubhit Dash
0c9cfe923f
refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
nv-kasikritc
d34a0194ec
feat(provider): add NVIDIA endpoints origin header (#27394) 2026-05-14 17:21:58 -05:00
Shoubhit Dash
34198f422c
refactor(provider): use runtime flag for experimental models (#27606) 2026-05-15 02:48:01 +05:30
opencode-agent[bot]
c2723b5ea0 chore: generate 2026-05-14 04:25:32 +00:00
Frederik
9675579796
fix: bug encountered when using azure gpt-5.5 w/ completions api (#26222) 2026-05-13 23:24:16 -05:00
Dax
16c457e712
refactor(core): move models.dev into core (#27347) 2026-05-13 20:58:24 -04:00
Kit Langton
9818c9e8d0
fix(provider): make small model fallback optional (#27405) 2026-05-14 00:44:34 +00:00
Aiden Cline
df3895d74f
cleanup: make smallOptions rely on variants (#27390) 2026-05-13 18:30:36 -05:00
Kit Langton
55e0af1405
fix(provider): type model not found errors (#27334) 2026-05-13 22:23:09 +00:00
Shoubhit Dash
20cec91550
fix(provider): restore model suggestions (#27372) 2026-05-14 00:38:38 +05:30
Shoubhit Dash
52f9bcbb82
refactor(flags): route installation client through runtime flags (#27369) 2026-05-14 00:10:31 +05:30
Dax
8345152319
core: expose v2 model listing API (#25821) 2026-05-13 14:43:08 +00:00
Kit Langton
03cf833236
test(provider): migrate DigitalOcean provider test to Effect runner (#27232) 2026-05-13 02:51:11 +00:00
opencode-agent[bot]
2cb697b720 chore: generate 2026-05-12 21:24:39 +00:00
Musa
159964b172
feat(plugin): add DigitalOcean OAuth + Inference Routers (#26095) 2026-05-12 16:22:40 -05:00
Kit Langton
04aafe2bfc
test(provider): migrate more config-backed cases (#27067) 2026-05-12 14:19:49 +00:00
Kit Langton
cc1835e0db
test(provider): migrate config-backed cases to Effect runner (#26969) 2026-05-12 02:23:52 +00:00
Kit Langton
6849f96825
refactor(provider): share model status schema (#26595)
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:20:31 -04:00
Kit Langton
c36ab3f935
fix(provider): align Gemini thinking controls (#26279) 2026-05-08 10:22:45 -04:00
Kit Langton
e0396b809a
fix(provider): align Anthropic Opus 4.5 efforts (#26275) 2026-05-08 00:06:07 -04:00
Kit Langton
319498e2fd
fix(provider): constrain OpenAI deep research efforts (#26273) 2026-05-07 23:43:42 -04:00
opencode-agent[bot]
114eeb21dc chore: generate 2026-05-08 03:33:55 +00:00
Kit Langton
1cf8123bc6
fix(provider): align GPT-5 reasoning variants (#26268) 2026-05-07 23:32:47 -04:00
opencode-agent[bot]
1fbc13a1b4 chore: generate 2026-05-05 23:08:37 +00:00
Aiden Cline
6409aceb1a
fix: sanitize surrogates (#25934) 2026-05-05 18:07:23 -05:00
opencode-agent[bot]
837cc92586 chore: generate 2026-05-05 21:56:18 +00:00
Nathan Nguyen
ca77b8f8e9
fix(cf-ai-gateway): route provider options through openaiCompatible key (#24432) (#25573) 2026-05-05 16:55:08 -05:00
Kit Langton
7d91d3b1ed
Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
opencode-agent[bot]
b3a7513765 chore: generate 2026-05-02 18:00:11 +00:00
Kit Langton
f8738c9002
feat(models): effectify ModelsDev as Service (#25434) 2026-05-02 13:59:08 -04:00
Kit Langton
4c4860fb24
Replace Instance.disposeAll/load with fixture helper (#25418) 2026-05-02 10:56:15 -04:00
Kit Langton
d99dde6306
Migrate test inits from Promise to Effect (#25377) 2026-05-02 09:07:59 -04:00
Aiden Cline
a740d2c667
fix: adjust azure defaults to closer match openai to prevent Item .. of type 'reasoning' was provided without its required following item (#25007) 2026-04-29 16:49:28 -05:00
Ruben De Smet
639e27c3ce
feat: add Mistral Medium 3.5 with reasoning support (#24996) 2026-04-29 16:26:24 -05:00
Aiden Cline
0acac216ae
fix(copilot): ensure available variants sync from api (#24734)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 14:58:51 -05:00
opencode-agent[bot]
bb9e445257 chore: generate 2026-04-28 04:45:24 +00:00
Aiden Cline
528fb1d404
fix: sanitize tools for moonshot (#24730) 2026-04-27 23:44:21 -05:00
Dax
f25f1485d5
refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Aiden Cline
738b3065dc
tweak: make interleaved reasoning_content default to true for openai compat deepseek setups (#24630) 2026-04-27 10:17:38 -05:00
Kit Langton
f2d4d816fb
test(provider): avoid plugin dependency install timeout (#24416) 2026-04-26 02:11:25 +00:00
Dax Raad
705f792e87 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Ruben De Smet
1a20703469
feat: add Mistral Small reasoning variant support (issue #19479) (#23735) 2026-04-21 16:45:06 -04:00
Aiden Cline
78ca49a1bc
test: fix bedrock test (#23351) 2026-04-18 17:46:15 -05:00
Kit Langton
68834cfcc3
fix(opencode): normalize provider metadata and tag otel runs (#23140) 2026-04-17 15:22:08 -04: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
Aiden Cline
c5deeee8c7
fix: ensure azure has store = true by default (#22764) 2026-04-16 12:19:01 -05: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
Kit Langton
6b20838981
feat: unwrap provider namespaces to flat exports + barrel (#22760) 2026-04-16 05:02:50 +00:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04: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
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
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
Kit Langton
fe01fa7249
remove makeRuntime facade from Env (#22523) 2026-04-15 10:55:50 -04:00
Kit Langton
a2cb4909da
refactor(plugin): remove async facade exports (#22367) 2026-04-13 21:24:20 -04:00
Kit Langton
663e798e76
refactor(provider): remove async facade exports (#22320) 2026-04-13 12:40:00 -04:00
Kit Langton
321bf1f8e1
refactor: finish small effect service adoption cleanups (#22094) 2026-04-13 09:17:13 -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
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
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
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
c33d9996f0
feat: AI SDK v6 support (#18433) 2026-03-27 15:24:30 -05: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
Protocol Zero
cc818f8032
fix(provider): only set thinkingConfig for models with reasoning capability (#18283) 2026-03-21 11:57:52 -05: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]
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
Kit Langton
469c3a4204
refactor(instance): move scoped services to LayerMap (#17544) 2026-03-16 12:55:14 -04: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
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
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
Shoubhit Dash
7e3e85ba59
fix(opencode): avoid gemini combiner schema sibling injection (#15318) 2026-03-03 10:11:05 +05:30
Ryan Skidmore
96d6fb78da
fix(provider): forward metadata options to cloudflare-ai-gateway provider (#15619) 2026-03-02 22:53:03 -05: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
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
02a9495063
Remove use of Bun.file (#14215) 2026-02-19 11:32:32 -05: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
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