@camstack/addon-matter-broker 0.1.18 → 0.1.19
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
|
@@ -4656,7 +4656,7 @@ function preprocess(fn, schema) {
|
|
|
4656
4656
|
});
|
|
4657
4657
|
}
|
|
4658
4658
|
//#endregion
|
|
4659
|
-
//#region ../types/dist/sleep-
|
|
4659
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4660
4660
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4661
4661
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4662
4662
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11969,7 +11969,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11969
11969
|
image: _instanceof(Uint8Array).optional(),
|
|
11970
11970
|
referenceImage: string$2().optional(),
|
|
11971
11971
|
deviceId: number().optional(),
|
|
11972
|
-
sessionId: string$2().optional()
|
|
11972
|
+
sessionId: string$2().optional(),
|
|
11973
|
+
/**
|
|
11974
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11975
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11976
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11977
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11978
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11979
|
+
*/
|
|
11980
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11973
11981
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11974
11982
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11975
11983
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12145,6 +12153,28 @@ var NativeCropResultSchema = object({
|
|
|
12145
12153
|
width: number().int().positive(),
|
|
12146
12154
|
height: number().int().positive()
|
|
12147
12155
|
});
|
|
12156
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12157
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12158
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12159
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12160
|
+
* normalized [0,1] convention). */
|
|
12161
|
+
var DetailParentSchema = object({
|
|
12162
|
+
bbox: NativeCropBboxSchema,
|
|
12163
|
+
className: string$2()
|
|
12164
|
+
});
|
|
12165
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12166
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12167
|
+
* single tracked detection. */
|
|
12168
|
+
var DetailResultSchema = object({
|
|
12169
|
+
stepId: string$2(),
|
|
12170
|
+
className: string$2(),
|
|
12171
|
+
score: number(),
|
|
12172
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12173
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12174
|
+
embedding: string$2().optional(),
|
|
12175
|
+
label: string$2().optional(),
|
|
12176
|
+
alignedCropJpeg: string$2().optional()
|
|
12177
|
+
});
|
|
12148
12178
|
/**
|
|
12149
12179
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12150
12180
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12405,7 +12435,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12405
12435
|
handle: FrameHandleSchema,
|
|
12406
12436
|
bbox: NativeCropBboxSchema,
|
|
12407
12437
|
maxWidth: number().int().positive().optional()
|
|
12408
|
-
}), NativeCropResultSchema.nullable())
|
|
12438
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12439
|
+
deviceId: number(),
|
|
12440
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12441
|
+
cropJpeg: string$2().optional(),
|
|
12442
|
+
parent: DetailParentSchema,
|
|
12443
|
+
steps: array(string$2()).optional()
|
|
12444
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12409
12445
|
/**
|
|
12410
12446
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12411
12447
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24942,6 +24978,12 @@ Object.freeze({
|
|
|
24942
24978
|
addonId: null,
|
|
24943
24979
|
access: "create"
|
|
24944
24980
|
},
|
|
24981
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24982
|
+
capName: "pipeline-runner",
|
|
24983
|
+
capScope: "system",
|
|
24984
|
+
addonId: null,
|
|
24985
|
+
access: "create"
|
|
24986
|
+
},
|
|
24945
24987
|
"plateGallery.correctPlateText": {
|
|
24946
24988
|
capName: "plate-gallery",
|
|
24947
24989
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4654,7 +4654,7 @@ function preprocess(fn, schema) {
|
|
|
4654
4654
|
});
|
|
4655
4655
|
}
|
|
4656
4656
|
//#endregion
|
|
4657
|
-
//#region ../types/dist/sleep-
|
|
4657
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4658
4658
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4659
4659
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4660
4660
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11967,7 +11967,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11967
11967
|
image: _instanceof(Uint8Array).optional(),
|
|
11968
11968
|
referenceImage: string$2().optional(),
|
|
11969
11969
|
deviceId: number().optional(),
|
|
11970
|
-
sessionId: string$2().optional()
|
|
11970
|
+
sessionId: string$2().optional(),
|
|
11971
|
+
/**
|
|
11972
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11973
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11974
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11975
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11976
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11977
|
+
*/
|
|
11978
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11971
11979
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11972
11980
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11973
11981
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12143,6 +12151,28 @@ var NativeCropResultSchema = object({
|
|
|
12143
12151
|
width: number().int().positive(),
|
|
12144
12152
|
height: number().int().positive()
|
|
12145
12153
|
});
|
|
12154
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12155
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12156
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12157
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12158
|
+
* normalized [0,1] convention). */
|
|
12159
|
+
var DetailParentSchema = object({
|
|
12160
|
+
bbox: NativeCropBboxSchema,
|
|
12161
|
+
className: string$2()
|
|
12162
|
+
});
|
|
12163
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12164
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12165
|
+
* single tracked detection. */
|
|
12166
|
+
var DetailResultSchema = object({
|
|
12167
|
+
stepId: string$2(),
|
|
12168
|
+
className: string$2(),
|
|
12169
|
+
score: number(),
|
|
12170
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12171
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12172
|
+
embedding: string$2().optional(),
|
|
12173
|
+
label: string$2().optional(),
|
|
12174
|
+
alignedCropJpeg: string$2().optional()
|
|
12175
|
+
});
|
|
12146
12176
|
/**
|
|
12147
12177
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12148
12178
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12403,7 +12433,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12403
12433
|
handle: FrameHandleSchema,
|
|
12404
12434
|
bbox: NativeCropBboxSchema,
|
|
12405
12435
|
maxWidth: number().int().positive().optional()
|
|
12406
|
-
}), NativeCropResultSchema.nullable())
|
|
12436
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12437
|
+
deviceId: number(),
|
|
12438
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12439
|
+
cropJpeg: string$2().optional(),
|
|
12440
|
+
parent: DetailParentSchema,
|
|
12441
|
+
steps: array(string$2()).optional()
|
|
12442
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12407
12443
|
/**
|
|
12408
12444
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12409
12445
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24940,6 +24976,12 @@ Object.freeze({
|
|
|
24940
24976
|
addonId: null,
|
|
24941
24977
|
access: "create"
|
|
24942
24978
|
},
|
|
24979
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24980
|
+
capName: "pipeline-runner",
|
|
24981
|
+
capScope: "system",
|
|
24982
|
+
addonId: null,
|
|
24983
|
+
access: "create"
|
|
24984
|
+
},
|
|
24943
24985
|
"plateGallery.correctPlateText": {
|
|
24944
24986
|
capName: "plate-gallery",
|
|
24945
24987
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|