feat(skills): add metadata and branch fields to skill packs and marketplace skills

This commit is contained in:
Abhimanyu Saharan
2026-02-14 12:26:45 +05:30
parent 5b9e81aa6d
commit 40dcf50f4b
17 changed files with 1049 additions and 51 deletions

View File

@@ -9,8 +9,10 @@
* Payload used to register a pack URL in the organization.
*/
export interface SkillPackCreate {
branch?: string;
description?: string | null;
name?: string | null;
metadata?: Record<string, object>;
/** @minLength 1 */
source_url: string;
}

View File

@@ -12,8 +12,10 @@ export interface SkillPackRead {
created_at: string;
description?: string | null;
id: string;
branch: string;
name: string;
organization_id: string;
metadata: Record<string, object>;
skill_count?: number;
source_url: string;
updated_at: string;

View File

@@ -11,6 +11,7 @@
export interface SkillPackSyncResponse {
created: number;
ok?: boolean;
warnings: string[];
pack_id: string;
synced: number;
updated: number;