@camstack/addon-provider-unraid 0.1.7 → 0.1.8

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
@@ -4642,7 +4642,7 @@ function preprocess(fn, schema) {
4642
4642
  });
4643
4643
  }
4644
4644
  //#endregion
4645
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4645
+ //#region ../types/dist/sleep-Baang_XW.mjs
4646
4646
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4647
4647
  EventCategory["SystemBoot"] = "system.boot";
4648
4648
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11955,7 +11955,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11955
11955
  image: _instanceof(Uint8Array).optional(),
11956
11956
  referenceImage: string().optional(),
11957
11957
  deviceId: number().optional(),
11958
- sessionId: string().optional()
11958
+ sessionId: string().optional(),
11959
+ /**
11960
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11961
+ * reference-image, and detail-subtree calls. 'frame' is the live
11962
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11963
+ * (inputClasses ≠ null) are skipped and served per-track via
11964
+ * pipelineRunner.runDetailSubtree (two-plane design).
11965
+ */
11966
+ plane: _enum(["full", "frame"]).optional()
11959
11967
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11960
11968
  engine: PipelineEngineChoiceSchema.optional(),
11961
11969
  steps: array(PipelineStepInputSchema).min(1),
@@ -12131,6 +12139,28 @@ var NativeCropResultSchema = object({
12131
12139
  width: number().int().positive(),
12132
12140
  height: number().int().positive()
12133
12141
  });
12142
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12143
+ * originating detection, in FRAME-space coordinates. Reuses
12144
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12145
+ * the coordinates are frame-space rather than getNativeCrop's
12146
+ * normalized [0,1] convention). */
12147
+ var DetailParentSchema = object({
12148
+ bbox: NativeCropBboxSchema,
12149
+ className: string()
12150
+ });
12151
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12152
+ * or refined detection produced by running the crop-subtree on a
12153
+ * single tracked detection. */
12154
+ var DetailResultSchema = object({
12155
+ stepId: string(),
12156
+ className: string(),
12157
+ score: number(),
12158
+ /** FRAME-space bbox (already mapped back from crop space). */
12159
+ bbox: NativeCropBboxSchema.optional(),
12160
+ embedding: string().optional(),
12161
+ label: string().optional(),
12162
+ alignedCropJpeg: string().optional()
12163
+ });
12134
12164
  /**
12135
12165
  * Per-camera tunable ranges + defaults. Single source of truth used
12136
12166
  * by both the Zod data schema (validation + default fallback) and
@@ -12391,7 +12421,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12391
12421
  handle: FrameHandleSchema,
12392
12422
  bbox: NativeCropBboxSchema,
12393
12423
  maxWidth: number().int().positive().optional()
12394
- }), NativeCropResultSchema.nullable());
12424
+ }), NativeCropResultSchema.nullable()), method(object({
12425
+ deviceId: number(),
12426
+ frameHandle: FrameHandleSchema.optional(),
12427
+ cropJpeg: string().optional(),
12428
+ parent: DetailParentSchema,
12429
+ steps: array(string()).optional()
12430
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12395
12431
  /**
12396
12432
  * Hardware / firmware motion sensor cap — binary detected state plus
12397
12433
  * a timestamp of the last observation. Distinct from
@@ -24862,6 +24898,12 @@ Object.freeze({
24862
24898
  addonId: null,
24863
24899
  access: "create"
24864
24900
  },
24901
+ "pipelineRunner.runDetailSubtree": {
24902
+ capName: "pipeline-runner",
24903
+ capScope: "system",
24904
+ addonId: null,
24905
+ access: "create"
24906
+ },
24865
24907
  "plateGallery.correctPlateText": {
24866
24908
  capName: "plate-gallery",
24867
24909
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -4641,7 +4641,7 @@ function preprocess(fn, schema) {
4641
4641
  });
4642
4642
  }
4643
4643
  //#endregion
4644
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4644
+ //#region ../types/dist/sleep-Baang_XW.mjs
4645
4645
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4646
4646
  EventCategory["SystemBoot"] = "system.boot";
4647
4647
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -11954,7 +11954,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11954
11954
  image: _instanceof(Uint8Array).optional(),
11955
11955
  referenceImage: string().optional(),
11956
11956
  deviceId: number().optional(),
11957
- sessionId: string().optional()
11957
+ sessionId: string().optional(),
11958
+ /**
11959
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
11960
+ * reference-image, and detail-subtree calls. 'frame' is the live
11961
+ * per-frame dispatch: ONLY root-plane steps run; crop children
11962
+ * (inputClasses ≠ null) are skipped and served per-track via
11963
+ * pipelineRunner.runDetailSubtree (two-plane design).
11964
+ */
11965
+ plane: _enum(["full", "frame"]).optional()
11958
11966
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11959
11967
  engine: PipelineEngineChoiceSchema.optional(),
11960
11968
  steps: array(PipelineStepInputSchema).min(1),
@@ -12130,6 +12138,28 @@ var NativeCropResultSchema = object({
12130
12138
  width: number().int().positive(),
12131
12139
  height: number().int().positive()
12132
12140
  });
12141
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
12142
+ * originating detection, in FRAME-space coordinates. Reuses
12143
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
12144
+ * the coordinates are frame-space rather than getNativeCrop's
12145
+ * normalized [0,1] convention). */
12146
+ var DetailParentSchema = object({
12147
+ bbox: NativeCropBboxSchema,
12148
+ className: string()
12149
+ });
12150
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
12151
+ * or refined detection produced by running the crop-subtree on a
12152
+ * single tracked detection. */
12153
+ var DetailResultSchema = object({
12154
+ stepId: string(),
12155
+ className: string(),
12156
+ score: number(),
12157
+ /** FRAME-space bbox (already mapped back from crop space). */
12158
+ bbox: NativeCropBboxSchema.optional(),
12159
+ embedding: string().optional(),
12160
+ label: string().optional(),
12161
+ alignedCropJpeg: string().optional()
12162
+ });
12133
12163
  /**
12134
12164
  * Per-camera tunable ranges + defaults. Single source of truth used
12135
12165
  * by both the Zod data schema (validation + default fallback) and
@@ -12390,7 +12420,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
12390
12420
  handle: FrameHandleSchema,
12391
12421
  bbox: NativeCropBboxSchema,
12392
12422
  maxWidth: number().int().positive().optional()
12393
- }), NativeCropResultSchema.nullable());
12423
+ }), NativeCropResultSchema.nullable()), method(object({
12424
+ deviceId: number(),
12425
+ frameHandle: FrameHandleSchema.optional(),
12426
+ cropJpeg: string().optional(),
12427
+ parent: DetailParentSchema,
12428
+ steps: array(string()).optional()
12429
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
12394
12430
  /**
12395
12431
  * Hardware / firmware motion sensor cap — binary detected state plus
12396
12432
  * a timestamp of the last observation. Distinct from
@@ -24861,6 +24897,12 @@ Object.freeze({
24861
24897
  addonId: null,
24862
24898
  access: "create"
24863
24899
  },
24900
+ "pipelineRunner.runDetailSubtree": {
24901
+ capName: "pipeline-runner",
24902
+ capScope: "system",
24903
+ addonId: null,
24904
+ access: "create"
24905
+ },
24864
24906
  "plateGallery.correctPlateText": {
24865
24907
  capName: "plate-gallery",
24866
24908
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unraid",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
5
5
  "keywords": [
6
6
  "camstack",