Skip to content

fix(plugins): match provider install guidance to the release - #4694

Merged
thymikee merged 11 commits into
0.22from
fix/0.22-provider-install-guidance
Nov 18, 2026
Merged

thymikee merged 11 commits into
0.22from
fix/0.22-provider-install-guidance

Conversation

@thymikee

@thymikee thymikee commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #3309, #3310 and #4591. The CLI gives BrowserStack and AWS Device Farm users the install or repair command for their running build. The guides show how to install agent-device and its plugins on 0.22. Scope is 17 files.

Validation

Base 873de91091, head c89f0978956b73d7d57f0c5d64034f32b33d0811. The runtime guidance passed 42 pinned local checks at 8c7803e691 and both selector formats have catalog and CLI test coverage. Hosted checks and Sentinel passed at bb71a7f890. The current head changes documentation. Both exact-head documentation checks passed. Hosted checks and review are pending.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

thymikee and others added 5 commits November 18, 2026 12:18
BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>
The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 6.12 MB 6.12 MB +289 B
Package (unpacked) 6.12 MB 6.12 MB +289 B
Package (download) 1.86 MB 1.86 MB +141 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 47.5 ms 50.4 ms +2.9 ms
CLI --help 86.2 ms 85.3 ms -0.9 ms

@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 1 new finding on fbe73d3. The verdict and the full list are in the summary comment.

Comment thread src/cli/connection/provider-policy.ts Resolved
@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 1 new finding on a0a85d0. The verdict and the full list are in the summary comment.

Comment thread src/commands/provider-plugin-catalog.ts Resolved
@apex-sentinel-staging

This comment has been minimized.

@apex-sentinel-staging apex-sentinel-staging Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apex Sentinel: 1 new finding on 2894aa8. The verdict and the full list are in the summary comment.

Comment thread src/commands/provider-plugin-catalog.ts Resolved
@thymikee

Copy link
Copy Markdown
Member Author

This review covers 2894aa8; aff40e6 landed while it ran and gets its own delta review. The PR was ready at 2894aa8, and the code looks right to me. CI is green with 16 checks and none failing, and the checks that run the catalog and help tests cover this route. There are no conflicts, and nothing blocks merge.

Not blocking, and you can take or leave each: (1) the exact-version pin in providerPluginSelector has a -nightly. branch that nothing publishes today, since main nightlies are 0.21.40-nightly.*, and compatibility is only the apiVersion check, so would one @nightly-0.22 selector for every 0.22 prerelease be simpler (and let you drop the add-vs-update split and the readVersion mock)? (2) The version regexes there restate the grammar of scripts/release-version.mjs, so a test that feeds nightlyVersion output into providerPluginInstallCommand would tie them together. (3) "This pairs the plugin with your installed core" in plugins.md is only true for a published nightly, so you could drop it or limit it to those. (4) content.ts:478 still says AWS Device Farm is built in, and it now belongs in the provider plugins half. (5) cli-help.ts:906 gets the release string by a second route, so passing readVersion() once from usageForCommand would be tidier.

On the earlier threads: the exact-pin thread and the repair-command thread are fixed at this head, so you can resolve them. The 0.22.0-dev thread does not apply today, because main is 0.21.40-dev and this PR targets the 0.22 branch, where every -dev build uses nightly-0.22.

I checked that the nightly tag and versions exist on npm and that store.ts accepts both selector forms, and the PR body says the nightly tarballs were installed earlier. The stable 0.22 guidance cannot be verified yet, because latest for both plugins is still the 0.0.0 placeholder, so the plain plugins add command only works once stable 0.22 publishes. Cubic has not reviewed this head.

@apex-sentinel-staging

This comment has been minimized.

@thymikee

Copy link
Copy Markdown
Member Author

Updated the site copy at bb71a7f89 to list AWS Device Farm among the provider plugins. The plugin guide now limits the matching-build claim to published nightlies. Both 0.22 nightly channels still use exact versions so a pinned core can recover the provider build published with it.

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of bb71a7f

Since the review of aff40e6: 0 new · 0 still open · 0 no longer raised

No open findings.

Reviewed with this repository's own Sentinel configuration (7610947604c4).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

This is ready at bb71a7f. I found no problems in the code, all 16 checks pass, and there are no conflicts. Nothing else must happen before merge.

Not blocking: the README sentence in provider-browserstack says a CLI installed from nightly on main lists an exact package version in agent-device help remote. Main's nightly is still 0.21.40, which has no versioned plugin selector, so this only becomes true once main versions as 0.22.x. The same wording is in provider-aws-device-farm. You can drop "nightly on main or" until then, or keep it as forward-looking copy.

The earlier inline threads are settled. These two are fixed and can be resolved: the provider hint routing in provider-policy.ts and the main-channel version match. The nightly-0.22 default was withdrawn, since it is now documented. No threads still apply.

The evidence has limits. help remote and the connect error were traced through the source, not run on a built CLI. The stable 0.22 release is not published, and the plugin latest tag is still the 0.0.0 placeholder, so the stable bare-package selector is checked from code only. A core installed from the two older 0.22 nightlies (20261116 and 20261117) gets an exact plugin version that is not on npm, because the plugins exist only from 20261118.187. Guidance cannot fix that, and a fresh nightly-0.22 install is fine.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 18, 2026
@thymikee
thymikee merged commit af9a27c into 0.22 Nov 18, 2026
14 of 15 checks passed
@thymikee
thymikee deleted the fix/0.22-provider-install-guidance branch November 18, 2026 15:33
thymikee added a commit that referenced this pull request Nov 19, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 20, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 20, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 21, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 21, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 23, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
hannojg pushed a commit to hannojg/agent-device that referenced this pull request Nov 23, 2026
…ck#4694)

* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
thymikee added a commit that referenced this pull request Nov 24, 2026
* fix(plugins): name the release a channel plugin installs from

BrowserStack and AWS Device Farm publish only on the `nightly-0.22` tag, so their `latest` tag is
still the staged placeholder that exports no plugin. A missing-plugin error that named the bare
package therefore prescribed an install the manager refuses with `incompatible_plugin`, and help,
docs and the README still described AWS Device Farm as unpublished.

One catalog declaration records each plugin's channel. Recovery reads the running core's version
through the release grammar `scripts/release-version.mjs` owns: on a 0.22 nightly it names the
version built with this core, and everywhere else — a source checkout, a `main` nightly, a stable
release — it names the plain package as before. Printed guidance names the channel tag rather than a
build, so it holds across releases of one channel. No lookup, and no date or run in source.

Reason, package, provider and the restart hint are unchanged for every provider.

Co-authored-by: Apex <noreply@callstack.com>

* docs(release): name the plugin tag in the 0.22 changesets

The two pending 0.22 changesets become the shipped release notes for this extraction, and both
prescribed the bare package name — the selector that resolves to the placeholder — while the AWS one
still called the plugin unpublished. They now name the tag, and the exact version a missing-plugin
error prints for the release the reader runs.

Co-authored-by: Apex <noreply@callstack.com>

* fix(plugins): match provider help to the running release

* fix(help): type version-aware topic bodies

* docs(plugins): match shipped readmes to the release channel

* fix(plugins): repair provider selections with matching releases

* fix(plugins): match main-channel 0.22 nightly builds

* docs(plugins): clarify the 0.22 development channel default

* docs(website): describe AWS Device Farm as a provider plugin

* chore: remove changeset edits from the PR

* docs: use the 0.22 branch install instructions

---------

Co-authored-by: Apex <noreply@callstack.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant