Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ userAgent
Function
userAgent
packages/opencode/src/installation/index.ts:41–43 ·
view source on GitHub ↗
(client = "cli")
Source
from the content-addressed store, hash-verified
39
export
type
Info = Schema.Schema.Type<typeof Info>
40
41
export
function
userAgent(client =
"cli"
) {
42
return
`opencode/${InstallationChannel}/${InstallationVersion}/${client}`
43
}
44
45
export
const
USER_AGENT = userAgent()
46
Callers
1
index.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected