dshmarket 1.66.46 → 1.67.0
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 +8 -6
- package/README.zh.md +7 -5
- package/client/client.js +134 -11
- package/lib/backup.js +17 -3
- package/lib/index.js +19 -0
- package/lib/install.js +80 -2
- package/lib/official-desktop.js +131 -7
- package/lib/pending-updates.js +295 -0
- package/lib/routes.js +56 -7
- package/lib/store.js +73 -1
- package/lib/types/dsh-cli.d.ts +12 -0
- package/lib/types/install.d.ts +43 -0
- package/lib/types/official-desktop.d.ts +15 -1
- package/lib/types/pending-updates.d.ts +146 -0
- package/lib/types/store.d.ts +18 -1
- package/lib/update-api-v1.js +4 -0
- package/package.json +1 -1
- package/src/backup.ts +15 -3
- package/src/client/Market.module.css +4 -0
- package/src/client/MarketSection.tsx +131 -13
- package/src/client/index.ts +34 -1
- package/src/client/locales.ts +10 -0
- package/src/client/market-data.ts +5 -0
- package/src/client/market-element.ts +6 -3
- package/src/dsh-cli.ts +12 -0
- package/src/index.ts +19 -0
- package/src/install.ts +88 -2
- package/src/official-desktop.ts +149 -7
- package/src/pending-updates.ts +356 -0
- package/src/routes.ts +56 -7
- package/src/store.ts +67 -1
- package/src/update-api-v1.ts +4 -0
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
[](https://www.npmjs.com/package/dshmarket)
|
|
10
10
|
[](https://github.com/dsh-market/dsh-market)
|
|
11
11
|
|
|
12
|
-
The plugin market inside DeepSeek Harness.
|
|
12
|
+
The plugin market inside DeepSeek Harness. On dsh 0.2.1+ it is a tab on the **Plugins** page, right next to **Installed**; on older hosts open Settings → **Plugin Market**. Browse, search, one-click install.
|
|
13
13
|
|
|
14
14
|
> 📡 **The same catalog is also a plugin market index.** On dsh 0.2.1+, open **Plugins → Discover → Index sources** and add `https://cdn.jsdelivr.net/npm/dsh-plugin-catalog/index.json`. That is this list as a format-1 index, served from npm so it loads quickly everywhere — dsh gives a source 15 seconds, and the GitHub Pages copies (`https://awesome-dsh-plugin.com/index.json` and `https://dshmarket.com/index.json`) can exceed that from some networks. The host's Discover tab and the `plugin_market` agent tool then search it.
|
|
15
15
|
|
|
@@ -23,11 +23,13 @@ One-click themes: install, switch live, no restart.
|
|
|
23
23
|
dsh plugin --profile web add dshmarket
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Restart `dsh web`,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
Restart `dsh web`, open the **Plugins** page, and pick the **Plugin Market**
|
|
27
|
+
tab next to **Installed** (dsh 0.2.1 and newer — plain `dsh web` included, no
|
|
28
|
+
desktop app needed). The market is also still a section of **Settings → Plugin
|
|
29
|
+
Market**: on dsh 0.2.0 and older that is the only way in, and from 0.2.1 the
|
|
30
|
+
Settings dialog lives in the account menu. If you would rather reach it in one
|
|
31
|
+
click from anywhere, the market can also put its own **Plugin Market** row in
|
|
32
|
+
the sidebar; turn it on from the market's card under **Plugins**.
|
|
31
33
|
|
|
32
34
|
A host that runs under another profile name takes the same command with that
|
|
33
35
|
name instead — `dsh plugin --profile <profile> add dshmarket`. On the official
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
[](https://www.npmjs.com/package/dshmarket)
|
|
10
10
|
[](https://github.com/dsh-market/dsh-market)
|
|
11
11
|
|
|
12
|
-
装在 DeepSeek Harness
|
|
12
|
+
装在 DeepSeek Harness 里的插件市场。dsh 0.2.1 起它就在 **插件** 页上,是紧挨着 **已安装** 的一个页签;更早的宿主从设置 → **插件市场** 进入。逛一逛,点一下,装好。
|
|
13
13
|
|
|
14
14
|
> 📡 **同一份目录也是一份插件市场索引。** dsh 0.2.1 起,打开 **插件 → 发现(Discover)→ 索引源(Index sources)**,添加 `https://cdn.jsdelivr.net/npm/dsh-plugin-catalog/index.json`。它就是这份列表的 format 1 索引,放在 npm 上分发,所以在哪里都快——dsh 给索引源的时间只有 15 秒,而 GitHub Pages 上的那两份(`https://awesome-dsh-plugin.com/index.json` 与 `https://dshmarket.com/index.json`)在部分网络下会超过。宿主自己的发现页和 `plugin_market` 智能体工具就能搜索它。
|
|
15
15
|
|
|
@@ -23,9 +23,11 @@
|
|
|
23
23
|
dsh plugin --profile web add dshmarket
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
重启 `dsh web`,打开
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
重启 `dsh web`,打开 **插件** 页,点 **已安装** 旁边的 **插件市场** 页签
|
|
27
|
+
(dsh 0.2.1 及以上;普通的 `dsh web` 就有,不需要桌面端)。市场仍然也是
|
|
28
|
+
**设置 → 插件市场** 里的一个分区:dsh 0.2.0 及以前只有这个入口,0.2.1 起设置
|
|
29
|
+
窗口挪进了账号菜单。想在任何地方一键进入的话,市场也可以在侧边栏放一行
|
|
30
|
+
**插件市场**,在 **插件** 页市场的卡片上打开即可。
|
|
29
31
|
|
|
30
32
|
如果宿主用的不是 `web` 这个 profile,把它的名字写进命令即可:`dsh plugin
|
|
31
33
|
--profile <profile> add dshmarket`。官方 DSH Desktop 桌面端请在应用自己的
|
|
@@ -33,7 +35,7 @@ dsh plugin --profile web add dshmarket
|
|
|
33
35
|
应用运行期间命令行改不了它。
|
|
34
36
|
|
|
35
37
|
**需要 dsh web 0.1.0-rc.6 或更新版本。** 宿主太旧时市场会自我禁用,并在浏览器
|
|
36
|
-
|
|
38
|
+
控制台说明原因,而不是拿缺失的原语去渲染——如果哪里都没出现「插件市场」这
|
|
37
39
|
一项,通常就是这个原因。桌面端要留意:它可能内置了比 `npm` 装到的更旧的 dsh(#139)。
|
|
38
40
|
|
|
39
41
|
## 你会得到
|