[Feature] 国际版支持安装插件市场中的 GitHub 插件,且市场应在安装前标注不兼容
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: FuQuan
**客户端版本**: 0.1.38
---
## 使用场景
我在官方插件市场里看到一个 GitHub 相关插件,想装上用来做 GitHub 相关的工作。点安装后失败,提示:
> 该插件包无效,或当前 Cindy 版本不支持它。
关键问题在于:**安装前市场里没有任何不兼容标注、区域限制说明或按钮置灰**。从市场页面上看,它就是个可正常安装的插件,只有点了安装才知道装不上。
复现路径:侧边栏「插件」→ 官方插件市场 → 找到 GitHub 相关插件 → 点安装 → 报上述错误。
安装后插件列表中不存在该插件(agent 侧 `ghost_list` 返回空列表,可确认既未装上、也未处于停用状态)。
## 诉求
希望国际版能够正常安装并使用官方插件市场里提供的 GitHub 插件。
## 建议方案
首选:让国际版支持该插件的安装与使用。
如果短期做不到,至少希望满足下面两点:
1. **市场侧提前拦住并标注**。若确实存在版本或区域限制,应在安装前就在卡片上标明(如「当前版本不可用」「仅 CN 版可用」「需 ≥ x.y.z」),或直接置灰安装按钮,而不是让用户点完才发现。
2. **报错文案区分原因**。目前这句提示把「插件包本身无效(校验/签名/格式错)」和「当前版本不支持(版本或区域限制)」两种完全不同的原因合并在一起,用户无法判断属于哪种,也不知道下一步能做什么(该等升级?该换包?还是永远用不了?)。建议拆开两条文案,并给出可操作的后续提示。
## 未确认项(不做断言,供排查参考)
- 没记住具体插件包名与版本号。
- 「国际版不支持 GitHub」只是我遇到报错后的猜测,报错文案本身无法证实这一点。实际原因也可能是包校验失败、插件声明的最低客户端版本高于当前版本,或其它原因。
- 没有对比环境,未确认该插件在 CN 版是否能正常安装。
---
**OS**: win32 x64 (10.0.19045)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by reproducing the sidebar → Plugins → official marketplace → GitHub plugin installation flow on the international client, then inspect the marketplace and plugin-install entry points. Check the agent-side ghost_list result after the failed install. Done means the GitHub plugin installs and works, or the marketplace clearly marks incompatibility and the error distinguishes package failures from version or regional restrictions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100