Ryan Vogel
e86ed5d0e0
fix(core): limit provider packages from remote sources to known names
...
A provider's `package` from the Console config (new and legacy formats) and
from the models.dev catalog was used as written. Picking such a model made
OpenCode npm-install and import that package, so whoever controlled the
Console response or the catalog could run any code (npm, git, file or URL
spec) on every connected machine, contradicting the rule that a remote
config can never run commands.
Add Provider.remotePackage: a remote source may only name builtin
@opencode/ai/* packages, official @ai-sdk/* packages, or the third-party AI
SDK providers the catalog already routes through, by bare name (no version,
git, file, URL or path spec). ConfigIntegration.make and the legacy Console
transform drop any other provider or model package, so the provider falls
back to the package it would use without one. models-dev route() skips a
model whose package is not allowed. Local config files still name any
package.
Removed: a Console or catalog entry can no longer name an arbitrary npm
package; such models now use the provider's default package (Console) or are
left out (catalog).
Verified: bun typecheck (core), bun run check (root), models, provider-opencode,
config/provider, config/config, models-dev, provider, aisdk-native and gitlab
test files pass; new cases fail with the predicate disabled and the local
case fails when the predicate is applied to local config.
2026-10-26 14:42:48 -04:00
Aiden Cline
ba70b48588
fix(core): use Vertex multi-region hosts for eu and us ( #59335 )
2026-10-26 12:38:13 -05:00
Aiden Cline
be600a2eee
fix(core): accept a Databricks host that includes the scheme ( #59334 )
2026-10-26 12:37:57 -05:00
Aiden Cline
65096cd354
feat(core): read the models.dev catalog from the experimental v2 API ( #59296 )
2026-10-26 12:17:31 -05:00
Aiden Cline
1434464f7e
feat(plugin): filter event subscriptions by type ( #58864 )
2026-10-26 10:47:48 -05:00
Aiden Cline
d8607b6616
refactor(ai): replace wildcard exports with an explicit public API ( #59183 )
2026-10-26 09:37:24 -05:00
Luke Parker
be315b1db8
chore: merge beta into dev
...
Brings the desktop beta work into dev as a merge commit, so its history is kept.
Core, server and client changes from beta were backported to dev one PR at a time
first (#59081 to #59107 ).
Left out of this merge, so dev keeps its current behaviour:
- Generated UI, entirely: the plugin-genui package, its core registration and
publishing, the session-ui surfaces, charts, form replies and streaming tool
input, the app setting and its strings, tool-input delta publishing, and their
tests. It lands on dev later through its own pull request.
- The `ast-grep-ignore: no-star-import` comment in cross-spawn-spawner.ts,
which lint:effect-patterns still needs.
Notes:
- Dev-channel builds now use their own service-dev.json, port and
opencode-dev.db (#58331 ), so dev-build users start on a fresh database.
- #56550 (plugin instruction entries) and #57527 (untracked folder rows) come
in as on beta; follow-ups go to dev.
- Docs from beta are pointed at check-test.yml, after the workflow rename.
- #59132 's fix (settings toggles MCP servers in the session's location) is
ported onto beta's rewritten Extensions page, and #59131 's browser title test
joins beta's tab tests.
2026-10-26 13:56:31 +10:00
Luke Parker
4b83402a29
chore: merge dev into beta
2026-10-26 08:34:06 +10:00
Victor Navarro
a41d09bc78
feat(core): merge Console config as a config layer ( #57703 )
2026-10-25 11:04:41 +01:00
Aiden Cline
dad29a8991
refactor(ai): make Promise the root entry and move Effect to @opencode/ai/effect ( #58847 )
2026-10-24 22:18:23 -05:00
Kit Langton
6436011a52
refactor(core): resolve prompt hook model once per step ( #58601 )
2026-10-23 21:09:30 -07:00
Kit Langton
228d232e5f
fix(core): skip no-op Azure model transform updates ( #58600 )
2026-10-23 21:01:41 -07:00
Adam
df6fb9a460
fix(core): exclude realtime, embedding, and reranking models from the catalog ( #58458 )
2026-10-23 17:03:43 -05:00
Adam
8d95ef805b
chore(server): revert hosted GPT-Live on the connected OpenCode Console ( #58461 )
2026-10-23 16:31:29 -05:00
Aiden Cline
2a381f895a
feat(core): move ChatGPT context caps into a separate plugin ( #58194 )
2026-10-22 22:16:18 -05:00
Luke Parker
bcd713e2b7
chore: merge dev into beta
2026-10-23 09:41:06 +10:00
Aiden Cline
cdf1c200a6
fix(core): hide Codex models ChatGPT accounts reject ( #58180 )
2026-10-22 12:19:10 -05:00
Luke Parker
316a688fe9
chore: merge dev into beta
2026-10-22 08:46:18 +10:00
Adam
f7577a1f65
feat(server): start hosted GPT-Live on the connected OpenCode Console ( #57735 )
2026-10-21 09:55:15 -05:00
Kit Langton
6c74e11e95
feat(plugin): expose session instruction entries to plugins ( #56550 )
2026-10-20 22:58:50 -07:00
Dax
aadd4d8614
feat(core): add OPENCODE_DISABLE_FREE_MODELS to hide free models ( #57478 )
2026-10-20 22:18:42 -04:00
Dax
7d3752c14c
fix(core): send legacy console.opencode.ai credentials to opencode.ai/console ( #57588 )
2026-10-20 21:48:07 -04:00
Dax
c8e2e1e4fb
fix(core): reuse recent Console config checks for rejected inference ( #57465 )
2026-10-20 14:14:54 -04:00
Victor Navarro
e9ac459c2e
fix(core): build provider variants after package normalization ( #57075 )
2026-10-20 14:55:22 +02:00
Aiden Cline
acdcdb8dd9
refactor: v2.1 minor breaking changes ( #57260 )
2026-10-20 00:42:13 -05:00
Kit Langton
41016abf8c
fix(core): publish sdk.plugin.updated globally across locations ( #57181 )
2026-10-19 13:02:06 -07:00
opencode-agent[bot]
b154f6ac29
fix(core): stop polling DigitalOcean routers ( #57175 )
...
Co-authored-by: rekram1-node <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: mradwankhalil <293462981+mradwankhalil@users.noreply.github.com>
2026-10-19 14:44:49 -05:00
Aiden Cline
bc5fa1ccf3
feat(plugin): expose session list ( #56264 )
2026-10-17 00:07:26 -05:00
Victor Navarro
d889cb2044
feat(core): read model reasoning from config ( #55853 )
2026-10-16 13:36:18 +02:00
Filip
17229d24f5
chore(ci): speed up and stabilize the test workflow ( #55866 )
2026-10-16 00:35:49 +02:00
terry-an-investor
86755e1cea
fix(core): initialize MCP session for TinyFish web search ( #54730 )
...
Co-authored-by: Daniel Smolsky <dannysmo@gmail.com>
2026-10-15 17:06:05 +00:00
Aiden Cline
f576da508d
feat(core): stabilize top-level policies config ( #55297 )
2026-10-13 22:47:44 -05:00
Aiden Cline
6a7cedcbf1
feat(plugin): let plugins assert permissions ( #54930 )
2026-10-13 20:28:24 -05:00
Tommy D. Rossi
d78267503d
feat(plugin): expose credential.activate to server plugins ( #52797 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-12 23:29:22 -05:00
Aiden Cline
69a71426ce
feat(core): configure Anthropic cache breakpoints with compatibility.cacheFormat ( #54945 )
2026-10-12 20:23:14 -05:00
Aiden Cline
5673bfa4a8
feat(core): add request body encoding setting ( #54932 )
...
Co-authored-by: Emre Şafak <3928300+esafak@users.noreply.github.com>
2026-10-12 18:17:39 -05:00
Aiden Cline
1438073271
fix(plugin): return Promise tool throws as tool failures ( #54913 )
nix-eval / nix-eval (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
deploy-changelog / deploy (push) Has been cancelled
2026-10-12 15:37:34 -05:00
Filip
7bac892c73
fix(core): stop listing Azure resources at startup ( #54870 )
2026-10-12 17:03:58 +00:00
Aiden Cline
35ef229454
feat(core): raise ChatGPT OAuth context for gpt-6.1-sol to 500k ( #54668 )
2026-10-11 21:25:51 -05:00
Kit Langton
55dde8810d
feat(sdk): seed host plugins before recovery and harden workerd defaults ( #54219 )
check / typecheck (push) Waiting to run
deploy-files / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-09 17:07:51 -07:00
Aiden Cline
1a9e29a0b9
fix(core): route Copilot Gemini fallback to chat completions ( #54208 )
2026-10-09 17:20:14 -05:00
Kit Langton
1aae67e853
chore: upgrade Effect to rc.118 ( #50231 )
2026-10-09 01:36:06 -07:00
Shoubhit Dash
903ec2bb35
fix(core): disable effort updates for ChatGPT token sharing ( #54085 )
2026-10-09 12:52:13 +05:30
James Long
7d179e83f4
feat(core): move worktree tools into core ( #53981 )
2026-10-08 17:23:43 -04:00
Aiden Cline
2b9cd892ba
refactor(core): move provider env key exceptions into plugins ( #54005 )
2026-10-08 15:20:20 -05:00
Aiden Cline
5e73d5cb1f
feat(core): add Google Cloud credential setup for Vertex ( #53798 )
check / typecheck (push) Waiting to run
deploy-files / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-08 13:41:52 -05:00
Aiden Cline
93afa91904
fix(core): default Vertex location to global ( #53872 )
2026-10-08 00:42:08 -05:00
Kit Langton
c28e9ec311
fix(cli): give plugins the host's Effect ( #53422 )
2026-10-07 16:57:24 -07:00
Simon Klee
162bc6922b
test: stabilize asynchronous UI and plugin tests ( #53818 )
2026-10-07 22:01:55 +00:00
Filip
87a1ebcc97
feat(core): connect Azure through the Azure CLI as an external credential ( #53794 )
2026-10-07 23:10:18 +02:00