From bb09708c024f89e7d13fd7f840151a8431bc4f8c Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:44:25 +0800 Subject: [PATCH] fix(config): add codex instructions enabled change to config change details --- internal/watcher/diff/config_diff.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/watcher/diff/config_diff.go b/internal/watcher/diff/config_diff.go index 2620f4ee..867c04b7 100644 --- a/internal/watcher/diff/config_diff.go +++ b/internal/watcher/diff/config_diff.go @@ -57,6 +57,9 @@ func BuildConfigChangeDetails(oldCfg, newCfg *config.Config) []string { if oldCfg.NonStreamKeepAliveInterval != newCfg.NonStreamKeepAliveInterval { changes = append(changes, fmt.Sprintf("nonstream-keepalive-interval: %d -> %d", oldCfg.NonStreamKeepAliveInterval, newCfg.NonStreamKeepAliveInterval)) } + if oldCfg.CodexInstructionsEnabled != newCfg.CodexInstructionsEnabled { + changes = append(changes, fmt.Sprintf("codex-instructions-enabled: %t -> %t", oldCfg.CodexInstructionsEnabled, newCfg.CodexInstructionsEnabled)) + } // Quota-exceeded behavior if oldCfg.QuotaExceeded.SwitchProject != newCfg.QuotaExceeded.SwitchProject {