[Bug] 插件市场官方源仍指向已转为临时仓库的旧地址

Đang mở
#1,781 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start by reading macos/Sources/Lithe/Platform/MacOS/Plugins/MacPluginMarketplaceService.swift and checking how it uses officialIndexURL and officialRepository. The issue says the old repository resolves to a temporary repository, while the current main and preview indexes are empty; the maintainer must confirm the intended official source before migration. Done means the official source identity and index match that decision, with existing installation records considered; GUI behavior has not been verified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:extensions bug P2 platform:macos review: high
Platform / 平台

macOS

Area / 模块

Extensions / 扩展

Lithe version / Lithe 版本

源码核对:preview 0d38aca1b008acdb80db677b11435ceab68c67c5;未运行已发布应用。

Priority / 优先级

P2 / 后续考虑:目前不着急,可安排到后续版本

OS and architecture / 操作系统与架构

macOS 源码及 GitHub HTTPS/API 只读核查;实际 GUI 行为和系统版本无关的假设尚未在运行产品中验证。

Environment / 环境信息
  • 2026-11-07 UTC 只读核对 MacPluginMarketplaceService 的官方源常量、GitHub 仓库元数据和两个公开索引;未启动产品或安装插件。
  • Lithe Store 是另一个预置社区源,本报告不建议改变社区源的信任级别。
  • 平台、插件配置和发布包相关运行证据未采集;在研 Windows 插件宿主也复制了同一个旧官方源常量,尚未发布。
Steps to reproduce / 复现步骤
  1. 查看 preview 中 macos/Sources/Lithe/Platform/MacOS/Plugins/MacPluginMarketplaceService.swift 的 officialIndexURL 与 officialRepository。
  2. 用 GitHub API 查询 repos/Lithe-IDEA/Lithe-IDEA 的当前仓库身份,并通过 HTTPS 读取该常量指向的索引。
  3. 对照当前主仓库 1lck/Lithe-IDEA 的 Plugins/marketplace/index.json 和 Lithe-IDEA/Lithe-store 的独立索引。
Expected behavior / 预期行为

官方源应固定到当前维护者确认的官方索引和仓库身份,实际显示和信任判断与来源一致;社区源维持独立身份。

Actual behavior / 实际行为

GitHub API 将代码中写死的 Lithe-IDEA/Lithe-IDEA 解析为 xiaoyumuxi/Lithe-IDEA-temp,该仓库描述其为旧仓库不可用时的临时仓库。旧地址的 HTTPS 索引当前返回 2 个插件;当前 1lck/Lithe-IDEA 的 preview 和 main 官方索引均为空。这证明索引内容和当前仓库不一致,但尚未通过 GUI 验证用户可见后果。

源码中的官方身份还要求发布者签名;本报告没有验证签名绕过,也不声称可以安装伪造的官方插件。应先核对维护者期望的官方发布源,再处理来源迁移及既有安装记录。

Logs or diagnostic output / 日志或诊断输出
GitHub API repos/Lithe-IDEA/Lithe-IDEA -> full_name: xiaoyumuxi/Lithe-IDEA-temp
old official raw index: HTTP 200, plugins=2
1lck/Lithe-IDEA Plugins/marketplace/index.json: main plugins=0, preview plugins=0
Screenshots or recordings / 截图或录屏

未采集:当前证据来自源码和公开 HTTPS/API,尚未执行产品界面流程。

Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
  • I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
151
Merge trung bình
10 giờ 29 phút
Pull request đã merge (30 ngày)
407

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của 1lck/Lithe-IDEA

Tất cả issue của 1lck/Lithe-IDEA

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.