Skip to content

fix(claude-code): register marketplaces + fix ARM64 cache path in init-plugins - #75

Merged
gatezh merged 1 commit into
masterfrom
fix/init-plugins-marketplace-and-cache-74
Apr 14, 2026
Merged

gatezh merged 1 commit into
masterfrom
fix/init-plugins-marketplace-and-cache-74

Conversation

@gatezh

@gatezh gatezh commented Apr 14, 2026 •

Copy link
Copy Markdown
Owner

What

Fix init-plugins.sh so Claude Code plugins actually get installed in the claude-code devcontainer image.

Why

All 11 plugin installs fail silently (#74): marketplaces aren't registered before postCreateCommand runs (which executes before any interactive Claude Code session), the ralphex marketplace was never added, and the Playwright ARM64 patch targeted the wrong directory.

Changes

  • Add marketplace registration step (anthropics/claude-plugins-official + umputun/ralphex) before plugin installs
  • Fix Playwright ARM64 patch to target the runtime cache dir (~/.claude/plugins/cache) instead of the marketplace source dir, resolved dynamically via find
  • Replace 2>/dev/null || true with if/else logging so install failures are visible

Notes

  • The official marketplace is auto-configured on first interactive launch, but postCreateCommand runs before that — explicit registration is needed
  • The root repo's .devcontainer/init-plugins.sh already had the correct pattern; this aligns the claude-code image script to match

…t-plugins (#74)

Plugin installs failed silently because marketplaces were never
registered before postCreateCommand runs. Also fix the Playwright
ARM64 patch to target the runtime cache dir instead of the
marketplace source dir, and surface errors instead of suppressing.
@gatezh
gatezh merged commit 8e11bf5 into master Apr 14, 2026
8 checks passed
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