From ecf485e3759aa1ecfd4fc2748110c5f264fc548a Mon Sep 17 00:00:00 2001 From: tylerjenningsw Date: Mon, 12 Oct 2026 21:35:48 -0400 Subject: [PATCH] Docs: engine.execute reports a failed workspace save through workspaceStorageError (#696) --- docs/control-protocol.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/control-protocol.md b/docs/control-protocol.md index 0a425eba..89d319f7 100644 --- a/docs/control-protocol.md +++ b/docs/control-protocol.md @@ -82,9 +82,11 @@ preserved for the entire session, including after later layout changes. Load and appear in the status message and the nullable `workspaceStorageError` field; a failed write remains eligible for retry. `window.saveWorkspace`, `window.saveWorkspaceAs` and `window.editWorkspaces` (rename, delete) -write the file immediately and return an error when it isn't written (a failed write, a file -preserved after a failed load, or no configuration store). The changed workspaces still apply -for the session, and a later save retries them. +write the file immediately. Through `ui.menu.invoke` they return an error when it isn't written +(a failed write, a file preserved after a failed load, or no configuration store); +`engine.execute` hands them to the UI and returns `{frontend}` first, so check +`workspaceStorageError` there. The changed workspaces still apply for the session, and a later +save retries them. ## Input