From 59afce67e8155a50061a5c1d50277cf43f50efca Mon Sep 17 00:00:00 2001 From: Sage Date: Wed, 8 Apr 2026 10:13:25 +0000 Subject: [PATCH 1/2] Add OpenCode CC fix --- modules/home/terminal/opencode/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/terminal/opencode/default.nix b/modules/home/terminal/opencode/default.nix index d3dc9ff..afd10a5 100644 --- a/modules/home/terminal/opencode/default.nix +++ b/modules/home/terminal/opencode/default.nix @@ -21,6 +21,12 @@ settings = { "plugin" = ["opencode-gemini-auth" "opencode-anthropic-oauth"]; + "mode" = { + "build" = { + "prompt" = "You are Claude Code, Anthropic's official CLI for Claude."; + }; + }; + "permission" = { "bash" = { "*" = "ask"; From bea3cd2b9ed9ba0710fccbc0c7e39811b373c041 Mon Sep 17 00:00:00 2001 From: Sage Date: Wed, 8 Apr 2026 10:25:14 +0000 Subject: [PATCH 2/2] Add plan --- modules/home/terminal/opencode/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/terminal/opencode/default.nix b/modules/home/terminal/opencode/default.nix index afd10a5..b1e928f 100644 --- a/modules/home/terminal/opencode/default.nix +++ b/modules/home/terminal/opencode/default.nix @@ -25,6 +25,9 @@ "build" = { "prompt" = "You are Claude Code, Anthropic's official CLI for Claude."; }; + "plan" = { + "prompt" = "You are Claude Code, Anthropic's official CLI for Claude."; + }; }; "permission" = {