Willie
92603f5be6
feat: add config save validation and sync safety checks
Validate config semantics (source path, sync modes, target paths) at
save time (API + CLI) instead of failing at sync time with cryptic
errors. Sync no longer auto-creates missing target directories — fails
fast to catch typos like ~/.cusor/skills. Dry-run also validates paths.
- ValidateConfig / ValidateProjectConfig with warnings + errors
- handlePutConfig returns 400 for invalid configs, 200 + warnings
- handleSync pre-checks via ValidateConfig
- ensureRealTargetDir shared helper (replaces duplicated blocks)
- UI: warning toast on config save, warning banners on sync/preview
- Dashboard shows full absolute source path
2026-03-18 22:35:02 +08:00
..
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-02 23:01:30 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 00:19:30 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 00:19:30 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-03 16:08:11 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 00:19:30 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 22:35:02 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-13 09:45:56 +08:00
2026-03-17 04:48:42 +08:00
2026-02-21 21:12:51 +08:00
2026-03-05 02:13:21 +08:00
2026-03-17 04:48:42 +08:00
2026-02-16 02:58:22 +08:00
2026-03-12 16:45:02 +08:00
2026-03-18 00:19:30 +08:00
2026-02-16 12:29:53 +08:00