dsh-plugin 1.4.13 → 1.5.0

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
@@ -702,42 +702,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
702
702
  css: css$11
703
703
  });
704
704
  var Header_module_css_default = {
705
- "header": "qikqja_header",
706
- "adBanner": "qikqja_adBanner",
707
- "copyIcon": "qikqja_copyIcon",
708
- "adBadge": "qikqja_adBadge",
709
- "langBtn": "qikqja_langBtn",
705
+ "versionBtn": "qikqja_versionBtn",
706
+ "headerTitleRow": "qikqja_headerTitleRow",
707
+ "tab": "qikqja_tab",
708
+ "controls": "qikqja_controls",
709
+ "tabsRow": "qikqja_tabsRow",
710
+ "aboutBtn": "qikqja_aboutBtn",
711
+ "hubUpdateBadge": "qikqja_hubUpdateBadge",
710
712
  "adArrow": "qikqja_adArrow",
713
+ "githubIcon": "qikqja_githubIcon",
711
714
  "sortGroup": "qikqja_sortGroup",
712
- "tab": "qikqja_tab",
713
715
  "tagline": "qikqja_tagline",
714
- "segLabel": "qikqja_segLabel",
715
- "version": "qikqja_version",
716
716
  "segGroup": "qikqja_segGroup",
717
- "logoIcon": "qikqja_logoIcon",
718
- "aboutBtn": "qikqja_aboutBtn",
717
+ "root": "qikqja_root",
718
+ "version": "qikqja_version",
719
+ "title": "qikqja_title",
720
+ "copyIcon": "qikqja_copyIcon",
719
721
  "segBtnActive": "qikqja_segBtnActive",
722
+ "resultCount": "qikqja_resultCount",
720
723
  "resultSeg": "qikqja_resultSeg",
721
- "githubIcon": "qikqja_githubIcon",
722
- "headerTitleRow": "qikqja_headerTitleRow",
723
- "githubLink": "qikqja_githubLink",
724
- "search": "qikqja_search",
725
- "controls": "qikqja_controls",
726
- "hubUpdateBadge": "qikqja_hubUpdateBadge",
727
- "headerRight": "qikqja_headerRight",
728
- "tabCount": "qikqja_tabCount",
729
- "tabsRow": "qikqja_tabsRow",
730
- "versionBtn": "qikqja_versionBtn",
731
- "root": "qikqja_root",
732
- "brandTitle": "qikqja_brandTitle",
724
+ "logoIcon": "qikqja_logoIcon",
733
725
  "tabs": "qikqja_tabs",
734
- "resultCount": "qikqja_resultCount",
735
- "tabActive": "qikqja_tabActive",
736
- "title": "qikqja_title",
726
+ "adBanner": "qikqja_adBanner",
727
+ "brandTitle": "qikqja_brandTitle",
728
+ "taglineLink": "qikqja_taglineLink",
737
729
  "segBtn": "qikqja_segBtn",
730
+ "tabCount": "qikqja_tabCount",
738
731
  "adText": "qikqja_adText",
732
+ "headerRight": "qikqja_headerRight",
733
+ "langBtn": "qikqja_langBtn",
739
734
  "searchRow": "qikqja_searchRow",
740
- "taglineLink": "qikqja_taglineLink"
735
+ "search": "qikqja_search",
736
+ "segLabel": "qikqja_segLabel",
737
+ "header": "qikqja_header",
738
+ "githubLink": "qikqja_githubLink",
739
+ "tabActive": "qikqja_tabActive",
740
+ "adBadge": "qikqja_adBadge"
741
741
  };
742
742
  //#endregion
743
743
  //#region \0dsh-css:src/client/styles/Modal.module.css.mjs
@@ -756,143 +756,169 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
756
756
  css: css$10
757
757
  });
