dsh-plugin 1.4.6 → 1.4.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/client/client.js +319 -301
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +30 -8
- package/lib/services/probe.js +92 -63
- package/lib/types/services/probe.d.ts +25 -2
- package/package.json +1 -1
- package/src/client/components/views/DiagnosticsView.tsx +11 -4
- package/src/client/components/views/SettingsView.tsx +14 -5
- package/src/client/locales.ts +10 -0
- package/src/server/http/routes.ts +29 -8
- package/src/server/services/probe.ts +113 -63
package/client/client.js
CHANGED
|
@@ -114,6 +114,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
114
114
|
proxyCheckChecking: "正在测试该代理地址…",
|
|
115
115
|
proxyCheckOk: "测试可达,安装与目录请求将统一走该代理",
|
|
116
116
|
proxyCheckFail: "此地址测试不通,仍可保存;请确认代理已开启、地址与端口无误",
|
|
117
|
+
proxyCheckRevocation: "证书吊销检查受阻(Windows Schannel 取不到 CRL/OCSP),握手被中断;属本机 TLS 环境问题,非代理地址不通",
|
|
117
118
|
settingsMirror: "npm 镜像源",
|
|
118
119
|
settingsMirrorDesc: "默认跟随本机 npm 配置;官方源慢可换国内镜像",
|
|
119
120
|
mirrorNone: "未配置(跟随本机 npm 配置)",
|
|
@@ -198,6 +199,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
198
199
|
diagSummaryRunning: "正在检测通道…",
|
|
199
200
|
diagSummaryOk: "全部通道正常",
|
|
200
201
|
diagSummaryFail: "存在不可达通道,点击对应行可重测",
|
|
202
|
+
diagFailRevocation: "证书校验受阻",
|
|
203
|
+
diagFailRevocationHint: "系统 curl 取不到证书吊销信息(Windows Schannel 必需 CRL/OCSP),TLS 握手被中断 —— 这不是网络不通,npm/git 可能照常可用。升级 curl 到 7.70+ 可自动按「尽力而为」处理,或换一个能访问吊销服务的网络。",
|
|
201
204
|
settingsEnvSnapshot: "系统版本",
|
|
202
205
|
settingsEnvSnapshotDesc: "复制宿主版本与系统信息,提交 Issue 时粘贴到正文便于复现",
|
|
203
206
|
settingsEnvCopy: "复制",
|
|
@@ -445,6 +448,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
445
448
|
proxyCheckChecking: "Testing this proxy address…",
|
|
446
449
|
proxyCheckOk: "Reachable — installs and catalog requests will route through it",
|
|
447
450
|
proxyCheckFail: "Unreachable, but you can still save it; make sure the proxy is running and the address and port are correct",
|
|
451
|
+
proxyCheckRevocation: "Certificate revocation check blocked (Windows Schannel could not fetch CRL/OCSP), so the handshake was aborted — a local TLS issue, not a bad proxy address",
|
|
448
452
|
settingsMirror: "npm mirror",
|
|
449
453
|
settingsMirrorDesc: "Unset by default — follows local npm config; pick a domestic mirror if slow",
|
|
450
454
|
mirrorNone: "Unset (follow local npm config)",
|
|
@@ -529,6 +533,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
529
533
|
diagSummaryRunning: "Checking channels…",
|
|
530
534
|
diagSummaryOk: "All channels reachable",
|
|
531
535
|
diagSummaryFail: "Unreachable channel(s) — click a row to re-check",
|
|
536
|
+
diagFailRevocation: "Cert check blocked",
|
|
537
|
+
diagFailRevocationHint: "The system curl cannot fetch certificate revocation info (CRL/OCSP, required by Windows Schannel), so the TLS handshake is aborted — this is not a network outage, and npm/git may still work. curl 7.70+ downgrades the check to best-effort, or switch to a network that can reach the revocation service.",
|
|
532
538
|
settingsEnvSnapshot: "System version",
|
|
533
539
|
settingsEnvSnapshotDesc: "Copy host version and system info for pasting into issue reports",
|
|
534
540
|
settingsEnvCopy: "Copy",
|
|
@@ -690,42 +696,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
690
696
|
css: css$11
|
|
691
697
|
});
|
|
692
698
|
var Header_module_css_default = {
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
"
|
|
699
|
+
"langBtn": "qikqja_langBtn",
|
|
700
|
+
"tabs": "qikqja_tabs",
|
|
701
|
+
"segGroup": "qikqja_segGroup",
|
|
702
|
+
"githubLink": "qikqja_githubLink",
|
|
703
|
+
"segBtn": "qikqja_segBtn",
|
|
698
704
|
"taglineLink": "qikqja_taglineLink",
|
|
699
|
-
"title": "qikqja_title",
|
|
700
705
|
"adBanner": "qikqja_adBanner",
|
|
701
|
-
"
|
|
702
|
-
"
|
|
703
|
-
"
|
|
704
|
-
"
|
|
706
|
+
"copyIcon": "qikqja_copyIcon",
|
|
707
|
+
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
708
|
+
"aboutBtn": "qikqja_aboutBtn",
|
|
709
|
+
"githubIcon": "qikqja_githubIcon",
|
|
710
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
711
|
+
"segBtnActive": "qikqja_segBtnActive",
|
|
712
|
+
"tagline": "qikqja_tagline",
|
|
705
713
|
"root": "qikqja_root",
|
|
706
714
|
"resultCount": "qikqja_resultCount",
|
|
707
|
-
"
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
"
|
|
715
|
+
"adText": "qikqja_adText",
|
|
716
|
+
"title": "qikqja_title",
|
|
717
|
+
"tab": "qikqja_tab",
|
|
718
|
+
"adBadge": "qikqja_adBadge",
|
|
711
719
|
"brandTitle": "qikqja_brandTitle",
|
|
712
|
-
"
|
|
713
|
-
"aboutBtn": "qikqja_aboutBtn",
|
|
714
|
-
"controls": "qikqja_controls",
|
|
715
|
-
"headerTitleRow": "qikqja_headerTitleRow",
|
|
716
|
-
"segGroup": "qikqja_segGroup",
|
|
717
|
-
"searchRow": "qikqja_searchRow",
|
|
718
|
-
"tabs": "qikqja_tabs",
|
|
719
|
-
"copyIcon": "qikqja_copyIcon",
|
|
720
|
+
"headerRight": "qikqja_headerRight",
|
|
720
721
|
"tabsRow": "qikqja_tabsRow",
|
|
721
|
-
"
|
|
722
|
+
"resultSeg": "qikqja_resultSeg",
|
|
723
|
+
"segLabel": "qikqja_segLabel",
|
|
724
|
+
"search": "qikqja_search",
|
|
725
|
+
"version": "qikqja_version",
|
|
722
726
|
"header": "qikqja_header",
|
|
723
|
-
"adText": "qikqja_adText",
|
|
724
|
-
"langBtn": "qikqja_langBtn",
|
|
725
727
|
"versionBtn": "qikqja_versionBtn",
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
"
|
|
728
|
+
"sortGroup": "qikqja_sortGroup",
|
|
729
|
+
"searchRow": "qikqja_searchRow",
|
|
730
|
+
"logoIcon": "qikqja_logoIcon",
|
|
731
|
+
"controls": "qikqja_controls",
|
|
732
|
+
"tabCount": "qikqja_tabCount",
|
|
733
|
+
"adArrow": "qikqja_adArrow",
|
|
734
|
+
"tabActive": "qikqja_tabActive"
|
|
729
735
|
};
|
|
730
736
|
//#endregion
|
|
731
737
|
//#region \0dsh-css:src/client/styles/Modal.module.css.mjs
|
|
@@ -744,136 +750,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
744
750
|
css: css$10
|
|
745
751
|
});
|
|
746
752
|
var Modal_module_css_default = {
|
|
747
|
-
"
|
|
748
|
-
"
|
|
749
|
-
"
|
|
750
|
-
"
|
|
751
|
-
"
|
|
752
|
-
"
|
|
753
|
-
"
|
|
754
|
-
"modalCopy": "BiQ1zG_modalCopy",
|
|
755
|
-
"failHead": "BiQ1zG_failHead",
|
|
756
|
-
"queuedHint": "BiQ1zG_queuedHint",
|
|
757
|
-
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
758
|
-
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
759
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
760
|
-
"modalRow": "BiQ1zG_modalRow",
|
|
761
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
762
|
-
"failRepo": "BiQ1zG_failRepo",
|
|
763
|
-
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
764
|
-
"errorTitle": "BiQ1zG_errorTitle",
|
|
765
|
-
"noticeHead": "BiQ1zG_noticeHead",
|
|
753
|
+
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
754
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
755
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
756
|
+
"detailGrid": "BiQ1zG_detailGrid",
|
|
757
|
+
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
758
|
+
"errorHint": "BiQ1zG_errorHint",
|
|
759
|
+
"modalTitle": "BiQ1zG_modalTitle",
|
|
766
760
|
"aboutModal": "BiQ1zG_aboutModal",
|
|
761
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
762
|
+
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
763
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
764
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
765
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
766
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
767
|
+
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
768
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
769
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
770
|
+
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
771
|
+
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
772
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
773
|
+
"modal": "BiQ1zG_modal",
|
|
774
|
+
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
767
775
|
"linkIcon": "BiQ1zG_linkIcon",
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
"modalCancel": "BiQ1zG_modalCancel",
|
|
776
|
+
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
777
|
+
"modalCmd": "BiQ1zG_modalCmd",
|
|
778
|
+
"trustHint": "BiQ1zG_trustHint",
|
|
772
779
|
"noticeRow": "BiQ1zG_noticeRow",
|
|
773
|
-
"
|
|
774
|
-
"
|
|
775
|
-
"
|
|
780
|
+
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
781
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
782
|
+
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
783
|
+
"noticeHead": "BiQ1zG_noticeHead",
|
|
784
|
+
"failRepo": "BiQ1zG_failRepo",
|
|
776
785
|
"progressHead": "BiQ1zG_progressHead",
|
|
777
|
-
"
|
|
778
|
-
"resultTitle": "BiQ1zG_resultTitle",
|
|
779
|
-
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
780
|
-
"overlayIn": "BiQ1zG_overlayIn",
|
|
786
|
+
"errorTitle": "BiQ1zG_errorTitle",
|
|
781
787
|
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
786
|
-
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
787
|
-
"modalIn": "BiQ1zG_modalIn",
|
|
788
|
-
"helpModal": "BiQ1zG_helpModal",
|
|
789
|
-
"errorModal": "BiQ1zG_errorModal",
|
|
790
|
-
"queueSection": "BiQ1zG_queueSection",
|
|
791
|
-
"progressFill": "BiQ1zG_progressFill",
|
|
792
|
-
"logModal": "BiQ1zG_logModal",
|
|
788
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
789
|
+
"progress": "BiQ1zG_progress",
|
|
790
|
+
"progressText": "BiQ1zG_progressText",
|
|
793
791
|
"resultDesc": "BiQ1zG_resultDesc",
|
|
794
|
-
"
|
|
795
|
-
"
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"
|
|
799
|
-
"
|
|
800
|
-
"
|
|
792
|
+
"toastFail": "BiQ1zG_toastFail",
|
|
793
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
794
|
+
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
795
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
796
|
+
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
797
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
798
|
+
"failClear": "BiQ1zG_failClear",
|
|
801
799
|
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
800
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
801
|
+
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
802
|
+
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
803
|
+
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
804
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
805
|
+
"detailLabel": "BiQ1zG_detailLabel",
|
|
806
|
+
"modalLink": "BiQ1zG_modalLink",
|
|
807
|
+
"failHead": "BiQ1zG_failHead",
|
|
808
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
809
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
810
|
+
"result": "BiQ1zG_result",
|
|
802
811
|
"queueRow": "BiQ1zG_queueRow",
|
|
812
|
+
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
813
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
814
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
803
815
|
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"
|
|
811
|
-
"
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
"
|
|
815
|
-
"
|
|
816
|
-
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
817
|
-
"modalClose": "BiQ1zG_modalClose",
|
|
818
|
-
"modalDesc": "BiQ1zG_modalDesc",
|
|
819
|
-
"toastFail": "BiQ1zG_toastFail",
|
|
820
|
-
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
821
|
-
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
822
|
-
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
823
|
-
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
824
|
-
"modalBody": "BiQ1zG_modalBody",
|
|
816
|
+
"detailModal": "BiQ1zG_detailModal",
|
|
817
|
+
"detailPath": "BiQ1zG_detailPath",
|
|
818
|
+
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
819
|
+
"detailStars": "BiQ1zG_detailStars",
|
|
820
|
+
"errorModal": "BiQ1zG_errorModal",
|
|
821
|
+
"errorBox": "BiQ1zG_errorBox",
|
|
822
|
+
"failEmpty": "BiQ1zG_failEmpty",
|
|
823
|
+
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
824
|
+
"logModal": "BiQ1zG_logModal",
|
|
825
|
+
"failRow": "BiQ1zG_failRow",
|
|
826
|
+
"queueSection": "BiQ1zG_queueSection",
|
|
827
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
825
828
|
"detailDim": "BiQ1zG_detailDim",
|
|
829
|
+
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
830
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
831
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
832
|
+
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
833
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
834
|
+
"failCopy": "BiQ1zG_failCopy",
|
|
835
|
+
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
836
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
837
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
838
|
+
"failKind": "BiQ1zG_failKind",
|
|
826
839
|
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
827
|
-
"
|
|
828
|
-
"
|
|
829
|
-
"
|
|
840
|
+
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
841
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
842
|
+
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
843
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
844
|
+
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
845
|
+
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
846
|
+
"noticeTime": "BiQ1zG_noticeTime",
|
|
847
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
848
|
+
"restartNow": "BiQ1zG_restartNow",
|
|
849
|
+
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
850
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
851
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
852
|
+
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
853
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
854
|
+
"aboutContent": "BiQ1zG_aboutContent",
|
|
855
|
+
"progressTrack": "BiQ1zG_progressTrack",
|
|
856
|
+
"detailRow": "BiQ1zG_detailRow",
|
|
857
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
858
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
859
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
860
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
861
|
+
"modalCopy": "BiQ1zG_modalCopy",
|
|
862
|
+
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
863
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
864
|
+
"stripCancel": "BiQ1zG_stripCancel",
|
|
865
|
+
"detailValue": "BiQ1zG_detailValue",
|
|
830
866
|
"modalHead": "BiQ1zG_modalHead",
|
|
831
|
-
"
|
|
867
|
+
"overlay": "BiQ1zG_overlay",
|
|
868
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
869
|
+
"modalDesc": "BiQ1zG_modalDesc",
|
|
870
|
+
"modalInstall": "BiQ1zG_modalInstall",
|
|
832
871
|
"toast": "BiQ1zG_toast",
|
|
833
|
-
"
|
|
834
|
-
"detailLink": "BiQ1zG_detailLink",
|
|
835
|
-
"detailRow": "BiQ1zG_detailRow",
|
|
872
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
836
873
|
"toastIn": "BiQ1zG_toastIn",
|
|
837
|
-
"
|
|
838
|
-
"progressText": "BiQ1zG_progressText",
|
|
839
|
-
"overlay": "BiQ1zG_overlay",
|
|
874
|
+
"modalRow": "BiQ1zG_modalRow",
|
|
840
875
|
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
"
|
|
844
|
-
"
|
|
845
|
-
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
846
|
-
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
847
|
-
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
848
|
-
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
849
|
-
"errorHint": "BiQ1zG_errorHint",
|
|
850
|
-
"detailLabel": "BiQ1zG_detailLabel",
|
|
851
|
-
"detailPath": "BiQ1zG_detailPath",
|
|
852
|
-
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
853
|
-
"detailPathText": "BiQ1zG_detailPathText",
|
|
854
|
-
"failCopy": "BiQ1zG_failCopy",
|
|
855
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
856
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
857
|
-
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
858
|
-
"detailArrow": "BiQ1zG_detailArrow",
|
|
859
|
-
"trustHint": "BiQ1zG_trustHint",
|
|
860
|
-
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
861
|
-
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
862
|
-
"failClear": "BiQ1zG_failClear",
|
|
863
|
-
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
864
|
-
"noticeList": "BiQ1zG_noticeList",
|
|
865
|
-
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
866
|
-
"detailGrid": "BiQ1zG_detailGrid",
|
|
867
|
-
"result": "BiQ1zG_result",
|
|
868
|
-
"modal": "BiQ1zG_modal",
|
|
869
|
-
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
870
|
-
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
871
|
-
"modalInstall": "BiQ1zG_modalInstall",
|
|
872
|
-
"noticeTime": "BiQ1zG_noticeTime",
|
|
876
|
+
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
877
|
+
"restartLater": "BiQ1zG_restartLater",
|
|
878
|
+
"overlayIn": "BiQ1zG_overlayIn",
|
|
879
|
+
"progressFill": "BiQ1zG_progressFill",
|
|
873
880
|
"failList": "BiQ1zG_failList",
|
|
874
|
-
"
|
|
875
|
-
"
|
|
876
|
-
"failKindUninstall": "BiQ1zG_failKindUninstall"
|
|
881
|
+
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
882
|
+
"detailMono": "BiQ1zG_detailMono"
|
|
877
883
|
};
|
|
878
884
|
//#endregion
|
|
879
885
|
//#region src/client/logic/install-command.ts
|
|
@@ -943,7 +949,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
943
949
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
944
950
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
945
951
|
*/
|
|
946
|
-
const PLUGIN_VERSION = "1.4.
|
|
952
|
+
const PLUGIN_VERSION = "1.4.7";
|
|
947
953
|
const CATEGORY_ORDER = [
|
|
948
954
|
"interface",
|
|
949
955
|
"session",
|
|
@@ -1580,7 +1586,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1580
1586
|
*/
|
|
1581
1587
|
const hubHasUpdate = (() => {
|
|
1582
1588
|
if (!hubUpdateInfo) return false;
|
|
1583
|
-
if (hubUpdateInfo.version === "1.4.
|
|
1589
|
+
if (hubUpdateInfo.version === "1.4.7") return false;
|
|
1584
1590
|
const publishedAt = hubUpdateInfo.publishedAt;
|
|
1585
1591
|
if (publishedAt) {
|
|
1586
1592
|
const publishedMs = Date.parse(publishedAt);
|
|
@@ -4171,40 +4177,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4171
4177
|
css: css$9
|
|
4172
4178
|
});
|
|
4173
4179
|
var List_module_css_default = {
|
|
4174
|
-
"
|
|
4175
|
-
"
|
|
4176
|
-
"
|
|
4177
|
-
"
|
|
4178
|
-
"
|
|
4179
|
-
"
|
|
4180
|
-
"
|
|
4181
|
-
"
|
|
4182
|
-
"
|
|
4180
|
+
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4181
|
+
"footer": "_3XaZHa_footer",
|
|
4182
|
+
"verified": "_3XaZHa_verified",
|
|
4183
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
4184
|
+
"cardTitle": "_3XaZHa_cardTitle",
|
|
4185
|
+
"cardSide": "_3XaZHa_cardSide",
|
|
4186
|
+
"state": "_3XaZHa_state",
|
|
4187
|
+
"diagBtn": "_3XaZHa_diagBtn",
|
|
4188
|
+
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4189
|
+
"body": "_3XaZHa_body",
|
|
4183
4190
|
"card": "_3XaZHa_card",
|
|
4184
4191
|
"stats": "_3XaZHa_stats",
|
|
4185
|
-
"
|
|
4186
|
-
"cardHead": "_3XaZHa_cardHead",
|
|
4192
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
4187
4193
|
"actions": "_3XaZHa_actions",
|
|
4194
|
+
"installBtn": "_3XaZHa_installBtn",
|
|
4195
|
+
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4188
4196
|
"retryBtn": "_3XaZHa_retryBtn",
|
|
4189
|
-
"
|
|
4190
|
-
"
|
|
4191
|
-
"
|
|
4192
|
-
"star": "_3XaZHa_star",
|
|
4193
|
-
"stateDesc": "_3XaZHa_stateDesc",
|
|
4194
|
-
"stateTitle": "_3XaZHa_stateTitle",
|
|
4197
|
+
"topics": "_3XaZHa_topics",
|
|
4198
|
+
"list": "_3XaZHa_list",
|
|
4199
|
+
"cardMain": "_3XaZHa_cardMain",
|
|
4195
4200
|
"stateActions": "_3XaZHa_stateActions",
|
|
4201
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
4196
4202
|
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
4197
|
-
"footer": "_3XaZHa_footer",
|
|
4198
|
-
"list": "_3XaZHa_list",
|
|
4199
|
-
"body": "_3XaZHa_body",
|
|
4200
|
-
"desc": "_3XaZHa_desc",
|
|
4201
|
-
"state": "_3XaZHa_state",
|
|
4202
|
-
"cardSide": "_3XaZHa_cardSide",
|
|
4203
|
-
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4204
|
-
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4205
4203
|
"detailBtn": "_3XaZHa_detailBtn",
|
|
4204
|
+
"star": "_3XaZHa_star",
|
|
4205
|
+
"footLink": "_3XaZHa_footLink",
|
|
4206
4206
|
"topic": "_3XaZHa_topic",
|
|
4207
|
-
"
|
|
4207
|
+
"date": "_3XaZHa_date",
|
|
4208
|
+
"cardHead": "_3XaZHa_cardHead",
|
|
4209
|
+
"desc": "_3XaZHa_desc",
|
|
4210
|
+
"fork": "_3XaZHa_fork",
|
|
4211
|
+
"versionBadge": "_3XaZHa_versionBadge",
|
|
4212
|
+
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4213
|
+
"stateTitle": "_3XaZHa_stateTitle"
|
|
4208
4214
|
};
|
|
4209
4215
|
//#endregion
|
|
4210
4216
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -4411,15 +4417,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4411
4417
|
css: css$8
|
|
4412
4418
|
});
|
|
4413
4419
|
var SectionTabs_module_css_default = {
|
|
4414
|
-
"tabCount": "_7tvizq_tabCount",
|
|
4415
4420
|
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4421
|
+
"tabCountActive": "_7tvizq_tabCountActive",
|
|
4422
|
+
"noticeCount": "_7tvizq_noticeCount",
|
|
4416
4423
|
"tabActive": "_7tvizq_tabActive",
|
|
4417
4424
|
"tabIcon": "_7tvizq_tabIcon",
|
|
4418
|
-
"
|
|
4419
|
-
"noticeCount": "_7tvizq_noticeCount",
|
|
4420
|
-
"tabCountActive": "_7tvizq_tabCountActive",
|
|
4425
|
+
"tab": "_7tvizq_tab",
|
|
4421
4426
|
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4422
|
-
"
|
|
4427
|
+
"root": "_7tvizq_root",
|
|
4428
|
+
"tabCount": "_7tvizq_tabCount"
|
|
4423
4429
|
};
|
|
4424
4430
|
//#endregion
|
|
4425
4431
|
//#region src/client/components/layout/SectionTabs.tsx
|
|
@@ -4496,42 +4502,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4496
4502
|
css: css$7
|
|
4497
4503
|
});
|
|
4498
4504
|
var InstalledView_module_css_default = {
|
|
4505
|
+
"rowDetail": "_1nXeGW_rowDetail",
|
|
4506
|
+
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4507
|
+
"rowMain": "_1nXeGW_rowMain",
|
|
4508
|
+
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4509
|
+
"rowDesc": "_1nXeGW_rowDesc",
|
|
4510
|
+
"rowRepo": "_1nXeGW_rowRepo",
|
|
4511
|
+
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4512
|
+
"rowMeta": "_1nXeGW_rowMeta",
|
|
4499
4513
|
"toolbar": "_1nXeGW_toolbar",
|
|
4500
|
-
"empty": "_1nXeGW_empty",
|
|
4501
4514
|
"root": "_1nXeGW_root",
|
|
4515
|
+
"empty": "_1nXeGW_empty",
|
|
4502
4516
|
"statusPending": "_1nXeGW_statusPending",
|
|
4517
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
4503
4518
|
"versionBadge": "_1nXeGW_versionBadge",
|
|
4504
|
-
"
|
|
4505
|
-
"
|
|
4519
|
+
"segRow": "_1nXeGW_segRow",
|
|
4520
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
4506
4521
|
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4507
|
-
"
|
|
4522
|
+
"segLabel": "_1nXeGW_segLabel",
|
|
4523
|
+
"searchInput": "_1nXeGW_searchInput",
|
|
4524
|
+
"segGroup": "_1nXeGW_segGroup",
|
|
4525
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4508
4526
|
"row": "_1nXeGW_row",
|
|
4509
|
-
"statusDot": "_1nXeGW_statusDot",
|
|
4510
|
-
"rowMeta": "_1nXeGW_rowMeta",
|
|
4511
|
-
"rowTitle": "_1nXeGW_rowTitle",
|
|
4512
|
-
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4513
|
-
"list": "_1nXeGW_list",
|
|
4514
|
-
"rowMain": "_1nXeGW_rowMain",
|
|
4515
|
-
"rowActions": "_1nXeGW_rowActions",
|
|
4516
4527
|
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4517
|
-
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4518
4528
|
"rowCategory": "_1nXeGW_rowCategory",
|
|
4519
|
-
"rowRestart": "_1nXeGW_rowRestart",
|
|
4520
|
-
"updateBadge": "_1nXeGW_updateBadge",
|
|
4521
|
-
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4522
4529
|
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4523
|
-
"
|
|
4524
|
-
"
|
|
4530
|
+
"list": "_1nXeGW_list",
|
|
4531
|
+
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4532
|
+
"exampleRow": "_1nXeGW_exampleRow",
|
|
4533
|
+
"rowActions": "_1nXeGW_rowActions",
|
|
4534
|
+
"rowRestart": "_1nXeGW_rowRestart",
|
|
4535
|
+
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4525
4536
|
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
4526
|
-
"segRow": "_1nXeGW_segRow",
|
|
4527
|
-
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4528
|
-
"rowDetail": "_1nXeGW_rowDetail",
|
|
4529
|
-
"searchInput": "_1nXeGW_searchInput",
|
|
4530
|
-
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4531
4537
|
"searchWrap": "_1nXeGW_searchWrap",
|
|
4532
|
-
"
|
|
4533
|
-
"
|
|
4534
|
-
"
|
|
4538
|
+
"segBtn": "_1nXeGW_segBtn",
|
|
4539
|
+
"statusDot": "_1nXeGW_statusDot",
|
|
4540
|
+
"updateBadge": "_1nXeGW_updateBadge"
|
|
4535
4541
|
};
|
|
4536
4542
|
//#endregion
|
|
4537
4543
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -4777,28 +4783,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4777
4783
|
css: css$6
|
|
4778
4784
|
});
|
|
4779
4785
|
var CustomInstallView_module_css_default = {
|
|
4780
|
-
"
|
|
4781
|
-
"
|
|
4786
|
+
"helpLine": "zISxCG_helpLine",
|
|
4787
|
+
"channelOff": "zISxCG_channelOff",
|
|
4782
4788
|
"installError": "zISxCG_installError",
|
|
4789
|
+
"channelOffBtn": "zISxCG_channelOffBtn",
|
|
4790
|
+
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4783
4791
|
"helpBody": "zISxCG_helpBody",
|
|
4784
|
-
"helpLine": "zISxCG_helpLine",
|
|
4785
|
-
"helpCmd": "zISxCG_helpCmd",
|
|
4786
|
-
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4787
|
-
"root": "zISxCG_root",
|
|
4788
|
-
"desc": "zISxCG_desc",
|
|
4789
|
-
"installCards": "zISxCG_installCards",
|
|
4790
|
-
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4791
|
-
"installLabel": "zISxCG_installLabel",
|
|
4792
|
-
"installExample": "zISxCG_installExample",
|
|
4793
|
-
"installRow": "zISxCG_installRow",
|
|
4794
4792
|
"installInput": "zISxCG_installInput",
|
|
4793
|
+
"root": "zISxCG_root",
|
|
4795
4794
|
"installInputError": "zISxCG_installInputError",
|
|
4796
|
-
"
|
|
4797
|
-
"
|
|
4795
|
+
"helpNote": "zISxCG_helpNote",
|
|
4796
|
+
"helpCmd": "zISxCG_helpCmd",
|
|
4797
|
+
"installExample": "zISxCG_installExample",
|
|
4798
|
+
"installCards": "zISxCG_installCards",
|
|
4798
4799
|
"installCardHead": "zISxCG_installCardHead",
|
|
4800
|
+
"installLabel": "zISxCG_installLabel",
|
|
4801
|
+
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4799
4802
|
"channelOffText": "zISxCG_channelOffText",
|
|
4800
|
-
"
|
|
4801
|
-
"
|
|
4803
|
+
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4804
|
+
"installBtn": "zISxCG_installBtn",
|
|
4805
|
+
"desc": "zISxCG_desc",
|
|
4806
|
+
"installRow": "zISxCG_installRow",
|
|
4807
|
+
"installCard": "zISxCG_installCard"
|
|
4802
4808
|
};
|
|
4803
4809
|
//#endregion
|
|
4804
4810
|
//#region src/client/components/views/CustomInstallView.tsx
|
|
@@ -5088,30 +5094,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5088
5094
|
css: css$5
|
|
5089
5095
|
});
|
|
5090
5096
|
var SettingsView_module_css_default = {
|
|
5091
|
-
"
|
|
5097
|
+
"settingRowStack": "_506LLG_settingRowStack",
|
|
5098
|
+
"controlDropdown": "_506LLG_controlDropdown",
|
|
5099
|
+
"proxyControl": "_506LLG_proxyControl",
|
|
5100
|
+
"settingLabel": "_506LLG_settingLabel",
|
|
5101
|
+
"navItemActive": "_506LLG_navItemActive",
|
|
5102
|
+
"navIcon": "_506LLG_navIcon",
|
|
5103
|
+
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5104
|
+
"content": "_506LLG_content",
|
|
5105
|
+
"settingControlStack": "_506LLG_settingControlStack",
|
|
5092
5106
|
"card": "_506LLG_card",
|
|
5107
|
+
"pageDesc": "_506LLG_pageDesc",
|
|
5093
5108
|
"settingRow": "_506LLG_settingRow",
|
|
5094
5109
|
"textInput": "_506LLG_textInput",
|
|
5095
|
-
"
|
|
5110
|
+
"settingDesc": "_506LLG_settingDesc",
|
|
5096
5111
|
"root": "_506LLG_root",
|
|
5097
|
-
"settingLabel": "_506LLG_settingLabel",
|
|
5098
|
-
"settingControlStack": "_506LLG_settingControlStack",
|
|
5099
|
-
"sidebar": "_506LLG_sidebar",
|
|
5100
5112
|
"proxyHint": "_506LLG_proxyHint",
|
|
5101
|
-
"settingRowStack": "_506LLG_settingRowStack",
|
|
5102
|
-
"pageHeader": "_506LLG_pageHeader",
|
|
5103
5113
|
"settingTitle": "_506LLG_settingTitle",
|
|
5104
|
-
"navIcon": "_506LLG_navIcon",
|
|
5105
|
-
"settingDesc": "_506LLG_settingDesc",
|
|
5106
|
-
"controlDropdown": "_506LLG_controlDropdown",
|
|
5107
|
-
"navItem": "_506LLG_navItem",
|
|
5108
|
-
"navItemActive": "_506LLG_navItemActive",
|
|
5109
5114
|
"pageTitle": "_506LLG_pageTitle",
|
|
5110
|
-
"proxyControl": "_506LLG_proxyControl",
|
|
5111
5115
|
"settingControl": "_506LLG_settingControl",
|
|
5116
|
+
"pageHeader": "_506LLG_pageHeader",
|
|
5112
5117
|
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5113
|
-
"
|
|
5114
|
-
"
|
|
5118
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
5119
|
+
"sidebar": "_506LLG_sidebar",
|
|
5120
|
+
"navItem": "_506LLG_navItem"
|
|
5115
5121
|
};
|
|
5116
5122
|
//#endregion
|
|
5117
5123
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -5130,18 +5136,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5130
5136
|
css: css$4
|
|
5131
5137
|
});
|
|
5132
5138
|
var Dropdown_module_css_default = {
|
|
5133
|
-
"
|
|
5134
|
-
"dropdown": "B_Gxsq_dropdown",
|
|
5135
|
-
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5139
|
+
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5136
5140
|
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5137
|
-
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5138
|
-
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5139
5141
|
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
5140
5142
|
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
5141
|
-
"
|
|
5142
|
-
"
|
|
5143
|
+
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5144
|
+
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
5145
|
+
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5143
5146
|
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5144
|
-
"
|
|
5147
|
+
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5148
|
+
"dropdown": "B_Gxsq_dropdown",
|
|
5149
|
+
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5150
|
+
"dropdownItemActive": "B_Gxsq_dropdownItemActive"
|
|
5145
5151
|
};
|
|
5146
5152
|
//#endregion
|
|
5147
5153
|
//#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
|
|
@@ -5262,29 +5268,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5262
5268
|
css: css$2
|
|
5263
5269
|
});
|
|
5264
5270
|
var DiagnosticsView_module_css_default = {
|
|
5265
|
-
"
|
|
5266
|
-
"summary": "k9eRya_summary",
|
|
5267
|
-
"badgeOk": "k9eRya_badgeOk",
|
|
5268
|
-
"badgeRunning": "k9eRya_badgeRunning",
|
|
5269
|
-
"envTitle": "k9eRya_envTitle",
|
|
5270
|
-
"meta": "k9eRya_meta",
|
|
5271
|
-
"badgeFail": "k9eRya_badgeFail",
|
|
5271
|
+
"envRow": "k9eRya_envRow",
|
|
5272
5272
|
"panel": "k9eRya_panel",
|
|
5273
|
+
"badgeRunning": "k9eRya_badgeRunning",
|
|
5274
|
+
"display": "k9eRya_display",
|
|
5275
|
+
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5273
5276
|
"badge": "k9eRya_badge",
|
|
5274
|
-
"
|
|
5277
|
+
"badgeFail": "k9eRya_badgeFail",
|
|
5278
|
+
"badgeIdle": "k9eRya_badgeIdle",
|
|
5279
|
+
"envLabel": "k9eRya_envLabel",
|
|
5275
5280
|
"head": "k9eRya_head",
|
|
5276
5281
|
"envDesc": "k9eRya_envDesc",
|
|
5277
|
-
"headHint": "k9eRya_headHint",
|
|
5278
5282
|
"name": "k9eRya_name",
|
|
5279
|
-
"
|
|
5280
|
-
"
|
|
5281
|
-
"badgeIdle": "k9eRya_badgeIdle",
|
|
5283
|
+
"badgeOk": "k9eRya_badgeOk",
|
|
5284
|
+
"summary": "k9eRya_summary",
|
|
5282
5285
|
"summaryRunning": "k9eRya_summaryRunning",
|
|
5283
|
-
"summaryFail": "k9eRya_summaryFail",
|
|
5284
|
-
"envRow": "k9eRya_envRow",
|
|
5285
5286
|
"diagPulse": "k9eRya_diagPulse",
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5287
|
+
"envTitle": "k9eRya_envTitle",
|
|
5288
|
+
"headHint": "k9eRya_headHint",
|
|
5289
|
+
"runBtn": "k9eRya_runBtn",
|
|
5290
|
+
"meta": "k9eRya_meta",
|
|
5291
|
+
"summaryFail": "k9eRya_summaryFail",
|
|
5292
|
+
"row": "k9eRya_row",
|
|
5293
|
+
"summaryOk": "k9eRya_summaryOk"
|
|
5288
5294
|
};
|
|
5289
5295
|
//#endregion
|
|
5290
5296
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -5366,7 +5372,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5366
5372
|
patchRows(key, {
|
|
5367
5373
|
status: "running",
|
|
5368
5374
|
ms: null,
|
|
5369
|
-
statusCode: null
|
|
5375
|
+
statusCode: null,
|
|
5376
|
+
reason: null
|
|
5370
5377
|
});
|
|
5371
5378
|
(async () => {
|
|
5372
5379
|
try {
|
|
@@ -5395,7 +5402,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5395
5402
|
status: ev.type === "ok" ? "ok" : "fail",
|
|
5396
5403
|
ms: typeof ev.ms === "number" ? ev.ms : null,
|
|
5397
5404
|
statusCode: typeof ev.status === "number" ? ev.status : null,
|
|
5398
|
-
display: typeof ev.display === "string" ? ev.display : ""
|
|
5405
|
+
display: typeof ev.display === "string" ? ev.display : "",
|
|
5406
|
+
reason: typeof ev.reason === "string" ? ev.reason : null
|
|
5399
5407
|
});
|
|
5400
5408
|
}
|
|
5401
5409
|
nl = buf.indexOf("\n");
|
|
@@ -5431,14 +5439,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5431
5439
|
disabled: anyRunning,
|
|
5432
5440
|
onClick: () => run()
|
|
5433
5441
|
}, t("diagRunAll"))), rows.map((r) => {
|
|
5434
|
-
const
|
|
5442
|
+
const revokeBlocked = r.status === "fail" && r.reason === "tlsRevocation";
|
|
5443
|
+
const badge = r.status === "running" ? (0, react.createElement)("span", { className: `${DiagnosticsView_module_css_default.badge} ${DiagnosticsView_module_css_default.badgeRunning}` }, t("diagChecking")) : r.status === "ok" ? (0, react.createElement)("span", { className: `${DiagnosticsView_module_css_default.badge} ${DiagnosticsView_module_css_default.badgeOk}` }, r.statusCode !== null ? `HTTP ${r.statusCode} ${t("diagOk")}` : t("diagOk")) : r.status === "fail" ? (0, react.createElement)("span", { className: `${DiagnosticsView_module_css_default.badge} ${DiagnosticsView_module_css_default.badgeFail}` }, revokeBlocked ? t("diagFailRevocation") : t("settingsDiagFail")) : (0, react.createElement)("span", { className: `${DiagnosticsView_module_css_default.badge} ${DiagnosticsView_module_css_default.badgeIdle}` }, t("diagIdle"));
|
|
5435
5444
|
return (0, react.createElement)("button", {
|
|
5436
5445
|
key: r.key,
|
|
5437
5446
|
type: "button",
|
|
5438
5447
|
className: DiagnosticsView_module_css_default.row,
|
|
5439
5448
|
disabled: r.status === "running",
|
|
5440
5449
|
onClick: () => run(r.key),
|
|
5441
|
-
title: t("diagRecheck")
|
|
5450
|
+
title: revokeBlocked ? t("diagFailRevocationHint") : t("diagRecheck")
|
|
5442
5451
|
}, (0, react.createElement)("span", { className: DiagnosticsView_module_css_default.name }, t(r.nameKey)), (0, react.createElement)("span", { className: DiagnosticsView_module_css_default.display }, r.key === "catalog" ? t("diagCatalogTarget") : r.display !== "" ? r.display : t("diagNpmUnset")), (0, react.createElement)("span", { className: DiagnosticsView_module_css_default.meta }, r.status === "ok" && r.ms !== null ? `${r.ms} ms` : ""), badge);
|
|
5443
5452
|
}), (0, react.createElement)("div", { className: `${DiagnosticsView_module_css_default.summary} ${anyRunning ? DiagnosticsView_module_css_default.summaryRunning : allOk ? DiagnosticsView_module_css_default.summaryOk : DiagnosticsView_module_css_default.summaryFail}` }, anyRunning ? t("diagSummaryRunning") : allOk ? t("diagSummaryOk") : t("diagSummaryFail")));
|
|
5444
5453
|
}
|
|
@@ -5459,57 +5468,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5459
5468
|
css: css$1
|
|
5460
5469
|
});
|
|
5461
5470
|
var LogsView_module_css_default = {
|
|
5462
|
-
"
|
|
5463
|
-
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5464
|
-
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5471
|
+
"previewRow": "_3j77BW_previewRow",
|
|
5465
5472
|
"time": "_3j77BW_time",
|
|
5466
|
-
"
|
|
5473
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5467
5474
|
"pathRow": "_3j77BW_pathRow",
|
|
5468
|
-
"
|
|
5469
|
-
"
|
|
5475
|
+
"pathDraft": "_3j77BW_pathDraft",
|
|
5476
|
+
"foot": "_3j77BW_foot",
|
|
5470
5477
|
"footCount": "_3j77BW_footCount",
|
|
5471
|
-
"
|
|
5472
|
-
"
|
|
5478
|
+
"catBadge": "_3j77BW_catBadge",
|
|
5479
|
+
"catInstall": "_3j77BW_catInstall",
|
|
5480
|
+
"catSystem": "_3j77BW_catSystem",
|
|
5481
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
5482
|
+
"headActions": "_3j77BW_headActions",
|
|
5483
|
+
"head": "_3j77BW_head",
|
|
5484
|
+
"message": "_3j77BW_message",
|
|
5485
|
+
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
5486
|
+
"filterChip": "_3j77BW_filterChip",
|
|
5487
|
+
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5488
|
+
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5489
|
+
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5490
|
+
"badge": "_3j77BW_badge",
|
|
5473
5491
|
"catUpdate": "_3j77BW_catUpdate",
|
|
5492
|
+
"pathText": "_3j77BW_pathText",
|
|
5493
|
+
"entry": "_3j77BW_entry",
|
|
5494
|
+
"headHint": "_3j77BW_headHint",
|
|
5495
|
+
"filterBar": "_3j77BW_filterBar",
|
|
5474
5496
|
"list": "_3j77BW_list",
|
|
5475
|
-
"more": "_3j77BW_more",
|
|
5476
|
-
"panel": "_3j77BW_panel",
|
|
5477
5497
|
"filterChipActive": "_3j77BW_filterChipActive",
|
|
5478
|
-
"
|
|
5479
|
-
"
|
|
5480
|
-
"
|
|
5498
|
+
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5499
|
+
"badgeError": "_3j77BW_badgeError",
|
|
5500
|
+
"clearBtn": "_3j77BW_clearBtn",
|
|
5481
5501
|
"search": "_3j77BW_search",
|
|
5482
|
-
"
|
|
5502
|
+
"footActions": "_3j77BW_footActions",
|
|
5483
5503
|
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
5484
|
-
"
|
|
5485
|
-
"pathDialog": "_3j77BW_pathDialog",
|
|
5486
|
-
"catInstall": "_3j77BW_catInstall",
|
|
5487
|
-
"headHint": "_3j77BW_headHint",
|
|
5488
|
-
"actions": "_3j77BW_actions",
|
|
5489
|
-
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5504
|
+
"logList": "_3j77BW_logList",
|
|
5490
5505
|
"pathLabel": "_3j77BW_pathLabel",
|
|
5506
|
+
"catUninstall": "_3j77BW_catUninstall",
|
|
5507
|
+
"more": "_3j77BW_more",
|
|
5508
|
+
"pathDialog": "_3j77BW_pathDialog",
|
|
5491
5509
|
"moreEnd": "_3j77BW_moreEnd",
|
|
5492
|
-
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5493
|
-
"footPath": "_3j77BW_footPath",
|
|
5494
|
-
"catBadge": "_3j77BW_catBadge",
|
|
5495
|
-
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5496
|
-
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5497
|
-
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5498
|
-
"clearBtn": "_3j77BW_clearBtn",
|
|
5499
|
-
"filterBar": "_3j77BW_filterBar",
|
|
5500
|
-
"foot": "_3j77BW_foot",
|
|
5501
|
-
"event": "_3j77BW_event",
|
|
5502
5510
|
"btn": "_3j77BW_btn",
|
|
5503
|
-
"
|
|
5504
|
-
"
|
|
5505
|
-
"
|
|
5511
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5512
|
+
"footFail": "_3j77BW_footFail",
|
|
5513
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5514
|
+
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5506
5515
|
"searchInput": "_3j77BW_searchInput",
|
|
5507
|
-
"catSystem": "_3j77BW_catSystem",
|
|
5508
|
-
"previewRow": "_3j77BW_previewRow",
|
|
5509
|
-
"filterChip": "_3j77BW_filterChip",
|
|
5510
|
-
"badge": "_3j77BW_badge",
|
|
5511
5516
|
"catSettings": "_3j77BW_catSettings",
|
|
5512
|
-
"empty": "_3j77BW_empty"
|
|
5517
|
+
"empty": "_3j77BW_empty",
|
|
5518
|
+
"panel": "_3j77BW_panel",
|
|
5519
|
+
"footPath": "_3j77BW_footPath",
|
|
5520
|
+
"actions": "_3j77BW_actions",
|
|
5521
|
+
"event": "_3j77BW_event"
|
|
5513
5522
|
};
|
|
5514
5523
|
//#endregion
|
|
5515
5524
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -6147,6 +6156,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6147
6156
|
onConsumedOpenSection?.();
|
|
6148
6157
|
}, [openSection, onConsumedOpenSection]);
|
|
6149
6158
|
const [proxyProbe, setProxyProbe] = (0, react.useState)("idle");
|
|
6159
|
+
const [proxyProbeReason, setProxyProbeReason] = (0, react.useState)(null);
|
|
6150
6160
|
const proxyProbeTimer = (0, react.useRef)(null);
|
|
6151
6161
|
const proxyProbeSeq = (0, react.useRef)(0);
|
|
6152
6162
|
(0, react.useEffect)(() => () => {
|
|
@@ -6154,16 +6164,21 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6154
6164
|
proxyProbeSeq.current += 1;
|
|
6155
6165
|
}, []);
|
|
6156
6166
|
(0, react.useEffect)(() => {
|
|
6157
|
-
if (settings.proxy === "")
|
|
6167
|
+
if (settings.proxy === "") {
|
|
6168
|
+
setProxyProbe("idle");
|
|
6169
|
+
setProxyProbeReason(null);
|
|
6170
|
+
}
|
|
6158
6171
|
}, [settings.proxy]);
|
|
6159
6172
|
const probeProxyNow = (value) => {
|
|
6160
6173
|
const v = value.trim();
|
|
6161
6174
|
if (v === "") {
|
|
6162
6175
|
setProxyProbe("idle");
|
|
6176
|
+
setProxyProbeReason(null);
|
|
6163
6177
|
return;
|
|
6164
6178
|
}
|
|
6165
6179
|
const seq = ++proxyProbeSeq.current;
|
|
6166
6180
|
setProxyProbe("checking");
|
|
6181
|
+
setProxyProbeReason(null);
|
|
6167
6182
|
fetch("/dsh-plugin-hub/proxy-check", {
|
|
6168
6183
|
method: "POST",
|
|
6169
6184
|
headers: { "content-type": "application/json" },
|
|
@@ -6172,8 +6187,11 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6172
6187
|
}).then((res) => res.json()).then((data) => {
|
|
6173
6188
|
if (seq !== proxyProbeSeq.current) return;
|
|
6174
6189
|
setProxyProbe(data.ok ? "ok" : "fail");
|
|
6190
|
+
setProxyProbeReason(typeof data.reason === "string" ? data.reason : null);
|
|
6175
6191
|
}).catch(() => {
|
|
6176
|
-
if (seq
|
|
6192
|
+
if (seq !== proxyProbeSeq.current) return;
|
|
6193
|
+
setProxyProbe("fail");
|
|
6194
|
+
setProxyProbeReason(null);
|
|
6177
6195
|
});
|
|
6178
6196
|
};
|
|
6179
6197
|
const onProxyChange = (e) => {
|
|
@@ -6225,7 +6243,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6225
6243
|
placeholder: "http://127.0.0.1:7890",
|
|
6226
6244
|
spellCheck: false,
|
|
6227
6245
|
onChange: onProxyChange
|
|
6228
|
-
}), proxyProbe === "checking" ? (0, react.createElement)("div", { className: SettingsView_module_css_default.proxyHint }, t("proxyCheckChecking")) : proxyProbe === "ok" ? (0, react.createElement)("div", { className: `${SettingsView_module_css_default.proxyHint} ${SettingsView_module_css_default.proxyHintOk}` }, t("proxyCheckOk")) : proxyProbe === "fail" ? (0, react.createElement)("div", { className: `${SettingsView_module_css_default.proxyHint} ${SettingsView_module_css_default.proxyHintFail}` }, t("proxyCheckFail")) : null)
|
|
6246
|
+
}), proxyProbe === "checking" ? (0, react.createElement)("div", { className: SettingsView_module_css_default.proxyHint }, t("proxyCheckChecking")) : proxyProbe === "ok" ? (0, react.createElement)("div", { className: `${SettingsView_module_css_default.proxyHint} ${SettingsView_module_css_default.proxyHintOk}` }, t("proxyCheckOk")) : proxyProbe === "fail" ? (0, react.createElement)("div", { className: `${SettingsView_module_css_default.proxyHint} ${SettingsView_module_css_default.proxyHintFail}` }, proxyProbeReason === "tlsRevocation" ? t("proxyCheckRevocation") : t("proxyCheckFail")) : null)
|
|
6229
6247
|
}));
|
|
6230
6248
|
const securityCard = (0, react.createElement)("div", { className: SettingsView_module_css_default.card }, (0, react.createElement)(SettingRow, {
|
|
6231
6249
|
title: t("settingsEnableNpm"),
|
|
@@ -6749,7 +6767,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6749
6767
|
openSection: settingsSection,
|
|
6750
6768
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
6751
6769
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
6752
|
-
info: catalog.hubUpdateInfo ?? { version: "1.4.
|
|
6770
|
+
info: catalog.hubUpdateInfo ?? { version: "1.4.7" },
|
|
6753
6771
|
lang,
|
|
6754
6772
|
t,
|
|
6755
6773
|
hasUpdate: catalog.hubHasUpdate,
|