wip: in-progress changes (grid, config, wizard, settings, pty) before session-persistence
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -199,6 +199,16 @@ export async function openExternal(url: string): Promise<void> {
|
||||
await invoke("open_external", { url });
|
||||
}
|
||||
|
||||
export async function listFonts(): Promise<string[]> {
|
||||
return await invoke<string[]>("list_fonts");
|
||||
}
|
||||
|
||||
/** Which of the given CLI candidates are actually installed on the daemon's spawn PATH. */
|
||||
export async function whichAgents(candidates: string[]): Promise<string[]> {
|
||||
const data = await invoke<{ available: string[] }>("which_agents", { candidates });
|
||||
return data.available;
|
||||
}
|
||||
|
||||
export async function setZoom(workspaceId: string, surfaceId: string | null): Promise<void> {
|
||||
await invoke("set_zoom", { workspaceId, surfaceId });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user