mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 06:16:37 +00:00
On Windows, path.join() produces backslash paths (C:\Users\.ccs\hooks\...) but detection used forward slashes, causing: - Failed hook detection on Windows - Duplicate hooks added on every CCS invocation Changes: - Normalize path separators (\ -> /) before matching - Add deduplicateCcsHooks() to auto-cleanup accumulated duplicates - Fix affects hasCcsHook(), isCcsWebSearchHook(), removeHookConfig()