Conversation
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.
What happened
I lost about an hour to this on Windows and figured it's worth writing down.
I installed the
bskCLI with the official PowerShell script, added the extension from the Chrome Web Store, and ranbsk doctor. Everything came back green exceptextension connected. The extension was installed, enabled, the connection toggle was on, and the port matched the daemon (52800). It just never connected:bsk statuskept returning an emptybrowserslist.The confusing part was the daemon log. It showed nothing at all from the extension. No rejected origin, no failed handshake, not even a dropped connection. My own manual WebSocket probes at
127.0.0.1:52800(using the extension's origin) connected fine, so the daemon was clearly reachable and healthy.What was actually going on: Chrome had been open the whole time, long before I installed the daemon and the extension. Its MV3 service worker never woke back up, and none of the things I tried nudged it:
chrome://restartchrome-extension://<id>/popup.htmlfrom the command lineThe moment I fully quit Chrome and reopened it, the daemon logged
browser connectedwithin a second.What this PR does
Adds a short troubleshooting note to
AGENT_INSTALL.mdStep 4 so the next person lands on the fix instead of the dead end. Docs only.What it does not do
I deliberately left the reconnect logic alone. Whether the extension should arm a periodic reconnect so it recovers without a browser restart feels like a maintainer call, and I did not want to guess at the trade-off. If that sounds useful, I can open a separate issue with what I observed.