Commit Graph

36 Commits

Author SHA1 Message Date
Kit Langton 3aa50460d3 test(provider): migrate more config-backed cases (#27067) 2026-05-12 14:19:49 +00:00
Kit Langton 66b587884c test(provider): migrate config-backed cases to Effect runner (#26969) 2026-05-12 02:23:52 +00:00
Kit Langton be489206f6 Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
Kit Langton 6c85bbc7f0 Replace Instance.disposeAll/load with fixture helper (#25418) 2026-05-02 10:56:15 -04:00
Kit Langton 6a287d2fe6 Migrate test inits from Promise to Effect (#25377) 2026-05-02 09:07:59 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Aiden Cline 5a2f633db8 tweak: make interleaved reasoning_content default to true for openai compat deepseek setups (#24630) 2026-04-27 10:17:38 -05:00
Kit Langton 937a038cb9 test(provider): avoid plugin dependency install timeout (#24416) 2026-04-26 02:11:25 +00:00
Dax Raad 9031b8f108 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
Kit Langton b895e66465 fix(opencode): normalize provider metadata and tag otel runs (#23140) 2026-04-17 15:22:08 -04:00
Kit Langton 8a117354fd feat: unwrap provider namespaces to flat exports + barrel (#22760) 2026-04-16 05:02:50 +00:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton b047f7af36 feat: unwrap Provider namespace + improved automation script (#22690) 2026-04-15 21:44:46 -04:00
Kit Langton 9d69bc8ce9 remove makeRuntime facade from Env (#22523) 2026-04-15 10:55:50 -04:00
Kit Langton 0ece76a789 refactor(plugin): remove async facade exports (#22367) 2026-04-13 21:24:20 -04:00
Kit Langton 128c60aff0 refactor(provider): remove async facade exports (#22320) 2026-04-13 12:40:00 -04:00
Aiden Cline 3d794bdc24 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 81b73e789a 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 ae15341ffe chore: type Provider.list() as Record<ProviderID, Info>, delete dead code (#18123) 2026-03-18 19:43:12 -04:00
Kit Langton 82307f8a45 refactor(provider): flow branded ProviderID/ModelID through internal signatures (#17182) 2026-03-12 14:48:17 +00:00
Kit Langton 36aee4908f feat(id): brand ProviderID and ModelID (#17110) 2026-03-12 09:27:52 -04:00
James Long 01233eab2e fix(core): a chunk timeout when processing llm stream (#16366) 2026-03-10 11:12:14 -04:00
Ryan Skidmore 2bcf5e371c fix(provider): forward metadata options to cloudflare-ai-gateway provider (#15619) 2026-03-02 22:53:03 -05:00
Aiden Cline e31e36bfc0 fix: dont autoload kilo (#14052) 2026-02-17 18:42:18 -06:00
opencode-agent[bot] a21d6a3d5b chore: generate 2026-02-17 23:53:22 +00:00
RAMA d82e1bf458 feat: add Kilo as a native provider (#13765) 2026-02-17 17:52:21 -06:00
opencode-agent[bot] d21dab6a62 chore: generate 2026-02-16 08:32:34 +00:00
Jhin Lee b299880f49 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 61ca69317a 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
adamelmore fcb7685d9a fix(core): don't override source in custom provider loaders 2026-01-25 20:40:00 -06:00
Vladimir Glafirov 831fff0de6 fix: Add Plugin Mocks to Provider Tests (#8276) 2026-01-13 15:23:41 -06:00
Aiden Cline f5e84c3225 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 0eadf18120 ignore: add test for provider url case 2025-12-07 13:06:12 -06:00
Dax Raad 267cf11962 core: add test for custom model npm package inheritance 2025-12-04 16:30:54 -05:00
Dax 85d8825cb1 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 5c0dccdc6c 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