makecindy / makecindy/cindy

[维护者确认] #2199 fix(plugin-market): 自定义市场发现层过滤保留前缀插件

Open
#2,204 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

## 触发

pluginBase: PR 修改了 `apps/desktop/src/main/plugin-market/sources/discover.ts`(自定义市场发现层),属于插件基座范围,影响全部已装插件的发现行为。

## PR 内容

将保留前缀(`cindy-`/`filo-`/`xd-`)插件的过滤从安装时前置到发现阶段,避免市场列表出现必然失败的安装按钮。修改复用 `shared/ghost.ts` 的 `isOfficialGhostId`,install 侧闸保留不动作为纵深防御。共 103 行 diff(含测试)。

## 需确认

1. 发现层新增 `reserved-ghost-id` 跳过逻辑是否影响已有自定义市场的存量插件清单?
2. skip 行为是否与插件市场设计 spec §4.4 B1 一致?

## 确认方式

- 确认通过:直接在 PR 上 Approve
- 需要修改:Request Changes,作者改完后重新 Approve 即放行
- 讨论请在本 issue 继续

---
关联 PR:#2199(作者 @nanaco666);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的插件基座改动(影响全部已装插件),维护者确认后 PR 会恢复推进。

Contributor guide

Open the contributing guide

Research direction

Start with apps/desktop/src/main/plugin-market/sources/discover.ts and the shared/ghost.ts isOfficialGhostId helper, then review PR #2199 and plugin market spec §4.4 B1. Verify that reserved-prefix plugins are skipped during discovery without changing existing custom-market listings, while the install-side guard remains; approval of the linked PR is the stated completion condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.