@camstack/addon-provider-homeassistant 1.1.23 → 1.1.24

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
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4632
+ //#region ../types/dist/sleep-Baang_XW.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -12180,7 +12180,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
12180
12180
  image: _instanceof(Uint8Array).optional(),
12181
12181
  referenceImage: string().optional(),
12182
12182
  deviceId: number().optional(),
12183
- sessionId: string().optional()
12183
+ sessionId: string().optional(),
12184
+ /**
12185
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
12186
+ * reference-image, and detail-subtree calls. 'frame' is the live
12187
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12188
+ * (inputClasses ≠ null) are skipped and served per-track via
12189
+ * pipelineRunner.runDetailSubtree (two-plane design).
12190
+ */
12191
+ plane: _enum(["full", "frame"]).optional()
12184
12192
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
12185
12193
  engine: PipelineEngineChoiceSchema.optional(),
12186
12194
  steps: array(PipelineStepInputSchema).min(1),
@@ -12356,6 +12364,28 @@ var NativeCropResultSchema = object({
12356
12364
  width: number().int().positive(),
12357
12365
  height: number().int().positive()
12358
12366
  });
12367
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12368
+ * originating detection, in FRAME-space coordinates. Reuses
12369
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12370
+ * the coordinates are frame-space rather than getNativeCrop's
12371
+ * normalized [0,1] convention). */
12372
+ var DetailParentSchema = object({
12373
+ bbox: NativeCropBboxSchema,
12374
+ className: string()
12375
+ });
12376
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12377
+ * or refined detection produced by running the crop-subtree on a
12378
+ * single tracked detection. */
12379
+ var DetailResultSchema = object({
12380
+ stepId: string(),
12381
+ className: string(),
12382
+ score: number(),
12383
+ /** FRAME-space bbox (already mapped back from crop space). */
12384
+ bbox: NativeCropBboxSchema.optional(),
12385
+ embedding: string().optional(),
12386
+ label: string().optional(),
12387
+ alignedCropJpeg: string().optional()
12388
+ });
12359
12389
  /**
12360
12390
  * Per-camera tunable ranges + defaults. Single source of truth used
12361
12391
  * by both the Zod data schema (validation + default fallback) and
@@ -12616,7 +12646,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12616
12646
  handle: FrameHandleSchema,
12617
12647
  bbox: NativeCropBboxSchema,
12618
12648
  maxWidth: number().int().positive().optional()
12619
- }), NativeCropResultSchema.nullable());
12649
+ }), NativeCropResultSchema.nullable()), method(object({
12650
+ deviceId: number(),
12651
+ frameHandle: FrameHandleSchema.optional(),
12652
+ cropJpeg: string().optional(),
12653
+ parent: DetailParentSchema,
12654
+ steps: array(string()).optional()
12655
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12620
12656
  /**
12621
12657
  * Hardware / firmware motion sensor cap — binary detected state plus
12622
12658
  * a timestamp of the last observation. Distinct from
@@ -25239,6 +25275,12 @@ Object.freeze({
25239
25275
  addonId: null,
25240
25276
  access: "create"
25241
25277
  },
25278
+ "pipelineRunner.runDetailSubtree": {
25279
+ capName: "pipeline-runner",
25280
+ capScope: "system",
25281
+ addonId: null,
25282
+ access: "create"
25283
+ },
25242
25284
  "plateGallery.correctPlateText": {
25243
25285
  capName: "plate-gallery",
25244
25286
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
4628
4628
  return inst;
4629
4629
  }
4630
4630
  //#endregion
4631
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4631
+ //#region ../types/dist/sleep-Baang_XW.mjs
4632
4632
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4633
4633
  EventCategory["SystemBoot"] = "system.boot";
4634
4634
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -12179,7 +12179,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
12179
12179
  image: _instanceof(Uint8Array).optional(),
12180
12180
  referenceImage: string().optional(),
12181
12181
  deviceId: number().optional(),
12182
- sessionId: string().optional()
12182
+ sessionId: string().optional(),
12183
+ /**
12184
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
12185
+ * reference-image, and detail-subtree calls. 'frame' is the live
12186
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12187
+ * (inputClasses ≠ null) are skipped and served per-track via
12188
+ * pipelineRunner.runDetailSubtree (two-plane design).
12189
+ */
12190
+ plane: _enum(["full", "frame"]).optional()
12183
12191
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
12184
12192
  engine: PipelineEngineChoiceSchema.optional(),
12185
12193
  steps: array(PipelineStepInputSchema).min(1),
@@ -12355,6 +12363,28 @@ var NativeCropResultSchema = object({
12355
12363
  width: number().int().positive(),
12356
12364
  height: number().int().positive()
12357
12365
  });
12366
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12367
+ * originating detection, in FRAME-space coordinates. Reuses
12368
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12369
+ * the coordinates are frame-space rather than getNativeCrop's
12370
+ * normalized [0,1] convention). */
12371
+ var DetailParentSchema = object({
12372
+ bbox: NativeCropBboxSchema,
12373
+ className: string()
12374
+ });
12375
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12376
+ * or refined detection produced by running the crop-subtree on a
12377
+ * single tracked detection. */
12378
+ var DetailResultSchema = object({
12379
+ stepId: string(),
12380
+ className: string(),
12381
+ score: number(),
12382
+ /** FRAME-space bbox (already mapped back from crop space). */
12383
+ bbox: NativeCropBboxSchema.optional(),
12384
+ embedding: string().optional(),
12385
+ label: string().optional(),
12386
+ alignedCropJpeg: string().optional()
12387
+ });
12358
12388
  /**
12359
12389
  * Per-camera tunable ranges + defaults. Single source of truth used
12360
12390
  * by both the Zod data schema (validation + default fallback) and
@@ -12615,7 +12645,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12615
12645
  handle: FrameHandleSchema,
12616
12646
  bbox: NativeCropBboxSchema,
12617
12647
  maxWidth: number().int().positive().optional()
12618
- }), NativeCropResultSchema.nullable());
12648
+ }), NativeCropResultSchema.nullable()), method(object({
12649
+ deviceId: number(),
12650
+ frameHandle: FrameHandleSchema.optional(),
12651
+ cropJpeg: string().optional(),
12652
+ parent: DetailParentSchema,
12653
+ steps: array(string()).optional()
12654
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12619
12655
  /**
12620
12656
  * Hardware / firmware motion sensor cap — binary detected state plus
12621
12657
  * a timestamp of the last observation. Distinct from
@@ -25238,6 +25274,12 @@ Object.freeze({
25238
25274
  addonId: null,
25239
25275
  access: "create"
25240
25276
  },
25277
+ "pipelineRunner.runDetailSubtree": {
25278
+ capName: "pipeline-runner",
25279
+ capScope: "system",
25280
+ addonId: null,
25281
+ access: "create"
25282
+ },
25241
25283
  "plateGallery.correctPlateText": {
25242
25284
  capName: "plate-gallery",
25243
25285
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homeassistant",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "Home Assistant device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",