dsh-plugin 2.1.0 → 2.2.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
@@ -331,6 +331,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
331
331
  failReason_buildToolchainMissing: "这个插件依赖需要在本机编译的原生模块,但找不到可用的编译器。",
332
332
  failKind_pnpmStore: "pnpm store 版本不匹配",
333
333
  failReason_pnpmStore: "profile 里的依赖由另一大版本的 pnpm 生成,当前 pnpm 不认。",
334
+ failKind_pnpmVirtualStore: "profile 的依赖目录与当前 pnpm 配置不一致",
335
+ failReason_pnpmVirtualStore: "node_modules 是用另一套 virtual-store-dir-max-length 配置创建的,pnpm 拒绝复用。",
336
+ failPnpmVirtualStoreHint: "安装器调用 pnpm 时报「modules 目录由另一套 virtual-store-dir-max-length 配置创建」(ERR_PNPM_VIRTUAL_STORE_DIR_MAX_LENGTH_DIFF):profile 里的 node_modules 是在别的 pnpm 配置下生成的(常见于在 .npmrc 里改过 virtual-store-dir-max-length,或换过 pnpm 大版本),当前 pnpm 出于安全拒绝在它上面继续操作——所以这个 profile 里的安装/卸载都会失败。修复(任选其一,在 profile 目录 ~/.dsh/profiles/<profile> 下操作):① 先执行一次 pnpm install,让它按当前配置重建 modules 目录;② 删掉该目录下的 node_modules,下次安装/卸载会自动重建;③ 如果你在 .npmrc 里设过 virtual-store-dir-max-length,把它统一成同一个值(或删掉自定义、回到默认)。这不是插件本身的问题。",
334
337
  failKind_pnpmWorkspace: "workspace 根校验阻止了安装",
335
338
  failReason_pnpmWorkspace: "profile 被当作 workspace 根,但没有声明根操作,pnpm 中止了安装。",
336
339
  failKind_originRejected: "本地服务的来源校验未通过",
@@ -347,6 +350,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
347
350
  failReason_registryVersionStale: "实际安装用的源还没同步到这个版本,或版本号写错。",
348
351
  failKind_registryAuth: "npm 源拒绝了访问",
349
352
  failReason_registryAuth: "registry 返回 401/403:这个源需要登录凭据,或当前网络不被允许。",
353
+ failKind_profileExclusive: "profile 由桌面应用独占管理",
354
+ failReason_profileExclusive: "命令行 dsh 无权管理桌面应用的 profile,安装前就被宿主拒绝。",
350
355
  failKind_pnpmLinkedDirMissing: "profile 里有失效的本地依赖",
351
356
  failReason_pnpmLinkedDirMissing: "有一条指向本机不存在目录的 link/file 依赖,pnpm 每次解析都卡住。",
352
357
  failKind_fileLocked: "文件被其他程序占用",
@@ -373,10 +378,20 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
373
378
  failReason_profileLock: "另一个 dsh 进程正在使用这个 profile。",
374
379
  failKind_hub: "出现未知错误",
375
380
  failReason_hub: "我们还没能识别这条报错,你可以一键反馈给我们。",
381
+ failKind_localEnv: "本机环境异常",
382
+ failReason_localEnv: "报错特征指向你的本机环境(系统错误码 / 证书代理 / 本地配置),没有发现插件侧原因。",
383
+ failKind_dshTooOld: "DSH 版本低于插件要求",
384
+ failReason_dshTooOld: "插件声明的最低 DSH 版本高于你当前运行的宿主版本。",
385
+ failDshTooOldHint: "插件「{pkg}」声明需要 DSH {floor} 或更高,而你当前运行的是 {current} —— 版本不够时装不上(或装上后无法正常加载),这不是插件本身的问题,也不是插件市场的误判。请先把 DeepSeek Harness 升级到 {floor} 以上,再回到插件中心重试。如果升级后仍然失败,把新的报错发给我们。",
386
+ failLocalEnvHint: "从日志能确认的只有一点:没有插件侧的失败证据;报错特征落在本机环境(系统调用错误码、证书/代理校验、本地配置文件损坏等),但还不足以精确到某一类。这类问题装别的插件同样会失败,不是插件本身的问题。请按顺序自查:① 点下面的「运行系统诊断」看本机检查项;② 确认 profile 目录(~/.dsh/profiles/<profile>)可写、磁盘有空间、杀毒软件没拦截;③ 若在用代理或公司镜像源,先临时切回官方源 https://registry.npmjs.org 重试;④ 完全退出 DeepSeek Harness 后重试。排查后仍然失败、且你确信环境没问题,再用下面的链接反馈给我们,并附上通知中心里复制的完整日志。",
376
387
  failRegistryVersionStaleHint: "安装器调用 pnpm 时报「找不到匹配的版本」(ERR_PNPM_NO_MATCHING_VERSION):要装的这个版本在实际执行安装的 npm 源里查不到。常见原因是你设置的 npmRegistry 与本机 ~/.npmrc 用的不是同一个源——官方源刚发布、镜像还没同步上来(快则几分钟、慢则几小时),也可能只是版本号写错了。这不是插件本身的问题。可在插件市场设置里把 npmRegistry 改成与本机 ~/.npmrc 一致(或反过来),或那一次显式走官方源(https://registry.npmjs.org)、改用离线包后重试;若该版本刚发布不久,等镜像同步后重试即可。",
377
388
  failRegistryAuthHint: "安装器访问 npm 源时被拒绝(HTTP 401/403):这个源需要登录凭据,或不允许当前网络/IP 访问。如果你在用公司或私有源,请先配好认证(npm login,或在 ~/.npmrc 写入 //{host}/:_authToken=…);如果不需要私有源,把 registry 换回官方源 https://registry.npmjs.org,或在插件市场设置里切换到公共镜像后重试。这不是插件本身的问题。",
378
389
  failRegistryAuthHintNoHost: "安装器访问 npm 源时被拒绝(HTTP 401/403):这个源需要登录凭据,或不允许当前网络/IP 访问。如果你在用公司或私有源,请先配好认证(npm login,或在 ~/.npmrc 写入 //<registry>/:_authToken=…);如果不需要私有源,把 registry 换回官方源 https://registry.npmjs.org,或在插件市场设置里切换到公共镜像后重试。这不是插件本身的问题。",
390
+ failProfileExclusiveHint: "profile「{profile}」由桌面应用独占管理,命令行 dsh 无权安装 —— 这不是插件本身的问题。请在 DeepSeek Harness 桌面应用的「设置 → 插件市场」里安装;或改用非桌面独占的 profile(例如 web)后重试。如果你就是在桌面应用内看到这条错误,请到插件市场的「通知」里打开这条失败记录点「复制」,把完整日志发给我们。",
391
+ failProfileExclusiveHintNoProfile: "当前 profile 由桌面应用独占管理,命令行 dsh 无权安装 —— 这不是插件本身的问题。请在 DeepSeek Harness 桌面应用的「设置 → 插件市场」里安装;或改用非桌面独占的 profile(例如 web)后重试。如果你就是在桌面应用内看到这条错误,请到插件市场的「通知」里打开这条失败记录点「复制」,把完整日志发给我们。",
392
+ failDesktopCliFallbackHint: "这次是安装器没找到桌面应用内置的 CLI 引导脚本、退回命令行 dsh 才被拒绝 —— 属于插件中心自身的问题,不是你的环境问题。点下面的按钮把完整日志发给我们,我们会补上路径推导。",
379
393
  failPnpmLinkedDirMissingHint: "安装器调用 pnpm 时报「要安装的目录不存在」(ERR_PNPM_LINKED_PKG_DIR_NOT_FOUND):你的 profile 里留着一条指向本机不存在目录的本地依赖(link: / file: 形式,例如用 dsh plugin add <本地路径> 装过开发中的插件,之后那个目录被删除或移动了)。pnpm 每次解析 profile 依赖都会先卡在它上面,因此任何插件都装不进来。这不是插件本身的问题——请在 profile 目录(~/.dsh/profiles/<profile>)的 package.json 里删除该本地依赖条目(同时删掉对应的 pnpm-lock.yaml 条目或整个锁文件),或把该目录恢复回原路径后重试。",
394
+ failLinkedDirTarget: "缺失的本地目录:{path}",
380
395
  failFileLockedHint: "安装过程中 pnpm 无法替换 profile 里的文件:有程序正占用着它(Windows 常见报错 os error 32「另一个程序正在使用此文件」)。通常是 DeepSeek Harness 自身或杀毒软件的实时扫描持有文件句柄。这不是插件本身的问题——请完全退出 DeepSeek Harness(Windows 可在任务管理器确认进程已结束,必要时临时关闭杀毒软件实时防护)后重试。",
381
396
  failAccessDeniedHint: "安装过程中 pnpm 写入 profile 里的文件被系统拒绝访问(Windows 常见报错 os error 5「拒绝访问」,英文为 Access is denied;Node 下的 EPERM / EACCES 同理)。常见原因是该文件或目录正被其他进程占用、文件带只读属性、目录权限受限,或杀毒软件实时防护拦截了写入——这与「文件正被占用」(os error 32)同属本机文件系统问题,任何插件装进该目录都会一样失败,不是插件本身的问题。请完全退出 DeepSeek Harness(Windows 可在任务管理器确认进程已结束,必要时临时关闭杀毒软件实时防护)后重试;若仍然失败,请检查 profile 目录及其文件是否被设为只读,并以管理员身份重新运行。",
382
397
  failFsUnavailableHint: "安装过程中 pnpm 无法把文件写进本机磁盘(这类报错与装哪个插件无关,任何插件装在同一目录都会失败,不是插件本身的问题)。请按报错对号入座:① 磁盘空间不足(ENOSPC / no space left on device,Windows 为 os error 112)——请清理 profile 所在磁盘的剩余空间后重试;② 磁盘或挂载点只读、带写保护(EROFS / read-only file system,Windows 为 os error 19)——请确认 profile 目录所在磁盘可写(外接盘/U 盘、带写保护的移动盘或只读挂载的分区都会触发),必要时把插件目录换到系统盘的可写位置;③ 进程可用的文件句柄被耗尽(EMFILE / ENFILE / too many open files)——请关闭占用大量文件的程序并重启 DeepSeek Harness 后重试。",
@@ -745,6 +760,9 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
745
760
  failReason_buildToolchainMissing: "A dependency of this plugin must be compiled locally, but no usable compiler was found.",
746
761
  failKind_pnpmStore: "pnpm store version mismatch",
747
762
  failReason_pnpmStore: "The profile dependencies were written by a different pnpm major, which the current pnpm does not accept.",
763
+ failKind_pnpmVirtualStore: "profile dependency directory does not match the current pnpm config",
764
+ failReason_pnpmVirtualStore: "node_modules was created with a different virtual-store-dir-max-length, so pnpm refuses to reuse it.",
765
+ failPnpmVirtualStoreHint: "pnpm reported that the modules directory was created with a different virtual-store-dir-max-length value (ERR_PNPM_VIRTUAL_STORE_DIR_MAX_LENGTH_DIFF): node_modules inside the profile was built under a different pnpm config (typically after editing virtual-store-dir-max-length in .npmrc, or switching pnpm majors), so the current pnpm refuses to operate on it — installs and removals in this profile will keep failing. Fix it (any one of these, run inside the profile directory ~/.dsh/profiles/<profile>): ① run pnpm install once so it recreates the modules directory with the current config; ② delete node_modules there — the next install/removal recreates it; ③ if you set virtual-store-dir-max-length in .npmrc, make it the same value everywhere (or drop the override and go back to the default). This is not a problem with the plugin itself.",
748
766
  failKind_pnpmWorkspace: "workspace-root check blocked the install",
749
767
  failReason_pnpmWorkspace: "The profile is treated as a workspace root without a root operation declared, so pnpm aborted.",
750
768
  failKind_originRejected: "request origin rejected by the local service",
@@ -761,6 +779,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
761
779
  failReason_registryVersionStale: "The registry that actually performs the install has not synced this version yet, or the version is mistyped.",
762
780
  failKind_registryAuth: "the npm registry rejected access",
763
781
  failReason_registryAuth: "The registry returned 401/403: it needs credentials, or the current network is not allowed.",
782
+ failKind_profileExclusive: "the profile is managed only by the desktop app",
783
+ failReason_profileExclusive: "The dsh CLI may not manage the desktop profile, so the host refused before installing.",
764
784
  failKind_pnpmLinkedDirMissing: "dangling local dependency in the profile",
765
785
  failReason_pnpmLinkedDirMissing: "A link/file dependency points at a directory that no longer exists, so pnpm stalls on it.",
766
786
  failKind_fileLocked: "a file is held by another program",
@@ -787,10 +807,20 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
787
807
  failReason_profileLock: "Another dsh process is using this profile right now.",
788
808
  failKind_hub: "unknown error",
789
809
  failReason_hub: "We could not identify this error yet — you can report it to us in one click.",
810
+ failKind_localEnv: "local environment failure",
811
+ failReason_localEnv: "The error points at your local environment (system error codes, certificates/proxy, or local config), and no plugin-side cause was found.",
812
+ failKind_dshTooOld: "DSH is older than the plugin requires",
813
+ failReason_dshTooOld: "The plugin declares a minimum DSH version that is newer than the host you are running.",
814
+ failDshTooOldHint: "The plugin \"{pkg}\" requires DSH {floor} or newer, but this host runs {current} — the install cannot succeed on an older host (or the plugin will not load properly). This is not a problem with the plugin itself, and not a mistake by the marketplace. Upgrade DeepSeek Harness to {floor} or newer, then retry from the Plugin Hub. If it still fails after upgrading, send us the new error.",
815
+ failLocalEnvHint: "The log only tells us one thing for sure: there is no evidence of a plugin-side failure — the signals point at your local environment (system call error codes, certificate/proxy validation, a broken local config file), but not precisely enough to name one. Any plugin would fail the same way on this machine, so it is not a problem with the plugin itself. Check in order: ① press \"Run diagnostics\" below; ② make sure the profile directory (~/.dsh/profiles/<profile>) is writable, the disk has free space, and antivirus is not blocking it; ③ if you use a proxy or a company mirror, switch back to the official registry (https://registry.npmjs.org) for one retry; ④ fully quit DeepSeek Harness and retry. If it still fails and you are sure your environment is fine, use the link below to report it with the full log copied from the Hub notifications.",
790
816
  failRegistryVersionStaleHint: "pnpm reported that no matching version was found (ERR_PNPM_NO_MATCHING_VERSION): the version being installed does not exist in the npm registry that actually performs the install. This usually means the npmRegistry configured in the hub differs from the source in your local ~/.npmrc — the official registry has published it but the mirror has not synced yet (it can take minutes to hours) — or the version number was simply mistyped. This is not a problem with the plugin itself. Align the hub's npmRegistry with your local ~/.npmrc (or the other way round), or explicitly use the official registry (https://registry.npmjs.org) for that one install, or use an offline package, then retry; if the version was published only recently, waiting for the mirror to sync is enough.",
791
817
  failRegistryAuthHint: "The installer was denied access to the npm registry (HTTP 401/403): that registry requires credentials, or it does not allow the current network/IP. If you are using a company or private registry, configure authentication first (npm login, or write //{host}/:_authToken=… into ~/.npmrc). If you do not need a private registry, point the registry back to the official one (https://registry.npmjs.org), or switch to a public mirror in the hub settings, then retry. This is not a problem with the plugin itself.",
792
818
  failRegistryAuthHintNoHost: "The installer was denied access to the npm registry (HTTP 401/403): that registry requires credentials, or it does not allow the current network/IP. If you are using a company or private registry, configure authentication first (npm login, or write //<registry>/:_authToken=… into ~/.npmrc). If you do not need a private registry, point the registry back to the official one (https://registry.npmjs.org), or switch to a public mirror in the hub settings, then retry. This is not a problem with the plugin itself.",
819
+ failProfileExclusiveHint: "Profile \"{profile}\" is managed exclusively by the desktop app, and the command-line dsh is not allowed to install into it — this is not a problem with the plugin itself. Install from \"Settings → Plugin Hub\" inside DeepSeek Harness Desktop, or retry with a profile that is not desktop-managed (for example web). If you hit this inside the desktop app, open the Hub notifications, select the failed record and press \"Copy\" so you can send us the full log.",
820
+ failProfileExclusiveHintNoProfile: "The current profile is managed exclusively by the desktop app, and the command-line dsh is not allowed to install into it — this is not a problem with the plugin itself. Install from \"Settings → Plugin Hub\" inside DeepSeek Harness Desktop, or retry with a profile that is not desktop-managed (for example web). If you hit this inside the desktop app, open the Hub notifications, select the failed record and press \"Copy\" so you can send us the full log.",
821
+ failDesktopCliFallbackHint: "This failed because the installer could not find the desktop app's bundled CLI bootstrap and fell back to the command-line dsh, which is then refused — that is a bug in the plugin hub, not your environment. Use the button below to send us the full log and we will fix the path detection.",
793
822
  failPnpmLinkedDirMissingHint: "pnpm reported that a directory it needs to install from does not exist (ERR_PNPM_LINKED_PKG_DIR_NOT_FOUND): your profile keeps a local dependency (a link: / file: entry, e.g. from `dsh plugin add <local path>`) whose target directory has since been deleted or moved. pnpm hits it every time it resolves profile dependencies, so no plugin can be installed into that profile. This is not a problem with the plugin itself. Remove that local dependency from package.json inside the profile directory (~/.dsh/profiles/<profile>) — along with its entry in pnpm-lock.yaml, or the lockfile itself — or restore the directory to its original path, then retry.",
823
+ failLinkedDirTarget: "Missing local directory: {path}",
794
824
  failFileLockedHint: "During install, pnpm could not replace a file inside the profile because another program is holding it (on Windows this shows as os error 32, \"the process cannot access the file because it is being used by another process\"). Usually DeepSeek Harness itself or a real-time antivirus scan holds the handle. This is not a problem with the plugin itself — fully quit DeepSeek Harness (on Windows, confirm in Task Manager that the process has ended, and temporarily disable real-time antivirus protection if needed), then retry.",
795
825
  failAccessDeniedHint: "During install, Windows denied pnpm access to a file inside the profile (this shows as os error 5, \"Access is denied\"; on Node the equivalent codes are EPERM / EACCES). Typical causes: the file or directory is held by another process, the file is marked read-only, the directory permissions are restricted, or a real-time antivirus scan blocked the write. This is the same class of local file-system problem as a locked file (os error 32) — no plugin can be installed into that directory, so it is not a problem with the plugin itself. Fully quit DeepSeek Harness (on Windows, confirm in Task Manager that the process has ended, and temporarily disable real-time antivirus protection if needed), then retry. If it still fails, check whether the profile directory or its files are read-only and run as administrator.",
796
826
  failFsUnavailableHint: "During install, pnpm could not write files to the local disk — this has nothing to do with which plugin you are installing: any plugin installed into the same directory would fail the same way, so it is not a problem with the plugin itself. Match the error you see: ① Out of space (ENOSPC / no space left on device, os error 112 on Windows) — free up space on the drive that holds the profile and retry. ② Read-only or write-protected volume (EROFS / read-only file system, os error 19 on Windows) — make sure the drive holding the profile directory is writable (external or USB drives, write-protected media, and read-only mounts all trigger this); move the plugin directory to a writable location on the system drive if needed. ③ File handles exhausted (EMFILE / ENFILE / too many open files) — close programs that hold many files open, restart DeepSeek Harness, then retry.",
@@ -854,42 +884,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
854
884
  css: css$11
855
885
  });
856
886
  var Header_module_css_default = {
857
- "headerRight": "qikqja_headerRight",
858
- "searchRow": "qikqja_searchRow",
859
- "controls": "qikqja_controls",
860
- "tagline": "qikqja_tagline",
861
- "logoIcon": "qikqja_logoIcon",
862
- "segBtn": "qikqja_segBtn",
863
- "tabCount": "qikqja_tabCount",
887
+ "aboutBtn": "qikqja_aboutBtn",
864
888
  "taglineLink": "qikqja_taglineLink",
865
- "segGroup": "qikqja_segGroup",
866
- "version": "qikqja_version",
867
- "adText": "qikqja_adText",
868
- "header": "qikqja_header",
869
- "tabs": "qikqja_tabs",
870
- "tab": "qikqja_tab",
889
+ "root": "qikqja_root",
890
+ "brandTitle": "qikqja_brandTitle",
891
+ "tagline": "qikqja_tagline",
871
892
  "hubUpdateBadge": "qikqja_hubUpdateBadge",
872
- "langBtn": "qikqja_langBtn",
873
- "headerTitleRow": "qikqja_headerTitleRow",
893
+ "header": "qikqja_header",
894
+ "controls": "qikqja_controls",
874
895
  "copyIcon": "qikqja_copyIcon",
875
- "search": "qikqja_search",
876
- "brandTitle": "qikqja_brandTitle",
877
- "tabActive": "qikqja_tabActive",
896
+ "segBtnActive": "qikqja_segBtnActive",
897
+ "headerTitleRow": "qikqja_headerTitleRow",
898
+ "langBtn": "qikqja_langBtn",
899
+ "segLabel": "qikqja_segLabel",
900
+ "tab": "qikqja_tab",
901
+ "resultCount": "qikqja_resultCount",
878
902
  "title": "qikqja_title",
879
- "adBanner": "qikqja_adBanner",
880
- "adBadge": "qikqja_adBadge",
903
+ "githubIcon": "qikqja_githubIcon",
904
+ "sortGroup": "qikqja_sortGroup",
905
+ "version": "qikqja_version",
906
+ "tabsRow": "qikqja_tabsRow",
907
+ "tabs": "qikqja_tabs",
908
+ "logoIcon": "qikqja_logoIcon",
909
+ "tabCount": "qikqja_tabCount",
881
910
  "githubLink": "qikqja_githubLink",
882
- "segBtnActive": "qikqja_segBtnActive",
883
- "versionBtn": "qikqja_versionBtn",
911
+ "segGroup": "qikqja_segGroup",
884
912
  "resultSeg": "qikqja_resultSeg",
913
+ "tabActive": "qikqja_tabActive",
914
+ "segBtn": "qikqja_segBtn",
885
915
  "adArrow": "qikqja_adArrow",
886
- "sortGroup": "qikqja_sortGroup",
887
- "githubIcon": "qikqja_githubIcon",
888
- "segLabel": "qikqja_segLabel",
889
- "tabsRow": "qikqja_tabsRow",
890
- "aboutBtn": "qikqja_aboutBtn",
891
- "resultCount": "qikqja_resultCount",
892
- "root": "qikqja_root"
916
+ "headerRight": "qikqja_headerRight",
917
+ "versionBtn": "qikqja_versionBtn",
918
+ "adText": "qikqja_adText",
919
+ "searchRow": "qikqja_searchRow",
920
+ "adBanner": "qikqja_adBanner",
921
+ "adBadge": "qikqja_adBadge",
922
+ "search": "qikqja_search"
893
923
  };
894
924
  //#endregion
895
925
  //#region \0dsh-css:src/client/styles/Modal.module.css.mjs
@@ -908,142 +938,142 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
908
938
  css: css$10
909
939
  });
910
940
  var Modal_module_css_default = {
911
- "modalCmdCopy": "BiQ1zG_modalCmdCopy",
912
- "noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
913
- "resultCheckIcon": "BiQ1zG_resultCheckIcon",
914
- "queueRowBody": "BiQ1zG_queueRowBody",
915
- "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
916
- "modalTitleQueued": "BiQ1zG_modalTitleQueued",
917
- "detailStatusRunning": "BiQ1zG_detailStatusRunning",
918
- "noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
919
- "toastIn": "BiQ1zG_toastIn",
920
- "errorTitle": "BiQ1zG_errorTitle",
921
- "restartNowWarning": "BiQ1zG_restartNowWarning",
922
- "failKindInstall": "BiQ1zG_failKindInstall",
923
- "modalClose": "BiQ1zG_modalClose",
924
- "queueRowDesc": "BiQ1zG_queueRowDesc",
925
- "modalActions": "BiQ1zG_modalActions",
926
- "toastFail": "BiQ1zG_toastFail",
927
- "restartLater": "BiQ1zG_restartLater",
928
- "modalDesc": "BiQ1zG_modalDesc",
929
- "modalCmdText": "BiQ1zG_modalCmdText",
930
- "detailPathText": "BiQ1zG_detailPathText",
931
- "detailStatusPending": "BiQ1zG_detailStatusPending",
932
- "aboutModal": "BiQ1zG_aboutModal",
933
- "failedCopyHint": "BiQ1zG_failedCopyHint",
934
- "aboutMeta": "BiQ1zG_aboutMeta",
935
- "errorHint": "BiQ1zG_errorHint",
936
- "detailLink": "BiQ1zG_detailLink",
937
- "modalIn": "BiQ1zG_modalIn",
938
- "noticeList": "BiQ1zG_noticeList",
939
- "helpModal": "BiQ1zG_helpModal",
940
- "trustHint": "BiQ1zG_trustHint",
941
- "queueRowPct": "BiQ1zG_queueRowPct",
942
- "progressText": "BiQ1zG_progressText",
943
- "detailDim": "BiQ1zG_detailDim",
944
- "queueSection": "BiQ1zG_queueSection",
945
- "modalLabel": "BiQ1zG_modalLabel",
946
- "noticeFoot": "BiQ1zG_noticeFoot",
947
- "modalLink": "BiQ1zG_modalLink",
941
+ "noticeRowOk": "BiQ1zG_noticeRowOk",
942
+ "detailGrid": "BiQ1zG_detailGrid",
943
+ "detailModal": "BiQ1zG_detailModal",
948
944
  "queueRow": "BiQ1zG_queueRow",
949
- "noticeTime": "BiQ1zG_noticeTime",
950
- "detailStars": "BiQ1zG_detailStars",
951
- "resultDesc": "BiQ1zG_resultDesc",
952
- "modalHead": "BiQ1zG_modalHead",
953
- "progressFill": "BiQ1zG_progressFill",
945
+ "detailMono": "BiQ1zG_detailMono",
946
+ "modalInstall": "BiQ1zG_modalInstall",
947
+ "failReason": "BiQ1zG_failReason",
954
948
  "failNetworkTarget": "BiQ1zG_failNetworkTarget",
955
- "failMisjudgeLink": "BiQ1zG_failMisjudgeLink",
956
- "bundleDeselectedHint": "BiQ1zG_bundleDeselectedHint",
957
- "detailPathActions": "BiQ1zG_detailPathActions",
958
- "toast": "BiQ1zG_toast",
959
- "linkIcon": "BiQ1zG_linkIcon",
960
- "modalRow": "BiQ1zG_modalRow",
961
- "detailValue": "BiQ1zG_detailValue",
962
- "progress": "BiQ1zG_progress",
963
- "modalBody": "BiQ1zG_modalBody",
964
- "resultTitle": "BiQ1zG_resultTitle",
965
949
  "noticeRemove": "BiQ1zG_noticeRemove",
966
- "modalInstall": "BiQ1zG_modalInstall",
967
- "overlay": "BiQ1zG_overlay",
968
- "queueRowTarget": "BiQ1zG_queueRowTarget",
969
- "noticeHead": "BiQ1zG_noticeHead",
970
- "uninstallConfirm": "BiQ1zG_uninstallConfirm",
971
- "modalCmd": "BiQ1zG_modalCmd",
972
- "failRepoLabel": "BiQ1zG_failRepoLabel",
950
+ "toast": "BiQ1zG_toast",
973
951
  "cliOnlyHint": "BiQ1zG_cliOnlyHint",
974
- "confirmIconDanger": "BiQ1zG_confirmIconDanger",
975
- "modalCancel": "BiQ1zG_modalCancel",
976
- "queueRowStatus": "BiQ1zG_queueRowStatus",
952
+ "noticeRowUpdate": "BiQ1zG_noticeRowUpdate",
953
+ "toastIn": "BiQ1zG_toastIn",
977
954
  "queuedHint": "BiQ1zG_queuedHint",
978
- "noticeVersion": "BiQ1zG_noticeVersion",
979
- "failKind": "BiQ1zG_failKind",
980
- "restartNow": "BiQ1zG_restartNow",
981
- "detailGrid": "BiQ1zG_detailGrid",
982
- "detailLabel": "BiQ1zG_detailLabel",
983
- "failPrepareHint": "BiQ1zG_failPrepareHint",
984
- "progressFillFail": "BiQ1zG_progressFillFail",
985
- "confirmIconWrap": "BiQ1zG_confirmIconWrap",
986
- "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
987
- "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
955
+ "modalBody": "BiQ1zG_modalBody",
956
+ "aboutContent": "BiQ1zG_aboutContent",
957
+ "failEmpty": "BiQ1zG_failEmpty",
958
+ "progressHead": "BiQ1zG_progressHead",
988
959
  "modalTitle": "BiQ1zG_modalTitle",
989
- "logModal": "BiQ1zG_logModal",
990
- "confirmPrimary": "BiQ1zG_confirmPrimary",
991
- "resultRestarting": "BiQ1zG_resultRestarting",
992
- "detailUpdateHint": "BiQ1zG_detailUpdateHint",
993
- "pendingRowActions": "BiQ1zG_pendingRowActions",
994
- "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
995
- "failBigIssue": "BiQ1zG_failBigIssue",
996
- "resultCheck": "BiQ1zG_resultCheck",
997
- "detailPathBtn": "BiQ1zG_detailPathBtn",
998
- "overlayIn": "BiQ1zG_overlayIn",
999
- "errorBox": "BiQ1zG_errorBox",
1000
- "noticeRowOk": "BiQ1zG_noticeRowOk",
1001
- "detailArrow": "BiQ1zG_detailArrow",
1002
- "detailStatusText": "BiQ1zG_detailStatusText",
1003
- "failClear": "BiQ1zG_failClear",
1004
- "detailRow": "BiQ1zG_detailRow",
1005
- "failList": "BiQ1zG_failList",
1006
- "noticeIgnore": "BiQ1zG_noticeIgnore",
1007
- "stripCancel": "BiQ1zG_stripCancel",
1008
- "modalValue": "BiQ1zG_modalValue",
1009
- "failRepo": "BiQ1zG_failRepo",
1010
- "queueSectionTitle": "BiQ1zG_queueSectionTitle",
960
+ "detailStatusRunning": "BiQ1zG_detailStatusRunning",
961
+ "detailStatusPending": "BiQ1zG_detailStatusPending",
962
+ "linkIcon": "BiQ1zG_linkIcon",
963
+ "queueRowDesc": "BiQ1zG_queueRowDesc",
964
+ "helpModal": "BiQ1zG_helpModal",
965
+ "noticeTime": "BiQ1zG_noticeTime",
966
+ "aboutModal": "BiQ1zG_aboutModal",
967
+ "uninstallConfirm": "BiQ1zG_uninstallConfirm",
968
+ "progressTrack": "BiQ1zG_progressTrack",
1011
969
  "noticeRow": "BiQ1zG_noticeRow",
1012
- "failEmpty": "BiQ1zG_failEmpty",
1013
- "modalWide": "BiQ1zG_modalWide",
1014
- "failHead": "BiQ1zG_failHead",
1015
- "result": "BiQ1zG_result",
1016
- "noticeRowMain": "BiQ1zG_noticeRowMain",
1017
- "failKindTitle": "BiQ1zG_failKindTitle",
1018
- "modalCloseIcon": "BiQ1zG_modalCloseIcon",
1019
- "noticeTextFail": "BiQ1zG_noticeTextFail",
1020
- "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
970
+ "resultCheckIcon": "BiQ1zG_resultCheckIcon",
971
+ "noticeTextOk": "BiQ1zG_noticeTextOk",
972
+ "detailDim": "BiQ1zG_detailDim",
973
+ "restartLater": "BiQ1zG_restartLater",
1021
974
  "confirmIcon": "BiQ1zG_confirmIcon",
975
+ "modalCmdCopy": "BiQ1zG_modalCmdCopy",
976
+ "progress": "BiQ1zG_progress",
977
+ "progressText": "BiQ1zG_progressText",
978
+ "failKind": "BiQ1zG_failKind",
1022
979
  "noticeMain": "BiQ1zG_noticeMain",
980
+ "dangerConfirm": "BiQ1zG_dangerConfirm",
981
+ "failMisjudgeLink": "BiQ1zG_failMisjudgeLink",
982
+ "detailStars": "BiQ1zG_detailStars",
983
+ "modalIn": "BiQ1zG_modalIn",
1023
984
  "failRepoUrl": "BiQ1zG_failRepoUrl",
1024
- "failReason": "BiQ1zG_failReason",
985
+ "modalCmd": "BiQ1zG_modalCmd",
986
+ "detailArrow": "BiQ1zG_detailArrow",
987
+ "modalTitleQueued": "BiQ1zG_modalTitleQueued",
988
+ "detailPathText": "BiQ1zG_detailPathText",
1025
989
  "failDiagBtn": "BiQ1zG_failDiagBtn",
1026
- "dangerConfirm": "BiQ1zG_dangerConfirm",
990
+ "queueRowPct": "BiQ1zG_queueRowPct",
991
+ "queueSectionTitle": "BiQ1zG_queueSectionTitle",
1027
992
  "modalTitleBusy": "BiQ1zG_modalTitleBusy",
1028
- "failCopy": "BiQ1zG_failCopy",
1029
- "progressTrack": "BiQ1zG_progressTrack",
1030
- "pendingRowStatus": "BiQ1zG_pendingRowStatus",
993
+ "failedCopyHint": "BiQ1zG_failedCopyHint",
994
+ "hubUpdateMetaItem": "BiQ1zG_hubUpdateMetaItem",
995
+ "failPrepareHint": "BiQ1zG_failPrepareHint",
996
+ "noticeTextFail": "BiQ1zG_noticeTextFail",
997
+ "modalValue": "BiQ1zG_modalValue",
998
+ "hubUpdateNotes": "BiQ1zG_hubUpdateNotes",
999
+ "bundleDeselectedHint": "BiQ1zG_bundleDeselectedHint",
1000
+ "modalClose": "BiQ1zG_modalClose",
1001
+ "queueRowStatus": "BiQ1zG_queueRowStatus",
1002
+ "resultRestarting": "BiQ1zG_resultRestarting",
1003
+ "failKindInstall": "BiQ1zG_failKindInstall",
1004
+ "hubUpdateModal": "BiQ1zG_hubUpdateModal",
1005
+ "detailUpdateHint": "BiQ1zG_detailUpdateHint",
1006
+ "detailRow": "BiQ1zG_detailRow",
1007
+ "queueRowBody": "BiQ1zG_queueRowBody",
1008
+ "detailLabel": "BiQ1zG_detailLabel",
1009
+ "confirmIconWrap": "BiQ1zG_confirmIconWrap",
1010
+ "detailLink": "BiQ1zG_detailLink",
1011
+ "noticeBadgeFail": "BiQ1zG_noticeBadgeFail",
1012
+ "failClear": "BiQ1zG_failClear",
1013
+ "modalHead": "BiQ1zG_modalHead",
1031
1014
  "detailPath": "BiQ1zG_detailPath",
1015
+ "toastFail": "BiQ1zG_toastFail",
1016
+ "hubUpdateMeta": "BiQ1zG_hubUpdateMeta",
1017
+ "progressFillFail": "BiQ1zG_progressFillFail",
1018
+ "queueSection": "BiQ1zG_queueSection",
1019
+ "result": "BiQ1zG_result",
1020
+ "queueRowHead": "BiQ1zG_queueRowHead",
1021
+ "modalCmdText": "BiQ1zG_modalCmdText",
1022
+ "restartNow": "BiQ1zG_restartNow",
1023
+ "failKindUninstall": "BiQ1zG_failKindUninstall",
1032
1024
  "errorModal": "BiQ1zG_errorModal",
1033
- "queueRowTrack": "BiQ1zG_queueRowTrack",
1034
- "progressHead": "BiQ1zG_progressHead",
1035
- "failRow": "BiQ1zG_failRow",
1036
- "aboutContent": "BiQ1zG_aboutContent",
1037
- "detailMono": "BiQ1zG_detailMono",
1038
- "noticeTextOk": "BiQ1zG_noticeTextOk",
1039
- "hubUpdateModal": "BiQ1zG_hubUpdateModal",
1025
+ "noticeBadgeOk": "BiQ1zG_noticeBadgeOk",
1026
+ "noticeBadgeIcon": "BiQ1zG_noticeBadgeIcon",
1027
+ "queueRowTarget": "BiQ1zG_queueRowTarget",
1028
+ "progressFill": "BiQ1zG_progressFill",
1029
+ "modalCloseIcon": "BiQ1zG_modalCloseIcon",
1030
+ "pendingRowStatus": "BiQ1zG_pendingRowStatus",
1040
1031
  "errorCopySoft": "BiQ1zG_errorCopySoft",
1041
- "detailModal": "BiQ1zG_detailModal",
1032
+ "detailPathActions": "BiQ1zG_detailPathActions",
1033
+ "restartNowWarning": "BiQ1zG_restartNowWarning",
1034
+ "noticeRowMain": "BiQ1zG_noticeRowMain",
1035
+ "pendingRowActions": "BiQ1zG_pendingRowActions",
1036
+ "aboutMeta": "BiQ1zG_aboutMeta",
1042
1037
  "modalCopy": "BiQ1zG_modalCopy",
1043
- "failKindUninstall": "BiQ1zG_failKindUninstall",
1044
- "queueRowHead": "BiQ1zG_queueRowHead",
1038
+ "noticeList": "BiQ1zG_noticeList",
1039
+ "resultCheck": "BiQ1zG_resultCheck",
1040
+ "modalDesc": "BiQ1zG_modalDesc",
1041
+ "noticeUpdateGo": "BiQ1zG_noticeUpdateGo",
1042
+ "modalLabel": "BiQ1zG_modalLabel",
1043
+ "failKindTitle": "BiQ1zG_failKindTitle",
1045
1044
  "modal": "BiQ1zG_modal",
1046
- "noticeRowUpdate": "BiQ1zG_noticeRowUpdate"
1045
+ "detailStatusText": "BiQ1zG_detailStatusText",
1046
+ "modalActions": "BiQ1zG_modalActions",
1047
+ "errorTitle": "BiQ1zG_errorTitle",
1048
+ "confirmPrimary": "BiQ1zG_confirmPrimary",
1049
+ "modalRow": "BiQ1zG_modalRow",
1050
+ "failHead": "BiQ1zG_failHead",
1051
+ "overlay": "BiQ1zG_overlay",
1052
+ "trustHint": "BiQ1zG_trustHint",
1053
+ "errorBox": "BiQ1zG_errorBox",
1054
+ "resultTitle": "BiQ1zG_resultTitle",
1055
+ "logModal": "BiQ1zG_logModal",
1056
+ "failRow": "BiQ1zG_failRow",
1057
+ "noticeIgnore": "BiQ1zG_noticeIgnore",
1058
+ "noticeVersion": "BiQ1zG_noticeVersion",
1059
+ "overlayIn": "BiQ1zG_overlayIn",
1060
+ "failRepo": "BiQ1zG_failRepo",
1061
+ "resultDesc": "BiQ1zG_resultDesc",
1062
+ "detailPathBtn": "BiQ1zG_detailPathBtn",
1063
+ "noticeHead": "BiQ1zG_noticeHead",
1064
+ "errorHint": "BiQ1zG_errorHint",
1065
+ "noticeFoot": "BiQ1zG_noticeFoot",
1066
+ "failCopy": "BiQ1zG_failCopy",
1067
+ "detailValue": "BiQ1zG_detailValue",
1068
+ "modalWide": "BiQ1zG_modalWide",
1069
+ "modalLink": "BiQ1zG_modalLink",
1070
+ "stripCancel": "BiQ1zG_stripCancel",
1071
+ "failRepoLabel": "BiQ1zG_failRepoLabel",
1072
+ "queueRowTrack": "BiQ1zG_queueRowTrack",
1073
+ "modalCancel": "BiQ1zG_modalCancel",
1074
+ "failBigIssue": "BiQ1zG_failBigIssue",
1075
+ "confirmIconDanger": "BiQ1zG_confirmIconDanger",
1076
+ "failList": "BiQ1zG_failList"
1047
1077
  };
1048
1078
  //#endregion
1049
1079
  //#region src/server/services/install/release-target.ts
@@ -1133,7 +1163,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
1133
1163
  * tsdown 构建时用 define 把 __PLUGIN_VERSION__ 替换成 package.json 的版本号;
1134
1164
  * node --test 直接 import 本模块时该标识符不存在,typeof 守卫兜底为空串。
1135
1165
  */
1136
- const PLUGIN_VERSION = "2.1.0";
1166
+ const PLUGIN_VERSION = "2.2.0";
1137
1167
  const CATEGORY_ORDER = [
1138
1168
  "interface",
1139
1169
  "session",
@@ -1934,7 +1964,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
1934
1964
  * registry 真实发布时间下发(同源),据此判断最准。门槛命中要单列成 `pending` 而不是
1935
1965
  * 落回「无更新」——回落会让弹窗在本机版本落后时谎称「已是最新」。
1936
1966
  */
1937
- const hubCurrentVersion = "2.1.0";
1967
+ const hubCurrentVersion = "2.2.0";
1938
1968
  const hubUpdateResult = hubUpdateInfo === null ? {
1939
1969
  state: "none",
1940
1970
  target: null
@@ -2182,11 +2212,13 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2182
2212
  */
2183
2213
  function classifyFailure(message) {
2184
2214
  if (/installation rejected:.*incompatible with dsh/i.test(message)) return "hostIncompatible";
2215
+ if (/is managed exclusively by the Electron application|managed exclusively by the desktop app/i.test(message)) return "profileExclusive";
2185
2216
  if (/\[npm-too-low\]|edgesOut/i.test(message)) return "npmTooOld";
2186
2217
  if (/\[pnpm-missing\]|pnpm not found|pnpm: command not found|spawn pnpm ENOENT|'pnpm' 不是内部或外部命令|"pnpm" 不是内部或外部命令|pnpm['"]?\s*is not recognized/i.test(message)) return "pnpmMissing";
2187
2218
  if (/\[git-missing\]|spawn git ENOENT|'git' 不是内部或外部命令|"git" 不是内部或外部命令|git['"]?\s*is not recognized|git: command not found/i.test(message)) return "gitMissing";
2188
2219
  if (/\[npm-missing\]|spawn npm ENOENT|'npm' 不是内部或外部命令|"npm" 不是内部或外部命令|npm['"]?\s*is not recognized|npm: command not found/i.test(message)) return "npmMissing";
2189
2220
  if (/\[dsh-missing\]|不是内部或外部命令|is not recognized as an internal or external command|command not found|spawn dsh ENOENT/i.test(message)) return "dshMissing";
2221
+ if (/ERR_PNPM_VIRTUAL_STORE_DIR_MAX_LENGTH_DIFF|virtual-store-dir-max-length/i.test(message)) return "pnpmVirtualStore";
2190
2222
  if (/ERR_PNPM_UNEXPECTED_(VIRTUAL_)?STORE|Unexpected (virtual )?store location/i.test(message)) return "pnpmStore";
2191
2223
  if (/ERR_PNPM_ADDING_TO_ROOT|add the dependency to the workspace root/i.test(message)) return "pnpmWorkspace";
2192
2224
  if (/(^|\n)untrusted origin\s*$/.test(message)) return "originRejected";
@@ -2197,13 +2229,13 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2197
2229
  if (/os error 112\b|os error 19\b|ERROR_DISK_FULL|ERROR_WRITE_PROTECT|\bENOSPC\b|\bEROFS\b|\bEMFILE\b|\bENFILE\b|no space left on device|read-only file system|too many open files/i.test(message)) return "fsUnavailable";
2198
2230
  if (/ERR_PNPM_IGNORED_BUILDS|Ignored build scripts:|ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED/i.test(message)) return "pnpmIgnoredBuild";
2199
2231
  if (/ERR_PNPM_FETCH_40[13]\b|\bE40[13]\b|(?:Unauthorized|Forbidden)\s*-\s*40[13]\b/i.test(message)) return "registryAuth";
2232
+ if (/ERR_PNPM_LINKED_PKG_DIR_NOT_FOUND|Could not install from .+ as it does not exist|pnpm:\s*ENOENT: no such file or directory,\s*(?:lstat|scandir|readlink)/i.test(message)) return "pnpmLinkedDirMissing";
2200
2233
  if (/\[network\]|ERR_PNPM_GIT_FETCH_FAILED|ETIMEDOUT|ECONNREFUSED|ECONNRESET|ENOTFOUND|EAI_AGAIN|EPIPE|EHOSTUNREACH|ENETUNREACH|UND_ERR_[A-Z0-9_]+|getaddrinfo|Could not connect|Could not resolve host|Network unreachable|Failed to connect|socket hang up|CERT_HAS_EXPIRED|SSL certificate problem|\bTLS\b|\bSSL\b|fetch failed|failed to fetch|\bGET https?:\/\/\S+\.tgz\s+error \([A-Za-z0-9_]+\)/i.test(message)) return "network";
2201
2234
  if (/\[request-timeout\]/i.test(message)) return "network";
2202
2235
  if (/\[packaging\]|entry file missing/i.test(message)) return "pluginPrepare";
2203
2236
  if (/\[registry-missing\]/i.test(message)) return "pluginMissingDep";
2204
2237
  if (/ERR_PNPM_FETCH_404|404 Not Found|Not Found - 404/i.test(message)) return "pnpmMissingDep";
2205
2238
  if (/\bERR_PNPM_NO_MATCHING_VERSION\b|\bETARGET\b|No matching version found/i.test(message)) return "registryVersionStale";
2206
- if (/\bERR_PNPM_LINKED_PKG_DIR_NOT_FOUND\b|Could not install from .+ as it does not exist/i.test(message)) return "pnpmLinkedDirMissing";
2207
2239
  if (/Unable to detect compiler type|gyp ERR!|Could not find any Visual Studio|No Xcode or CLT version detected|xcode-select|python(?:3)? is (?:not set|not found)|Could not find Python|\bmake: not found\b|\bgcc: not found\b|\bg\+\+: not found\b|\bMSB\d{4}\b/i.test(message)) return "buildToolchainMissing";
2208
2240
  if (/ERR_PNPM_PREPARE_PACKAGE|ELIFECYCLE|prepare-guard/i.test(message) || /Command failed/.test(message)) return "pluginPrepare";
2209
2241
  if (/plugin is not installed|plugin cannot be uninstalled here|already queued:|^already installed: \S+$/im.test(message)) return "hubState";
@@ -2211,8 +2243,15 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2211
2243
  if (/atomic-write: timed out waiting for the writer lock|timed out waiting for the writer lock/i.test(message)) return "profileLock";
2212
2244
  if (/git-hosted plugins build on install via their prepare script|add the exact key pnpm printed above under allowBuilds/i.test(message)) return "pnpmIgnoredBuild";
2213
2245
  if (/\[host-spawn\]/i.test(message)) return "hostCliSpawn";
2246
+ if (/\[dsh-too-old\]/i.test(message)) return "dshTooOld";
2247
+ if (/spawn .+ ENOENT/i.test(message)) return "hub";
2248
+ if (LOCAL_ENV_RE.test(message)) return "localEnv";
2214
2249
  return "hub";
2215
2250
  }
2251
+ /** 「特征指向本机环境但说不清具体哪一类」的兜底判据:系统调用错误码(权限/路径过长/设备异常)、
2252
+ * 证书与代理校验失败、本地配置文件(~/.npmrc、profile 的 package.json)损坏。
2253
+ * 只做排除用:命中它表示「不是插件侧问题」,不代表我们已经定位到原因。 */
2254
+ const LOCAL_ENV_RE = /os error \d{1,3}\b|ERROR_[A-Z_]{4,}|\bE(?:ACCES|PERM|NOENT|NAMETOOLONG|INVAL|PROTO|ISDIR|NOTDIR|EXIST|BADF|NOTEMPTY|JSONPARSE)\b|Unexpected token .{0,60}in JSON|SELF_SIGNED_CERT_IN_CHAIN|UNABLE_TO_VERIFY_LEAF_SIGNATURE|ERR_TLS_CERT_ALTNAME_INVALID|unable to verify the first certificate|self[- ]signed certificate|ERR_INVALID_URL|invalid registry|proxy authentication|407 Proxy/i;
2216
2255
  /** 从服务端 `[npm-too-low]` 标记行提取本机 npm 版本(如 `[npm-too-low] npm@11.3.0` → "11.3.0");
2217
2256
  * 历史记录无标记时返回 null,前端据此决定提示文案是否带具体版本。 */
2218
2257
  function npmTooLowVersion(message) {
@@ -2227,6 +2266,10 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2227
2266
  * 无关 —— 抓核心错误时必须跳过,否则会被 CORE_LINE_RE 的 `missing` 分支误抓、淹没真正的
2228
2267
  * 错误码(如 git 源的 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED),让 issue 正文只剩一堆 peer WARN。 */
2229
2268
  const PEER_WARN_RE = /missing peer|issues with peer dependencies|peer dependencies that should be installed/i;
2269
+ /** 安装器自己打的诊断标记行:它们本身就是「为什么没有日志 / 卡在哪一步」的证据,
2270
+ * 不含 CORE_LINE_RE 的关键词,必须无条件保留 —— 否则上报正文会退回成只剩宿主那句摘要,
2271
+ * 我们又拿不到任何可排查的信息(#382/#393 就是这样)。 */
2272
+ const MARKER_LINE_RE = /^\[(?:pnpm log|no-output|desktop-cli-fallback|dsh-too-old|host-spawn|npm-too-low|git-missing|npm-missing|pnpm-missing|dsh-missing|network|packaging|registry-missing|registry-mirror-lag|internal|exit\b|timed out)/i;
2230
2273
  /** 提交 issue 时正文里错误摘要的上限字符数。GitHub 请求行上限 8192 字节,
2231
2274
  * 固定模板与 URL 编码开销约 1~2K,核心错误(以 ASCII 日志为主)可安全带到 ~5K;
2232
2275
  * 仍超长时 pluginIssueUrl 会逐档缩小核心预算,最终 URL 不会超限。 */
@@ -2257,7 +2300,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2257
2300
  const core = [];
2258
2301
  for (const raw of message.split(/\r?\n/)) {
2259
2302
  const line = raw.trim();
2260
- if (!line || PEER_WARN_RE.test(line) || !CORE_LINE_RE.test(line)) continue;
2303
+ if (!line || PEER_WARN_RE.test(line)) continue;
2304
+ if (!MARKER_LINE_RE.test(line) && !CORE_LINE_RE.test(line)) continue;
2261
2305
  const short = line.length > MAX_LINE_CHARS ? `${line.slice(0, MAX_LINE_CHARS)}…` : line;
2262
2306
  if (!seen.has(short)) {
2263
2307
  seen.add(short);
@@ -2335,6 +2379,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2335
2379
  return PUBLIC_REGISTRY_HOSTS.has(host) ? null : host;
2336
2380
  }
2337
2381
  /**
2382
+ * 「本地依赖目录不存在」失败里缺失的路径:
2383
+ * `pnpm: ENOENT: no such file or directory, lstat '<path>'`
2384
+ * 或 `Could not install from "<path>" as it does not exist`。取不到返回 null。
2385
+ */
2386
+ function missingLocalDirOf(message) {
2387
+ const lstat = /ENOENT: no such file or directory,\s*(?:lstat|scandir|readlink)\s+'([^']+)'/i.exec(message);
2388
+ if (lstat !== null) return lstat[1];
2389
+ const quoted = /Could not install from\s+"([^"]+)"\s+as it does not exist/i.exec(message) ?? /Could not install from\s+'([^']+)'\s+as it does not exist/i.exec(message);
2390
+ return quoted === null ? null : quoted[1];
2391
+ }
2392
+ /**
2393
+ * 「profile 由桌面应用独占」错误里的 profile 名:
2394
+ * `error: profile "desktop" is managed exclusively by the Electron application`。
2395
+ * 取不到返回 null(提示文案退回通用说法)。
2396
+ */
2397
+ function exclusiveProfileOf(message) {
2398
+ const m = /profile\s+"?([A-Za-z0-9_-]+)"?\s+is managed exclusively/i.exec(message);
2399
+ return m === null ? null : m[1];
2400
+ }
2401
+ /**
2402
+ * 日志里有安装器的 `[desktop-cli-fallback]` 标记:没找到桌面应用内置的 CLI 引导脚本,
2403
+ * 退回 PATH 上的 dsh 才被「profile 独占」拒绝 —— 是我们的路径推导问题,不是用户环境问题。
2404
+ */
2405
+ function desktopCliFallbackOf(message) {
2406
+ return /\[desktop-cli-fallback\]/i.test(message);
2407
+ }
2408
+ /** `[dsh-too-old]` 标记里的三方信息(包名 / 插件要求的 DSH 下限 / 当前宿主版本);取不到返回 null。 */
2409
+ function dshTooOldInfoOf(message) {
2410
+ const m = /\[dsh-too-old\]\s*(\S+)\s+requires DSH >= (\S+).*?runs (\S+)/i.exec(message);
2411
+ return m === null ? null : {
2412
+ pkg: m[1],
2413
+ floor: m[2],
2414
+ current: m[3]
2415
+ };
2416
+ }
2417
+ /**
2338
2418
  * 鉴权失败(401/403)时被拒绝的源主机名:从 `ERR_PNPM_FETCH_401 GET https://host/pkg: Unauthorized - 401`
2339
2419
  * 里取,取不到返回 null(提示文案退回通用说法,不拼出残缺句子)。
2340
2420
  */
@@ -2377,6 +2457,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2377
2457
  case "dshMissing": return "dsh command not found on the user machine";
2378
2458
  case "pnpmMissing": return "pnpm command not found on the user machine";
2379
2459
  case "pnpmStore": return "pnpm store version mismatch on the user machine";
2460
+ case "pnpmVirtualStore": return "the profile modules directory was built with a different virtual-store-dir-max-length on the user machine";
2380
2461
  case "pnpmWorkspace": return `pnpm workspace-root check blocked the ${word} on the user machine`;
2381
2462
  case "originRejected": return "request origin rejected by the local service on the user machine";
2382
2463
  case "pnpmPolicy": return `pnpm supply-chain policy blocked the ${word} on the user machine`;
@@ -2384,6 +2465,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2384
2465
  case "pnpmMissingDep": return "dependency not found on the npm registry on the user machine";
2385
2466
  case "registryVersionStale": return `requested version not available on the npm registry in use on the user machine`;
2386
2467
  case "registryAuth": return `npm registry rejected the credentials for this ${word} on the user machine`;
2468
+ case "profileExclusive": return `the desktop profile is managed only by the Electron app, so the CLI refused the ${word}`;
2387
2469
  case "pnpmLinkedDirMissing": return "dangling local (link:) dependency in the user profile";
2388
2470
  case "fileLocked": return "file locked by another process on the user machine";
2389
2471
  case "accessDenied": return "file write access denied on the user machine";
@@ -2397,6 +2479,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2397
2479
  case "timeout": return `${word} timed out`;
2398
2480
  case "profileLock": return "DSH profile is locked by another process";
2399
2481
  case "pluginMissingDep": return "a dependency of the plugin is not published on npm";
2482
+ case "dshTooOld": return "the plugin requires a newer DSH than the host runs";
2483
+ case "localEnv": return `no plugin-side cause found — the failure points at the local environment for this ${word}`;
2400
2484
  case "hub": return `${word} failed (cause unclassified)`;
2401
2485
  default: return `plugin ${word} failed`;
2402
2486
  }
@@ -2415,7 +2499,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2415
2499
  const executed = executedCommandOf(command, attempts);
2416
2500
  const zhWord = actionWordZh(action);
2417
2501
  const title = `[dsh-plugin.org | dsh-plugin-hub] ${reasonTitleOf(kind, action)}: ${repo}`;
2418
- const reason = kind === "hostIncompatible" ? "the plugin declares a dsh compatibility range that does not include the runtime in use, so the host rejects it before installing anything; please extend the supported dsh versions or publish a compatible release" : /\[packaging\]/i.test(message) ? "plugin distribution is incomplete — a file the package needs (its entry from main / exports, an entry a bundled patch mounts, or the patch declared by dsh.bundle.patch) is missing from the published npm package; please publish a complete package" : /\[registry-missing\]/i.test(message) ? "a dependency declared by the plugin is not published on the public npm registry (missing, removed, or never released); please publish or correct that dependency, or ship it with the plugin" : kind === "network" ? "network connectivity issue on the user side (DNS, proxy, firewall, or a blocked connection)" : kind === "registryAuth" ? "the npm registry rejected the request with 401/403 — the configured registry needs credentials or blocks this network (local environment issue)" : kind === "pluginPrepare" ? "plugin prepare/build script failed during install (packaging/distribution issue)" : kind === "pnpmIgnoredBuild" ? "plugin depends on a native module whose build script pnpm blocks by default (use a prebuilt variant)" : kind === "originRejected" ? "the request never reached the install flow — the local service rejected its origin (local environment issue)" : kind === "pnpmPolicy" ? pnpmPolicyHintOf(message) === "failPnpmTarballIntegrityHint" ? "pnpm rejected a lockfile entry without tarball integrity; inspect and back up the profile lockfile before resolving it again, keeping integrity checks enabled" : "the pnpm supply-chain policy on the user machine blocked the install (minimum release age for freshly published packages / untrusted origin)" : kind === "pnpmUnusedPatch" ? "the profile keeps a pnpm patch entry for an older dsh-plugin version, so pnpm aborted the install (local config issue)" : kind === "fileLocked" ? "a file in the profile is locked by another process on the user machine (local environment issue)" : kind === "accessDenied" ? "the system denied write access to a file in the profile on the user machine (local environment issue)" : kind === "fsUnavailable" ? "the local file system could not accept the write — no space left, read-only volume, or too many open file handles on the user machine (local environment issue)" : "plugin-side install failure";
2502
+ const reason = kind === "hostIncompatible" ? "the plugin declares a dsh compatibility range that does not include the runtime in use, so the host rejects it before installing anything; please extend the supported dsh versions or publish a compatible release" : /\[packaging\]/i.test(message) ? "plugin distribution is incomplete — a file the package needs (its entry from main / exports, an entry a bundled patch mounts, or the patch declared by dsh.bundle.patch) is missing from the published npm package; please publish a complete package" : /\[registry-missing\]/i.test(message) ? "a dependency declared by the plugin is not published on the public npm registry (missing, removed, or never released); please publish or correct that dependency, or ship it with the plugin" : kind === "network" ? "network connectivity issue on the user side (DNS, proxy, firewall, or a blocked connection)" : kind === "localEnv" ? "no evidence of a plugin-side cause; the log shows local-environment signals (system error codes, certificates/proxy, or a broken local config), so this is reported for triage of the classifier only" : kind === "dshTooOld" ? "the plugin declares a minimum DSH version this host does not meet — upgrade DSH first (local environment issue)" : kind === "pnpmVirtualStore" ? "the profile node_modules was created with a different virtual-store-dir-max-length (or a different pnpm config), so pnpm refuses to reuse it (local environment issue)" : kind === "registryAuth" ? "the npm registry rejected the request with 401/403 — the configured registry needs credentials or blocks this network (local environment issue)" : kind === "profileExclusive" ? "the desktop profile can only be managed by the Electron app, and the install was attempted from an external CLI (local environment issue)" : kind === "pluginPrepare" ? "plugin prepare/build script failed during install (packaging/distribution issue)" : kind === "pnpmIgnoredBuild" ? "plugin depends on a native module whose build script pnpm blocks by default (use a prebuilt variant)" : kind === "originRejected" ? "the request never reached the install flow — the local service rejected its origin (local environment issue)" : kind === "pnpmPolicy" ? pnpmPolicyHintOf(message) === "failPnpmTarballIntegrityHint" ? "pnpm rejected a lockfile entry without tarball integrity; inspect and back up the profile lockfile before resolving it again, keeping integrity checks enabled" : "the pnpm supply-chain policy on the user machine blocked the install (minimum release age for freshly published packages / untrusted origin)" : kind === "pnpmUnusedPatch" ? "the profile keeps a pnpm patch entry for an older dsh-plugin version, so pnpm aborted the install (local config issue)" : kind === "fileLocked" ? "a file in the profile is locked by another process on the user machine (local environment issue)" : kind === "accessDenied" ? "the system denied write access to a file in the profile on the user machine (local environment issue)" : kind === "fsUnavailable" ? "the local file system could not accept the write — no space left, read-only volume, or too many open file handles on the user machine (local environment issue)" : "plugin-side install failure";
2419
2503
  const code = coreErrorCode(message);
2420
2504
  const build = (coreChars) => {
2421
2505
  const body = [
@@ -2450,7 +2534,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2450
2534
  `- OS: ${env.platform} ${env.arch} (${env.release})`,
2451
2535
  `- Profile: \`${env.profile}\``,
2452
2536
  `- DSH Home: \`${env.dshHome}\``,
2453
- `- Full log: \`~/.dsh/profiles/${env.profile}/hub.log\` (paste or attach for the full output)`
2537
+ "- Full log: open the Hub notifications, select the failed record and press \"Copy\""
2454
2538
  ] : [],
2455
2539
  `- Catalog: [${pluginSiteUrl(repo)}](${pluginSiteUrl(repo)})`,
2456
2540
  "",
@@ -2516,7 +2600,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
2516
2600
  `- OS: ${env.platform} ${env.arch} (${env.release})`,
2517
2601
  `- Profile: \`${env.profile}\``,
2518
2602
  `- DSH Home: \`${env.dshHome}\``,
2519
- `- Full log: \`~/.dsh/profiles/${env.profile}/hub.log\` (paste or attach for the full output)`
2603
+ "- Full log: open the Hub notifications, select the failed record and press \"Copy\""
2520
2604
  ] : [],
2521
2605
  ...repo !== "unknown" ? [`- Catalog: [${pluginSiteUrl(repo)}](${pluginSiteUrl(repo)})`] : [],
2522
2606
  "",
@@ -3866,7 +3950,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
3866
3950
  })() : null, (0, react.createElement)("button", {
3867
3951
  className: Modal_module_css_default.errorCopySoft,
3868
3952
  onClick: () => onCopy(copyText)
3869
- }, t("errorCopy"))), (0, react.createElement)("pre", { className: Modal_module_css_default.errorBox }, displayMessage), (0, react.createElement)("div", { className: Modal_module_css_default.failKindTitle }, t(`failKind_${failureKind}`, failureKind === "hostIncompatible" ? { version: /incompatible with dsh\s+([^\s:;,]+)/i.exec(message)?.[1] ?? "" } : void 0)), failureKind === "hostIncompatible" ? null : (0, react.createElement)("div", { className: Modal_module_css_default.failReason }, t(`failReason_${failureKind}`)), failureKind === "npmTooOld" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(npmVersion ? "failNpmTooLowV" : "failNpmTooLow", npmVersion ? { v: npmVersion } : void 0)) : failureKind === "dshMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshMissingHint")) : failureKind === "gitMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failGitMissingHint")) : failureKind === "pnpmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmMissingHint")) : failureKind === "npmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failNpmMissingHint")) : failureKind === "buildToolchainMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failBuildToolchainHint")) : failureKind === "pnpmWorkspace" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmWorkspaceHint")) : failureKind === "pnpmStore" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmStoreHint")) : failureKind === "pnpmPolicy" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(pnpmPolicyHintOf(message), pnpmPolicyHintParams(message))) : failureKind === "pnpmUnusedPatch" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmUnusedPatchHint")) : failureKind === "pnpmMissingDep" ? (0, react.createElement)("div", null, [(() => {
3953
+ }, t("errorCopy"))), (0, react.createElement)("pre", { className: Modal_module_css_default.errorBox }, displayMessage), (0, react.createElement)("div", { className: Modal_module_css_default.failKindTitle }, t(`failKind_${failureKind}`, failureKind === "hostIncompatible" ? { version: /incompatible with dsh\s+([^\s:;,]+)/i.exec(message)?.[1] ?? "" } : void 0)), failureKind === "hostIncompatible" ? null : (0, react.createElement)("div", { className: Modal_module_css_default.failReason }, t(`failReason_${failureKind}`)), failureKind === "npmTooOld" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(npmVersion ? "failNpmTooLowV" : "failNpmTooLow", npmVersion ? { v: npmVersion } : void 0)) : failureKind === "dshMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshMissingHint")) : failureKind === "gitMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failGitMissingHint")) : failureKind === "pnpmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmMissingHint")) : failureKind === "npmMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failNpmMissingHint")) : failureKind === "buildToolchainMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failBuildToolchainHint")) : failureKind === "pnpmWorkspace" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmWorkspaceHint")) : failureKind === "pnpmVirtualStore" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmVirtualStoreHint")) : failureKind === "pnpmStore" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmStoreHint")) : failureKind === "pnpmPolicy" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(pnpmPolicyHintOf(message), pnpmPolicyHintParams(message))) : failureKind === "pnpmUnusedPatch" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmUnusedPatchHint")) : failureKind === "pnpmMissingDep" ? (0, react.createElement)("div", null, [(() => {
3870
3954
  const pkg = missingRegistryPackageOf(message);
3871
3955
  return pkg ? (0, react.createElement)("div", { className: Modal_module_css_default.failNetworkTarget }, t("failPnpmMissingDepTarget", { pkg })) : null;
3872
3956
  })(), (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(registryMissingHintOf(message)))]) : failureKind === "pluginMissingDep" ? (0, react.createElement)("div", null, [
@@ -3891,10 +3975,47 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
3891
3975
  target: "_blank",
3892
3976
  rel: "noopener noreferrer",
3893
3977
  title: t("failIssueHint")
3894
- }, t("failIssueBig")) : null]) : failureKind === "registryVersionStale" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failRegistryVersionStaleHint")) : failureKind === "pnpmLinkedDirMissing" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmLinkedDirMissingHint")) : failureKind === "fileLocked" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint")) : failureKind === "accessDenied" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint")) : failureKind === "fsUnavailable" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint")) : failureKind === "originRejected" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failOriginRejectedHint", { profile: env?.profile ?? "<profile>" })) : failureKind === "registryAuth" ? (() => {
3978
+ }, t("failIssueBig")) : null]) : failureKind === "registryVersionStale" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failRegistryVersionStaleHint")) : failureKind === "pnpmLinkedDirMissing" ? (0, react.createElement)("div", null, [(() => {
3979
+ const dir = missingLocalDirOf(message);
3980
+ return dir ? (0, react.createElement)("div", { className: Modal_module_css_default.failNetworkTarget }, t("failLinkedDirTarget", { path: dir })) : null;
3981
+ })(), (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmLinkedDirMissingHint"))]) : failureKind === "fileLocked" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint")) : failureKind === "accessDenied" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint")) : failureKind === "fsUnavailable" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint")) : failureKind === "originRejected" ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failOriginRejectedHint", { profile: env?.profile ?? "<profile>" })) : failureKind === "profileExclusive" ? (() => {
3982
+ const profile = exclusiveProfileOf(message);
3983
+ const ourBug = desktopCliFallbackOf(message);
3984
+ return (0, react.createElement)("div", null, [
3985
+ (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(profile ? "failProfileExclusiveHint" : "failProfileExclusiveHintNoProfile", profile ? { profile } : void 0)),
3986
+ ourBug ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDesktopCliFallbackHint")) : null,
3987
+ ourBug ? (0, react.createElement)("a", {
3988
+ className: Modal_module_css_default.failBigIssue,
3989
+ href: hubIssueUrl(repo, message, env, command, attempts, "triage", action),
3990
+ target: "_blank",
3991
+ rel: "noopener noreferrer",
3992
+ title: t("failHubIssueHint")
3993
+ }, t("failIssueBig")) : null
3994
+ ]);
3995
+ })() : failureKind === "registryAuth" ? (() => {
3895
3996
  const host = authRegistryHostOf(message);
3896
3997
  return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(host ? "failRegistryAuthHint" : "failRegistryAuthHintNoHost", host ? { host } : void 0));
3897
- })() : failureKind === "network" ? (0, react.createElement)("div", null, [
3998
+ })() : failureKind === "dshTooOld" ? (() => {
3999
+ const info = dshTooOldInfoOf(message);
4000
+ return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshTooOldHint", info ?? {
4001
+ pkg: repo ?? "plugin",
4002
+ floor: "?",
4003
+ current: "?"
4004
+ }));
4005
+ })() : failureKind === "localEnv" ? (0, react.createElement)("div", null, [
4006
+ (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failLocalEnvHint")),
4007
+ onRunDiagnostics ? (0, react.createElement)("button", {
4008
+ className: Modal_module_css_default.failDiagBtn,
4009
+ onClick: onRunDiagnostics
4010
+ }, t("failNetworkRunDiag")) : null,
4011
+ (0, react.createElement)("div", null, [(0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failMisjudgeHint")), (0, react.createElement)("a", {
4012
+ className: Modal_module_css_default.failMisjudgeLink,
4013
+ href: hubIssueUrl(repo, message, env, command, attempts, "triage", action),
4014
+ target: "_blank",
4015
+ rel: "noopener noreferrer",
4016
+ title: t("failHubIssueHint")
4017
+ }, t("failMisjudgeLink"))])
4018
+ ]) : failureKind === "network" ? (0, react.createElement)("div", null, [
3898
4019
  (() => {
3899
4020
  const target = unreachableTargetOf(message);
3900
4021
  return target ? (0, react.createElement)("div", { className: Modal_module_css_default.failNetworkTarget }, t("failNetworkTarget", { url: target })) : null;
@@ -4487,6 +4608,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4487
4608
  if (kind === "npmMissing") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failNpmMissingHint"));
4488
4609
  if (kind === "buildToolchainMissing") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failBuildToolchainHint"));
4489
4610
  if (kind === "pnpmWorkspace") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmWorkspaceHint"));
4611
+ if (kind === "pnpmVirtualStore") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmVirtualStoreHint"));
4490
4612
  if (kind === "pnpmStore") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmStoreHint"));
4491
4613
  if (kind === "pnpmPolicy") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(pnpmPolicyHintOf(r.message), pnpmPolicyHintParams(r.message)));
4492
4614
  if (kind === "pnpmUnusedPatch") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmUnusedPatchHint"));
@@ -4523,15 +4645,55 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4523
4645
  ]);
4524
4646
  }
4525
4647
  if (kind === "registryVersionStale") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failRegistryVersionStaleHint"));
4526
- if (kind === "pnpmLinkedDirMissing") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmLinkedDirMissingHint"));
4648
+ if (kind === "pnpmLinkedDirMissing") {
4649
+ const dir = missingLocalDirOf(r.message);
4650
+ return (0, react.createElement)("div", null, [dir ? (0, react.createElement)("div", { className: Modal_module_css_default.failNetworkTarget }, t("failLinkedDirTarget", { path: dir })) : null, (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failPnpmLinkedDirMissingHint"))]);
4651
+ }
4527
4652
  if (kind === "fileLocked") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFileLockedHint"));
4528
4653
  if (kind === "accessDenied") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failAccessDeniedHint"));
4529
4654
  if (kind === "fsUnavailable") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failFsUnavailableHint"));
4530
4655
  if (kind === "originRejected") return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failOriginRejectedHint", { profile: env?.profile ?? "<profile>" }));
4656
+ if (kind === "profileExclusive") {
4657
+ const profile = exclusiveProfileOf(r.message);
4658
+ const ourBug = desktopCliFallbackOf(r.message);
4659
+ return (0, react.createElement)("div", null, [
4660
+ (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(profile ? "failProfileExclusiveHint" : "failProfileExclusiveHintNoProfile", profile ? { profile } : void 0)),
4661
+ ourBug ? (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDesktopCliFallbackHint")) : null,
4662
+ ourBug ? (0, react.createElement)("a", {
4663
+ className: Modal_module_css_default.failBigIssue,
4664
+ href: hubIssueUrl(shownRepo || r.repo, r.message, env, r.command, r.attempts, "triage", action),
4665
+ target: "_blank",
4666
+ rel: "noopener noreferrer",
4667
+ title: t("failHubIssueHint")
4668
+ }, t("failIssueBig")) : null
4669
+ ]);
4670
+ }
4531
4671
  if (kind === "registryAuth") {
4532
4672
  const host = authRegistryHostOf(r.message);
4533
4673
  return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t(host ? "failRegistryAuthHint" : "failRegistryAuthHintNoHost", host ? { host } : void 0));
4534
4674
  }
4675
+ if (kind === "dshTooOld") {
4676
+ const info = dshTooOldInfoOf(r.message);
4677
+ return (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failDshTooOldHint", info ?? {
4678
+ pkg: shownRepo || r.repo || "plugin",
4679
+ floor: "?",
4680
+ current: "?"
4681
+ }));
4682
+ }
4683
+ if (kind === "localEnv") return (0, react.createElement)("div", null, [
4684
+ (0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failLocalEnvHint")),
4685
+ onRunDiagnostics ? (0, react.createElement)("button", {
4686
+ className: Modal_module_css_default.failDiagBtn,
4687
+ onClick: onRunDiagnostics
4688
+ }, t("failNetworkRunDiag")) : null,
4689
+ (0, react.createElement)("div", null, [(0, react.createElement)("div", { className: Modal_module_css_default.failPrepareHint }, t("failMisjudgeHint")), (0, react.createElement)("a", {
4690
+ className: Modal_module_css_default.failMisjudgeLink,
4691
+ href: hubIssueUrl(shownRepo || r.repo, r.message, env, r.command, r.attempts, "triage", action),
4692
+ target: "_blank",
4693
+ rel: "noopener noreferrer",
4694
+ title: t("failHubIssueHint")
4695
+ }, t("failMisjudgeLink"))])
4696
+ ]);
4535
4697
  if (kind === "network") return (0, react.createElement)("div", null, [
4536
4698
  (() => {
4537
4699
  const target = unreachableTargetOf(r.message);
@@ -4769,40 +4931,40 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
4769
4931
  css: css$9
4770
4932
  });
4771
4933
  var List_module_css_default = {
4934
+ "fork": "_3XaZHa_fork",
4772
4935
  "versionBadge": "_3XaZHa_versionBadge",
4773
- "stateActions": "_3XaZHa_stateActions",
4774
- "moreSentinel": "_3XaZHa_moreSentinel",
4775
- "categoryBadge": "_3XaZHa_categoryBadge",
4776
- "installBtnInstalled": "_3XaZHa_installBtnInstalled",
4777
4936
  "updateBadge": "_3XaZHa_updateBadge",
4937
+ "cardTitle": "_3XaZHa_cardTitle",
4938
+ "footer": "_3XaZHa_footer",
4939
+ "footLink": "_3XaZHa_footLink",
4940
+ "topic": "_3XaZHa_topic",
4941
+ "cardMain": "_3XaZHa_cardMain",
4942
+ "desc": "_3XaZHa_desc",
4943
+ "body": "_3XaZHa_body",
4944
+ "list": "_3XaZHa_list",
4945
+ "card": "_3XaZHa_card",
4946
+ "stateTitle": "_3XaZHa_stateTitle",
4778
4947
  "topics": "_3XaZHa_topics",
4779
4948
  "installBtnUpdate": "_3XaZHa_installBtnUpdate",
4780
- "retryBtn": "_3XaZHa_retryBtn",
4781
- "footer": "_3XaZHa_footer",
4782
- "stateTitle": "_3XaZHa_stateTitle",
4783
- "cardTitle": "_3XaZHa_cardTitle",
4784
- "list": "_3XaZHa_list",
4949
+ "verified": "_3XaZHa_verified",
4950
+ "date": "_3XaZHa_date",
4951
+ "installBtnCopied": "_3XaZHa_installBtnCopied",
4952
+ "installBtnInstalled": "_3XaZHa_installBtnInstalled",
4953
+ "stateActions": "_3XaZHa_stateActions",
4954
+ "stats": "_3XaZHa_stats",
4785
4955
  "uninstallBtn": "_3XaZHa_uninstallBtn",
4956
+ "moreSentinel": "_3XaZHa_moreSentinel",
4957
+ "detailBtn": "_3XaZHa_detailBtn",
4786
4958
  "actions": "_3XaZHa_actions",
4959
+ "categoryBadge": "_3XaZHa_categoryBadge",
4787
4960
  "stateDesc": "_3XaZHa_stateDesc",
4788
- "body": "_3XaZHa_body",
4789
- "cardMain": "_3XaZHa_cardMain",
4790
- "installBtnCopied": "_3XaZHa_installBtnCopied",
4791
- "desc": "_3XaZHa_desc",
4792
- "detailBtn": "_3XaZHa_detailBtn",
4793
- "state": "_3XaZHa_state",
4794
- "footLink": "_3XaZHa_footLink",
4795
- "verified": "_3XaZHa_verified",
4796
- "stats": "_3XaZHa_stats",
4797
- "cardHead": "_3XaZHa_cardHead",
4798
- "fork": "_3XaZHa_fork",
4961
+ "retryBtn": "_3XaZHa_retryBtn",
4962
+ "installBtn": "_3XaZHa_installBtn",
4963
+ "star": "_3XaZHa_star",
4799
4964
  "diagBtn": "_3XaZHa_diagBtn",
4965
+ "state": "_3XaZHa_state",
4800
4966
  "cardSide": "_3XaZHa_cardSide",
4801
- "topic": "_3XaZHa_topic",
4802
- "star": "_3XaZHa_star",
4803
- "installBtn": "_3XaZHa_installBtn",
4804
- "date": "_3XaZHa_date",
4805
- "card": "_3XaZHa_card"
4967
+ "cardHead": "_3XaZHa_cardHead"
4806
4968
  };
4807
4969
  //#endregion
4808
4970
  //#region src/client/hooks/useIncrementalList.ts
@@ -5007,16 +5169,16 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5007
5169
  css: css$8
5008
5170
  });
5009
5171
  var SectionTabs_module_css_default = {
5010
- "tabCount": "_7tvizq_tabCount",
5011
- "root": "_7tvizq_root",
5172
+ "noticeCount": "_7tvizq_noticeCount",
5173
+ "tabActive": "_7tvizq_tabActive",
5012
5174
  "tab": "_7tvizq_tab",
5175
+ "tabIcon": "_7tvizq_tabIcon",
5013
5176
  "tabLabel": "_7tvizq_tabLabel",
5177
+ "root": "_7tvizq_root",
5014
5178
  "noticeBtn": "_7tvizq_noticeBtn",
5015
- "tabActive": "_7tvizq_tabActive",
5179
+ "tabCount": "_7tvizq_tabCount",
5016
5180
  "noticeIcon": "_7tvizq_noticeIcon",
5017
- "noticeCount": "_7tvizq_noticeCount",
5018
- "tabCountActive": "_7tvizq_tabCountActive",
5019
- "tabIcon": "_7tvizq_tabIcon"
5181
+ "tabCountActive": "_7tvizq_tabCountActive"
5020
5182
  };
5021
5183
  //#endregion
5022
5184
  //#region src/client/components/layout/SectionTabs.tsx
@@ -5092,42 +5254,42 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5092
5254
  css: css$7
5093
5255
  });
5094
5256
  var InstalledView_module_css_default = {
5257
+ "rowRestart": "_1nXeGW_rowRestart",
5258
+ "statusPending": "_1nXeGW_statusPending",
5259
+ "rowMain": "_1nXeGW_rowMain",
5260
+ "exampleRow": "_1nXeGW_exampleRow",
5261
+ "rowRepo": "_1nXeGW_rowRepo",
5262
+ "rowDetail": "_1nXeGW_rowDetail",
5095
5263
  "rowCategory": "_1nXeGW_rowCategory",
5096
5264
  "rowActions": "_1nXeGW_rowActions",
5097
- "empty": "_1nXeGW_empty",
5265
+ "toolbar": "_1nXeGW_toolbar",
5266
+ "rowUpdate": "_1nXeGW_rowUpdate",
5267
+ "segBtn": "_1nXeGW_segBtn",
5268
+ "rowTitle": "_1nXeGW_rowTitle",
5269
+ "segRow": "_1nXeGW_segRow",
5270
+ "updateBadge": "_1nXeGW_updateBadge",
5271
+ "root": "_1nXeGW_root",
5098
5272
  "rowSourceTagHub": "_1nXeGW_rowSourceTagHub",
5099
- "versionBadge": "_1nXeGW_versionBadge",
5273
+ "statusDot": "_1nXeGW_statusDot",
5274
+ "exampleBadge": "_1nXeGW_exampleBadge",
5100
5275
  "row": "_1nXeGW_row",
5101
- "rowTitle": "_1nXeGW_rowTitle",
5276
+ "rowUninstall": "_1nXeGW_rowUninstall",
5277
+ "rowTitleLine": "_1nXeGW_rowTitleLine",
5102
5278
  "rowSourceTag": "_1nXeGW_rowSourceTag",
5103
- "rowDetail": "_1nXeGW_rowDetail",
5104
- "rowMain": "_1nXeGW_rowMain",
5105
- "updateBadge": "_1nXeGW_updateBadge",
5106
- "rowUpdate": "_1nXeGW_rowUpdate",
5279
+ "emptyTitle": "_1nXeGW_emptyTitle",
5280
+ "emptyDesc": "_1nXeGW_emptyDesc",
5281
+ "statusInactive": "_1nXeGW_statusInactive",
5282
+ "searchWrap": "_1nXeGW_searchWrap",
5283
+ "versionBadge": "_1nXeGW_versionBadge",
5107
5284
  "searchInput": "_1nXeGW_searchInput",
5108
5285
  "list": "_1nXeGW_list",
5109
- "emptyDesc": "_1nXeGW_emptyDesc",
5110
5286
  "segBtnActive": "_1nXeGW_segBtnActive",
5111
- "rowDesc": "_1nXeGW_rowDesc",
5112
- "rowRepo": "_1nXeGW_rowRepo",
5113
- "rowMeta": "_1nXeGW_rowMeta",
5114
5287
  "rowSourceTagManual": "_1nXeGW_rowSourceTagManual",
5115
- "statusDot": "_1nXeGW_statusDot",
5116
- "segGroup": "_1nXeGW_segGroup",
5117
- "exampleBadge": "_1nXeGW_exampleBadge",
5118
- "statusInactive": "_1nXeGW_statusInactive",
5119
- "statusPending": "_1nXeGW_statusPending",
5120
- "emptyTitle": "_1nXeGW_emptyTitle",
5121
- "rowRestart": "_1nXeGW_rowRestart",
5122
- "searchWrap": "_1nXeGW_searchWrap",
5123
- "root": "_1nXeGW_root",
5124
- "exampleRow": "_1nXeGW_exampleRow",
5125
- "segRow": "_1nXeGW_segRow",
5288
+ "empty": "_1nXeGW_empty",
5126
5289
  "segLabel": "_1nXeGW_segLabel",
5127
- "segBtn": "_1nXeGW_segBtn",
5128
- "rowUninstall": "_1nXeGW_rowUninstall",
5129
- "toolbar": "_1nXeGW_toolbar",
5130
- "rowTitleLine": "_1nXeGW_rowTitleLine"
5290
+ "segGroup": "_1nXeGW_segGroup",
5291
+ "rowDesc": "_1nXeGW_rowDesc",
5292
+ "rowMeta": "_1nXeGW_rowMeta"
5131
5293
  };
5132
5294
  //#endregion
5133
5295
  //#region src/client/components/views/InstalledView.tsx
@@ -5371,27 +5533,27 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5371
5533
  css: css$6
5372
5534
  });
5373
5535
  var CustomInstallView_module_css_default = {
5374
- "installRow": "zISxCG_installRow",
5375
- "installInputError": "zISxCG_installInputError",
5376
- "channelOffText": "zISxCG_channelOffText",
5377
5536
  "channelOffBtn": "zISxCG_channelOffBtn",
5378
- "helpBody": "zISxCG_helpBody",
5379
- "helpCmd": "zISxCG_helpCmd",
5380
5537
  "installCards": "zISxCG_installCards",
5381
- "desc": "zISxCG_desc",
5382
- "installCardHead": "zISxCG_installCardHead",
5538
+ "installLabel": "zISxCG_installLabel",
5539
+ "channelOffText": "zISxCG_channelOffText",
5540
+ "channelOff": "zISxCG_channelOff",
5541
+ "helpNote": "zISxCG_helpNote",
5542
+ "helpCmd": "zISxCG_helpCmd",
5383
5543
  "installExample": "zISxCG_installExample",
5544
+ "installError": "zISxCG_installError",
5545
+ "installBtn": "zISxCG_installBtn",
5546
+ "installCard": "zISxCG_installCard",
5547
+ "installCardHead": "zISxCG_installCardHead",
5548
+ "installRow": "zISxCG_installRow",
5384
5549
  "installInput": "zISxCG_installInput",
5385
- "helpNote": "zISxCG_helpNote",
5386
- "channelOff": "zISxCG_channelOff",
5550
+ "desc": "zISxCG_desc",
5551
+ "installInputError": "zISxCG_installInputError",
5387
5552
  "installHelpBtn": "zISxCG_installHelpBtn",
5388
- "installLabel": "zISxCG_installLabel",
5389
5553
  "installCardDisabled": "zISxCG_installCardDisabled",
5390
- "installBtn": "zISxCG_installBtn",
5391
- "helpLine": "zISxCG_helpLine",
5554
+ "helpBody": "zISxCG_helpBody",
5392
5555
  "root": "zISxCG_root",
5393
- "installError": "zISxCG_installError",
5394
- "installCard": "zISxCG_installCard"
5556
+ "helpLine": "zISxCG_helpLine"
5395
5557
  };
5396
5558
  //#endregion
5397
5559
  //#region src/client/components/views/CustomInstallView.tsx
@@ -5547,29 +5709,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5547
5709
  css: css$5
5548
5710
  });
