@camstack/addon-ai 0.4.5 → 0.4.6

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 CHANGED
@@ -19347,7 +19347,31 @@ DeviceType.Camera, method(object({
19347
19347
  lastCapturedAt: number$1().nullable(),
19348
19348
  cacheAgeMs: number$1().nullable(),
19349
19349
  etag: string().nullable()
19350
- }))), systemMethod(object({
19350
+ }))), systemMethod(object({ deviceId: number$1() }), object({
19351
+ /** The battery slice as read, or null when the device has none. */
19352
+ battery: object({
19353
+ sleeping: boolean(),
19354
+ lastUpdated: number$1(),
19355
+ lastContactAt: number$1().optional()
19356
+ }).nullable(),
19357
+ /** The resolved snapshot state (what the overlay decision used). */
19358
+ state: object({
19359
+ isBattery: boolean(),
19360
+ reason: _enum([
19361
+ "disabled",
19362
+ "sleeping",
19363
+ "unreachable",
19364
+ "waking"
19365
+ ]).nullable()
19366
+ }),
19367
+ /** The cached frame behind the next paint. */
19368
+ frame: object({
19369
+ capturedAt: number$1().nullable(),
19370
+ ageMs: number$1().nullable()
19371
+ }),
19372
+ /** A wake window is currently open (the Waking overlay's source). */
19373
+ waking: boolean()
19374
+ })), systemMethod(object({
19351
19375
  /** The tiles a surface is actually rendering. One entry per (device,
19352
19376
  * width) the caller will paint — the width is snapped to the server's
19353
19377
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30562,6 +30586,12 @@ Object.freeze({
30562
30586
  addonId: null,
30563
30587
  access: "view"
30564
30588
  },
30589
+ "snapshot.getDebugState": {
30590
+ capName: "snapshot",
30591
+ capScope: "device",
30592
+ addonId: null,
30593
+ access: "view"
30594
+ },
30565
30595
  "snapshot.getSnapshot": {
30566
30596
  capName: "snapshot",
30567
30597
  capScope: "device",
@@ -33159,6 +33189,11 @@ Object.freeze({
33159
33189
  form: "single",
33160
33190
  optional: false
33161
33191
  }],
33192
+ "snapshot.getDebugState": [{
33193
+ name: "deviceId",
33194
+ form: "single",
33195
+ optional: false
33196
+ }],
33162
33197
  "snapshot.getSnapshot": [{
33163
33198
  name: "deviceId",
33164
33199
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19373,7 +19373,31 @@ DeviceType.Camera, method(object({
19373
19373
  lastCapturedAt: number$1().nullable(),
19374
19374
  cacheAgeMs: number$1().nullable(),
19375
19375
  etag: string().nullable()
19376
- }))), systemMethod(object({
19376
+ }))), systemMethod(object({ deviceId: number$1() }), object({
19377
+ /** The battery slice as read, or null when the device has none. */
19378
+ battery: object({
19379
+ sleeping: boolean(),
19380
+ lastUpdated: number$1(),
19381
+ lastContactAt: number$1().optional()
19382
+ }).nullable(),
19383
+ /** The resolved snapshot state (what the overlay decision used). */
19384
+ state: object({
19385
+ isBattery: boolean(),
19386
+ reason: _enum([
19387
+ "disabled",
19388
+ "sleeping",
19389
+ "unreachable",
19390
+ "waking"
19391
+ ]).nullable()
19392
+ }),
19393
+ /** The cached frame behind the next paint. */
19394
+ frame: object({
19395
+ capturedAt: number$1().nullable(),
19396
+ ageMs: number$1().nullable()
19397
+ }),
19398
+ /** A wake window is currently open (the Waking overlay's source). */
19399
+ waking: boolean()
19400
+ })), systemMethod(object({
19377
19401
  /** The tiles a surface is actually rendering. One entry per (device,
19378
19402
  * width) the caller will paint — the width is snapped to the server's
19379
19403
  * ladder and becomes part of the link's SIGNED identity. */
@@ -30588,6 +30612,12 @@ Object.freeze({
30588
30612
  addonId: null,
30589
30613
  access: "view"
30590
30614
  },
30615
+ "snapshot.getDebugState": {
30616
+ capName: "snapshot",
30617
+ capScope: "device",
30618
+ addonId: null,
30619
+ access: "view"
30620
+ },
30591
30621
  "snapshot.getSnapshot": {
30592
30622
  capName: "snapshot",
30593
30623
  capScope: "device",
@@ -33185,6 +33215,11 @@ Object.freeze({
33185
33215
  form: "single",
33186
33216
  optional: false
33187
33217
  }],
33218
+ "snapshot.getDebugState": [{
33219
+ name: "deviceId",
33220
+ form: "single",
33221
+ optional: false
33222
+ }],
33188
33223
  "snapshot.getSnapshot": [{
33189
33224
  name: "deviceId",
33190
33225
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "AI addon for CamStack — the `llm` collection provider (cloud, LAN, and camstack-managed local llama.cpp profiles) plus the per-node `llm-runtime` managed executor.",
5
5
  "keywords": [
6
6
  "camstack",