mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
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 <marius@kilocode.ai>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user