@try-works/dsh-recursive-mode 0.1.17 → 0.1.18
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/lib/client.js +0 -1
- package/package.json +1 -1
- package/src/client/use-live.ts +5 -4
package/lib/client.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@try-works/dsh-recursive-mode",
|
|
3
3
|
"description": "recursive-mode workflow as a DeepSeek Harness bundle: RecursiveRuntime service + recursive_status tool",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.18",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
package/src/client/use-live.ts
CHANGED
|
@@ -34,10 +34,11 @@ export function useLiveProjection(scope: LiveScope): LiveProjectionSnapshot {
|
|
|
34
34
|
useEffect(() => {
|
|
35
35
|
// Empty scope = no resolvable session row yet — render nothing, never fetch.
|
|
36
36
|
if (isEmpty(scope)) { setState(null); return }
|
|
37
|
-
// 0.1.
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
|
|
37
|
+
// 0.1.18 (LIVE BUG 5): do NOT null the snapshot on scope change. 0.1.16
|
|
38
|
+
// added board.tsx's synchronous stale-workspace guard (workspacePath vs
|
|
39
|
+
// async snapshot.root), which already suppresses stale cards; nulling here
|
|
40
|
+
// blanked the board on every session/workspace switch (the "delay then
|
|
41
|
+
// stop" symptom). Keep the previous snapshot until the fresh fetch resolves.
|
|
41
42
|
let disposed = false
|
|
42
43
|
const apply = (frame: LiveRecursiveFrame) => { if (!disposed) setState(frame) }
|
|
43
44
|
|