@camstack/addon-provider-homematic 1.1.20 → 1.1.21

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
@@ -4651,7 +4651,7 @@ function preprocess(fn, schema) {
4651
4651
  });
4652
4652
  }
4653
4653
  //#endregion
4654
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4654
+ //#region ../types/dist/sleep-Baang_XW.mjs
4655
4655
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4656
4656
  EventCategory["SystemBoot"] = "system.boot";
4657
4657
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11964,7 +11964,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11964
11964
  image: _instanceof(Uint8Array).optional(),
11965
11965
  referenceImage: string().optional(),
11966
11966
  deviceId: number().optional(),
11967
- sessionId: string().optional()
11967
+ sessionId: string().optional(),
11968
+ /**
11969
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11970
+ * reference-image, and detail-subtree calls. 'frame' is the live
11971
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11972
+ * (inputClasses ≠ null) are skipped and served per-track via
11973
+ * pipelineRunner.runDetailSubtree (two-plane design).
11974
+ */
11975
+ plane: _enum(["full", "frame"]).optional()
11968
11976
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11969
11977
  engine: PipelineEngineChoiceSchema.optional(),
11970
11978
  steps: array(PipelineStepInputSchema).min(1),
@@ -12140,6 +12148,28 @@ var NativeCropResultSchema = object({
12140
12148
  width: number().int().positive(),
12141
12149
  height: number().int().positive()
12142
12150
  });
12151
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12152
+ * originating detection, in FRAME-space coordinates. Reuses
12153
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12154
+ * the coordinates are frame-space rather than getNativeCrop's
12155
+ * normalized [0,1] convention). */
12156
+ var DetailParentSchema = object({
12157
+ bbox: NativeCropBboxSchema,
12158
+ className: string()
12159
+ });
12160
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12161
+ * or refined detection produced by running the crop-subtree on a
12162
+ * single tracked detection. */
12163
+ var DetailResultSchema = object({
12164
+ stepId: string(),
12165
+ className: string(),
12166
+ score: number(),
12167
+ /** FRAME-space bbox (already mapped back from crop space). */
12168
+ bbox: NativeCropBboxSchema.optional(),
12169
+ embedding: string().optional(),
12170
+ label: string().optional(),
12171
+ alignedCropJpeg: string().optional()
12172
+ });
12143
12173
  /**
12144
12174
  * Per-camera tunable ranges + defaults. Single source of truth used
12145
12175
  * by both the Zod data schema (validation + default fallback) and
@@ -12400,7 +12430,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12400
12430
  handle: FrameHandleSchema,
12401
12431
  bbox: NativeCropBboxSchema,
12402
12432
  maxWidth: number().int().positive().optional()
12403
- }), NativeCropResultSchema.nullable());
12433
+ }), NativeCropResultSchema.nullable()), method(object({
12434
+ deviceId: number(),
12435
+ frameHandle: FrameHandleSchema.optional(),
12436
+ cropJpeg: string().optional(),
12437
+ parent: DetailParentSchema,
12438
+ steps: array(string()).optional()
12439
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12404
12440
  /**
12405
12441
  * Hardware / firmware motion sensor cap — binary detected state plus
12406
12442
  * a timestamp of the last observation. Distinct from
@@ -24920,6 +24956,12 @@ Object.freeze({
24920
24956
  addonId: null,
24921
24957
  access: "create"
24922
24958
  },
24959
+ "pipelineRunner.runDetailSubtree": {
24960
+ capName: "pipeline-runner",
24961
+ capScope: "system",
24962
+ addonId: null,
24963
+ access: "create"
24964
+ },
24923
24965
  "plateGallery.correctPlateText": {
24924
24966
  capName: "plate-gallery",
24925
24967
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4652,7 +4652,7 @@ function preprocess(fn, schema) {
4652
4652
  });
4653
4653
  }
4654
4654
  //#endregion
4655
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4655
+ //#region ../types/dist/sleep-Baang_XW.mjs
4656
4656
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4657
4657
  EventCategory["SystemBoot"] = "system.boot";
4658
4658
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11965,7 +11965,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11965
11965
  image: _instanceof(Uint8Array).optional(),
11966
11966
  referenceImage: string().optional(),
11967
11967
  deviceId: number().optional(),
11968
- sessionId: string().optional()
11968
+ sessionId: string().optional(),
11969
+ /**
11970
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11971
+ * reference-image, and detail-subtree calls. 'frame' is the live
11972
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11973
+ * (inputClasses ≠ null) are skipped and served per-track via
11974
+ * pipelineRunner.runDetailSubtree (two-plane design).
11975
+ */
11976
+ plane: _enum(["full", "frame"]).optional()
11969
11977
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11970
11978
  engine: PipelineEngineChoiceSchema.optional(),
11971
11979
  steps: array(PipelineStepInputSchema).min(1),
@@ -12141,6 +12149,28 @@ var NativeCropResultSchema = object({
12141
12149
  width: number().int().positive(),
12142
12150
  height: number().int().positive()
12143
12151
  });
12152
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12153
+ * originating detection, in FRAME-space coordinates. Reuses
12154
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12155
+ * the coordinates are frame-space rather than getNativeCrop's
12156
+ * normalized [0,1] convention). */
12157
+ var DetailParentSchema = object({
12158
+ bbox: NativeCropBboxSchema,
12159
+ className: string()
12160
+ });
12161
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12162
+ * or refined detection produced by running the crop-subtree on a
12163
+ * single tracked detection. */
12164
+ var DetailResultSchema = object({
12165
+ stepId: string(),
12166
+ className: string(),
12167
+ score: number(),
12168
+ /** FRAME-space bbox (already mapped back from crop space). */
12169
+ bbox: NativeCropBboxSchema.optional(),
12170
+ embedding: string().optional(),
12171
+ label: string().optional(),
12172
+ alignedCropJpeg: string().optional()
12173
+ });
12144
12174
  /**
12145
12175
  * Per-camera tunable ranges + defaults. Single source of truth used
12146
12176
  * by both the Zod data schema (validation + default fallback) and
@@ -12401,7 +12431,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12401
12431
  handle: FrameHandleSchema,
12402
12432
  bbox: NativeCropBboxSchema,
12403
12433
  maxWidth: number().int().positive().optional()
12404
- }), NativeCropResultSchema.nullable());
12434
+ }), NativeCropResultSchema.nullable()), method(object({
12435
+ deviceId: number(),
12436
+ frameHandle: FrameHandleSchema.optional(),
12437
+ cropJpeg: string().optional(),
12438
+ parent: DetailParentSchema,
12439
+ steps: array(string()).optional()
12440
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12405
12441
  /**
12406
12442
  * Hardware / firmware motion sensor cap — binary detected state plus
12407
12443
  * a timestamp of the last observation. Distinct from
@@ -24921,6 +24957,12 @@ Object.freeze({
24921
24957
  addonId: null,
24922
24958
  access: "create"
24923
24959
  },
24960
+ "pipelineRunner.runDetailSubtree": {
24961
+ capName: "pipeline-runner",
24962
+ capScope: "system",
24963
+ addonId: null,
24964
+ access: "create"
24965
+ },
24924
24966
  "plateGallery.correctPlateText": {
24925
24967
  capName: "plate-gallery",
24926
24968
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",