mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
- serverRuntime injects CLAUDE_CODE_POWERSHELL_PATH from the user's chosen shell (readDesktopTerminalConfig + resolveDesktopTerminalShell) on Windows, so the agent PowerShellTool honors the same shell as the UI terminal. Best-effort: never blocks startup, never overrides an explicit env var, only forwards pwsh/powershell selections (not cmd/custom). Regression from the Tauri build. - document that notificationPermissionState reflects OS capability, not macOS authorization (no Electron API exists; the 'failed' lifecycle is the real signal) instead of calling the non-existent systemPreferences.getNotificationSettings Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>