dsh-plugin 1.6.3 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +10 -10
- package/README.md +10 -10
- package/client/client.js +318 -304
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +8 -6
- package/lib/services/install/npm-resolve.js +44 -15
- package/lib/services/probe.js +17 -0
- package/lib/types/services/install/npm-resolve.d.ts +3 -2
- package/lib/types/services/probe.d.ts +8 -0
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +4 -2
- package/src/client/components/modals/HubUpdateModal.tsx +19 -10
- package/src/client/hooks/useCatalog.ts +13 -9
- package/src/client/locales.ts +6 -2
- package/src/client/logic/urls.ts +2 -2
- package/src/client/types.ts +11 -0
- package/src/server/http/routes.ts +8 -6
- package/src/server/services/install/npm-resolve.ts +41 -13
- package/src/server/services/probe.ts +18 -0
package/client/client.js
CHANGED
|
@@ -289,7 +289,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
289
289
|
failIssueHint: "带着错误日志去作者仓库一键提交 Issue(正文含官网收录链接)",
|
|
290
290
|
failIssueBig: "一键提交 BUG 到 GitHub Issue 为开源作贡献",
|
|
291
291
|
failPrepareHint: "该插件安装时的构建脚本执行失败(git 分发常缺失子模块或构建产物),属插件打包分发问题。请向作者仓库提交 Issue 反馈。",
|
|
292
|
-
failPackagingHint: "该插件不支持官方默认安装方式:其 git 分发缺少构建产物(package.json 声明的入口文件在仓库中不存在),说明作者未适配官方安装流程。请到作者仓库提交 Issue
|
|
292
|
+
failPackagingHint: "该插件不支持官方默认安装方式:其 git 分发缺少构建产物(package.json 声明的入口文件在仓库中不存在),说明作者未适配官方安装流程。请到作者仓库提交 Issue 反馈,请其提交构建产物、改用预构建 release `.tgz` 直链(`releases/download/<tag>/<asset>.tgz`),或发布完整的 npm 版。",
|
|
293
293
|
failIgnoredBuild: "该插件或其依赖需要执行构建脚本,被 pnpm 的安全白名单(allowBuilds)默认拦截导致安装失败(如原生模块 node-pty、或 git 安装时插件的 prepare 脚本)—— 其他插件不受影响,属该插件的依赖/打包问题。建议向作者仓库一键反馈,请作者改用预编译版本(如 node-pty-prebuilt-multiarch)或移除安装期构建。",
|
|
294
294
|
failNpmTooLow: "怀疑本机 npm 版本过低:npm 解析插件依赖时内部崩溃(这是 npm 自身的已知缺陷,不是插件问题)。请升级 npm 后重试:npm install -g npm@latest",
|
|
295
295
|
failNpmTooLowV: "本机 npm 版本过低(当前 v{v}):npm 解析插件依赖时内部崩溃(这是 npm 自身的已知缺陷,不是插件问题)。请升级 npm 后重试:npm install -g npm@latest",
|
|
@@ -343,6 +343,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
343
343
|
versionHint: "查看版本信息与更新记录",
|
|
344
344
|
hubCurrentTitle: "当前版本",
|
|
345
345
|
hubCurrentDesc: "你正在使用 v{version},已是最新版本。",
|
|
346
|
+
hubPendingDesc: "最新版 v{version} 已发布,但发布尚未满 24 小时:此时更新会被 pnpm 静默回退到旧版本,因此暂不提示。稍后这里会自动出现更新入口。",
|
|
346
347
|
hubUpToDate: "已是最新版本",
|
|
347
348
|
followUs: "关注我们",
|
|
348
349
|
aboutTitle: "关注我们",
|
|
@@ -632,7 +633,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
632
633
|
failIssueHint: "Open a pre-filled issue on the author repo with this error log (includes catalog links)",
|
|
633
634
|
failIssueBig: "Report this bug to GitHub — contribute to open source",
|
|
634
635
|
failPrepareHint: "This plugin failed while running its build scripts during install (git tarballs often miss submodules or build output). This is a packaging issue of the plugin itself — please report it to the author repository.",
|
|
635
|
-
failPackagingHint: "This plugin does not support the official default install method: its git distribution lacks the build output (the entry file declared in package.json is not in the repository), so it has not been adapted to the official install flow. Please file an Issue on the author's repo asking for committed build output or
|
|
636
|
+
failPackagingHint: "This plugin does not support the official default install method: its git distribution lacks the build output (the entry file declared in package.json is not in the repository), so it has not been adapted to the official install flow. Please file an Issue on the author's repo asking for committed build output, a prebuilt release `.tgz` (`releases/download/<tag>/<asset>.tgz`), or a complete npm release.",
|
|
636
637
|
failIgnoredBuild: "This plugin (or its dependencies) needs to run build scripts, which pnpm blocks by default via its allowBuilds allowlist, so the install fails (e.g. native modules like node-pty, or the plugin's own prepare script on git installs) — other plugins are unaffected. This is a dependency/packaging issue of the plugin itself. Please report it to the author repository and ask the author to ship a prebuilt variant (e.g. node-pty-prebuilt-multiarch) or drop install-time builds.",
|
|
637
638
|
failNpmTooLow: "Your local npm may be too old: npm crashed internally while resolving the plugin's dependencies (a known npm bug — not a plugin issue). Please upgrade npm and retry: npm install -g npm@latest",
|
|
638
639
|
failNpmTooLowV: "Your local npm is too old (v{v}): npm crashed internally while resolving the plugin's dependencies (a known npm bug — not a plugin issue). Please upgrade npm and retry: npm install -g npm@latest",
|
|
@@ -686,6 +687,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
686
687
|
versionHint: "View version info and changelog",
|
|
687
688
|
hubCurrentTitle: "Current version",
|
|
688
689
|
hubCurrentDesc: "You are on v{version} — this is the latest version.",
|
|
690
|
+
hubPendingDesc: "v{version} has been released, but it is still within the 24-hour window where pnpm silently falls back to the older version, so the update is not offered yet. The update entry will appear here shortly.",
|
|
689
691
|
hubUpToDate: "Up to date",
|
|
690
692
|
followUs: "Follow us",
|
|
691
693
|
aboutTitle: "Follow us",
|
|
@@ -712,41 +714,41 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
712
714
|
css: css$11
|
|
713
715
|
});
|
|
714
716
|
var Header_module_css_default = {
|
|
715
|
-
"
|
|
716
|
-
"header": "qikqja_header",
|
|
717
|
-
"controls": "qikqja_controls",
|
|
718
|
-
"aboutBtn": "qikqja_aboutBtn",
|
|
717
|
+
"adText": "qikqja_adText",
|
|
719
718
|
"version": "qikqja_version",
|
|
719
|
+
"adBanner": "qikqja_adBanner",
|
|
720
|
+
"segLabel": "qikqja_segLabel",
|
|
720
721
|
"segBtnActive": "qikqja_segBtnActive",
|
|
721
|
-
"
|
|
722
|
-
"
|
|
722
|
+
"controls": "qikqja_controls",
|
|
723
|
+
"searchRow": "qikqja_searchRow",
|
|
724
|
+
"langBtn": "qikqja_langBtn",
|
|
725
|
+
"headerTitleRow": "qikqja_headerTitleRow",
|
|
726
|
+
"title": "qikqja_title",
|
|
727
|
+
"segGroup": "qikqja_segGroup",
|
|
723
728
|
"hubUpdateBadge": "qikqja_hubUpdateBadge",
|
|
724
|
-
"resultCount": "qikqja_resultCount",
|
|
725
|
-
"adBadge": "qikqja_adBadge",
|
|
726
|
-
"tabsRow": "qikqja_tabsRow",
|
|
727
729
|
"taglineLink": "qikqja_taglineLink",
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"langBtn": "qikqja_langBtn",
|
|
730
|
+
"logoIcon": "qikqja_logoIcon",
|
|
731
|
+
"versionBtn": "qikqja_versionBtn",
|
|
732
|
+
"tagline": "qikqja_tagline",
|
|
732
733
|
"tabs": "qikqja_tabs",
|
|
734
|
+
"sortGroup": "qikqja_sortGroup",
|
|
735
|
+
"tab": "qikqja_tab",
|
|
736
|
+
"headerRight": "qikqja_headerRight",
|
|
737
|
+
"tabActive": "qikqja_tabActive",
|
|
738
|
+
"tabCount": "qikqja_tabCount",
|
|
739
|
+
"tabsRow": "qikqja_tabsRow",
|
|
733
740
|
"githubIcon": "qikqja_githubIcon",
|
|
734
|
-
"headerTitleRow": "qikqja_headerTitleRow",
|
|
735
741
|
"adArrow": "qikqja_adArrow",
|
|
736
|
-
"
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"
|
|
742
|
+
"aboutBtn": "qikqja_aboutBtn",
|
|
743
|
+
"segBtn": "qikqja_segBtn",
|
|
744
|
+
"adBadge": "qikqja_adBadge",
|
|
745
|
+
"copyIcon": "qikqja_copyIcon",
|
|
746
|
+
"search": "qikqja_search",
|
|
747
|
+
"brandTitle": "qikqja_brandTitle",
|
|
740
748
|
"root": "qikqja_root",
|
|
741
|
-
"adText": "qikqja_adText",
|
|
742
|
-
"title": "qikqja_title",
|
|
743
|
-
"segGroup": "qikqja_segGroup",
|
|
744
749
|
"resultSeg": "qikqja_resultSeg",
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"searchRow": "qikqja_searchRow",
|
|
748
|
-
"tab": "qikqja_tab",
|
|
749
|
-
"tabActive": "qikqja_tabActive",
|
|
750
|
+
"resultCount": "qikqja_resultCount",
|
|
751
|
+
"header": "qikqja_header",
|
|
750
752
|
"githubLink": "qikqja_githubLink"
|
|
751
753
|
};
|
|
752
754
|
//#endregion
|
|
@@ -766,136 +768,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
766
768
|
css: css$10
|
|
767
769
|
});
|
|
768
770
|
var Modal_module_css_default = {
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
"
|
|
772
|
-
"detailLink": "BiQ1zG_detailLink",
|
|
773
|
-
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
774
|
-
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
775
|
-
"resultCheck": "BiQ1zG_resultCheck",
|
|
776
|
-
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
777
|
-
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
778
|
-
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
779
|
-
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
780
|
-
"noticeMain": "BiQ1zG_noticeMain",
|
|
781
|
-
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
782
|
-
"detailMono": "BiQ1zG_detailMono",
|
|
783
|
-
"helpModal": "BiQ1zG_helpModal",
|
|
771
|
+
"failBigIssue": "BiQ1zG_failBigIssue",
|
|
772
|
+
"modalActions": "BiQ1zG_modalActions",
|
|
773
|
+
"noticeIgnore": "BiQ1zG_noticeIgnore",
|
|
784
774
|
"queueRow": "BiQ1zG_queueRow",
|
|
785
|
-
"modalCopy": "BiQ1zG_modalCopy",
|
|
786
775
|
"uninstallConfirm": "BiQ1zG_uninstallConfirm",
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
791
|
-
"aboutModal": "BiQ1zG_aboutModal",
|
|
792
|
-
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
793
|
-
"modalIn": "BiQ1zG_modalIn",
|
|
794
|
-
"detailDim": "BiQ1zG_detailDim",
|
|
795
|
-
"overlayIn": "BiQ1zG_overlayIn",
|
|
796
|
-
"modalBody": "BiQ1zG_modalBody",
|
|
797
|
-
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
798
|
-
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
799
|
-
"modalDesc": "BiQ1zG_modalDesc",
|
|
800
|
-
"errorModal": "BiQ1zG_errorModal",
|
|
801
|
-
"failRow": "BiQ1zG_failRow",
|
|
802
|
-
"modalTitle": "BiQ1zG_modalTitle",
|
|
803
|
-
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
804
|
-
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
805
|
-
"failList": "BiQ1zG_failList",
|
|
806
|
-
"failCopy": "BiQ1zG_failCopy",
|
|
807
|
-
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
808
|
-
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
809
|
-
"modalActions": "BiQ1zG_modalActions",
|
|
776
|
+
"stripCancel": "BiQ1zG_stripCancel",
|
|
777
|
+
"dangerConfirm": "BiQ1zG_dangerConfirm",
|
|
778
|
+
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
810
779
|
"errorCopySoft": "BiQ1zG_errorCopySoft",
|
|
811
|
-
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
812
|
-
"linkIcon": "BiQ1zG_linkIcon",
|
|
813
|
-
"modalWide": "BiQ1zG_modalWide",
|
|
814
|
-
"noticeHead": "BiQ1zG_noticeHead",
|
|
815
|
-
"modal": "BiQ1zG_modal",
|
|
816
|
-
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
817
|
-
"progressFill": "BiQ1zG_progressFill",
|
|
818
|
-
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
819
|
-
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
820
|
-
"overlay": "BiQ1zG_overlay",
|
|
821
|
-
"modalLink": "BiQ1zG_modalLink",
|
|
822
780
|
"noticeTextFail": "BiQ1zG_noticeTextFail",
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
826
|
-
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
827
|
-
"queuedHint": "BiQ1zG_queuedHint",
|
|
781
|
+
"pendingRowStatus": "BiQ1zG_pendingRowStatus",
|
|
782
|
+
"modalTitleQueued": "BiQ1zG_modalTitleQueued",
|
|
828
783
|
"noticeVersion": "BiQ1zG_noticeVersion",
|
|
829
|
-
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
830
|
-
"detailPath": "BiQ1zG_detailPath",
|
|
831
|
-
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
832
|
-
"toast": "BiQ1zG_toast",
|
|
833
|
-
"progressHead": "BiQ1zG_progressHead",
|
|
834
|
-
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
835
|
-
"modalRow": "BiQ1zG_modalRow",
|
|
836
|
-
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
837
784
|
"detailLabel": "BiQ1zG_detailLabel",
|
|
785
|
+
"noticeHead": "BiQ1zG_noticeHead",
|
|
786
|
+
"modalCloseIcon": "BiQ1zG_modalCloseIcon",
|
|
787
|
+
"noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
|
|
788
|
+
"modalHead": "BiQ1zG_modalHead",
|
|
838
789
|
"queueRowStatus": "BiQ1zG_queueRowStatus",
|
|
839
|
-
"
|
|
840
|
-
"
|
|
841
|
-
"
|
|
842
|
-
"
|
|
843
|
-
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
844
|
-
"detailValue": "BiQ1zG_detailValue",
|
|
845
|
-
"detailPathBtn": "BiQ1zG_detailPathBtn",
|
|
846
|
-
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
790
|
+
"failedCopyHint": "BiQ1zG_failedCopyHint",
|
|
791
|
+
"errorModal": "BiQ1zG_errorModal",
|
|
792
|
+
"queuedHint": "BiQ1zG_queuedHint",
|
|
793
|
+
"progressTrack": "BiQ1zG_progressTrack",
|
|
847
794
|
"noticeRowOk": "BiQ1zG_noticeRowOk",
|
|
848
|
-
"
|
|
849
|
-
"
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
-
"
|
|
856
|
-
"
|
|
857
|
-
"
|
|
795
|
+
"aboutModal": "BiQ1zG_aboutModal",
|
|
796
|
+
"overlay": "BiQ1zG_overlay",
|
|
797
|
+
"trustHint": "BiQ1zG_trustHint",
|
|
798
|
+
"detailArrow": "BiQ1zG_detailArrow",
|
|
799
|
+
"modalDesc": "BiQ1zG_modalDesc",
|
|
800
|
+
"detailGrid": "BiQ1zG_detailGrid",
|
|
801
|
+
"modalInstall": "BiQ1zG_modalInstall",
|
|
802
|
+
"progressFill": "BiQ1zG_progressFill",
|
|
803
|
+
"detailPathActions": "BiQ1zG_detailPathActions",
|
|
804
|
+
"noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
|
|
858
805
|
"detailModal": "BiQ1zG_detailModal",
|
|
859
806
|
"queueSection": "BiQ1zG_queueSection",
|
|
807
|
+
"confirmIconWrap": "BiQ1zG_confirmIconWrap",
|
|
808
|
+
"queueRowTarget": "BiQ1zG_queueRowTarget",
|
|
860
809
|
"restartLater": "BiQ1zG_restartLater",
|
|
810
|
+
"hubUpdateModal": "BiQ1zG_hubUpdateModal",
|
|
811
|
+
"modalLink": "BiQ1zG_modalLink",
|
|
812
|
+
"detailStars": "BiQ1zG_detailStars",
|
|
813
|
+
"failKindUninstall": "BiQ1zG_failKindUninstall",
|
|
861
814
|
"restartNow": "BiQ1zG_restartNow",
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"trustHint": "BiQ1zG_trustHint",
|
|
815
|
+
"queueRowPct": "BiQ1zG_queueRowPct",
|
|
816
|
+
"modalBody": "BiQ1zG_modalBody",
|
|
865
817
|
"resultCheckIcon": "BiQ1zG_resultCheckIcon",
|
|
818
|
+
"modalTitle": "BiQ1zG_modalTitle",
|
|
819
|
+
"noticeList": "BiQ1zG_noticeList",
|
|
820
|
+
"noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
|
|
821
|
+
"failRepo": "BiQ1zG_failRepo",
|
|
822
|
+
"modalCopy": "BiQ1zG_modalCopy",
|
|
823
|
+
"helpModal": "BiQ1zG_helpModal",
|
|
824
|
+
"confirmIconDanger": "BiQ1zG_confirmIconDanger",
|
|
825
|
+
"detailLink": "BiQ1zG_detailLink",
|
|
826
|
+
"modalCmdCopy": "BiQ1zG_modalCmdCopy",
|
|
827
|
+
"failNetworkTarget": "BiQ1zG_failNetworkTarget",
|
|
828
|
+
"errorTitle": "BiQ1zG_errorTitle",
|
|
829
|
+
"aboutContent": "BiQ1zG_aboutContent",
|
|
830
|
+
"noticeTextOk": "BiQ1zG_noticeTextOk",
|
|
866
831
|
"detailRow": "BiQ1zG_detailRow",
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"
|
|
870
|
-
"
|
|
871
|
-
"
|
|
832
|
+
"hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
|
|
833
|
+
"detailStatusPending": "BiQ1zG_detailStatusPending",
|
|
834
|
+
"detailMono": "BiQ1zG_detailMono",
|
|
835
|
+
"queueRowTrack": "BiQ1zG_queueRowTrack",
|
|
836
|
+
"resultCheck": "BiQ1zG_resultCheck",
|
|
872
837
|
"noticeTime": "BiQ1zG_noticeTime",
|
|
873
|
-
"modalValue": "BiQ1zG_modalValue",
|
|
874
|
-
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
875
|
-
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
876
|
-
"errorTitle": "BiQ1zG_errorTitle",
|
|
877
|
-
"progressText": "BiQ1zG_progressText",
|
|
878
|
-
"result": "BiQ1zG_result",
|
|
879
|
-
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
880
838
|
"failKind": "BiQ1zG_failKind",
|
|
881
|
-
"
|
|
839
|
+
"confirmIcon": "BiQ1zG_confirmIcon",
|
|
840
|
+
"queueRowBody": "BiQ1zG_queueRowBody",
|
|
841
|
+
"modalLabel": "BiQ1zG_modalLabel",
|
|
842
|
+
"resultTitle": "BiQ1zG_resultTitle",
|
|
843
|
+
"detailStatusRunning": "BiQ1zG_detailStatusRunning",
|
|
844
|
+
"noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
|
|
845
|
+
"errorHint": "BiQ1zG_errorHint",
|
|
846
|
+
"detailUpdateHint": "BiQ1zG_detailUpdateHint",
|
|
847
|
+
"queueRowHead": "BiQ1zG_queueRowHead",
|
|
848
|
+
"modalCmdText": "BiQ1zG_modalCmdText",
|
|
849
|
+
"confirmPrimary": "BiQ1zG_confirmPrimary",
|
|
850
|
+
"progressFillFail": "BiQ1zG_progressFillFail",
|
|
851
|
+
"modalCancel": "BiQ1zG_modalCancel",
|
|
882
852
|
"failEmpty": "BiQ1zG_failEmpty",
|
|
883
|
-
"
|
|
884
|
-
"
|
|
885
|
-
"
|
|
853
|
+
"queueSectionTitle": "BiQ1zG_queueSectionTitle",
|
|
854
|
+
"detailDim": "BiQ1zG_detailDim",
|
|
855
|
+
"noticeRow": "BiQ1zG_noticeRow",
|
|
856
|
+
"resultDesc": "BiQ1zG_resultDesc",
|
|
857
|
+
"progressText": "BiQ1zG_progressText",
|
|
858
|
+
"overlayIn": "BiQ1zG_overlayIn",
|
|
859
|
+
"modalClose": "BiQ1zG_modalClose",
|
|
860
|
+
"hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
|
|
861
|
+
"result": "BiQ1zG_result",
|
|
862
|
+
"detailPath": "BiQ1zG_detailPath",
|
|
863
|
+
"modalIn": "BiQ1zG_modalIn",
|
|
864
|
+
"aboutMeta": "BiQ1zG_aboutMeta",
|
|
865
|
+
"noticeRowMain": "BiQ1zG_noticeRowMain",
|
|
866
|
+
"errorBox": "BiQ1zG_errorBox",
|
|
867
|
+
"modalCmd": "BiQ1zG_modalCmd",
|
|
886
868
|
"toastIn": "BiQ1zG_toastIn",
|
|
869
|
+
"noticeMain": "BiQ1zG_noticeMain",
|
|
870
|
+
"cliOnlyHint": "BiQ1zG_cliOnlyHint",
|
|
871
|
+
"failDiagBtn": "BiQ1zG_failDiagBtn",
|
|
872
|
+
"restartNowWarning": "BiQ1zG_restartNowWarning",
|
|
873
|
+
"detailStatusText": "BiQ1zG_detailStatusText",
|
|
874
|
+
"modalTitleBusy": "BiQ1zG_modalTitleBusy",
|
|
875
|
+
"modalWide": "BiQ1zG_modalWide",
|
|
887
876
|
"pendingRowActions": "BiQ1zG_pendingRowActions",
|
|
877
|
+
"noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
|
|
878
|
+
"detailValue": "BiQ1zG_detailValue",
|
|
879
|
+
"failClear": "BiQ1zG_failClear",
|
|
880
|
+
"failPrepareHint": "BiQ1zG_failPrepareHint",
|
|
881
|
+
"linkIcon": "BiQ1zG_linkIcon",
|
|
882
|
+
"progressHead": "BiQ1zG_progressHead",
|
|
888
883
|
"noticeFoot": "BiQ1zG_noticeFoot",
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
893
|
-
"
|
|
894
|
-
"
|
|
895
|
-
"
|
|
896
|
-
"
|
|
897
|
-
"
|
|
898
|
-
"
|
|
884
|
+
"detailPathText": "BiQ1zG_detailPathText",
|
|
885
|
+
"logModal": "BiQ1zG_logModal",
|
|
886
|
+
"modalValue": "BiQ1zG_modalValue",
|
|
887
|
+
"modalRow": "BiQ1zG_modalRow",
|
|
888
|
+
"resultRestarting": "BiQ1zG_resultRestarting",
|
|
889
|
+
"failCopy": "BiQ1zG_failCopy",
|
|
890
|
+
"hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
|
|
891
|
+
"noticeRemove": "BiQ1zG_noticeRemove",
|
|
892
|
+
"failHead": "BiQ1zG_failHead",
|
|
893
|
+
"failKindInstall": "BiQ1zG_failKindInstall",
|
|
894
|
+
"toast": "BiQ1zG_toast",
|
|
895
|
+
"queueRowDesc": "BiQ1zG_queueRowDesc",
|
|
896
|
+
"modal": "BiQ1zG_modal",
|
|
897
|
+
"failRow": "BiQ1zG_failRow",
|
|
898
|
+
"failList": "BiQ1zG_failList",
|
|
899
|
+
"progress": "BiQ1zG_progress",
|
|
900
|
+
"toastFail": "BiQ1zG_toastFail"
|
|
899
901
|
};
|
|
900
902
|
//#endregion
|
|
901
903
|
//#region src/server/services/install/release-target.ts
|
|
@@ -1007,7 +1009,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1007
1009
|
* tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
|
|
1008
1010
|
* node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
|
|
1009
1011
|
*/
|
|
1010
|
-
const PLUGIN_VERSION = "1.6.
|
|
1012
|
+
const PLUGIN_VERSION = "1.6.5";
|
|
1011
1013
|
const CATEGORY_ORDER = [
|
|
1012
1014
|
"interface",
|
|
1013
1015
|
"session",
|
|
@@ -1633,27 +1635,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1633
1635
|
dshCapableNames
|
|
1634
1636
|
]);
|
|
1635
1637
|
/**
|
|
1636
|
-
* Hub
|
|
1638
|
+
* Hub 自身更新状态:Hub 就是当前运行的应用(始终已安装,无需 installedName 命中)。
|
|
1637
1639
|
* 以 Worker 版本控制中心返回的「最新版本」为准,与当前运行的版本号比对——
|
|
1638
1640
|
* 构建时注入的 PLUGIN_VERSION 是运行 bundle 的真实版本;测试/异常场景缺失时
|
|
1639
1641
|
* 回退到安装时记录的版本。版本号不等即新版(版本号只在发版时变更,绝无降级场景)。
|
|
1640
1642
|
*
|
|
1641
1643
|
* 另加 pnpm 供应链安全门槛:新版本发布还不满 24 小时(+30 分钟缓冲)时,pnpm 会静默
|
|
1642
1644
|
* 回退到旧版本,此时若提示「可更新」用户点了也更新不到。publishedAt 由接口中心按 npm
|
|
1643
|
-
* registry
|
|
1645
|
+
* registry 真实发布时间下发(同源),据此判断最准。门槛命中要单列成 `pending` 而不是
|
|
1646
|
+
* 落回「无更新」——回落会让弹窗在本机版本落后时谎称「已是最新」(issue #145)。
|
|
1644
1647
|
*/
|
|
1645
|
-
const
|
|
1646
|
-
|
|
1647
|
-
if (hubUpdateInfo
|
|
1648
|
+
const hubCurrentVersion = "1.6.5";
|
|
1649
|
+
const hubUpdateState = (() => {
|
|
1650
|
+
if (!hubUpdateInfo) return "none";
|
|
1651
|
+
if (hubUpdateInfo.version === hubCurrentVersion) return "latest";
|
|
1648
1652
|
const publishedAt = hubUpdateInfo.publishedAt;
|
|
1649
1653
|
if (publishedAt) {
|
|
1650
1654
|
const publishedMs = Date.parse(publishedAt);
|
|
1651
1655
|
if (!Number.isNaN(publishedMs)) {
|
|
1652
|
-
if (Date.now() - publishedMs < 882e5) return
|
|
1656
|
+
if (Date.now() - publishedMs < 882e5) return "pending";
|
|
1653
1657
|
}
|
|
1654
1658
|
}
|
|
1655
|
-
return
|
|
1659
|
+
return "available";
|
|
1656
1660
|
})();
|
|
1661
|
+
const hubHasUpdate = hubUpdateState === "available";
|
|
1657
1662
|
(0, react.useMemo)(() => {
|
|
1658
1663
|
if (!plugins) return [];
|
|
1659
1664
|
if (category === "all") return plugins;
|
|
@@ -1703,6 +1708,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
1703
1708
|
installedVersion,
|
|
1704
1709
|
hasUpdate,
|
|
1705
1710
|
hubHasUpdate,
|
|
1711
|
+
hubUpdateState,
|
|
1712
|
+
hubCurrentVersion,
|
|
1706
1713
|
hubUpdateInfo,
|
|
1707
1714
|
hubAboutInfo,
|
|
1708
1715
|
refreshHub,
|
|
@@ -2128,7 +2135,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
2128
2135
|
.../\[packaging\]/i.test(message) ? [
|
|
2129
2136
|
"",
|
|
2130
2137
|
"## 安装方式说明",
|
|
2131
|
-
"DSH
|
|
2138
|
+
"DSH 插件支持三种官方安装通道:`dsh plugin add <npm-package>`(npm 分发,需发布完整构建产物)、`dsh plugin add git+https://github.com/owner/repo.git`(Git 直装,仓库需提交构建产物),以及预构建 release 包 `dsh plugin add https://github.com/owner/repo/releases/download/<tag>/<asset>.tgz`(仓库不便提交构建产物时的推荐方式)。注意:pnpm ≥10 默认拦截依赖构建脚本,Git 直装不会执行包内 `prepare`,请勿依赖它生成产物。当前插件的分发物缺少 package.json 声明的入口文件,请提交构建产物、改用 release `.tgz` 直链,或发布完整的 npm 包。"
|
|
2132
2139
|
] : [],
|
|
2133
2140
|
"",
|
|
2134
2141
|
"## Environment",
|
|
@@ -3717,13 +3724,19 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3717
3724
|
* GitHub: https://github.com/dshplugin/dsh-plugin-hub
|
|
3718
3725
|
*
|
|
3719
3726
|
* Hub 版本信息 / 自我更新说明弹窗:
|
|
3720
|
-
* - 有更新(
|
|
3727
|
+
* - 有更新(state='available'):标题「有新版本」,展示新版本号、发布时间与 Worker 下发的
|
|
3721
3728
|
* Markdown 变更记录(renderMarkdown 渲染,双语言按界面语言取 {zh,en} 对象),
|
|
3722
3729
|
* 按钮「稍后再说 / 直接更新」,确认后进入安装弹窗执行覆盖重装。
|
|
3723
|
-
* -
|
|
3730
|
+
* - 暂缓提示(state='pending'):远端确有新版本,但发布未满供应链安全门槛,pnpm 此时会
|
|
3731
|
+
* 静默回退到旧版本 —— 仍按「有新版本」展示,只给「稍后再说」,并说明稍后会自动提示。
|
|
3732
|
+
* - 无更新 / 信息缺失(state='latest' / 'none'):标题「当前版本」,版本号与本机版本取自
|
|
3733
|
+
* currentVersion(构建注入的 PLUGIN_VERSION),**不得**用远端最新版号冒充本机版本。
|
|
3724
3734
|
* 点击头部版本号(或「可更新」徽标)打开 —— 无论有无更新都能看到更新内容。
|
|
3725
3735
|
*/
|
|
3726
|
-
function HubUpdateModal({ info, lang, t,
|
|
3736
|
+
function HubUpdateModal({ info, state, currentVersion, lang, t, onProceed, onClose }) {
|
|
3737
|
+
const hasUpdate = state === "available";
|
|
3738
|
+
const pending = state === "pending";
|
|
3739
|
+
const shownVersion = hasUpdate || pending ? info.version : currentVersion || info.version;
|
|
3727
3740
|
const notesRaw = typeof info.notes === "string" ? info.notes : info.notes && typeof info.notes === "object" ? lang === "en" ? info.notes.en ?? info.notes.zh ?? "" : info.notes.zh ?? info.notes.en ?? "" : "";
|
|
3728
3741
|
const notesHtml = notesRaw.trim() ? renderMarkdown(notesRaw) : null;
|
|
3729
3742
|
let published = null;
|
|
@@ -3740,11 +3753,11 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3740
3753
|
className: `${Modal_module_css_default.modal} ${Modal_module_css_default.hubUpdateModal}`,
|
|
3741
3754
|
role: "dialog",
|
|
3742
3755
|
"aria-modal": "true"
|
|
3743
|
-
}, (0, react.createElement)("div", { className: Modal_module_css_default.modalHead }, (0, react.createElement)("div", { className: Modal_module_css_default.modalTitle }, t(hasUpdate ? "hubUpdateTitle" : "hubCurrentTitle")), (0, react.createElement)("button", {
|
|
3756
|
+
}, (0, react.createElement)("div", { className: Modal_module_css_default.modalHead }, (0, react.createElement)("div", { className: Modal_module_css_default.modalTitle }, t(hasUpdate || pending ? "hubUpdateTitle" : "hubCurrentTitle")), (0, react.createElement)("button", {
|
|
3744
3757
|
className: Modal_module_css_default.modalClose,
|
|
3745
3758
|
"aria-label": t("confirmCancel"),
|
|
3746
3759
|
onClick: () => onClose()
|
|
3747
|
-
}, (0, react.createElement)(CloseIcon))), (0, react.createElement)("div", { className: Modal_module_css_default.modalDesc }, t(hasUpdate ? "hubUpdateDesc" : "hubCurrentDesc", { version:
|
|
3760
|
+
}, (0, react.createElement)(CloseIcon))), (0, react.createElement)("div", { className: Modal_module_css_default.modalDesc }, t(hasUpdate ? "hubUpdateDesc" : pending ? "hubPendingDesc" : "hubCurrentDesc", { version: shownVersion })), (0, react.createElement)("div", { className: Modal_module_css_default.hubUpdateMeta }, (0, react.createElement)("span", { className: Modal_module_css_default.hubUpdateMetaItem }, `${t("version")} ${shownVersion}`), published ? (0, react.createElement)("span", { className: Modal_module_css_default.hubUpdateMetaItem }, `${t("hubUpdatePublished")} ${published}`) : null), notesHtml ? (0, react.createElement)("div", {
|
|
3748
3761
|
className: Modal_module_css_default.hubUpdateNotes,
|
|
3749
3762
|
dangerouslySetInnerHTML: { __html: notesHtml }
|
|
3750
3763
|
}) : null, (0, react.createElement)("div", { className: Modal_module_css_default.modalActions }, hasUpdate ? [(0, react.createElement)("button", {
|
|
@@ -3756,7 +3769,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
3756
3769
|
}, t("updateNow"))] : (0, react.createElement)("button", {
|
|
3757
3770
|
className: Modal_module_css_default.modalInstall,
|
|
3758
3771
|
onClick: onClose
|
|
3759
|
-
}, t("hubUpToDate")))));
|
|
3772
|
+
}, t(pending ? "hubUpdateLater" : "hubUpToDate")))));
|
|
3760
3773
|
}
|
|
3761
3774
|
//#endregion
|
|
3762
3775
|
//#region src/client/logic/format.ts
|
|
@@ -4279,39 +4292,39 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4279
4292
|
});
|
|
4280
4293
|
var List_module_css_default = {
|
|
4281
4294
|
"cardMain": "_3XaZHa_cardMain",
|
|
4282
|
-
"
|
|
4283
|
-
"
|
|
4284
|
-
"
|
|
4285
|
-
"
|
|
4286
|
-
"
|
|
4295
|
+
"topic": "_3XaZHa_topic",
|
|
4296
|
+
"star": "_3XaZHa_star",
|
|
4297
|
+
"cardTitle": "_3XaZHa_cardTitle",
|
|
4298
|
+
"verified": "_3XaZHa_verified",
|
|
4299
|
+
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4287
4300
|
"diagBtn": "_3XaZHa_diagBtn",
|
|
4288
|
-
"verified": "_3XaZHa_verified",
|
|
4289
|
-
"cardSide": "_3XaZHa_cardSide",
|
|
4290
|
-
"list": "_3XaZHa_list",
|
|
4291
|
-
"topic": "_3XaZHa_topic",
|
|
4292
4301
|
"installBtnInstalled": "_3XaZHa_installBtnInstalled",
|
|
4293
4302
|
"uninstallBtn": "_3XaZHa_uninstallBtn",
|
|
4294
|
-
"
|
|
4303
|
+
"stats": "_3XaZHa_stats",
|
|
4304
|
+
"list": "_3XaZHa_list",
|
|
4305
|
+
"detailBtn": "_3XaZHa_detailBtn",
|
|
4306
|
+
"actions": "_3XaZHa_actions",
|
|
4307
|
+
"state": "_3XaZHa_state",
|
|
4308
|
+
"stateDesc": "_3XaZHa_stateDesc",
|
|
4309
|
+
"stateActions": "_3XaZHa_stateActions",
|
|
4310
|
+
"topics": "_3XaZHa_topics",
|
|
4311
|
+
"retryBtn": "_3XaZHa_retryBtn",
|
|
4295
4312
|
"stateTitle": "_3XaZHa_stateTitle",
|
|
4296
|
-
"
|
|
4297
|
-
"
|
|
4313
|
+
"footer": "_3XaZHa_footer",
|
|
4314
|
+
"cardSide": "_3XaZHa_cardSide",
|
|
4298
4315
|
"versionBadge": "_3XaZHa_versionBadge",
|
|
4299
|
-
"
|
|
4316
|
+
"installBtn": "_3XaZHa_installBtn",
|
|
4317
|
+
"updateBadge": "_3XaZHa_updateBadge",
|
|
4300
4318
|
"cardHead": "_3XaZHa_cardHead",
|
|
4301
|
-
"
|
|
4302
|
-
"
|
|
4319
|
+
"body": "_3XaZHa_body",
|
|
4320
|
+
"footLink": "_3XaZHa_footLink",
|
|
4303
4321
|
"categoryBadge": "_3XaZHa_categoryBadge",
|
|
4304
|
-
"
|
|
4322
|
+
"desc": "_3XaZHa_desc",
|
|
4305
4323
|
"moreSentinel": "_3XaZHa_moreSentinel",
|
|
4306
|
-
"
|
|
4324
|
+
"card": "_3XaZHa_card",
|
|
4325
|
+
"fork": "_3XaZHa_fork",
|
|
4307
4326
|
"date": "_3XaZHa_date",
|
|
4308
|
-
"
|
|
4309
|
-
"installBtnUpdate": "_3XaZHa_installBtnUpdate",
|
|
4310
|
-
"stats": "_3XaZHa_stats",
|
|
4311
|
-
"footLink": "_3XaZHa_footLink",
|
|
4312
|
-
"state": "_3XaZHa_state",
|
|
4313
|
-
"topics": "_3XaZHa_topics",
|
|
4314
|
-
"stateActions": "_3XaZHa_stateActions"
|
|
4327
|
+
"installBtnCopied": "_3XaZHa_installBtnCopied"
|
|
4315
4328
|
};
|
|
4316
4329
|
//#endregion
|
|
4317
4330
|
//#region src/client/hooks/useIncrementalList.ts
|
|
@@ -4518,14 +4531,14 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4518
4531
|
css: css$8
|
|
4519
4532
|
});
|
|
4520
4533
|
var SectionTabs_module_css_default = {
|
|
4521
|
-
"tabIcon": "_7tvizq_tabIcon",
|
|
4522
|
-
"root": "_7tvizq_root",
|
|
4523
4534
|
"noticeIcon": "_7tvizq_noticeIcon",
|
|
4524
|
-
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4525
4535
|
"noticeCount": "_7tvizq_noticeCount",
|
|
4526
4536
|
"tab": "_7tvizq_tab",
|
|
4527
4537
|
"tabCount": "_7tvizq_tabCount",
|
|
4538
|
+
"noticeBtn": "_7tvizq_noticeBtn",
|
|
4539
|
+
"root": "_7tvizq_root",
|
|
4528
4540
|
"tabActive": "_7tvizq_tabActive",
|
|
4541
|
+
"tabIcon": "_7tvizq_tabIcon",
|
|
4529
4542
|
"tabCountActive": "_7tvizq_tabCountActive"
|
|
4530
4543
|
};
|
|
4531
4544
|
//#endregion
|
|
@@ -4603,42 +4616,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4603
4616
|
css: css$7
|
|
4604
4617
|
});
|
|
4605
4618
|
var InstalledView_module_css_default = {
|
|
4606
|
-
"
|
|
4607
|
-
"versionBadge": "_1nXeGW_versionBadge",
|
|
4608
|
-
"segBtn": "_1nXeGW_segBtn",
|
|
4609
|
-
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4610
|
-
"rowTitle": "_1nXeGW_rowTitle",
|
|
4619
|
+
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4611
4620
|
"rowDesc": "_1nXeGW_rowDesc",
|
|
4612
|
-
"row": "_1nXeGW_row",
|
|
4613
|
-
"rowRepo": "_1nXeGW_rowRepo",
|
|
4614
4621
|
"rowMeta": "_1nXeGW_rowMeta",
|
|
4622
|
+
"emptyTitle": "_1nXeGW_emptyTitle",
|
|
4623
|
+
"root": "_1nXeGW_root",
|
|
4615
4624
|
"empty": "_1nXeGW_empty",
|
|
4616
|
-
"
|
|
4617
|
-
"
|
|
4618
|
-
"searchWrap": "_1nXeGW_searchWrap",
|
|
4619
|
-
"rowActions": "_1nXeGW_rowActions",
|
|
4620
|
-
"list": "_1nXeGW_list",
|
|
4621
|
-
"segBtnActive": "_1nXeGW_segBtnActive",
|
|
4622
|
-
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4623
|
-
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4624
|
-
"statusInactive": "_1nXeGW_statusInactive",
|
|
4625
|
-
"statusDot": "_1nXeGW_statusDot",
|
|
4625
|
+
"statusPending": "_1nXeGW_statusPending",
|
|
4626
|
+
"rowMain": "_1nXeGW_rowMain",
|
|
4626
4627
|
"rowRestart": "_1nXeGW_rowRestart",
|
|
4628
|
+
"rowSourceTag": "_1nXeGW_rowSourceTag",
|
|
4629
|
+
"emptyDesc": "_1nXeGW_emptyDesc",
|
|
4630
|
+
"rowTitle": "_1nXeGW_rowTitle",
|
|
4631
|
+
"toolbar": "_1nXeGW_toolbar",
|
|
4632
|
+
"rowActions": "_1nXeGW_rowActions",
|
|
4627
4633
|
"rowUninstall": "_1nXeGW_rowUninstall",
|
|
4628
4634
|
"searchInput": "_1nXeGW_searchInput",
|
|
4629
|
-
"
|
|
4635
|
+
"list": "_1nXeGW_list",
|
|
4630
4636
|
"segLabel": "_1nXeGW_segLabel",
|
|
4637
|
+
"statusInactive": "_1nXeGW_statusInactive",
|
|
4631
4638
|
"rowTitleLine": "_1nXeGW_rowTitleLine",
|
|
4632
|
-
"
|
|
4633
|
-
"root": "_1nXeGW_root",
|
|
4639
|
+
"segRow": "_1nXeGW_segRow",
|
|
4634
4640
|
"rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
|
|
4641
|
+
"segGroup": "_1nXeGW_segGroup",
|
|
4642
|
+
"rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
|
|
4643
|
+
"exampleBadge": "_1nXeGW_exampleBadge",
|
|
4644
|
+
"rowCategory": "_1nXeGW_rowCategory",
|
|
4635
4645
|
"rowUpdate": "_1nXeGW_rowUpdate",
|
|
4646
|
+
"updateBadge": "_1nXeGW_updateBadge",
|
|
4647
|
+
"versionBadge": "_1nXeGW_versionBadge",
|
|
4636
4648
|
"exampleRow": "_1nXeGW_exampleRow",
|
|
4649
|
+
"segBtn": "_1nXeGW_segBtn",
|
|
4650
|
+
"rowRepo": "_1nXeGW_rowRepo",
|
|
4637
4651
|
"rowDetail": "_1nXeGW_rowDetail",
|
|
4638
|
-
"
|
|
4639
|
-
"
|
|
4640
|
-
"
|
|
4641
|
-
"rowMain": "_1nXeGW_rowMain"
|
|
4652
|
+
"row": "_1nXeGW_row",
|
|
4653
|
+
"searchWrap": "_1nXeGW_searchWrap",
|
|
4654
|
+
"statusDot": "_1nXeGW_statusDot"
|
|
4642
4655
|
};
|
|
4643
4656
|
//#endregion
|
|
4644
4657
|
//#region src/client/components/views/InstalledView.tsx
|
|
@@ -4884,28 +4897,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
4884
4897
|
css: css$6
|
|
4885
4898
|
});
|
|
4886
4899
|
var CustomInstallView_module_css_default = {
|
|
4887
|
-
"
|
|
4888
|
-
"installCard": "zISxCG_installCard",
|
|
4889
|
-
"channelOff": "zISxCG_channelOff",
|
|
4890
|
-
"installError": "zISxCG_installError",
|
|
4900
|
+
"channelOffBtn": "zISxCG_channelOffBtn",
|
|
4891
4901
|
"helpCmd": "zISxCG_helpCmd",
|
|
4892
|
-
"
|
|
4893
|
-
"root": "zISxCG_root",
|
|
4902
|
+
"installCardDisabled": "zISxCG_installCardDisabled",
|
|
4894
4903
|
"installCardHead": "zISxCG_installCardHead",
|
|
4895
|
-
"
|
|
4896
|
-
"
|
|
4904
|
+
"installLabel": "zISxCG_installLabel",
|
|
4905
|
+
"installBtn": "zISxCG_installBtn",
|
|
4906
|
+
"installExample": "zISxCG_installExample",
|
|
4907
|
+
"helpNote": "zISxCG_helpNote",
|
|
4897
4908
|
"installHelpBtn": "zISxCG_installHelpBtn",
|
|
4909
|
+
"installInputError": "zISxCG_installInputError",
|
|
4898
4910
|
"helpBody": "zISxCG_helpBody",
|
|
4899
|
-
"installExample": "zISxCG_installExample",
|
|
4900
4911
|
"installInsertBtn": "zISxCG_installInsertBtn",
|
|
4901
|
-
"
|
|
4902
|
-
"
|
|
4903
|
-
"
|
|
4912
|
+
"installCards": "zISxCG_installCards",
|
|
4913
|
+
"channelOff": "zISxCG_channelOff",
|
|
4914
|
+
"installRow": "zISxCG_installRow",
|
|
4904
4915
|
"channelOffText": "zISxCG_channelOffText",
|
|
4905
|
-
"helpNote": "zISxCG_helpNote",
|
|
4906
4916
|
"helpLine": "zISxCG_helpLine",
|
|
4907
|
-
"
|
|
4908
|
-
"
|
|
4917
|
+
"root": "zISxCG_root",
|
|
4918
|
+
"installError": "zISxCG_installError",
|
|
4919
|
+
"desc": "zISxCG_desc",
|
|
4920
|
+
"installInput": "zISxCG_installInput",
|
|
4921
|
+
"installCard": "zISxCG_installCard"
|
|
4909
4922
|
};
|
|
4910
4923
|
//#endregion
|
|
4911
4924
|
//#region src/client/components/views/CustomInstallView.tsx
|
|
@@ -5195,30 +5208,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5195
5208
|
css: css$5
|
|
5196
5209
|
});
|
|
5197
5210
|
var SettingsView_module_css_default = {
|
|
5198
|
-
"
|
|
5199
|
-
"
|
|
5211
|
+
"settingLabel": "_506LLG_settingLabel",
|
|
5212
|
+
"sidebar": "_506LLG_sidebar",
|
|
5213
|
+
"settingRowStack": "_506LLG_settingRowStack",
|
|
5200
5214
|
"pageHeader": "_506LLG_pageHeader",
|
|
5201
|
-
"
|
|
5215
|
+
"content": "_506LLG_content",
|
|
5216
|
+
"pageDesc": "_506LLG_pageDesc",
|
|
5202
5217
|
"card": "_506LLG_card",
|
|
5203
|
-
"
|
|
5204
|
-
"
|
|
5205
|
-
"
|
|
5218
|
+
"settingControlStack": "_506LLG_settingControlStack",
|
|
5219
|
+
"textInput": "_506LLG_textInput",
|
|
5220
|
+
"proxyHintFail": "_506LLG_proxyHintFail",
|
|
5221
|
+
"resetBtn": "_506LLG_resetBtn",
|
|
5206
5222
|
"settingControl": "_506LLG_settingControl",
|
|
5223
|
+
"proxyHint": "_506LLG_proxyHint",
|
|
5207
5224
|
"proxyHintOk": "_506LLG_proxyHintOk",
|
|
5208
|
-
"
|
|
5209
|
-
"
|
|
5225
|
+
"pageTitle": "_506LLG_pageTitle",
|
|
5226
|
+
"settingDesc": "_506LLG_settingDesc",
|
|
5227
|
+
"navItemActive": "_506LLG_navItemActive",
|
|
5228
|
+
"settingRow": "_506LLG_settingRow",
|
|
5210
5229
|
"proxyControl": "_506LLG_proxyControl",
|
|
5230
|
+
"controlDropdown": "_506LLG_controlDropdown",
|
|
5211
5231
|
"navItem": "_506LLG_navItem",
|
|
5212
|
-
"
|
|
5213
|
-
"navItemActive": "_506LLG_navItemActive",
|
|
5214
|
-
"settingControlStack": "_506LLG_settingControlStack",
|
|
5232
|
+
"root": "_506LLG_root",
|
|
5215
5233
|
"settingTitle": "_506LLG_settingTitle",
|
|
5216
|
-
"
|
|
5217
|
-
"controlDropdown": "_506LLG_controlDropdown",
|
|
5218
|
-
"proxyHint": "_506LLG_proxyHint",
|
|
5219
|
-
"settingRowStack": "_506LLG_settingRowStack",
|
|
5220
|
-
"resetBtn": "_506LLG_resetBtn",
|
|
5221
|
-
"textInput": "_506LLG_textInput"
|
|
5234
|
+
"navIcon": "_506LLG_navIcon"
|
|
5222
5235
|
};
|
|
5223
5236
|
//#endregion
|
|
5224
5237
|
//#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
|
|
@@ -5237,18 +5250,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5237
5250
|
css: css$4
|
|
5238
5251
|
});
|
|
5239
5252
|
var Dropdown_module_css_default = {
|
|
5253
|
+
"dropdownBtn": "B_Gxsq_dropdownBtn",
|
|
5254
|
+
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5240
5255
|
"dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
|
|
5241
5256
|
"dropdownArrow": "B_Gxsq_dropdownArrow",
|
|
5242
|
-
"dropdownLabel": "B_Gxsq_dropdownLabel",
|
|
5243
5257
|
"dropdownFill": "B_Gxsq_dropdownFill",
|
|
5244
|
-
"
|
|
5245
|
-
"dropdown": "B_Gxsq_dropdown",
|
|
5246
|
-
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5258
|
+
"dropdownItem": "B_Gxsq_dropdownItem",
|
|
5247
5259
|
"dropdownItemActive": "B_Gxsq_dropdownItemActive",
|
|
5248
|
-
"
|
|
5260
|
+
"dropdown": "B_Gxsq_dropdown",
|
|
5249
5261
|
"dropdownCount": "B_Gxsq_dropdownCount",
|
|
5250
|
-
"
|
|
5251
|
-
"
|
|
5262
|
+
"dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
|
|
5263
|
+
"dropdownCountActive": "B_Gxsq_dropdownCountActive",
|
|
5264
|
+
"dropdownPanel": "B_Gxsq_dropdownPanel"
|
|
5252
5265
|
};
|
|
5253
5266
|
//#endregion
|
|
5254
5267
|
//#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
|
|
@@ -5267,9 +5280,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5267
5280
|
css: css$3
|
|
5268
5281
|
});
|
|
5269
5282
|
var Toggle_module_css_default = {
|
|
5270
|
-
"
|
|
5283
|
+
"toggle": "k-cD4G_toggle",
|
|
5271
5284
|
"toggleOn": "k-cD4G_toggleOn",
|
|
5272
|
-
"
|
|
5285
|
+
"knob": "k-cD4G_knob"
|
|
5273
5286
|
};
|
|
5274
5287
|
//#endregion
|
|
5275
5288
|
//#region src/client/components/ui/Toggle.tsx
|
|
@@ -5369,29 +5382,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5369
5382
|
css: css$2
|
|
5370
5383
|
});
|
|
5371
5384
|
var DiagnosticsView_module_css_default = {
|
|
5372
|
-
"
|
|
5373
|
-
"
|
|
5385
|
+
"meta": "k9eRya_meta",
|
|
5386
|
+
"envLabel": "k9eRya_envLabel",
|
|
5374
5387
|
"panel": "k9eRya_panel",
|
|
5375
|
-
"
|
|
5376
|
-
"
|
|
5388
|
+
"envDesc": "k9eRya_envDesc",
|
|
5389
|
+
"badgeIdle": "k9eRya_badgeIdle",
|
|
5377
5390
|
"envRow": "k9eRya_envRow",
|
|
5378
|
-
"
|
|
5379
|
-
"meta": "k9eRya_meta",
|
|
5380
|
-
"name": "k9eRya_name",
|
|
5381
|
-
"badgeOk": "k9eRya_badgeOk",
|
|
5382
|
-
"badgeFail": "k9eRya_badgeFail",
|
|
5383
|
-
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5391
|
+
"runBtn": "k9eRya_runBtn",
|
|
5384
5392
|
"summaryOk": "k9eRya_summaryOk",
|
|
5385
|
-
"envDesc": "k9eRya_envDesc",
|
|
5386
|
-
"diagPulse": "k9eRya_diagPulse",
|
|
5387
|
-
"head": "k9eRya_head",
|
|
5388
|
-
"headHint": "k9eRya_headHint",
|
|
5389
|
-
"display": "k9eRya_display",
|
|
5390
5393
|
"summaryFail": "k9eRya_summaryFail",
|
|
5391
|
-
"
|
|
5394
|
+
"summaryRunning": "k9eRya_summaryRunning",
|
|
5392
5395
|
"badge": "k9eRya_badge",
|
|
5396
|
+
"envTitle": "k9eRya_envTitle",
|
|
5397
|
+
"display": "k9eRya_display",
|
|
5398
|
+
"headHint": "k9eRya_headHint",
|
|
5399
|
+
"badgeRunning": "k9eRya_badgeRunning",
|
|
5393
5400
|
"summary": "k9eRya_summary",
|
|
5394
|
-
"
|
|
5401
|
+
"envCopyBtn": "k9eRya_envCopyBtn",
|
|
5402
|
+
"diagPulse": "k9eRya_diagPulse",
|
|
5403
|
+
"name": "k9eRya_name",
|
|
5404
|
+
"row": "k9eRya_row",
|
|
5405
|
+
"head": "k9eRya_head",
|
|
5406
|
+
"badgeOk": "k9eRya_badgeOk",
|
|
5407
|
+
"badgeFail": "k9eRya_badgeFail"
|
|
5395
5408
|
};
|
|
5396
5409
|
//#endregion
|
|
5397
5410
|
//#region src/client/components/views/DiagnosticsView.tsx
|
|
@@ -5569,57 +5582,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
5569
5582
|
css: css$1
|
|
5570
5583
|
});
|
|
5571
5584
|
var LogsView_module_css_default = {
|
|
5572
|
-
"
|
|
5573
|
-
"
|
|
5585
|
+
"btn": "_3j77BW_btn",
|
|
5586
|
+
"pathLabel": "_3j77BW_pathLabel",
|
|
5587
|
+
"foot": "_3j77BW_foot",
|
|
5574
5588
|
"badge": "_3j77BW_badge",
|
|
5575
|
-
"
|
|
5576
|
-
"badgeError": "_3j77BW_badgeError",
|
|
5577
|
-
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5589
|
+
"pathDialogRow": "_3j77BW_pathDialogRow",
|
|
5578
5590
|
"badgeInfo": "_3j77BW_badgeInfo",
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5581
|
-
"
|
|
5582
|
-
"
|
|
5583
|
-
"
|
|
5591
|
+
"headHint": "_3j77BW_headHint",
|
|
5592
|
+
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5593
|
+
"filterBar": "_3j77BW_filterBar",
|
|
5594
|
+
"linkBtn": "_3j77BW_linkBtn",
|
|
5595
|
+
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5596
|
+
"pathDialog": "_3j77BW_pathDialog",
|
|
5597
|
+
"message": "_3j77BW_message",
|
|
5584
5598
|
"catDiagnostics": "_3j77BW_catDiagnostics",
|
|
5585
|
-
"pathDraft": "_3j77BW_pathDraft",
|
|
5586
|
-
"footFail": "_3j77BW_footFail",
|
|
5587
|
-
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5588
5599
|
"searchInput": "_3j77BW_searchInput",
|
|
5589
|
-
"
|
|
5590
|
-
"
|
|
5591
|
-
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5592
|
-
"pathDialogDesc": "_3j77BW_pathDialogDesc",
|
|
5593
|
-
"filterChip": "_3j77BW_filterChip",
|
|
5594
|
-
"pathText": "_3j77BW_pathText",
|
|
5595
|
-
"headActions": "_3j77BW_headActions",
|
|
5596
|
-
"event": "_3j77BW_event",
|
|
5600
|
+
"pathDialogFoot": "_3j77BW_pathDialogFoot",
|
|
5601
|
+
"time": "_3j77BW_time",
|
|
5597
5602
|
"filterChipActive": "_3j77BW_filterChipActive",
|
|
5598
|
-
"
|
|
5603
|
+
"filterChip": "_3j77BW_filterChip",
|
|
5599
5604
|
"head": "_3j77BW_head",
|
|
5600
|
-
"
|
|
5601
|
-
"
|
|
5602
|
-
"logList": "_3j77BW_logList",
|
|
5603
|
-
"pathDialog": "_3j77BW_pathDialog",
|
|
5604
|
-
"catBadge": "_3j77BW_catBadge",
|
|
5605
|
-
"time": "_3j77BW_time",
|
|
5606
|
-
"message": "_3j77BW_message",
|
|
5607
|
-
"panel": "_3j77BW_panel",
|
|
5605
|
+
"search": "_3j77BW_search",
|
|
5606
|
+
"clearBtn": "_3j77BW_clearBtn",
|
|
5608
5607
|
"entry": "_3j77BW_entry",
|
|
5609
|
-
"
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5612
|
-
"
|
|
5608
|
+
"footCount": "_3j77BW_footCount",
|
|
5609
|
+
"catBadge": "_3j77BW_catBadge",
|
|
5610
|
+
"event": "_3j77BW_event",
|
|
5611
|
+
"list": "_3j77BW_list",
|
|
5612
|
+
"previewRow": "_3j77BW_previewRow",
|
|
5613
|
+
"actions": "_3j77BW_actions",
|
|
5614
|
+
"badgeWarn": "_3j77BW_badgeWarn",
|
|
5613
5615
|
"catInstall": "_3j77BW_catInstall",
|
|
5614
|
-
"
|
|
5615
|
-
"badgeDebug": "_3j77BW_badgeDebug",
|
|
5616
|
+
"catUninstall": "_3j77BW_catUninstall",
|
|
5616
5617
|
"catUpdate": "_3j77BW_catUpdate",
|
|
5618
|
+
"logList": "_3j77BW_logList",
|
|
5617
5619
|
"footPath": "_3j77BW_footPath",
|
|
5620
|
+
"catSystem": "_3j77BW_catSystem",
|
|
5621
|
+
"empty": "_3j77BW_empty",
|
|
5622
|
+
"pathText": "_3j77BW_pathText",
|
|
5623
|
+
"moreEnd": "_3j77BW_moreEnd",
|
|
5624
|
+
"badgeSuccess": "_3j77BW_badgeSuccess",
|
|
5625
|
+
"badgeError": "_3j77BW_badgeError",
|
|
5626
|
+
"panel": "_3j77BW_panel",
|
|
5627
|
+
"pathRow": "_3j77BW_pathRow",
|
|
5628
|
+
"pathDialogReset": "_3j77BW_pathDialogReset",
|
|
5629
|
+
"pathDraft": "_3j77BW_pathDraft",
|
|
5618
5630
|
"pathDialogHint": "_3j77BW_pathDialogHint",
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
5621
|
-
"
|
|
5622
|
-
"
|
|
5631
|
+
"more": "_3j77BW_more",
|
|
5632
|
+
"headActions": "_3j77BW_headActions",
|
|
5633
|
+
"footFail": "_3j77BW_footFail",
|
|
5634
|
+
"footActions": "_3j77BW_footActions",
|
|
5635
|
+
"catSettings": "_3j77BW_catSettings"
|
|
5623
5636
|
};
|
|
5624
5637
|
//#endregion
|
|
5625
5638
|
//#region src/client/components/modals/LogsModal.tsx
|
|
@@ -6895,10 +6908,11 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
|
|
|
6895
6908
|
openSection: settingsSection,
|
|
6896
6909
|
onConsumedOpenSection: () => setSettingsSection(null)
|
|
6897
6910
|
}), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
|
|
6898
|
-
info: catalog.hubUpdateInfo ?? { version: "1.6.
|
|
6911
|
+
info: catalog.hubUpdateInfo ?? { version: "1.6.5" },
|
|
6912
|
+
state: catalog.hubUpdateState,
|
|
6913
|
+
currentVersion: catalog.hubCurrentVersion,
|
|
6899
6914
|
lang,
|
|
6900
6915
|
t,
|
|
6901
|
-
hasUpdate: catalog.hubHasUpdate,
|
|
6902
6916
|
onClose: () => setShowHubUpdate(false),
|
|
6903
6917
|
onProceed: () => {
|
|
6904
6918
|
setShowHubUpdate(false);
|