dshmarket 1.66.27 → 1.66.28

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
@@ -9199,6 +9199,10 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9199
9199
  (0, react.useEffect)(() => {
9200
9200
  if (busyUrl === null && updatingName === null) {
9201
9201
  setHostBusy(false);
9202
+ statusRef.current = {
9203
+ ...statusRef.current,
9204
+ busy: false
9205
+ };
9202
9206
  setProgressLine(null);
9203
9207
  setProgressPhase(null);
9204
9208
  setProgressCurrent(null);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dshmarket",
3
3
  "description": "Visual plugin market inside DeepSeek Harness — browse, search, and one-click install community plugins. · DSH 可视化插件市场:逛一逛,点一下,装好。",
4
- "version": "1.66.27",
4
+ "version": "1.66.28",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -2727,6 +2727,12 @@ export function MarketSection(props: MarketSectionProps) {
2727
2727
  // that stale sample; the guarded restart route still handles the small
2728
2728
  // post-response lock-release window with its existing 409 retry.
2729
2729
  setHostBusy(false)
2730
+ // The same sample is what `runQueuedNow` reads to decide whether the
2731
+ // host is free (#845 review). Left in place it answered 「另一个安装、
2732
+ // 更新或卸载还在进行」 about an idle host, for the up to 2 s until the
2733
+ // drain's next tick — and the idle poll that used to correct it is
2734
+ // exactly what #845 removed, so with no queued row it never came back.
2735
+ statusRef.current = { ...statusRef.current, busy: false }
2730
2736
  setProgressLine(null)
2731
2737
  setProgressPhase(null)
2732
2738
  setProgressCurrent(null)