Repository navigation
fix: keep workspace fonts, scope agent window commands, fix Windows restore and launch - #27
Merged
Merged
Conversation
The housekeeping sweep now treats a file listed in a workspace's fonts as in use, so uploaded fonts are no longer removed a day after upload.
Window commands run for an API token or MCP grant now carry the workspaces that credential may reach, after workspace agent access is applied. The window refuses the command when the workspace it shows is not in that list, and the server refuses it when the list is empty.
Windows will not rename a folder that holds an open file, and restore keeps its lock file open inside the data folder. Restore now swaps the folder's contents in place there, as it already does for mount points.
The workspace list now applies the credential's workspaces and the workspace agent setting to emergency access entries as well. The workspaces sent with a window command also leave out emergency access entries for any credential other than a normal sign-in.
The window now reports the workspace it shows with each command result, and the server refuses the result for an API token or MCP grant when that workspace is outside the credential's list. Account, admin, terminal and new workspace commands are kept to the signed-in person: they are left out of the catalogue and refused for other credentials.
A .cmd shim that points at a script or program is now resolved to that target and run directly with node or the program itself. When it cannot be resolved, words with control characters, percent signs or double quotes, and words without spaces that hold cmd.exe operators, are refused before cmd.exe is started.
When a script shim cannot be resolved to the program it wraps and cmd.exe is still used, any word holding a control character or one of & | < > ^ ( ) ! % " is refused, with or without spaces, since quoting does not keep cmd.exe from reading them. The message points at stdin or a file for long text. Tests cover the resolved and fallback paths and check that the fixed launch words still pass.
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.
Summary
Tests
For the owner
How to ship