@camstack/addon-advanced-notifier 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 +45 -3
- package/dist/addon.mjs +45 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4632,7 +4632,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4632
4632
|
return inst;
|
|
4633
4633
|
}
|
|
4634
4634
|
//#endregion
|
|
4635
|
-
//#region ../types/dist/sleep-
|
|
4635
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4636
4636
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4637
4637
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4638
4638
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10682,7 +10682,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10682
10682
|
image: _instanceof(Uint8Array).optional(),
|
|
10683
10683
|
referenceImage: string().optional(),
|
|
10684
10684
|
deviceId: number().optional(),
|
|
10685
|
-
sessionId: string().optional()
|
|
10685
|
+
sessionId: string().optional(),
|
|
10686
|
+
/**
|
|
10687
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10688
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10689
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10690
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10691
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10692
|
+
*/
|
|
10693
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10686
10694
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10687
10695
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10688
10696
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10825,6 +10833,28 @@ var NativeCropResultSchema = object({
|
|
|
10825
10833
|
width: number().int().positive(),
|
|
10826
10834
|
height: number().int().positive()
|
|
10827
10835
|
});
|
|
10836
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10837
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10838
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10839
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10840
|
+
* normalized [0,1] convention). */
|
|
10841
|
+
var DetailParentSchema = object({
|
|
10842
|
+
bbox: NativeCropBboxSchema,
|
|
10843
|
+
className: string()
|
|
10844
|
+
});
|
|
10845
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10846
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10847
|
+
* single tracked detection. */
|
|
10848
|
+
var DetailResultSchema = object({
|
|
10849
|
+
stepId: string(),
|
|
10850
|
+
className: string(),
|
|
10851
|
+
score: number(),
|
|
10852
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10853
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10854
|
+
embedding: string().optional(),
|
|
10855
|
+
label: string().optional(),
|
|
10856
|
+
alignedCropJpeg: string().optional()
|
|
10857
|
+
});
|
|
10828
10858
|
/**
|
|
10829
10859
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10830
10860
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11085,7 +11115,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11085
11115
|
handle: FrameHandleSchema,
|
|
11086
11116
|
bbox: NativeCropBboxSchema,
|
|
11087
11117
|
maxWidth: number().int().positive().optional()
|
|
11088
|
-
}), NativeCropResultSchema.nullable())
|
|
11118
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11119
|
+
deviceId: number(),
|
|
11120
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11121
|
+
cropJpeg: string().optional(),
|
|
11122
|
+
parent: DetailParentSchema,
|
|
11123
|
+
steps: array(string()).optional()
|
|
11124
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11089
11125
|
object({
|
|
11090
11126
|
detected: boolean(),
|
|
11091
11127
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21928,6 +21964,12 @@ Object.freeze({
|
|
|
21928
21964
|
addonId: null,
|
|
21929
21965
|
access: "create"
|
|
21930
21966
|
},
|
|
21967
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21968
|
+
capName: "pipeline-runner",
|
|
21969
|
+
capScope: "system",
|
|
21970
|
+
addonId: null,
|
|
21971
|
+
access: "create"
|
|
21972
|
+
},
|
|
21931
21973
|
"plateGallery.correctPlateText": {
|
|
21932
21974
|
capName: "plate-gallery",
|
|
21933
21975
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4628
4628
|
return inst;
|
|
4629
4629
|
}
|
|
4630
4630
|
//#endregion
|
|
4631
|
-
//#region ../types/dist/sleep-
|
|
4631
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4632
4632
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4633
4633
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4634
4634
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10678,7 +10678,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10678
10678
|
image: _instanceof(Uint8Array).optional(),
|
|
10679
10679
|
referenceImage: string().optional(),
|
|
10680
10680
|
deviceId: number().optional(),
|
|
10681
|
-
sessionId: string().optional()
|
|
10681
|
+
sessionId: string().optional(),
|
|
10682
|
+
/**
|
|
10683
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10684
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10685
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10686
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10687
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10688
|
+
*/
|
|
10689
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10682
10690
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10683
10691
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10684
10692
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10821,6 +10829,28 @@ var NativeCropResultSchema = object({
|
|
|
10821
10829
|
width: number().int().positive(),
|
|
10822
10830
|
height: number().int().positive()
|
|
10823
10831
|
});
|
|
10832
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10833
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10834
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10835
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10836
|
+
* normalized [0,1] convention). */
|
|
10837
|
+
var DetailParentSchema = object({
|
|
10838
|
+
bbox: NativeCropBboxSchema,
|
|
10839
|
+
className: string()
|
|
10840
|
+
});
|
|
10841
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10842
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10843
|
+
* single tracked detection. */
|
|
10844
|
+
var DetailResultSchema = object({
|
|
10845
|
+
stepId: string(),
|
|
10846
|
+
className: string(),
|
|
10847
|
+
score: number(),
|
|
10848
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10849
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10850
|
+
embedding: string().optional(),
|
|
10851
|
+
label: string().optional(),
|
|
10852
|
+
alignedCropJpeg: string().optional()
|
|
10853
|
+
});
|
|
10824
10854
|
/**
|
|
10825
10855
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10826
10856
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11081,7 +11111,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11081
11111
|
handle: FrameHandleSchema,
|
|
11082
11112
|
bbox: NativeCropBboxSchema,
|
|
11083
11113
|
maxWidth: number().int().positive().optional()
|
|
11084
|
-
}), NativeCropResultSchema.nullable())
|
|
11114
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11115
|
+
deviceId: number(),
|
|
11116
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11117
|
+
cropJpeg: string().optional(),
|
|
11118
|
+
parent: DetailParentSchema,
|
|
11119
|
+
steps: array(string()).optional()
|
|
11120
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11085
11121
|
object({
|
|
11086
11122
|
detected: boolean(),
|
|
11087
11123
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21924,6 +21960,12 @@ Object.freeze({
|
|
|
21924
21960
|
addonId: null,
|
|
21925
21961
|
access: "create"
|
|
21926
21962
|
},
|
|
21963
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21964
|
+
capName: "pipeline-runner",
|
|
21965
|
+
capScope: "system",
|
|
21966
|
+
addonId: null,
|
|
21967
|
+
access: "create"
|
|
21968
|
+
},
|
|
21927
21969
|
"plateGallery.correctPlateText": {
|
|
21928
21970
|
capName: "plate-gallery",
|
|
21929
21971
|
capScope: "system",
|