Willie
9abd9af71f
feat(server): add SetFrontmatterList utility + batch/single target endpoints
...
New utility: SetFrontmatterList() writes/removes YAML list fields
in SKILL.md frontmatter with dot-notation support (metadata.targets).
Normalizes legacy top-level targets field. Preserves body content.
New endpoints:
- POST /api/skills/batch/targets — set targets for all skills in folder
- PATCH /api/skills/{name}/targets — set target for single skill
Both use s.mu.Lock() for safe concurrent access.
Includes 15 unit tests covering set/remove/traverse/root-only/not-found.
Part of issue #115 .
2026-04-04 17:05:22 +08:00
..
2026-03-18 22:35:02 +08:00
2026-03-29 04:59:23 +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-29 04:59:23 +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-29 04:59:23 +08:00
2026-03-29 04:59:23 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-03-18 22:35:02 +08:00
2026-04-01 00:32:49 +08:00
2026-02-23 04:18:01 +08:00
2026-03-18 00:19:30 +08:00
2026-03-20 02:36:50 +08:00
2026-03-25 21:14:16 +08:00
2026-04-01 00:32:49 +08:00
2026-02-23 04:18:01 +08:00
2026-04-03 15:34:10 +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-04-01 00:32:49 +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-20 02:36:50 +08:00
2026-04-04 17:05:22 +08:00
2026-04-04 17:05:22 +08:00
2026-04-04 17:05:22 +08:00
2026-04-04 17:05:22 +08:00
2026-03-17 04:48:42 +08:00
2026-03-29 04:59:23 +08:00
2026-04-01 22:30:39 +08:00
2026-04-01 22:30:39 +08:00
2026-03-29 04:59:23 +08:00
2026-04-01 00:32:49 +08:00
2026-03-29 04:59:23 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-04-04 17:05:22 +08:00
2026-04-04 17:05:22 +08:00
2026-03-17 04:48:42 +08:00
2026-04-04 17:05:22 +08:00
2026-04-04 17:05:22 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-05 02:13:21 +08:00
2026-03-17 04:48:42 +08:00
2026-03-18 22:35:02 +08:00
2026-03-12 16:45:02 +08:00
2026-04-04 17:05:22 +08:00
2026-03-18 22:35:02 +08:00