MCPcopy 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

39export type Info = Schema.Schema.Type<typeof Info>
40
41export function userAgent(client = "cli") {
42 return `opencode/${InstallationChannel}/${InstallationVersion}/${client}`
43}
44
45export const USER_AGENT = userAgent()
46

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected