dsh-plugin 1.2.0 → 1.2.1

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": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 4000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):4000+ 人工精选社区插件,每日更新。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -18,16 +18,15 @@ export const GITHUB_URL = 'https://github.com/dshplugin/dsh-plugin-hub'
18
18
  export const HUB_REPO = 'dshplugin/dsh-plugin-hub'
19
19
 
20
20
  /**
21
- * Hub 自我更新版本控制中心(接口中心 Pages:api.dsh-plugin.org,原 dsh-update Worker)。
22
- * 发新版后向接口中心管理接口写入最新版本 + Markdown 变更记录(见
23
- * api-center 的 POST /admin/hub),所有已装用户的「可更新」徽标即时出现,
24
- * 不再依赖主站目录数据管道(每日刷新 + 重建站点)。
21
+ * Hub 自我更新版本控制(接口中心 Pages:api.dsh-plugin.org,静态 JSON 发布)。
22
+ * 发新版 = 在 api-center 的 releases/ 写发版记录 + 重新部署,hub.json 随之更新,
23
+ * 所有已装用户的「可更新」徽标即可见,不再依赖主站目录数据管道。
25
24
  * 响应:{ version: string | null, publishedAt: string | null, notes: string | {zh,en} | null }
26
25
  */
27
- export const HUB_UPDATE_URL = 'https://api.dsh-plugin.org/hub'
26
+ export const HUB_UPDATE_URL = 'https://api.dsh-plugin.org/hub.json'
28
27
 
29
- /** 接口中心「关注我们」内容接口(同项目 Pages,key = hub:about,Markdown 推送非写死)。 */
30
- export const HUB_ABOUT_URL = 'https://api.dsh-plugin.org/about'
28
+ /** 接口中心「关注我们」内容(静态 JSON,由 api-center 的 about.md 构建生成,Markdown)。 */
29
+ export const HUB_ABOUT_URL = 'https://api.dsh-plugin.org/about.json'
31
30
 
32
31
  /** 构建时由 tsdown 从 package.json 注入的插件版本号(见 tsdown.config.ts define)。 */
33
32
  declare const __PLUGIN_VERSION__: string