@camstack/addon-import-alexa 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
|
@@ -4681,7 +4681,7 @@ function preprocess(fn, schema) {
|
|
|
4681
4681
|
});
|
|
4682
4682
|
}
|
|
4683
4683
|
//#endregion
|
|
4684
|
-
//#region ../types/dist/sleep-
|
|
4684
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4685
4685
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4686
4686
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4687
4687
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12111,7 +12111,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12111
12111
|
image: _instanceof(Uint8Array).optional(),
|
|
12112
12112
|
referenceImage: string().optional(),
|
|
12113
12113
|
deviceId: number().optional(),
|
|
12114
|
-
sessionId: string().optional()
|
|
12114
|
+
sessionId: string().optional(),
|
|
12115
|
+
/**
|
|
12116
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12117
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12118
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12119
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12120
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12121
|
+
*/
|
|
12122
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12115
12123
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12116
12124
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12117
12125
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12287,6 +12295,28 @@ var NativeCropResultSchema = object({
|
|
|
12287
12295
|
width: number().int().positive(),
|
|
12288
12296
|
height: number().int().positive()
|
|
12289
12297
|
});
|
|
12298
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12299
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12300
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12301
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12302
|
+
* normalized [0,1] convention). */
|
|
12303
|
+
var DetailParentSchema = object({
|
|
12304
|
+
bbox: NativeCropBboxSchema,
|
|
12305
|
+
className: string()
|
|
12306
|
+
});
|
|
12307
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12308
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12309
|
+
* single tracked detection. */
|
|
12310
|
+
var DetailResultSchema = object({
|
|
12311
|
+
stepId: string(),
|
|
12312
|
+
className: string(),
|
|
12313
|
+
score: number(),
|
|
12314
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12315
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12316
|
+
embedding: string().optional(),
|
|
12317
|
+
label: string().optional(),
|
|
12318
|
+
alignedCropJpeg: string().optional()
|
|
12319
|
+
});
|
|
12290
12320
|
/**
|
|
12291
12321
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12292
12322
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12547,7 +12577,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12547
12577
|
handle: FrameHandleSchema,
|
|
12548
12578
|
bbox: NativeCropBboxSchema,
|
|
12549
12579
|
maxWidth: number().int().positive().optional()
|
|
12550
|
-
}), NativeCropResultSchema.nullable())
|
|
12580
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12581
|
+
deviceId: number(),
|
|
12582
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12583
|
+
cropJpeg: string().optional(),
|
|
12584
|
+
parent: DetailParentSchema,
|
|
12585
|
+
steps: array(string()).optional()
|
|
12586
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12551
12587
|
/**
|
|
12552
12588
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12553
12589
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25103,6 +25139,12 @@ Object.freeze({
|
|
|
25103
25139
|
addonId: null,
|
|
25104
25140
|
access: "create"
|
|
25105
25141
|
},
|
|
25142
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25143
|
+
capName: "pipeline-runner",
|
|
25144
|
+
capScope: "system",
|
|
25145
|
+
addonId: null,
|
|
25146
|
+
access: "create"
|
|
25147
|
+
},
|
|
25106
25148
|
"plateGallery.correctPlateText": {
|
|
25107
25149
|
capName: "plate-gallery",
|
|
25108
25150
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4681,7 +4681,7 @@ function preprocess(fn, schema) {
|
|
|
4681
4681
|
});
|
|
4682
4682
|
}
|
|
4683
4683
|
//#endregion
|
|
4684
|
-
//#region ../types/dist/sleep-
|
|
4684
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4685
4685
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4686
4686
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4687
4687
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12111,7 +12111,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12111
12111
|
image: _instanceof(Uint8Array).optional(),
|
|
12112
12112
|
referenceImage: string().optional(),
|
|
12113
12113
|
deviceId: number().optional(),
|
|
12114
|
-
sessionId: string().optional()
|
|
12114
|
+
sessionId: string().optional(),
|
|
12115
|
+
/**
|
|
12116
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12117
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12118
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12119
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12120
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12121
|
+
*/
|
|
12122
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12115
12123
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12116
12124
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12117
12125
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12287,6 +12295,28 @@ var NativeCropResultSchema = object({
|
|
|
12287
12295
|
width: number().int().positive(),
|
|
12288
12296
|
height: number().int().positive()
|
|
12289
12297
|
});
|
|
12298
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12299
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12300
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12301
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12302
|
+
* normalized [0,1] convention). */
|
|
12303
|
+
var DetailParentSchema = object({
|
|
12304
|
+
bbox: NativeCropBboxSchema,
|
|
12305
|
+
className: string()
|
|
12306
|
+
});
|
|
12307
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12308
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12309
|
+
* single tracked detection. */
|
|
12310
|
+
var DetailResultSchema = object({
|
|
12311
|
+
stepId: string(),
|
|
12312
|
+
className: string(),
|
|
12313
|
+
score: number(),
|
|
12314
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12315
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12316
|
+
embedding: string().optional(),
|
|
12317
|
+
label: string().optional(),
|
|
12318
|
+
alignedCropJpeg: string().optional()
|
|
12319
|
+
});
|
|
12290
12320
|
/**
|
|
12291
12321
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12292
12322
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12547,7 +12577,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12547
12577
|
handle: FrameHandleSchema,
|
|
12548
12578
|
bbox: NativeCropBboxSchema,
|
|
12549
12579
|
maxWidth: number().int().positive().optional()
|
|
12550
|
-
}), NativeCropResultSchema.nullable())
|
|
12580
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12581
|
+
deviceId: number(),
|
|
12582
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12583
|
+
cropJpeg: string().optional(),
|
|
12584
|
+
parent: DetailParentSchema,
|
|
12585
|
+
steps: array(string()).optional()
|
|
12586
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12551
12587
|
/**
|
|
12552
12588
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12553
12589
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25103,6 +25139,12 @@ Object.freeze({
|
|
|
25103
25139
|
addonId: null,
|
|
25104
25140
|
access: "create"
|
|
25105
25141
|
},
|
|
25142
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25143
|
+
capName: "pipeline-runner",
|
|
25144
|
+
capScope: "system",
|
|
25145
|
+
addonId: null,
|
|
25146
|
+
access: "create"
|
|
25147
|
+
},
|
|
25106
25148
|
"plateGallery.correctPlateText": {
|
|
25107
25149
|
capName: "plate-gallery",
|
|
25108
25150
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-import-alexa",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|