Willie
54ae7b04e2
fix(install): reject project-root self-install via web UI
...
The project-root self-install guard lived only in the CLI handler, so the
web UI could still copy the project root into its own .skillshare/skills/
subtree in project mode. Extract the check into a shared
install.RejectProjectRootLocalInstall and apply it in handleInstall and
handleInstallBatch, returning 400 with the same guidance.
Also restructure the rejection message into a cause line plus an
actionable "Run '...'" hint, matching the project's error convention.
2026-06-16 10:04:57 +08:00
..
2026-05-31 22:28:33 +08:00
2026-05-31 22:28:33 +08:00
2026-02-28 03:44:02 +08:00
2026-02-28 03:44:02 +08:00
2026-06-02 16:29:25 +08:00
2026-05-31 22:28:33 +08:00
2026-05-05 18:33:07 +08:00
2026-06-15 22:21:46 +08:00
2026-06-15 22:21:46 +08:00
2026-05-30 19:23:12 +08:00
2026-05-30 19:23:12 +08:00
2026-02-25 07:02:54 +08:00
2026-03-13 09:45:56 +08:00
2026-05-31 22:28:33 +08:00
2026-05-31 22:28:33 +08:00
2026-05-31 22:28:33 +08:00
2026-03-17 04:48:42 +08:00
2026-03-17 04:48:42 +08:00
2026-06-16 10:04:57 +08:00
2026-03-18 00:19:30 +08:00
2026-05-26 11:05:32 +08:00
2026-06-14 14:52:22 +08:00
2026-04-10 23:27:26 +08:00
2026-02-27 05:39:49 +08:00
2026-05-05 18:33:07 +08:00
2026-06-14 14:52:22 +08:00
2026-02-25 07:02:54 +08:00
2026-06-14 14:52:22 +08:00
2026-04-13 23:02:11 +08:00
2026-06-11 15:32:28 +08:00
2026-06-14 14:52:22 +08:00
2026-02-25 07:02:54 +08:00
2026-06-11 15:32:28 +08:00
2026-05-22 11:29:01 +08:00
2026-05-01 13:25:37 +08:00
2026-05-26 13:37:47 +08:00
2026-06-14 14:52:22 +08:00
2026-04-01 00:32:49 +08:00
2026-03-02 02:23:50 +08:00
2026-02-27 05:39:49 +08:00
2026-04-08 15:00:22 +08:00
2026-04-08 10:39:43 +08:00
2026-04-08 16:35:19 +08:00
2026-06-15 14:34:46 +08:00
2026-06-15 14:34:46 +08:00
2026-02-23 04:18:01 +08:00
2026-06-15 11:12:44 +08:00
2026-02-23 04:18:01 +08:00
2026-06-05 13:56:07 +08:00
2026-06-15 11:12:44 +08:00
2026-04-01 00:32:49 +08:00
2026-04-01 00:32:49 +08:00
2026-02-25 07:02:54 +08:00
2026-04-08 14:38:25 +08:00