@camstack/addon-provider-dreo 0.1.16 → 0.1.17
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
|
@@ -4664,7 +4664,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4664
4664
|
return inst;
|
|
4665
4665
|
}
|
|
4666
4666
|
//#endregion
|
|
4667
|
-
//#region ../types/dist/sleep-
|
|
4667
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4668
4668
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4669
4669
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4670
4670
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11977,7 +11977,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11977
11977
|
image: _instanceof(Uint8Array).optional(),
|
|
11978
11978
|
referenceImage: string().optional(),
|
|
11979
11979
|
deviceId: number().optional(),
|
|
11980
|
-
sessionId: string().optional()
|
|
11980
|
+
sessionId: string().optional(),
|
|
11981
|
+
/**
|
|
11982
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11983
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11984
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11985
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11986
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11987
|
+
*/
|
|
11988
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11981
11989
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11982
11990
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11983
11991
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12153,6 +12161,28 @@ var NativeCropResultSchema = object({
|
|
|
12153
12161
|
width: number().int().positive(),
|
|
12154
12162
|
height: number().int().positive()
|
|
12155
12163
|
});
|
|
12164
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12165
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12166
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12167
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12168
|
+
* normalized [0,1] convention). */
|
|
12169
|
+
var DetailParentSchema = object({
|
|
12170
|
+
bbox: NativeCropBboxSchema,
|
|
12171
|
+
className: string()
|
|
12172
|
+
});
|
|
12173
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12174
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12175
|
+
* single tracked detection. */
|
|
12176
|
+
var DetailResultSchema = object({
|
|
12177
|
+
stepId: string(),
|
|
12178
|
+
className: string(),
|
|
12179
|
+
score: number(),
|
|
12180
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12181
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12182
|
+
embedding: string().optional(),
|
|
12183
|
+
label: string().optional(),
|
|
12184
|
+
alignedCropJpeg: string().optional()
|
|
12185
|
+
});
|
|
12156
12186
|
/**
|
|
12157
12187
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12158
12188
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12413,7 +12443,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12413
12443
|
handle: FrameHandleSchema,
|
|
12414
12444
|
bbox: NativeCropBboxSchema,
|
|
12415
12445
|
maxWidth: number().int().positive().optional()
|
|
12416
|
-
}), NativeCropResultSchema.nullable())
|
|
12446
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12447
|
+
deviceId: number(),
|
|
12448
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12449
|
+
cropJpeg: string().optional(),
|
|
12450
|
+
parent: DetailParentSchema,
|
|
12451
|
+
steps: array(string()).optional()
|
|
12452
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12417
12453
|
/**
|
|
12418
12454
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12419
12455
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24884,6 +24920,12 @@ Object.freeze({
|
|
|
24884
24920
|
addonId: null,
|
|
24885
24921
|
access: "create"
|
|
24886
24922
|
},
|
|
24923
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24924
|
+
capName: "pipeline-runner",
|
|
24925
|
+
capScope: "system",
|
|
24926
|
+
addonId: null,
|
|
24927
|
+
access: "create"
|
|
24928
|
+
},
|
|
24887
24929
|
"plateGallery.correctPlateText": {
|
|
24888
24930
|
capName: "plate-gallery",
|
|
24889
24931
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4665,7 +4665,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4665
4665
|
return inst;
|
|
4666
4666
|
}
|
|
4667
4667
|
//#endregion
|
|
4668
|
-
//#region ../types/dist/sleep-
|
|
4668
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4669
4669
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4670
4670
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4671
4671
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11978,7 +11978,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11978
11978
|
image: _instanceof(Uint8Array).optional(),
|
|
11979
11979
|
referenceImage: string().optional(),
|
|
11980
11980
|
deviceId: number().optional(),
|
|
11981
|
-
sessionId: string().optional()
|
|
11981
|
+
sessionId: string().optional(),
|
|
11982
|
+
/**
|
|
11983
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11984
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11985
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11986
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11987
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11988
|
+
*/
|
|
11989
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11982
11990
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11983
11991
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11984
11992
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12154,6 +12162,28 @@ var NativeCropResultSchema = object({
|
|
|
12154
12162
|
width: number().int().positive(),
|
|
12155
12163
|
height: number().int().positive()
|
|
12156
12164
|
});
|
|
12165
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12166
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12167
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12168
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12169
|
+
* normalized [0,1] convention). */
|
|
12170
|
+
var DetailParentSchema = object({
|
|
12171
|
+
bbox: NativeCropBboxSchema,
|
|
12172
|
+
className: string()
|
|
12173
|
+
});
|
|
12174
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12175
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12176
|
+
* single tracked detection. */
|
|
12177
|
+
var DetailResultSchema = object({
|
|
12178
|
+
stepId: string(),
|
|
12179
|
+
className: string(),
|
|
12180
|
+
score: number(),
|
|
12181
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12182
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12183
|
+
embedding: string().optional(),
|
|
12184
|
+
label: string().optional(),
|
|
12185
|
+
alignedCropJpeg: string().optional()
|
|
12186
|
+
});
|
|
12157
12187
|
/**
|
|
12158
12188
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12159
12189
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12414,7 +12444,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12414
12444
|
handle: FrameHandleSchema,
|
|
12415
12445
|
bbox: NativeCropBboxSchema,
|
|
12416
12446
|
maxWidth: number().int().positive().optional()
|
|
12417
|
-
}), NativeCropResultSchema.nullable())
|
|
12447
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12448
|
+
deviceId: number(),
|
|
12449
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12450
|
+
cropJpeg: string().optional(),
|
|
12451
|
+
parent: DetailParentSchema,
|
|
12452
|
+
steps: array(string()).optional()
|
|
12453
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12418
12454
|
/**
|
|
12419
12455
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12420
12456
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24885,6 +24921,12 @@ Object.freeze({
|
|
|
24885
24921
|
addonId: null,
|
|
24886
24922
|
access: "create"
|
|
24887
24923
|
},
|
|
24924
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24925
|
+
capName: "pipeline-runner",
|
|
24926
|
+
capScope: "system",
|
|
24927
|
+
addonId: null,
|
|
24928
|
+
access: "create"
|
|
24929
|
+
},
|
|
24888
24930
|
"plateGallery.correctPlateText": {
|
|
24889
24931
|
capName: "plate-gallery",
|
|
24890
24932
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|