758
758
  var Modal_module_css_default = {
759
- "noticeRow": "BiQ1zG_noticeRow",
760
- "modalCopy": "BiQ1zG_modalCopy",
761
- "detailMono": "BiQ1zG_detailMono",
762
- "noticeVersion": "BiQ1zG_noticeVersion",
763
- "detailStatusPending": "BiQ1zG_detailStatusPending",
764
- "progressText": "BiQ1zG_progressText",
765
- "failKindInstall": "BiQ1zG_failKindInstall",
766
- "pendingRowStatus": "BiQ1zG_pendingRowStatus",
767
- "toastFail": "BiQ1zG_toastFail",
768
- "confirmIcon": "BiQ1zG_confirmIcon",
759
+ "failClear": "BiQ1zG_failClear",
760
+ "detailUpdateHint": "BiQ1zG_detailUpdateHint",
761
+ "modalLabel": "BiQ1zG_modalLabel",
762
+ "resultCheckIcon": "BiQ1zG_resultCheckIcon",
763
+ "errorCopySoft": "BiQ1zG_errorCopySoft",
764
+ "resultCheck": "BiQ1zG_resultCheck",
765
+ "queueSection": "BiQ1zG_queueSection",
766
+ "modalTitleBusy": "BiQ1zG_modalTitleBusy",
767
+ "queueRowHead": "BiQ1zG_queueRowHead",
768
+ "queueRowBody": "BiQ1zG_queueRowBody",
769
769
  "progressHead": "BiQ1zG_progressHead",
770
- "failRepo": "BiQ1zG_failRepo",
771
- "logModal": "BiQ1zG_logModal",
772
- "errorTitle": "BiQ1zG_errorTitle",
773
- "detailPathActions": "BiQ1zG_detailPathActions",
774
- "failRow": "BiQ1zG_failRow",
775
- "failNetworkTarget": "BiQ1zG_failNetworkTarget",
776
- "confirmIconWrap": "BiQ1zG_confirmIconWrap",
777
- "resultTitle": "BiQ1zG_resultTitle",
778
- "noticeList": "BiQ1zG_noticeList",
779
- "progressFill": "BiQ1zG_progressFill",
780
- "modalCmd": "BiQ1zG_modalCmd",
781
- "modalLink": "BiQ1zG_modalLink",
782
- "aboutContent": "BiQ1zG_aboutContent",
770
+ "modal": "BiQ1zG_modal",
771
+ "failList": "BiQ1zG_failList",
772
+ "modalValue": "BiQ1zG_modalValue",
773
+ "hubUpdateModal": "BiQ1zG_hubUpdateModal",
774
+ "modalActions": "BiQ1zG_modalActions",
783
775
  "queueRowTarget": "BiQ1zG_queueRowTarget",
784
- "modalCmdText": "BiQ1zG_modalCmdText",
785
- "noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
786
- "failKind": "BiQ1zG_failKind",
787
- "restartNowWarning": "BiQ1zG_restartNowWarning",
788
- "modalRow": "BiQ1zG_modalRow",
789
- "result": "BiQ1zG_result",
790
- "helpModal": "BiQ1zG_helpModal",
776
+ "modalBody": "BiQ1zG_modalBody",
777
+ "progressFillFail": "BiQ1zG_progressFillFail",
778
+ "queueRowPct": "BiQ1zG_queueRowPct",
791
779
  "failHead": "BiQ1zG_failHead",
792
- "detailStars": "BiQ1zG_detailStars",
793
- "modalCloseIcon": "BiQ1zG_modalCloseIcon",
794
- "queueRow": "BiQ1zG_queueRow",
780
+ "noticeVersion": "BiQ1zG_noticeVersion",
781
+ "restartLater": "BiQ1zG_restartLater",
782
+ "noticeTime": "BiQ1zG_noticeTime",
783
+ "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
784
+ "modalRow": "BiQ1zG_modalRow",
785
+ "errorHint": "BiQ1zG_errorHint",
786
+ "noticeTextOk": "BiQ1zG_noticeTextOk",
787
+ "detailValue": "BiQ1zG_detailValue",
788
+ "resultTitle": "BiQ1zG_resultTitle",
789
+ "detailDim": "BiQ1zG_detailDim",
790
+ "noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
791
+ "cliOnlyHint": "BiQ1zG_cliOnlyHint",
792
+ "noticeFoot": "BiQ1zG_noticeFoot",
793
+ "modalCmdText": "BiQ1zG_modalCmdText",
794
+ "detailPathText": "BiQ1zG_detailPathText",
795
795
  "detailStatusRunning": "BiQ1zG_detailStatusRunning",
796
- "queueRowStatus": "BiQ1zG_queueRowStatus",
797
- "errorBox": "BiQ1zG_errorBox",
796
+ "aboutContent": "BiQ1zG_aboutContent",
797
+ "toastFail": "BiQ1zG_toastFail",
798
+ "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
799
+ "progressText": "BiQ1zG_progressText",
800
+ "modalIn": "BiQ1zG_modalIn",
801
+ "noticeRemove": "BiQ1zG_noticeRemove",
802
+ "detailArrow": "BiQ1zG_detailArrow",
803
+ "trustHint": "BiQ1zG_trustHint",
804
+ "noticeRowOk": "BiQ1zG_noticeRowOk",
805
+ "detailStatusText": "BiQ1zG_detailStatusText",
798
806
  "failKindUninstall": "BiQ1zG_failKindUninstall",
799
- "toast": "BiQ1zG_toast",
807
+ "confirmPrimary": "BiQ1zG_confirmPrimary",
808
+ "modalCloseIcon": "BiQ1zG_modalCloseIcon",
809
+ "result": "BiQ1zG_result",
810
+ "errorModal": "BiQ1zG_errorModal",
811
+ "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
812
+ "detailStatusPending": "BiQ1zG_detailStatusPending",
813
+ "errorTitle": "BiQ1zG_errorTitle",
800
814
  "queuedHint": "BiQ1zG_queuedHint",
801
- "modalActions": "BiQ1zG_modalActions",
802
- "progressFillFail": "BiQ1zG_progressFillFail",
803
- "queueRowHead": "BiQ1zG_queueRowHead",
804
- "overlayIn": "BiQ1zG_overlayIn",
815
+ "failKind": "BiQ1zG_failKind",
816
+ "detailModal": "BiQ1zG_detailModal",
817
+ "aboutModal": "BiQ1zG_aboutModal",
818
+ "noticeMain": "BiQ1zG_noticeMain",
819
+ "errorBox": "BiQ1zG_errorBox",
820
+ "dangerConfirm": "BiQ1zG_dangerConfirm",
821
+ "noticeRow": "BiQ1zG_noticeRow",
805
822
  "aboutMeta": "BiQ1zG_aboutMeta",
806
- "detailPathText": "BiQ1zG_detailPathText",
807
- "detailValue": "BiQ1zG_detailValue",
808
- "errorModal": "BiQ1zG_errorModal",
823
+ "failRepo": "BiQ1zG_failRepo",
824
+ "detailStars": "BiQ1zG_detailStars",
825
+ "confirmIconWrap": "BiQ1zG_confirmIconWrap",
809
826
  "modalTitleQueued": "BiQ1zG_modalTitleQueued",
810
- "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
811
- "modalDesc": "BiQ1zG_modalDesc",
812
- "queueRowDesc": "BiQ1zG_queueRowDesc",
813
- "errorHint": "BiQ1zG_errorHint",
814
- "failCopy": "BiQ1zG_failCopy",
815
- "failDiagBtn": "BiQ1zG_failDiagBtn",
816
- "noticeTextFail": "BiQ1zG_noticeTextFail",
817
- "linkIcon": "BiQ1zG_linkIcon",
818
- "stripCancel": "BiQ1zG_stripCancel",
819
- "modalLabel": "BiQ1zG_modalLabel",
820
- "noticeRowOk": "BiQ1zG_noticeRowOk",
821
- "queueRowBody": "BiQ1zG_queueRowBody",
822
- "pendingRowActions": "BiQ1zG_pendingRowActions",
823
- "uninstallConfirm": "BiQ1zG_uninstallConfirm",
824
- "noticeHead": "BiQ1zG_noticeHead",
825
- "failBigIssue": "BiQ1zG_failBigIssue",
826
- "modalCmdCopy": "BiQ1zG_modalCmdCopy",
827
- "detailUpdateHint": "BiQ1zG_detailUpdateHint",
828
- "noticeTextOk": "BiQ1zG_noticeTextOk",
827
+ "restartNowWarning": "BiQ1zG_restartNowWarning",
829
828
  "overlay": "BiQ1zG_overlay",
830
- "trustHint": "BiQ1zG_trustHint",
831
- "progressTrack": "BiQ1zG_progressTrack",
832
- "queueSection": "BiQ1zG_queueSection",
833
- "noticeMain": "BiQ1zG_noticeMain",
834
- "restartNow": "BiQ1zG_restartNow",
829
+ "queueRowDesc": "BiQ1zG_queueRowDesc",
835
830
  "modalHead": "BiQ1zG_modalHead",
836
- "modalTitle": "BiQ1zG_modalTitle",
837
- "modalCancel": "BiQ1zG_modalCancel",
838
- "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
839
- "detailGrid": "BiQ1zG_detailGrid",
840
- "confirmIconDanger": "BiQ1zG_confirmIconDanger",
841
- "detailLink": "BiQ1zG_detailLink",
842
- "noticeFoot": "BiQ1zG_noticeFoot",
843
- "noticeRemove": "BiQ1zG_noticeRemove",
844
- "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
845
- "modalClose": "BiQ1zG_modalClose",
846
- "queueRowPct": "BiQ1zG_queueRowPct",
847
- "noticeTime": "BiQ1zG_noticeTime",
848
- "modalBody": "BiQ1zG_modalBody",
849
- "errorCopySoft": "BiQ1zG_errorCopySoft",
831
+ "modalCmdCopy": "BiQ1zG_modalCmdCopy",
832
+ "noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
833
+ "stripCancel": "BiQ1zG_stripCancel",
850
834
  "noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
851
- "confirmPrimary": "BiQ1zG_confirmPrimary",
852
- "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
853
- "detailStatusText": "BiQ1zG_detailStatusText",
854
- "modalIn": "BiQ1zG_modalIn",
835
+ "modalCmd": "BiQ1zG_modalCmd",
836
+ "toast": "BiQ1zG_toast",
837
+ "pendingRowStatus": "BiQ1zG_pendingRowStatus",
838
+ "detailPath": "BiQ1zG_detailPath",
839
+ "failKindInstall": "BiQ1zG_failKindInstall",
840
+ "queueRow": "BiQ1zG_queueRow",
841
+ "modalInstall": "BiQ1zG_modalInstall",
842
+ "failPrepareHint": "BiQ1zG_failPrepareHint",
843
+ "logModal": "BiQ1zG_logModal",
855
844
  "toastIn": "BiQ1zG_toastIn",
856
- "queueSectionTitle": "BiQ1zG_queueSectionTitle",
857
- "resultCheck": "BiQ1zG_resultCheck",
858
845
  "failEmpty": "BiQ1zG_failEmpty",
859
- "hubUpdateModal": "BiQ1zG_hubUpdateModal",
860
- "failList": "BiQ1zG_failList",
861
846
  "detailLabel": "BiQ1zG_detailLabel",
862
- "failedCopyHint": "BiQ1zG_failedCopyHint",
863
- "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
864
- "modalTitleBusy": "BiQ1zG_modalTitleBusy",
865
- "modalWide": "BiQ1zG_modalWide",
866
- "modalInstall": "BiQ1zG_modalInstall",
867
- "aboutModal": "BiQ1zG_aboutModal",
868
- "detailModal": "BiQ1zG_detailModal",
869
- "modalValue": "BiQ1zG_modalValue",
870
- "detailRow": "BiQ1zG_detailRow",
871
- "detailDim": "BiQ1zG_detailDim",
847
+ "detailLink": "BiQ1zG_detailLink",
848
+ "detailMono": "BiQ1zG_detailMono",
849
+ "detailGrid": "BiQ1zG_detailGrid",
850
+ "restartNow": "BiQ1zG_restartNow",
851
+ "queueSectionTitle": "BiQ1zG_queueSectionTitle",
852
+ "confirmIcon": "BiQ1zG_confirmIcon",
853
+ "uninstallConfirm": "BiQ1zG_uninstallConfirm",
872
854
  "resultDesc": "BiQ1zG_resultDesc",
873
- "restartLater": "BiQ1zG_restartLater",
874
- "modal": "BiQ1zG_modal",
875
- "failPrepareHint": "BiQ1zG_failPrepareHint",
876
- "detailArrow": "BiQ1zG_detailArrow",
855
+ "failRow": "BiQ1zG_failRow",
856
+ "noticeHead": "BiQ1zG_noticeHead",
857
+ "modalWide": "BiQ1zG_modalWide",
858
+ "modalLink": "BiQ1zG_modalLink",
877
859
  "detailPathBtn": "BiQ1zG_detailPathBtn",
860
+ "noticeList": "BiQ1zG_noticeList",
861
+ "queueRowStatus": "BiQ1zG_queueRowStatus",
862
+ "modalCancel": "BiQ1zG_modalCancel",
863
+ "modalDesc": "BiQ1zG_modalDesc",
864
+ "queueRowTrack": "BiQ1zG_queueRowTrack",
865
+ "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
866
+ "noticeIgnore": "BiQ1zG_noticeIgnore",
867
+ "failNetworkTarget": "BiQ1zG_failNetworkTarget",
878
868
  "progress": "BiQ1zG_progress",
879
- "detailPath": "BiQ1zG_detailPath",
880
- "cliOnlyHint": "BiQ1zG_cliOnlyHint",
869
+ "modalTitle": "BiQ1zG_modalTitle",
870
+ "progressTrack": "BiQ1zG_progressTrack",
871
+ "overlayIn": "BiQ1zG_overlayIn",
872
+ "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
873
+ "failDiagBtn": "BiQ1zG_failDiagBtn",
874
+ "modalClose": "BiQ1zG_modalClose",
875
+ "modalCopy": "BiQ1zG_modalCopy",
876
+ "failCopy": "BiQ1zG_failCopy",
877
+ "detailRow": "BiQ1zG_detailRow",
881
878
  "noticeRowMain": "BiQ1zG_noticeRowMain",
879
+ "helpModal": "BiQ1zG_helpModal",
882
880
  "resultRestarting": "BiQ1zG_resultRestarting",
883
- "resultCheckIcon": "BiQ1zG_resultCheckIcon",
884
- "queueRowTrack": "BiQ1zG_queueRowTrack",
885
- "dangerConfirm": "BiQ1zG_dangerConfirm",
886
- "noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
887
- "noticeIgnore": "BiQ1zG_noticeIgnore",
888
- "failClear": "BiQ1zG_failClear"
881
+ "confirmIconDanger": "BiQ1zG_confirmIconDanger",
882
+ "failBigIssue": "BiQ1zG_failBigIssue",
883
+ "noticeTextFail": "BiQ1zG_noticeTextFail",
884
+ "progressFill": "BiQ1zG_progressFill",
885
+ "detailPathActions": "BiQ1zG_detailPathActions",
886
+ "pendingRowActions": "BiQ1zG_pendingRowActions",
887
+ "failedCopyHint": "BiQ1zG_failedCopyHint",
888
+ "linkIcon": "BiQ1zG_linkIcon"
889
889
  };
