Repository navigation
Commit 2091b86
committed
chore: merge OpenCode v1.18.23-sscity
Upstream v1.18.22 (47b6b6f, merged at 2686e4c) -> v1.18.23 (ef2880f),
13 commits / 46 files. Upstream superseded the v1.18.22 release commit with
55f9841 (sync release versions for v1.18.22) in the v1.18.23 lineage; merge
base is 2a6be0a (chore: generate), effective input identical to the audited
13-commit range.
Functional changes:
- fix(provider): route non-native Cloudflare AI Gateway providers via the
REST API (anomalyco#44828) — adopted onto fork provider.ts; the custom cloudflare
loader region was untouched by the fork snapshot architecture, so the
change auto-merged. Third-party models (google, xai, deepseek, ...) now
point an OpenAI-compatible client at the Cloudflare REST endpoint
(api.cloudflare.com/client/v4/accounts/<id>/ai/v1) bound with
cf-aig-gateway-id, keeping requests gateway-routed; Workers AI keeps the
unified compat route with the Cloudflare token as upstream Authorization.
- fix(provider): send Anthropic's dashed native slug through the AI Gateway
(anomalyco#44281) — anthropic/<id> models translate dotted versions to dashes
(claude-haiku-4.5 -> claude-haiku-4-5) before the native Messages
passthrough; OpenAI dotted ids untouched.
- fix(opencode): send parent session header (anomalyco#44752) — x-parent-session-id
moved to the provider-independent header level so opencode providers also
send it; session routing headers (x-session-affinity/X-Session-Id) and
opencode x-opencode-* headers unchanged.
- fix(github): support immutable OIDC subjects (anomalyco#44776) — token exchange
reads the repository claim via new parseRepositoryClaim
(packages/function/src/github.ts + 5 tests) instead of parsing the
subject, so immutable subjects (repo:owner@id/repo@id) resolve;
exchange failures return 502 with context; github.handler.ts guards
error reporting behind GitHub client readiness and reports raw text on
token-exchange failure.
- console: zen inference header lifecycle ($client replacement, keep
x-opencode-* headers on new inference), requestBody nested-model parsing
+ tests, revert of the first-month-50 coupon delay, legal/prompt-data
docs; docs(github.mdx) action token configuration.
Conflicts resolved: 29 package.json version bumps (rebranded 1.18.23-sscity),
bun.lock (took upstream, rebranded workspace entries via bun install).
provider.ts and request.ts auto-merged; provider.ts verified to differ from
pre-merge fork HEAD only by the Cloudflare changes — fork snapshot /
small-model-chain / session-pinning / GLM architecture untouched.
packages/function/package.json adopted upstream's new "test" script, wiring
the new github tests into turbo alongside the new @opencode-ai/function#test
task. Tests from both sides kept: provider 105, transform 437, retry 68,
run-process 15, session llm 30 (incl. new parent session header test),
cf-ai-gateway-e2e 13 (incl. dashed-slug and REST-route assertions), function
github 5 (new), console requestBody 6 all pass; typecheck 30/30.46 files changed
Lines changed: 374 additions & 130 deletions
File tree
- packages
- app
- cli
- codemode
- console
- app
- src/routes
- legal
- privacy-policy
- terms-of-service
- zen/util
- test
- core
- src
- function
- mail
- support
- core
- desktop
- effect-drizzle-sqlite
- effect-sqlite-node
- enterprise
- function
- src
- test
- http-recorder
- llm
- opencode
- src
- cli/cmd
- provider
- session/llm
- test
- provider
- session
- plugin
- sdk/js
- server
- session-ui
- slack
- stats
- app
- core
- server
- tui
- ui
- web
- src/content/docs
- sdks/vscode
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 240 | + | |
| 241 | + | |
243 | 242 | | |
244 | 243 | | |
245 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
225 | 226 | | |
226 | 227 | | |
227 | 228 | | |
| |||
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
0 commit comments