Add Muse Code support for the Browse CLI plugin - #5
Merged
Merged
Conversation
shrey150
marked this pull request as ready for review
September 16, 2026 22:04
Kylejeong2
approved these changes
Sep 16, 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.
Muse Code currently falls back to the Claude manifest and rejects its string-valued
skillsfield. Add a native Muse manifest so users can install Browserbase's Browse CLI skill from a local checkout or the existing.agentsmarketplace.The plugin reuses
skills/browse/SKILL.md, adds Muse installation and troubleshooting instructions, and includes the native manifest in repository validation and version synchronization. Browse CLI remains the browser driver; the plugin declares only the shared skill.E2E Test Matrix
Clean-environment runs used fresh
node:24-bookwormDocker containers, no host mounts, public Git clones, and fresh official Muse and npm Browse installations. The initial form run tested implementation commit4356df6; the live Google Flights run tested current PR head9b17486. Versions: Muse Code 1.3.0 (1.3.0-R3233.1), Muse Spark 1.3 Contributor, Browse 0.9.6, Node 24.19.0. The commits differ only in documentation; manifest, marketplace, and skill are unchanged.The Browserbase key was injected into the test process. Muse authenticated through its browser-login flow in the disposable container. Docker provided isolation; Muse's nested shell sandbox and interactive approvals were disabled for the unattended run. The plugin does not change user permissions, and no credentials are included in the repository or this PR.
npm install -g browseand official Muse installernode scripts/validate-template.mjs; version/Gemini sync checksValidation passed; versions match; Gemini content is in syncmuse plugins validate <checkout> --jsonvalid: true, compatibilityfullmuse plugins install <checkout> --scope user --jsonthen inspectplugin:browse:browsemuse plugins marketplace add browserbase <checkout>thenmuse plugins install browse@browserbasemuse skills list --source plugin --jsonin a separate empty workspaceplugin:browse:browse,activation: on,diagnostics: []muse-clean-smoke; result displayedForm submittedandReceived!; screenshot captured; session stoppedmuse exec --no-foreign-personal-context --disable-web-tools --max-model-steps 40 --trust-workspace --disable-sandbox --disable-approval --json --prompt-file <browser-task>muse-spark-1.3-contributor; trace records successfulread_skillofplugin:browse:browse, then seven successful shell calls through Browse CLImy-text=muse-plugin-e2e-4356df6; DOM displayedForm submitted/Received!; Muse-created screenshot existed; verifier stopped the browser sessionread_skilland 36 shell calls. Independent live DOM/snapshot confirmed dates including year, airports, cabin, passenger count, selected flight numbers, provider offers and lowest total; screenshots capturedwrite_filerejected an absolute artifact path outside the workspace; Muse saved and validated the JSON report through its authorized shellObserved outputs from Muse's actual tool calls:
Plugin management was tested with
MUSE_EXPERIMENTAL_PLUGINS=1. Muse reports expected warnings about the repository's other manifests and advisoryallowed-toolsmetadata. Running skill discovery inside the multi-client plugin repository also reportsforeign-plugin-artifact-observed; the same check in an empty workspace has no diagnostics. Model-driven coverage is for remote Browserbase browsing; local Chrome launch and the future default-branch Git marketplace install are not claimed as tested. The initial missing-credential failure was resolved through Muse login, followed by the passing authenticated run above.The flight test starts from the Google Flights homepage and uses UI controls; it does not construct a search URL or inject JavaScript to perform interactions. The three compared outbound options (British Airways, Virgin Atlantic and American) were tied at the lowest displayed $671 estimate. The selected itinerary's booking page then advertised $669 as its lowest total. Prices are observations from September 16, 2026, not a guarantee of later availability. The 11 additional booking-provider options were not expanded, provider links were not followed, and no purchase or passenger-data submission occurred. The browser sessions and disposable Muse credentials were cleaned up after verification.