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:
kirillk
2026-10-10 20:48:02 -04:00
parent 296b9de6e5
commit e868b0bbfd
+2 -2
View File
@@ -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, [