dshmarket 1.21.3 → 1.21.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/README.md +4 -0
- package/README.zh.md +4 -0
- package/client/client.js +19 -0
- package/client/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client/MarketSection.tsx +16 -0
- package/src/client/locales.ts +4 -0
package/README.md
CHANGED
|
@@ -105,6 +105,10 @@ DSHM_REGISTRY_URL=https://your-mirror.example/plugins.json dsh web
|
|
|
105
105
|
|
|
106
106
|
[deepseek-harness-desktop](https://github.com/hairyf/deepseek-harness-desktop) — a native desktop app for DeepSeek Harness built with **Tauri** (Rust + Web): one-click local install and launch with no Node.js setup required. On first run it offers to install this plugin market as a recommended preset.
|
|
107
107
|
|
|
108
|
+
### DeepSeek Harness Desktop (anywhere-labs)
|
|
109
|
+
|
|
110
|
+
[deepseek-harness-desktop](https://github.com/anywhere-labs/deepseek-harness-desktop) — an Electron desktop app for DeepSeek Harness built around the idea that everything is a plugin, including the desktop itself: profile switching, a bundled Node and pnpm, and a recoverable install path that snapshots the profile before a change. [dshdesktop.cn](https://dshdesktop.cn)
|
|
111
|
+
|
|
108
112
|
### DSH Get
|
|
109
113
|
|
|
110
114
|
[DSH Get](https://www.dshget.com/) — a searchable web directory for discovering DeepSeek Harness plugins: category filters, bilingual descriptions, install commands and per-plugin detail pages. Its normalized catalog snapshot is public at [bobby-sheng/dshget-data](https://github.com/bobby-sheng/dshget-data).
|
package/README.zh.md
CHANGED
|
@@ -102,6 +102,10 @@ DSHM_REGISTRY_URL=https://your-mirror.example/plugins.json dsh web
|
|
|
102
102
|
|
|
103
103
|
[deepseek-harness-desktop](https://github.com/hairyf/deepseek-harness-desktop)——基于 **Tauri**(Rust + Web)构建的 DeepSeek Harness 原生桌面客户端:一键本地安装并启动,无需自装 Node.js;首次启动可选择安装本插件市场作为推荐插件。
|
|
104
104
|
|
|
105
|
+
### DeepSeek Harness Desktop(anywhere-labs)
|
|
106
|
+
|
|
107
|
+
[deepseek-harness-desktop](https://github.com/anywhere-labs/deepseek-harness-desktop)——基于 Electron 的 DeepSeek Harness 桌面客户端,理念是「万物皆插件,桌面本身也是插件」:支持 profile 切换、内置 Node 与 pnpm,安装前会先给 profile 拍快照以便回滚。[dshdesktop.cn](https://dshdesktop.cn)
|
|
108
|
+
|
|
105
109
|
### DSH Get
|
|
106
110
|
|
|
107
111
|
[DSH Get](https://www.dshget.com/)——DeepSeek Harness 插件的网页检索目录:分类筛选、中英描述、安装命令与插件详情页;其规范化的目录快照公开在 [bobby-sheng/dshget-data](https://github.com/bobby-sheng/dshget-data)。
|
package/client/client.js
CHANGED
|
@@ -280,6 +280,8 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
280
280
|
progressHint: "首次安装需要下载与解析依赖,大型插件可能需要 1-3 分钟",
|
|
281
281
|
toastReady: "已安装并已生效",
|
|
282
282
|
toastTheme: "已启用。可在 设置 → 插件市场 → 主题 中随时切换",
|
|
283
|
+
toastToggledOn: "已启用",
|
|
284
|
+
toastToggledOff: "已停用,功能立即停止",
|
|
283
285
|
gotIt: "知道了",
|
|
284
286
|
stateLive: "已生效",
|
|
285
287
|
stateRestart: "已安装,重启后生效",
|
|
@@ -653,6 +655,8 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
653
655
|
progressHint: "First installs download and resolve dependencies — large plugins can take 1-3 minutes",
|
|
654
656
|
toastReady: "installed and live",
|
|
655
657
|
toastTheme: "is now active. Switch any time in Settings → Plugin Market → Themes",
|
|
658
|
+
toastToggledOn: "is now on",
|
|
659
|
+
toastToggledOff: "is now off — it stopped working right away",
|
|
656
660
|
gotIt: "Got it",
|
|
657
661
|
stateLive: "Active",
|
|
658
662
|
stateRestart: "Installed — restart to apply",
|
|
@@ -4292,6 +4296,12 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
4292
4296
|
const [removedCount, setRemovedCount] = (0, react.useState)(0);
|
|
4293
4297
|
/** Toggles whose live fiber did not follow the switch — restart to apply. */
|
|
4294
4298
|
const [toggleRestart, setToggleRestart] = (0, react.useState)(0);
|
|
4299
|
+
/** Last completed toggle, shown as a toast (#299). The switch and the row
|
|
4300
|
+
* tag already say the new state, but both live in a row the user may have
|
|
4301
|
+
* scrolled past — a mis-click there goes unnoticed. The toast is fixed on
|
|
4302
|
+
* screen, so it is the part that actually catches an accident. */
|
|
4303
|
+
const [toggled, setToggled] = (0, react.useState)(null);
|
|
4304
|
+
const toggledDone = (0, react.useCallback)(() => setToggled(null), []);
|
|
4295
4305
|
/**
|
|
4296
4306
|
* Dismissal of the host-reported restart notice, keyed to the current boot
|
|
4297
4307
|
* so it reappears after a restart that did not happen and after any new
|
|
@@ -5057,6 +5067,10 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
5057
5067
|
}));
|
|
5058
5068
|
if (body.restart === true) setToggleRestart((n) => n + 1);
|
|
5059
5069
|
if (body.refresh === true) setRefreshNames((names) => names.includes(name) ? names : names.concat(name));
|
|
5070
|
+
if (!reload) setToggled({
|
|
5071
|
+
name,
|
|
5072
|
+
enabled
|
|
5073
|
+
});
|
|
5060
5074
|
refreshInstalled();
|
|
5061
5075
|
if (reload) {
|
|
5062
5076
|
sessionStorage.removeItem("dshm-toast");
|
|
@@ -7531,6 +7545,11 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
7531
7545
|
text: t("exportLogFail"),
|
|
7532
7546
|
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }),
|
|
7533
7547
|
onDone: exportToastDone
|
|
7548
|
+
}),
|
|
7549
|
+
toggled !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
7550
|
+
text: toggled.name + " " + t(toggled.enabled ? "toastToggledOn" : "toastToggledOff"),
|
|
7551
|
+
icon: toggled.enabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutline16, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }),
|
|
7552
|
+
onDone: toggledDone
|
|
7534
7553
|
})
|
|
7535
7554
|
]
|
|
7536
7555
|
});
|