@camstack/addon-provider-wyze 0.1.18 → 0.1.19

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
@@ -4659,7 +4659,7 @@ function _instanceof(cls, params = {}) {
4659
4659
  return inst;
4660
4660
  }
4661
4661
  //#endregion
4662
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4662
+ //#region ../types/dist/sleep-Baang_XW.mjs
4663
4663
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4664
4664
  EventCategory["SystemBoot"] = "system.boot";
4665
4665
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11972,7 +11972,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11972
11972
  image: _instanceof(Uint8Array).optional(),
11973
11973
  referenceImage: string().optional(),
11974
11974
  deviceId: number().optional(),
11975
- sessionId: string().optional()
11975
+ sessionId: string().optional(),
11976
+ /**
11977
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11978
+ * reference-image, and detail-subtree calls. 'frame' is the live
11979
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11980
+ * (inputClasses ≠ null) are skipped and served per-track via
11981
+ * pipelineRunner.runDetailSubtree (two-plane design).
11982
+ */
11983
+ plane: _enum(["full", "frame"]).optional()
11976
11984
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11977
11985
  engine: PipelineEngineChoiceSchema.optional(),
11978
11986
  steps: array(PipelineStepInputSchema).min(1),
@@ -12148,6 +12156,28 @@ var NativeCropResultSchema = object({
12148
12156
  width: number().int().positive(),
12149
12157
  height: number().int().positive()
12150
12158
  });
12159
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12160
+ * originating detection, in FRAME-space coordinates. Reuses
12161
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12162
+ * the coordinates are frame-space rather than getNativeCrop's
12163
+ * normalized [0,1] convention). */
12164
+ var DetailParentSchema = object({
12165
+ bbox: NativeCropBboxSchema,
12166
+ className: string()
12167
+ });
12168
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12169
+ * or refined detection produced by running the crop-subtree on a
12170
+ * single tracked detection. */
12171
+ var DetailResultSchema = object({
12172
+ stepId: string(),
12173
+ className: string(),
12174
+ score: number(),
12175
+ /** FRAME-space bbox (already mapped back from crop space). */
12176
+ bbox: NativeCropBboxSchema.optional(),
12177
+ embedding: string().optional(),
12178
+ label: string().optional(),
12179
+ alignedCropJpeg: string().optional()
12180
+ });
12151
12181
  /**
12152
12182
  * Per-camera tunable ranges + defaults. Single source of truth used
12153
12183
  * by both the Zod data schema (validation + default fallback) and
@@ -12408,7 +12438,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12408
12438
  handle: FrameHandleSchema,
12409
12439
  bbox: NativeCropBboxSchema,
12410
12440
  maxWidth: number().int().positive().optional()
12411
- }), NativeCropResultSchema.nullable());
12441
+ }), NativeCropResultSchema.nullable()), method(object({
12442
+ deviceId: number(),
12443
+ frameHandle: FrameHandleSchema.optional(),
12444
+ cropJpeg: string().optional(),
12445
+ parent: DetailParentSchema,
12446
+ steps: array(string()).optional()
12447
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12412
12448
  /**
12413
12449
  * Hardware / firmware motion sensor cap — binary detected state plus
12414
12450
  * a timestamp of the last observation. Distinct from
@@ -24994,6 +25030,12 @@ Object.freeze({
24994
25030
  addonId: null,
24995
25031
  access: "create"
24996
25032
  },
25033
+ "pipelineRunner.runDetailSubtree": {
25034
+ capName: "pipeline-runner",
25035
+ capScope: "system",
25036
+ addonId: null,
25037
+ access: "create"
25038
+ },
24997
25039
  "plateGallery.correctPlateText": {
24998
25040
  capName: "plate-gallery",
24999
25041
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4638,7 +4638,7 @@ function _instanceof(cls, params = {}) {
4638
4638
  return inst;
4639
4639
  }
4640
4640
  //#endregion
4641
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4641
+ //#region ../types/dist/sleep-Baang_XW.mjs
4642
4642
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4643
4643
  EventCategory["SystemBoot"] = "system.boot";
4644
4644
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11951,7 +11951,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11951
11951
  image: _instanceof(Uint8Array).optional(),
11952
11952
  referenceImage: string().optional(),
11953
11953
  deviceId: number().optional(),
11954
- sessionId: string().optional()
11954
+ sessionId: string().optional(),
11955
+ /**
11956
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11957
+ * reference-image, and detail-subtree calls. 'frame' is the live
11958
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11959
+ * (inputClasses ≠ null) are skipped and served per-track via
11960
+ * pipelineRunner.runDetailSubtree (two-plane design).
11961
+ */
11962
+ plane: _enum(["full", "frame"]).optional()
11955
11963
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11956
11964
  engine: PipelineEngineChoiceSchema.optional(),
11957
11965
  steps: array(PipelineStepInputSchema).min(1),
@@ -12127,6 +12135,28 @@ var NativeCropResultSchema = object({
12127
12135
  width: number().int().positive(),
12128
12136
  height: number().int().positive()
12129
12137
  });
12138
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12139
+ * originating detection, in FRAME-space coordinates. Reuses
12140
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12141
+ * the coordinates are frame-space rather than getNativeCrop's
12142
+ * normalized [0,1] convention). */
12143
+ var DetailParentSchema = object({
12144
+ bbox: NativeCropBboxSchema,
12145
+ className: string()
12146
+ });
12147
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12148
+ * or refined detection produced by running the crop-subtree on a
12149
+ * single tracked detection. */
12150
+ var DetailResultSchema = object({
12151
+ stepId: string(),
12152
+ className: string(),
12153
+ score: number(),
12154
+ /** FRAME-space bbox (already mapped back from crop space). */
12155
+ bbox: NativeCropBboxSchema.optional(),
12156
+ embedding: string().optional(),
12157
+ label: string().optional(),
12158
+ alignedCropJpeg: string().optional()
12159
+ });
12130
12160
  /**
12131
12161
  * Per-camera tunable ranges + defaults. Single source of truth used
12132
12162
  * by both the Zod data schema (validation + default fallback) and
@@ -12387,7 +12417,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12387
12417
  handle: FrameHandleSchema,
12388
12418
  bbox: NativeCropBboxSchema,
12389
12419
  maxWidth: number().int().positive().optional()
12390
- }), NativeCropResultSchema.nullable());
12420
+ }), NativeCropResultSchema.nullable()), method(object({
12421
+ deviceId: number(),
12422
+ frameHandle: FrameHandleSchema.optional(),
12423
+ cropJpeg: string().optional(),
12424
+ parent: DetailParentSchema,
12425
+ steps: array(string()).optional()
12426
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12391
12427
  /**
12392
12428
  * Hardware / firmware motion sensor cap — binary detected state plus
12393
12429
  * a timestamp of the last observation. Distinct from
@@ -24973,6 +25009,12 @@ Object.freeze({
24973
25009
  addonId: null,
24974
25010
  access: "create"
24975
25011
  },
25012
+ "pipelineRunner.runDetailSubtree": {
25013
+ capName: "pipeline-runner",
25014
+ capScope: "system",
25015
+ addonId: null,
25016
+ access: "create"
25017
+ },
24976
25018
  "plateGallery.correctPlateText": {
24977
25019
  capName: "plate-gallery",
24978
25020
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",