Explorar el Código

fix: ensure OPENCODE_DISABLE_CLAUDE_CODE_PROMPT is respected for project lvl CLAUDE.md (#19924)

Aiden Cline hace 7 meses
padre
commit
afb6abff73
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/opencode/src/session/instruction.ts

+ 1 - 1
packages/opencode/src/session/instruction.ts

@@ -13,7 +13,7 @@ const log = Log.create({ service: "instruction" })
 
 const FILES = [
   "AGENTS.md",
-  "CLAUDE.md",
+  ...(Flag.OPENCODE_DISABLE_CLAUDE_CODE_PROMPT ? [] : ["CLAUDE.md"]),
   "CONTEXT.md", // deprecated
 ]