@camstack/addon-notifiers 1.1.22 → 1.1.23
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
|
@@ -4631,7 +4631,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4631
4631
|
return inst;
|
|
4632
4632
|
}
|
|
4633
4633
|
//#endregion
|
|
4634
|
-
//#region ../types/dist/sleep-
|
|
4634
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4635
4635
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4636
4636
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4637
4637
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10860,7 +10860,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10860
10860
|
image: _instanceof(Uint8Array).optional(),
|
|
10861
10861
|
referenceImage: string().optional(),
|
|
10862
10862
|
deviceId: number().optional(),
|
|
10863
|
-
sessionId: string().optional()
|
|
10863
|
+
sessionId: string().optional(),
|
|
10864
|
+
/**
|
|
10865
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10866
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10867
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10868
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10869
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10870
|
+
*/
|
|
10871
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10864
10872
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10865
10873
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10866
10874
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -11003,6 +11011,28 @@ var NativeCropResultSchema = object({
|
|
|
11003
11011
|
width: number().int().positive(),
|
|
11004
11012
|
height: number().int().positive()
|
|
11005
11013
|
});
|
|
11014
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11015
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11016
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11017
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11018
|
+
* normalized [0,1] convention). */
|
|
11019
|
+
var DetailParentSchema = object({
|
|
11020
|
+
bbox: NativeCropBboxSchema,
|
|
11021
|
+
className: string()
|
|
11022
|
+
});
|
|
11023
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11024
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11025
|
+
* single tracked detection. */
|
|
11026
|
+
var DetailResultSchema = object({
|
|
11027
|
+
stepId: string(),
|
|
11028
|
+
className: string(),
|
|
11029
|
+
score: number(),
|
|
11030
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11031
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11032
|
+
embedding: string().optional(),
|
|
11033
|
+
label: string().optional(),
|
|
11034
|
+
alignedCropJpeg: string().optional()
|
|
11035
|
+
});
|
|
11006
11036
|
/**
|
|
11007
11037
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
11008
11038
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11263,7 +11293,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11263
11293
|
handle: FrameHandleSchema,
|
|
11264
11294
|
bbox: NativeCropBboxSchema,
|
|
11265
11295
|
maxWidth: number().int().positive().optional()
|
|
11266
|
-
}), NativeCropResultSchema.nullable())
|
|
11296
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11297
|
+
deviceId: number(),
|
|
11298
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11299
|
+
cropJpeg: string().optional(),
|
|
11300
|
+
parent: DetailParentSchema,
|
|
11301
|
+
steps: array(string()).optional()
|
|
11302
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11267
11303
|
object({
|
|
11268
11304
|
detected: boolean(),
|
|
11269
11305
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22094,6 +22130,12 @@ Object.freeze({
|
|
|
22094
22130
|
addonId: null,
|
|
22095
22131
|
access: "create"
|
|
22096
22132
|
},
|
|
22133
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22134
|
+
capName: "pipeline-runner",
|
|
22135
|
+
capScope: "system",
|
|
22136
|
+
addonId: null,
|
|
22137
|
+
access: "create"
|
|
22138
|
+
},
|
|
22097
22139
|
"plateGallery.correctPlateText": {
|
|
22098
22140
|
capName: "plate-gallery",
|
|
22099
22141
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4627
4627
|
return inst;
|
|
4628
4628
|
}
|
|
4629
4629
|
//#endregion
|
|
4630
|
-
//#region ../types/dist/sleep-
|
|
4630
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4631
4631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4632
4632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4633
4633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10856,7 +10856,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10856
10856
|
image: _instanceof(Uint8Array).optional(),
|
|
10857
10857
|
referenceImage: string().optional(),
|
|
10858
10858
|
deviceId: number().optional(),
|
|
10859
|
-
sessionId: string().optional()
|
|
10859
|
+
sessionId: string().optional(),
|
|
10860
|
+
/**
|
|
10861
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10862
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10863
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10864
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10865
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10866
|
+
*/
|
|
10867
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10860
10868
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10861
10869
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10862
10870
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10999,6 +11007,28 @@ var NativeCropResultSchema = object({
|
|
|
10999
11007
|
width: number().int().positive(),
|
|
11000
11008
|
height: number().int().positive()
|
|
11001
11009
|
});
|
|
11010
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11011
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11012
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11013
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11014
|
+
* normalized [0,1] convention). */
|
|
11015
|
+
var DetailParentSchema = object({
|
|
11016
|
+
bbox: NativeCropBboxSchema,
|
|
11017
|
+
className: string()
|
|
11018
|
+
});
|
|
11019
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11020
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11021
|
+
* single tracked detection. */
|
|
11022
|
+
var DetailResultSchema = object({
|
|
11023
|
+
stepId: string(),
|
|
11024
|
+
className: string(),
|
|
11025
|
+
score: number(),
|
|
11026
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11027
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11028
|
+
embedding: string().optional(),
|
|
11029
|
+
label: string().optional(),
|
|
11030
|
+
alignedCropJpeg: string().optional()
|
|
11031
|
+
});
|
|
11002
11032
|
/**
|
|
11003
11033
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
11004
11034
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11259,7 +11289,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11259
11289
|
handle: FrameHandleSchema,
|
|
11260
11290
|
bbox: NativeCropBboxSchema,
|
|
11261
11291
|
maxWidth: number().int().positive().optional()
|
|
11262
|
-
}), NativeCropResultSchema.nullable())
|
|
11292
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11293
|
+
deviceId: number(),
|
|
11294
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11295
|
+
cropJpeg: string().optional(),
|
|
11296
|
+
parent: DetailParentSchema,
|
|
11297
|
+
steps: array(string()).optional()
|
|
11298
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11263
11299
|
object({
|
|
11264
11300
|
detected: boolean(),
|
|
11265
11301
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22090,6 +22126,12 @@ Object.freeze({
|
|
|
22090
22126
|
addonId: null,
|
|
22091
22127
|
access: "create"
|
|
22092
22128
|
},
|
|
22129
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22130
|
+
capName: "pipeline-runner",
|
|
22131
|
+
capScope: "system",
|
|
22132
|
+
addonId: null,
|
|
22133
|
+
access: "create"
|
|
22134
|
+
},
|
|
22093
22135
|
"plateGallery.correctPlateText": {
|
|
22094
22136
|
capName: "plate-gallery",
|
|
22095
22137
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|