@camstack/addon-provider-hikvision 1.1.22 → 1.1.23

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
@@ -4635,7 +4635,7 @@ function _instanceof(cls, params = {}) {
4635
4635
  return inst;
4636
4636
  }
4637
4637
  //#endregion
4638
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4638
+ //#region ../types/dist/sleep-Baang_XW.mjs
4639
4639
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4640
4640
  EventCategory["SystemBoot"] = "system.boot";
4641
4641
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -12216,7 +12216,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
12216
12216
  image: _instanceof(Uint8Array).optional(),
12217
12217
  referenceImage: string().optional(),
12218
12218
  deviceId: number().optional(),
12219
- sessionId: string().optional()
12219
+ sessionId: string().optional(),
12220
+ /**
12221
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
12222
+ * reference-image, and detail-subtree calls. 'frame' is the live
12223
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12224
+ * (inputClasses ≠ null) are skipped and served per-track via
12225
+ * pipelineRunner.runDetailSubtree (two-plane design).
12226
+ */
12227
+ plane: _enum(["full", "frame"]).optional()
12220
12228
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
12221
12229
  engine: PipelineEngineChoiceSchema.optional(),
12222
12230
  steps: array(PipelineStepInputSchema).min(1),
@@ -12392,6 +12400,28 @@ var NativeCropResultSchema = object({
12392
12400
  width: number().int().positive(),
12393
12401
  height: number().int().positive()
12394
12402
  });
12403
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12404
+ * originating detection, in FRAME-space coordinates. Reuses
12405
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12406
+ * the coordinates are frame-space rather than getNativeCrop's
12407
+ * normalized [0,1] convention). */
12408
+ var DetailParentSchema = object({
12409
+ bbox: NativeCropBboxSchema,
12410
+ className: string()
12411
+ });
12412
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12413
+ * or refined detection produced by running the crop-subtree on a
12414
+ * single tracked detection. */
12415
+ var DetailResultSchema = object({
12416
+ stepId: string(),
12417
+ className: string(),
12418
+ score: number(),
12419
+ /** FRAME-space bbox (already mapped back from crop space). */
12420
+ bbox: NativeCropBboxSchema.optional(),
12421
+ embedding: string().optional(),
12422
+ label: string().optional(),
12423
+ alignedCropJpeg: string().optional()
12424
+ });
12395
12425
  /**
12396
12426
  * Per-camera tunable ranges + defaults. Single source of truth used
12397
12427
  * by both the Zod data schema (validation + default fallback) and
@@ -12652,7 +12682,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12652
12682
  handle: FrameHandleSchema,
12653
12683
  bbox: NativeCropBboxSchema,
12654
12684
  maxWidth: number().int().positive().optional()
12655
- }), NativeCropResultSchema.nullable());
12685
+ }), NativeCropResultSchema.nullable()), method(object({
12686
+ deviceId: number(),
12687
+ frameHandle: FrameHandleSchema.optional(),
12688
+ cropJpeg: string().optional(),
12689
+ parent: DetailParentSchema,
12690
+ steps: array(string()).optional()
12691
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12656
12692
  /**
12657
12693
  * Hardware / firmware motion sensor cap — binary detected state plus
12658
12694
  * a timestamp of the last observation. Distinct from
@@ -25544,6 +25580,12 @@ Object.freeze({
25544
25580
  addonId: null,
25545
25581
  access: "create"
25546
25582
  },
25583
+ "pipelineRunner.runDetailSubtree": {
25584
+ capName: "pipeline-runner",
25585
+ capScope: "system",
25586
+ addonId: null,
25587
+ access: "create"
25588
+ },
25547
25589
  "plateGallery.correctPlateText": {
25548
25590
  capName: "plate-gallery",
25549
25591
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4636,7 +4636,7 @@ function _instanceof(cls, params = {}) {
4636
4636
  return inst;
4637
4637
  }
4638
4638
  //#endregion
4639
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4639
+ //#region ../types/dist/sleep-Baang_XW.mjs
4640
4640
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4641
4641
  EventCategory["SystemBoot"] = "system.boot";
4642
4642
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -12217,7 +12217,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
12217
12217
  image: _instanceof(Uint8Array).optional(),
12218
12218
  referenceImage: string().optional(),
12219
12219
  deviceId: number().optional(),
12220
- sessionId: string().optional()
12220
+ sessionId: string().optional(),
12221
+ /**
12222
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
12223
+ * reference-image, and detail-subtree calls. 'frame' is the live
12224
+ * per-frame dispatch: ONLY root-plane steps run; crop children
12225
+ * (inputClasses ≠ null) are skipped and served per-track via
12226
+ * pipelineRunner.runDetailSubtree (two-plane design).
12227
+ */
12228
+ plane: _enum(["full", "frame"]).optional()
12221
12229
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
12222
12230
  engine: PipelineEngineChoiceSchema.optional(),
12223
12231
  steps: array(PipelineStepInputSchema).min(1),
@@ -12393,6 +12401,28 @@ var NativeCropResultSchema = object({
12393
12401
  width: number().int().positive(),
12394
12402
  height: number().int().positive()
12395
12403
  });
12404
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12405
+ * originating detection, in FRAME-space coordinates. Reuses
12406
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12407
+ * the coordinates are frame-space rather than getNativeCrop's
12408
+ * normalized [0,1] convention). */
12409
+ var DetailParentSchema = object({
12410
+ bbox: NativeCropBboxSchema,
12411
+ className: string()
12412
+ });
12413
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12414
+ * or refined detection produced by running the crop-subtree on a
12415
+ * single tracked detection. */
12416
+ var DetailResultSchema = object({
12417
+ stepId: string(),
12418
+ className: string(),
12419
+ score: number(),
12420
+ /** FRAME-space bbox (already mapped back from crop space). */
12421
+ bbox: NativeCropBboxSchema.optional(),
12422
+ embedding: string().optional(),
12423
+ label: string().optional(),
12424
+ alignedCropJpeg: string().optional()
12425
+ });
12396
12426
  /**
12397
12427
  * Per-camera tunable ranges + defaults. Single source of truth used
12398
12428
  * by both the Zod data schema (validation + default fallback) and
@@ -12653,7 +12683,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12653
12683
  handle: FrameHandleSchema,
12654
12684
  bbox: NativeCropBboxSchema,
12655
12685
  maxWidth: number().int().positive().optional()
12656
- }), NativeCropResultSchema.nullable());
12686
+ }), NativeCropResultSchema.nullable()), method(object({
12687
+ deviceId: number(),
12688
+ frameHandle: FrameHandleSchema.optional(),
12689
+ cropJpeg: string().optional(),
12690
+ parent: DetailParentSchema,
12691
+ steps: array(string()).optional()
12692
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12657
12693
  /**
12658
12694
  * Hardware / firmware motion sensor cap — binary detected state plus
12659
12695
  * a timestamp of the last observation. Distinct from
@@ -25545,6 +25581,12 @@ Object.freeze({
25545
25581
  addonId: null,
25546
25582
  access: "create"
25547
25583
  },
25584
+ "pipelineRunner.runDetailSubtree": {
25585
+ capName: "pipeline-runner",
25586
+ capScope: "system",
25587
+ addonId: null,
25588
+ access: "create"
25589
+ },
25548
25590
  "plateGallery.correctPlateText": {
25549
25591
  capName: "plate-gallery",
25550
25592
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",