@camstack/addon-terminal 0.1.87 → 0.1.88

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
@@ -29360,8 +29360,27 @@ var PrivacyMaskRegionSchema = object({
29360
29360
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29361
29361
  var PrivacyMaskStatusSchema = object({
29362
29362
  enabled: boolean(),
29363
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29364
- regions: array(PrivacyMaskRegionSchema),
29363
+ /**
29364
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29365
+ *
29366
+ * `null` means "no answer" — the provider has never reached this camera
29367
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29368
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29369
+ * has no zones": those two look identical to an operator right up to the
29370
+ * moment one of them is acted on, and acting on them differs completely.
29371
+ * The switch group turned an unanswered read into *"nothing is set up for
29372
+ * it to act on"* — an instruction to go and draw a zone that already
29373
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29374
+ * from deleting the mask it could not read.
29375
+ *
29376
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29377
+ * has no zones. The distinction is the same one {@link
29378
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29379
+ * microphone, on the very same payload — both planes come from ONE refresh,
29380
+ * so it was never coherent for one of them to be able to say "unknown"
29381
+ * while the other could not.
29382
+ */
29383
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29365
29384
  /**
29366
29385
  * Is the camera capturing sound right now? Read from the camera, never from
29367
29386
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -29337,8 +29337,27 @@ var PrivacyMaskRegionSchema = object({
29337
29337
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29338
29338
  var PrivacyMaskStatusSchema = object({
29339
29339
  enabled: boolean(),
29340
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29341
- regions: array(PrivacyMaskRegionSchema),
29340
+ /**
29341
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29342
+ *
29343
+ * `null` means "no answer" — the provider has never reached this camera
29344
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29345
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29346
+ * has no zones": those two look identical to an operator right up to the
29347
+ * moment one of them is acted on, and acting on them differs completely.
29348
+ * The switch group turned an unanswered read into *"nothing is set up for
29349
+ * it to act on"* — an instruction to go and draw a zone that already
29350
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29351
+ * from deleting the mask it could not read.
29352
+ *
29353
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29354
+ * has no zones. The distinction is the same one {@link
29355
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29356
+ * microphone, on the very same payload — both planes come from ONE refresh,
29357
+ * so it was never coherent for one of them to be able to say "unknown"
29358
+ * while the other could not.
29359
+ */
29360
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29342
29361
  /**
29343
29362
  * Is the camera capturing sound right now? Read from the camera, never from
29344
29363
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",