@camstack/addon-provider-ecowitt 0.1.20 → 0.1.21
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
|
@@ -4645,7 +4645,7 @@ function preprocess(fn, schema) {
|
|
|
4645
4645
|
});
|
|
4646
4646
|
}
|
|
4647
4647
|
//#endregion
|
|
4648
|
-
//#region ../types/dist/sleep-
|
|
4648
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4649
4649
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4650
4650
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4651
4651
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11958,7 +11958,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11958
11958
|
image: _instanceof(Uint8Array).optional(),
|
|
11959
11959
|
referenceImage: string().optional(),
|
|
11960
11960
|
deviceId: number().optional(),
|
|
11961
|
-
sessionId: string().optional()
|
|
11961
|
+
sessionId: string().optional(),
|
|
11962
|
+
/**
|
|
11963
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11964
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11965
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11966
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11967
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11968
|
+
*/
|
|
11969
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11962
11970
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11963
11971
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11964
11972
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12134,6 +12142,28 @@ var NativeCropResultSchema = object({
|
|
|
12134
12142
|
width: number().int().positive(),
|
|
12135
12143
|
height: number().int().positive()
|
|
12136
12144
|
});
|
|
12145
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12146
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12147
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12148
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12149
|
+
* normalized [0,1] convention). */
|
|
12150
|
+
var DetailParentSchema = object({
|
|
12151
|
+
bbox: NativeCropBboxSchema,
|
|
12152
|
+
className: string()
|
|
12153
|
+
});
|
|
12154
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12155
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12156
|
+
* single tracked detection. */
|
|
12157
|
+
var DetailResultSchema = object({
|
|
12158
|
+
stepId: string(),
|
|
12159
|
+
className: string(),
|
|
12160
|
+
score: number(),
|
|
12161
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12162
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12163
|
+
embedding: string().optional(),
|
|
12164
|
+
label: string().optional(),
|
|
12165
|
+
alignedCropJpeg: string().optional()
|
|
12166
|
+
});
|
|
12137
12167
|
/**
|
|
12138
12168
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12139
12169
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12394,7 +12424,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12394
12424
|
handle: FrameHandleSchema,
|
|
12395
12425
|
bbox: NativeCropBboxSchema,
|
|
12396
12426
|
maxWidth: number().int().positive().optional()
|
|
12397
|
-
}), NativeCropResultSchema.nullable())
|
|
12427
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12428
|
+
deviceId: number(),
|
|
12429
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12430
|
+
cropJpeg: string().optional(),
|
|
12431
|
+
parent: DetailParentSchema,
|
|
12432
|
+
steps: array(string()).optional()
|
|
12433
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12398
12434
|
/**
|
|
12399
12435
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12400
12436
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24848,6 +24884,12 @@ Object.freeze({
|
|
|
24848
24884
|
addonId: null,
|
|
24849
24885
|
access: "create"
|
|
24850
24886
|
},
|
|
24887
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24888
|
+
capName: "pipeline-runner",
|
|
24889
|
+
capScope: "system",
|
|
24890
|
+
addonId: null,
|
|
24891
|
+
access: "create"
|
|
24892
|
+
},
|
|
24851
24893
|
"plateGallery.correctPlateText": {
|
|
24852
24894
|
capName: "plate-gallery",
|
|
24853
24895
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4644,7 +4644,7 @@ function preprocess(fn, schema) {
|
|
|
4644
4644
|
});
|
|
4645
4645
|
}
|
|
4646
4646
|
//#endregion
|
|
4647
|
-
//#region ../types/dist/sleep-
|
|
4647
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4648
4648
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4649
4649
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4650
4650
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -11957,7 +11957,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
11957
11957
|
image: _instanceof(Uint8Array).optional(),
|
|
11958
11958
|
referenceImage: string().optional(),
|
|
11959
11959
|
deviceId: number().optional(),
|
|
11960
|
-
sessionId: string().optional()
|
|
11960
|
+
sessionId: string().optional(),
|
|
11961
|
+
/**
|
|
11962
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
11963
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
11964
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
11965
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
11966
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
11967
|
+
*/
|
|
11968
|
+
plane: _enum(["full", "frame"]).optional()
|
|
11961
11969
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
11962
11970
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
11963
11971
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12133,6 +12141,28 @@ var NativeCropResultSchema = object({
|
|
|
12133
12141
|
width: number().int().positive(),
|
|
12134
12142
|
height: number().int().positive()
|
|
12135
12143
|
});
|
|
12144
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12145
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12146
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12147
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12148
|
+
* normalized [0,1] convention). */
|
|
12149
|
+
var DetailParentSchema = object({
|
|
12150
|
+
bbox: NativeCropBboxSchema,
|
|
12151
|
+
className: string()
|
|
12152
|
+
});
|
|
12153
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12154
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12155
|
+
* single tracked detection. */
|
|
12156
|
+
var DetailResultSchema = object({
|
|
12157
|
+
stepId: string(),
|
|
12158
|
+
className: string(),
|
|
12159
|
+
score: number(),
|
|
12160
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12161
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12162
|
+
embedding: string().optional(),
|
|
12163
|
+
label: string().optional(),
|
|
12164
|
+
alignedCropJpeg: string().optional()
|
|
12165
|
+
});
|
|
12136
12166
|
/**
|
|
12137
12167
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12138
12168
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12393,7 +12423,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12393
12423
|
handle: FrameHandleSchema,
|
|
12394
12424
|
bbox: NativeCropBboxSchema,
|
|
12395
12425
|
maxWidth: number().int().positive().optional()
|
|
12396
|
-
}), NativeCropResultSchema.nullable())
|
|
12426
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12427
|
+
deviceId: number(),
|
|
12428
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12429
|
+
cropJpeg: string().optional(),
|
|
12430
|
+
parent: DetailParentSchema,
|
|
12431
|
+
steps: array(string()).optional()
|
|
12432
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12397
12433
|
/**
|
|
12398
12434
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12399
12435
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24847,6 +24883,12 @@ Object.freeze({
|
|
|
24847
24883
|
addonId: null,
|
|
24848
24884
|
access: "create"
|
|
24849
24885
|
},
|
|
24886
|
+
"pipelineRunner.runDetailSubtree": {
|
|
24887
|
+
capName: "pipeline-runner",
|
|
24888
|
+
capScope: "system",
|
|
24889
|
+
addonId: null,
|
|
24890
|
+
access: "create"
|
|
24891
|
+
},
|
|
24850
24892
|
"plateGallery.correctPlateText": {
|
|
24851
24893
|
capName: "plate-gallery",
|
|
24852
24894
|
capScope: "system",
|
package/package.json
CHANGED