diff --git a/packages/opencode/src/session/system.ts b/packages/opencode/src/session/system.ts index 01ab642d09f..f41e8980b54 100644 --- a/packages/opencode/src/session/system.ts +++ b/packages/opencode/src/session/system.ts @@ -92,10 +92,12 @@ export const layer = Layer.effect( const skill = yield* Skill.Service return Service.of({ + // kilocode_change start environment: Effect.fn("SystemPrompt.environment")(function* ( model: Provider.Model, - editorContext?: EditorContext, // kilocode_change + editorContext?: EditorContext, ) { + // kilocode_change end const ctx = yield* InstanceState.context return [ [