Sebin Thomas and Claude Sonnet 4.6
bca26b0094
test(mcp): add McpOAuthProvider unit tests for scope and callbackPort
...
Covers:
- redirectUrl uses callbackPort when set, falls back to default 19876
- redirectUri takes precedence over callbackPort when both are set
- clientMetadata includes scope when set in config
- clientMetadata omits scope when not set (backward compat)
- token_endpoint_auth_method based on clientSecret presence
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-22 12:08:51 +02:00
Sebin Thomas and Claude Sonnet 4.6
e9ca7d292b
fix(mcp): include scope in clientMetadata and add callbackPort option
...
Two related OAuth issues with remote MCP servers:
1. `scope` config field was accepted but never propagated to
`clientMetadata`. The MCP SDK uses `clientMetadata.scope` as its
last-resort fallback when neither the WWW-Authenticate header nor
the Protected Resource Metadata (scopes_supported) advertise scopes.
For servers whose metadata returns no scopes (e.g. AWS Bedrock
AgentCore), the authorization request was sent with no scope
parameter, causing IdPs such as Okta to reject with
"No scopes were requested."
2. The callback port was hardcoded to 19876 with no way to override it
short of providing a full `redirectUri`. Added `callbackPort` as a
shorthand in the OAuth config — when set it constructs the redirect
URI as `http://127.0.0.1 :<callbackPort>/mcp/oauth/callback`.
`redirectUri` still takes precedence if both are provided.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com >
2026-05-22 11:58:19 +02:00
Brendan Allan and GitHub
76d9c2cd76
fix(app): debounce vcs refresh in session page ( #28784 )
2026-05-22 06:47:05 +00:00
Brendan Allan and GitHub
f6101aef8a
refactor(app): consolidate sdk and sync contexts ( #28782 )
2026-05-22 06:40:56 +00:00
Brendan Allan and GitHub
f3874ec2f9
refactor(app): move tab navigation to titlebar and conditionally register project shortcuts ( #28773 )
2026-05-22 13:54:25 +08:00
Brendan Allan and GitHub
6466fcfdea
refactor(app): simplify session routing and tab close handling ( #28767 )
2026-05-22 12:48:09 +08:00
Brendan Allan and GitHub
1f0390cfbb
app: wrap provider data in Map to avoid store ( #28765 )
2026-05-22 12:23:16 +08:00
opencode-agent[bot]
9f06accfb4
chore: generate
2026-05-22 04:04:41 +00:00
7a9724496b
fix(vertex): Vertex (Antropic) provider: use .rep.googleapis.com for continental multi-region endpoints (us, eu) ( #28347 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2026-05-21 23:03:24 -05:00
Aiden Cline and GitHub
3e931152d1
tweak(tui): remove italics from thinking labels ( #28737 )
2026-05-21 22:22:51 -05:00
Frank
ad1d14775d
sync
2026-05-21 19:11:33 -04:00
Frank
fcf4dff2ce
sync
2026-05-21 19:09:26 -04:00
Frank
56714327f4
sync
2026-05-21 19:02:24 -04:00
Frank
21f338652d
sync
2026-05-21 18:49:52 -04:00
Frank
8115f0c661
sync
2026-05-21 18:43:48 -04:00
opencode-agent[bot]
87d4cb07b0
chore: generate
2026-05-21 22:36:00 +00:00
James Long and GitHub
ee008923f3
feat(tui): design revamp of diff viewer ( #28728 )
2026-05-21 18:34:32 -04:00
Frank
bbbef0da1c
sync
2026-05-21 18:27:45 -04:00
Kit Langton and GitHub
e92c4fb460
chore: drop dead imports across opencode/core/llm ( #28720 )
2026-05-21 17:03:12 -04:00
4b496066bf
fix(opencode): update spinner color logic ( #28032 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2026-05-21 16:02:08 -05:00
Frank
e63dcd30f3
sync
2026-05-21 16:55:12 -04:00
Kit Langton and GitHub
2935d1819e
refactor(server): rename Fence.waitEffect to Fence.wait ( #28717 )
2026-05-21 20:48:15 +00:00
Kit Langton and GitHub
86907e2e4a
refactor(server): drop dead Fence.wait + redundant casts ( #28710 )
2026-05-21 16:35:44 -04:00
Frank
31d2d38d7a
sync
2026-05-21 16:20:33 -04:00
Frank
d21477d55a
sync
2026-05-21 16:11:41 -04:00
Kit Langton and GitHub
b99787e95b
refactor(opencode): fetch remote config with http client ( #28661 )
2026-05-21 15:53:44 -04:00
Frank
562d299a41
sync
2026-05-21 15:46:54 -04:00
opencode-agent[bot]
9ecb04e35b
chore: generate
2026-05-21 19:19:25 +00:00
Kit Langton and GitHub
231689c767
test(config): port env-var config tests to it.instance ( #28706 )
2026-05-21 19:17:29 +00:00
Frank
d70942079a
sync
2026-05-21 15:06:10 -04:00
Frank
0cc55c11ac
sync
2026-05-21 14:53:56 -04:00
Kit Langton and GitHub
40da77e77c
test(opencode): cover native reasoning continuation ( #28683 )
2026-05-21 14:50:37 -04:00
Frank
0d2de7db65
sync
2026-05-21 14:25:43 -04:00
Frank
a568f616c9
sync
2026-05-21 13:55:31 -04:00
opencode-agent[bot]
7e35cff4f5
chore: generate
2026-05-21 17:25:26 +00:00
Shoubhit Dash and GitHub
82b796ce31
fix(httpapi): return session busy error bodies ( #28684 )
2026-05-21 22:53:49 +05:30
Vladimir Glafirov and GitHub
6c24062d2f
chore(deps): bump gitlab-ai-provider to 6.7.0 ( #28218 )
2026-05-21 12:12:39 -05:00
opencode-agent[bot]
3ca09ee3ef
chore: generate
2026-05-21 16:50:49 +00:00
Kit Langton and GitHub
003f1ce0f4
test(control-plane): finish porting workspace.test.ts to it.instance ( #28665 )
2026-05-21 12:48:59 -04:00
Kit Langton and GitHub
61390dbb49
fix(llm): preserve native continuation metadata ( #28678 )
2026-05-21 11:57:45 -04:00
opencode
a58c3c53a9
sync release versions for v1.15.7
2026-05-21 15:51:26 +00:00
Victor Navarro and GitHub
75ce8feff5
chore: upgrade sst version ( #26224 )
2026-05-21 17:19:15 +02:00
opencode-agent[bot]
6bee6ee755
chore: generate
2026-05-21 11:01:36 +00:00
Shoubhit Dash and GitHub
9739d75892
fix(httpapi): handle corrupt v2 session messages ( #28633 )
2026-05-21 16:30:04 +05:30
opencode-agent[bot]
4a976482b1
chore: generate
2026-05-21 10:46:02 +00:00
Brendan Allan and GitHub
2caac055ef
feat(desktop): add pinch zoom setting ( #28632 )
2026-05-21 10:44:30 +00:00
Shoubhit Dash and GitHub
2697cb8001
fix(httpapi): remove config error middleware special case ( #28631 )
2026-05-21 15:57:25 +05:30
opencode-agent[bot]
dbd709376b
chore: generate
2026-05-21 10:15:54 +00:00
Shoubhit Dash and GitHub
fc08292136
fix(httpapi): add unknown error references ( #28629 )
2026-05-21 15:44:35 +05:30
Jack and GitHub
ee594ba55b
docs: sync TUI config translations and Zen pricing ( #28620 )
2026-05-21 18:03:22 +08:00