Repository navigation
fix: find Aside's DevTools from DevToolsActivePort and register Programa inside Aside (INC-412) - #510
Merged
Merged
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.
programa aside statusandinstall-mcp --with-devtoolsassumed Aside's DevTools was on port 9223, so status said it was off and the devtools server pointed at nothing. Aside uses Chrome's remote debugging and writes the real port toDevToolsActivePort. Status now reads that file and does a plain TCP check. Theaside-devtoolsserver registers chrome-devtools-mcp with--autoConnect --userDataDir; without--autoConnectit launches a new Chrome on Aside's profile.install-mcpalso registers Programa in Aside's own MCP settings (~/.aside/u/<account>/settings.json,mcp.servers.programa). It holds Aside's lock, writes atomically at 0600, and refuses if the file changed underneath it. It leaves alone aprogramaserver that is not ours, and a settings file whosemcpormcp.serversis not an object.uninstall-mcpremoves the entry andstatusshows it. Aside reads servers only at startup, so quit and reopen Aside after installing.ci.ymladds the new test to the CLI sweep list.Verified on a real Mac: status reports
ws://127.0.0.1:9222/devtools/browser/<id>and Programa registered in Aside. The CLI builds and the new test file (9 tests) passes against the built binary.Not verified: Aside actually connecting to
programa-mcp. That needs an Aside restart by the user.Fixes INC-412