mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-16 14:48:30 +08:00
fix(cli): annotate the pinned test client on the changed line
The kilocode_change marker sat on the comment line above the statement, but check-opencode-annotations.ts only accepts an inline marker on the changed line itself or a line inside a start/end block, so CI reported the env pin in the shared agent test as an unannotated Kilo change.
This commit is contained in:
@@ -20,8 +20,8 @@ import { LocationServiceMap } from "@opencode-ai/core/location-services"
|
||||
import { InstanceBootstrap } from "../../src/project/bootstrap-service"
|
||||
import { InstanceBootstrap as InstanceBootstrapNode } from "../../src/project/bootstrap"
|
||||
|
||||
// kilocode_change - pin the client so client-keyed permission defaults (e.g. JetBrains `edit: ask`) stay deterministic
|
||||
process.env["KILO_CLIENT"] = "cli"
|
||||
// Pin the client so client-keyed permission defaults (e.g. JetBrains `edit: ask`) stay deterministic.
|
||||
process.env["KILO_CLIENT"] = "cli" // kilocode_change
|
||||
|
||||
const agentLayer = (flags: Partial<RuntimeFlags.Info> = {}) =>
|
||||
AppNodeBuilder.build(Agent.node, [
|
||||
|
||||
Reference in New Issue
Block a user