890
890
  //#endregion
891
+ //#region src/server/services/install/release-target.ts
892
+ /** 目录权威命令:`dsh plugin --profile <p> add|update <target>`(与 profile.ts installTargetOf 同口径)。 */
893
+ const DSH_PLUGIN_CMD_RE$1 = /^dsh[ \t]+plugin[ \t]+--profile(?:[ \t]+|=)[A-Za-z0-9_-]+[ \t]+(?:add|update)[ \t]+(.+)$/i;
894
+ /** 固定形态的 release .tgz 直链:主机、路径段与扩展名全部锁死。 */
895
+ const RELEASE_URL_RE = /^https:\/\/github\.com\/([A-Za-z0-9._-]+)\/([A-Za-z0-9._-]+)\/releases\/download\/([A-Za-z0-9._+-]+)\/([A-Za-z0-9._+-]+\.tgz)$/;
896
+ /**
897
+ * 解析一个 release 安装目标。
898
+ * @param value - 目录命令(`dsh plugin --profile web add <url>`)或裸直链。
899
+ * @returns 命中返回 `{ target, repo }`,否则 null。
900
+ */
901
+ function githubReleaseTarget(value) {
902
+ const input = typeof value === "string" ? value.trim() : "";
903
+ if (input === "") return null;
904
+ const command = DSH_PLUGIN_CMD_RE$1.exec(input);
905
+ const raw = command !== null ? command[1].trim() : input;
906
+ const match = RELEASE_URL_RE.exec(raw);
907
+ if (match === null) return null;
908
+ if (match.slice(1).some((part) => part === "." || part === "..")) return null;
909
+ return {
910
+ target: raw,
911
+ repo: `${match[1]}/${match[2]}`
912
+ };
913
+ }
914
+ //#endregion
891
915
  //#region src/client/logic/install-command.ts
892
916
  /**
893
917
  * 安装通道决策(用户无感知):目录探测到 npm 包名 → 用 npm 包名安装
894
- * (走 npm registry tarball,更快、与 GitHub 网络无关);无 npm 包名 → git 直装。
895
- * 返回值 target 即传给后端 /install 的安装目标(npm 包名 或 owner/repo)。
918
+ * (走 npm registry tarball,更快、与 GitHub 网络无关);其次用「同仓库」的权威
919
+ * release 包直链(仓库 HEAD 往往是 monorepo 根、装不上,release .tgz 才是完整产物);
920
+ * 都没有 → git 直装。
921
+ * 返回值 target 即传给后端 /install 的安装目标(npm 包名 / release URL / owner/repo)。
896
922
  */
897
923
  function installTargetOf(p) {
898
924
  const pkg = (p.source?.npmPackage ?? "").trim();
@@ -901,6 +927,11 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
901
927
  target: pkg,
902
928
  via: "npm"
903
929
  };
930
+ const release = githubReleaseTarget(p.install?.githubCommand ?? "");
931
+ if (release !== null && repo !== "" && release.repo.toLowerCase() === repo.toLowerCase()) return {
932
+ target: release.target,
933
+ via: "release"
934
+ };
904
935
  return {
905
936
  target: repo,
906
937
  via: "github"
@@ -918,11 +949,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
918
949
  const cmd = p.install?.githubCommand;
919
950
  if (cmd) return cmd;
920
951
  }
921
- return via === "npm" ? `dsh plugin${withProfile ? " --profile web" : ""} add ${target}` : `dsh plugin${withProfile ? " --profile web" : ""} add git+https://github.com/${target}.git`;
952
+ const prefix = `dsh plugin${withProfile ? " --profile web" : ""} add `;
953
+ if (via === "npm" || via === "release") return `${prefix}${target}`;
954
+ return `${prefix}git+https://github.com/${target}.git`;
922
955
  }
923
956
  /** Normalize a task/install target to its owner/repo display identity. */
