skillhub/cli/src
XiaoSeS 2bb7dedaf4
feat(cli,domain): support non-global namespace skill download (#497)
* feat(cli,domain): support non-global namespace skill download

Parse namespace from skill name using -- separator (e.g.,
astroclaw--api-gateway) so users don't need --namespace flag.
Allow anonymous download for any PUBLIC skill regardless of namespace.

CLI changes:
- Add cli/src/shared/skill-name-parser.ts utility
- Update install and remove commands to parse skill name argument
- 10 unit tests covering edge cases

Domain changes:
- SkillDownloadService.isAnonymousDownloadAllowed: drop namespace
  type check, only require PUBLIC visibility
- Update test to expect success for team-namespace public skill

Synced from SAAS commit 26c67e31b1221249cf9b73321d1b726d8ba6e6df

* fix(cli): use bun:test instead of vitest in skill-name-parser test
2026-06-05 16:20:34 +08:00
..
agents fix(cli): label scope by userRoots membership instead of cwd prefix 2026-05-15 14:43:25 +08:00
clients chore(cli): improve dry-run test fixture and 403 error message 2026-05-18 16:42:06 +08:00
commands feat(cli,domain): support non-global namespace skill download (#497) 2026-06-05 16:20:34 +08:00
generated chore(cli): bump version to 0.1.7 2026-05-29 15:43:18 +08:00
platform test(cli): add comprehensive integration tests and fix update command bugs 2026-05-07 14:46:40 +08:00
services refactor(cli): improve doctor command semantics and transparency 2026-05-09 11:30:36 +08:00
shared feat(cli,domain): support non-global namespace skill download (#497) 2026-06-05 16:20:34 +08:00
stores fix(cli): remove explicit any type to pass ESLint checks 2026-04-29 15:43:32 +08:00
index.ts Merge branch 'main' into feat/cli-install-scope 2026-05-19 09:48:49 +08:00