@econ-v1/rpc 7.6.117 → 7.6.119

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.
@@ -13,7 +13,9 @@ export type SessionLeaseQueryResult = {
13
13
  readonly known: boolean;
14
14
  readonly you: "holder" | "standby" | "displaced" | "unknown";
15
15
  readonly holderDeviceId?: string;
16
+ readonly holderDeviceName?: string;
16
17
  readonly yieldRequestedBy?: string;
18
+ readonly yieldRequestedByName?: string;
17
19
  };
18
20
  export type SessionLeaseClaimMode = "try" | "takeover" | "resume";
19
21
  //# sourceMappingURL=session-lease-contract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session-lease-contract.d.ts","sourceRoot":"","sources":["../src/session-lease-contract.js"],"names":[],"mappings":"AAqCA;;;;GAIG;AACH,kDAHW,OAAO,GACL,qBAAqB,CAKjC;AAXD,kCAAyD,kBAAkB,CAAE;AAC7E,0CAAiE,wBAAwB,CAAE;AAC3F,4CAAmE,0BAA0B,CAAE;sCAfjF;IACb,QAAY,CAAC,EAAE,EAAE,eAAe,CAAC;IACjC,QAAY,CAAC,SAAS,EAAE,OAAO,CAAC;IAChC,QAAY,CAAC,KAAK,EAAE,OAAO,CAAC;IAC5B,QAAY,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IACjE,QAAY,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACrC,QAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CACpC;oCAEU,KAAK,GAAG,UAAU,GAAG,QAAQ"}
1
+ {"version":3,"file":"session-lease-contract.d.ts","sourceRoot":"","sources":["../src/session-lease-contract.js"],"names":[],"mappings":"AA0CA;;;;GAIG;AACH,kDAHW,OAAO,GACL,qBAAqB,CAKjC;AAXD,kCAAyD,kBAAkB,CAAE;AAC7E,0CAAiE,wBAAwB,CAAE;AAC3F,4CAAmE,0BAA0B,CAAE;sCAjBjF;IACb,QAAY,CAAC,EAAE,EAAE,eAAe,CAAC;IACjC,QAAY,CAAC,SAAS,EAAE,OAAO,CAAC;IAChC,QAAY,CAAC,KAAK,EAAE,OAAO,CAAC;IAC5B,QAAY,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;IACjE,QAAY,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACrC,QAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAY,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACvC,QAAY,CAAC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACxC;oCAEU,KAAK,GAAG,UAAU,GAAG,QAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@econ-v1/rpc",
3
- "version": "7.6.117",
3
+ "version": "7.6.119",
4
4
  "description": "Typed runtime and contracts for Node client stage-to-kernel RPC",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "Node contributors",
@@ -56,7 +56,7 @@
56
56
  "access": "public"
57
57
  },
58
58
  "dependencies": {
59
- "@econ-v1/domain": "7.6.117",
60
- "@econ-v1/ports": "7.6.117"
59
+ "@econ-v1/domain": "7.6.119",
60
+ "@econ-v1/ports": "7.6.119"
61
61
  }
62
62
  }
@@ -5,10 +5,13 @@
5
5
  *
6
6
  * `session.lease.v1` is a single-slot live query mirroring the kernel's
7
7
  * `SessionLeaseService` snapshot: `you` is this device's role in the node's
8
- * lease, `holderDeviceId` the current holder when the node told us, and
9
- * `yieldRequestedBy` a device id that asked to take the lease over (set
10
- * after a `session_lease.yield` frame; the UI engine reacts by flushing its
11
- * outbox and calling the `session.lease.release.v1` command).
8
+ * lease, `holderDeviceId` the current holder when the node told us (with its
9
+ * display name in `holderDeviceName` when the node knows it), and
10
+ * `yieldRequestedBy` a device id that asked to take the lease over (with its
11
+ * display name in `yieldRequestedByName`), set after a `session_lease.yield`
12
+ * frame; the UI engine reacts by flushing its outbox and calling the
13
+ * `session.lease.release.v1` command. The names let the pause screen show
14
+ * who holds or asked for the lease without querying the presence roster.
12
15
  *
13
16
  * `supported` is tri-state through `known`. `known` is true only once the
14
17
  * CURRENT socket's `server_features` were seen (a `supported` frame for the
@@ -25,7 +28,9 @@
25
28
  * readonly known: boolean;
26
29
  * readonly you: "holder" | "standby" | "displaced" | "unknown";
27
30
  * readonly holderDeviceId?: string;
31
+ * readonly holderDeviceName?: string;
28
32
  * readonly yieldRequestedBy?: string;
33
+ * readonly yieldRequestedByName?: string;
29
34
  * }} SessionLeaseQueryResult */
30
35
 
31
36
  /** @typedef {"try" | "takeover" | "resume"} SessionLeaseClaimMode */