924
957
  function repoFromInstallTarget(value) {
925
958
  const input = value.trim();
959
+ const release = githubReleaseTarget(input);
960
+ if (release !== null) return release.repo;
926
961
  if (/^[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+$/.test(input)) return input;
927
962
  for (const pattern of [
928
963
  /^github:([^/]+)\/([^/]+)$/i,
@@ -955,7 +990,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
955
990
  * tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
956
991
  * node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
957
992
  */
958
- const PLUGIN_VERSION = "1.4.13";
993
+ const PLUGIN_VERSION = "1.5.0";
959
994
  const CATEGORY_ORDER = [
960
995
  "interface",
961
996
  "session",
@@ -1592,7 +1627,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
1592
1627
  */
1593
1628
  const hubHasUpdate = (() => {
1594
1629
  if (!hubUpdateInfo) return false;
1595
- if (hubUpdateInfo.version === "1.4.13") return false;
1630
+ if (hubUpdateInfo.version === "1.5.0") return false;
1596
1631
  const publishedAt = hubUpdateInfo.publishedAt;
1597
1632
  if (publishedAt) {
1598
1633
  const publishedMs = Date.parse(publishedAt);
@@ -1917,15 +1952,14 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
1917
1952
  return out.length > maxChars ? `${out.slice(0, maxChars)}\n… (truncated)` : out;
1918
1953
  }
1919
1954
  /** 提取首个错误代码(如 ERR_PNPM_PREPARE_PACKAGE),无则 null。
1920
- * 代码里可能含数字(ERR_PNPM_FETCH_404 / ERR_PNPM_EBADPLATFORM_...),字符类必须带上 0-9,
1921
- * 否则会被截成 `ERR_PNPM_FETCH_`(#73 的 issue 正文就是这么被截断的)。 */
1955
+ * 代码里可能含数字(ERR_PNPM_FETCH_404 / ERR_PNPM_EBADPLATFORM_...),字符类需带上 0-9,
1956
+ * 否则会被截断成 `ERR_PNPM_FETCH_`。 */
1922
1957
  function coreErrorCode(message) {
1923
1958
  const m = message.match(/\[?ERR_[A-Z0-9_]+\]?/);
1924
1959
  return m ? m[0].replace(/^\[|\]$/g, "") : null;
1925
1960
  }
1926
1961
  /** 提取「registry 上不存在的包名」:从 404 行(`ERR_PNPM_FETCH_404 GET <registry>/<pkg>: Not Found - 404`)
1927
- * 里取请求路径中的包名(含 scope,如 `@scope/name`);非 404 或提取不到返回 null。
1928
- * 调用方据此在提示里点名具体是哪个依赖缺失 —— 光说「有个包 404 了」用户无从下手。 */
1962
+ * 里取请求路径中的包名(含 scope,如 `@scope/name`);非 404 或提取不到返回 null。 */
1929
1963
  function missingRegistryPackageOf(message) {
1930
1964
  for (const line of message.split(/\r?\n/)) {
1931
1965
  if (!/ERR_PNPM_FETCH_404|404/.test(line)) continue;
@@ -3594,9 +3628,19 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
3594
3628
  * 客户端按接口返回渲染,不内置固定文案。
3595
3629
  * 图片(反馈群二维码)经 renderMarkdown 的 ![](url) 语法嵌入,居中、最大高度受控。
3596
3630
  */
3631
+ /**
3632
+ * 反馈群二维码 URL 恒定(每次换码都是同名覆盖,文件名不变),浏览器 / CDN 会按
3633
+ * URL 缓存旧图。这里在渲染前给二维码 URL 实时拼一个新的时间戳,强制每次打开
3634
+ * 「关注我们」都回源拉取最新图片,无需重新构建 / 部署接口中心。
3635
+ * 匹配规则与 renderMarkdown 的二维码识别保持一致(dsh-plugin-user-group-qr 前缀)。
3636
+ */
3637
+ function bustQrCache(md, ts) {
3638
+ return md.replace(/(!\[[^\]]*\]\()([^)\s]*dsh-plugin-user-group-qr[^)\s]*)/g, (_m, pre, url) => `${pre}${String(url).split("?")[0]}?v=${ts}`);
3639
+ }
3597
3640
  function AboutModal({ info, lang, t, onClose }) {
3598
3641
  const contentRaw = info ? typeof info.content === "string" ? info.content : info.content && typeof info.content === "object" ? lang === "en" ? info.content.en ?? info.content.zh ?? "" : info.content.zh ?? info.content.en ?? "" : "" : "";
3599
- const contentHtml = contentRaw.trim() ? renderMarkdown(contentRaw) : null;
3642
+ const qrTs = (0, react.useMemo)(() => Date.now(), []);
3643
+ const contentHtml = contentRaw.trim() ? renderMarkdown(bustQrCache(contentRaw, qrTs)) : null;
3600
3644
  let updated = null;
3601
3645
  if (info?.updatedAt) {
3602
3646
  const d = new Date(info.updatedAt);
@@ -4196,40 +4240,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4196
4240
  css: css$9
4197
4241
  });
4198
4242
  var List_module_css_default = {
4199
- "card": "_3XaZHa_card",
4200
- "actions": "_3XaZHa_actions",
4201
- "stats": "_3XaZHa_stats",
4202
- "categoryBadge": "_3XaZHa_categoryBadge",
4203
- "body": "_3XaZHa_body",
4204
- "list": "_3XaZHa_list",
4243
+ "installBtnCopied": "_3XaZHa_installBtnCopied",
4244
+ "stateActions": "_3XaZHa_stateActions",
4245
+ "fork": "_3XaZHa_fork",
4246
+ "cardSide": "_3XaZHa_cardSide",
4205
4247
  "topic": "_3XaZHa_topic",
4206
- "cardTitle": "_3XaZHa_cardTitle",
4207
- "date": "_3XaZHa_date",
4208
- "detailBtn": "_3XaZHa_detailBtn",
4209
- "stateDesc": "_3XaZHa_stateDesc",
4210
- "footLink": "_3XaZHa_footLink",
4211
4248
  "verified": "_3XaZHa_verified",
4212
- "moreSentinel": "_3XaZHa_moreSentinel",
4213
4249
  "state": "_3XaZHa_state",
4214
- "cardHead": "_3XaZHa_cardHead",
4215
- "star": "_3XaZHa_star",
4216
- "stateActions": "_3XaZHa_stateActions",
4250
+ "body": "_3XaZHa_body",
4251
+ "moreSentinel": "_3XaZHa_moreSentinel",
4217
4252
  "diagBtn": "_3XaZHa_diagBtn",
4218
- "installBtnCopied": "_3XaZHa_installBtnCopied",
4219
- "cardMain": "_3XaZHa_cardMain",
4220
- "topics": "_3XaZHa_topics",
4221
- "installBtnUpdate": "_3XaZHa_installBtnUpdate",
4222
- "footer": "_3XaZHa_footer",
4253
+ "updateBadge": "_3XaZHa_updateBadge",
4254
+ "date": "_3XaZHa_date",
4255
+ "star": "_3XaZHa_star",
4256
+ "stateDesc": "_3XaZHa_stateDesc",
4257
+ "retryBtn": "_3XaZHa_retryBtn",
4258
+ "card": "_3XaZHa_card",
4223
4259
  "uninstallBtn": "_3XaZHa_uninstallBtn",
4224
4260
  "versionBadge": "_3XaZHa_versionBadge",
4225
- "fork": "_3XaZHa_fork",
4226
- "retryBtn": "_3XaZHa_retryBtn",
4261
+ "list": "_3XaZHa_list",
4227
4262
  "desc": "_3XaZHa_desc",
4228
4263
  "installBtnInstalled": "_3XaZHa_installBtnInstalled",
4264
+ "topics": "_3XaZHa_topics",
4265
+ "installBtnUpdate": "_3XaZHa_installBtnUpdate",
4229
4266
  "stateTitle": "_3XaZHa_stateTitle",
4267
+ "actions": "_3XaZHa_actions",
4268
+ "cardMain": "_3XaZHa_cardMain",
4269
+ "cardHead": "_3XaZHa_cardHead",
4270
+ "cardTitle": "_3XaZHa_cardTitle",
4271
+ "footer": "_3XaZHa_footer",
4272
+ "stats": "_3XaZHa_stats",
4273
+ "categoryBadge": "_3XaZHa_categoryBadge",
4230
4274
  "installBtn": "_3XaZHa_installBtn",
4231
- "updateBadge": "_3XaZHa_updateBadge",
4232
- "cardSide": "_3XaZHa_cardSide"
4275
+ "footLink": "_3XaZHa_footLink",
4276
+ "detailBtn": "_3XaZHa_detailBtn"
4233
4277
  };
4234
4278
  //#endregion
4235
4279
  //#region src/client/hooks/useIncrementalList.ts
@@ -4436,15 +4480,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4436
4480
  css: css$8
4437
4481
  });
4438
4482
  var SectionTabs_module_css_default = {
4439
- "root": "_7tvizq_root",
4440
- "tabCount": "_7tvizq_tabCount",
4441
- "tab": "_7tvizq_tab",
4442
- "tabActive": "_7tvizq_tabActive",
4443
- "noticeCount": "_7tvizq_noticeCount",
4444
4483
  "tabCountActive": "_7tvizq_tabCountActive",
4445
4484
  "noticeBtn": "_7tvizq_noticeBtn",
4485
+ "noticeCount": "_7tvizq_noticeCount",
4446
4486
  "noticeIcon": "_7tvizq_noticeIcon",
4447
- "tabIcon": "_7tvizq_tabIcon"
4487
+ "tabActive": "_7tvizq_tabActive",
4488
+ "tab": "_7tvizq_tab",
4489
+ "tabIcon": "_7tvizq_tabIcon",
4490
+ "root": "_7tvizq_root",
4491
+ "tabCount": "_7tvizq_tabCount"
4448
4492
  };
4449
4493
  //#endregion
4450
4494
  //#region src/client/components/layout/SectionTabs.tsx
@@ -4521,42 +4565,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4521
4565
  css: css$7
4522
4566
  });
4523
4567
  var InstalledView_module_css_default = {
4568
+ "emptyTitle": "_1nXeGW_emptyTitle",
4569
+ "searchInput": "_1nXeGW_searchInput",
4570
+ "list": "_1nXeGW_list",
4571
+ "rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
4572
+ "versionBadge": "_1nXeGW_versionBadge",
4573
+ "segLabel": "_1nXeGW_segLabel",
4574
+ "rowUninstall": "_1nXeGW_rowUninstall",
4575
+ "segGroup": "_1nXeGW_segGroup",
4576
+ "statusDot": "_1nXeGW_statusDot",
4524
4577
  "searchWrap": "_1nXeGW_searchWrap",
4525
- "statusPending": "_1nXeGW_statusPending",
4526
- "rowMain": "_1nXeGW_rowMain",
4527
- "rowUpdate": "_1nXeGW_rowUpdate",
4578
+ "rowActions": "_1nXeGW_rowActions",
4579
+ "rowMeta": "_1nXeGW_rowMeta",
4580
+ "toolbar": "_1nXeGW_toolbar",
4581
+ "segBtnActive": "_1nXeGW_segBtnActive",
4582
+ "statusInactive": "_1nXeGW_statusInactive",
4583
+ "updateBadge": "_1nXeGW_updateBadge",
4584
+ "rowCategory": "_1nXeGW_rowCategory",
4585
+ "rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
4586
+ "rowRestart": "_1nXeGW_rowRestart",
4528
4587
  "segBtn": "_1nXeGW_segBtn",
4529
4588
  "segRow": "_1nXeGW_segRow",
4530
- "rowRestart": "_1nXeGW_rowRestart",
4531
- "row": "_1nXeGW_row",
4532
4589
  "rowRepo": "_1nXeGW_rowRepo",
4533
- "rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
4534
4590
  "empty": "_1nXeGW_empty",
4535
4591
  "rowDetail": "_1nXeGW_rowDetail",
4536
- "updateBadge": "_1nXeGW_updateBadge",
4537
- "segGroup": "_1nXeGW_segGroup",
4592
+ "row": "_1nXeGW_row",
4593
+ "emptyDesc": "_1nXeGW_emptyDesc",
4594
+ "rowTitle": "_1nXeGW_rowTitle",
4595
+ "rowMain": "_1nXeGW_rowMain",
4596
+ "exampleBadge": "_1nXeGW_exampleBadge",
4538
4597
  "rowDesc": "_1nXeGW_rowDesc",
4539
- "list": "_1nXeGW_list",
4598
+ "statusPending": "_1nXeGW_statusPending",
4540
4599
  "rowTitleLine": "_1nXeGW_rowTitleLine",
4600
+ "exampleRow": "_1nXeGW_exampleRow",
4541
4601
  "root": "_1nXeGW_root",
4542
4602
  "rowSourceTag": "_1nXeGW_rowSourceTag",
4543
- "rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
4544
- "emptyTitle": "_1nXeGW_emptyTitle",
4545
- "exampleRow": "_1nXeGW_exampleRow",
4546
- "segLabel": "_1nXeGW_segLabel",
4547
- "segBtnActive": "_1nXeGW_segBtnActive",
4548
- "emptyDesc": "_1nXeGW_emptyDesc",
4549
- "statusDot": "_1nXeGW_statusDot",
4550
- "exampleBadge": "_1nXeGW_exampleBadge",
4551
- "rowMeta": "_1nXeGW_rowMeta",
4552
- "rowActions": "_1nXeGW_rowActions",
4553
- "searchInput": "_1nXeGW_searchInput",
4554
- "rowUninstall": "_1nXeGW_rowUninstall",
4555
- "statusInactive": "_1nXeGW_statusInactive",
4556
- "toolbar": "_1nXeGW_toolbar",
4557
- "rowTitle": "_1nXeGW_rowTitle",
4558
- "versionBadge": "_1nXeGW_versionBadge",
4559
- "rowCategory": "_1nXeGW_rowCategory"
4603
+ "rowUpdate": "_1nXeGW_rowUpdate"
4560
4604
  };
4561
4605
  //#endregion
4562
4606
  //#region src/client/components/views/InstalledView.tsx
@@ -4803,27 +4847,27 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4803
4847
  });
4804
4848
  var CustomInstallView_module_css_default = {
4805
4849
  "helpCmd": "zISxCG_helpCmd",
4806
- "installRow": "zISxCG_installRow",
4807
- "helpLine": "zISxCG_helpLine",
4808
- "installCard": "zISxCG_installCard",
4850
+ "installInput": "zISxCG_installInput",
4851
+ "channelOff": "zISxCG_channelOff",
4809
4852
  "installCardDisabled": "zISxCG_installCardDisabled",
4853
+ "installInputError": "zISxCG_installInputError",
4854
+ "installRow": "zISxCG_installRow",
4810
4855
  "root": "zISxCG_root",
4811
- "installCards": "zISxCG_installCards",
4812
- "installCardHead": "zISxCG_installCardHead",
4813
- "channelOffText": "zISxCG_channelOffText",
4856
+ "desc": "zISxCG_desc",
4857
+ "installInsertBtn": "zISxCG_installInsertBtn",
4858
+ "installBtn": "zISxCG_installBtn",
4814
4859
  "installHelpBtn": "zISxCG_installHelpBtn",
4860
+ "installCard": "zISxCG_installCard",
4861
+ "installLabel": "zISxCG_installLabel",
4862
+ "channelOffText": "zISxCG_channelOffText",
4863
+ "installCards": "zISxCG_installCards",
4815
4864
  "channelOffBtn": "zISxCG_channelOffBtn",
4816
- "installInputError": "zISxCG_installInputError",
4865
+ "installCardHead": "zISxCG_installCardHead",
4817
4866
  "installError": "zISxCG_installError",
4818
- "installInsertBtn": "zISxCG_installInsertBtn",
4819
- "desc": "zISxCG_desc",
4820
- "channelOff": "zISxCG_channelOff",
4821
- "installInput": "zISxCG_installInput",
4822
- "installLabel": "zISxCG_installLabel",
4823
4867
  "helpBody": "zISxCG_helpBody",
4868
+ "helpLine": "zISxCG_helpLine",
4824
4869
  "installExample": "zISxCG_installExample",
4825
- "helpNote": "zISxCG_helpNote",
4826
- "installBtn": "zISxCG_installBtn"
4870
+ "helpNote": "zISxCG_helpNote"
4827
4871
  };
4828
4872
  //#endregion
4829
4873
  //#region src/client/components/views/CustomInstallView.tsx
@@ -5113,30 +5157,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5113
5157
  css: css$5
5114
5158
  });
