@camstack/addon-export-alexa 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.
@@ -4655,7 +4655,7 @@ function _instanceof(cls, params = {}) {
4655
4655
  return inst;
4656
4656
  }
4657
4657
  //#endregion
4658
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4658
+ //#region ../types/dist/sleep-Baang_XW.mjs
4659
4659
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4660
4660
  EventCategory["SystemBoot"] = "system.boot";
4661
4661
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -10885,7 +10885,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
10885
10885
  image: _instanceof(Uint8Array).optional(),
10886
10886
  referenceImage: string().optional(),
10887
10887
  deviceId: number().optional(),
10888
- sessionId: string().optional()
10888
+ sessionId: string().optional(),
10889
+ /**
10890
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
10891
+ * reference-image, and detail-subtree calls. 'frame' is the live
10892
+ * per-frame dispatch: ONLY root-plane steps run; crop children
10893
+ * (inputClasses ≠ null) are skipped and served per-track via
10894
+ * pipelineRunner.runDetailSubtree (two-plane design).
10895
+ */
10896
+ plane: _enum(["full", "frame"]).optional()
10889
10897
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
10890
10898
  engine: PipelineEngineChoiceSchema.optional(),
10891
10899
  steps: array(PipelineStepInputSchema).min(1),
@@ -11028,6 +11036,28 @@ var NativeCropResultSchema = object({
11028
11036
  width: number().int().positive(),
11029
11037
  height: number().int().positive()
11030
11038
  });
11039
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
11040
+ * originating detection, in FRAME-space coordinates. Reuses
11041
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
11042
+ * the coordinates are frame-space rather than getNativeCrop's
11043
+ * normalized [0,1] convention). */
11044
+ var DetailParentSchema = object({
11045
+ bbox: NativeCropBboxSchema,
11046
+ className: string()
11047
+ });
11048
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
11049
+ * or refined detection produced by running the crop-subtree on a
11050
+ * single tracked detection. */
11051
+ var DetailResultSchema = object({
11052
+ stepId: string(),
11053
+ className: string(),
11054
+ score: number(),
11055
+ /** FRAME-space bbox (already mapped back from crop space). */
11056
+ bbox: NativeCropBboxSchema.optional(),
11057
+ embedding: string().optional(),
11058
+ label: string().optional(),
11059
+ alignedCropJpeg: string().optional()
11060
+ });
11031
11061
  /**
11032
11062
  * Per-camera tunable ranges + defaults. Single source of truth used
11033
11063
  * by both the Zod data schema (validation + default fallback) and
@@ -11288,7 +11318,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
11288
11318
  handle: FrameHandleSchema,
11289
11319
  bbox: NativeCropBboxSchema,
11290
11320
  maxWidth: number().int().positive().optional()
11291
- }), NativeCropResultSchema.nullable());
11321
+ }), NativeCropResultSchema.nullable()), method(object({
11322
+ deviceId: number(),
11323
+ frameHandle: FrameHandleSchema.optional(),
11324
+ cropJpeg: string().optional(),
11325
+ parent: DetailParentSchema,
11326
+ steps: array(string()).optional()
11327
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
11292
11328
  object({
11293
11329
  detected: boolean(),
11294
11330
  /** Ms epoch of the last detected-true observation. Null if never detected. */
@@ -22176,6 +22212,12 @@ Object.freeze({
22176
22212
  addonId: null,
22177
22213
  access: "create"
22178
22214
  },
22215
+ "pipelineRunner.runDetailSubtree": {
22216
+ capName: "pipeline-runner",
22217
+ capScope: "system",
22218
+ addonId: null,
22219
+ access: "create"
22220
+ },
22179
22221
  "plateGallery.correctPlateText": {
22180
22222
  capName: "plate-gallery",
22181
22223
  capScope: "system",
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-BC9Yqte7.mjs
4632
+ //#region ../types/dist/sleep-Baang_XW.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -10859,7 +10859,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
10859
10859
  image: _instanceof(Uint8Array).optional(),
10860
10860
  referenceImage: string().optional(),
10861
10861
  deviceId: number().optional(),
10862
- sessionId: string().optional()
10862
+ sessionId: string().optional(),
10863
+ /**
10864
+ * Execution plane. 'full' (default) runs the whole tree — benchmark,
10865
+ * reference-image, and detail-subtree calls. 'frame' is the live
10866
+ * per-frame dispatch: ONLY root-plane steps run; crop children
10867
+ * (inputClasses ≠ null) are skipped and served per-track via
10868
+ * pipelineRunner.runDetailSubtree (two-plane design).
10869
+ */
10870
+ plane: _enum(["full", "frame"]).optional()
10863
10871
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
10864
10872
  engine: PipelineEngineChoiceSchema.optional(),
10865
10873
  steps: array(PipelineStepInputSchema).min(1),
@@ -11002,6 +11010,28 @@ var NativeCropResultSchema = object({
11002
11010
  width: number().int().positive(),
11003
11011
  height: number().int().positive()
11004
11012
  });
11013
+ /** Parent detection context passed to `runDetailSubtree` — the crop's
11014
+ * originating detection, in FRAME-space coordinates. Reuses
11015
+ * `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
11016
+ * the coordinates are frame-space rather than getNativeCrop's
11017
+ * normalized [0,1] convention). */
11018
+ var DetailParentSchema = object({
11019
+ bbox: NativeCropBboxSchema,
11020
+ className: string()
11021
+ });
11022
+ /** One child-step result from `runDetailSubtree` — an embedding, label,
11023
+ * or refined detection produced by running the crop-subtree on a
11024
+ * single tracked detection. */
11025
+ var DetailResultSchema = object({
11026
+ stepId: string(),
11027
+ className: string(),
11028
+ score: number(),
11029
+ /** FRAME-space bbox (already mapped back from crop space). */
11030
+ bbox: NativeCropBboxSchema.optional(),
11031
+ embedding: string().optional(),
11032
+ label: string().optional(),
11033
+ alignedCropJpeg: string().optional()
11034
+ });
11005
11035
  /**
11006
11036
  * Per-camera tunable ranges + defaults. Single source of truth used
11007
11037
  * by both the Zod data schema (validation + default fallback) and
@@ -11262,7 +11292,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
11262
11292
  handle: FrameHandleSchema,
11263
11293
  bbox: NativeCropBboxSchema,
11264
11294
  maxWidth: number().int().positive().optional()
11265
- }), NativeCropResultSchema.nullable());
11295
+ }), NativeCropResultSchema.nullable()), method(object({
11296
+ deviceId: number(),
11297
+ frameHandle: FrameHandleSchema.optional(),
11298
+ cropJpeg: string().optional(),
11299
+ parent: DetailParentSchema,
11300
+ steps: array(string()).optional()
11301
+ }), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
11266
11302
  object({
11267
11303
  detected: boolean(),
11268
11304
  /** Ms epoch of the last detected-true observation. Null if never detected. */
@@ -22150,6 +22186,12 @@ Object.freeze({
22150
22186
  addonId: null,
22151
22187
  access: "create"
22152
22188
  },
22189
+ "pipelineRunner.runDetailSubtree": {
22190
+ capName: "pipeline-runner",
22191
+ capScope: "system",
22192
+ addonId: null,
22193
+ access: "create"
22194
+ },
22153
22195
  "plateGallery.correctPlateText": {
22154
22196
  capName: "plate-gallery",
22155
22197
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",