Skip to content

fix(xdg): resolve marketplace plugins path when using xdg spec #885

Closed
Parsifa1 wants to merge 1 commit intocan1357:mainfrom
Parsifa1:fix/xdg-plugin-discovery
Closed

fix(xdg): resolve marketplace plugins path when using xdg spec #885
Parsifa1 wants to merge 1 commit intocan1357:mainfrom
Parsifa1:fix/xdg-plugin-discovery

Conversation

@Parsifa1
Copy link
Copy Markdown
Contributor

@Parsifa1 Parsifa1 commented Apr 30, 2026

What

listClaudePluginRoots() was always reading the OMP user plugin registry from the legacy home-relative path ( ~/.omp/plugins/installed_plugins.json or ~/.config/omp/... depending on getConfigDirName()). On XDG-enabled systems the marketplace writes the registry to $XDG_DATA_HOME/omp/plugins/installed_plugins.json , so the paths never matched and marketplace-installed skills were silently ignored at discovery time.

now we using resolveUserPluginsDir() to resolve user plugins, and also resolve xdg spec.

Why

Marketplace-installed skills were not loaded after installation on any system with XDG_DATA_HOME set. The install wrote to the XDG path; discovery always read from the legacy path.

Test

  • bun check passes
  • Tested locally
  • CHANGELOG updated (if user-facing)

all same as #707, but fix the test, able to merge :)

mainly fixed the /marketplace plugins resolved for xdg plugin discovery

@Parsifa1 Parsifa1 changed the title fix: unify XDG plugin discovery path with write path fix: unify XDG plugin discovery path with write path(fixed test) Apr 30, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd4331a9e0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/utils/src/dirs.ts Outdated
@Parsifa1 Parsifa1 force-pushed the fix/xdg-plugin-discovery branch from fd4331a to c6913d0 Compare April 30, 2026 05:55
@Parsifa1
Copy link
Copy Markdown
Contributor Author

@can1357 ready to merged, and able to close #707

@Parsifa1 Parsifa1 force-pushed the fix/xdg-plugin-discovery branch 2 times, most recently from fe0df46 to 0a4b407 Compare May 1, 2026 19:52
@Parsifa1 Parsifa1 changed the title fix: unify XDG plugin discovery path with write path(fixed test) fix(xdg): resolve marketplace plugins when using xdg spec May 3, 2026
@Parsifa1 Parsifa1 changed the title fix(xdg): resolve marketplace plugins when using xdg spec fix(xdg): resolve marketplace plugins path when using xdg spec May 3, 2026
@Parsifa1 Parsifa1 force-pushed the fix/xdg-plugin-discovery branch from 0a4b407 to ce66ae3 Compare May 3, 2026 06:09
@Parsifa1
Copy link
Copy Markdown
Contributor Author

Parsifa1 commented May 3, 2026

@Parsifa1 Parsifa1 closed this May 3, 2026
@Parsifa1 Parsifa1 deleted the fix/xdg-plugin-discovery branch May 3, 2026 06:12
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