Skip to content

feat: add companion workspace plugin recommendations catalog - #95

Merged
1lck merged 1 commit into
mainfrom
feat/workspace-plugin-recommendations
Nov 20, 2026
Merged

1lck merged 1 commit into
mainfrom
feat/workspace-plugin-recommendations

Conversation

@1lck

@1lck 1lck commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

关联 Issue / PR:

改动类型

  • 收录新插件
  • 新增版本
  • 修改插件信息
  • 撤回版本 / 下架插件(请写明原因)
  • 脚本、CI 或文档

改动说明

新增工作区插件推荐同级索引 lithe-plugin-recommendations.json(schemaVersion: 0),不修改 lithe-plugin-index.json(保证 <= 0.8.10 客户端兼容性及现有 plugin-index.schema.json SHA-256 校验不变)。

  • lithe-plugin-recommendations.json:按 pluginID 排序定义工作区标志文件与扩展名推荐规则:
    • io.github.lithe-idea.go-support(go.mod、go.work、.go)
    • io.github.lithe-idea.gradle-build(build.gradle、build.gradle.kts、settings.gradle、settings.gradle.kts)
    • io.github.lithe-idea.java-support(build.gradle、build.gradle.kts、pom.xml、.java,coveredBy: ["io.github.lithe-idea.java-navigation"])
    • io.github.lithe-idea.maven-build(pom.xml)
  • scripts/validate-recommendations.mjs:校验 schemaVersion: 0、允许字段、标志文件/扩展名/coveredBy 规范、规范格式与排序,并与 lithe-plugin-index.json 交叉校验所有 pluginID 和 coveredBy 是否已上架。
  • scripts/store.test.mjs:补充推荐索引及各类非法输入的单测用例。
  • .github/workflows/validate.yml:在 Validate index 后增加 Validate recommendations 检查步骤。

插件

  • 插件 ID:无新增/修改插件归档(仅引用索引中既有插件 ID)
  • 来源仓库:—
  • 版本 / Release 链接:—

自检

  • 我是该插件的作者或维护者(或已获得授权) (不适用:本次未调整插件发布条目)
  • plugin.json 的 vendor.signatureRequirement 为 "none",ID 不在 dev.lithe.* (不适用:本次未调整插件发布条目)
  • 已在本地运行校验(见下方输出,未改动 lithe-plugin-index.json 及已发布归档):
    • node --test scripts/store.test.mjs:53 passed, 0 failed
    • node scripts/validate-index.mjs lithe-plugin-index.json:7 plugin(s) valid
    • node scripts/validate-recommendations.mjs lithe-plugin-recommendations.json lithe-plugin-index.json:4 recommendation(s) valid
  • 插件要运行的程序都已在 plugin.json 中声明,并在仓库 README 中说明 (不适用)
  • 没有修改已发布版本的 downloadURL / sha256,没有删除历史版本

@1lck
1lck marked this pull request as ready for review November 20, 2026 09:04
@1lck
1lck requested a review from xiaoyumuxi as a code owner November 20, 2026 09:04
@1lck
1lck merged commit 54b664d into main Nov 20, 2026
1 check passed
@1lck
1lck deleted the feat/workspace-plugin-recommendations branch November 20, 2026 09:04
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