diff options
| author | Aiden Cline <[email protected]> | 2026-03-29 12:59:16 -0500 |
|---|---|---|
| committer | opencode <[email protected]> | 2026-03-29 18:02:29 +0000 |
| commit | afb6abff73bdc1577f7388d8273e2eba69849e08 (patch) | |
| tree | b2761949ac17501c5b38556d6429f6f127342a14 | |
| parent | e7f94f9b9a3bd8742330e4a7ba8573ac21042c01 (diff) | |
| download | opencode-afb6abff73bdc1577f7388d8273e2eba69849e08.tar.gz opencode-afb6abff73bdc1577f7388d8273e2eba69849e08.zip | |
fix: ensure OPENCODE_DISABLE_CLAUDE_CODE_PROMPT is respected for project lvl CLAUDE.md (#19924)
| -rw-r--r-- | packages/opencode/src/session/instruction.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/session/instruction.ts b/packages/opencode/src/session/instruction.ts index 86f73d0fd..526e3f4b1 100644 --- a/packages/opencode/src/session/instruction.ts +++ b/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 ] |
