dsh-plugin 2.2.3 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client/client.js
CHANGED
|
@@ -908,42 +908,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
908
908
|
css: css$11
|
|
909
909
|
});
|
|
910
910
|
var Header_module_css_default = {
|
|
911
|
-
"
|
|
911
|
+
"header": "qikqja_header",
|
|
912
|
+
"resultCount": "qikqja_resultCount",
|
|
912
913
|
"controls": "qikqja_controls",
|
|
914
|
+
"aboutBtn": "qikqja_aboutBtn",
|
|
915
|
+
"copyIcon": "qikqja_copyIcon",
|
|
916
|
+
"segGroup": "qikqja_segGroup",
|
|
913
917
|
"langBtn": "qikqja_langBtn",
|
|
914
|
-
"adBanner": "qikqja_adBanner",
|
|
915
|
-
"adArrow": "qikqja_adArrow",
|
|
916
|
-
"githubLink": "qikqja_githubLink",
|
|
917
|
-
"githubIcon": "qikqja_githubIcon",
|
|
918
918
|
"searchRow": "qikqja_searchRow",
|
|
919
|
-
"aboutBtn": "qikqja_aboutBtn",
|
|
920
|
-
"tabs": "qikqja_tabs",
|
|
921
|
-
"logoIcon": "qikqja_logoIcon",
|
|
922
|
-
"tabActive": "qikqja_tabActive",
|
|
923
|
-
"tagline": "qikqja_tagline",
|
|
924
|
-
"adText": "qikqja_adText",
|
|
925
|
-
"segBtn": "qikqja_segBtn",
|
|
926
|
-
"tabsRow": "qikqja_tabsRow",
|
|
927
|
-
"resultCount": "qikqja_resultCount",
|
|
928
|
-
"sortGroup": "qikqja_sortGroup",
|
|
929
|
-
"brandTitle": "qikqja_brandTitle",
|
|
930
919
|
"title": "qikqja_title",
|
|
931
|
-
"
|
|
920
|
+
"adArrow": "qikqja_adArrow",
|
|
921
|
+
"taglineLink": "qikqja_taglineLink",
|
|
922
|
+
"sortGroup": "qikqja_sortGroup",
|
|
923
|
+
"adText": "qikqja_adText",
|
|
932
924
|
"resultSeg": "qikqja_resultSeg",
|
|
925
|
+
"tabActive": "qikqja_tabActive",
|
|
926
|
+
"githubIcon": "qikqja_githubIcon",
|
|
927
|
+
"tabs": "qikqja_tabs",
|
|
928
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
929
|
+
"tabCount": "qikqja_tabCount",
|
|
930
|
+
"headerRight": "qikqja_headerRight",
|
|
933
931
|
"versionBtn": "qikqja_versionBtn",
|
|
932
|
+
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
933
|
+
"brandTitle": "qikqja_brandTitle",
|
|
934
|
+
"tagline": "qikqja_tagline",
|
|
934
935
|
"segLabel": "qikqja_segLabel",
|
|
935
|
-
"tabCount": "qikqja_tabCount",
|
|
936
|
-
"copyIcon": "qikqja_copyIcon",
|
|
937
|
-
"adBadge": "qikqja_adBadge",
|
|
938
|
-
"tab": "qikqja_tab",
|
|
939
|
-
"search": "qikqja_search",
|
|
940
936
|
"segBtnActive": "qikqja_segBtnActive",
|
|
941
|
-
"
|
|
942
|
-
"
|
|
943
|
-
"
|
|
937
|
+
"tabsRow": "qikqja_tabsRow",
|
|
938
|
+
"githubLink": "qikqja_githubLink",
|
|
939
|
+
"search": "qikqja_search",
|
|
940
|
+
"tab": "qikqja_tab",
|
|
941
|
+
"logoIcon": "qikqja_logoIcon",
|
|
942
|
+
"root": "qikqja_root",
|
|
943
|
+
"adBadge": "qikqja_adBadge",
|
|
944
|
+
"segBtn": "qikqja_segBtn",
|
|
944
945
|
"version": "qikqja_version",
|
|
945
|
-
"
|
|
946
|
-
"root": "qikqja_root"
|
|
946
|
+
"adBanner": "qikqja_adBanner"
|
|
947
947
|
};
|
|
948
948
|
//#endregion
|
|
949
949
|
//#region \0dsh-css:src/client/styles/Modal.module.css.mjs
|
|
@@ -962,142 +962,142 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
962
962
|
css: css$10
|
|
963
963
|
});
|
|
964
964
|
var Modal_module_css_default = {
|
|
965
|
-
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
966
965
|
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
966
|
+
"stripCancel": "BiQ1zG_stripCancel",
|
|
967
|
+
"restartLater": "BiQ1zG_restartLater",
|
|
968
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
969
|
+
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
970
|
+
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
971
|
+
"failClear": "BiQ1zG_failClear",
|
|
972
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
973
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
974
|
+
"linkIcon": "BiQ1zG_linkIcon",
|
|
975
|
+
"aboutModal": "BiQ1zG_aboutModal",
|
|
976
|
+
"failList": "BiQ1zG_failList",
|
|
977
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
978
|
+
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
979
|
+
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
967
980
|
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
968
|
-
"
|
|
969
|
-
"
|
|
970
|
-
"
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
"detailValue": "BiQ1zG_detailValue",
|
|
974
|
-
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
975
|
-
"modal": "BiQ1zG_modal",
|
|
981
|
+
"progressTrack": "BiQ1zG_progressTrack",
|
|
982
|
+
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
983
|
+
"modalCmd": "BiQ1zG_modalCmd",
|
|
984
|
+
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
985
|
+
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
976
986
|
"detailPath": "BiQ1zG_detailPath",
|
|
977
|
-
"
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
"
|
|
981
|
-
"
|
|
987
|
+
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
988
|
+
"detailGrid": "BiQ1zG_detailGrid",
|
|
989
|
+
"detailModal": "BiQ1zG_detailModal",
|
|
990
|
+
"detailStars": "BiQ1zG_detailStars",
|
|
991
|
+
"logModal": "BiQ1zG_logModal",
|
|
982
992
|
"overlayIn": "BiQ1zG_overlayIn",
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
"
|
|
993
|
+
"progressText": "BiQ1zG_progressText",
|
|
994
|
+
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
995
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
996
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
997
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
986
998
|
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
987
|
-
"
|
|
988
|
-
"
|
|
989
|
-
"
|
|
990
|
-
"
|
|
991
|
-
"failList": "BiQ1zG_failList",
|
|
999
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
1000
|
+
"failRow": "BiQ1zG_failRow",
|
|
1001
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
1002
|
+
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
992
1003
|
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
993
1004
|
"modalLink": "BiQ1zG_modalLink",
|
|
994
|
-
"
|
|
1005
|
+
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
1006
|
+
"detailLabel": "BiQ1zG_detailLabel",
|
|
1007
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
995
1008
|
"overlay": "BiQ1zG_overlay",
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
"failReason": "BiQ1zG_failReason",
|
|
1000
|
-
"restartLater": "BiQ1zG_restartLater",
|
|
1001
|
-
"failEmpty": "BiQ1zG_failEmpty",
|
|
1002
|
-
"failCopy": "BiQ1zG_failCopy",
|
|
1003
|
-
"modalActions": "BiQ1zG_modalActions",
|
|
1004
|
-
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
1005
|
-
"progressText": "BiQ1zG_progressText",
|
|
1006
|
-
"errorHint": "BiQ1zG_errorHint",
|
|
1007
|
-
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
1008
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
1009
|
-
"modalLabel": "BiQ1zG_modalLabel",
|
|
1010
|
-
"progressHead": "BiQ1zG_progressHead",
|
|
1011
|
-
"progressTrack": "BiQ1zG_progressTrack",
|
|
1012
|
-
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
1013
|
-
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
1014
|
-
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
1015
|
-
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
1016
|
-
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
1017
|
-
"aboutModal": "BiQ1zG_aboutModal",
|
|
1018
|
-
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
1019
|
-
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
1020
|
-
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
1009
|
+
"modalHead": "BiQ1zG_modalHead",
|
|
1010
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
1011
|
+
"result": "BiQ1zG_result",
|
|
1021
1012
|
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
1022
|
-
"
|
|
1023
|
-
"
|
|
1024
|
-
"
|
|
1013
|
+
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
1014
|
+
"bundleDeselectedHint": "BiQ1zG_bundleDeselectedHint",
|
|
1015
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
1025
1016
|
"restartNow": "BiQ1zG_restartNow",
|
|
1026
|
-
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
1027
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
1028
|
-
"failRepo": "BiQ1zG_failRepo",
|
|
1029
|
-
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
1030
|
-
"failHead": "BiQ1zG_failHead",
|
|
1031
|
-
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
1032
|
-
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
1033
|
-
"linkIcon": "BiQ1zG_linkIcon",
|
|
1034
|
-
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
1035
|
-
"progress": "BiQ1zG_progress",
|
|
1036
|
-
"noticeTime": "BiQ1zG_noticeTime",
|
|
1037
|
-
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
1038
|
-
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
1039
|
-
"noticeList": "BiQ1zG_noticeList",
|
|
1040
|
-
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
1041
1017
|
"trustHint": "BiQ1zG_trustHint",
|
|
1042
|
-
"
|
|
1018
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
1019
|
+
"queueRow": "BiQ1zG_queueRow",
|
|
1020
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
1021
|
+
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
1022
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
1043
1023
|
"failRepoLabel": "BiQ1zG_failRepoLabel",
|
|
1044
|
-
"
|
|
1045
|
-
"
|
|
1024
|
+
"modalRow": "BiQ1zG_modalRow",
|
|
1025
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
1026
|
+
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
1027
|
+
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
1028
|
+
"errorModal": "BiQ1zG_errorModal",
|
|
1046
1029
|
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
1047
|
-
"noticeRow": "BiQ1zG_noticeRow",
|
|
1048
1030
|
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1051
|
-
"
|
|
1031
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
1032
|
+
"modalDesc": "BiQ1zG_modalDesc",
|
|
1033
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
1034
|
+
"toastIn": "BiQ1zG_toastIn",
|
|
1035
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
1036
|
+
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
1037
|
+
"failEmpty": "BiQ1zG_failEmpty",
|
|
1038
|
+
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
1039
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
1040
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
1041
|
+
"failReason": "BiQ1zG_failReason",
|
|
1042
|
+
"errorHint": "BiQ1zG_errorHint",
|
|
1043
|
+
"progressHead": "BiQ1zG_progressHead",
|
|
1044
|
+
"failKindTitle": "BiQ1zG_failKindTitle",
|
|
1045
|
+
"queueSection": "BiQ1zG_queueSection",
|
|
1046
|
+
"detailMono": "BiQ1zG_detailMono",
|
|
1047
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
1048
|
+
"failHead": "BiQ1zG_failHead",
|
|
1049
|
+
"noticeHead": "BiQ1zG_noticeHead",
|
|
1050
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
1052
1051
|
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
1053
|
-
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
1054
|
-
"result": "BiQ1zG_result",
|
|
1055
1052
|
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
1056
|
-
"
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
1060
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
1053
|
+
"detailRow": "BiQ1zG_detailRow",
|
|
1054
|
+
"detailDim": "BiQ1zG_detailDim",
|
|
1055
|
+
"noticeTime": "BiQ1zG_noticeTime",
|
|
1061
1056
|
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
1062
|
-
"
|
|
1063
|
-
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
1064
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
1065
|
-
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
1066
|
-
"helpModal": "BiQ1zG_helpModal",
|
|
1067
|
-
"progressFill": "BiQ1zG_progressFill",
|
|
1068
|
-
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
1057
|
+
"detailValue": "BiQ1zG_detailValue",
|
|
1069
1058
|
"modalTitle": "BiQ1zG_modalTitle",
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1072
|
-
"
|
|
1073
|
-
"failKind": "BiQ1zG_failKind",
|
|
1074
|
-
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
1059
|
+
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
1060
|
+
"progressFill": "BiQ1zG_progressFill",
|
|
1061
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
1075
1062
|
"failRepoUrl": "BiQ1zG_failRepoUrl",
|
|
1076
|
-
"detailArrow": "BiQ1zG_detailArrow",
|
|
1077
|
-
"detailStars": "BiQ1zG_detailStars",
|
|
1078
|
-
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
1079
|
-
"detailModal": "BiQ1zG_detailModal",
|
|
1080
|
-
"modalClose": "BiQ1zG_modalClose",
|
|
1081
|
-
"failRow": "BiQ1zG_failRow",
|
|
1082
|
-
"modalDesc": "BiQ1zG_modalDesc",
|
|
1083
|
-
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
1084
|
-
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
1085
|
-
"modalWide": "BiQ1zG_modalWide",
|
|
1086
|
-
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
1087
|
-
"bundleDeselectedHint": "BiQ1zG_bundleDeselectedHint",
|
|
1088
|
-
"detailDim": "BiQ1zG_detailDim",
|
|
1089
|
-
"modalRow": "BiQ1zG_modalRow",
|
|
1090
|
-
"modalCmd": "BiQ1zG_modalCmd",
|
|
1091
|
-
"errorTitle": "BiQ1zG_errorTitle",
|
|
1092
|
-
"modalCancel": "BiQ1zG_modalCancel",
|
|
1093
|
-
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
1094
|
-
"resultCheck": "BiQ1zG_resultCheck",
|
|
1095
1063
|
"errorBox": "BiQ1zG_errorBox",
|
|
1096
|
-
"
|
|
1097
|
-
"
|
|
1098
|
-
"
|
|
1064
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
1065
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
1066
|
+
"toastFail": "BiQ1zG_toastFail",
|
|
1067
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
1068
|
+
"failCopy": "BiQ1zG_failCopy",
|
|
1069
|
+
"errorTitle": "BiQ1zG_errorTitle",
|
|
1070
|
+
"modal": "BiQ1zG_modal",
|
|
1071
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
1072
|
+
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
1073
|
+
"failMisjudgeLink": "BiQ1zG_failMisjudgeLink",
|
|
1074
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
1075
|
+
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
1076
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
1077
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
1078
|
+
"modalCopy": "BiQ1zG_modalCopy",
|
|
1079
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
1080
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
1081
|
+
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
1082
|
+
"resultDesc": "BiQ1zG_resultDesc",
|
|
1083
|
+
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
1099
1084
|
"toast": "BiQ1zG_toast",
|
|
1100
|
-
"
|
|
1085
|
+
"noticeRow": "BiQ1zG_noticeRow",
|
|
1086
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
1087
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
1088
|
+
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
1089
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
1090
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
1091
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
1092
|
+
"aboutContent": "BiQ1zG_aboutContent",
|
|
1093
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
1094
|
+
"progress": "BiQ1zG_progress",
|
|
1095
|
+
"failKind": "BiQ1zG_failKind",
|
|
1096
|
+
"failRepo": "BiQ1zG_failRepo",
|
|
1097
|
+
"modalInstall": "BiQ1zG_modalInstall",
|
|
1098
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
1099
|
+
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
1100
|
+
"failKindInstall": "BiQ1zG_failKindInstall"
|
|
1101
1101
|
};
|
|
1102
1102
|
//#endregion
|
|
1103
1103
|
//#region src/server/services/install/release-target.ts
|
|
@@ -1187,7 +1187,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1187
1187
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
1188
1188
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
1189
1189
|
*/
|
|
1190
|
-
const PLUGIN_VERSION = "2.2.
|
|
1190
|
+
const PLUGIN_VERSION = "2.2.4";
|
|
1191
1191
|
const CATEGORY_ORDER = [
|
|
1192
1192
|
"interface",
|
|
1193
1193
|
"session",
|
|
@@ -2070,7 +2070,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
2070
2070
|
* registry 真实发布时间下发(同源),据此判断最准。门槛命中要单列成 `pending` 而不是
|
|
2071
2071
|
* 落回「无更新」——回落会让弹窗在本机版本落后时谎称「已是最新」。
|
|
2072
2072
|
*/
|
|
2073
|
-
const hubCurrentVersion = "2.2.
|
|
2073
|
+
const hubCurrentVersion = "2.2.4";
|
|
2074
2074
|
const hubUpdateResult = hubUpdateInfo === null ? {
|
|
2075
2075
|
state: "none",
|
|
2076
2076
|
target: null
|
|
@@ -5103,40 +5103,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5103
5103
|
css: css$9
|
|
5104
5104
|
});
|
|
5105
5105
|
var List_module_css_default = {
|
|
5106
|
-
"
|
|
5107
|
-
"updateBadge": "_3XaZHa_updateBadge",
|
|
5106
|
+
"topic": "_3XaZHa_topic",
|
|
5108
5107
|
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
5109
|
-
"list": "_3XaZHa_list",
|
|
5110
|
-
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
5111
|
-
"desc": "_3XaZHa_desc",
|
|
5112
|
-
"footLink": "_3XaZHa_footLink",
|
|
5113
|
-
"card": "_3XaZHa_card",
|
|
5114
|
-
"topics": "_3XaZHa_topics",
|
|
5115
5108
|
"footer": "_3XaZHa_footer",
|
|
5116
|
-
"
|
|
5109
|
+
"stats": "_3XaZHa_stats",
|
|
5110
|
+
"cardHead": "_3XaZHa_cardHead",
|
|
5111
|
+
"desc": "_3XaZHa_desc",
|
|
5112
|
+
"versionBadge": "_3XaZHa_versionBadge",
|
|
5113
|
+
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
5114
|
+
"list": "_3XaZHa_list",
|
|
5117
5115
|
"cardSide": "_3XaZHa_cardSide",
|
|
5116
|
+
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
5118
5117
|
"cardMain": "_3XaZHa_cardMain",
|
|
5119
5118
|
"date": "_3XaZHa_date",
|
|
5120
|
-
"
|
|
5121
|
-
"
|
|
5122
|
-
"
|
|
5123
|
-
"retryBtn": "_3XaZHa_retryBtn",
|
|
5124
|
-
"stateDesc": "_3XaZHa_stateDesc",
|
|
5125
|
-
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
5119
|
+
"topics": "_3XaZHa_topics",
|
|
5120
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied",
|
|
5121
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
5126
5122
|
"installBtn": "_3XaZHa_installBtn",
|
|
5127
5123
|
"body": "_3XaZHa_body",
|
|
5128
|
-
"
|
|
5129
|
-
"
|
|
5124
|
+
"verified": "_3XaZHa_verified",
|
|
5125
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
5126
|
+
"stateActions": "_3XaZHa_stateActions",
|
|
5127
|
+
"card": "_3XaZHa_card",
|
|
5128
|
+
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
5129
|
+
"state": "_3XaZHa_state",
|
|
5130
5130
|
"stateTitle": "_3XaZHa_stateTitle",
|
|
5131
|
-
"
|
|
5131
|
+
"retryBtn": "_3XaZHa_retryBtn",
|
|
5132
|
+
"footLink": "_3XaZHa_footLink",
|
|
5133
|
+
"detailBtn": "_3XaZHa_detailBtn",
|
|
5134
|
+
"actions": "_3XaZHa_actions",
|
|
5132
5135
|
"diagBtn": "_3XaZHa_diagBtn",
|
|
5133
|
-
"topic": "_3XaZHa_topic",
|
|
5134
5136
|
"fork": "_3XaZHa_fork",
|
|
5135
|
-
"
|
|
5136
|
-
"
|
|
5137
|
-
"
|
|
5138
|
-
"actions": "_3XaZHa_actions",
|
|
5139
|
-
"installBtnInstalled": "_3XaZHa_installBtnInstalled"
|
|
5137
|
+
"cardTitle": "_3XaZHa_cardTitle",
|
|
5138
|
+
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
5139
|
+
"star": "_3XaZHa_star"
|
|
5140
5140
|
};
|
|
5141
5141
|
//#endregion
|
|
5142
5142
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -5341,16 +5341,16 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5341
5341
|
css: css$8
|
|
5342
5342
|
});
|
|
5343
5343
|
var SectionTabs_module_css_default = {
|
|
5344
|
-
"noticeIcon": "_7tvizq_noticeIcon",
|
|
5345
|
-
"noticeBtn": "_7tvizq_noticeBtn",
|
|
5346
|
-
"tabLabel": "_7tvizq_tabLabel",
|
|
5347
5344
|
"tabIcon": "_7tvizq_tabIcon",
|
|
5345
|
+
"tabActive": "_7tvizq_tabActive",
|
|
5348
5346
|
"noticeCount": "_7tvizq_noticeCount",
|
|
5347
|
+
"tabLabel": "_7tvizq_tabLabel",
|
|
5349
5348
|
"tabCount": "_7tvizq_tabCount",
|
|
5350
|
-
"tabActive": "_7tvizq_tabActive",
|
|
5351
5349
|
"root": "_7tvizq_root",
|
|
5350
|
+
"noticeBtn": "_7tvizq_noticeBtn",
|
|
5352
5351
|
"tab": "_7tvizq_tab",
|
|
5353
|
-
"tabCountActive": "_7tvizq_tabCountActive"
|
|
5352
|
+
"tabCountActive": "_7tvizq_tabCountActive",
|
|
5353
|
+
"noticeIcon": "_7tvizq_noticeIcon"
|
|
5354
5354
|
};
|
|
5355
5355
|
//#endregion
|
|
5356
5356
|
//#region src/client/components/layout/SectionTabs.tsx
|
|
@@ -5426,42 +5426,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5426
5426
|
css: css$7
|
|
5427
5427
|
});
|
|
5428
5428
|
var InstalledView_module_css_default = {
|
|
5429
|
-
"
|
|
5430
|
-
"
|
|
5431
|
-
"
|
|
5429
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
5430
|
+
"statusPending": "_1nXeGW_statusPending",
|
|
5431
|
+
"statusDot": "_1nXeGW_statusDot",
|
|
5432
|
+
"list": "_1nXeGW_list",
|
|
5432
5433
|
"rowRestart": "_1nXeGW_rowRestart",
|
|
5434
|
+
"exampleRow": "_1nXeGW_exampleRow",
|
|
5435
|
+
"toolbar": "_1nXeGW_toolbar",
|
|
5436
|
+
"empty": "_1nXeGW_empty",
|
|
5433
5437
|
"segLabel": "_1nXeGW_segLabel",
|
|
5434
|
-
"searchWrap": "_1nXeGW_searchWrap",
|
|
5435
|
-
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
5436
|
-
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
5437
5438
|
"rowDetail": "_1nXeGW_rowDetail",
|
|
5438
|
-
"
|
|
5439
|
-
"
|
|
5440
|
-
"row": "_1nXeGW_row",
|
|
5441
|
-
"exampleRow": "_1nXeGW_exampleRow",
|
|
5442
|
-
"segRow": "_1nXeGW_segRow",
|
|
5443
|
-
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
5444
|
-
"rowTitle": "_1nXeGW_rowTitle",
|
|
5445
|
-
"statusPending": "_1nXeGW_statusPending",
|
|
5446
|
-
"root": "_1nXeGW_root",
|
|
5447
|
-
"rowMeta": "_1nXeGW_rowMeta",
|
|
5448
|
-
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
5439
|
+
"searchInput": "_1nXeGW_searchInput",
|
|
5440
|
+
"updateBadge": "_1nXeGW_updateBadge",
|
|
5449
5441
|
"rowActions": "_1nXeGW_rowActions",
|
|
5450
|
-
"
|
|
5451
|
-
"rowRepo": "_1nXeGW_rowRepo",
|
|
5442
|
+
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
5452
5443
|
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
5453
|
-
"
|
|
5454
|
-
"
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
5444
|
+
"rowMeta": "_1nXeGW_rowMeta",
|
|
5445
|
+
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
5446
|
+
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
5447
|
+
"row": "_1nXeGW_row",
|
|
5448
|
+
"segBtn": "_1nXeGW_segBtn",
|
|
5457
5449
|
"rowMain": "_1nXeGW_rowMain",
|
|
5458
5450
|
"versionBadge": "_1nXeGW_versionBadge",
|
|
5451
|
+
"rowCategory": "_1nXeGW_rowCategory",
|
|
5452
|
+
"segGroup": "_1nXeGW_segGroup",
|
|
5453
|
+
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
5454
|
+
"root": "_1nXeGW_root",
|
|
5455
|
+
"rowDesc": "_1nXeGW_rowDesc",
|
|
5456
|
+
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
5457
|
+
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
5458
|
+
"searchWrap": "_1nXeGW_searchWrap",
|
|
5459
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
5460
|
+
"segRow": "_1nXeGW_segRow",
|
|
5461
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
5459
5462
|
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
5460
|
-
"
|
|
5461
|
-
"
|
|
5462
|
-
"empty": "_1nXeGW_empty",
|
|
5463
|
-
"list": "_1nXeGW_list",
|
|
5464
|
-
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub"
|
|
5463
|
+
"rowRepo": "_1nXeGW_rowRepo",
|
|
5464
|
+
"segBtnActive": "_1nXeGW_segBtnActive"
|
|
5465
5465
|
};
|
|
5466
5466
|
//#endregion
|
|
5467
5467
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -5705,25 +5705,25 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5705
5705
|
css: css$6
|
|
5706
5706
|
});
|
|
5707
5707
|
var CustomInstallView_module_css_default = {
|
|
5708
|
-
"
|
|
5708
|
+
"root": "zISxCG_root",
|
|
5709
5709
|
"installError": "zISxCG_installError",
|
|
5710
|
-
"installInputError": "zISxCG_installInputError",
|
|
5711
|
-
"installBtn": "zISxCG_installBtn",
|
|
5712
5710
|
"installExample": "zISxCG_installExample",
|
|
5713
|
-
"installRow": "zISxCG_installRow",
|
|
5714
|
-
"root": "zISxCG_root",
|
|
5715
|
-
"installCard": "zISxCG_installCard",
|
|
5716
5711
|
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
5712
|
+
"installBtn": "zISxCG_installBtn",
|
|
5713
|
+
"desc": "zISxCG_desc",
|
|
5714
|
+
"channelOff": "zISxCG_channelOff",
|
|
5715
|
+
"installRow": "zISxCG_installRow",
|
|
5717
5716
|
"installCards": "zISxCG_installCards",
|
|
5718
5717
|
"installCardHead": "zISxCG_installCardHead",
|
|
5719
|
-
"
|
|
5718
|
+
"installInputError": "zISxCG_installInputError",
|
|
5719
|
+
"helpLine": "zISxCG_helpLine",
|
|
5720
5720
|
"installLabel": "zISxCG_installLabel",
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5721
|
+
"helpCmd": "zISxCG_helpCmd",
|
|
5722
|
+
"installCard": "zISxCG_installCard",
|
|
5723
|
+
"channelOffText": "zISxCG_channelOffText",
|
|
5723
5724
|
"channelOffBtn": "zISxCG_channelOffBtn",
|
|
5724
|
-
"helpLine": "zISxCG_helpLine",
|
|
5725
5725
|
"helpNote": "zISxCG_helpNote",
|
|
5726
|
-
"
|
|
5726
|
+
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
5727
5727
|
"installInput": "zISxCG_installInput",
|
|
5728
5728
|
"helpBody": "zISxCG_helpBody"
|
|
5729
5729
|
};
|
|
@@ -5881,30 +5881,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5881
5881
|
css: css$5
|
|
5882
5882
|
});
|
|
5883
5883
|
var SettingsView_module_css_default = {
|
|
5884
|
-
"
|
|
5884
|
+
"root": "_506LLG_root",
|
|
5885
5885
|
"content": "_506LLG_content",
|
|
5886
|
-
"
|
|
5887
|
-
"navIcon": "_506LLG_navIcon",
|
|
5888
|
-
"settingControlStack": "_506LLG_settingControlStack",
|
|
5889
|
-
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5886
|
+
"settingControl": "_506LLG_settingControl",
|
|
5890
5887
|
"controlDropdown": "_506LLG_controlDropdown",
|
|
5891
5888
|
"sidebar": "_506LLG_sidebar",
|
|
5892
|
-
"
|
|
5893
|
-
"
|
|
5889
|
+
"proxyHint": "_506LLG_proxyHint",
|
|
5890
|
+
"settingRow": "_506LLG_settingRow",
|
|
5894
5891
|
"settingRowStack": "_506LLG_settingRowStack",
|
|
5895
|
-
"pageDesc": "_506LLG_pageDesc",
|
|
5896
|
-
"settingControl": "_506LLG_settingControl",
|
|
5897
5892
|
"textInput": "_506LLG_textInput",
|
|
5898
|
-
"
|
|
5893
|
+
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5894
|
+
"settingDesc": "_506LLG_settingDesc",
|
|
5895
|
+
"navIcon": "_506LLG_navIcon",
|
|
5896
|
+
"proxyControl": "_506LLG_proxyControl",
|
|
5897
|
+
"settingLabel": "_506LLG_settingLabel",
|
|
5899
5898
|
"navItem": "_506LLG_navItem",
|
|
5899
|
+
"pageTitle": "_506LLG_pageTitle",
|
|
5900
|
+
"navItemActive": "_506LLG_navItemActive",
|
|
5901
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
5900
5902
|
"card": "_506LLG_card",
|
|
5901
|
-
"
|
|
5903
|
+
"settingControlStack": "_506LLG_settingControlStack",
|
|
5904
|
+
"pageDesc": "_506LLG_pageDesc",
|
|
5905
|
+
"settingTitle": "_506LLG_settingTitle",
|
|
5902
5906
|
"pageHeader": "_506LLG_pageHeader",
|
|
5903
|
-
"
|
|
5904
|
-
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5905
|
-
"settingLabel": "_506LLG_settingLabel",
|
|
5906
|
-
"proxyHint": "_506LLG_proxyHint",
|
|
5907
|
-
"proxyControl": "_506LLG_proxyControl"
|
|
5907
|
+
"proxyHintFail": "_506LLG_proxyHintFail"
|
|
5908
5908
|
};
|
|
5909
5909
|
//#endregion
|
|
5910
5910
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -5923,17 +5923,17 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5923
5923
|
css: css$4
|
|
5924
5924
|
});
|
|
5925
5925
|
var Dropdown_module_css_default = {
|
|
5926
|
-
"
|
|
5926
|
+
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5927
5927
|
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5928
5928
|
"dropdownPanel": "B_Gxsq_dropdownPanel",
|
|
5929
|
-
"
|
|
5930
|
-
"
|
|
5929
|
+
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5930
|
+
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
5931
5931
|
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5932
|
-
"
|
|
5932
|
+
"dropdown": "B_Gxsq_dropdown",
|
|
5933
|
+
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5933
5934
|
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
5935
|
+
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
5934
5936
|
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5935
|
-
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5936
|
-
"dropdown": "B_Gxsq_dropdown",
|
|
5937
5937
|
"dropdownItem": "B_Gxsq_dropdownItem"
|
|
5938
5938
|
};
|
|
5939
5939
|
//#endregion
|
|
@@ -5953,9 +5953,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5953
5953
|
css: css$3
|
|
5954
5954
|
});
|
|
5955
5955
|
var Toggle_module_css_default = {
|
|
5956
|
-
"knob": "k-cD4G_knob",
|
|
5957
5956
|
"toggle": "k-cD4G_toggle",
|
|
5958
|
-
"toggleOn": "k-cD4G_toggleOn"
|
|
5957
|
+
"toggleOn": "k-cD4G_toggleOn",
|
|
5958
|
+
"knob": "k-cD4G_knob"
|
|
5959
5959
|
};
|
|
5960
5960
|
//#endregion
|
|
5961
5961
|
//#region src/client/components/ui/Toggle.tsx
|
|
@@ -6052,29 +6052,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6052
6052
|
css: css$2
|
|
6053
6053
|
});
|
|
6054
6054
|
var DiagnosticsView_module_css_default = {
|
|
6055
|
-
"envDesc": "k9eRya_envDesc",
|
|
6056
|
-
"meta": "k9eRya_meta",
|
|
6057
|
-
"summary": "k9eRya_summary",
|
|
6058
|
-
"display": "k9eRya_display",
|
|
6059
|
-
"summaryOk": "k9eRya_summaryOk",
|
|
6060
|
-
"panel": "k9eRya_panel",
|
|
6061
|
-
"badge": "k9eRya_badge",
|
|
6062
|
-
"badgeRunning": "k9eRya_badgeRunning",
|
|
6063
6055
|
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
6064
|
-
"
|
|
6065
|
-
"row": "k9eRya_row",
|
|
6066
|
-
"name": "k9eRya_name",
|
|
6067
|
-
"badgeIdle": "k9eRya_badgeIdle",
|
|
6068
|
-
"summaryFail": "k9eRya_summaryFail",
|
|
6069
|
-
"headHint": "k9eRya_headHint",
|
|
6056
|
+
"envTitle": "k9eRya_envTitle",
|
|
6070
6057
|
"head": "k9eRya_head",
|
|
6058
|
+
"summaryOk": "k9eRya_summaryOk",
|
|
6059
|
+
"display": "k9eRya_display",
|
|
6071
6060
|
"envRow": "k9eRya_envRow",
|
|
6072
|
-
"diagPulse": "k9eRya_diagPulse",
|
|
6073
6061
|
"envLabel": "k9eRya_envLabel",
|
|
6074
|
-
"
|
|
6075
|
-
"
|
|
6062
|
+
"summaryFail": "k9eRya_summaryFail",
|
|
6063
|
+
"row": "k9eRya_row",
|
|
6064
|
+
"name": "k9eRya_name",
|
|
6065
|
+
"badge": "k9eRya_badge",
|
|
6066
|
+
"meta": "k9eRya_meta",
|
|
6076
6067
|
"runBtn": "k9eRya_runBtn",
|
|
6077
|
-
"
|
|
6068
|
+
"diagPulse": "k9eRya_diagPulse",
|
|
6069
|
+
"envDesc": "k9eRya_envDesc",
|
|
6070
|
+
"panel": "k9eRya_panel",
|
|
6071
|
+
"badgeRunning": "k9eRya_badgeRunning",
|
|
6072
|
+
"summaryRunning": "k9eRya_summaryRunning",
|
|
6073
|
+
"badgeOk": "k9eRya_badgeOk",
|
|
6074
|
+
"badgeFail": "k9eRya_badgeFail",
|
|
6075
|
+
"summary": "k9eRya_summary",
|
|
6076
|
+
"badgeIdle": "k9eRya_badgeIdle",
|
|
6077
|
+
"headHint": "k9eRya_headHint"
|
|
6078
6078
|
};
|
|
6079
6079
|
//#endregion
|
|
6080
6080
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -6249,57 +6249,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6249
6249
|
css: css$1
|
|
6250
6250
|
});
|
|
6251
6251
|
var LogsView_module_css_default = {
|
|
6252
|
-
"
|
|
6253
|
-
"
|
|
6254
|
-
"
|
|
6255
|
-
"logList": "_3j77BW_logList",
|
|
6256
|
-
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
6257
|
-
"filterBar": "_3j77BW_filterBar",
|
|
6258
|
-
"footActions": "_3j77BW_footActions",
|
|
6259
|
-
"more": "_3j77BW_more",
|
|
6252
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
6253
|
+
"event": "_3j77BW_event",
|
|
6254
|
+
"panel": "_3j77BW_panel",
|
|
6260
6255
|
"list": "_3j77BW_list",
|
|
6256
|
+
"entry": "_3j77BW_entry",
|
|
6257
|
+
"footPath": "_3j77BW_footPath",
|
|
6258
|
+
"footActions": "_3j77BW_footActions",
|
|
6259
|
+
"catUninstall": "_3j77BW_catUninstall",
|
|
6260
|
+
"head": "_3j77BW_head",
|
|
6261
6261
|
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
6262
|
-
"
|
|
6262
|
+
"headHint": "_3j77BW_headHint",
|
|
6263
6263
|
"badgeWarn": "_3j77BW_badgeWarn",
|
|
6264
|
-
"
|
|
6264
|
+
"filterBar": "_3j77BW_filterBar",
|
|
6265
|
+
"logList": "_3j77BW_logList",
|
|
6265
6266
|
"catSystem": "_3j77BW_catSystem",
|
|
6266
|
-
"
|
|
6267
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
6268
|
+
"headActions": "_3j77BW_headActions",
|
|
6267
6269
|
"pathDraft": "_3j77BW_pathDraft",
|
|
6268
6270
|
"pathDialog": "_3j77BW_pathDialog",
|
|
6269
|
-
"
|
|
6270
|
-
"
|
|
6271
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
6272
|
+
"catUpdate": "_3j77BW_catUpdate",
|
|
6273
|
+
"actions": "_3j77BW_actions",
|
|
6274
|
+
"message": "_3j77BW_message",
|
|
6271
6275
|
"previewRow": "_3j77BW_previewRow",
|
|
6272
|
-
"
|
|
6273
|
-
"footCount": "_3j77BW_footCount",
|
|
6276
|
+
"catSettings": "_3j77BW_catSettings",
|
|
6274
6277
|
"searchInput": "_3j77BW_searchInput",
|
|
6275
|
-
"
|
|
6276
|
-
"search": "_3j77BW_search",
|
|
6277
|
-
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
6278
|
-
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
6279
|
-
"time": "_3j77BW_time",
|
|
6280
|
-
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
6278
|
+
"pathLabel": "_3j77BW_pathLabel",
|
|
6281
6279
|
"filterChip": "_3j77BW_filterChip",
|
|
6282
|
-
"linkBtn": "_3j77BW_linkBtn",
|
|
6283
|
-
"moreEnd": "_3j77BW_moreEnd",
|
|
6284
|
-
"foot": "_3j77BW_foot",
|
|
6285
|
-
"headActions": "_3j77BW_headActions",
|
|
6286
|
-
"badgeError": "_3j77BW_badgeError",
|
|
6287
|
-
"footPath": "_3j77BW_footPath",
|
|
6288
|
-
"entry": "_3j77BW_entry",
|
|
6289
|
-
"message": "_3j77BW_message",
|
|
6290
|
-
"badge": "_3j77BW_badge",
|
|
6291
6280
|
"badgeInfo": "_3j77BW_badgeInfo",
|
|
6292
|
-
"
|
|
6281
|
+
"time": "_3j77BW_time",
|
|
6282
|
+
"filterChipActive": "_3j77BW_filterChipActive",
|
|
6283
|
+
"footFail": "_3j77BW_footFail",
|
|
6293
6284
|
"badgeDebug": "_3j77BW_badgeDebug",
|
|
6294
|
-
"
|
|
6295
|
-
"
|
|
6285
|
+
"badgeError": "_3j77BW_badgeError",
|
|
6286
|
+
"search": "_3j77BW_search",
|
|
6287
|
+
"badge": "_3j77BW_badge",
|
|
6296
6288
|
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
6297
|
-
"
|
|
6298
|
-
"
|
|
6299
|
-
"
|
|
6289
|
+
"moreEnd": "_3j77BW_moreEnd",
|
|
6290
|
+
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
6291
|
+
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
6292
|
+
"footCount": "_3j77BW_footCount",
|
|
6293
|
+
"btn": "_3j77BW_btn",
|
|
6294
|
+
"foot": "_3j77BW_foot",
|
|
6300
6295
|
"pathRow": "_3j77BW_pathRow",
|
|
6301
|
-
"
|
|
6302
|
-
"
|
|
6296
|
+
"catBadge": "_3j77BW_catBadge",
|
|
6297
|
+
"pathText": "_3j77BW_pathText",
|
|
6298
|
+
"catInstall": "_3j77BW_catInstall",
|
|
6299
|
+
"empty": "_3j77BW_empty",
|
|
6300
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
6301
|
+
"clearBtn": "_3j77BW_clearBtn",
|
|
6302
|
+
"more": "_3j77BW_more"
|
|
6303
6303
|
};
|
|
6304
6304
|
//#endregion
|
|
6305
6305
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -7573,7 +7573,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
7573
7573
|
openSection: settingsSection,
|
|
7574
7574
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
7575
7575
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
7576
|
-
info: catalog.hubUpdateTarget ?? catalog.hubUpdateInfo ?? { version: "2.2.
|
|
7576
|
+
info: catalog.hubUpdateTarget ?? catalog.hubUpdateInfo ?? { version: "2.2.4" },
|
|
7577
7577
|
state: catalog.hubUpdateState,
|
|
7578
7578
|
currentVersion: catalog.hubCurrentVersion,
|
|
7579
7579
|
lang,
|
|
@@ -18,7 +18,7 @@ import { backfillOperationLog, createOperationLogTap, hasSubstantiveOutput, oper
|
|
|
18
18
|
import { cleanLine, estimateProgress } from '../profile/progress.js';
|
|
19
19
|
import { hasClientUi, isDshPlugin, mountLoadedEntry, removeLoadedEntry } from '../loader.js';
|
|
20
20
|
import { addPendingRestart, clearPendingRestart } from '../profile/pending-restart.js';
|
|
21
|
-
import { addAllowBuildsKey, bundleIncludes, githubRepoOf, parseAllowBuildsKey, profileDirectory } from '../profile/profile.js';
|
|
21
|
+
import { addAllowBuildsKey, bundleIncludes, githubRepoOf, parseAllowBuildsKey, profileDirectory, validPackageName } from '../profile/profile.js';
|
|
22
22
|
import { appendLog } from '../log.js';
|
|
23
23
|
import { commandOnPath, gitMissingDetail } from './preflight.js';
|
|
24
24
|
import { isTransportFailure, registryHost } from './registry-fallback.js';
|
|
@@ -200,14 +200,17 @@ export function desktopCliBootstrap(entry) {
|
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* 传给 CLI 的安装目标:钉住版本优先(Hub 自我更新提示的是已过供应链门禁的版本),
|
|
203
|
-
*
|
|
203
|
+
* 其次 npm 的 add/update 都显式 `@latest`;git 源、全局安装、已带版本/tag 的 spec 保持原样。
|
|
204
204
|
*/
|
|
205
205
|
export function npmInstallTargetOf(target, opts) {
|
|
206
206
|
if (opts.global || githubRepoOf(target) !== null)
|
|
207
207
|
return target;
|
|
208
208
|
if (opts.pinned !== undefined && opts.pinned !== '')
|
|
209
209
|
return opts.pinned;
|
|
210
|
-
|
|
210
|
+
// 裸包名才补 @latest:pnpm 对已存在的精确 spec 是幂等的,不显式要求就会留用旧版本
|
|
211
|
+
if (!(opts.update || opts.add) || !validPackageName(target))
|
|
212
|
+
return target;
|
|
213
|
+
return `${target}@latest`;
|
|
211
214
|
}
|
|
212
215
|
function stopChild(child) {
|
|
213
216
|
if (process.platform === 'win32' && child.pid !== undefined) {
|
|
@@ -372,15 +375,13 @@ function spawnMutation(options) {
|
|
|
372
375
|
&& process.versions.electron !== undefined) {
|
|
373
376
|
pushLine(task, '[desktop-cli-fallback] running inside Electron but no desktop CLI bootstrap was found — falling back to dsh on PATH (a desktop-managed profile will be rejected)');
|
|
374
377
|
}
|
|
375
|
-
//
|
|
376
|
-
//
|
|
377
|
-
//
|
|
378
|
-
// update 动作实际执行 `add <target>@latest`(pnpm 对已存在依赖带显式版本即原位覆盖升级),
|
|
379
|
-
// CLI 动词仍透传 add —— 不执行官方 update 动词,避免与既有覆盖重装机制分叉。
|
|
378
|
+
// 安装/更新 npm 包都显式 @latest:pnpm add <pkg>(无版本)对已存在的精确 spec 是幂等的,
|
|
379
|
+
// 会原样留用旧版本(更新不生效,普通安装也可能装回不支持当前宿主的旧包)。
|
|
380
|
+
// update 动作同样执行 `add <target>@latest`,CLI 动词透传 add,不与官方 update 动词分叉。
|
|
380
381
|
const isUpdate = action === 'update' || updateNpm === true;
|
|
381
382
|
const cliAction = action === 'update' ? 'add' : action;
|
|
382
383
|
// 钉住版本优先于 @latest:提示的是「已过门禁」的版本,装 latest 会被 pnpm 拒绝
|
|
383
|
-
const npmUpdateTarget = npmInstallTargetOf(target, { update: isUpdate, global: isGlobalNpm, pinned: installSpec });
|
|
384
|
+
const npmUpdateTarget = npmInstallTargetOf(target, { update: isUpdate, global: isGlobalNpm, pinned: installSpec, add: cliAction === 'add' });
|
|
384
385
|
const args = isGlobalNpm
|
|
385
386
|
? ['install', '-g', ...(globalNpm ?? [])]
|
|
386
387
|
: [...invocation.prefixArgs, 'plugin', '--profile', profile, cliAction, npmUpdateTarget];
|
|
@@ -40,12 +40,13 @@ export declare function cancelTask(id: number): boolean;
|
|
|
40
40
|
export declare function desktopCliBootstrap(entry: string): string | null;
|
|
41
41
|
/**
|
|
42
42
|
* 传给 CLI 的安装目标:钉住版本优先(Hub 自我更新提示的是已过供应链门禁的版本),
|
|
43
|
-
*
|
|
43
|
+
* 其次 npm 的 add/update 都显式 `@latest`;git 源、全局安装、已带版本/tag 的 spec 保持原样。
|
|
44
44
|
*/
|
|
45
45
|
export declare function npmInstallTargetOf(target: string, opts: {
|
|
46
46
|
update: boolean;
|
|
47
47
|
global: boolean;
|
|
48
48
|
pinned?: string;
|
|
49
|
+
add?: boolean;
|
|
49
50
|
}): string;
|
|
50
51
|
/**
|
|
51
52
|
* 插件变更入队并返回其任务。任务严格串行:队列 worker 只在上一个结束后才启动下一个。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "A community plugin marketplace for DeepSeek Harness, built to the official plugin spec — browse, search and install 10000+ human-curated community plugins without leaving the app. · DeepSeek Harness 社区插件市场(遵循官方开发规范):10000+ 人工精选社区插件,每日更新。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -20,7 +20,7 @@ import { cleanLine, estimateProgress } from '../profile/progress.ts'
|
|
|
20
20
|
import type { LoaderHandle } from '../loader.ts'
|
|
21
21
|
import { hasClientUi, isDshPlugin, mountLoadedEntry, removeLoadedEntry } from '../loader.ts'
|
|
22
22
|
import { addPendingRestart, clearPendingRestart } from '../profile/pending-restart.ts'
|
|
23
|
-
import { addAllowBuildsKey, bundleIncludes, githubRepoOf, parseAllowBuildsKey, profileDirectory } from '../profile/profile.ts'
|
|
23
|
+
import { addAllowBuildsKey, bundleIncludes, githubRepoOf, parseAllowBuildsKey, profileDirectory, validPackageName } from '../profile/profile.ts'
|
|
24
24
|
import { appendLog } from '../log.ts'
|
|
25
25
|
import { commandOnPath, gitMissingDetail } from './preflight.ts'
|
|
26
26
|
import { isTransportFailure, registryHost } from './registry-fallback.ts'
|
|
@@ -218,12 +218,14 @@ export function desktopCliBootstrap(entry: string): string | null {
|
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* 传给 CLI 的安装目标:钉住版本优先(Hub 自我更新提示的是已过供应链门禁的版本),
|
|
221
|
-
*
|
|
221
|
+
* 其次 npm 的 add/update 都显式 `@latest`;git 源、全局安装、已带版本/tag 的 spec 保持原样。
|
|
222
222
|
*/
|
|
223
|
-
export function npmInstallTargetOf(target: string, opts: { update: boolean; global: boolean; pinned?: string }): string {
|
|
223
|
+
export function npmInstallTargetOf(target: string, opts: { update: boolean; global: boolean; pinned?: string; add?: boolean }): string {
|
|
224
224
|
if (opts.global || githubRepoOf(target) !== null) return target
|
|
225
225
|
if (opts.pinned !== undefined && opts.pinned !== '') return opts.pinned
|
|
226
|
-
|
|
226
|
+
// 裸包名才补 @latest:pnpm 对已存在的精确 spec 是幂等的,不显式要求就会留用旧版本
|
|
227
|
+
if (!(opts.update || opts.add) || !validPackageName(target)) return target
|
|
228
|
+
return `${target}@latest`
|
|
227
229
|
}
|
|
228
230
|
|
|
229
231
|
function stopChild(child: ReturnType<typeof spawn>): void {
|
|
@@ -432,15 +434,13 @@ function spawnMutation(options: {
|
|
|
432
434
|
&& (process.versions as Record<string, string | undefined>).electron !== undefined) {
|
|
433
435
|
pushLine(task, '[desktop-cli-fallback] running inside Electron but no desktop CLI bootstrap was found — falling back to dsh on PATH (a desktop-managed profile will be rejected)')
|
|
434
436
|
}
|
|
435
|
-
//
|
|
436
|
-
//
|
|
437
|
-
//
|
|
438
|
-
// update 动作实际执行 `add <target>@latest`(pnpm 对已存在依赖带显式版本即原位覆盖升级),
|
|
439
|
-
// CLI 动词仍透传 add —— 不执行官方 update 动词,避免与既有覆盖重装机制分叉。
|
|
437
|
+
// 安装/更新 npm 包都显式 @latest:pnpm add <pkg>(无版本)对已存在的精确 spec 是幂等的,
|
|
438
|
+
// 会原样留用旧版本(更新不生效,普通安装也可能装回不支持当前宿主的旧包)。
|
|
439
|
+
// update 动作同样执行 `add <target>@latest`,CLI 动词透传 add,不与官方 update 动词分叉。
|
|
440
440
|
const isUpdate = action === 'update' || updateNpm === true
|
|
441
441
|
const cliAction = action === 'update' ? 'add' : action
|
|
442
442
|
// 钉住版本优先于 @latest:提示的是「已过门禁」的版本,装 latest 会被 pnpm 拒绝
|
|
443
|
-
const npmUpdateTarget = npmInstallTargetOf(target, { update: isUpdate, global: isGlobalNpm, pinned: installSpec })
|
|
443
|
+
const npmUpdateTarget = npmInstallTargetOf(target, { update: isUpdate, global: isGlobalNpm, pinned: installSpec, add: cliAction === 'add' })
|
|
444
444
|
const args = isGlobalNpm
|
|
445
445
|
? ['install', '-g', ...(globalNpm ?? [])]
|
|
446
446
|
: [...invocation.prefixArgs, 'plugin', '--profile', profile, cliAction, npmUpdateTarget]
|