Repository navigation
Warn about Assistant Start menu shortcuts before switching (#1) - #2
Merged
Merged
Conversation
With Assistant's "Show in Windows Start Menu" on, Assistant rewrites one shortcut per automation when it connects to another tenant, which can freeze Windows Explorer. Before a switch the panel and status bar now warn about it and offer to turn the setting off. switch.ps1 changes only agent.showStartMenuShortcuts, and only while Assistant is closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
README: troubleshooting entry for the Explorer freeze, the new warnAboutStartMenuShortcuts setting and the Assistant settings file. CHANGELOG: Unreleased fix. CLAUDE.md: the agent-settings.json rule and the issue/branch/PR workflow that replaces pushing straight to main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sorenbcoding
added a commit
that referenced
this pull request
Nov 19, 2026
…rning Warn about Assistant Start menu shortcuts before switching (#1)
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.
Closes #1. Same fix in the desktop app: sorenbcoding/tenant-switcher-app#11.
What changes
agent.showStartMenuShortcutsfrom Assistant's%AppData%\UiPath\agent-settings.json. When it's on, the preset card (or the status-bar quick pick) warns that the switch can freeze Windows Explorer.turnOffStartMenuShortcutstoswitch.ps1. After Assistant has closed, and only if noUiPath.Assistantprocess is left, the new step Turn off Start menu shortcuts changes that single value. Every other byte and the encoding stay the same, and the file is written atomically. If Assistant is still running, the step is a warning and the file isn't touched.tenantSwitcher.restartAssistantis off, the warning only points to Assistant → Preferences.tenantSwitcher.warnAboutStartMenuShortcuts(defaulttrue) stops the warning.CLAUDE.md(the rule for Assistant's file, plus the issue/branch/PR workflow).Testing
npm run typecheck,npm run buildand the brand check pass.npm test: 45 passed. New tests cover reading the setting, the PowerShell edit (byte for byte, with and without a BOM, already off, missing file), and the new step end to end. Assistant was running on the test machine, so the end-to-end test checked the "don't touch the file while Assistant runs" path.🤖 Generated with Claude Code