feat: add notification

This commit is contained in:
Henry Li
2026-01-31 11:08:27 +08:00
parent cb660c2643
commit 47fe2f8195
18 changed files with 482 additions and 56 deletions

View File

@@ -23,3 +23,13 @@ export async function enableSkill(skillName: string, enabled: boolean) {
);
return response.json();
}
export async function installSkill(skillName: string) {
const response = await fetch(
`${getBackendBaseURL()}/api/skills/${skillName}/install`,
{
method: "POST",
},
);
return response.json();
}