Skip to content

fix(marketplace): resolve URL-source plugins by fetching them#44

Merged
christso merged 2 commits intomainfrom
fix/resolve-url-source-plugins
Feb 1, 2026
Merged

fix(marketplace): resolve URL-source plugins by fetching them#44
christso merged 2 commits intomainfrom
fix/resolve-url-source-plugins

Conversation

@christso
Copy link
Copy Markdown
Contributor

@christso christso commented Feb 1, 2026

Summary

  • allagents workspace plugin install superpowers@superpowers-marketplace failed because resolvePluginSpec checked existsSync() on URL strings from manifest entries, which always returns false
  • Now correctly handles URL-source plugins by calling fetchPlugin() to clone/cache the repo, then returning the cached path
  • Added marketplacePathOverride and fetchFn options to resolvePluginSpec for testability

Test plan

  • Added unit test for URL-source plugin resolution with mock fetch
  • Added unit test for fetch failure returning null
  • All 399 existing tests pass
  • Pre-push hooks pass (lint, typecheck, test)
  • Manual test: allagents workspace plugin install superpowers@superpowers-marketplace

🤖 Generated with Claude Code

resolvePluginSpec failed for plugins with URL sources in marketplace
manifests (e.g., superpowers@superpowers-marketplace) because it
checked existsSync on the URL string instead of fetching the repo.
Now uses fetchPlugin to clone/cache URL-source plugins.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Feb 1, 2026

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0d62e4
Status: ✅  Deploy successful!
Preview URL: https://97a18428.allagents.pages.dev
Branch Preview URL: https://fix-resolve-url-source-plugi.allagents.pages.dev

View logs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@christso christso merged commit 07012d1 into main Feb 1, 2026
1 check passed
@christso christso deleted the fix/resolve-url-source-plugins branch February 1, 2026 04:57
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.

1 participant