feat(settings): check sandbox launchers and configure protected paths

This commit is contained in:
Xubin Ren committed 2026-11-08 14:29:46 +08:00
1 parent f158779c60
commit 5b84b78cac
33 files changed
+1179 -20

No files matched your search

+6
View File
@@ -1595,6 +1595,12 @@ export async function updateRuntimeConfigSettings(
return mutation<SettingsPayload>(transport, "settings.runtime_config.update", { values });
}
export async function checkSandboxSettings(
transport: WebUIMutationTransport,
): Promise<{ sandbox: import("@/lib/types").SandboxCheck }> {
return mutation(transport, "settings.sandbox.check", {});
}
export function starPromptAction(
transport: WebUIMutationTransport,
action: "claim" | "dismiss",