dsh-plugin 2.3.3 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "A community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 10000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):10000+ 人工精选社区插件,每日更新。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -35,9 +35,11 @@ export function pluginDetailUrl(plugin: HubPlugin, langPath: string): string {
35
35
  /**
36
36
  * 失败弹窗里仓库地址的跳转目标:官网详情页(含插件收录信息),
37
37
  * 与 issue 正文的 Catalog 链接同一形式(单级 /plugins/{repo})。
38
+ * 官网静态导出只生成全小写路径,GitHub 仓库名大小写不敏感,这里统一转小写,
39
+ * 否则 HuaGuoXingKong/dsh-prompt-rewriter 这类仓库的链接会落到 404。
38
40
  */
39
41
  export function pluginSiteUrl(repo: string): string {
40
- return siteUrl(`plugins/${repo}`)
42
+ return siteUrl(`plugins/${repo.toLowerCase()}`)
41
43
  }
42
44
 
43
45
  /** 错误原因标题(对外英文):点明问题出在哪一侧,便于 issue 列表分流;