dsh-pick 0.7.6 → 0.7.7

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/README.md CHANGED
@@ -84,6 +84,14 @@ dsh plugin --profile web add github:AIcivilization/dsh-pick # 源码安装
84
84
 
85
85
  ---
86
86
 
87
+ ## 提交你的插件
88
+
89
+ 大部分插件不用提交:npm 上带 `dsh-plugin` 关键字的包,以及 dshmarket、dsh-plugin-shop、dsh-m 精选、DeepSeek 官方收录的插件,每天会自动收进来。
90
+ 不在其中的,用 [「提交插件」表单](https://github.com/AIcivilization/dsh-pick/issues/new?template=submit.yml) 提交(面板排行榜和设置页都有入口),我们核对后收录。
91
+ 收录只解决「能不能进榜」,名次仍按同一套算法算,不会因为提交而加分。
92
+
93
+ ---
94
+
87
95
  ## 为什么需要它
88
96
 
89
97
  npm 官网和各类 stat 站能看数字,但看数字回答不了「我该装哪个」。
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "dsh-pick",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "DSH 插件选型助手:几个插件市场和 npm 的 3 万多个插件合成一个榜,去噪排名、AI 精选、一键安装;插件作者可领 README 排名徽章。",
5
+ "author": "AIcivilization",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "git+https://github.com/AIcivilization/dsh-pick.git"
package/plugin/client.js CHANGED
@@ -397,6 +397,19 @@ window.__ModuleLoader__.load({
397
397
  market ? h(CommandLine, { command: market.url }) : null,
398
398
  ),
399
399
 
400
+ h(Section, { title: L('提交插件', 'Submit a plugin') },
401
+ h('div', null, L(
402
+ 'npm 上带 dsh-plugin 关键字的包、各插件市场收录的插件会自动进榜。你的插件不在其中,可以提交收录;收录只管进榜,名次仍按同一套算法算。',
403
+ 'Packages with the dsh-plugin keyword and plugins listed by the markets are included automatically. If yours is missing, submit it; inclusion does not change how it is ranked.')),
404
+ h('div', { style: { marginTop: 8 } },
405
+ h('a', {
406
+ href: 'https://github.com/' + REPO + '/issues/new?template=submit.yml',
407
+ target: '_blank',
408
+ rel: 'noopener',
409
+ style: { fontSize: 12, color: C.accent, textDecoration: 'none' },
410
+ }, L('提交我的插件 →', 'Submit my plugin →'))),
411
+ ),
412
+
400
413
  h(Section, { title: L('数据口径', 'About the data') },
401
414
  h('div', null, catalog),
402
415
  meta && meta.total ? h('div', { style: { marginTop: 4 } }, meta.source === 'remote'
package/web/panel.html CHANGED
@@ -149,6 +149,8 @@ table.rank td.nm .desc{min-width:150px;display:-webkit-box;-webkit-line-clamp:2;
149
149
  .srcchip.gh{color:var(--t3)}
150
150
  .srcchip.ours{color:var(--warn-text);background:var(--warn-bg)}
151
151
  .cap.disclaim{margin-top:-2px;color:var(--t3);font-size:11px}
152
+ .cap.disclaim .submit{margin-left:6px;color:var(--accent);text-decoration:none;white-space:nowrap}
153
+ .cap.disclaim .submit:hover{text-decoration:underline}
152
154
  table.rank td .sc{font-size:13px;font-weight:700;color:var(--text);cursor:help}
153
155
  /* 排行榜操作列的四个图标一样大:+、安装、GitHub、npm,都是 24×22 */
154
156
  .ib{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:22px;padding:0;margin-right:4px;
@@ -525,7 +527,7 @@ td.down{color:var(--bad);font-weight:600}
525
527
  <button data-b="shop">商店榜</button>
526
528
  </div>
527
529
  <p class="cap" id="rankCap"></p>
528
- <p class="cap disclaim">排名是 dsh-pick 按公开数据用自己的算法算的,不是 DSH / DeepSeek 官方排名,只供参考和比较。</p>
530
+ <p class="cap disclaim">排名是 dsh-pick 按公开数据用自己的算法算的,不是 DSH / DeepSeek 官方排名,只供参考和比较。<a class="submit" href="https://github.com/AIcivilization/dsh-pick/issues/new?template=submit.yml" target="_blank" rel="noopener">没找到你的插件?提交收录</a></p>
529
531
  <div class="filters" id="rankFilters">
530
532
  <button class="chip on" data-board="overall" data-m="rec">综合推荐</button>
531
533
  <button class="chip" data-board="overall" data-m="use">最多人用</button>