@camstack/addon-matter-broker 0.2.17 → 0.2.19
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/dist/addon.js +44 -2
- package/dist/addon.mjs +44 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19482,7 +19482,31 @@ DeviceType.Camera, method(object({
|
|
|
19482
19482
|
lastCapturedAt: number().nullable(),
|
|
19483
19483
|
cacheAgeMs: number().nullable(),
|
|
19484
19484
|
etag: string$2().nullable()
|
|
19485
|
-
}))), systemMethod(object({
|
|
19485
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19486
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19487
|
+
battery: object({
|
|
19488
|
+
sleeping: boolean(),
|
|
19489
|
+
lastUpdated: number(),
|
|
19490
|
+
lastContactAt: number().optional()
|
|
19491
|
+
}).nullable(),
|
|
19492
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19493
|
+
state: object({
|
|
19494
|
+
isBattery: boolean(),
|
|
19495
|
+
reason: _enum([
|
|
19496
|
+
"disabled",
|
|
19497
|
+
"sleeping",
|
|
19498
|
+
"unreachable",
|
|
19499
|
+
"waking"
|
|
19500
|
+
]).nullable()
|
|
19501
|
+
}),
|
|
19502
|
+
/** The cached frame behind the next paint. */
|
|
19503
|
+
frame: object({
|
|
19504
|
+
capturedAt: number().nullable(),
|
|
19505
|
+
ageMs: number().nullable()
|
|
19506
|
+
}),
|
|
19507
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19508
|
+
waking: boolean()
|
|
19509
|
+
})), systemMethod(object({
|
|
19486
19510
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19487
19511
|
* width) the caller will paint — the width is snapped to the server's
|
|
19488
19512
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19521,7 +19545,14 @@ targets: array(object({
|
|
|
19521
19545
|
"sleeping",
|
|
19522
19546
|
"unreachable",
|
|
19523
19547
|
"waking"
|
|
19524
|
-
]).nullable()
|
|
19548
|
+
]).nullable(),
|
|
19549
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19550
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19551
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19552
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19553
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19554
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19555
|
+
battery: boolean()
|
|
19525
19556
|
})));
|
|
19526
19557
|
/**
|
|
19527
19558
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -34087,6 +34118,12 @@ Object.freeze({
|
|
|
34087
34118
|
addonId: null,
|
|
34088
34119
|
access: "view"
|
|
34089
34120
|
},
|
|
34121
|
+
"snapshot.getDebugState": {
|
|
34122
|
+
capName: "snapshot",
|
|
34123
|
+
capScope: "device",
|
|
34124
|
+
addonId: null,
|
|
34125
|
+
access: "view"
|
|
34126
|
+
},
|
|
34090
34127
|
"snapshot.getSnapshot": {
|
|
34091
34128
|
capName: "snapshot",
|
|
34092
34129
|
capScope: "device",
|
|
@@ -36684,6 +36721,11 @@ Object.freeze({
|
|
|
36684
36721
|
form: "single",
|
|
36685
36722
|
optional: false
|
|
36686
36723
|
}],
|
|
36724
|
+
"snapshot.getDebugState": [{
|
|
36725
|
+
name: "deviceId",
|
|
36726
|
+
form: "single",
|
|
36727
|
+
optional: false
|
|
36728
|
+
}],
|
|
36687
36729
|
"snapshot.getSnapshot": [{
|
|
36688
36730
|
name: "deviceId",
|
|
36689
36731
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -19480,7 +19480,31 @@ DeviceType.Camera, method(object({
|
|
|
19480
19480
|
lastCapturedAt: number().nullable(),
|
|
19481
19481
|
cacheAgeMs: number().nullable(),
|
|
19482
19482
|
etag: string$2().nullable()
|
|
19483
|
-
}))), systemMethod(object({
|
|
19483
|
+
}))), systemMethod(object({ deviceId: number() }), object({
|
|
19484
|
+
/** The battery slice as read, or null when the device has none. */
|
|
19485
|
+
battery: object({
|
|
19486
|
+
sleeping: boolean(),
|
|
19487
|
+
lastUpdated: number(),
|
|
19488
|
+
lastContactAt: number().optional()
|
|
19489
|
+
}).nullable(),
|
|
19490
|
+
/** The resolved snapshot state (what the overlay decision used). */
|
|
19491
|
+
state: object({
|
|
19492
|
+
isBattery: boolean(),
|
|
19493
|
+
reason: _enum([
|
|
19494
|
+
"disabled",
|
|
19495
|
+
"sleeping",
|
|
19496
|
+
"unreachable",
|
|
19497
|
+
"waking"
|
|
19498
|
+
]).nullable()
|
|
19499
|
+
}),
|
|
19500
|
+
/** The cached frame behind the next paint. */
|
|
19501
|
+
frame: object({
|
|
19502
|
+
capturedAt: number().nullable(),
|
|
19503
|
+
ageMs: number().nullable()
|
|
19504
|
+
}),
|
|
19505
|
+
/** A wake window is currently open (the Waking overlay's source). */
|
|
19506
|
+
waking: boolean()
|
|
19507
|
+
})), systemMethod(object({
|
|
19484
19508
|
/** The tiles a surface is actually rendering. One entry per (device,
|
|
19485
19509
|
* width) the caller will paint — the width is snapped to the server's
|
|
19486
19510
|
* ladder and becomes part of the link's SIGNED identity. */
|
|
@@ -19519,7 +19543,14 @@ targets: array(object({
|
|
|
19519
19543
|
"sleeping",
|
|
19520
19544
|
"unreachable",
|
|
19521
19545
|
"waking"
|
|
19522
|
-
]).nullable()
|
|
19546
|
+
]).nullable(),
|
|
19547
|
+
/** A battery camera (whatever its current state). An AWAKE battery
|
|
19548
|
+
* camera is deliberately NOT recaptured on the poll cadence — every
|
|
19549
|
+
* capture is a camera hit that would keep it out of sleep — so its
|
|
19550
|
+
* cached frame legitimately ages past the currency ceiling while
|
|
19551
|
+
* nothing is streaming. A surface must keep painting it (a fresh
|
|
19552
|
+
* frame is captured at each wake), not blank to "unavailable". */
|
|
19553
|
+
battery: boolean()
|
|
19523
19554
|
})));
|
|
19524
19555
|
/**
|
|
19525
19556
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -34085,6 +34116,12 @@ Object.freeze({
|
|
|
34085
34116
|
addonId: null,
|
|
34086
34117
|
access: "view"
|
|
34087
34118
|
},
|
|
34119
|
+
"snapshot.getDebugState": {
|
|
34120
|
+
capName: "snapshot",
|
|
34121
|
+
capScope: "device",
|
|
34122
|
+
addonId: null,
|
|
34123
|
+
access: "view"
|
|
34124
|
+
},
|
|
34088
34125
|
"snapshot.getSnapshot": {
|
|
34089
34126
|
capName: "snapshot",
|
|
34090
34127
|
capScope: "device",
|
|
@@ -36682,6 +36719,11 @@ Object.freeze({
|
|
|
36682
36719
|
form: "single",
|
|
36683
36720
|
optional: false
|
|
36684
36721
|
}],
|
|
36722
|
+
"snapshot.getDebugState": [{
|
|
36723
|
+
name: "deviceId",
|
|
36724
|
+
form: "single",
|
|
36725
|
+
optional: false
|
|
36726
|
+
}],
|
|
36685
36727
|
"snapshot.getSnapshot": [{
|
|
36686
36728
|
name: "deviceId",
|
|
36687
36729
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|