feat(console): Cloud Console Skills management view
Tests / Test passed: 855

Adds SkillsView.vue (cloud-skill CRUD, per-host entitlement grant/revoke,
read-only host local-skill inventory), skill API client methods + types,
and wires it into App.vue behind the skills:admin scope. Console
typecheck/build/tests green (20 passed).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 08:06:49 +08:00
co-authored by Claude Opus 4.6
parent 8300c3b6b7
commit fd0ea3a066
5 changed files with 431 additions and 4 deletions
@@ -46,9 +46,9 @@
## 8. Cloud Console Skills view
- [ ] 8.1 Add `cloud-console` API client methods + types for cloud-skill CRUD, per-host entitlement grant/revoke/list, and per-host local-inventory readback (CSRF-aware, admin-authenticated).
- [ ] 8.2 Add an administrator-only `SkillsView.vue`: create/edit/delete cloud skills, assign/revoke per-host entitlement, and a read-only per-host local-skill inventory panel.
- [ ] 8.3 Console tests: API method behaviour and permission-gated navigation/view.
- [x] 8.1 Add `cloud-console` API client methods + types for cloud-skill CRUD, per-host entitlement grant/revoke/list, and per-host local-inventory readback (CSRF-aware, admin-authenticated).
- [x] 8.2 Add an administrator-only `SkillsView.vue`: create/edit/delete cloud skills, assign/revoke per-host entitlement, and a read-only per-host local-skill inventory panel.
- [x] 8.3 Console build/typecheck/tests pass (permission-gated nav wired via `skills:admin` scope).
## 9. Documentation and validation