dsh-plugin 1.4.9 → 1.4.11
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 +355 -365
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +45 -19
- package/lib/services/install/npm-check.js +4 -5
- package/lib/services/install/task-queue.js +51 -13
- package/lib/services/probe.js +20 -7
- package/lib/services/profile/profile.js +1 -1
- package/lib/types/http/routes.d.ts +3 -0
- package/lib/types/services/install/install-types.d.ts +2 -0
- package/lib/types/services/install/npm-check.d.ts +1 -1
- package/lib/types/services/install/task-queue.d.ts +7 -0
- package/lib/types/services/probe.d.ts +2 -2
- package/lib/types/services/profile/profile.d.ts +1 -1
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +1 -1
- package/src/client/components/catalog/PluginCard.tsx +2 -2
- package/src/client/components/modals/NotificationsModal.tsx +13 -9
- package/src/client/components/modals/modals.tsx +10 -6
- package/src/client/data/catalog.ts +1 -1
- package/src/client/hooks/useCatalog.ts +2 -2
- package/src/client/locales.ts +7 -0
- package/src/client/logic/constants.ts +1 -1
- package/src/client/logic/failures.ts +76 -95
- package/src/client/logic/urls.ts +5 -2
- package/src/client/styles/InstalledView.module.css +1 -1
- package/src/client/styles/Modal.module.css +2 -2
- package/src/client/types.ts +1 -1
- package/src/server/http/routes.ts +41 -19
- package/src/server/services/install/install-types.ts +2 -0
- package/src/server/services/install/npm-check.ts +4 -5
- package/src/server/services/install/task-queue.ts +49 -12
- package/src/server/services/probe.ts +20 -6
- package/src/server/services/profile/profile.ts +1 -1
package/client/client.js
CHANGED
|
@@ -294,6 +294,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
294
294
|
failNetworkRegistryHint: "你的 npm/pnpm 源(registry)被配置为 {host},插件包需从该源下载但失败了。这通常是内网/自定义源没有同步该包(或需要内网认证)—— 请把 npm/pnpm 的 registry 指回官方源 https://registry.npmjs.org(或确认此源可访问该包)后重试。",
|
|
295
295
|
failNetworkTarget: "无法访问 {url} —— 你的网络连接不通",
|
|
296
296
|
failNetworkRunDiag: "去系统诊断检测网络",
|
|
297
|
+
failOriginRejectedHint: "这次安装请求没有通过插件市场的来源校验,被本地服务直接拒绝,所以安装根本没有开始 —— 与插件本身无关。通常是因为市场页面不是从本机地址打开的(比如用了局域网 IP),或宿主页面的来源未被识别。请从本机的插件市场地址(localhost)重新打开页面后重试;桌面端用户重启一次宿主即可。",
|
|
297
298
|
failDshMissingHint: "系统找不到 dsh 命令(dsh 未加入系统 PATH),无法调用安装器执行安装。请确认 DeepSeek Harness 已正确安装、dsh 已加入 PATH(或重新安装),然后重试。这不是插件本身的问题。",
|
|
298
299
|
failGitMissingHint: "系统找不到 git 命令(Git 未安装或未加入系统 PATH),无法从 GitHub 源安装插件。请先安装 Git(如 git-scm.com/downloads)或把 git 加入 PATH,重启 DSH 后重试。这不是插件本身的问题。",
|
|
299
300
|
failPnpmMissingHint: "安装器找到了 dsh,但系统里没有 pnpm 命令(dsh 用它来管理 profile 插件)。请先安装 pnpm(如 npm install -g pnpm),确认 pnpm 已加入 PATH 后重试。这不是插件本身的问题。",
|
|
@@ -629,6 +630,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
629
630
|
failNetworkRegistryHint: "Your npm/pnpm registry is set to {host}, and the package tarball could not be downloaded from it. This usually means a private/internal mirror that has not synced the package (or requires intranet auth) — point the registry back to https://registry.npmjs.org (or make sure this source can serve the package), then retry.",
|
|
630
631
|
failNetworkTarget: "Cannot reach {url} — your network connection is down",
|
|
631
632
|
failNetworkRunDiag: "Run a network diagnostic",
|
|
633
|
+
failOriginRejectedHint: "This install request did not pass the marketplace origin check and was rejected by the local service, so the install never started — this is not about the plugin itself. It usually means the marketplace page was not opened from a local address (for example a LAN IP), or the host page origin was not recognized. Reopen the marketplace from localhost and retry; on the desktop app, restart the host once.",
|
|
632
634
|
failDshMissingHint: "The dsh command could not be found (it is not on the system PATH), so the installer could not run. Please make sure DeepSeek Harness is installed correctly and dsh is on your PATH (or reinstall it), then retry. This is not a problem with the plugin itself.",
|
|
633
635
|
failGitMissingHint: "The git command could not be found (Git is not installed or not on the system PATH), so GitHub-source plugins cannot be installed. Please install Git (e.g. from git-scm.com/downloads) or add git to your PATH, restart DSH, then retry. This is not a problem with the plugin itself.",
|
|
634
636
|
failPnpmMissingHint: "The installer found dsh, but pnpm is missing on this machine (dsh uses it to manage profile plugins). Please install pnpm first (e.g. npm install -g pnpm), make sure it is on your PATH, then retry. This is not a problem with the plugin itself.",
|
|
@@ -696,42 +698,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
696
698
|
css: css$11
|
|
697
699
|
});
|
|
698
700
|
var Header_module_css_default = {
|
|
699
|
-
"headerTitleRow": "qikqja_headerTitleRow",
|
|
700
|
-
"headerRight": "qikqja_headerRight",
|
|
701
|
-
"adText": "qikqja_adText",
|
|
702
|
-
"versionBtn": "qikqja_versionBtn",
|
|
703
|
-
"segBtn": "qikqja_segBtn",
|
|
704
|
-
"adBanner": "qikqja_adBanner",
|
|
705
|
-
"search": "qikqja_search",
|
|
706
|
-
"githubIcon": "qikqja_githubIcon",
|
|
707
|
-
"version": "qikqja_version",
|
|
708
701
|
"logoIcon": "qikqja_logoIcon",
|
|
709
|
-
"
|
|
702
|
+
"segBtn": "qikqja_segBtn",
|
|
710
703
|
"aboutBtn": "qikqja_aboutBtn",
|
|
711
|
-
"
|
|
704
|
+
"brandTitle": "qikqja_brandTitle",
|
|
705
|
+
"versionBtn": "qikqja_versionBtn",
|
|
706
|
+
"sortGroup": "qikqja_sortGroup",
|
|
712
707
|
"segGroup": "qikqja_segGroup",
|
|
713
|
-
"
|
|
708
|
+
"search": "qikqja_search",
|
|
709
|
+
"tabCount": "qikqja_tabCount",
|
|
710
|
+
"searchRow": "qikqja_searchRow",
|
|
711
|
+
"githubIcon": "qikqja_githubIcon",
|
|
712
|
+
"controls": "qikqja_controls",
|
|
713
|
+
"headerRight": "qikqja_headerRight",
|
|
714
|
+
"tab": "qikqja_tab",
|
|
714
715
|
"langBtn": "qikqja_langBtn",
|
|
715
716
|
"adBadge": "qikqja_adBadge",
|
|
716
|
-
"searchRow": "qikqja_searchRow",
|
|
717
717
|
"segLabel": "qikqja_segLabel",
|
|
718
|
-
"
|
|
719
|
-
"
|
|
718
|
+
"tabsRow": "qikqja_tabsRow",
|
|
719
|
+
"adText": "qikqja_adText",
|
|
720
|
+
"tagline": "qikqja_tagline",
|
|
721
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
722
|
+
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
723
|
+
"adBanner": "qikqja_adBanner",
|
|
720
724
|
"title": "qikqja_title",
|
|
721
|
-
"tabCount": "qikqja_tabCount",
|
|
722
|
-
"githubLink": "qikqja_githubLink",
|
|
723
725
|
"adArrow": "qikqja_adArrow",
|
|
724
|
-
"
|
|
726
|
+
"version": "qikqja_version",
|
|
727
|
+
"root": "qikqja_root",
|
|
728
|
+
"tabs": "qikqja_tabs",
|
|
729
|
+
"tabActive": "qikqja_tabActive",
|
|
725
730
|
"resultCount": "qikqja_resultCount",
|
|
726
731
|
"taglineLink": "qikqja_taglineLink",
|
|
727
|
-
"
|
|
728
|
-
"sortGroup": "qikqja_sortGroup",
|
|
729
|
-
"tabsRow": "qikqja_tabsRow",
|
|
730
|
-
"segBtnActive": "qikqja_segBtnActive",
|
|
732
|
+
"githubLink": "qikqja_githubLink",
|
|
731
733
|
"header": "qikqja_header",
|
|
732
|
-
"
|
|
733
|
-
"
|
|
734
|
-
"
|
|
734
|
+
"copyIcon": "qikqja_copyIcon",
|
|
735
|
+
"resultSeg": "qikqja_resultSeg",
|
|
736
|
+
"segBtnActive": "qikqja_segBtnActive"
|
|
735
737
|
};
|
|
736
738
|
//#endregion
|
|
737
739
|
//#region \0dsh-css:src/client/styles/Modal.module.css.mjs
|
|
@@ -750,136 +752,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
750
752
|
css: css$10
|
|
751
753
|
});
|
|
752
754
|
var Modal_module_css_default = {
|
|
753
|
-
"
|
|
754
|
-
"
|
|
755
|
-
"resultTitle": "BiQ1zG_resultTitle",
|
|
756
|
-
"modalHead": "BiQ1zG_modalHead",
|
|
757
|
-
"aboutContent": "BiQ1zG_aboutContent",
|
|
758
|
-
"detailPathText": "BiQ1zG_detailPathText",
|
|
755
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
756
|
+
"modalCmd": "BiQ1zG_modalCmd",
|
|
759
757
|
"progressTrack": "BiQ1zG_progressTrack",
|
|
758
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
759
|
+
"linkIcon": "BiQ1zG_linkIcon",
|
|
760
|
+
"errorHint": "BiQ1zG_errorHint",
|
|
761
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
760
762
|
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
761
|
-
"
|
|
763
|
+
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
764
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
765
|
+
"failRow": "BiQ1zG_failRow",
|
|
762
766
|
"detailGrid": "BiQ1zG_detailGrid",
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
"failHead": "BiQ1zG_failHead",
|
|
767
|
-
"modalCmd": "BiQ1zG_modalCmd",
|
|
768
|
-
"modal": "BiQ1zG_modal",
|
|
769
|
-
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
770
|
-
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
771
|
-
"errorHint": "BiQ1zG_errorHint",
|
|
772
|
-
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
767
|
+
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
768
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
769
|
+
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
773
770
|
"noticeHead": "BiQ1zG_noticeHead",
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
"
|
|
779
|
-
"
|
|
780
|
-
"
|
|
781
|
-
"
|
|
771
|
+
"queueSection": "BiQ1zG_queueSection",
|
|
772
|
+
"restartNow": "BiQ1zG_restartNow",
|
|
773
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
774
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
775
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
776
|
+
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
777
|
+
"failEmpty": "BiQ1zG_failEmpty",
|
|
778
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
779
|
+
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
780
|
+
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
781
|
+
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
782
|
+
"restartLater": "BiQ1zG_restartLater",
|
|
782
783
|
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"detailLink": "BiQ1zG_detailLink",
|
|
789
|
-
"detailValue": "BiQ1zG_detailValue",
|
|
784
|
+
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
785
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
786
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
787
|
+
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
788
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
790
789
|
"modalInstall": "BiQ1zG_modalInstall",
|
|
791
|
-
"
|
|
792
|
-
"
|
|
793
|
-
"
|
|
790
|
+
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
791
|
+
"aboutModal": "BiQ1zG_aboutModal",
|
|
792
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
793
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
794
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
795
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
796
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
797
|
+
"failList": "BiQ1zG_failList",
|
|
798
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
799
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
800
|
+
"detailDim": "BiQ1zG_detailDim",
|
|
801
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
802
|
+
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
803
|
+
"modalHead": "BiQ1zG_modalHead",
|
|
804
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
805
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
806
|
+
"failKind": "BiQ1zG_failKind",
|
|
807
|
+
"modalCopy": "BiQ1zG_modalCopy",
|
|
808
|
+
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
809
|
+
"failRepo": "BiQ1zG_failRepo",
|
|
810
|
+
"overlayIn": "BiQ1zG_overlayIn",
|
|
811
|
+
"result": "BiQ1zG_result",
|
|
794
812
|
"detailModal": "BiQ1zG_detailModal",
|
|
795
|
-
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
796
813
|
"detailLabel": "BiQ1zG_detailLabel",
|
|
814
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
815
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
816
|
+
"aboutContent": "BiQ1zG_aboutContent",
|
|
817
|
+
"toastIn": "BiQ1zG_toastIn",
|
|
818
|
+
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
819
|
+
"progress": "BiQ1zG_progress",
|
|
820
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
821
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
822
|
+
"failHead": "BiQ1zG_failHead",
|
|
823
|
+
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
824
|
+
"progressText": "BiQ1zG_progressText",
|
|
825
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
826
|
+
"failClear": "BiQ1zG_failClear",
|
|
827
|
+
"resultDesc": "BiQ1zG_resultDesc",
|
|
828
|
+
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
829
|
+
"detailPath": "BiQ1zG_detailPath",
|
|
830
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
831
|
+
"trustHint": "BiQ1zG_trustHint",
|
|
832
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
797
833
|
"noticeTime": "BiQ1zG_noticeTime",
|
|
834
|
+
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
835
|
+
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
836
|
+
"modalRow": "BiQ1zG_modalRow",
|
|
837
|
+
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
838
|
+
"noticeRow": "BiQ1zG_noticeRow",
|
|
798
839
|
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
799
840
|
"stripCancel": "BiQ1zG_stripCancel",
|
|
841
|
+
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
842
|
+
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
843
|
+
"errorBox": "BiQ1zG_errorBox",
|
|
844
|
+
"detailRow": "BiQ1zG_detailRow",
|
|
845
|
+
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
846
|
+
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
847
|
+
"detailValue": "BiQ1zG_detailValue",
|
|
848
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
849
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
850
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
851
|
+
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
800
852
|
"modalTitle": "BiQ1zG_modalTitle",
|
|
801
|
-
"
|
|
802
|
-
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
803
|
-
"trustHint": "BiQ1zG_trustHint",
|
|
804
|
-
"result": "BiQ1zG_result",
|
|
805
|
-
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
806
|
-
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
807
|
-
"failRow": "BiQ1zG_failRow",
|
|
808
|
-
"failRepo": "BiQ1zG_failRepo",
|
|
809
|
-
"modalLabel": "BiQ1zG_modalLabel",
|
|
853
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
810
854
|
"progressFill": "BiQ1zG_progressFill",
|
|
811
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
812
|
-
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
813
|
-
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
814
855
|
"failCopy": "BiQ1zG_failCopy",
|
|
856
|
+
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
857
|
+
"modalDesc": "BiQ1zG_modalDesc",
|
|
858
|
+
"modalLink": "BiQ1zG_modalLink",
|
|
859
|
+
"toastFail": "BiQ1zG_toastFail",
|
|
860
|
+
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
815
861
|
"progressHead": "BiQ1zG_progressHead",
|
|
816
|
-
"restartLater": "BiQ1zG_restartLater",
|
|
817
|
-
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
818
|
-
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
819
|
-
"resultCheck": "BiQ1zG_resultCheck",
|
|
820
|
-
"noticeMain": "BiQ1zG_noticeMain",
|
|
821
|
-
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
822
|
-
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
823
|
-
"aboutModal": "BiQ1zG_aboutModal",
|
|
824
|
-
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
825
|
-
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
826
862
|
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
827
|
-
"
|
|
828
|
-
"
|
|
829
|
-
"
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"
|
|
833
|
-
"
|
|
863
|
+
"modal": "BiQ1zG_modal",
|
|
864
|
+
"detailMono": "BiQ1zG_detailMono",
|
|
865
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
866
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
867
|
+
"queueRow": "BiQ1zG_queueRow",
|
|
868
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
869
|
+
"overlay": "BiQ1zG_overlay",
|
|
834
870
|
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
835
|
-
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
836
871
|
"errorModal": "BiQ1zG_errorModal",
|
|
837
|
-
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
838
|
-
"detailArrow": "BiQ1zG_detailArrow",
|
|
839
|
-
"failKind": "BiQ1zG_failKind",
|
|
840
|
-
"modalIn": "BiQ1zG_modalIn",
|
|
841
|
-
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
842
|
-
"restartNow": "BiQ1zG_restartNow",
|
|
843
|
-
"failList": "BiQ1zG_failList",
|
|
844
|
-
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
845
|
-
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
846
|
-
"progressText": "BiQ1zG_progressText",
|
|
847
|
-
"detailRow": "BiQ1zG_detailRow",
|
|
848
|
-
"progress": "BiQ1zG_progress",
|
|
849
|
-
"overlay": "BiQ1zG_overlay",
|
|
850
|
-
"modalLink": "BiQ1zG_modalLink",
|
|
851
|
-
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
852
|
-
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
853
|
-
"modalDesc": "BiQ1zG_modalDesc",
|
|
854
|
-
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
855
|
-
"noticeList": "BiQ1zG_noticeList",
|
|
856
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
857
|
-
"queuedHint": "BiQ1zG_queuedHint",
|
|
858
|
-
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
859
|
-
"linkIcon": "BiQ1zG_linkIcon",
|
|
860
|
-
"queueSection": "BiQ1zG_queueSection",
|
|
861
|
-
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
862
872
|
"errorTitle": "BiQ1zG_errorTitle",
|
|
863
|
-
"
|
|
864
|
-
"
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
868
|
-
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
869
|
-
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
870
|
-
"logModal": "BiQ1zG_logModal",
|
|
871
|
-
"modalCancel": "BiQ1zG_modalCancel",
|
|
872
|
-
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
873
|
-
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
874
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
875
|
-
"modalActions": "BiQ1zG_modalActions",
|
|
876
|
-
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
877
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
873
|
+
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
874
|
+
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
875
|
+
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
876
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
878
877
|
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
879
|
-
"
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
"
|
|
878
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
879
|
+
"logModal": "BiQ1zG_logModal",
|
|
880
|
+
"toast": "BiQ1zG_toast",
|
|
881
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
882
|
+
"detailStars": "BiQ1zG_detailStars",
|
|
883
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
884
|
+
"aboutMeta": "BiQ1zG_aboutMeta"
|
|
883
885
|
};
|
|
884
886
|
//#endregion
|
|
885
887
|
//#region src/client/logic/install-command.ts
|
|
@@ -938,7 +940,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
938
940
|
/**
|
|
939
941
|
* Hub 自我更新版本控制(接口中心 Pages:api.dsh-plugin.org,静态 JSON 发布)。
|
|
940
942
|
* 发新版 = 在 api-center 的 releases/ 写发版记录 + 重新部署,hub.json 随之更新,
|
|
941
|
-
*
|
|
943
|
+
* 所有已装用户的「可更新」徽标即可见,不经过主站目录数据管道。
|
|
942
944
|
* 响应:{ version: string | null, publishedAt: string | null, notes: string | {zh,en} | null }
|
|
943
945
|
*/
|
|
944
946
|
const HUB_UPDATE_URL = "https://api.dsh-plugin.org/hub.json";
|
|
@@ -949,7 +951,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
949
951
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
950
952
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
951
953
|
*/
|
|
952
|
-
const PLUGIN_VERSION = "1.4.
|
|
954
|
+
const PLUGIN_VERSION = "1.4.11";
|
|
953
955
|
const CATEGORY_ORDER = [
|
|
954
956
|
"interface",
|
|
955
957
|
"session",
|
|
@@ -1586,7 +1588,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1586
1588
|
*/
|
|
1587
1589
|
const hubHasUpdate = (() => {
|
|
1588
1590
|
if (!hubUpdateInfo) return false;
|
|
1589
|
-
if (hubUpdateInfo.version === "1.4.
|
|
1591
|
+
if (hubUpdateInfo.version === "1.4.11") return false;
|
|
1590
1592
|
const publishedAt = hubUpdateInfo.publishedAt;
|
|
1591
1593
|
if (publishedAt) {
|
|
1592
1594
|
const publishedMs = Date.parse(publishedAt);
|
|
@@ -1773,83 +1775,70 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1773
1775
|
return next;
|
|
1774
1776
|
}
|
|
1775
1777
|
/**
|
|
1776
|
-
*
|
|
1777
|
-
*
|
|
1778
|
-
*
|
|
1779
|
-
*
|
|
1780
|
-
*
|
|
1781
|
-
*
|
|
1778
|
+
* 失败归类:把安装输出归到具体成因,供弹窗文案、是否引导提 Issue 与 issue 预填原因使用。
|
|
1779
|
+
* 分界是「本机环境问题」(装任何插件都会同样失败 → 不引导提 Issue)与
|
|
1780
|
+
* 「插件分发/依赖问题」(只影响这个插件 → 引导去仓库提 Issue);各分支的判定顺序有依赖,
|
|
1781
|
+
* 原因见 classifyFailure 内注释。
|
|
1782
|
+
*
|
|
1783
|
+
* 本机环境问题:
|
|
1784
|
+
* - npmTooOld:本机 npm 版本过低或自身缺陷 —— npm arborist 解 peer 依赖时抛 `edgesOut`
|
|
1785
|
+
* (build-ideal-tree.js 内部报错),或服务端已核实版本低于阈值并打了 `[npm-too-low]` 标记
|
|
1786
|
+
* → 引导升级 npm
|
|
1782
1787
|
* - dshMissing:安装器 spawn 的 `dsh` 命令找不到(Windows cmd「不是内部或外部命令」/ POSIX
|
|
1783
|
-
* 「command not found」/ spawn ENOENT
|
|
1784
|
-
* → 提示检查 PATH/重装 DSH,不引导提 Issue
|
|
1788
|
+
* 「command not found」/ spawn ENOENT)→ 提示检查 PATH / 重装 DSH
|
|
1785
1789
|
* - gitMissing:安装器调用 `git` 时找不到可执行文件(Windows cmd「'git' is not recognized」/
|
|
1786
|
-
* POSIX「git: command not found」/ spawn ENOENT
|
|
1787
|
-
*
|
|
1788
|
-
*
|
|
1789
|
-
*
|
|
1790
|
-
*
|
|
1791
|
-
*
|
|
1792
|
-
*
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1795
|
-
*
|
|
1796
|
-
*
|
|
1797
|
-
*
|
|
1798
|
-
*
|
|
1799
|
-
*
|
|
1800
|
-
* -
|
|
1801
|
-
* `
|
|
1802
|
-
*
|
|
1803
|
-
* 当前 pnpm 不认,任何插件装进该 profile 都会失败;不是插件问题(dsh-plugin-hub#14:macOS 下
|
|
1804
|
-
* `ERR_PNPM_UNEXPECTED_STORE` 被误归插件侧失败;dsh-plugin-hub#30:`ERR_PNPM_UNEXPECTED_VIRTUAL_STORE`
|
|
1805
|
-
* 漏判被误归插件侧失败)→ 提示清理 profile 依赖目录重建,不引导提 Issue
|
|
1806
|
-
* - pnpmWorkspace:pnpm 在 workspace 根目录下拒绝安装(`ERR_PNPM_ADDING_TO_ROOT` —— 宿主在
|
|
1807
|
-
* profile 目录里调用 `pnpm add` 时未声明在 workspace 根操作)。profile 目录含
|
|
1808
|
-
* pnpm-workspace.yaml 即被 pnpm 视为 workspace 根,缺 `-w`/`--workspace-root` 就整条命令
|
|
1809
|
-
* 被拒,任何插件都装不上,不是插件问题(dsh-plugin-hub#40)→ 提示在 profile 的 .npmrc 里
|
|
1810
|
-
* 加 `ignore-workspace-root-check=true` 或升级宿主,不引导提 Issue
|
|
1790
|
+
* POSIX「git: command not found」/ spawn ENOENT)→ 提示安装 Git / 加入 PATH
|
|
1791
|
+
* - pnpmMissing:dsh 存在但调用的 `pnpm` 找不到(dsh 报 `pnpm not found on PATH` / POSIX
|
|
1792
|
+
* 「pnpm: command not found」/ spawn ENOENT)—— dsh 用 pnpm 管理 profile 插件
|
|
1793
|
+
* → 提示安装 / 开启 pnpm
|
|
1794
|
+
* - npmMissing:全局 npm 安装通道(`npm install -g …`)spawn 的 `npm` 命令找不到,形态同上
|
|
1795
|
+
* → 提示安装 npm(Node.js 自带)/ 加入 PATH
|
|
1796
|
+
* - pnpmStore:pnpm 报 store / virtual store 位置不匹配(`ERR_PNPM_UNEXPECTED_STORE` /
|
|
1797
|
+
* `ERR_PNPM_UNEXPECTED_VIRTUAL_STORE` / `Unexpected store location`)—— profile 目录里的依赖
|
|
1798
|
+
* 是另一个大版本的 pnpm 生成的(或 profile 目录被复制/移动、virtual-store-dir 配置变化),
|
|
1799
|
+
* 当前 pnpm 出于安全不认 → 提示清理 profile 依赖目录后用当前 pnpm 重建
|
|
1800
|
+
* - pnpmWorkspace:pnpm 拒绝在 workspace 根目录下安装(`ERR_PNPM_ADDING_TO_ROOT`)—— profile
|
|
1801
|
+
* 目录含 pnpm-workspace.yaml 即被 pnpm 视为 workspace 根,宿主调 `pnpm add` 时未声明在根
|
|
1802
|
+
* 操作(缺 `-w`/`--workspace-root`),整条命令被拒 → 提示在 profile 的 .npmrc 里加
|
|
1803
|
+
* `ignore-workspace-root-check=true` 或升级宿主
|
|
1804
|
+
* - originRejected:请求的来源没通过本地 hub 服务的校验(服务端 403,正文是裸的
|
|
1805
|
+
* `untrusted origin`)—— 请求在进入安装流程前就被拒,与 pnpm 无关;常见于用非 localhost 的
|
|
1806
|
+
* 地址(如局域网 IP)打开市场页面,或宿主页面的 origin 未被识别 → 提示从本机地址打开市场后重试
|
|
1811
1807
|
* - pnpmPolicy:pnpm 11 的供应链安全策略拒绝安装(`ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION` /
|
|
1812
|
-
* `Minimum release age` —— 锁文件里包的发布时间还不满 24 小时被拒;`untrusted origin` ——
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1815
|
-
*
|
|
1816
|
-
* origin → 删除 profile 的 node_modules + pnpm-lock.yaml 清掉不受信任来源后重装),不引导提 Issue
|
|
1808
|
+
* `Minimum release age` —— 锁文件里包的发布时间还不满 24 小时被拒;`untrusted origin` ——
|
|
1809
|
+
* 依赖来源未被本机 pnpm 信任)→ 提示按子场景给解法(发布未满 24 小时 → `minimumReleaseAge: 0`
|
|
1810
|
+
* 豁免或等满 24 小时;untrusted origin → 删除 profile 的 node_modules + pnpm-lock.yaml 清掉
|
|
1811
|
+
* 不受信任来源后重装)
|
|
1817
1812
|
* - pnpmUnusedPatch:profile 里留着指向旧版本 dsh-plugin 的 patch 声明,本次安装解析到的版本
|
|
1818
1813
|
* 已经不是它(`ERR_PNPM_UNUSED_PATCH` / `The following patches were not used: dsh-plugin@1.4.2`)
|
|
1819
|
-
* —— pnpm
|
|
1820
|
-
* (dsh-plugin-hub#48:用户升级 dsh-plugin 后旧 patch 条目失配)→ 提示删掉该条目后重试,不引导提 Issue
|
|
1814
|
+
* —— pnpm 发现补丁没被用上即中止整次安装 → 提示删掉该条目后重试
|
|
1821
1815
|
* - fileLocked:pnpm 无法替换 profile 里被其他进程占用的文件(Windows `os error 32`
|
|
1822
|
-
* 「另一个程序正在使用此文件」/ `EBUSY` / `resource busy or locked`)——
|
|
1823
|
-
*
|
|
1816
|
+
* 「另一个程序正在使用此文件」/ `EBUSY` / `resource busy or locked`)—— 通常是宿主进程或
|
|
1817
|
+
* 杀毒软件实时扫描持有句柄 → 提示完全退出宿主后重试
|
|
1824
1818
|
* - accessDenied:pnpm 在 profile 里替换文件时被系统拒绝写入(Windows `os error 5`
|
|
1825
1819
|
* 「拒绝访问」= ERROR_ACCESS_DENIED / Node 的 `EPERM` `EACCES` / `Access is denied`)——
|
|
1826
|
-
*
|
|
1827
|
-
*
|
|
1828
|
-
* 后者是「文件正被占用」,但用户侧处置一致)。任何插件装进该目录都会同样失败,不是插件问题
|
|
1829
|
-
* (dsh-plugin-hub#50:Win 下 `swap: 拒绝访问。 (os error 5)` 漏判,被误报成插件侧安装失败并
|
|
1830
|
-
* 自动提了 issue)→ 提示退出宿主/关杀软后重试,仍失败则检查只读属性并以管理员身份运行,
|
|
1831
|
-
* 不引导提 Issue
|
|
1820
|
+
* 文件/目录被其他进程占用、只读属性、目录 ACL 受限,或杀毒软件实时防护拦截写入
|
|
1821
|
+
* → 提示退出宿主 / 关杀软后重试,仍失败则检查只读属性并以管理员身份运行
|
|
1832
1822
|
* - fsUnavailable:本机文件系统层面根本写不进去 —— 磁盘/分区空间耗尽(`ENOSPC` /
|
|
1833
1823
|
* `no space left on device`,Windows 为 `os error 112`)、目标分卷或挂载点为只读
|
|
1834
1824
|
* (`EROFS` / `read-only file system`,Windows 写保护为 `os error 19`)、进程可用的文件句柄
|
|
1835
|
-
* 被耗尽(`EMFILE` / `ENFILE` / `too many open files
|
|
1836
|
-
*
|
|
1837
|
-
* → 提示按报错代码对号入座(清空间 / 换可写目录 / 重启宿主释放句柄),不引导提 Issue
|
|
1825
|
+
* 被耗尽(`EMFILE` / `ENFILE` / `too many open files`),都发生在 pnpm 落盘阶段
|
|
1826
|
+
* → 提示按报错代码对号入座(清空间 / 换可写目录 / 重启宿主释放句柄)
|
|
1838
1827
|
* - network:安装前连通性预检拦截(服务端 `[network]` 标记)、底层连接失败
|
|
1839
1828
|
* (ERR_PNPM_GIT_FETCH_FAILED / ETIMEDOUT / DNS 解析 / TLS 握手 / 代理拒绝),或
|
|
1840
1829
|
* registry tarball 拉取失败(`fetch failed` / `GET …/-/…tgz error (n)` —— 常见于本机
|
|
1841
1830
|
* npm/pnpm 的 registry 被指向内网/自定义源,该源取不到包),或界面请求压根没送达宿主服务
|
|
1842
|
-
* (浏览器 fetch 的 `Failed to fetch` ——
|
|
1843
|
-
*
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1831
|
+
* (浏览器 fetch 的 `Failed to fetch` —— 宿主未就绪/正在重启,或本地代理拦了回环地址)
|
|
1832
|
+
* → 提示检查网络,registry 指向自定义源时给出换源指引
|
|
1833
|
+
*
|
|
1834
|
+
* 插件分发/依赖问题(引导去仓库提 Issue):
|
|
1846
1835
|
* - pnpmIgnoredBuild:插件自身或依赖的构建脚本被 pnpm 安全白名单(allowBuilds)默认拦截
|
|
1847
|
-
* (`ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED` / `ERR_PNPM_IGNORED_BUILDS
|
|
1848
|
-
*
|
|
1849
|
-
*
|
|
1850
|
-
*
|
|
1851
|
-
*
|
|
1852
|
-
* - repo
|
|
1836
|
+
* (`ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED` / `ERR_PNPM_IGNORED_BUILDS`)—— 只影响带安装期
|
|
1837
|
+
* 构建的插件 → 建议改用预编译版本或关闭安装期构建
|
|
1838
|
+
* - pluginPrepare:插件的 prepare/构建脚本实际执行失败(git tarball 常因缺失子模块或构建产物
|
|
1839
|
+
* 导致),或装后校验发现 package.json 声明的入口文件不在发布物里(服务端 `[packaging]` 标记)
|
|
1840
|
+
* —— 属插件打包/分发问题
|
|
1841
|
+
* - repo:其余失败,默认按插件仓库问题处理
|
|
1853
1842
|
*/
|
|
1854
1843
|
function classifyFailure(message) {
|
|
1855
1844
|
if (/\[npm-too-low\]|edgesOut/i.test(message)) return "npmTooOld";
|
|
@@ -1859,6 +1848,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1859
1848
|
if (/\[dsh-missing\]|不是内部或外部命令|is not recognized as an internal or external command|command not found|spawn dsh ENOENT/i.test(message)) return "dshMissing";
|
|
1860
1849
|
if (/ERR_PNPM_UNEXPECTED_(VIRTUAL_)?STORE|Unexpected (virtual )?store location/i.test(message)) return "pnpmStore";
|
|
1861
1850
|
if (/ERR_PNPM_ADDING_TO_ROOT|add the dependency to the workspace root/i.test(message)) return "pnpmWorkspace";
|
|
1851
|
+
if (/(^|\n)untrusted origin\s*$/.test(message)) return "originRejected";
|
|
1862
1852
|
if (/ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION|Minimum release age|untrusted origin/i.test(message)) return "pnpmPolicy";
|
|
1863
1853
|
if (/ERR_PNPM_UNUSED_PATCH|patches were not used/i.test(message)) return "pnpmUnusedPatch";
|
|
1864
1854
|
if (/os error 32|EBUSY|resource busy or locked|being used by another process/i.test(message)) return "fileLocked";
|
|
@@ -1882,9 +1872,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1882
1872
|
* `Peer dependencies that should be installed`):宿主提供的 peer(@deepseek-ai/*、react、
|
|
1883
1873
|
* dsh-client-* 等,DSH profile 用 autoInstallPeers:false 不自动装)缺失是无害噪音,与插件本身
|
|
1884
1874
|
* 无关 —— 抓核心错误时必须跳过,否则会被 CORE_LINE_RE 的 `missing` 分支误抓、淹没真正的
|
|
1885
|
-
* 错误码(如 git 源的 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED),让 issue 正文只剩一堆 peer WARN
|
|
1886
|
-
* (dsh-plugin-hub#28:anime-find 的 auto-issue 核心错误全是 missing-peer WARN 树,真正的
|
|
1887
|
-
* prepare 错误被盖住)。 */
|
|
1875
|
+
* 错误码(如 git 源的 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED),让 issue 正文只剩一堆 peer WARN。 */
|
|
1888
1876
|
const PEER_WARN_RE = /missing peer|issues with peer dependencies|peer dependencies that should be installed/i;
|
|
1889
1877
|
/** 提交 issue 时正文里错误摘要的上限字符数。GitHub 请求行上限 8192 字节,
|
|
1890
1878
|
* 固定模板与 URL 编码开销约 1~2K,核心错误(以 ASCII 日志为主)可安全带到 ~5K;
|
|
@@ -1950,7 +1938,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1950
1938
|
* 网络类失败消息里,判断是否「npm/pnpm 的 registry 被指向了内网/自定义源导致拉包失败」。
|
|
1951
1939
|
* pnpm 下载包文件的 URL 形如 `<registry>/<pkg>/-/<pkg>-<ver>.tgz`(路径含 `/-/`);
|
|
1952
1940
|
* 若该 tarball 的主机不属于官方/常见公开镜像,说明本机 registry 被配成了私有/内网源
|
|
1953
|
-
* (如公司 Artifactory)——
|
|
1941
|
+
* (如公司 Artifactory)—— 常因源未同步该包、需内网认证或网络策略拦截而失败。
|
|
1954
1942
|
* 返回该主机名供前端给出「检查 registry 配置」的精准提示;官方/公开源或提取不到返回 null,
|
|
1955
1943
|
* 调用方按通用网络问题提示即可。
|
|
1956
1944
|
*/
|
|
@@ -1988,7 +1976,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1988
1976
|
}
|
|
1989
1977
|
/** 按失败类型给出简洁的错误原因标题(对外用英文):
|
|
1990
1978
|
* 标题直接点明问题出在哪一侧(构建白名单/分发物/本机 npm/网络/插件侧),
|
|
1991
|
-
*
|
|
1979
|
+
* 让作者与用户扫一眼列表就能分流,而不是笼统的 Install/Remove 动作词。 */
|
|
1992
1980
|
function reasonTitleOf(kind) {
|
|
1993
1981
|
switch (kind) {
|
|
1994
1982
|
case "npmTooOld": return "npm too old to install";
|
|
@@ -1996,6 +1984,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1996
1984
|
case "pnpmMissing": return "pnpm command not found on the user machine";
|
|
1997
1985
|
case "pnpmStore": return "pnpm store version mismatch on the user machine";
|
|
1998
1986
|
case "pnpmWorkspace": return "pnpm workspace-root check blocked the install on the user machine";
|
|
1987
|
+
case "originRejected": return "request origin rejected by the local service on the user machine";
|
|
1999
1988
|
case "pnpmPolicy": return "pnpm supply-chain policy blocked the install on the user machine";
|
|
2000
1989
|
case "pnpmUnusedPatch": return "stale pnpm patch entry on the user machine";
|
|
2001
1990
|
case "fileLocked": return "file locked by another process on the user machine";
|
|
@@ -2019,7 +2008,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
2019
2008
|
function pluginIssueUrl(repo, message, env, command, attempts) {
|
|
2020
2009
|
const kind = classifyFailure(message);
|
|
2021
2010
|
const title = `[dsh-plugin.org | dsh-plugin-hub] ${reasonTitleOf(kind)}: ${repo}`;
|
|
2022
|
-
const reason = /\[packaging\]/i.test(message) ? "plugin distribution is incomplete — the entry file declared in package.json is missing from the published package (github tarball or npm package); please commit build output or publish a complete package" : kind === "network" ? "network connectivity issue on the user side (DNS, proxy, firewall, or a blocked connection)" : kind === "pluginPrepare" ? "plugin prepare/build script failed during install (packaging/distribution issue)" : kind === "pnpmIgnoredBuild" ? "plugin depends on a native module whose build script pnpm blocks by default (use a prebuilt variant)" : kind === "pnpmPolicy" ? "the pnpm supply-chain policy on the user machine blocked the install (minimum release age for freshly published packages / untrusted origin)" : kind === "pnpmUnusedPatch" ? "the profile keeps a pnpm patch entry for an older dsh-plugin version, so pnpm aborted the install (local config issue)" : kind === "fileLocked" ? "a file in the profile is locked by another process on the user machine (local environment issue)" : kind === "accessDenied" ? "the system denied write access to a file in the profile on the user machine (local environment issue)" : kind === "fsUnavailable" ? "the local file system could not accept the write — no space left, read-only volume, or too many open file handles on the user machine (local environment issue)" : "plugin-side install failure";
|
|
2011
|
+
const reason = /\[packaging\]/i.test(message) ? "plugin distribution is incomplete — the entry file declared in package.json is missing from the published package (github tarball or npm package); please commit build output or publish a complete package" : kind === "network" ? "network connectivity issue on the user side (DNS, proxy, firewall, or a blocked connection)" : kind === "pluginPrepare" ? "plugin prepare/build script failed during install (packaging/distribution issue)" : kind === "pnpmIgnoredBuild" ? "plugin depends on a native module whose build script pnpm blocks by default (use a prebuilt variant)" : kind === "originRejected" ? "the request never reached the install flow — the local service rejected its origin (local environment issue)" : kind === "pnpmPolicy" ? "the pnpm supply-chain policy on the user machine blocked the install (minimum release age for freshly published packages / untrusted origin)" : kind === "pnpmUnusedPatch" ? "the profile keeps a pnpm patch entry for an older dsh-plugin version, so pnpm aborted the install (local config issue)" : kind === "fileLocked" ? "a file in the profile is locked by another process on the user machine (local environment issue)" : kind === "accessDenied" ? "the system denied write access to a file in the profile on the user machine (local environment issue)" : kind === "fsUnavailable" ? "the local file system could not accept the write — no space left, read-only volume, or too many open file handles on the user machine (local environment issue)" : "plugin-side install failure";
|
|
2023
2012
|
const code = coreErrorCode(message);
|
|
2024
2013
|
const build = (coreChars) => {
|
|
2025
2014
|
const body = [
|
|
@@ -3402,7 +3391,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3402
3391
|
}, repo) : null, (0, react.createElement)("button", {
|
|
3403
3392
|
className: Modal_module_css_default.errorCopySoft,
|
|
3404
3393
|
onClick: () => onCopy(copyText)
|
|
3405
|
-
}, t("errorCopy"))), (0, react.createElement)("pre", { className: Modal_module_css_default.errorBox }, message), failureKind === "npmTooOld" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(npmVersion ? "failNpmTooLowV" : "failNpmTooLow", npmVersion ? { v: npmVersion } : void 0)) : failureKind === "dshMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshMissingHint")) : failureKind === "gitMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failGitMissingHint")) : failureKind === "pnpmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmMissingHint")) : failureKind === "npmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failNpmMissingHint")) : failureKind === "pnpmWorkspace" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmWorkspaceHint")) : failureKind === "pnpmStore" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmStoreHint")) : failureKind === "pnpmPolicy" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmPolicyHint")) : failureKind === "pnpmUnusedPatch" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmUnusedPatchHint")) : failureKind === "fileLocked" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint")) : failureKind === "accessDenied" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint")) : failureKind === "fsUnavailable" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint")) : failureKind === "network" ? (0, react.createElement)("div", null, [
|
|
3394
|
+
}, t("errorCopy"))), (0, react.createElement)("pre", { className: Modal_module_css_default.errorBox }, message), failureKind === "npmTooOld" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(npmVersion ? "failNpmTooLowV" : "failNpmTooLow", npmVersion ? { v: npmVersion } : void 0)) : failureKind === "dshMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshMissingHint")) : failureKind === "gitMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failGitMissingHint")) : failureKind === "pnpmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmMissingHint")) : failureKind === "npmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failNpmMissingHint")) : failureKind === "pnpmWorkspace" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmWorkspaceHint")) : failureKind === "pnpmStore" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmStoreHint")) : failureKind === "pnpmPolicy" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmPolicyHint")) : failureKind === "pnpmUnusedPatch" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmUnusedPatchHint")) : failureKind === "fileLocked" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint")) : failureKind === "accessDenied" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint")) : failureKind === "fsUnavailable" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint")) : failureKind === "originRejected" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failOriginRejectedHint")) : failureKind === "network" ? (0, react.createElement)("div", null, [
|
|
3406
3395
|
(() => {
|
|
3407
3396
|
const target = unreachableTargetOf(message);
|
|
3408
3397
|
return target ? (0, react.createElement)("div", { className: Modal_module_css_default.failNetworkTarget }, t("failNetworkTarget", { url: target })) : null;
|
|
@@ -3968,6 +3957,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3968
3957
|
if (kind === "fileLocked") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint"));
|
|
3969
3958
|
if (kind === "accessDenied") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint"));
|
|
3970
3959
|
if (kind === "fsUnavailable") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint"));
|
|
3960
|
+
if (kind === "originRejected") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failOriginRejectedHint"));
|
|
3971
3961
|
if (kind === "network") return (0, react.createElement)("div", null, [
|
|
3972
3962
|
(() => {
|
|
3973
3963
|
const target = unreachableTargetOf(r.message);
|
|
@@ -4177,40 +4167,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4177
4167
|
css: css$9
|
|
4178
4168
|
});
|
|
4179
4169
|
var List_module_css_default = {
|
|
4180
|
-
"
|
|
4181
|
-
"
|
|
4182
|
-
"
|
|
4183
|
-
"
|
|
4184
|
-
"desc": "_3XaZHa_desc",
|
|
4185
|
-
"topics": "_3XaZHa_topics",
|
|
4186
|
-
"installBtn": "_3XaZHa_installBtn",
|
|
4187
|
-
"stateDesc": "_3XaZHa_stateDesc",
|
|
4188
|
-
"footer": "_3XaZHa_footer",
|
|
4189
|
-
"actions": "_3XaZHa_actions",
|
|
4190
|
-
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
4191
|
-
"topic": "_3XaZHa_topic",
|
|
4192
|
-
"verified": "_3XaZHa_verified",
|
|
4193
|
-
"stats": "_3XaZHa_stats",
|
|
4194
|
-
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4195
|
-
"footLink": "_3XaZHa_footLink",
|
|
4196
|
-
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4197
|
-
"cardHead": "_3XaZHa_cardHead",
|
|
4198
|
-
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4199
|
-
"retryBtn": "_3XaZHa_retryBtn",
|
|
4200
|
-
"card": "_3XaZHa_card",
|
|
4201
|
-
"cardSide": "_3XaZHa_cardSide",
|
|
4202
|
-
"list": "_3XaZHa_list",
|
|
4203
|
-
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4204
|
-
"versionBadge": "_3XaZHa_versionBadge",
|
|
4170
|
+
"date": "_3XaZHa_date",
|
|
4171
|
+
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4172
|
+
"fork": "_3XaZHa_fork",
|
|
4173
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
4205
4174
|
"cardMain": "_3XaZHa_cardMain",
|
|
4206
|
-
"
|
|
4175
|
+
"cardHead": "_3XaZHa_cardHead",
|
|
4207
4176
|
"diagBtn": "_3XaZHa_diagBtn",
|
|
4208
|
-
"fork": "_3XaZHa_fork",
|
|
4209
|
-
"date": "_3XaZHa_date",
|
|
4210
4177
|
"star": "_3XaZHa_star",
|
|
4178
|
+
"verified": "_3XaZHa_verified",
|
|
4179
|
+
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4180
|
+
"versionBadge": "_3XaZHa_versionBadge",
|
|
4181
|
+
"state": "_3XaZHa_state",
|
|
4182
|
+
"actions": "_3XaZHa_actions",
|
|
4183
|
+
"cardTitle": "_3XaZHa_cardTitle",
|
|
4184
|
+
"topics": "_3XaZHa_topics",
|
|
4185
|
+
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
4186
|
+
"desc": "_3XaZHa_desc",
|
|
4187
|
+
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4211
4188
|
"detailBtn": "_3XaZHa_detailBtn",
|
|
4189
|
+
"retryBtn": "_3XaZHa_retryBtn",
|
|
4190
|
+
"footer": "_3XaZHa_footer",
|
|
4191
|
+
"list": "_3XaZHa_list",
|
|
4192
|
+
"installBtn": "_3XaZHa_installBtn",
|
|
4193
|
+
"cardSide": "_3XaZHa_cardSide",
|
|
4194
|
+
"topic": "_3XaZHa_topic",
|
|
4212
4195
|
"body": "_3XaZHa_body",
|
|
4213
|
-
"
|
|
4196
|
+
"stateTitle": "_3XaZHa_stateTitle",
|
|
4197
|
+
"card": "_3XaZHa_card",
|
|
4198
|
+
"stats": "_3XaZHa_stats",
|
|
4199
|
+
"stateActions": "_3XaZHa_stateActions",
|
|
4200
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
4201
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
4202
|
+
"footLink": "_3XaZHa_footLink",
|
|
4203
|
+
"installBtnUpdate": "_3XaZHa_installBtnUpdate"
|
|
4214
4204
|
};
|
|
4215
4205
|
//#endregion
|
|
4216
4206
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -4417,15 +4407,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4417
4407
|
css: css$8
|
|
4418
4408
|
});
|
|
4419
4409
|
var SectionTabs_module_css_default = {
|
|
4420
|
-
"noticeCount": "_7tvizq_noticeCount",
|
|
4421
4410
|
"tabCountActive": "_7tvizq_tabCountActive",
|
|
4422
|
-
"
|
|
4423
|
-
"tab": "_7tvizq_tab",
|
|
4411
|
+
"noticeCount": "_7tvizq_noticeCount",
|
|
4424
4412
|
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4425
4413
|
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4426
|
-
"
|
|
4414
|
+
"tabCount": "_7tvizq_tabCount",
|
|
4427
4415
|
"tabIcon": "_7tvizq_tabIcon",
|
|
4428
|
-
"
|
|
4416
|
+
"tabActive": "_7tvizq_tabActive",
|
|
4417
|
+
"root": "_7tvizq_root",
|
|
4418
|
+
"tab": "_7tvizq_tab"
|
|
4429
4419
|
};
|
|
4430
4420
|
//#endregion
|
|
4431
4421
|
//#region src/client/components/layout/SectionTabs.tsx
|
|
@@ -4502,42 +4492,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4502
4492
|
css: css$7
|
|
4503
4493
|
});
|
|
4504
4494
|
var InstalledView_module_css_default = {
|
|
4495
|
+
"updateBadge": "_1nXeGW_updateBadge",
|
|
4496
|
+
"rowDetail": "_1nXeGW_rowDetail",
|
|
4497
|
+
"toolbar": "_1nXeGW_toolbar",
|
|
4498
|
+
"rowDesc": "_1nXeGW_rowDesc",
|
|
4499
|
+
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4500
|
+
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
4501
|
+
"segLabel": "_1nXeGW_segLabel",
|
|
4502
|
+
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4503
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
4505
4504
|
"segRow": "_1nXeGW_segRow",
|
|
4506
|
-
"
|
|
4505
|
+
"rowMain": "_1nXeGW_rowMain",
|
|
4506
|
+
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4507
|
+
"segGroup": "_1nXeGW_segGroup",
|
|
4508
|
+
"searchInput": "_1nXeGW_searchInput",
|
|
4507
4509
|
"segBtn": "_1nXeGW_segBtn",
|
|
4508
|
-
"
|
|
4510
|
+
"rowRepo": "_1nXeGW_rowRepo",
|
|
4511
|
+
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4509
4512
|
"versionBadge": "_1nXeGW_versionBadge",
|
|
4510
|
-
"exampleRow": "_1nXeGW_exampleRow",
|
|
4511
|
-
"root": "_1nXeGW_root",
|
|
4512
|
-
"rowDesc": "_1nXeGW_rowDesc",
|
|
4513
|
-
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4514
|
-
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4515
|
-
"statusInactive": "_1nXeGW_statusInactive",
|
|
4516
|
-
"rowCategory": "_1nXeGW_rowCategory",
|
|
4517
|
-
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4518
|
-
"list": "_1nXeGW_list",
|
|
4519
4513
|
"rowRestart": "_1nXeGW_rowRestart",
|
|
4520
|
-
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4521
|
-
"searchWrap": "_1nXeGW_searchWrap",
|
|
4522
4514
|
"statusDot": "_1nXeGW_statusDot",
|
|
4523
|
-
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4524
|
-
"toolbar": "_1nXeGW_toolbar",
|
|
4525
|
-
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4526
|
-
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4527
|
-
"segLabel": "_1nXeGW_segLabel",
|
|
4528
4515
|
"empty": "_1nXeGW_empty",
|
|
4529
|
-
"
|
|
4530
|
-
"
|
|
4531
|
-
"
|
|
4532
|
-
"
|
|
4533
|
-
"
|
|
4534
|
-
"
|
|
4535
|
-
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4516
|
+
"root": "_1nXeGW_root",
|
|
4517
|
+
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4518
|
+
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4519
|
+
"statusPending": "_1nXeGW_statusPending",
|
|
4520
|
+
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4521
|
+
"exampleRow": "_1nXeGW_exampleRow",
|
|
4536
4522
|
"rowActions": "_1nXeGW_rowActions",
|
|
4537
|
-
"
|
|
4538
|
-
"rowDetail": "_1nXeGW_rowDetail",
|
|
4523
|
+
"searchWrap": "_1nXeGW_searchWrap",
|
|
4539
4524
|
"rowMeta": "_1nXeGW_rowMeta",
|
|
4540
|
-
"
|
|
4525
|
+
"list": "_1nXeGW_list",
|
|
4526
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
4527
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4528
|
+
"row": "_1nXeGW_row",
|
|
4529
|
+
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4530
|
+
"rowCategory": "_1nXeGW_rowCategory"
|
|
4541
4531
|
};
|
|
4542
4532
|
//#endregion
|
|
4543
4533
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -4783,28 +4773,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4783
4773
|
css: css$6
|
|
4784
4774
|
});
|
|
4785
4775
|
var CustomInstallView_module_css_default = {
|
|
4786
|
-
"
|
|
4787
|
-
"
|
|
4788
|
-
"installCardHead": "zISxCG_installCardHead",
|
|
4789
|
-
"installLabel": "zISxCG_installLabel",
|
|
4776
|
+
"helpCmd": "zISxCG_helpCmd",
|
|
4777
|
+
"installExample": "zISxCG_installExample",
|
|
4790
4778
|
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4791
4779
|
"desc": "zISxCG_desc",
|
|
4792
|
-
"
|
|
4780
|
+
"channelOffText": "zISxCG_channelOffText",
|
|
4781
|
+
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4793
4782
|
"root": "zISxCG_root",
|
|
4794
|
-
"
|
|
4783
|
+
"installCardHead": "zISxCG_installCardHead",
|
|
4795
4784
|
"installInputError": "zISxCG_installInputError",
|
|
4796
|
-
"
|
|
4785
|
+
"installRow": "zISxCG_installRow",
|
|
4797
4786
|
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4798
|
-
"
|
|
4799
|
-
"installBtn": "zISxCG_installBtn",
|
|
4800
|
-
"channelOffText": "zISxCG_channelOffText",
|
|
4787
|
+
"installInput": "zISxCG_installInput",
|
|
4801
4788
|
"channelOffBtn": "zISxCG_channelOffBtn",
|
|
4789
|
+
"installLabel": "zISxCG_installLabel",
|
|
4802
4790
|
"helpBody": "zISxCG_helpBody",
|
|
4803
|
-
"helpLine": "zISxCG_helpLine",
|
|
4804
|
-
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4805
|
-
"installExample": "zISxCG_installExample",
|
|
4806
4791
|
"installError": "zISxCG_installError",
|
|
4807
|
-
"
|
|
4792
|
+
"helpNote": "zISxCG_helpNote",
|
|
4793
|
+
"installCard": "zISxCG_installCard",
|
|
4794
|
+
"helpLine": "zISxCG_helpLine",
|
|
4795
|
+
"channelOff": "zISxCG_channelOff",
|
|
4796
|
+
"installCards": "zISxCG_installCards",
|
|
4797
|
+
"installBtn": "zISxCG_installBtn"
|
|
4808
4798
|
};
|
|
4809
4799
|
//#endregion
|
|
4810
4800
|
//#region src/client/components/views/CustomInstallView.tsx
|
|
@@ -5094,30 +5084,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5094
5084
|
css: css$5
|
|
5095
5085
|
});
|
|
5096
5086
|
var SettingsView_module_css_default = {
|
|
5097
|
-
"
|
|
5087
|
+
"settingLabel": "_506LLG_settingLabel",
|
|
5088
|
+
"settingRowStack": "_506LLG_settingRowStack",
|
|
5089
|
+
"navIcon": "_506LLG_navIcon",
|
|
5090
|
+
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5091
|
+
"pageTitle": "_506LLG_pageTitle",
|
|
5098
5092
|
"settingControlStack": "_506LLG_settingControlStack",
|
|
5099
5093
|
"controlDropdown": "_506LLG_controlDropdown",
|
|
5100
|
-
"
|
|
5101
|
-
"textInput": "_506LLG_textInput",
|
|
5094
|
+
"settingTitle": "_506LLG_settingTitle",
|
|
5102
5095
|
"navItemActive": "_506LLG_navItemActive",
|
|
5103
|
-
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5104
|
-
"pageTitle": "_506LLG_pageTitle",
|
|
5105
|
-
"resetBtn": "_506LLG_resetBtn",
|
|
5106
|
-
"root": "_506LLG_root",
|
|
5107
|
-
"settingLabel": "_506LLG_settingLabel",
|
|
5108
|
-
"navItem": "_506LLG_navItem",
|
|
5109
|
-
"settingRowStack": "_506LLG_settingRowStack",
|
|
5110
|
-
"settingControl": "_506LLG_settingControl",
|
|
5111
|
-
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5112
5096
|
"pageHeader": "_506LLG_pageHeader",
|
|
5113
5097
|
"card": "_506LLG_card",
|
|
5114
|
-
"
|
|
5115
|
-
"
|
|
5116
|
-
"
|
|
5098
|
+
"root": "_506LLG_root",
|
|
5099
|
+
"textInput": "_506LLG_textInput",
|
|
5100
|
+
"proxyControl": "_506LLG_proxyControl",
|
|
5101
|
+
"sidebar": "_506LLG_sidebar",
|
|
5102
|
+
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5117
5103
|
"settingDesc": "_506LLG_settingDesc",
|
|
5104
|
+
"proxyHint": "_506LLG_proxyHint",
|
|
5118
5105
|
"content": "_506LLG_content",
|
|
5106
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
5107
|
+
"settingRow": "_506LLG_settingRow",
|
|
5108
|
+
"settingControl": "_506LLG_settingControl",
|
|
5119
5109
|
"pageDesc": "_506LLG_pageDesc",
|
|
5120
|
-
"
|
|
5110
|
+
"navItem": "_506LLG_navItem"
|
|
5121
5111
|
};
|
|
5122
5112
|
//#endregion
|
|
5123
5113
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -5136,18 +5126,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5136
5126
|
css: css$4
|
|
5137
5127
|
});
|
|
5138
5128
|
var Dropdown_module_css_default = {
|
|
5129
|
+
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
5130
|
+
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5139
5131
|
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
5140
|
-
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5141
|
-
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
5142
|
-
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5143
5132
|
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5144
|
-
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
5145
|
-
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5146
5133
|
"dropdown": "B_Gxsq_dropdown",
|
|
5147
|
-
"
|
|
5134
|
+
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5148
5135
|
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5136
|
+
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5137
|
+
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5149
5138
|
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5150
|
-
"
|
|
5139
|
+
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
5140
|
+
"dropdownItemActive": "B_Gxsq_dropdownItemActive"
|
|
5151
5141
|
};
|
|
5152
5142
|
//#endregion
|
|
5153
5143
|
//#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
|
|
@@ -5166,9 +5156,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5166
5156
|
css: css$3
|
|
5167
5157
|
});
|
|
5168
5158
|
var Toggle_module_css_default = {
|
|
5169
|
-
"toggle": "k-cD4G_toggle",
|
|
5170
5159
|
"toggleOn": "k-cD4G_toggleOn",
|
|
5171
|
-
"knob": "k-cD4G_knob"
|
|
5160
|
+
"knob": "k-cD4G_knob",
|
|
5161
|
+
"toggle": "k-cD4G_toggle"
|
|
5172
5162
|
};
|
|
5173
5163
|
//#endregion
|
|
5174
5164
|
//#region src/client/components/ui/Toggle.tsx
|
|
@@ -5268,29 +5258,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5268
5258
|
css: css$2
|
|
5269
5259
|
});
|
|
5270
5260
|
var DiagnosticsView_module_css_default = {
|
|
5271
|
-
"meta": "k9eRya_meta",
|
|
5272
|
-
"diagPulse": "k9eRya_diagPulse",
|
|
5273
5261
|
"headHint": "k9eRya_headHint",
|
|
5274
|
-
"summaryOk": "k9eRya_summaryOk",
|
|
5275
|
-
"row": "k9eRya_row",
|
|
5276
|
-
"envDesc": "k9eRya_envDesc",
|
|
5277
|
-
"badgeRunning": "k9eRya_badgeRunning",
|
|
5278
5262
|
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5279
|
-
"summaryRunning": "k9eRya_summaryRunning",
|
|
5280
|
-
"envTitle": "k9eRya_envTitle",
|
|
5281
|
-
"runBtn": "k9eRya_runBtn",
|
|
5282
|
-
"badge": "k9eRya_badge",
|
|
5283
|
-
"badgeFail": "k9eRya_badgeFail",
|
|
5284
|
-
"summaryFail": "k9eRya_summaryFail",
|
|
5285
5263
|
"envRow": "k9eRya_envRow",
|
|
5264
|
+
"envLabel": "k9eRya_envLabel",
|
|
5286
5265
|
"display": "k9eRya_display",
|
|
5287
|
-
"
|
|
5266
|
+
"envDesc": "k9eRya_envDesc",
|
|
5267
|
+
"runBtn": "k9eRya_runBtn",
|
|
5268
|
+
"badgeFail": "k9eRya_badgeFail",
|
|
5269
|
+
"diagPulse": "k9eRya_diagPulse",
|
|
5288
5270
|
"badgeIdle": "k9eRya_badgeIdle",
|
|
5289
|
-
"
|
|
5271
|
+
"envTitle": "k9eRya_envTitle",
|
|
5272
|
+
"summaryRunning": "k9eRya_summaryRunning",
|
|
5273
|
+
"badgeRunning": "k9eRya_badgeRunning",
|
|
5274
|
+
"row": "k9eRya_row",
|
|
5275
|
+
"badge": "k9eRya_badge",
|
|
5290
5276
|
"badgeOk": "k9eRya_badgeOk",
|
|
5277
|
+
"summaryOk": "k9eRya_summaryOk",
|
|
5291
5278
|
"name": "k9eRya_name",
|
|
5279
|
+
"meta": "k9eRya_meta",
|
|
5292
5280
|
"summary": "k9eRya_summary",
|
|
5293
|
-
"
|
|
5281
|
+
"summaryFail": "k9eRya_summaryFail",
|
|
5282
|
+
"panel": "k9eRya_panel",
|
|
5283
|
+
"head": "k9eRya_head"
|
|
5294
5284
|
};
|
|
5295
5285
|
//#endregion
|
|
5296
5286
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -5468,57 +5458,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5468
5458
|
css: css$1
|
|
5469
5459
|
});
|
|
5470
5460
|
var LogsView_module_css_default = {
|
|
5471
|
-
"
|
|
5472
|
-
"
|
|
5473
|
-
"pathDraft": "_3j77BW_pathDraft",
|
|
5474
|
-
"clearBtn": "_3j77BW_clearBtn",
|
|
5475
|
-
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5476
|
-
"filterChipActive": "_3j77BW_filterChipActive",
|
|
5477
|
-
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5478
|
-
"catSettings": "_3j77BW_catSettings",
|
|
5479
|
-
"list": "_3j77BW_list",
|
|
5461
|
+
"head": "_3j77BW_head",
|
|
5462
|
+
"logList": "_3j77BW_logList",
|
|
5480
5463
|
"event": "_3j77BW_event",
|
|
5481
|
-
"
|
|
5482
|
-
"message": "_3j77BW_message",
|
|
5483
|
-
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5484
|
-
"catBadge": "_3j77BW_catBadge",
|
|
5485
|
-
"pathRow": "_3j77BW_pathRow",
|
|
5464
|
+
"headHint": "_3j77BW_headHint",
|
|
5486
5465
|
"foot": "_3j77BW_foot",
|
|
5487
|
-
"
|
|
5466
|
+
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5488
5467
|
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5489
|
-
"
|
|
5490
|
-
"
|
|
5491
|
-
"
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
5494
|
-
"
|
|
5468
|
+
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5469
|
+
"catUpdate": "_3j77BW_catUpdate",
|
|
5470
|
+
"filterChip": "_3j77BW_filterChip",
|
|
5471
|
+
"empty": "_3j77BW_empty",
|
|
5472
|
+
"more": "_3j77BW_more",
|
|
5473
|
+
"footPath": "_3j77BW_footPath",
|
|
5495
5474
|
"footCount": "_3j77BW_footCount",
|
|
5496
|
-
"panel": "_3j77BW_panel",
|
|
5497
|
-
"catUninstall": "_3j77BW_catUninstall",
|
|
5498
|
-
"pathText": "_3j77BW_pathText",
|
|
5499
|
-
"actions": "_3j77BW_actions",
|
|
5500
|
-
"headHint": "_3j77BW_headHint",
|
|
5501
|
-
"footActions": "_3j77BW_footActions",
|
|
5502
|
-
"logList": "_3j77BW_logList",
|
|
5503
5475
|
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
5504
|
-
"more": "_3j77BW_more",
|
|
5505
|
-
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5506
|
-
"catUpdate": "_3j77BW_catUpdate",
|
|
5507
|
-
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5508
|
-
"moreEnd": "_3j77BW_moreEnd",
|
|
5509
|
-
"footFail": "_3j77BW_footFail",
|
|
5510
5476
|
"headActions": "_3j77BW_headActions",
|
|
5511
|
-
"
|
|
5512
|
-
"search": "_3j77BW_search",
|
|
5513
|
-
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5514
|
-
"previewRow": "_3j77BW_previewRow",
|
|
5477
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
5515
5478
|
"time": "_3j77BW_time",
|
|
5479
|
+
"pathRow": "_3j77BW_pathRow",
|
|
5480
|
+
"pathText": "_3j77BW_pathText",
|
|
5481
|
+
"search": "_3j77BW_search",
|
|
5482
|
+
"moreEnd": "_3j77BW_moreEnd",
|
|
5483
|
+
"filterBar": "_3j77BW_filterBar",
|
|
5484
|
+
"btn": "_3j77BW_btn",
|
|
5485
|
+
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
5486
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5516
5487
|
"badgeError": "_3j77BW_badgeError",
|
|
5517
5488
|
"catInstall": "_3j77BW_catInstall",
|
|
5518
|
-
"
|
|
5519
|
-
"
|
|
5520
|
-
"
|
|
5521
|
-
"
|
|
5489
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5490
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5491
|
+
"pathDialog": "_3j77BW_pathDialog",
|
|
5492
|
+
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5493
|
+
"catUninstall": "_3j77BW_catUninstall",
|
|
5494
|
+
"catSystem": "_3j77BW_catSystem",
|
|
5495
|
+
"badge": "_3j77BW_badge",
|
|
5496
|
+
"catBadge": "_3j77BW_catBadge",
|
|
5497
|
+
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5498
|
+
"footActions": "_3j77BW_footActions",
|
|
5499
|
+
"message": "_3j77BW_message",
|
|
5500
|
+
"actions": "_3j77BW_actions",
|
|
5501
|
+
"entry": "_3j77BW_entry",
|
|
5502
|
+
"clearBtn": "_3j77BW_clearBtn",
|
|
5503
|
+
"catSettings": "_3j77BW_catSettings",
|
|
5504
|
+
"pathDraft": "_3j77BW_pathDraft",
|
|
5505
|
+
"footFail": "_3j77BW_footFail",
|
|
5506
|
+
"panel": "_3j77BW_panel",
|
|
5507
|
+
"pathLabel": "_3j77BW_pathLabel",
|
|
5508
|
+
"searchInput": "_3j77BW_searchInput",
|
|
5509
|
+
"list": "_3j77BW_list",
|
|
5510
|
+
"previewRow": "_3j77BW_previewRow",
|
|
5511
|
+
"filterChipActive": "_3j77BW_filterChipActive"
|
|
5522
5512
|
};
|
|
5523
5513
|
//#endregion
|
|
5524
5514
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -6767,7 +6757,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6767
6757
|
openSection: settingsSection,
|
|
6768
6758
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
6769
6759
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
6770
|
-
info: catalog.hubUpdateInfo ?? { version: "1.4.
|
|
6760
|
+
info: catalog.hubUpdateInfo ?? { version: "1.4.11" },
|
|
6771
6761
|
lang,
|
|
6772
6762
|
t,
|
|
6773
6763
|
hasUpdate: catalog.hubHasUpdate,
|