feat(app): plumb resume flag through restart_surface bridge + binding
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,9 @@ export interface AttachResult {
|
||||
snapshot: string;
|
||||
cols: number;
|
||||
rows: number;
|
||||
cursor_row?: number;
|
||||
cursor_col?: number;
|
||||
stopped?: boolean;
|
||||
}
|
||||
|
||||
export async function attachSurface(
|
||||
@@ -147,8 +150,8 @@ export async function applyPreset(workspaceId: string, presetId: string, slots:
|
||||
return data.surface_ids;
|
||||
}
|
||||
|
||||
export async function restartSurface(surfaceId: string): Promise<void> {
|
||||
await invoke("restart_surface", { surfaceId });
|
||||
export async function restartSurface(surfaceId: string, resume = false): Promise<void> {
|
||||
await invoke("restart_surface", { surfaceId, resume });
|
||||
}
|
||||
|
||||
export async function closeWorkspaceCmd(workspaceId: string): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user