Skip to content

Fix claude-plugin format lost during plugin transformation#44

Merged
hyericlee merged 1 commit into
enulus:mainfrom
karl82:fix/claude-plugin-format-detection
Apr 3, 2026
Merged

Fix claude-plugin format lost during plugin transformation#44
hyericlee merged 1 commit into
enulus:mainfrom
karl82:fix/claude-plugin-format-detection

Conversation

@karl82

@karl82 karl82 commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

transformPluginToPackage() strips .claude-plugin/ from files before calling detectPackageFormat(), so format detection falls back to 'universal' instead of 'claude-plugin'. This causes flow-index-installer to create a conversion context with $source='openpackage' instead of 'claude-plugin', routing files through wrong installation flows.

Force _format to platform-specific/claude-plugin in the transformer since we already know the true source format at that point.

transformPluginToPackage() strips .claude-plugin/ from files before
calling detectPackageFormat(), so format detection falls back to
'universal' instead of 'claude-plugin'. This causes flow-index-installer
to create a conversion context with $source='openpackage' instead of
'claude-plugin', routing files through wrong installation flows.

Force _format to platform-specific/claude-plugin in the transformer
since we already know the true source format at that point.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hyericlee

Copy link
Copy Markdown
Contributor

Thanks, sorry for the delay! Will review and merge as soon as I can.

@hyericlee hyericlee merged commit a1c18b4 into enulus:main Apr 3, 2026
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