5549
5711
  var SettingsView_module_css_default = {
5550
- "root": "_506LLG_root",
5551
- "navItem": "_506LLG_navItem",
5552
- "sidebar": "_506LLG_sidebar",
5712
+ "pageHeader": "_506LLG_pageHeader",
5713
+ "proxyControl": "_506LLG_proxyControl",
5553
5714
  "navIcon": "_506LLG_navIcon",
5554
5715
  "navItemActive": "_506LLG_navItemActive",
5555
- "proxyControl": "_506LLG_proxyControl",
5556
- "settingDesc": "_506LLG_settingDesc",
5557
- "card": "_506LLG_card",
5558
- "settingControl": "_506LLG_settingControl",
5559
- "settingControlStack": "_506LLG_settingControlStack",
5560
- "proxyHintOk": "_506LLG_proxyHintOk",
5561
- "content": "_506LLG_content",
5562
- "controlDropdown": "_506LLG_controlDropdown",
5563
5716
  "settingRow": "_506LLG_settingRow",
5564
5717
  "textInput": "_506LLG_textInput",
5565
- "pageHeader": "_506LLG_pageHeader",
5566
- "settingLabel": "_506LLG_settingLabel",
5567
- "settingTitle": "_506LLG_settingTitle",
5568
5718
  "pageDesc": "_506LLG_pageDesc",
5569
- "settingRowStack": "_506LLG_settingRowStack",
5570
5719
  "proxyHint": "_506LLG_proxyHint",
5720
+ "proxyHintOk": "_506LLG_proxyHintOk",
5571
5721
  "resetBtn": "_506LLG_resetBtn",
5722
+ "sidebar": "_506LLG_sidebar",
5723
+ "navItem": "_506LLG_navItem",
5572
5724
  "proxyHintFail": "_506LLG_proxyHintFail",
5725
+ "controlDropdown": "_506LLG_controlDropdown",
5726
+ "root": "_506LLG_root",
5727
+ "settingTitle": "_506LLG_settingTitle",
5728
+ "content": "_506LLG_content",
5729
+ "settingRowStack": "_506LLG_settingRowStack",
5730
+ "settingControl": "_506LLG_settingControl",
5731
+ "settingControlStack": "_506LLG_settingControlStack",
5732
+ "card": "_506LLG_card",
5733
+ "settingDesc": "_506LLG_settingDesc",
5734
+ "settingLabel": "_506LLG_settingLabel",
5573
5735
  "pageTitle": "_506LLG_pageTitle"
5574
5736
  };
5575
5737
  //#endregion
@@ -5589,18 +5751,18 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5589
5751
  css: css$4
5590
5752
  });
5591
5753
  var Dropdown_module_css_default = {
5592
- "dropdownCount": "B_Gxsq_dropdownCount",
5593
- "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5594
- "dropdownPanel": "B_Gxsq_dropdownPanel",
5595
5754
  "dropdownLabel": "B_Gxsq_dropdownLabel",
5596
- "dropdownArrow": "B_Gxsq_dropdownArrow",
5597
- "dropdownFill": "B_Gxsq_dropdownFill",
5598
5755
  "dropdownItemActive": "B_Gxsq_dropdownItemActive",
5756
+ "dropdownBtn": "B_Gxsq_dropdownBtn",
5599
5757
  "dropdownItemLabel": "B_Gxsq_dropdownItemLabel",
5758
+ "dropdownCount": "B_Gxsq_dropdownCount",
5759
+ "dropdownItem": "B_Gxsq_dropdownItem",
5760
+ "dropdownArrowOpen": "B_Gxsq_dropdownArrowOpen",
5761
+ "dropdownArrow": "B_Gxsq_dropdownArrow",
5600
5762
  "dropdownCountActive": "B_Gxsq_dropdownCountActive",
5601
5763
  "dropdown": "B_Gxsq_dropdown",
5602
- "dropdownItem": "B_Gxsq_dropdownItem",
5603
- "dropdownBtn": "B_Gxsq_dropdownBtn"
5764
+ "dropdownFill": "B_Gxsq_dropdownFill",
5765
+ "dropdownPanel": "B_Gxsq_dropdownPanel"
5604
5766
  };
5605
5767
  //#endregion
5606
5768
  //#region \0dsh-css:src/client/styles/Toggle.module.css.mjs
@@ -5619,8 +5781,8 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5619
5781
  css: css$3
5620
5782
  });
5621
5783
  var Toggle_module_css_default = {
5622
- "toggle": "k-cD4G_toggle",
5623
5784
  "knob": "k-cD4G_knob",
5785
+ "toggle": "k-cD4G_toggle",
5624
5786
  "toggleOn": "k-cD4G_toggleOn"
5625
5787
  };
5626
5788
  //#endregion
@@ -5718,29 +5880,29 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5718
5880
  css: css$2
5719
5881
  });
5720
5882
  var DiagnosticsView_module_css_default = {
5883
+ "row": "k9eRya_row",
5884
+ "name": "k9eRya_name",
5885
+ "panel": "k9eRya_panel",
5721
5886
  "meta": "k9eRya_meta",
5887
+ "badgeIdle": "k9eRya_badgeIdle",
5888
+ "runBtn": "k9eRya_runBtn",
5722
5889
  "summaryRunning": "k9eRya_summaryRunning",
5723
- "summaryOk": "k9eRya_summaryOk",
5724
- "row": "k9eRya_row",
5725
5890
  "summary": "k9eRya_summary",
5726
- "badgeFail": "k9eRya_badgeFail",
5891
+ "badgeRunning": "k9eRya_badgeRunning",
5892
+ "envDesc": "k9eRya_envDesc",
5893
+ "envCopyBtn": "k9eRya_envCopyBtn",
5727
5894
  "head": "k9eRya_head",
5728
- "envRow": "k9eRya_envRow",
5729
5895
  "diagPulse": "k9eRya_diagPulse",
5730
- "runBtn": "k9eRya_runBtn",
5731
- "envTitle": "k9eRya_envTitle",
5732
- "envLabel": "k9eRya_envLabel",
5733
- "envDesc": "k9eRya_envDesc",
5734
5896
  "headHint": "k9eRya_headHint",
5735
- "envCopyBtn": "k9eRya_envCopyBtn",
5736
- "display": "k9eRya_display",
5737
- "badgeIdle": "k9eRya_badgeIdle",
5897
+ "summaryOk": "k9eRya_summaryOk",
5898
+ "badgeFail": "k9eRya_badgeFail",
5738
5899
  "badgeOk": "k9eRya_badgeOk",
5739
- "summaryFail": "k9eRya_summaryFail",
5740
- "panel": "k9eRya_panel",
5741
- "badgeRunning": "k9eRya_badgeRunning",
5742
- "name": "k9eRya_name",
5743
- "badge": "k9eRya_badge"
5900
+ "envRow": "k9eRya_envRow",
5901
+ "badge": "k9eRya_badge",
5902
+ "envLabel": "k9eRya_envLabel",
5903
+ "display": "k9eRya_display",
5904
+ "envTitle": "k9eRya_envTitle",
5905
+ "summaryFail": "k9eRya_summaryFail"
5744
5906
  };
5745
5907
  //#endregion
5746
5908
  //#region src/client/components/views/DiagnosticsView.tsx
@@ -5915,57 +6077,57 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
5915
6077
  css: css$1
5916
6078
  });
5917
6079
  var LogsView_module_css_default = {
5918
- "footFail": "_3j77BW_footFail",
5919
- "pathDialogHint": "_3j77BW_pathDialogHint",
5920
- "message": "_3j77BW_message",
5921
- "pathDialogReset": "_3j77BW_pathDialogReset",
5922
- "previewRow": "_3j77BW_previewRow",
5923
- "moreEnd": "_3j77BW_moreEnd",
6080
+ "pathRow": "_3j77BW_pathRow",
6081
+ "footCount": "_3j77BW_footCount",
6082
+ "footActions": "_3j77BW_footActions",
6083
+ "badgeDebug": "_3j77BW_badgeDebug",
5924
6084
  "badgeSuccess": "_3j77BW_badgeSuccess",
5925
- "entry": "_3j77BW_entry",
6085
+ "clearBtn": "_3j77BW_clearBtn",
5926
6086
  "searchInput": "_3j77BW_searchInput",
6087
+ "pathDialogRow": "_3j77BW_pathDialogRow",
6088
+ "filterChip": "_3j77BW_filterChip",
6089
+ "catDiagnostics": "_3j77BW_catDiagnostics",
6090
+ "pathDialogHint": "_3j77BW_pathDialogHint",
5927
6091
  "more": "_3j77BW_more",
5928
- "headHint": "_3j77BW_headHint",
6092
+ "previewRow": "_3j77BW_previewRow",
5929
6093
  "footPath": "_3j77BW_footPath",
6094
+ "headHint": "_3j77BW_headHint",
6095
+ "panel": "_3j77BW_panel",
6096
+ "pathText": "_3j77BW_pathText",
6097
+ "pathDialogReset": "_3j77BW_pathDialogReset",
6098
+ "pathDialogFoot": "_3j77BW_pathDialogFoot",
6099
+ "badge": "_3j77BW_badge",
5930
6100
  "badgeError": "_3j77BW_badgeError",
5931
- "catUninstall": "_3j77BW_catUninstall",
5932
- "headActions": "_3j77BW_headActions",
5933
- "footCount": "_3j77BW_footCount",
5934
- "clearBtn": "_3j77BW_clearBtn",
5935
- "filterChipActive": "_3j77BW_filterChipActive",
5936
6101
  "badgeInfo": "_3j77BW_badgeInfo",
5937
- "foot": "_3j77BW_foot",
5938
- "catBadge": "_3j77BW_catBadge",
5939
- "badge": "_3j77BW_badge",
5940
- "time": "_3j77BW_time",
5941
- "empty": "_3j77BW_empty",
5942
- "pathDialogFoot": "_3j77BW_pathDialogFoot",
5943
- "logList": "_3j77BW_logList",
5944
- "list": "_3j77BW_list",
6102
+ "catUpdate": "_3j77BW_catUpdate",
6103
+ "catUninstall": "_3j77BW_catUninstall",
6104
+ "catSystem": "_3j77BW_catSystem",
5945
6105
  "pathDraft": "_3j77BW_pathDraft",
5946
- "pathDialogRow": "_3j77BW_pathDialogRow",
5947
- "head": "_3j77BW_head",
6106
+ "pathLabel": "_3j77BW_pathLabel",
6107
+ "list": "_3j77BW_list",
6108
+ "btn": "_3j77BW_btn",
6109
+ "entry": "_3j77BW_entry",
5948
6110
  "badgeWarn": "_3j77BW_badgeWarn",
5949
- "pathText": "_3j77BW_pathText",
5950
- "search": "_3j77BW_search",
5951
- "badgeDebug": "_3j77BW_badgeDebug",
5952
- "pathDialogDesc": "_3j77BW_pathDialogDesc",
5953
- "linkBtn": "_3j77BW_linkBtn",
5954
- "catInstall": "_3j77BW_catInstall",
5955
- "catUpdate": "_3j77BW_catUpdate",
5956
6111
  "catSettings": "_3j77BW_catSettings",
5957
- "filterChip": "_3j77BW_filterChip",
5958
- "footActions": "_3j77BW_footActions",
5959
- "catDiagnostics": "_3j77BW_catDiagnostics",
6112
+ "foot": "_3j77BW_foot",
6113
+ "logList": "_3j77BW_logList",
6114
+ "filterBar": "_3j77BW_filterBar",
6115
+ "linkBtn": "_3j77BW_linkBtn",
6116
+ "search": "_3j77BW_search",
6117
+ "empty": "_3j77BW_empty",
6118
+ "head": "_3j77BW_head",
6119
+ "catBadge": "_3j77BW_catBadge",
6120
+ "footFail": "_3j77BW_footFail",
6121
+ "filterChipActive": "_3j77BW_filterChipActive",
5960
6122
  "pathDialog": "_3j77BW_pathDialog",
6123
+ "time": "_3j77BW_time",
5961
6124
  "event": "_3j77BW_event",
5962
- "catSystem": "_3j77BW_catSystem",
5963
- "panel": "_3j77BW_panel",
5964
- "pathLabel": "_3j77BW_pathLabel",
5965
- "filterBar": "_3j77BW_filterBar",
5966
- "btn": "_3j77BW_btn",
6125
+ "pathDialogDesc": "_3j77BW_pathDialogDesc",
6126
+ "headActions": "_3j77BW_headActions",
6127
+ "message": "_3j77BW_message",
6128
+ "catInstall": "_3j77BW_catInstall",
5967
6129
  "actions": "_3j77BW_actions",
5968
- "pathRow": "_3j77BW_pathRow"
6130
+ "moreEnd": "_3j77BW_moreEnd"
5969
6131
  };
5970
6132
  //#endregion
5971
6133
  //#region src/client/components/modals/LogsModal.tsx
@@ -7239,7 +7401,7 @@ window.__ModuleLoader__.load({ id: "dsh-plugin", factory: (require) => {
7239
7401
  openSection: settingsSection,
7240
7402
  onConsumedOpenSection: () => setSettingsSection(null)
7241
7403
  }), showHubUpdate && (0, react.createElement)(HubUpdateModal, {
7242
- info: catalog.hubUpdateTarget ?? catalog.hubUpdateInfo ?? { version: "2.1.0" },
7404
+ info: catalog.hubUpdateTarget ?? catalog.hubUpdateInfo ?? { version: "2.2.0" },
7243
7405
  state: catalog.hubUpdateState,
7244
7406
  currentVersion: catalog.hubCurrentVersion,
7245
7407
  lang,