Repository navigation
feat: answer dialogs, force quit, hide, unhide and maximize - #38
Merged
Merged
Conversation
iamnbutler
force-pushed
the
feat/dialogs-app-controls
branch
from
October 17, 2026 01:06
f2bbe4e to
a09e6ab
Compare
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds dialog handling and more app and window controls. That takes the tool count from 25 to 30. No Peekaboo patch was needed: the runtime only allowlists more Bridge operations (
hideApplication,maximizeWindow,targetedDialogListElements,prepareDialogAction,exactDialogClickButton,exactDialogEnterText).Tools
desktop_dialogreads the dialog or sheet in an exact app or window target. It lists the buttons (enabled, default), text fields (index, value, placeholder), static texts, and the resolved window target with its signed receipt.desktop_dialog_answerdoes one of two things:completedonly on a confirmed change.desktop_quitgainsforce: true. It is bound to the process generation, and the description warns that all unsaved work is lost. A normal quit that leaves the app running now points the agent atdesktop_dialog.desktop_hide/desktop_unhideuse the targeted, generation-checked variants. Unhide is exact activation, because the Bridge refuses background unhide.desktop_maximizezooms one exact window to the visible screen area. It does not enter full screen.docs/tools.md is updated. "Dialog answers, force quit" is gone from Not supported. "No automatic retries" stays as a deliberate design note, and file-panel path choosing is listed as unsupported.
Verified live
Signed dev build on a separate socket via
CFFIXED_USER_HOME, before #37 landed; /Applications was not replaced. The branch is rebased onto #37, so later dev testing can useDESKTOP_TOOLS_STATEinstead.unknownwithterminated: false. The Save sheet was open.desktop_dialog: listed the Delete, Cancel and Save buttons and both text fields.dialog-test.rtfcompleted, with the value verified.delete(wrong case) anddefaultwere refused, and the refusal named the available buttons.is_hiddenflipped each time.terminated: true. A repeat with the old generation was refused, andforceon close was refused.Caveats
dialogHandleFileis legacy and keyed only by app name, so it can't be made exact without a patch.