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

オープン
#1,781 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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. / 我已从报告中移除敏感信息和个人数据。
主要言語
TypeScript
スター
1.8k
フォーク
151
平均マージ
10時間 29分
マージ済み PR(30日)
407

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

1lck/Lithe-IDEA のほかの issue

1lck/Lithe-IDEA の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。