@decentnetwork/lan 0.1.271 → 0.1.272

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.
@@ -52,6 +52,11 @@ export declare class DaemonServer {
52
52
  * the surface the user was looking at stayed silent (INBOX 2026-08-05).
53
53
  * Bounded so a UI that never polls can't grow it unboundedly. */
54
54
  private readonly callSignalLog;
55
+ /** Seeded with the epoch so a cursor from a PREVIOUS daemon incarnation is
56
+ * always smaller than any new signal's seq. Seeded at 0, a daemon restart
57
+ * made every open tab deaf: their old cursor exceeded the fresh counter,
58
+ * so `seq > since` never matched and incoming calls stopped ringing until
59
+ * a hard refresh. */
55
60
  private callSignalSeq;
56
61
  /** Resolvers for in-flight call-poll long-polls, woken when a signal lands. */
57
62
  private callSignalWaiters;
@@ -98,7 +98,12 @@ export class DaemonServer {
98
98
  * the surface the user was looking at stayed silent (INBOX 2026-08-05).
99
99
  * Bounded so a UI that never polls can't grow it unboundedly. */
100
100
  callSignalLog = [];
101
- callSignalSeq = 0;
101
+ /** Seeded with the epoch so a cursor from a PREVIOUS daemon incarnation is
102
+ * always smaller than any new signal's seq. Seeded at 0, a daemon restart
103
+ * made every open tab deaf: their old cursor exceeded the fresh counter,
104
+ * so `seq > since` never matched and incoming calls stopped ringing until
105
+ * a hard refresh. */
106
+ callSignalSeq = Date.now();
102
107
  /** Resolvers for in-flight call-poll long-polls, woken when a signal lands. */
103
108
  callSignalWaiters = [];
104
109
  /** Call signals older than this have no business ringing anything. */
@@ -1,4 +1,4 @@
1
- window.__DK_UI_VERSION="0.1.271";
1
+ window.__DK_UI_VERSION="0.1.272";
2
2
  const ICON_PATHS = {
3
3
  // ---- tab bar (the four must feel like one set) ----
4
4
  users: '<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decentnetwork/lan",
3
- "version": "0.1.271",
3
+ "version": "0.1.272",
4
4
  "description": "Private virtual LAN for self-hosted services and AI agents, built on Elastos Carrier. NAT-traversal, name service, ACL, all over a peer-to-peer mesh — no public IP required.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",