Skip to content

chore(upstream): sync the /inference lane shape with OpenCode 2.0.32 - #126

Merged
jasonxu114514 merged 1 commit into
jasonxu114514:mainfrom
TiaraBasori:chore/opencode-2.0.32-shape
Oct 18, 2026
Merged

jasonxu114514 merged 1 commit into
jasonxu114514:mainfrom
TiaraBasori:chore/opencode-2.0.32-shape

Conversation

@TiaraBasori

Copy link
Copy Markdown
Contributor

Keeps the anonymous /inference lane fingerprint current with the CLI release the free tier actually sees.

  • internal/httpx/client.go: report opencode/latest/2.0.32/cli (was 2.0.29).
  • internal/gateway/opencode_tools.json: the shell description now matches the Linux client the gate fingerprints (bash, was the Windows powershell wording).

Verified by capturing the real CLI 2.0.32 request against a local sink and byte-comparing body.tools: all 12 tool names, schemas and the other 11 descriptions are identical to the embedded definitions; the two changes above are the only deltas vs the previous capture. The version string itself is not validated upstream, so this is a freshness sync rather than a behavior fix.

Report the current CLI release in the User-Agent and use the Linux shell tool description the client ships, so the anonymous fingerprint matches the release the free tier actually sees.
@jasonxu114514
jasonxu114514 merged commit cece86b into jasonxu114514:main Oct 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants