@musdrop/ds-harness-remote 0.6.22 → 0.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,23 +70,23 @@ In DeepSeek Harness Desktop, open **Extensions / Plugin management**, choose ins
70
70
  from **npm**, and enter:
71
71
 
72
72
  ```text
73
- ds-harness-remote@0.6.8
73
+ ds-harness-remote
74
74
  ```
75
75
 
76
76
  Restart Desktop after installation. Its official `dsh` launcher can also install the package:
77
77
 
78
78
  ```sh
79
- dsh plugin --profile desktop add -w ds-harness-remote@0.6.8
79
+ dsh plugin --profile desktop add -w ds-harness-remote
80
80
  ```
81
81
 
82
82
  Use Desktop's official launcher to manage its reserved `desktop` profile.
83
83
 
84
84
  ### Existing DSH installation
85
85
 
86
- Add the current package version to the `web` profile, then restart Harness:
86
+ Add the package to the `web` profile, then restart Harness:
87
87
 
88
88
  ```sh
89
- dsh plugin --profile web add -w ds-harness-remote@0.6.8
89
+ dsh plugin --profile web add -w ds-harness-remote
90
90
  ```
91
91
 
92
92
  ## What’s new in 0.6.8
package/dist/client.js CHANGED
@@ -4407,7 +4407,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
4407
4407
  let current = viewRef.current;
4408
4408
  current === void 0 || !current.writable || !available || (busyRef.current = !0, setBusy(!0), setNotice(void 0), queueRef.current = queueRef.current.then(async () => {
4409
4409
  try {
4410
- let next = mutate(viewRef.current?.store ?? current.store), result = await control("modelshare.set", next);
4410
+ let expected = viewRef.current?.store ?? current.store, next = mutate(expected), result = await control("modelshare.set", { store: next, expected });
4411
4411
  applyView(result), setNotice(t("modelShareSaved"));
4412
4412
  } catch (reason) {
4413
4413
  setError(messageOf(reason, t));