5115
5159
  var SettingsView_module_css_default = {
5116
- "textInput": "_506LLG_textInput",
5160
+ "proxyHint": "_506LLG_proxyHint",
5161
+ "navItem": "_506LLG_navItem",
5162
+ "navIcon": "_506LLG_navIcon",
5163
+ "settingControl": "_506LLG_settingControl",
5117
5164
  "pageTitle": "_506LLG_pageTitle",
5165
+ "proxyControl": "_506LLG_proxyControl",
5166
+ "proxyHintOk": "_506LLG_proxyHintOk",
5118
5167
  "controlDropdown": "_506LLG_controlDropdown",
5119
- "settingTitle": "_506LLG_settingTitle",
5120
- "navIcon": "_506LLG_navIcon",
5121
- "proxyHint": "_506LLG_proxyHint",
5122
- "resetBtn": "_506LLG_resetBtn",
5123
5168
  "navItemActive": "_506LLG_navItemActive",
5124
- "settingLabel": "_506LLG_settingLabel",
5125
- "settingRow": "_506LLG_settingRow",
5126
- "proxyHintOk": "_506LLG_proxyHintOk",
5127
- "root": "_506LLG_root",
5128
- "proxyControl": "_506LLG_proxyControl",
5129
- "settingControlStack": "_506LLG_settingControlStack",
5130
- "navItem": "_506LLG_navItem",
5131
- "proxyHintFail": "_506LLG_proxyHintFail",
5132
- "pageDesc": "_506LLG_pageDesc",
5169
+ "resetBtn": "_506LLG_resetBtn",
5133
5170
  "pageHeader": "_506LLG_pageHeader",
5171
+ "settingRowStack": "_506LLG_settingRowStack",
5172
+ "root": "_506LLG_root",
5134
5173
  "card": "_506LLG_card",
5174
+ "sidebar": "_506LLG_sidebar",
5175
+ "settingTitle": "_506LLG_settingTitle",
5176
+ "settingRow": "_506LLG_settingRow",
5177
+ "pageDesc": "_506LLG_pageDesc",
5135
5178
  "settingDesc": "_506LLG_settingDesc",
5179
+ "settingControlStack": "_506LLG_settingControlStack",
5180
+ "textInput": "_506LLG_textInput",
5136
5181
  "content": "_506LLG_content",
5137
- "settingControl": "_506LLG_settingControl",
5138
- "sidebar": "_506LLG_sidebar",
5139
- "settingRowStack": "_506LLG_settingRowStack"
5182
+ "settingLabel": "_506LLG_settingLabel",
5183
+ "proxyHintFail": "_506LLG_proxyHintFail"
5140
5184
  };
5141
5185
  //#endregion
5142
5186
  //#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
@@ -5155,18 +5199,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5155
5199
  css: css$4
5156
5200
  });
5157
5201
  var Dropdown_module_css_default = {
5158
- "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5159
5202
  "dropdownItemActive": "B_Gxsq_dropdownItemActive",
5160
- "dropdownFill": "B_Gxsq_dropdownFill",
5161
- "dropdownArrow": "B_Gxsq_dropdownArrow",
5162
5203
  "dropdownPanel": "B_Gxsq_dropdownPanel",
5204
+ "dropdownBtn": "B_Gxsq_dropdownBtn",
5205
+ "dropdownArrow": "B_Gxsq_dropdownArrow",
5206
+ "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5163
5207
  "dropdownItem": "B_Gxsq_dropdownItem",
5164
- "dropdownCount": "B_Gxsq_dropdownCount",
5165
5208
  "dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
5209
+ "dropdownFill": "B_Gxsq_dropdownFill",
5210
+ "dropdown": "B_Gxsq_dropdown",
5211
+ "dropdownCount": "B_Gxsq_dropdownCount",
5166
5212
  "dropdownCountActive": "B_Gxsq_dropdownCountActive",
5167
- "dropdownBtn": "B_Gxsq_dropdownBtn",
5168
- "dropdownLabel": "B_Gxsq_dropdownLabel",
5169
- "dropdown": "B_Gxsq_dropdown"
5213
+ "dropdownLabel": "B_Gxsq_dropdownLabel"
5170
5214
  };
5171
5215
  //#endregion
5172
5216
  //#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
@@ -5186,8 +5230,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5186
5230
  });
5187
5231
  var Toggle_module_css_default = {
5188
5232
  "toggle": "k-cD4G_toggle",
5189
- "knob": "k-cD4G_knob",
5190
- "toggleOn": "k-cD4G_toggleOn"
5233
+ "toggleOn": "k-cD4G_toggleOn",
5234
+ "knob": "k-cD4G_knob"
5191
5235
  };
5192
5236
  //#endregion
5193
5237
  //#region src/client/components/ui/Toggle.tsx
@@ -5287,29 +5331,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5287
5331
  css: css$2
5288
5332
  });
5289
5333
  var DiagnosticsView_module_css_default = {
5290
- "envLabel": "k9eRya_envLabel",
5291
- "name": "k9eRya_name",
5292
- "meta": "k9eRya_meta",
5293
- "badge": "k9eRya_badge",
5294
- "badgeIdle": "k9eRya_badgeIdle",
5295
- "head": "k9eRya_head",
5296
- "badgeRunning": "k9eRya_badgeRunning",
5297
- "panel": "k9eRya_panel",
5298
- "envTitle": "k9eRya_envTitle",
5299
5334
  "runBtn": "k9eRya_runBtn",
5300
5335
  "badgeFail": "k9eRya_badgeFail",
5301
- "summaryFail": "k9eRya_summaryFail",
5336
+ "envCopyBtn": "k9eRya_envCopyBtn",
5337
+ "name": "k9eRya_name",
5338
+ "headHint": "k9eRya_headHint",
5302
5339
  "diagPulse": "k9eRya_diagPulse",
5303
- "envRow": "k9eRya_envRow",
5304
5340
  "envDesc": "k9eRya_envDesc",
5305
- "row": "k9eRya_row",
5306
- "badgeOk": "k9eRya_badgeOk",
5341
+ "badgeIdle": "k9eRya_badgeIdle",
5307
5342
  "summary": "k9eRya_summary",
5308
- "envCopyBtn": "k9eRya_envCopyBtn",
5309
- "headHint": "k9eRya_headHint",
5343
+ "head": "k9eRya_head",
5310
5344
  "summaryOk": "k9eRya_summaryOk",
5345
+ "summaryFail": "k9eRya_summaryFail",
5346
+ "badge": "k9eRya_badge",
5311
5347
  "display": "k9eRya_display",
5312
- "summaryRunning": "k9eRya_summaryRunning"
5348
+ "envLabel": "k9eRya_envLabel",
5349
+ "summaryRunning": "k9eRya_summaryRunning",
5350
+ "envTitle": "k9eRya_envTitle",
5351
+ "meta": "k9eRya_meta",
5352
+ "badgeRunning": "k9eRya_badgeRunning",
5353
+ "panel": "k9eRya_panel",
5354
+ "envRow": "k9eRya_envRow",
5355
+ "row": "k9eRya_row",
5356
+ "badgeOk": "k9eRya_badgeOk"
5313
5357
  };
