dsh-plugin 1.5.1 → 1.5.2

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
@@ -704,42 +704,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
704
704
  css: css$11
705
705
  });
706
706
  var Header_module_css_default = {
707
- "adArrow": "qikqja_adArrow",
708
- "headerRight": "qikqja_headerRight",
709
- "tagline": "qikqja_tagline",
710
- "segGroup": "qikqja_segGroup",
707
+ "version": "qikqja_version",
711
708
  "segBtn": "qikqja_segBtn",
709
+ "tabCount": "qikqja_tabCount",
710
+ "adArrow": "qikqja_adArrow",
712
711
  "root": "qikqja_root",
713
- "version": "qikqja_version",
714
- "versionBtn": "qikqja_versionBtn",
715
712
  "segLabel": "qikqja_segLabel",
716
- "title": "qikqja_title",
717
- "langBtn": "qikqja_langBtn",
718
- "githubLink": "qikqja_githubLink",
713
+ "aboutBtn": "qikqja_aboutBtn",
714
+ "tabsRow": "qikqja_tabsRow",
715
+ "logoIcon": "qikqja_logoIcon",
716
+ "brandTitle": "qikqja_brandTitle",
717
+ "headerRight": "qikqja_headerRight",
718
+ "adBanner": "qikqja_adBanner",
719
+ "versionBtn": "qikqja_versionBtn",
719
720
  "taglineLink": "qikqja_taglineLink",
720
- "sortGroup": "qikqja_sortGroup",
721
- "hubUpdateBadge": "qikqja_hubUpdateBadge",
722
721
  "controls": "qikqja_controls",
722
+ "tabs": "qikqja_tabs",
723
+ "header": "qikqja_header",
724
+ "langBtn": "qikqja_langBtn",
725
+ "title": "qikqja_title",
726
+ "sortGroup": "qikqja_sortGroup",
727
+ "githubLink": "qikqja_githubLink",
728
+ "resultSeg": "qikqja_resultSeg",
729
+ "segGroup": "qikqja_segGroup",
723
730
  "adText": "qikqja_adText",
724
731
  "searchRow": "qikqja_searchRow",
725
- "search": "qikqja_search",
726
732
  "githubIcon": "qikqja_githubIcon",
727
- "tabs": "qikqja_tabs",
728
- "brandTitle": "qikqja_brandTitle",
729
- "tabsRow": "qikqja_tabsRow",
730
- "resultCount": "qikqja_resultCount",
731
- "adBanner": "qikqja_adBanner",
732
- "header": "qikqja_header",
733
- "adBadge": "qikqja_adBadge",
734
- "logoIcon": "qikqja_logoIcon",
735
- "segBtnActive": "qikqja_segBtnActive",
736
- "aboutBtn": "qikqja_aboutBtn",
737
- "tab": "qikqja_tab",
733
+ "tabActive": "qikqja_tabActive",
738
734
  "headerTitleRow": "qikqja_headerTitleRow",
739
735
  "copyIcon": "qikqja_copyIcon",
740
- "tabActive": "qikqja_tabActive",
741
- "tabCount": "qikqja_tabCount",
742
- "resultSeg": "qikqja_resultSeg"
736
+ "hubUpdateBadge": "qikqja_hubUpdateBadge",
737
+ "tagline": "qikqja_tagline",
738
+ "adBadge": "qikqja_adBadge",
739
+ "search": "qikqja_search",
740
+ "tab": "qikqja_tab",
741
+ "resultCount": "qikqja_resultCount",
742
+ "segBtnActive": "qikqja_segBtnActive"
743
743
  };
744
744
  //#endregion
745
745
  //#region \0dsh-css:src/client/styles/Modal.module.css.mjs
@@ -758,136 +758,136 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
758
758
  css: css$10
759
759
  });
760
760
  var Modal_module_css_default = {
761
- "trustHint": "BiQ1zG_trustHint",
762
- "noticeRowMain": "BiQ1zG_noticeRowMain",
763
- "modalTitleQueued": "BiQ1zG_modalTitleQueued",
764
- "modalIn": "BiQ1zG_modalIn",
765
- "resultCheck": "BiQ1zG_resultCheck",
766
- "errorCopySoft": "BiQ1zG_errorCopySoft",
767
- "modalRow": "BiQ1zG_modalRow",
768
- "detailMono": "BiQ1zG_detailMono",
769
- "queueSection": "BiQ1zG_queueSection",
761
+ "modalWide": "BiQ1zG_modalWide",
770
762
  "failKindInstall": "BiQ1zG_failKindInstall",
771
- "modalCmdCopy": "BiQ1zG_modalCmdCopy",
763
+ "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
772
764
  "queueRowStatus": "BiQ1zG_queueRowStatus",
773
- "hubUpdateModal": "BiQ1zG_hubUpdateModal",
774
- "queueRowBody": "BiQ1zG_queueRowBody",
775
- "errorTitle": "BiQ1zG_errorTitle",
776
- "noticeRemove": "BiQ1zG_noticeRemove",
777
- "modalLabel": "BiQ1zG_modalLabel",
778
- "modalCloseIcon": "BiQ1zG_modalCloseIcon",
779
- "resultRestarting": "BiQ1zG_resultRestarting",
780
- "restartLater": "BiQ1zG_restartLater",
781
- "uninstallConfirm": "BiQ1zG_uninstallConfirm",
782
- "noticeMain": "BiQ1zG_noticeMain",
783
- "noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
765
+ "resultTitle": "BiQ1zG_resultTitle",
766
+ "stripCancel": "BiQ1zG_stripCancel",
784
767
  "noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
785
- "confirmPrimary": "BiQ1zG_confirmPrimary",
786
- "modalCmdText": "BiQ1zG_modalCmdText",
768
+ "resultCheckIcon": "BiQ1zG_resultCheckIcon",
769
+ "detailPathText": "BiQ1zG_detailPathText",
770
+ "modalCmdCopy": "BiQ1zG_modalCmdCopy",
771
+ "linkIcon": "BiQ1zG_linkIcon",
772
+ "queueRow": "BiQ1zG_queueRow",
773
+ "toast": "BiQ1zG_toast",
774
+ "errorHint": "BiQ1zG_errorHint",
775
+ "detailPath": "BiQ1zG_detailPath",
776
+ "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
787
777
  "progressText": "BiQ1zG_progressText",
788
- "failDiagBtn": "BiQ1zG_failDiagBtn",
789
- "noticeFoot": "BiQ1zG_noticeFoot",
790
- "resultTitle": "BiQ1zG_resultTitle",
791
- "failKindUninstall": "BiQ1zG_failKindUninstall",
792
- "progressFill": "BiQ1zG_progressFill",
793
- "noticeRow": "BiQ1zG_noticeRow",
794
- "failPrepareHint": "BiQ1zG_failPrepareHint",
778
+ "noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
779
+ "resultCheck": "BiQ1zG_resultCheck",
780
+ "failRow": "BiQ1zG_failRow",
795
781
  "modal": "BiQ1zG_modal",
796
- "noticeTime": "BiQ1zG_noticeTime",
797
- "detailUpdateHint": "BiQ1zG_detailUpdateHint",
782
+ "progress": "BiQ1zG_progress",
783
+ "noticeRow": "BiQ1zG_noticeRow",
784
+ "hubUpdateModal": "BiQ1zG_hubUpdateModal",
785
+ "detailModal": "BiQ1zG_detailModal",
786
+ "modalRow": "BiQ1zG_modalRow",
787
+ "confirmPrimary": "BiQ1zG_confirmPrimary",
788
+ "modalLink": "BiQ1zG_modalLink",
789
+ "queueSection": "BiQ1zG_queueSection",
798
790
  "noticeList": "BiQ1zG_noticeList",
799
- "noticeTextFail": "BiQ1zG_noticeTextFail",
791
+ "modalCmd": "BiQ1zG_modalCmd",
792
+ "pendingRowActions": "BiQ1zG_pendingRowActions",
793
+ "modalDesc": "BiQ1zG_modalDesc",
794
+ "modalActions": "BiQ1zG_modalActions",
795
+ "resultRestarting": "BiQ1zG_resultRestarting",
796
+ "failClear": "BiQ1zG_failClear",
797
+ "confirmIcon": "BiQ1zG_confirmIcon",
798
+ "failedCopyHint": "BiQ1zG_failedCopyHint",
799
+ "detailStars": "BiQ1zG_detailStars",
800
+ "errorCopySoft": "BiQ1zG_errorCopySoft",
801
+ "queuedHint": "BiQ1zG_queuedHint",
802
+ "failCopy": "BiQ1zG_failCopy",
803
+ "noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
804
+ "dangerConfirm": "BiQ1zG_dangerConfirm",
800
805
  "modalTitle": "BiQ1zG_modalTitle",
801
- "noticeHead": "BiQ1zG_noticeHead",
802
- "restartNow": "BiQ1zG_restartNow",
803
- "failRepo": "BiQ1zG_failRepo",
804
- "detailValue": "BiQ1zG_detailValue",
805
- "detailPathActions": "BiQ1zG_detailPathActions",
806
- "detailStatusText": "BiQ1zG_detailStatusText",
807
- "errorHint": "BiQ1zG_errorHint",
806
+ "modalTitleBusy": "BiQ1zG_modalTitleBusy",
807
+ "modalClose": "BiQ1zG_modalClose",
808
+ "modalLabel": "BiQ1zG_modalLabel",
809
+ "failNetworkTarget": "BiQ1zG_failNetworkTarget",
810
+ "resultDesc": "BiQ1zG_resultDesc",
811
+ "detailPathBtn": "BiQ1zG_detailPathBtn",
812
+ "errorTitle": "BiQ1zG_errorTitle",
813
+ "modalCopy": "BiQ1zG_modalCopy",
814
+ "toastFail": "BiQ1zG_toastFail",
815
+ "modalHead": "BiQ1zG_modalHead",
816
+ "progressFill": "BiQ1zG_progressFill",
808
817
  "helpModal": "BiQ1zG_helpModal",
818
+ "confirmIconWrap": "BiQ1zG_confirmIconWrap",
819
+ "restartNowWarning": "BiQ1zG_restartNowWarning",
820
+ "detailArrow": "BiQ1zG_detailArrow",
809
821
  "modalCancel": "BiQ1zG_modalCancel",
810
- "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
811
- "queueRowHead": "BiQ1zG_queueRowHead",
812
- "dangerConfirm": "BiQ1zG_dangerConfirm",
822
+ "queueRowTarget": "BiQ1zG_queueRowTarget",
823
+ "detailMono": "BiQ1zG_detailMono",
824
+ "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
825
+ "noticeFoot": "BiQ1zG_noticeFoot",
826
+ "detailDim": "BiQ1zG_detailDim",
827
+ "failRepo": "BiQ1zG_failRepo",
813
828
  "queueRowTrack": "BiQ1zG_queueRowTrack",
814
- "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
815
- "detailRow": "BiQ1zG_detailRow",
816
- "detailArrow": "BiQ1zG_detailArrow",
817
829
  "overlayIn": "BiQ1zG_overlayIn",
818
- "modalWide": "BiQ1zG_modalWide",
819
- "detailPath": "BiQ1zG_detailPath",
820
- "errorModal": "BiQ1zG_errorModal",
821
- "restartNowWarning": "BiQ1zG_restartNowWarning",
822
- "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
823
- "modalTitleBusy": "BiQ1zG_modalTitleBusy",
824
- "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
825
- "toast": "BiQ1zG_toast",
826
- "detailStatusPending": "BiQ1zG_detailStatusPending",
827
- "failList": "BiQ1zG_failList",
828
- "noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
829
- "result": "BiQ1zG_result",
830
- "detailPathText": "BiQ1zG_detailPathText",
831
- "failBigIssue": "BiQ1zG_failBigIssue",
830
+ "detailStatusText": "BiQ1zG_detailStatusText",
831
+ "detailGrid": "BiQ1zG_detailGrid",
832
+ "modalValue": "BiQ1zG_modalValue",
833
+ "restartLater": "BiQ1zG_restartLater",
832
834
  "detailLink": "BiQ1zG_detailLink",
833
- "failCopy": "BiQ1zG_failCopy",
834
- "pendingRowActions": "BiQ1zG_pendingRowActions",
835
- "noticeVersion": "BiQ1zG_noticeVersion",
836
- "aboutContent": "BiQ1zG_aboutContent",
837
- "noticeIgnore": "BiQ1zG_noticeIgnore",
838
- "confirmIcon": "BiQ1zG_confirmIcon",
839
- "detailStars": "BiQ1zG_detailStars",
840
- "progressHead": "BiQ1zG_progressHead",
841
- "failNetworkTarget": "BiQ1zG_failNetworkTarget",
842
- "modalCmd": "BiQ1zG_modalCmd",
843
- "resultCheckIcon": "BiQ1zG_resultCheckIcon",
835
+ "modalInstall": "BiQ1zG_modalInstall",
836
+ "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
837
+ "detailLabel": "BiQ1zG_detailLabel",
838
+ "queueRowDesc": "BiQ1zG_queueRowDesc",
839
+ "detailStatusPending": "BiQ1zG_detailStatusPending",
844
840
  "aboutMeta": "BiQ1zG_aboutMeta",
845
- "detailGrid": "BiQ1zG_detailGrid",
841
+ "errorModal": "BiQ1zG_errorModal",
846
842
  "pendingRowStatus": "BiQ1zG_pendingRowStatus",
847
- "modalDesc": "BiQ1zG_modalDesc",
848
- "detailLabel": "BiQ1zG_detailLabel",
849
- "modalCopy": "BiQ1zG_modalCopy",
850
- "stripCancel": "BiQ1zG_stripCancel",
851
- "modalClose": "BiQ1zG_modalClose",
852
- "progress": "BiQ1zG_progress",
853
- "modalBody": "BiQ1zG_modalBody",
854
- "failRow": "BiQ1zG_failRow",
855
- "confirmIconWrap": "BiQ1zG_confirmIconWrap",
856
- "resultDesc": "BiQ1zG_resultDesc",
857
- "confirmIconDanger": "BiQ1zG_confirmIconDanger",
858
- "cliOnlyHint": "BiQ1zG_cliOnlyHint",
859
- "detailPathBtn": "BiQ1zG_detailPathBtn",
860
- "failClear": "BiQ1zG_failClear",
861
- "toastIn": "BiQ1zG_toastIn",
862
- "toastFail": "BiQ1zG_toastFail",
863
- "detailStatusRunning": "BiQ1zG_detailStatusRunning",
843
+ "modalCmdText": "BiQ1zG_modalCmdText",
844
+ "noticeTextOk": "BiQ1zG_noticeTextOk",
845
+ "noticeMain": "BiQ1zG_noticeMain",
846
+ "noticeRowOk": "BiQ1zG_noticeRowOk",
847
+ "failKindUninstall": "BiQ1zG_failKindUninstall",
848
+ "detailRow": "BiQ1zG_detailRow",
849
+ "noticeHead": "BiQ1zG_noticeHead",
850
+ "modalTitleQueued": "BiQ1zG_modalTitleQueued",
851
+ "detailValue": "BiQ1zG_detailValue",
852
+ "errorBox": "BiQ1zG_errorBox",
853
+ "uninstallConfirm": "BiQ1zG_uninstallConfirm",
854
+ "aboutContent": "BiQ1zG_aboutContent",
864
855
  "overlay": "BiQ1zG_overlay",
865
- "queueRowDesc": "BiQ1zG_queueRowDesc",
866
- "queueSectionTitle": "BiQ1zG_queueSectionTitle",
856
+ "noticeTime": "BiQ1zG_noticeTime",
867
857
  "queueRowPct": "BiQ1zG_queueRowPct",
868
- "modalLink": "BiQ1zG_modalLink",
869
- "failHead": "BiQ1zG_failHead",
870
- "modalActions": "BiQ1zG_modalActions",
871
- "modalValue": "BiQ1zG_modalValue",
872
- "detailDim": "BiQ1zG_detailDim",
873
- "detailModal": "BiQ1zG_detailModal",
874
- "logModal": "BiQ1zG_logModal",
875
- "noticeTextOk": "BiQ1zG_noticeTextOk",
858
+ "noticeRowMain": "BiQ1zG_noticeRowMain",
859
+ "progressFillFail": "BiQ1zG_progressFillFail",
860
+ "modalCloseIcon": "BiQ1zG_modalCloseIcon",
861
+ "noticeRemove": "BiQ1zG_noticeRemove",
876
862
  "progressTrack": "BiQ1zG_progressTrack",
877
- "queueRow": "BiQ1zG_queueRow",
863
+ "logModal": "BiQ1zG_logModal",
864
+ "detailPathActions": "BiQ1zG_detailPathActions",
865
+ "failPrepareHint": "BiQ1zG_failPrepareHint",
866
+ "queueRowHead": "BiQ1zG_queueRowHead",
867
+ "noticeVersion": "BiQ1zG_noticeVersion",
868
+ "restartNow": "BiQ1zG_restartNow",
869
+ "toastIn": "BiQ1zG_toastIn",
878
870
  "aboutModal": "BiQ1zG_aboutModal",
879
- "queueRowTarget": "BiQ1zG_queueRowTarget",
880
- "noticeRowOk": "BiQ1zG_noticeRowOk",
881
- "modalInstall": "BiQ1zG_modalInstall",
882
- "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
883
- "failedCopyHint": "BiQ1zG_failedCopyHint",
884
- "progressFillFail": "BiQ1zG_progressFillFail",
885
871
  "failKind": "BiQ1zG_failKind",
886
- "linkIcon": "BiQ1zG_linkIcon",
872
+ "detailUpdateHint": "BiQ1zG_detailUpdateHint",
873
+ "queueSectionTitle": "BiQ1zG_queueSectionTitle",
874
+ "cliOnlyHint": "BiQ1zG_cliOnlyHint",
875
+ "modalIn": "BiQ1zG_modalIn",
887
876
  "failEmpty": "BiQ1zG_failEmpty",
888
- "errorBox": "BiQ1zG_errorBox",
889
- "queuedHint": "BiQ1zG_queuedHint",
890
- "modalHead": "BiQ1zG_modalHead"
877
+ "result": "BiQ1zG_result",
878
+ "failDiagBtn": "BiQ1zG_failDiagBtn",
879
+ "queueRowBody": "BiQ1zG_queueRowBody",
880
+ "confirmIconDanger": "BiQ1zG_confirmIconDanger",
881
+ "failHead": "BiQ1zG_failHead",
882
+ "trustHint": "BiQ1zG_trustHint",
883
+ "noticeTextFail": "BiQ1zG_noticeTextFail",
884
+ "failBigIssue": "BiQ1zG_failBigIssue",
885
+ "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
886
+ "modalBody": "BiQ1zG_modalBody",
887
+ "failList": "BiQ1zG_failList",
888
+ "detailStatusRunning": "BiQ1zG_detailStatusRunning",
889
+ "noticeIgnore": "BiQ1zG_noticeIgnore",
890
+ "progressHead": "BiQ1zG_progressHead"
891
891
  };
892
892
  //#endregion
893
893
  //#region src/server/services/install/release-target.ts
@@ -999,7 +999,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
999
999
  * tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
1000
1000
  * node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
1001
1001
  */
1002
- const PLUGIN_VERSION = "1.5.1";
1002
+ const PLUGIN_VERSION = "1.5.2";
1003
1003
  const CATEGORY_ORDER = [
1004
1004
  "interface",
1005
1005
  "session",
@@ -1636,7 +1636,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
1636
1636
  */
1637
1637
  const hubHasUpdate = (() => {
1638
1638
  if (!hubUpdateInfo) return false;
1639
- if (hubUpdateInfo.version === "1.5.1") return false;
1639
+ if (hubUpdateInfo.version === "1.5.2") return false;
1640
1640
  const publishedAt = hubUpdateInfo.publishedAt;
1641
1641
  if (publishedAt) {
1642
1642
  const publishedMs = Date.parse(publishedAt);
@@ -4257,41 +4257,41 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4257
4257
  tagId: tagId$9,
4258
4258
  css: css$9
4259
4259
  });
4260
- var List_module_css_default = {
4261
- "versionBadge": "_3XaZHa_versionBadge",
4262
- "desc": "_3XaZHa_desc",
4263
- "body": "_3XaZHa_body",
4264
- "cardHead": "_3XaZHa_cardHead",
4265
- "cardTitle": "_3XaZHa_cardTitle",
4266
- "verified": "_3XaZHa_verified",
4267
- "fork": "_3XaZHa_fork",
4268
- "stats": "_3XaZHa_stats",
4269
- "moreSentinel": "_3XaZHa_moreSentinel",
4270
- "updateBadge": "_3XaZHa_updateBadge",
4271
- "star": "_3XaZHa_star",
4272
- "diagBtn": "_3XaZHa_diagBtn",
4273
- "list": "_3XaZHa_list",
4274
- "stateDesc": "_3XaZHa_stateDesc",
4275
- "uninstallBtn": "_3XaZHa_uninstallBtn",
4276
- "date": "_3XaZHa_date",
4277
- "topic": "_3XaZHa_topic",
4278
- "installBtnInstalled": "_3XaZHa_installBtnInstalled",
4279
- "cardSide": "_3XaZHa_cardSide",
4280
- "stateTitle": "_3XaZHa_stateTitle",
4281
- "state": "_3XaZHa_state",
4260
+ var List_module_css_default = {
4261
+ "body": "_3XaZHa_body",
4282
4262
  "stateActions": "_3XaZHa_stateActions",
4283
- "detailBtn": "_3XaZHa_detailBtn",
4284
- "cardMain": "_3XaZHa_cardMain",
4263
+ "list": "_3XaZHa_list",
4285
4264
  "footer": "_3XaZHa_footer",
4265
+ "topics": "_3XaZHa_topics",
4266
+ "fork": "_3XaZHa_fork",
4267
+ "desc": "_3XaZHa_desc",
4268
+ "cardMain": "_3XaZHa_cardMain",
4269
+ "updateBadge": "_3XaZHa_updateBadge",
4270
+ "actions": "_3XaZHa_actions",
4271
+ "cardHead": "_3XaZHa_cardHead",
4272
+ "uninstallBtn": "_3XaZHa_uninstallBtn",
4286
4273
  "categoryBadge": "_3XaZHa_categoryBadge",
4274
+ "diagBtn": "_3XaZHa_diagBtn",
4287
4275
  "installBtn": "_3XaZHa_installBtn",
4288
4276
  "installBtnUpdate": "_3XaZHa_installBtnUpdate",
4289
- "installBtnCopied": "_3XaZHa_installBtnCopied",
4290
- "actions": "_3XaZHa_actions",
4277
+ "card": "_3XaZHa_card",
4278
+ "stateDesc": "_3XaZHa_stateDesc",
4279
+ "stats": "_3XaZHa_stats",
4280
+ "moreSentinel": "_3XaZHa_moreSentinel",
4281
+ "topic": "_3XaZHa_topic",
4282
+ "cardSide": "_3XaZHa_cardSide",
4283
+ "date": "_3XaZHa_date",
4284
+ "stateTitle": "_3XaZHa_stateTitle",
4291
4285
  "retryBtn": "_3XaZHa_retryBtn",
4286
+ "verified": "_3XaZHa_verified",
4287
+ "detailBtn": "_3XaZHa_detailBtn",
4288
+ "state": "_3XaZHa_state",
4289
+ "cardTitle": "_3XaZHa_cardTitle",
4290
+ "versionBadge": "_3XaZHa_versionBadge",
4291
+ "installBtnInstalled": "_3XaZHa_installBtnInstalled",
4292
4292
  "footLink": "_3XaZHa_footLink",
4293
- "topics": "_3XaZHa_topics",
4294
- "card": "_3XaZHa_card"
4293
+ "star": "_3XaZHa_star",
4294
+ "installBtnCopied": "_3XaZHa_installBtnCopied"
4295
4295
  };
4296
4296
  //#endregion
4297
4297
  //#region src/client/hooks/useIncrementalList.ts
@@ -4498,15 +4498,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4498
4498
  css: css$8
4499
4499
  });
4500
4500
  var SectionTabs_module_css_default = {
4501
+ "tabCountActive": "_7tvizq_tabCountActive",
4502
+ "tabActive": "_7tvizq_tabActive",
4501
4503
  "noticeIcon": "_7tvizq_noticeIcon",
4502
4504
  "root": "_7tvizq_root",
4503
- "noticeBtn": "_7tvizq_noticeBtn",
4504
- "tabActive": "_7tvizq_tabActive",
4505
- "tabCountActive": "_7tvizq_tabCountActive",
4506
- "noticeCount": "_7tvizq_noticeCount",
4507
4505
  "tabCount": "_7tvizq_tabCount",
4508
- "tab": "_7tvizq_tab",
4509
- "tabIcon": "_7tvizq_tabIcon"
4506
+ "noticeCount": "_7tvizq_noticeCount",
4507
+ "tabIcon": "_7tvizq_tabIcon",
4508
+ "noticeBtn": "_7tvizq_noticeBtn",
4509
+ "tab": "_7tvizq_tab"
4510
4510
  };
4511
4511
  //#endregion
4512
4512
  //#region src/client/components/layout/SectionTabs.tsx
@@ -4583,42 +4583,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4583
4583
  css: css$7
4584
4584
  });
4585
4585
  var InstalledView_module_css_default = {
4586
+ "root": "_1nXeGW_root",
4587
+ "rowRestart": "_1nXeGW_rowRestart",
4588
+ "rowUninstall": "_1nXeGW_rowUninstall",
4589
+ "exampleBadge": "_1nXeGW_exampleBadge",
4586
4590
  "segBtn": "_1nXeGW_segBtn",
4587
- "rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
4588
- "rowActions": "_1nXeGW_rowActions",
4589
- "rowMain": "_1nXeGW_rowMain",
4590
- "segGroup": "_1nXeGW_segGroup",
4591
- "list": "_1nXeGW_list",
4592
- "statusInactive": "_1nXeGW_statusInactive",
4593
- "statusPending": "_1nXeGW_statusPending",
4591
+ "emptyTitle": "_1nXeGW_emptyTitle",
4594
4592
  "versionBadge": "_1nXeGW_versionBadge",
4595
- "row": "_1nXeGW_row",
4596
- "statusDot": "_1nXeGW_statusDot",
4597
- "rowCategory": "_1nXeGW_rowCategory",
4598
- "segRow": "_1nXeGW_segRow",
4599
- "searchInput": "_1nXeGW_searchInput",
4600
4593
  "segBtnActive": "_1nXeGW_segBtnActive",
4601
- "rowRestart": "_1nXeGW_rowRestart",
4594
+ "rowDetail": "_1nXeGW_rowDetail",
4602
4595
  "segLabel": "_1nXeGW_segLabel",
4603
- "rowRepo": "_1nXeGW_rowRepo",
4604
- "rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
4605
- "emptyTitle": "_1nXeGW_emptyTitle",
4596
+ "searchWrap": "_1nXeGW_searchWrap",
4597
+ "segGroup": "_1nXeGW_segGroup",
4598
+ "rowActions": "_1nXeGW_rowActions",
4606
4599
  "updateBadge": "_1nXeGW_updateBadge",
4607
4600
  "rowMeta": "_1nXeGW_rowMeta",
4608
- "root": "_1nXeGW_root",
4609
- "searchWrap": "_1nXeGW_searchWrap",
4601
+ "segRow": "_1nXeGW_segRow",
4602
+ "row": "_1nXeGW_row",
4603
+ "rowRepo": "_1nXeGW_rowRepo",
4604
+ "empty": "_1nXeGW_empty",
4605
+ "statusDot": "_1nXeGW_statusDot",
4606
+ "statusPending": "_1nXeGW_statusPending",
4610
4607
  "exampleRow": "_1nXeGW_exampleRow",
4608
+ "rowCategory": "_1nXeGW_rowCategory",
4611
4609
  "rowTitle": "_1nXeGW_rowTitle",
4612
- "rowDetail": "_1nXeGW_rowDetail",
4610
+ "rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
4611
+ "rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
4612
+ "searchInput": "_1nXeGW_searchInput",
4613
4613
  "rowUpdate": "_1nXeGW_rowUpdate",
4614
- "emptyDesc": "_1nXeGW_emptyDesc",
4614
+ "rowSourceTag": "_1nXeGW_rowSourceTag",
4615
4615
  "rowTitleLine": "_1nXeGW_rowTitleLine",
4616
- "empty": "_1nXeGW_empty",
4617
- "toolbar": "_1nXeGW_toolbar",
4618
4616
  "rowDesc": "_1nXeGW_rowDesc",
4619
- "rowSourceTag": "_1nXeGW_rowSourceTag",
4620
- "exampleBadge": "_1nXeGW_exampleBadge",
4621
- "rowUninstall": "_1nXeGW_rowUninstall"
4617
+ "rowMain": "_1nXeGW_rowMain",
4618
+ "statusInactive": "_1nXeGW_statusInactive",
4619
+ "list": "_1nXeGW_list",
4620
+ "toolbar": "_1nXeGW_toolbar",
4621
+ "emptyDesc": "_1nXeGW_emptyDesc"
4622
4622
  };
4623
4623
  //#endregion
4624
4624
  //#region src/client/components/views/InstalledView.tsx
@@ -4864,28 +4864,28 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4864
4864
  css: css$6
4865
4865
  });
4866
4866
  var CustomInstallView_module_css_default = {
4867
- "channelOffBtn": "zISxCG_channelOffBtn",
4868
- "installInsertBtn": "zISxCG_installInsertBtn",
4869
- "installRow": "zISxCG_installRow",
4870
- "helpLine": "zISxCG_helpLine",
4871
- "installInput": "zISxCG_installInput",
4872
- "helpBody": "zISxCG_helpBody",
4873
- "installCardHead": "zISxCG_installCardHead",
4874
4867
  "installCard": "zISxCG_installCard",
4875
- "channelOffText": "zISxCG_channelOffText",
4876
- "desc": "zISxCG_desc",
4877
- "helpNote": "zISxCG_helpNote",
4878
- "installExample": "zISxCG_installExample",
4879
4868
  "installHelpBtn": "zISxCG_installHelpBtn",
4869
+ "installCardHead": "zISxCG_installCardHead",
4870
+ "installCardDisabled": "zISxCG_installCardDisabled",
4880
4871
  "installBtn": "zISxCG_installBtn",
4872
+ "installError": "zISxCG_installError",
4881
4873
  "installInputError": "zISxCG_installInputError",
4882
- "installCardDisabled": "zISxCG_installCardDisabled",
4883
- "channelOff": "zISxCG_channelOff",
4884
- "root": "zISxCG_root",
4874
+ "helpBody": "zISxCG_helpBody",
4875
+ "helpLine": "zISxCG_helpLine",
4876
+ "desc": "zISxCG_desc",
4885
4877
  "installLabel": "zISxCG_installLabel",
4878
+ "installExample": "zISxCG_installExample",
4879
+ "installRow": "zISxCG_installRow",
4880
+ "helpCmd": "zISxCG_helpCmd",
4886
4881
  "installCards": "zISxCG_installCards",
4887
- "installError": "zISxCG_installError",
4888
- "helpCmd": "zISxCG_helpCmd"
4882
+ "channelOffText": "zISxCG_channelOffText",
4883
+ "helpNote": "zISxCG_helpNote",
4884
+ "root": "zISxCG_root",
4885
+ "installInput": "zISxCG_installInput",
4886
+ "channelOff": "zISxCG_channelOff",
4887
+ "installInsertBtn": "zISxCG_installInsertBtn",
4888
+ "channelOffBtn": "zISxCG_channelOffBtn"
4889
4889
  };
4890
4890
  //#endregion
4891
4891
  //#region src/client/components/views/CustomInstallView.tsx
@@ -5175,30 +5175,30 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5175
5175
  css: css$5
5176
5176
  });
5177
5177
  var SettingsView_module_css_default = {
5178
- "root": "_506LLG_root",
5179
- "textInput": "_506LLG_textInput",
5180
- "pageTitle": "_506LLG_pageTitle",
5178
+ "content": "_506LLG_content",
5179
+ "sidebar": "_506LLG_sidebar",
5181
5180
  "pageDesc": "_506LLG_pageDesc",
5181
+ "navItem": "_506LLG_navItem",
5182
+ "settingRowStack": "_506LLG_settingRowStack",
5183
+ "navIcon": "_506LLG_navIcon",
5184
+ "resetBtn": "_506LLG_resetBtn",
5185
+ "settingControlStack": "_506LLG_settingControlStack",
5182
5186
  "settingDesc": "_506LLG_settingDesc",
5183
5187
  "settingRow": "_506LLG_settingRow",
5184
- "settingTitle": "_506LLG_settingTitle",
5185
- "controlDropdown": "_506LLG_controlDropdown",
5186
- "resetBtn": "_506LLG_resetBtn",
5187
- "navItemActive": "_506LLG_navItemActive",
5188
5188
  "settingLabel": "_506LLG_settingLabel",
5189
- "navIcon": "_506LLG_navIcon",
5190
- "sidebar": "_506LLG_sidebar",
5191
- "content": "_506LLG_content",
5189
+ "navItemActive": "_506LLG_navItemActive",
5192
5190
  "proxyControl": "_506LLG_proxyControl",
5193
- "proxyHintOk": "_506LLG_proxyHintOk",
5194
- "proxyHintFail": "_506LLG_proxyHintFail",
5195
- "navItem": "_506LLG_navItem",
5196
5191
  "settingControl": "_506LLG_settingControl",
5197
- "settingControlStack": "_506LLG_settingControlStack",
5198
- "card": "_506LLG_card",
5192
+ "controlDropdown": "_506LLG_controlDropdown",
5193
+ "pageHeader": "_506LLG_pageHeader",
5194
+ "root": "_506LLG_root",
5195
+ "pageTitle": "_506LLG_pageTitle",
5196
+ "textInput": "_506LLG_textInput",
5199
5197
  "proxyHint": "_506LLG_proxyHint",
5200
- "settingRowStack": "_506LLG_settingRowStack",
5201
- "pageHeader": "_506LLG_pageHeader"
5198
+ "proxyHintOk": "_506LLG_proxyHintOk",
5199
+ "settingTitle": "_506LLG_settingTitle",
5200
+ "proxyHintFail": "_506LLG_proxyHintFail",
5201
+ "card": "_506LLG_card"
5202
5202
  };
5203
5203
  //#endregion
5204
5204
  //#region \0dsh-css:src/client/styles/Dropdown.module.css.mjs
@@ -5217,18 +5217,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5217
5217
  css: css$4
5218
5218
  });
5219
5219
  var Dropdown_module_css_default = {
5220
- "dropdownCountActive": "B_Gxsq_dropdownCountActive",
5221
- "dropdownLabel": "B_Gxsq_dropdownLabel",
5222
- "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5223
- "dropdownFill": "B_Gxsq_dropdownFill",
5224
- "dropdownCount": "B_Gxsq_dropdownCount",
5225
5220
  "dropdownArrow": "B_Gxsq_dropdownArrow",
5226
- "dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
5227
- "dropdownItemActive": "B_Gxsq_dropdownItemActive",
5221
+ "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5228
5222
  "dropdownPanel": "B_Gxsq_dropdownPanel",
5223
+ "dropdownItemActive": "B_Gxsq_dropdownItemActive",
5224
+ "dropdownCountActive": "B_Gxsq_dropdownCountActive",
5229
5225
  "dropdown": "B_Gxsq_dropdown",
5230
5226
  "dropdownBtn": "B_Gxsq_dropdownBtn",
5231
- "dropdownItem": "B_Gxsq_dropdownItem"
5227
+ "dropdownLabel": "B_Gxsq_dropdownLabel",
5228
+ "dropdownItem": "B_Gxsq_dropdownItem",
5229
+ "dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
5230
+ "dropdownCount": "B_Gxsq_dropdownCount",
5231
+ "dropdownFill": "B_Gxsq_dropdownFill"
5232
5232
  };
5233
5233
  //#endregion
5234
5234
  //#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
@@ -5349,29 +5349,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5349
5349
  css: css$2
5350
5350
  });
5351
5351
  var DiagnosticsView_module_css_default = {
5352
+ "envDesc": "k9eRya_envDesc",
5352
5353
  "envCopyBtn": "k9eRya_envCopyBtn",
5353
- "headHint": "k9eRya_headHint",
5354
- "summaryRunning": "k9eRya_summaryRunning",
5355
5354
  "display": "k9eRya_display",
5355
+ "badgeOk": "k9eRya_badgeOk",
5356
5356
  "meta": "k9eRya_meta",
5357
- "name": "k9eRya_name",
5357
+ "badge": "k9eRya_badge",
5358
5358
  "runBtn": "k9eRya_runBtn",
5359
- "envRow": "k9eRya_envRow",
5359
+ "row": "k9eRya_row",
5360
5360
  "envLabel": "k9eRya_envLabel",
5361
- "badgeOk": "k9eRya_badgeOk",
5361
+ "envRow": "k9eRya_envRow",
5362
+ "headHint": "k9eRya_headHint",
5363
+ "name": "k9eRya_name",
5364
+ "summaryOk": "k9eRya_summaryOk",
5365
+ "summaryFail": "k9eRya_summaryFail",
5366
+ "badgeFail": "k9eRya_badgeFail",
5367
+ "badgeIdle": "k9eRya_badgeIdle",
5368
+ "summaryRunning": "k9eRya_summaryRunning",
5362
5369
  "envTitle": "k9eRya_envTitle",
5363
- "row": "k9eRya_row",
5364
5370
  "head": "k9eRya_head",
5365
- "badgeFail": "k9eRya_badgeFail",
5366
- "badge": "k9eRya_badge",
5367
- "diagPulse": "k9eRya_diagPulse",
5368
- "envDesc": "k9eRya_envDesc",
5369
- "panel": "k9eRya_panel",
5370
5371
  "badgeRunning": "k9eRya_badgeRunning",
5371
- "badgeIdle": "k9eRya_badgeIdle",
5372
- "summary": "k9eRya_summary",
5373
- "summaryOk": "k9eRya_summaryOk",
5374
- "summaryFail": "k9eRya_summaryFail"
5372
+ "panel": "k9eRya_panel",
5373
+ "diagPulse": "k9eRya_diagPulse",
5374
+ "summary": "k9eRya_summary"
5375
5375
  };
5376
5376
  //#endregion
5377
5377
  //#region src/client/components/views/DiagnosticsView.tsx
@@ -5549,57 +5549,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5549
5549
  css: css$1
5550
5550
  });
5551
5551
  var LogsView_module_css_default = {
5552
- "footCount": "_3j77BW_footCount",
5553
- "badgeDebug": "_3j77BW_badgeDebug",
5554
- "time": "_3j77BW_time",
5555
- "catBadge": "_3j77BW_catBadge",
5556
- "clearBtn": "_3j77BW_clearBtn",
5557
5552
  "empty": "_3j77BW_empty",
5558
- "actions": "_3j77BW_actions",
5559
- "filterBar": "_3j77BW_filterBar",
5560
- "pathDialogFoot": "_3j77BW_pathDialogFoot",
5561
- "head": "_3j77BW_head",
5562
- "headActions": "_3j77BW_headActions",
5563
- "panel": "_3j77BW_panel",
5564
- "list": "_3j77BW_list",
5565
- "pathText": "_3j77BW_pathText",
5566
- "pathDialog": "_3j77BW_pathDialog",
5553
+ "previewRow": "_3j77BW_previewRow",
5567
5554
  "message": "_3j77BW_message",
5568
- "pathRow": "_3j77BW_pathRow",
5569
- "event": "_3j77BW_event",
5570
- "filterChip": "_3j77BW_filterChip",
5571
- "search": "_3j77BW_search",
5555
+ "linkBtn": "_3j77BW_linkBtn",
5556
+ "filterBar": "_3j77BW_filterBar",
5572
5557
  "entry": "_3j77BW_entry",
5573
- "searchInput": "_3j77BW_searchInput",
5574
- "badgeSuccess": "_3j77BW_badgeSuccess",
5575
- "badgeError": "_3j77BW_badgeError",
5576
- "badgeWarn": "_3j77BW_badgeWarn",
5577
- "catUpdate": "_3j77BW_catUpdate",
5578
- "catDiagnostics": "_3j77BW_catDiagnostics",
5579
- "footActions": "_3j77BW_footActions",
5580
- "moreEnd": "_3j77BW_moreEnd",
5558
+ "headHint": "_3j77BW_headHint",
5559
+ "pathDialogRow": "_3j77BW_pathDialogRow",
5560
+ "pathDialogReset": "_3j77BW_pathDialogReset",
5561
+ "pathDialogFoot": "_3j77BW_pathDialogFoot",
5581
5562
  "foot": "_3j77BW_foot",
5563
+ "footFail": "_3j77BW_footFail",
5564
+ "pathLabel": "_3j77BW_pathLabel",
5582
5565
  "pathDraft": "_3j77BW_pathDraft",
5583
- "headHint": "_3j77BW_headHint",
5584
- "previewRow": "_3j77BW_previewRow",
5566
+ "footCount": "_3j77BW_footCount",
5567
+ "footActions": "_3j77BW_footActions",
5568
+ "badgeWarn": "_3j77BW_badgeWarn",
5585
5569
  "badgeInfo": "_3j77BW_badgeInfo",
5586
5570
  "filterChipActive": "_3j77BW_filterChipActive",
5587
- "footFail": "_3j77BW_footFail",
5588
- "catUninstall": "_3j77BW_catUninstall",
5589
5571
  "catSettings": "_3j77BW_catSettings",
5590
- "footPath": "_3j77BW_footPath",
5591
- "catSystem": "_3j77BW_catSystem",
5592
- "linkBtn": "_3j77BW_linkBtn",
5572
+ "pathDialogHint": "_3j77BW_pathDialogHint",
5573
+ "list": "_3j77BW_list",
5574
+ "head": "_3j77BW_head",
5575
+ "filterChip": "_3j77BW_filterChip",
5576
+ "badgeDebug": "_3j77BW_badgeDebug",
5577
+ "panel": "_3j77BW_panel",
5578
+ "pathRow": "_3j77BW_pathRow",
5593
5579
  "more": "_3j77BW_more",
5594
- "logList": "_3j77BW_logList",
5595
- "btn": "_3j77BW_btn",
5596
- "pathDialogRow": "_3j77BW_pathDialogRow",
5580
+ "footPath": "_3j77BW_footPath",
5597
5581
  "catInstall": "_3j77BW_catInstall",
5582
+ "catUninstall": "_3j77BW_catUninstall",
5583
+ "catUpdate": "_3j77BW_catUpdate",
5584
+ "clearBtn": "_3j77BW_clearBtn",
5598
5585
  "pathDialogDesc": "_3j77BW_pathDialogDesc",
5599
- "pathDialogHint": "_3j77BW_pathDialogHint",
5600
- "pathDialogReset": "_3j77BW_pathDialogReset",
5601
- "badge": "_3j77BW_badge",
5602
- "pathLabel": "_3j77BW_pathLabel"
5586
+ "catDiagnostics": "_3j77BW_catDiagnostics",
5587
+ "searchInput": "_3j77BW_searchInput",
5588
+ "headActions": "_3j77BW_headActions",
5589
+ "badgeSuccess": "_3j77BW_badgeSuccess",
5590
+ "catSystem": "_3j77BW_catSystem",
5591
+ "pathText": "_3j77BW_pathText",
5592
+ "catBadge": "_3j77BW_catBadge",
5593
+ "search": "_3j77BW_search",
5594
+ "btn": "_3j77BW_btn",
5595
+ "actions": "_3j77BW_actions",
5596
+ "event": "_3j77BW_event",
5597
+ "time": "_3j77BW_time",
5598
+ "pathDialog": "_3j77BW_pathDialog",
5599
+ "logList": "_3j77BW_logList",
5600
+ "moreEnd": "_3j77BW_moreEnd",
5601
+ "badgeError": "_3j77BW_badgeError",
5602
+ "badge": "_3j77BW_badge"
5603
5603
  };
5604
5604
  //#endregion
5605
5605
  //#region src/client/components/modals/LogsModal.tsx
@@ -6848,7 +6848,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
6848
6848
  openSection: settingsSection,
6849
6849
  onConsumedOpenSection: () => setSettingsSection(null)
6850
6850
  }), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
6851
- info: catalog.hubUpdateInfo ?? { version: "1.5.1" },
6851
+ info: catalog.hubUpdateInfo ?? { version: "1.5.2" },
6852
6852
  lang,
6853
6853
  t,
6854
6854
  hasUpdate: catalog.hubHasUpdate,
@@ -155,7 +155,16 @@ export function desktopCliBootstrap(entry) {
155
155
  if (marker === null)
156
156
  return null;
157
157
  const root = entry.slice(0, marker.index + marker[0].length);
158
- for (const candidate of [join(root, 'lib', 'desktop-cli.js'), join(root, 'dsh', 'lib', 'desktop-cli.js')]) {
158
+ const candidates = [
159
+ join(root, 'lib', 'desktop-cli.js'),
160
+ join(root, 'dsh', 'lib', 'desktop-cli.js'),
161
+ // DeepSeek Harness 0.2.x 的布局:宿主入口本身就是 @deepseek-ai/dsh-desktop-host/lib/index.js,
162
+ // 保留档 CLI 是它同目录的 cli.js(内部以 manageDesktopProfile 放行 desktop 档的插件管理)。
163
+ // 漏掉这个布局就会回退 PATH 上的 dsh,而 `dsh plugin --profile desktop …` 必被
164
+ // 「profile desktop is managed exclusively by the Electron application」拒绝 —— 桌面端全部安装失败。
165
+ join(dirname(entry), 'cli.js'),
166
+ ];
167
+ for (const candidate of candidates) {
159
168
  if (existsSync(candidate))
160
169
  return candidate;
161
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
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",
@@ -172,7 +172,16 @@ export function desktopCliBootstrap(entry: string): string | null {
172
172
  const marker = /[\\/]app\.asar(?=[\\/]|$)/i.exec(entry)
173
173
  if (marker === null) return null
174
174
  const root = entry.slice(0, marker.index + marker[0].length)
175
- for (const candidate of [join(root, 'lib', 'desktop-cli.js'), join(root, 'dsh', 'lib', 'desktop-cli.js')]) {
175
+ const candidates = [
176
+ join(root, 'lib', 'desktop-cli.js'),
177
+ join(root, 'dsh', 'lib', 'desktop-cli.js'),
178
+ // DeepSeek Harness 0.2.x 的布局:宿主入口本身就是 @deepseek-ai/dsh-desktop-host/lib/index.js,
179
+ // 保留档 CLI 是它同目录的 cli.js(内部以 manageDesktopProfile 放行 desktop 档的插件管理)。
180
+ // 漏掉这个布局就会回退 PATH 上的 dsh,而 `dsh plugin --profile desktop …` 必被
181
+ // 「profile desktop is managed exclusively by the Electron application」拒绝 —— 桌面端全部安装失败。
182
+ join(dirname(entry), 'cli.js'),
183
+ ]
184
+ for (const candidate of candidates) {
176
185
  if (existsSync(candidate)) return candidate
177
186
  }
178
187
  return null