From ed208a4799254bd487e1fd75d1d37fee244edc7d Mon Sep 17 00:00:00 2001 From: Dax Date: Thu, 12 Feb 2026 04:40:51 -0500 Subject: [PATCH] Change USER_AGENT prefix from 'opencode' to 'kilo' (#260) * Change USER_AGENT prefix from 'opencode' to 'kilo' * fix: use KILO_VERSION/KILO_CHANNEL globals and add kilocode_change marker --------- Co-authored-by: Marius --- packages/opencode/src/installation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts index 196d09d7687..862fed23d7a 100644 --- a/packages/opencode/src/installation/index.ts +++ b/packages/opencode/src/installation/index.ts @@ -192,7 +192,7 @@ export namespace Installation { export const VERSION = typeof KILO_VERSION === "string" ? KILO_VERSION : "local" export const CHANNEL = typeof KILO_CHANNEL === "string" ? KILO_CHANNEL : "local" - export const USER_AGENT = `opencode/${CHANNEL}/${VERSION}/${Flag.KILO_CLIENT}` + export const USER_AGENT = `kilo/${CHANNEL}/${VERSION}/${Flag.KILO_CLIENT}` // kilocode_change export async function latest(installMethod?: Method) { const detectedMethod = installMethod || (await method())