Skip to content

Cherry-pick cf311978ea: fix(plugins): fallback bundled channel specs when npm install returns 404#1098

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/cf311978ea-plugin-bundled-fallback
Mar 12, 2026
Merged

Cherry-pick cf311978ea: fix(plugins): fallback bundled channel specs when npm install returns 404#1098
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/cf311978ea-plugin-bundled-fallback

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

Upstream commit: cf311978ea
Tier: AUTO-PICK

fix(plugins): fallback bundled channel specs when npm install returns 404

Conflict resolution

  • src/plugins/update.ts: Upstream extracted inline resolveBundledPluginSources to new bundled-sources.ts. Our fork had the rebranded inline version — took upstream's extraction, deleted inline copy.
  • src/plugins/bundled-sources.ts (new): Rebranded discoverOpenClawPluginsdiscoverRemoteClawPlugins.
  • src/plugins/bundled-sources.test.ts (new): Rebranded mock names, npm specs (@openclaw/@remoteclaw/), manifest filename (openclaw.plugin.jsonremoteclaw.plugin.json).
  • src/cli/plugins-cli.ts: Rebranded OpenClawConfigRemoteClawConfig.

… 404 (openclaw#12849)

* plugins: add bundled source resolver

* plugins: add bundled source resolver tests

* cli: fallback npm 404 plugin installs to bundled sources

* plugins: use bundled source resolver during updates

* protocol: regenerate macos gateway swift models

* protocol: regenerate shared swift models

* Revert "protocol: regenerate shared swift models"

This reverts commit 6a2b08c.

* Revert "protocol: regenerate macos gateway swift models"

This reverts commit 27c0301.

(cherry picked from commit cf31197)
@alexey-pelykh alexey-pelykh merged commit 109fbe6 into main Mar 12, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/cf311978ea-plugin-bundled-fallback branch March 12, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants