feat(skills): agent settings Skills tab with uninstall and archive/chat import (#179)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-08-04 20:20:07 +08:00
committed by GitHub
parent d89bfddc7a
commit 7cc5c30e71
13 changed files with 1141 additions and 12 deletions
+13
View File
@@ -1397,6 +1397,19 @@ export interface SkillInstallRequest {
names: string[];
}
/**
* POST /api/projects/:p/agents/:a/skills/archive: install one Skill from an uploaded zip.
* Layout: SKILL.md at the zip root, or exactly one top-level directory containing SKILL.md
* (the directory name is then the Skill name). 201 returns the refreshed installed list
* (AgentSkillsResponse); an already-installed name without `overwrite` is 409 `skill_exists`.
*/
export interface SkillArchiveInstallRequest {
/** Base64-encoded zip archive (decoded size capped at 14MB, same as the Agent snapshot import). */
dataBase64: string;
/** Replace an already-installed Skill of the same name (deletes its directory first). */
overwrite?: boolean;
}
// ---------------------------------------------------------------------------
// Version and self-update
// ---------------------------------------------------------------------------