@camstack/addon-provider-dreame 0.1.27 → 0.1.28

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
@@ -4680,7 +4680,7 @@ function preprocess(fn, schema) {
4680
4680
  });
4681
4681
  }
4682
4682
  //#endregion
4683
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4683
+ //#region ../types/dist/sleep-Baang_XW.mjs
4684
4684
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4685
4685
  EventCategory["SystemBoot"] = "system.boot";
4686
4686
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11993,7 +11993,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11993
11993
  image: _instanceof(Uint8Array).optional(),
11994
11994
  referenceImage: string().optional(),
11995
11995
  deviceId: number().optional(),
11996
- sessionId: string().optional()
11996
+ sessionId: string().optional(),
11997
+ /**
11998
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11999
+ * reference-image, and detail-subtree calls. 'frame' is the live
12000
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12001
+ * (inputClasses ≠ null) are skipped and served per-track via
12002
+ * pipelineRunner.runDetailSubtree (two-plane design).
12003
+ */
12004
+ plane: _enum(["full", "frame"]).optional()
11997
12005
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11998
12006
  engine: PipelineEngineChoiceSchema.optional(),
11999
12007
  steps: array(PipelineStepInputSchema).min(1),
@@ -12169,6 +12177,28 @@ var NativeCropResultSchema = object({
12169
12177
  width: number().int().positive(),
12170
12178
  height: number().int().positive()
12171
12179
  });
12180
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12181
+ * originating detection, in FRAME-space coordinates. Reuses
12182
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12183
+ * the coordinates are frame-space rather than getNativeCrop's
12184
+ * normalized [0,1] convention). */
12185
+ var DetailParentSchema = object({
12186
+ bbox: NativeCropBboxSchema,
12187
+ className: string()
12188
+ });
12189
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12190
+ * or refined detection produced by running the crop-subtree on a
12191
+ * single tracked detection. */
12192
+ var DetailResultSchema = object({
12193
+ stepId: string(),
12194
+ className: string(),
12195
+ score: number(),
12196
+ /** FRAME-space bbox (already mapped back from crop space). */
12197
+ bbox: NativeCropBboxSchema.optional(),
12198
+ embedding: string().optional(),
12199
+ label: string().optional(),
12200
+ alignedCropJpeg: string().optional()
12201
+ });
12172
12202
  /**
12173
12203
  * Per-camera tunable ranges + defaults. Single source of truth used
12174
12204
  * by both the Zod data schema (validation + default fallback) and
@@ -12429,7 +12459,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12429
12459
  handle: FrameHandleSchema,
12430
12460
  bbox: NativeCropBboxSchema,
12431
12461
  maxWidth: number().int().positive().optional()
12432
- }), NativeCropResultSchema.nullable());
12462
+ }), NativeCropResultSchema.nullable()), method(object({
12463
+ deviceId: number(),
12464
+ frameHandle: FrameHandleSchema.optional(),
12465
+ cropJpeg: string().optional(),
12466
+ parent: DetailParentSchema,
12467
+ steps: array(string()).optional()
12468
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12433
12469
  /**
12434
12470
  * Hardware / firmware motion sensor cap — binary detected state plus
12435
12471
  * a timestamp of the last observation. Distinct from
@@ -24917,6 +24953,12 @@ Object.freeze({
24917
24953
  addonId: null,
24918
24954
  access: "create"
24919
24955
  },
24956
+ "pipelineRunner.runDetailSubtree": {
24957
+ capName: "pipeline-runner",
24958
+ capScope: "system",
24959
+ addonId: null,
24960
+ access: "create"
24961
+ },
24920
24962
  "plateGallery.correctPlateText": {
24921
24963
  capName: "plate-gallery",
24922
24964
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4680,7 +4680,7 @@ function preprocess(fn, schema) {
4680
4680
  });
4681
4681
  }
4682
4682
  //#endregion
4683
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4683
+ //#region ../types/dist/sleep-Baang_XW.mjs
4684
4684
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4685
4685
  EventCategory["SystemBoot"] = "system.boot";
4686
4686
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11993,7 +11993,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11993
11993
  image: _instanceof(Uint8Array).optional(),
11994
11994
  referenceImage: string().optional(),
11995
11995
  deviceId: number().optional(),
11996
- sessionId: string().optional()
11996
+ sessionId: string().optional(),
11997
+ /**
11998
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11999
+ * reference-image, and detail-subtree calls. 'frame' is the live
12000
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12001
+ * (inputClasses ≠ null) are skipped and served per-track via
12002
+ * pipelineRunner.runDetailSubtree (two-plane design).
12003
+ */
12004
+ plane: _enum(["full", "frame"]).optional()
11997
12005
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11998
12006
  engine: PipelineEngineChoiceSchema.optional(),
11999
12007
  steps: array(PipelineStepInputSchema).min(1),
@@ -12169,6 +12177,28 @@ var NativeCropResultSchema = object({
12169
12177
  width: number().int().positive(),
12170
12178
  height: number().int().positive()
12171
12179
  });
12180
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12181
+ * originating detection, in FRAME-space coordinates. Reuses
12182
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12183
+ * the coordinates are frame-space rather than getNativeCrop's
12184
+ * normalized [0,1] convention). */
12185
+ var DetailParentSchema = object({
12186
+ bbox: NativeCropBboxSchema,
12187
+ className: string()
12188
+ });
12189
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12190
+ * or refined detection produced by running the crop-subtree on a
12191
+ * single tracked detection. */
12192
+ var DetailResultSchema = object({
12193
+ stepId: string(),
12194
+ className: string(),
12195
+ score: number(),
12196
+ /** FRAME-space bbox (already mapped back from crop space). */
12197
+ bbox: NativeCropBboxSchema.optional(),
12198
+ embedding: string().optional(),
12199
+ label: string().optional(),
12200
+ alignedCropJpeg: string().optional()
12201
+ });
12172
12202
  /**
12173
12203
  * Per-camera tunable ranges + defaults. Single source of truth used
12174
12204
  * by both the Zod data schema (validation + default fallback) and
@@ -12429,7 +12459,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12429
12459
  handle: FrameHandleSchema,
12430
12460
  bbox: NativeCropBboxSchema,
12431
12461
  maxWidth: number().int().positive().optional()
12432
- }), NativeCropResultSchema.nullable());
12462
+ }), NativeCropResultSchema.nullable()), method(object({
12463
+ deviceId: number(),
12464
+ frameHandle: FrameHandleSchema.optional(),
12465
+ cropJpeg: string().optional(),
12466
+ parent: DetailParentSchema,
12467
+ steps: array(string()).optional()
12468
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12433
12469
  /**
12434
12470
  * Hardware / firmware motion sensor cap — binary detected state plus
12435
12471
  * a timestamp of the last observation. Distinct from
@@ -24917,6 +24953,12 @@ Object.freeze({
24917
24953
  addonId: null,
24918
24954
  access: "create"
24919
24955
  },
24956
+ "pipelineRunner.runDetailSubtree": {
24957
+ capName: "pipeline-runner",
24958
+ capScope: "system",
24959
+ addonId: null,
24960
+ access: "create"
24961
+ },
24920
24962
  "plateGallery.correctPlateText": {
24921
24963
  capName: "plate-gallery",
24922
24964
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",