dshmarket 1.28.2 → 1.29.1

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
@@ -266,6 +266,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
266
266
  restoreDone: "恢复完成,请重启 DeepSeek Harness",
267
267
  restorePartial: "恢复已完成,但下列插件安装失败:",
268
268
  restoreUnportable: "依赖指向了另一台机器上的绝对路径,本机不存在,需要手动改成本机路径或重新安装",
269
+ restoreBootError: "恢复后仍无法启动:",
269
270
  restoreConfirm: "恢复将覆盖当前 profile 配置并重新安装插件,确定继续吗?",
270
271
  restorePreviewDone: "备份已导入,请在「已安装」中确认后开始恢复",
271
272
  restoreMissing: "备份中有 {0} 个插件尚未安装",
@@ -710,6 +711,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
710
711
  restoreDone: "Restore complete — restart DeepSeek Harness",
711
712
  restorePartial: "Restore completed, but these plugins failed to install:",
712
713
  restoreUnportable: "points at an absolute path from another machine that does not exist here — repoint it locally or reinstall the plugin",
714
+ restoreBootError: "Still cannot boot after the restore:",
713
715
  restoreConfirm: "Restore will overwrite this profile configuration and reinstall plugins. Continue?",
714
716
  restorePreviewDone: "Backup imported. Review Installed, then start restore.",
715
717
  restoreMissing: "{0} plugins from this backup are not installed",
@@ -6173,7 +6175,12 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6173
6175
  const finishRestore = (0, react.useCallback)((body) => {
6174
6176
  const errors = Array.isArray(body.errors) ? body.errors : [];
6175
6177
  const unportable = Array.isArray(body.unportable) ? body.unportable : [];
6176
- setRestoreErrors([...errors.map((item) => `${String(item.name)}: ${String(item.error)}`), ...unportable.map((item) => `${String(item.name)}: ${t("restoreUnportable")} (${String(item.spec)})`)]);
6178
+ const bootErrors = Array.isArray(body.bootErrors) ? body.bootErrors.map(String) : [];
6179
+ setRestoreErrors([
6180
+ ...errors.map((item) => `${String(item.name)}: ${String(item.error)}`),
6181
+ ...unportable.map((item) => `${String(item.name)}: ${t("restoreUnportable")} (${String(item.spec)})`),
6182
+ ...bootErrors.map((line) => `${t("restoreBootError")} ${line}`)
6183
+ ]);
6177
6184
  setBackupRestored(true);
6178
6185
  setBackupMessage(t("restoreDone"));
6179
6186
  if (errors.length === 0) {