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

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.
This commit is contained in:
TiaraBasori committed 2026-10-18 21:21:40 +08:00
1 parent 83d623d541
commit b0a6584825
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@
}
},
"shell": {
"description": "Execute a shell command and return its output. Commands run on Windows using powershell. Quote file paths containing spaces or special characters. Prefer dedicated tools over shell commands when possible. When output is large, the full result is saved to a file and a truncated preview is returned. Rely on automatic truncation unless filtering the output is more useful. Commands accept an optional timeout, background commands have no timeout by default. Background commands return immediately, and you will be notified when they complete.",
"description": "Execute a shell command and return its output. Commands run on Linux using bash. Quote file paths containing spaces or special characters. Prefer dedicated tools over shell commands when possible. When output is large, the full result is saved to a file and a truncated preview is returned. Rely on automatic truncation unless filtering the output is more useful. Commands accept an optional timeout, background commands have no timeout by default. Background commands return immediately, and you will be notified when they complete.",
"parameters": {
"additionalProperties": false,
"properties": {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// /inference lane. Upstream accepts a range of releases (the version number
// itself is not validated), so this only needs bumping when it starts rejecting
// older ones.
const clientVersion = "2.0.29"
const clientVersion = "2.0.32"
// legacyClientVersion is the pre-2.x OpenCode release reported on the legacy
// /zen/v1 lane, matching the v1.3.7 User-Agent shape.