PabloGNU
5e904080f4
fix: Auth.get fallback chain for profile keys
...
When looking up auth credentials:
- If profile key exists (e.g., 'minimax-coding-plan:personal'), use it
- If profile key doesn't exist but base provider does (e.g., 'minimax-coding-plan'), use that as fallback
This fixes the issue where build mode (no profile) wouldn't work when only 'minimax-coding-plan:personal' existed in auth.json.
Also removes normalizeKey usage from Auth.get - the fallback logic is now inline and clearer.
2026-04-07 16:03:10 +02:00
PabloGNU
15e104bca8
fix: parse composite auth keys correctly in provider list and load apikeys
...
providers.ts:
- Use lastIndexOf + slice instead of split(':') for profile parsing
provider.ts:
- Extract base provider ID from composite auth keys (e.g., 'minimax-coding-plan:personal' → 'minimax-coding-plan')
- This fixes the issue where providers weren't recognized when using profile-based auth keys
2026-04-07 15:40:52 +02:00
PabloGNU
2748cf9585
fix: propagate authProfile through message chain to Auth.get
...
- message-v2.ts: add authProfile to User.model schema
- prompt.ts: copy authProfile from model to userMsg.model
- lllm.ts: build auth key with profile when calling Auth.get()
- acp/types.ts: add authProfile to ACPSessionState.model
- acp/agent.ts: propagate authProfile in setModel call
This fixes the bug where embedded profiles (e.g., 'minimax-coding-plan:personal')
were lost when creating user messages and never reached Auth.get().
2026-04-07 15:20:13 +02:00
PabloGNU
cf0c0cee25
feat(ui): show auth profile in status bar
...
- currentProviderLabel now shows profile suffix when active
- parsed() now returns profile from model state
- isModelValid accepts authProfile optional field
- model.set includes authProfile when updating
- agent model change effect includes authProfile
2026-04-07 15:05:07 +02:00
PabloGNU
4a17c7e143
feat(auth): support embedded profile in model ID
...
- parseModel extracts authProfile from providerID if contains ':'
- Profile embedded in model string has highest priority
- Precedence: embedded > config authProfile > env var > default
- Auth.get supports direct lookup of provider:profile keys
- Agent.Info model supports optional authProfile field
2026-04-07 14:08:56 +02:00
PabloGNU
153198061d
feat(auth): add multi-profile support per provider
...
- Add composite key storage (providerID:profileName)
- Implement profile resolution: config authProfile > env var > default
- CLI login: prompt profile name before auth method
- CLI logout: show profile list after provider selection
- Add profile validation (max 20 chars, alphanum + hyphen + underscore)
- Add --profile flag to login/logout commands
- Maintain backward compat via virtual alias for bare keys
- Add authProfile field to Provider.options schema
2026-04-07 13:31:57 +02:00
gitpush-gitpaid
3c96bf8468
feat(opencode): Add PDF attachment Drag and Drop ( #16926 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-07 04:39:59 +00:00
opencode-agent[bot]
3ea6413407
chore: update nix node_modules hashes
2026-04-07 04:38:49 +00:00
Aiden Cline
885df8eb54
feat: add --dangerously-skip-permissions flag to opencode run ( #21266 )
2026-04-06 23:30:05 -05:00
Frank
f4975ef32a
go: add mimo
2026-04-07 00:16:34 -04:00
James Long
37883a9f3a
refactor(core): add full http proxy and change workspace adaptor interface ( #21239 )
2026-04-06 23:19:55 -04:00
Aiden Cline
3c31d04666
chore: bump anthropic ai sdk pkg, delete patch ( #21247 )
2026-04-06 20:28:32 -05:00
opencode-agent[bot]
e64548fb4d
chore: update nix node_modules hashes
2026-04-07 00:30:30 +00:00
Aiden Cline
31f6f43cfc
chore: remove ai-sdk/provider-utils patch and update pkg ( #21245 )
2026-04-06 23:53:27 +00:00
opencode-agent[bot]
090ad8290e
chore: update nix node_modules hashes
2026-04-06 23:42:39 +00:00
Aiden Cline
d1258ac19c
fix: bump openrouter ai sdk pkg to fix openrouter issues ( #21242 )
2026-04-06 17:56:11 -05:00
Aiden Cline
48c1b6b338
tweak: move the max token exclusions to plugins @rekram1-node ( #21225 )
2026-04-06 17:43:58 -05:00
Aiden Cline
40e4cd27a1
tweak: adjust chat.params hook to allow altering of the maxOutputTokens ( #21220 )
2026-04-06 18:13:30 +00:00
Aiden Cline
5a6d10cd53
tweak: ensure copilot anthropic models have same reasoning effort model as copilot cli, also fix qwen incorrectly having variants ( #21212 )
2026-04-06 18:12:43 +00:00
opencode-agent[bot]
527b51477d
chore: update nix node_modules hashes
2026-04-06 18:08:04 +00:00
Dax
535343bf56
refactor(server): replace Bun serve with Hono node adapters ( #18335 )
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-04-06 13:24:55 -04:00
Sebastian
4394e42615
upgrade opentui to 0.1.97 ( #21137 )
2026-04-06 18:42:05 +02:00
Dax
2e4c43c1cf
refactor: replace Bun.serve with Node http.createServer in OAuth handlers ( #18327 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-04-06 12:17:29 -04:00
MC
965c751522
docs: update Cloudflare provider setup to reflect /connect prompt flow ( #20589 )
2026-04-06 10:50:24 -05:00
opencode-agent[bot]
24bdd3c9fb
chore: generate
2026-04-06 13:51:36 +00:00
Derek Barrera
01f0319192
fix(lsp): MEMORY LEAK: ensure typescript server uses native project config ( #19953 )
2026-04-06 09:50:36 -04:00
opencode
517e6c9aa4
release: v1.3.17
2026-04-06 07:39:18 +00:00
Luke Parker
a4a9ea4ab0
fix(tui): revert kitty keyboard events workaround on windows ( #20180 )
2026-04-06 07:04:50 +00:00
MC
eaa272ef7f
fix: show clear error when Cloudflare provider env vars are missing ( #20399 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-06 05:26:04 +00:00
Frank
70b636a360
zen: normalize ipv6
2026-04-06 00:32:55 -04:00
Frank
a8fd0159be
zen: remove header check
2026-04-05 23:51:37 -04:00
opencode
342436dfc4
release: v1.3.16
2026-04-06 03:44:46 +00:00
Luke Parker
77a462c930
fix(tui): default Ctrl+Z to undo on Windows ( #21138 )
2026-04-06 02:38:35 +00:00
Corné Steenhuis
9965d385de
fix: pass both 'openai' and 'azure' providerOptions keys for @ai-sdk/azure ( #20272 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-06 02:34:53 +00:00
George Harker
f0f1e51c5c
fix(core): implement proper configOptions for acp ( #21134 )
2026-04-05 21:29:34 -05:00
Gautier DI FOLCO
4712c18a58
feat(tui): make the mouse disablable ( #6824 , #7926 ) ( #13748 )
2026-04-05 21:14:11 -05:00
opencode-agent[bot]
9e156ea168
chore: update nix node_modules hashes
2026-04-06 01:18:03 +00:00
Luke Parker
68f4aa220e
fix(plugin): parse package specifiers with npm-package-arg and sanitize win32 cache paths ( #21135 )
2026-04-06 00:26:40 +00:00
Aiden Cline
3a0e00dd7f
tweak: add newline between <content> and first line of read tool output to prevent confusion ( #21070 )
2026-04-05 04:55:22 +00:00
Frank
66b4e5e020
doc: udpate doc
2026-04-05 00:35:40 -04:00
Aiden Cline
8b8d4fa066
test: add regression test for double counting bug ( #21053 )
2026-04-04 16:40:28 -07:00
opencode-agent[bot]
6253ef0c27
chore: generate
2026-04-04 23:26:37 +00:00
Kit Langton
c6ebc7ff7c
fix(tui): only show org switch affordances when useful ( #21054 )
2026-04-04 19:25:37 -04:00
opencode-agent[bot]
985663620f
chore: generate
2026-04-04 23:07:01 +00:00
Kit Langton
c796b9a19e
refactor(effect): move read tool onto defineEffect ( #21016 )
2026-04-04 19:06:00 -04:00
Kit Langton
6ea108a03b
feat(tui): show console-managed providers ( #20956 )
2026-04-04 19:05:45 -04:00
Aiden Cline
280eb16e77
fix: ensure reasoning tokens arent double counted when calculating usage ( #21047 )
2026-04-04 15:29:53 -07:00
opencode
930e94a3ea
release: v1.3.15
2026-04-04 20:54:20 +00:00
Dax
629e866ff0
fix(npm): Arborist reify fails on compiled binary — Bun pre-resolves node-gyp path at build time ( #21040 )
2026-04-04 16:27:20 -04:00
Yuxin Dong
c08fa5675f
refactor: remove redundant Kimi skill section ( #20393 )
...
Co-authored-by: dongyuxin <dongyuxin@dev.dongyuxin.msh-dev.svc.cluster.local>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-04 18:32:26 +00:00