Skip to content

Derive installed plugins from this machine, not a snapshot - #11

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
ship/real-installed-list
Sep 16, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
ship/real-installed-list

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner
  • installed = present in ~/.cursor/plugins/cache or ~/.cursor/plugins/local;
    the catalog only supplies copy, category and ids. Drops the author's
    data/installed-index.json, which made every clone show one person's plugins.
  • Scan plugins/local// (hand-installed plugins) alongside the cache.
  • Plugins with no catalog row get a synthetic : id.
  • Guard test: data/ carries no sandbox or machine paths.
  • Restore the picker screenshots with a fictional gbot roster.
  • README rewritten around what actually ships; install test reads the version.
  • 0.4.0

Verified: npm run check green locally (validate, tsc, build, 20 tests, artifact validate, packed-install smoke). Screenshots regenerated with a stub roster; no real fleet data in the repo.

- installed = present in ~/.cursor/plugins/cache or ~/.cursor/plugins/local;
  the catalog only supplies copy, category and ids. Drops the author's
  data/installed-index.json, which made every clone show one person's plugins.
- Scan plugins/local/<name>/ (hand-installed plugins) alongside the cache.
- Plugins with no catalog row get a synthetic <marketplace>:<slug> id.
- Guard test: data/ carries no sandbox or machine paths.
- Restore the picker screenshots with a fictional gbot roster.
- README rewritten around what actually ships; install test reads the version.
- 0.4.0
@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 01c6ef1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T18:24:41.117845Z 01c6ef1 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: 01c6ef1c4b

ℹ️ 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 server.js
Comment on lines +209 to +210
const hit = findLocalPlugin(id, cat.name, cacheHint(cat));
const local = hit && !claimed.has(hit.key) ? hit : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Disambiguate catalog rows before claiming cached plugins

When multiple catalog rows resolve to the same cache key, this first-come claim assigns the installed files to whichever row appears first. The shipped catalog contains IDs 3579817 and 48677658 both pointing to cursor-public/github, with 3579817 first even though both rows' liveInstalled.plugin_id identifies 48677658; therefore a machine with GitHub installed reports the legacy ID as installed while the actual ID remains in the marketplace with no readable local contents. Choose the authoritative row before marking the key claimed rather than relying on catalog order.

Useful? React with 👍 / 👎.

@ScriptedAlchemy
ScriptedAlchemy merged commit 522076e into main Sep 16, 2026
1 check passed
@ScriptedAlchemy
ScriptedAlchemy deleted the ship/real-installed-list branch September 16, 2026 18:53
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