Sebin Thomas
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
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
76d9c2cd76
fix(app): debounce vcs refresh in session page ( #28784 )
2026-05-22 06:47:05 +00:00
Brendan Allan
f6101aef8a
refactor(app): consolidate sdk and sync contexts ( #28782 )
2026-05-22 06:40:56 +00:00
Brendan Allan
f3874ec2f9
refactor(app): move tab navigation to titlebar and conditionally register project shortcuts ( #28773 )
2026-05-22 13:54:25 +08:00
Brendan Allan
6466fcfdea
refactor(app): simplify session routing and tab close handling ( #28767 )
2026-05-22 12:48:09 +08:00
Brendan Allan
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
JPFrancoia
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
3e931152d1
tweak(tui): remove italics from thinking labels ( #28737 )
2026-05-21 22:22:51 -05:00
Frank
ad1d14775d
sync
generate / generate (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-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
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Waiting to run
test / e2e (windows) (push) Waiting to run
typecheck / typecheck (push) Waiting to run
deploy / deploy (push) Has been cancelled
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
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
Aiden Cline
1268f8657e
fix: exempt team members from compliance cleanup
2026-05-21 16:15:45 -05:00
Frank
39e7ff932d
sync
2026-05-21 17:03:54 -04:00
Kit Langton
e92c4fb460
chore: drop dead imports across opencode/core/llm ( #28720 )
2026-05-21 17:03:12 -04:00
OpeOginni
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
2935d1819e
refactor(server): rename Fence.waitEffect to Fence.wait ( #28717 )
2026-05-21 20:48:15 +00:00
Kit Langton
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
Frank
80fa6e6c49
sync
2026-05-21 16:02:56 -04:00
Kit Langton
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
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
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
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-15-intel, x86_64-darwin) (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[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-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
storybook / storybook build (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Waiting to run
test / e2e (windows) (push) Waiting to run
typecheck / typecheck (push) Waiting to run
containers / build (push) Has been cancelled
2026-05-21 14:53:56 -04:00
Kit Langton
40da77e77c
test(opencode): cover native reasoning continuation ( #28683 )
2026-05-21 14:50:37 -04:00
Frank
0d2de7db65
sync
deploy / deploy (push) Waiting to run
2026-05-21 14:25:43 -04:00
Frank
a568f616c9
sync
2026-05-21 13:55:31 -04:00
opencode-agent[bot]
e4957a78ea
chore: update nix node_modules hashes
2026-05-21 17:27:59 +00:00
opencode-agent[bot]
7e35cff4f5
chore: generate
2026-05-21 17:25:26 +00:00
Shoubhit Dash
82b796ce31
fix(httpapi): return session busy error bodies ( #28684 )
2026-05-21 22:53:49 +05:30
Vladimir Glafirov
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
003f1ce0f4
test(control-plane): finish porting workspace.test.ts to it.instance ( #28665 )
2026-05-21 12:48:59 -04:00
Kit Langton
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
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
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
2caac055ef
feat(desktop): add pinch zoom setting ( #28632 )
2026-05-21 10:44:30 +00:00