fix(plugins): fallback bundled channel specs when npm install returns 404#12849
Merged
vincentkoc merged 9 commits intoopenclaw:mainfrom Feb 26, 2026
Merged
Conversation
This was referenced Feb 9, 2026
bfc1ccb to
f92900f
Compare
Member
Author
|
Just a small note for Barnacle and reviewers, this is still an open issue! |
4f6d2ce to
806f274
Compare
vincentkoc
added a commit
that referenced
this pull request
Feb 26, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
…claw#27887) (cherry picked from commit 43becd0)
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Feb 27, 2026
… 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.
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Feb 27, 2026
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
… 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.
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 28, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…claw#27887) (cherry picked from commit 43becd0)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…claw#27887) (cherry picked from commit 43becd0)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…claw#27887) (cherry picked from commit 43becd0)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
…claw#27887) (cherry picked from commit 43becd0)
vincentkoc
added a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
… 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.
vincentkoc
added a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
vincentkoc
added a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
… 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.
vincentkoc
added a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
6 tasks
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
…claw#27887) (cherry picked from commit 311f57a)
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
… 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.
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
safzanpirani
pushed a commit
to safzanpirani/clawdbot
that referenced
this pull request
Mar 2, 2026
robertchang-ga
pushed a commit
to robertchang-ga/openclaw
that referenced
this pull request
Mar 2, 2026
… 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.
robertchang-ga
pushed a commit
to robertchang-ga/openclaw
that referenced
this pull request
Mar 2, 2026
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
…claw#27887) (cherry picked from commit 311f57a)
dorgonman
pushed a commit
to kanohorizonia/openclaw
that referenced
this pull request
Mar 3, 2026
… 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.
dorgonman
pushed a commit
to kanohorizonia/openclaw
that referenced
this pull request
Mar 3, 2026
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
… 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.
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
thebenjaminlee
pushed a commit
to escape-velocity-ventures/openclaw
that referenced
this pull request
Mar 7, 2026
… 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.
alexey-pelykh
pushed a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 12, 2026
… 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
added a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 12, 2026
… 404 (openclaw#12849) (#1098) * 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) Co-authored-by: Vincent Koc <[email protected]>
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.
This change adds a bundled-plugin fallback for known bundled npm specs so installation can still succeed without a published npm tarball.
openclaw plugins install @openclaw/feishucurrently fails with npmE404even though Feishu can be provided by bundled extensions.dependenciescan't be installed #13913lobster-biscuit
Changes:
src/plugins/bundled-sources.tsto resolve bundled plugin sources and lookup by npm specsrc/plugins/bundled-sources.test.tscoverage for bundled source resolution and npm spec matchingsrc/plugins/update.tssrc/cli/plugins-cli.tsto enable/link bundled plugin paths and persist install recordsGreptile Overview
Greptile Summary
This PR adds a fallback path for
openclaw plugins install <npm-spec>whennpm packfails with an E404/not-found error: it looks up a matching bundled plugin source by npm spec, adds the bundled plugin’s local path toplugins.load.paths, enables the plugin entry, and records an install record so the install persists.It also extracts the bundled-plugin discovery logic into a new shared module (
src/plugins/bundled-sources.ts) and updatessrc/plugins/update.tsto reuse it, with accompanying Vitest coverage for bundled source resolution and npm-spec matching.Confidence Score: 5/5
npm pack failed:error string and common 404 markers, and config/installs updates follow existing patterns without introducing obvious correctness or safety regressions.