@camstack/addon-mqtt-broker 1.1.21 → 1.1.22
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/mqtt-broker.addon.js +45 -3
- package/dist/mqtt-broker.addon.mjs +45 -3
- package/package.json +1 -1
|
@@ -4673,7 +4673,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4673
4673
|
return inst;
|
|
4674
4674
|
}
|
|
4675
4675
|
//#endregion
|
|
4676
|
-
//#region ../types/dist/sleep-
|
|
4676
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4677
4677
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4678
4678
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4679
4679
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10709,7 +10709,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10709
10709
|
image: _instanceof(Uint8Array).optional(),
|
|
10710
10710
|
referenceImage: string().optional(),
|
|
10711
10711
|
deviceId: number().optional(),
|
|
10712
|
-
sessionId: string().optional()
|
|
10712
|
+
sessionId: string().optional(),
|
|
10713
|
+
/**
|
|
10714
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10715
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10716
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10717
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10718
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10719
|
+
*/
|
|
10720
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10713
10721
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10714
10722
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10715
10723
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10852,6 +10860,28 @@ var NativeCropResultSchema = object({
|
|
|
10852
10860
|
width: number().int().positive(),
|
|
10853
10861
|
height: number().int().positive()
|
|
10854
10862
|
});
|
|
10863
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10864
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10865
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10866
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10867
|
+
* normalized [0,1] convention). */
|
|
10868
|
+
var DetailParentSchema = object({
|
|
10869
|
+
bbox: NativeCropBboxSchema,
|
|
10870
|
+
className: string()
|
|
10871
|
+
});
|
|
10872
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10873
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10874
|
+
* single tracked detection. */
|
|
10875
|
+
var DetailResultSchema = object({
|
|
10876
|
+
stepId: string(),
|
|
10877
|
+
className: string(),
|
|
10878
|
+
score: number(),
|
|
10879
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10880
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10881
|
+
embedding: string().optional(),
|
|
10882
|
+
label: string().optional(),
|
|
10883
|
+
alignedCropJpeg: string().optional()
|
|
10884
|
+
});
|
|
10855
10885
|
/**
|
|
10856
10886
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10857
10887
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11112,7 +11142,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11112
11142
|
handle: FrameHandleSchema,
|
|
11113
11143
|
bbox: NativeCropBboxSchema,
|
|
11114
11144
|
maxWidth: number().int().positive().optional()
|
|
11115
|
-
}), NativeCropResultSchema.nullable())
|
|
11145
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11146
|
+
deviceId: number(),
|
|
11147
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11148
|
+
cropJpeg: string().optional(),
|
|
11149
|
+
parent: DetailParentSchema,
|
|
11150
|
+
steps: array(string()).optional()
|
|
11151
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11116
11152
|
object({
|
|
11117
11153
|
detected: boolean(),
|
|
11118
11154
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21997,6 +22033,12 @@ Object.freeze({
|
|
|
21997
22033
|
addonId: null,
|
|
21998
22034
|
access: "create"
|
|
21999
22035
|
},
|
|
22036
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22037
|
+
capName: "pipeline-runner",
|
|
22038
|
+
capScope: "system",
|
|
22039
|
+
addonId: null,
|
|
22040
|
+
access: "create"
|
|
22041
|
+
},
|
|
22000
22042
|
"plateGallery.correctPlateText": {
|
|
22001
22043
|
capName: "plate-gallery",
|
|
22002
22044
|
capScope: "system",
|
|
@@ -4668,7 +4668,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4668
4668
|
return inst;
|
|
4669
4669
|
}
|
|
4670
4670
|
//#endregion
|
|
4671
|
-
//#region ../types/dist/sleep-
|
|
4671
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4672
4672
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4673
4673
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4674
4674
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10704,7 +10704,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10704
10704
|
image: _instanceof(Uint8Array).optional(),
|
|
10705
10705
|
referenceImage: string().optional(),
|
|
10706
10706
|
deviceId: number().optional(),
|
|
10707
|
-
sessionId: string().optional()
|
|
10707
|
+
sessionId: string().optional(),
|
|
10708
|
+
/**
|
|
10709
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10710
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10711
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10712
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10713
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10714
|
+
*/
|
|
10715
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10708
10716
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10709
10717
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10710
10718
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10847,6 +10855,28 @@ var NativeCropResultSchema = object({
|
|
|
10847
10855
|
width: number().int().positive(),
|
|
10848
10856
|
height: number().int().positive()
|
|
10849
10857
|
});
|
|
10858
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10859
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10860
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10861
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10862
|
+
* normalized [0,1] convention). */
|
|
10863
|
+
var DetailParentSchema = object({
|
|
10864
|
+
bbox: NativeCropBboxSchema,
|
|
10865
|
+
className: string()
|
|
10866
|
+
});
|
|
10867
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10868
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10869
|
+
* single tracked detection. */
|
|
10870
|
+
var DetailResultSchema = object({
|
|
10871
|
+
stepId: string(),
|
|
10872
|
+
className: string(),
|
|
10873
|
+
score: number(),
|
|
10874
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10875
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10876
|
+
embedding: string().optional(),
|
|
10877
|
+
label: string().optional(),
|
|
10878
|
+
alignedCropJpeg: string().optional()
|
|
10879
|
+
});
|
|
10850
10880
|
/**
|
|
10851
10881
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10852
10882
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11107,7 +11137,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11107
11137
|
handle: FrameHandleSchema,
|
|
11108
11138
|
bbox: NativeCropBboxSchema,
|
|
11109
11139
|
maxWidth: number().int().positive().optional()
|
|
11110
|
-
}), NativeCropResultSchema.nullable())
|
|
11140
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11141
|
+
deviceId: number(),
|
|
11142
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11143
|
+
cropJpeg: string().optional(),
|
|
11144
|
+
parent: DetailParentSchema,
|
|
11145
|
+
steps: array(string()).optional()
|
|
11146
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11111
11147
|
object({
|
|
11112
11148
|
detected: boolean(),
|
|
11113
11149
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21992,6 +22028,12 @@ Object.freeze({
|
|
|
21992
22028
|
addonId: null,
|
|
21993
22029
|
access: "create"
|
|
21994
22030
|
},
|
|
22031
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22032
|
+
capName: "pipeline-runner",
|
|
22033
|
+
capScope: "system",
|
|
22034
|
+
addonId: null,
|
|
22035
|
+
access: "create"
|
|
22036
|
+
},
|
|
21995
22037
|
"plateGallery.correctPlateText": {
|
|
21996
22038
|
capName: "plate-gallery",
|
|
21997
22039
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|