Default Claude Code integration to off

This commit is contained in:
Lawrence Chen 2026-02-20 15:10:48 -08:00
parent 573cec4a75
commit eb6caa5ce5
3 changed files with 47 additions and 3 deletions

View file

@ -1354,7 +1354,7 @@ final class TerminalSurface: Identifiable, ObservableObject {
env["CMUX_PORT_RANGE"] = String(Self.sessionPortRangeSize)
}
let claudeHooksEnabled = UserDefaults.standard.object(forKey: "claudeCodeHooksEnabled") as? Bool ?? true
let claudeHooksEnabled = ClaudeCodeIntegrationSettings.hooksEnabled()
if !claudeHooksEnabled {
env["CMUX_CLAUDE_HOOKS_DISABLED"] = "1"
}