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:
@@ -196,3 +196,34 @@ export interface PlannerDecisionItem {
|
||||
export interface PlannerDecisionListResponse {
|
||||
items: PlannerDecisionItem[];
|
||||
}
|
||||
|
||||
export type CloudSkillKind = "knowledge" | "flow_template";
|
||||
|
||||
export interface CloudSkill {
|
||||
id: string;
|
||||
name: string;
|
||||
kind: CloudSkillKind;
|
||||
description: string;
|
||||
tags: string[];
|
||||
revision: number;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
content: string;
|
||||
steps: Record<string, unknown>[];
|
||||
parameters: Record<string, Record<string, unknown>>;
|
||||
}
|
||||
|
||||
export interface CloudSkillListResponse {
|
||||
items: CloudSkill[];
|
||||
}
|
||||
|
||||
export interface CloudSkillEntitlementsResponse {
|
||||
skill_id: string;
|
||||
host_ids: string[];
|
||||
}
|
||||
|
||||
export interface HostSkillInventoryResponse {
|
||||
host_id: string;
|
||||
payload: Record<string, unknown>[];
|
||||
reported_at: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user