dshmarket 1.66.28 → 1.66.29
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/client/client.js +21 -21
- package/package.json +1 -1
- package/src/client/HostRecoveryBanner.tsx +2 -1
package/client/client.js
CHANGED
|
@@ -193,7 +193,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
193
193
|
const IconRefreshOutline14 = pickIcon("IconRefreshOutlineRegular", "IconRefreshOutline14");
|
|
194
194
|
const IconSearchOutline16 = pickIcon("IconSearchOutlineRegular", "IconSearchOutline16");
|
|
195
195
|
const IconSparkle16 = pickIcon("IconSparkleRegular", "IconSparkle16");
|
|
196
|
-
const IconWarningOutline16
|
|
196
|
+
const IconWarningOutline16 = pickIcon("IconWarningOutlineRegular", "IconWarningOutline16");
|
|
197
197
|
//#endregion
|
|
198
198
|
//#region src/client/locales.ts
|
|
199
199
|
/** zh/en dictionaries for the Market settings section and install toast. */
|
|
@@ -4192,7 +4192,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
4192
4192
|
size: 13,
|
|
4193
4193
|
className: Market_module_css_default.reassureOk
|
|
4194
4194
|
});
|
|
4195
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
4195
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
4196
4196
|
size: 14,
|
|
4197
4197
|
className: Market_module_css_default.conflictIcon
|
|
4198
4198
|
});
|
|
@@ -4574,14 +4574,14 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
4574
4574
|
children: [
|
|
4575
4575
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4576
4576
|
className: Market_module_css_default.recoverySummary,
|
|
4577
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
4577
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
4578
4578
|
size: 14,
|
|
4579
4579
|
className: Market_module_css_default.bannerIcon
|
|
4580
4580
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: view.failure.summary || t("recoveryNoSummary") })]
|
|
4581
4581
|
}),
|
|
4582
4582
|
view.lastErrors.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4583
4583
|
className: Market_module_css_default.recoverySummary,
|
|
4584
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
4584
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
4585
4585
|
size: 14,
|
|
4586
4586
|
className: Market_module_css_default.bannerIcon
|
|
4587
4587
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [t("recoveryWriteFailed"), view.lastErrors.join("; ")] })]
|
|
@@ -4759,7 +4759,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
4759
4759
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
4760
4760
|
className: Market_module_css_default.banner,
|
|
4761
4761
|
children: [
|
|
4762
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
4762
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
4763
4763
|
size: 14,
|
|
4764
4764
|
className: Market_module_css_default.bannerIcon
|
|
4765
4765
|
}),
|
|
@@ -6679,7 +6679,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
6679
6679
|
const remaining = findings.length - preview.length;
|
|
6680
6680
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6681
6681
|
className: Market_module_css_default.banner,
|
|
6682
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
6682
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
6683
6683
|
size: 14,
|
|
6684
6684
|
className: Market_module_css_default.bannerIcon
|
|
6685
6685
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
@@ -11477,7 +11477,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
11477
11477
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
11478
11478
|
redLines.filter(redLineIsUrgent).map((line) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
11479
11479
|
className: Market_module_css_default.warnLine,
|
|
11480
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
11480
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
11481
11481
|
size: 14,
|
|
11482
11482
|
className: Market_module_css_default.bannerIcon
|
|
11483
11483
|
}), " " + redLineLabel(line)]
|
|
@@ -11676,12 +11676,12 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
11676
11676
|
type: "button",
|
|
11677
11677
|
className: Market_module_css_default.cardBlockedMark,
|
|
11678
11678
|
onClick: openOperations,
|
|
11679
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
11679
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("queuedBadge")]
|
|
11680
11680
|
}) : blocked ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11681
11681
|
type: "button",
|
|
11682
11682
|
className: Market_module_css_default.cardBlockedMark,
|
|
11683
11683
|
onClick: openOperations,
|
|
11684
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
11684
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
|
|
11685
11685
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
11686
11686
|
variant: "primary",
|
|
11687
11687
|
size: "sm",
|
|
@@ -11898,12 +11898,12 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
11898
11898
|
type: "button",
|
|
11899
11899
|
className: Market_module_css_default.cardBlockedMark,
|
|
11900
11900
|
onClick: openOperations,
|
|
11901
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
11901
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("queuedBadge")]
|
|
11902
11902
|
}) : blocked ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
11903
11903
|
type: "button",
|
|
11904
11904
|
className: Market_module_css_default.cardBlockedMark,
|
|
11905
11905
|
onClick: openOperations,
|
|
11906
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
11906
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
|
|
11907
11907
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
11908
11908
|
variant: "primary",
|
|
11909
11909
|
size: "sm",
|
|
@@ -12353,7 +12353,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
12353
12353
|
}),
|
|
12354
12354
|
restoreErrors.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12355
12355
|
className: Market_module_css_default.banner,
|
|
12356
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
12356
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
12357
12357
|
size: 14,
|
|
12358
12358
|
className: Market_module_css_default.bannerIcon
|
|
12359
12359
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
@@ -12465,7 +12465,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
12465
12465
|
}),
|
|
12466
12466
|
activationWarnings.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12467
12467
|
className: Market_module_css_default.banner,
|
|
12468
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
12468
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
12469
12469
|
size: 14,
|
|
12470
12470
|
className: Market_module_css_default.bannerIcon
|
|
12471
12471
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -12487,7 +12487,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
12487
12487
|
}),
|
|
12488
12488
|
tab === "installed" && configNamespaceIssues.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12489
12489
|
className: Market_module_css_default.banner,
|
|
12490
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
12490
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
12491
12491
|
size: 14,
|
|
12492
12492
|
className: Market_module_css_default.bannerIcon
|
|
12493
12493
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -12540,7 +12540,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
12540
12540
|
buildsSkipped !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12541
12541
|
className: Market_module_css_default.banner,
|
|
12542
12542
|
children: [
|
|
12543
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
12543
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
|
|
12544
12544
|
size: 14,
|
|
12545
12545
|
className: Market_module_css_default.bannerIcon
|
|
12546
12546
|
}),
|
|
@@ -14365,7 +14365,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
14365
14365
|
]
|
|
14366
14366
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
|
|
14367
14367
|
className: Market_module_css_default.migrationWarning,
|
|
14368
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14368
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }), t("migrateWarning")]
|
|
14369
14369
|
})]
|
|
14370
14370
|
}),
|
|
14371
14371
|
agentsConfirm !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
@@ -14706,17 +14706,17 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
14706
14706
|
}),
|
|
14707
14707
|
exportState === "fail" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
14708
14708
|
text: t("exportLogFail"),
|
|
14709
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14709
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
|
|
14710
14710
|
onDone: exportToastDone
|
|
14711
14711
|
}),
|
|
14712
14712
|
favoriteError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
14713
14713
|
text: localizeBilingual(favoriteError, lang),
|
|
14714
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14714
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
|
|
14715
14715
|
onDone: favoriteErrorDone
|
|
14716
14716
|
}),
|
|
14717
14717
|
blockError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
14718
14718
|
text: localizeBilingual(blockError, lang),
|
|
14719
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14719
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
|
|
14720
14720
|
onDone: blockErrorDone
|
|
14721
14721
|
}),
|
|
14722
14722
|
blockNotice !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
@@ -14725,7 +14725,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
14725
14725
|
}),
|
|
14726
14726
|
updateExemptError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
14727
14727
|
text: localizeBilingual(updateExemptError, lang),
|
|
14728
|
-
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14728
|
+
icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
|
|
14729
14729
|
onDone: updateExemptErrorDone
|
|
14730
14730
|
}),
|
|
14731
14731
|
updateExemptNotice !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
@@ -14734,7 +14734,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
|
|
|
14734
14734
|
}),
|
|
14735
14735
|
toggled !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
14736
14736
|
text: toggled.name + " " + t(toggled.enabled ? "toastToggledOn" : "toastToggledOff"),
|
|
14737
|
-
icon: toggled.enabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheckOutline16, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16
|
|
14737
|
+
icon: toggled.enabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheckOutline16, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
|
|
14738
14738
|
onDone: toggledDone
|
|
14739
14739
|
})
|
|
14740
14740
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dshmarket",
|
|
3
3
|
"description": "Visual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。",
|
|
4
|
-
"version": "1.66.
|
|
4
|
+
"version": "1.66.29",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
* see — the two patches side by side.
|
|
16
16
|
*/
|
|
17
17
|
import { useCallback, useEffect, useState, type ReactElement } from 'react'
|
|
18
|
-
import { Button
|
|
18
|
+
import { Button } from '@deepseek-ai/dsh-client-ui-primitives'
|
|
19
|
+
import { IconWarningOutline16 } from './icons.ts'
|
|
19
20
|
import css from './Market.module.css'
|
|
20
21
|
import { api } from './market-data.ts'
|
|
21
22
|
import type { Translate } from './market-data.ts'
|