@camstack/addon-provider-rademacher 0.1.7 → 0.1.8
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
|
@@ -5627,7 +5627,7 @@ function preprocess(fn, schema) {
|
|
|
5627
5627
|
});
|
|
5628
5628
|
}
|
|
5629
5629
|
//#endregion
|
|
5630
|
-
//#region ../types/dist/sleep-
|
|
5630
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
5631
5631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5632
5632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5633
5633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12940,7 +12940,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12940
12940
|
image: _instanceof(Uint8Array).optional(),
|
|
12941
12941
|
referenceImage: string().optional(),
|
|
12942
12942
|
deviceId: number().optional(),
|
|
12943
|
-
sessionId: string().optional()
|
|
12943
|
+
sessionId: string().optional(),
|
|
12944
|
+
/**
|
|
12945
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12946
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12947
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12948
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12949
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12950
|
+
*/
|
|
12951
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12944
12952
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12945
12953
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12946
12954
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -13116,6 +13124,28 @@ var NativeCropResultSchema = object({
|
|
|
13116
13124
|
width: number().int().positive(),
|
|
13117
13125
|
height: number().int().positive()
|
|
13118
13126
|
});
|
|
13127
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
13128
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
13129
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
13130
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
13131
|
+
* normalized [0,1] convention). */
|
|
13132
|
+
var DetailParentSchema = object({
|
|
13133
|
+
bbox: NativeCropBboxSchema,
|
|
13134
|
+
className: string()
|
|
13135
|
+
});
|
|
13136
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
13137
|
+
* or refined detection produced by running the crop-subtree on a
|
|
13138
|
+
* single tracked detection. */
|
|
13139
|
+
var DetailResultSchema = object({
|
|
13140
|
+
stepId: string(),
|
|
13141
|
+
className: string(),
|
|
13142
|
+
score: number(),
|
|
13143
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
13144
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
13145
|
+
embedding: string().optional(),
|
|
13146
|
+
label: string().optional(),
|
|
13147
|
+
alignedCropJpeg: string().optional()
|
|
13148
|
+
});
|
|
13119
13149
|
/**
|
|
13120
13150
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
13121
13151
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -13376,7 +13406,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
13376
13406
|
handle: FrameHandleSchema,
|
|
13377
13407
|
bbox: NativeCropBboxSchema,
|
|
13378
13408
|
maxWidth: number().int().positive().optional()
|
|
13379
|
-
}), NativeCropResultSchema.nullable())
|
|
13409
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
13410
|
+
deviceId: number(),
|
|
13411
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
13412
|
+
cropJpeg: string().optional(),
|
|
13413
|
+
parent: DetailParentSchema,
|
|
13414
|
+
steps: array(string()).optional()
|
|
13415
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
13380
13416
|
/**
|
|
13381
13417
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
13382
13418
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25830,6 +25866,12 @@ Object.freeze({
|
|
|
25830
25866
|
addonId: null,
|
|
25831
25867
|
access: "create"
|
|
25832
25868
|
},
|
|
25869
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25870
|
+
capName: "pipeline-runner",
|
|
25871
|
+
capScope: "system",
|
|
25872
|
+
addonId: null,
|
|
25873
|
+
access: "create"
|
|
25874
|
+
},
|
|
25833
25875
|
"plateGallery.correctPlateText": {
|
|
25834
25876
|
capName: "plate-gallery",
|
|
25835
25877
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5626,7 +5626,7 @@ function preprocess(fn, schema) {
|
|
|
5626
5626
|
});
|
|
5627
5627
|
}
|
|
5628
5628
|
//#endregion
|
|
5629
|
-
//#region ../types/dist/sleep-
|
|
5629
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
5630
5630
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5631
5631
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5632
5632
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12939,7 +12939,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12939
12939
|
image: _instanceof(Uint8Array).optional(),
|
|
12940
12940
|
referenceImage: string().optional(),
|
|
12941
12941
|
deviceId: number().optional(),
|
|
12942
|
-
sessionId: string().optional()
|
|
12942
|
+
sessionId: string().optional(),
|
|
12943
|
+
/**
|
|
12944
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12945
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12946
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12947
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12948
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12949
|
+
*/
|
|
12950
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12943
12951
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12944
12952
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12945
12953
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -13115,6 +13123,28 @@ var NativeCropResultSchema = object({
|
|
|
13115
13123
|
width: number().int().positive(),
|
|
13116
13124
|
height: number().int().positive()
|
|
13117
13125
|
});
|
|
13126
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
13127
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
13128
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
13129
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
13130
|
+
* normalized [0,1] convention). */
|
|
13131
|
+
var DetailParentSchema = object({
|
|
13132
|
+
bbox: NativeCropBboxSchema,
|
|
13133
|
+
className: string()
|
|
13134
|
+
});
|
|
13135
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
13136
|
+
* or refined detection produced by running the crop-subtree on a
|
|
13137
|
+
* single tracked detection. */
|
|
13138
|
+
var DetailResultSchema = object({
|
|
13139
|
+
stepId: string(),
|
|
13140
|
+
className: string(),
|
|
13141
|
+
score: number(),
|
|
13142
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
13143
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
13144
|
+
embedding: string().optional(),
|
|
13145
|
+
label: string().optional(),
|
|
13146
|
+
alignedCropJpeg: string().optional()
|
|
13147
|
+
});
|
|
13118
13148
|
/**
|
|
13119
13149
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
13120
13150
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -13375,7 +13405,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
13375
13405
|
handle: FrameHandleSchema,
|
|
13376
13406
|
bbox: NativeCropBboxSchema,
|
|
13377
13407
|
maxWidth: number().int().positive().optional()
|
|
13378
|
-
}), NativeCropResultSchema.nullable())
|
|
13408
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
13409
|
+
deviceId: number(),
|
|
13410
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
13411
|
+
cropJpeg: string().optional(),
|
|
13412
|
+
parent: DetailParentSchema,
|
|
13413
|
+
steps: array(string()).optional()
|
|
13414
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
13379
13415
|
/**
|
|
13380
13416
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
13381
13417
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25829,6 +25865,12 @@ Object.freeze({
|
|
|
25829
25865
|
addonId: null,
|
|
25830
25866
|
access: "create"
|
|
25831
25867
|
},
|
|
25868
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25869
|
+
capName: "pipeline-runner",
|
|
25870
|
+
capScope: "system",
|
|
25871
|
+
addonId: null,
|
|
25872
|
+
access: "create"
|
|
25873
|
+
},
|
|
25832
25874
|
"plateGallery.correctPlateText": {
|
|
25833
25875
|
capName: "plate-gallery",
|
|
25834
25876
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|