configStore previously used hardcoded defaults when localStorage was
empty, ignoring backend config in ~/.claude/cli-tools.json. Added
onRehydrateStorage hook to fetch GET /api/cli/config and merge via
loadConfig(), added apiEndpoints to partialize list, and introduced
version 1 migration for backward compatibility.