Shoubhit Dash
ba9a195ae4
refactor(flags): route installation client through runtime flags ( #27369 )
2026-05-14 00:10:31 +05:30
Aiden Cline
b12d8d28fc
feat: update pricing schema for models to ensure more accurate cost tracking ( #27184 )
2026-05-12 20:44:06 -05:00
opencode-agent[bot]
04bc012c17
chore: generate
2026-05-12 16:33:06 +00:00
Aiden Cline
e4b6efc3eb
fix: annotate Effect log metadata ( #27093 )
2026-05-12 11:31:18 -05:00
Kit Langton
de617e9071
refactor(provider): share model status schema ( #26595 )
...
Co-authored-by: Developer <temp@example.com >
2026-05-09 19:20:31 -04:00
Kit Langton
8fa8f7af30
fix(config): allow active provider model status ( #26592 )
...
Co-authored-by: Developer <temp@example.com >
2026-05-09 18:59:05 -04:00
Kit Langton
ba978dfe98
refactor(cli): drop ModelsDev Promise compat shim ( #25460 )
2026-05-02 15:11:01 -04:00
opencode-agent[bot]
173141c3d1
chore: generate
2026-05-02 18:00:11 +00:00
Kit Langton
49bd02e4e7
feat(models): effectify ModelsDev as Service ( #25434 )
2026-05-02 13:59:08 -04:00
Kit Langton
584064d2c9
Prepare Effect HttpApi backend parity ( #24853 )
2026-04-29 09:34:50 -04:00
Dax
07ac891a99
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -04: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
Dax Raad
6bc94f94b1
core: consolidate shared infrastructure into core package
...
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.
All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax
1865f4fc5f
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Kit Langton
4ac91231ec
refactor(provider): migrate provider domain to Effect Schema ( #24027 )
2026-04-23 13:17:33 -04:00
Kit Langton
8a117354fd
feat: unwrap provider namespaces to flat exports + barrel ( #22760 )
2026-04-16 05:02:50 +00:00
Kit Langton
949ac8ed15
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
publish-github-action / publish (push) Has been cancelled
2026-04-15 23:27:32 -04:00
Kit Langton
d2ec847f0c
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Dax
4be9af983d
migrate: move flock and hash utilities to shared package ( #22640 )
2026-04-15 15:50:24 +00: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
Aiden Cline
802a7905ec
tweak: separate ModelsDev.Model and Config model schemas ( #21561 )
2026-04-08 15:55:14 -05:00
Luke Parker
4c8045066d
fix: call models.dev once instead of twice on start ( #20765 )
2026-04-03 11:26:53 +10:00
Aiden Cline
ca0014e54e
ignore: fix typecheck in dev ( #20702 )
2026-04-02 15:38:30 +00:00
Aiden Cline
7cc1b528e8
refactor: split up models.dev and config model definitions to prevent coupling ( #20605 )
2026-04-02 10:00:43 -05:00
Kit Langton
57bc933abd
fix(opencode): skip typechecking generated models snapshot ( #19018 )
2026-03-24 19:11:45 -04:00
Dax
019134be58
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Dax Raad
1567fa548c
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Dax
80dc0b3d38
refactor: migrate src/provider/models.ts from Bun.file()/Bun.write() to Filesystem module ( #14131 )
2026-02-18 17:26:13 -05:00
Caleb Norton
fe3cf3fb4e
fix: don't fetch models.dev on completion ( #13997 )
2026-02-17 10:41:03 -06:00
Dax Raad
3c66ef216f
core: allow model configurations without npm/api provider details
...
Makes npm and api fields optional in the provider schema so model definitions
can be more flexible when provider package details aren't needed.
2026-02-12 09:26:28 -05:00
Dax Raad
10f9176a93
support custom api url per model
2026-02-11 23:10:47 -05:00
Dax Raad
e50d530613
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
Dax Raad
42c80d47f0
core: ensure models configuration is not empty before loading
2026-01-31 00:57:17 -05:00
Aiden Cline
cb034dc28c
rm log statement
2026-01-25 12:44:17 -05:00
Dax Raad
05cf87fd8c
tests
2026-01-24 14:16:46 -05:00
Dax Raad
04af783c63
sync
2026-01-24 14:14:17 -05:00
Dax Raad
9920190f6b
core: fix models snapshot loading to prevent caching issues
2026-01-24 14:06:07 -05:00
Dax Raad
e47a14fd43
get rid of models.dev macro
2026-01-24 12:27:13 -05:00
Bart Broere
bddd609991
feat: Make the models.dev domain configurable for offline environments ( #9258 )
2026-01-21 11:23:07 -06:00
Adam
e3221ddb69
fix(core): loading models.dev in dev
2026-01-15 13:33:48 -06:00
Brandon Smith
e8f542c963
fix(opencode): add input limit for compaction ( #8465 )
2026-01-15 01:35:16 -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
Frank
e3eac0f1fe
Revert "add client header"
...
This reverts commit 5eea2ac42b .
2025-12-18 11:21:22 -05:00
Frank
5eea2ac42b
add client header
2025-12-18 10:33:25 -05:00
Dax Raad
712c8e9c40
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
Dax Raad
d1f87dd45e
add models.dev family
2025-12-10 14:30:28 -05:00
Aiden Cline
b9ad1b09cb
better interleaved thinking support ( #5298 )
2025-12-09 16:32:12 -06: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
Frank
45c046fcfb
fix: incorrect sonnet price calculation
2025-11-14 18:46:43 -05:00
Aiden Cline
0dd2fd09ae
tweak: filter out deprecated models
2025-10-31 10:48:51 -05:00