dsh-multi-session 0.3.0 → 0.3.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/CHANGELOG.md +1 -1
- package/client.js +4 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/client.js
CHANGED
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
*
|
|
29
29
|
* 两个 hook 都是实时推送快照:不轮询、不自建库、不落盘。
|
|
30
30
|
*
|
|
31
|
-
* ──
|
|
32
|
-
* running 由 true → false
|
|
33
|
-
*
|
|
31
|
+
* ── 「待查看」标记 ─────────────────────────────────────────────────
|
|
32
|
+
* running 由 true → false 的瞬间标记「刚完成」(内存态 + localStorage 持久化)。
|
|
33
|
+
* 只做面板里的被动标记,不弹任何浮层/通知/标题角标。
|
|
34
|
+
* 「点开就算看过」由 finishedAt 清除 + lastSeen 基线推进两件事一起保证。
|
|
34
35
|
*/
|
|
35
36
|
|
|
36
37
|
window.__ModuleLoader__.load({
|
|
@@ -1710,11 +1711,9 @@ let promptProbed = false
|
|
|
1710
1711
|
const lines = []
|
|
1711
1712
|
// 面板真实路径:observe + DIGEST_LIMIT 条,测耗时与载荷大小。
|
|
1712
1713
|
const realUrl = `sessionId=${encodeURIComponent(digestTarget)}&limit=${DIGEST_LIMIT}&fresh=1`
|
|
1713
|
-
const histUrl = `sessionId=session-9d2cd3d5-7770-4fac-9f23-0574c97d371d&limit=${DIGEST_LIMIT}&fresh=1`
|
|
1714
1714
|
const probes = [
|
|
1715
1715
|
{ label: 'panel-live', url: realUrl, bytes: true },
|
|
1716
1716
|
{ label: 'panel-live-cached', url: realUrl, bytes: true },
|
|
1717
|
-
{ label: 'panel-history', url: histUrl, bytes: true },
|
|
1718
1717
|
]
|
|
1719
1718
|
for (const probe of probes) {
|
|
1720
1719
|
try {
|