dsh-pick 0.6.0 → 0.6.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/lib/github.js CHANGED
@@ -13,6 +13,7 @@
13
13
 
14
14
  const GRAPHQL = 'https://api.github.com/graphql'
15
15
  const REST = 'https://api.github.com/repos/'
16
+ // 一次 50 个。试过 100 个:每批会有一部分仓库返回空(200 个只查到 147 个,50 个一批是 196 个),时间也省不了多少
16
17
  const BATCH = 50
17
18
 
18
19
  /** 从各种写法的仓库地址里取出 owner/name;不是 GitHub 仓库返回 null */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-pick",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "帮你在 DSH 生态里选对插件:说需求 → 找候选 → 多维比较 → 出结论。下载量是证据,AI 是推理。",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,6 +30,22 @@
30
30
  },
31
31
  "client": {
32
32
  "platform": "web"
33
+ },
34
+ "catalog": {
35
+ "category": "tool",
36
+ "summary": {
37
+ "en": "Pick DSH plugins: an overall ranking that merges several plugin markets, denoised download metrics, GitHub data, one-click install.",
38
+ "zh": "选 DSH 插件:合并几个插件市场的综合榜、去噪后的下载指标、GitHub 数据,榜上一键安装。"
39
+ },
40
+ "capabilities": [
41
+ "webServer",
42
+ "pluginManager",
43
+ "pluginMarket",
44
+ "tools",
45
+ "sidebarRight",
46
+ "sessions",
47
+ "network"
48
+ ]
33
49
  }
34
50
  },
35
51
  "files": [
@@ -54,7 +70,9 @@
54
70
  "plugin-advisor",
55
71
  "pick",
56
72
  "npm-stats",
57
- "plugin-market"
73
+ "plugin-market",
74
+ "marketplace",
75
+ "plugin-manager"
58
76
  ],
59
77
  "license": "MIT",
60
78
  "engines": {