@camstack/addon-ai 0.4.65 → 0.4.67

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
@@ -7756,7 +7756,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7756
7756
  var CameraSwitchUnavailableReasonSchema = _enum([
7757
7757
  "no-provider",
7758
7758
  "source-unreachable",
7759
- "not-configured"
7759
+ "not-configured",
7760
+ "device-disabled"
7760
7761
  ]);
7761
7762
  /**
7762
7763
  * One switch, resolved for one camera.
@@ -12956,7 +12957,12 @@ var ConfigEntrySchema = object({
12956
12957
  value: unknown(),
12957
12958
  description: string().optional()
12958
12959
  });
12959
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12960
+ /**
12961
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12962
+ * field survives on the wire because a viewer already OTA'd parses it —
12963
+ * drop it once no shipped client reads `mode`.
12964
+ */
12965
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12960
12966
  /** One resolved linked device — the compact projection consumers need. */
12961
12967
  var LinkedDeviceSchema = object({
12962
12968
  deviceId: number$1(),
@@ -23368,12 +23374,20 @@ var BatteryStatusSchema = object({
23368
23374
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23369
23375
  * Reolink-specific for the Solar Panel 2 accessory (will become
23370
23376
  * common on other battery cams). `'none'` means running on battery
23371
- * alone.
23377
+ * alone — a NEGATIVE the firmware actually reported.
23378
+ *
23379
+ * `'unknown'` is the absence of an answer: the provider has not read the
23380
+ * power fields yet, or the firmware reported neither. Before it existed,
23381
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23382
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23383
+ * by going nullable. Consumers SKIP it (no charger state published, no
23384
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23372
23385
  */
23373
23386
  charging: _enum([
23374
23387
  "dc",
23375
23388
  "solar",
23376
- "none"
23389
+ "none",
23390
+ "unknown"
23377
23391
  ]),
23378
23392
  /**
23379
23393
  * True when the camera firmware has gone into low-power mode. Battery
package/dist/addon.mjs CHANGED
@@ -7783,7 +7783,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7783
7783
  var CameraSwitchUnavailableReasonSchema = _enum([
7784
7784
  "no-provider",
7785
7785
  "source-unreachable",
7786
- "not-configured"
7786
+ "not-configured",
7787
+ "device-disabled"
7787
7788
  ]);
7788
7789
  /**
7789
7790
  * One switch, resolved for one camera.
@@ -12983,7 +12984,12 @@ var ConfigEntrySchema = object({
12983
12984
  value: unknown(),
12984
12985
  description: string().optional()
12985
12986
  });
12986
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
12987
+ /**
12988
+ * Only `manual` since D356: the operator picks, nothing links itself. The
12989
+ * field survives on the wire because a viewer already OTA'd parses it —
12990
+ * drop it once no shipped client reads `mode`.
12991
+ */
12992
+ var LinkedDevicesModeSchema = _enum(["manual"]);
12987
12993
  /** One resolved linked device — the compact projection consumers need. */
12988
12994
  var LinkedDeviceSchema = object({
12989
12995
  deviceId: number$1(),
@@ -23395,12 +23401,20 @@ var BatteryStatusSchema = object({
23395
23401
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23396
23402
  * Reolink-specific for the Solar Panel 2 accessory (will become
23397
23403
  * common on other battery cams). `'none'` means running on battery
23398
- * alone.
23404
+ * alone — a NEGATIVE the firmware actually reported.
23405
+ *
23406
+ * `'unknown'` is the absence of an answer: the provider has not read the
23407
+ * power fields yet, or the firmware reported neither. Before it existed,
23408
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23409
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23410
+ * by going nullable. Consumers SKIP it (no charger state published, no
23411
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23399
23412
  */
23400
23413
  charging: _enum([
23401
23414
  "dc",
23402
23415
  "solar",
23403
- "none"
23416
+ "none",
23417
+ "unknown"
23404
23418
  ]),
23405
23419
  /**
23406
23420
  * True when the camera firmware has gone into low-power mode. Battery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.65",
3
+ "version": "0.4.67",
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",