5314
5358
  //#endregion
5315
5359
  //#region src/client/components/views/DiagnosticsView.tsx
@@ -5487,57 +5531,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5487
5531
  css: css$1
5488
5532
  });
5489
5533
  var LogsView_module_css_default = {
5490
- "badgeError": "_3j77BW_badgeError",
5491
- "pathDraft": "_3j77BW_pathDraft",
5492
- "clearBtn": "_3j77BW_clearBtn",
5493
- "pathDialogDesc": "_3j77BW_pathDialogDesc",
5494
- "pathDialogRow": "_3j77BW_pathDialogRow",
5495
- "pathDialog": "_3j77BW_pathDialog",
5496
- "pathDialogFoot": "_3j77BW_pathDialogFoot",
5497
- "headHint": "_3j77BW_headHint",
5498
- "logList": "_3j77BW_logList",
5499
- "pathText": "_3j77BW_pathText",
5500
- "footActions": "_3j77BW_footActions",
5501
5534
  "message": "_3j77BW_message",
5502
- "badgeWarn": "_3j77BW_badgeWarn",
5503
- "pathRow": "_3j77BW_pathRow",
5504
- "badgeInfo": "_3j77BW_badgeInfo",
5505
- "footPath": "_3j77BW_footPath",
5506
- "badgeDebug": "_3j77BW_badgeDebug",
5507
5535
  "linkBtn": "_3j77BW_linkBtn",
5536
+ "pathRow": "_3j77BW_pathRow",
5537
+ "headHint": "_3j77BW_headHint",
5538
+ "pathText": "_3j77BW_pathText",
5539
+ "pathLabel": "_3j77BW_pathLabel",
5540
+ "actions": "_3j77BW_actions",
5541
+ "filterBar": "_3j77BW_filterBar",
5508
5542
  "moreEnd": "_3j77BW_moreEnd",
5509
- "pathDialogHint": "_3j77BW_pathDialogHint",
5510
5543
  "time": "_3j77BW_time",
5511
- "filterChipActive": "_3j77BW_filterChipActive",
5512
- "search": "_3j77BW_search",
5513
- "actions": "_3j77BW_actions",
5514
- "list": "_3j77BW_list",
5515
- "event": "_3j77BW_event",
5516
- "panel": "_3j77BW_panel",
5517
- "filterChip": "_3j77BW_filterChip",
5544
+ "pathDialog": "_3j77BW_pathDialog",
5545
+ "pathDialogRow": "_3j77BW_pathDialogRow",
5518
5546
  "headActions": "_3j77BW_headActions",
5519
- "more": "_3j77BW_more",
5520
- "catInstall": "_3j77BW_catInstall",
5521
- "empty": "_3j77BW_empty",
5522
- "badgeSuccess": "_3j77BW_badgeSuccess",
5523
- "catBadge": "_3j77BW_catBadge",
5524
- "catSettings": "_3j77BW_catSettings",
5525
- "filterBar": "_3j77BW_filterBar",
5526
5547
  "foot": "_3j77BW_foot",
5527
- "catUpdate": "_3j77BW_catUpdate",
5548
+ "footPath": "_3j77BW_footPath",
5549
+ "badge": "_3j77BW_badge",
5528
5550
  "head": "_3j77BW_head",
5529
- "searchInput": "_3j77BW_searchInput",
5551
+ "pathDialogReset": "_3j77BW_pathDialogReset",
5552
+ "badgeWarn": "_3j77BW_badgeWarn",
5553
+ "badgeError": "_3j77BW_badgeError",
5554
+ "catSystem": "_3j77BW_catSystem",
5555
+ "badgeDebug": "_3j77BW_badgeDebug",
5556
+ "footFail": "_3j77BW_footFail",
5557
+ "pathDraft": "_3j77BW_pathDraft",
5558
+ "more": "_3j77BW_more",
5559
+ "event": "_3j77BW_event",
5560
+ "filterChip": "_3j77BW_filterChip",
5530
5561
  "entry": "_3j77BW_entry",
5531
- "badge": "_3j77BW_badge",
5532
- "catUninstall": "_3j77BW_catUninstall",
5533
- "pathLabel": "_3j77BW_pathLabel",
5562
+ "clearBtn": "_3j77BW_clearBtn",
5563
+ "pathDialogDesc": "_3j77BW_pathDialogDesc",
5564
+ "previewRow": "_3j77BW_previewRow",
5565
+ "footCount": "_3j77BW_footCount",
5566
+ "searchInput": "_3j77BW_searchInput",
5534
5567
  "catDiagnostics": "_3j77BW_catDiagnostics",
5535
- "footFail": "_3j77BW_footFail",
5536
- "catSystem": "_3j77BW_catSystem",
5568
+ "empty": "_3j77BW_empty",
5569
+ "catSettings": "_3j77BW_catSettings",
5537
5570
  "btn": "_3j77BW_btn",
5538
- "previewRow": "_3j77BW_previewRow",
5539
- "pathDialogReset": "_3j77BW_pathDialogReset",
5540
- "footCount": "_3j77BW_footCount"
5571
+ "catUninstall": "_3j77BW_catUninstall",
5572
+ "footActions": "_3j77BW_footActions",
5573
+ "catBadge": "_3j77BW_catBadge",
5574
+ "list": "_3j77BW_list",
5575
+ "badgeInfo": "_3j77BW_badgeInfo",
5576
+ "badgeSuccess": "_3j77BW_badgeSuccess",
5577
+ "catInstall": "_3j77BW_catInstall",
5578
+ "catUpdate": "_3j77BW_catUpdate",
5579
+ "pathDialogFoot": "_3j77BW_pathDialogFoot",
5580
+ "search": "_3j77BW_search",
5581
+ "logList": "_3j77BW_logList",
5582
+ "panel": "_3j77BW_panel",
5583
+ "pathDialogHint": "_3j77BW_pathDialogHint",
5584
+ "filterChipActive": "_3j77BW_filterChipActive"
5541
5585
  };
5542
5586
  //#endregion
5543
5587
  //#region src/client/components/modals/LogsModal.tsx
@@ -6786,7 +6830,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
6786
6830
  openSection: settingsSection,
6787
6831
  onConsumedOpenSection: () => setSettingsSection(null)
6788
6832
  }), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
6789
- info: catalog.hubUpdateInfo ?? { version: "1.4.13" },
6833
+ info: catalog.hubUpdateInfo ?? { version: "1.5.0" },
6790
6834
  lang,
6791
6835
  t,
6792
6836
  hasUpdate: catalog.hubHasUpdate,