Willie
7a4103b9a8
refactor(extras): validate every mode change and share special extra names
...
cmdExtrasMode only ran ValidateExtraConfig behind a growing list of
conditions, so each new restriction needed another clause. For a plain
folder extra the full check adds only the mode-name and flatten+symlink
rules, which sync already rejects, so validating unconditionally cannot
refuse a config that syncs today.
The agents and memory extra names were string literals in sync, the
server handlers, the memory store, and the CLI. They now live in
internal/config, and the rename guard moves to ValidateExtraRename so a
future CLI rename reuses it instead of copying the check.
Refs #489
2026-10-08 16:08:03 +08:00
..
2026-10-06 09:40:50 +08:00
2026-10-01 21:23:30 +08:00
2026-10-06 09:40:50 +08:00
2026-10-05 15:51:40 +08:00
2026-09-29 05:03:49 +08:00
2026-10-06 14:18:20 +08:00
2026-06-29 10:30:11 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-03-26 19:20:52 +08:00
2026-09-21 04:17:26 +08:00
2026-10-08 14:26:41 +08:00
2026-03-29 04:59:23 +08:00
2026-10-05 20:46:45 +08:00
2026-09-26 21:02:28 +08:00
2026-10-07 21:23:26 +08:00
2026-10-07 21:35:05 +08:00
2026-10-06 21:36:04 +08:00
2026-05-30 19:23:12 +08:00
2026-10-07 00:37:40 +08:00
2026-10-07 00:43:13 +08:00
2026-10-07 00:43:13 +08:00
2026-09-28 19:23:16 +08:00
2026-09-28 19:23:16 +08:00
2026-10-07 00:43:13 +08:00
2026-10-08 15:52:47 +08:00
2026-10-08 15:52:47 +08:00
2026-10-01 21:23:30 +08:00
2026-09-28 14:27:53 +08:00
2026-10-07 00:04:00 +08:00
2026-09-30 02:05:34 +08:00
2026-10-08 16:08:03 +08:00
2026-10-08 15:31:51 +08:00
2026-10-08 15:31:51 +08:00
2026-10-06 09:40:50 +08:00
2026-10-06 00:32:38 +08:00
2026-06-29 10:30:11 +08:00
2026-10-05 15:51:40 +08:00
2026-10-04 19:49:29 +08:00
2026-10-06 14:18:16 +08:00
2026-10-02 16:24:03 +08:00
2026-10-08 14:48:29 +08:00
2026-10-05 14:45:58 +08:00
2026-10-07 13:07:25 +08:00
2026-10-07 13:07:25 +08:00
2026-10-03 21:43:35 +08:00
2026-03-26 19:20:52 +08:00
2026-06-14 13:44:36 +08:00
2026-06-14 13:37:24 +08:00
2026-02-26 22:27:23 +08:00
2026-10-04 19:49:29 +08:00
2026-10-06 09:40:50 +08:00
2026-03-29 04:59:23 +08:00
2026-10-05 14:45:58 +08:00
2026-10-06 09:40:50 +08:00
2026-10-05 14:45:58 +08:00
2026-10-08 14:59:59 +08:00
2026-10-08 14:59:59 +08:00
2026-09-29 05:13:06 +08:00
2026-09-29 05:13:06 +08:00
2026-09-25 22:26:51 +08:00
2026-04-07 17:26:37 +08:00
2026-10-06 00:32:38 +08:00
2026-10-06 00:32:38 +08:00
2026-10-06 09:40:50 +08:00
2026-10-08 14:26:41 +08:00
2026-10-08 14:26:41 +08:00
2026-04-01 00:32:49 +08:00
2026-10-08 14:26:41 +08:00