@camstack/addon-agent-ui 1.1.4 → 1.1.5
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 +29 -5
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4629
4629
|
return inst;
|
|
4630
4630
|
}
|
|
4631
4631
|
//#endregion
|
|
4632
|
-
//#region ../types/dist/sleep-
|
|
4632
|
+
//#region ../types/dist/sleep-NOH4yRwj.mjs
|
|
4633
4633
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4634
4634
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4635
4635
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12666,7 +12666,8 @@ method(object({
|
|
|
12666
12666
|
sessionId: string().optional()
|
|
12667
12667
|
}), ConvertResultSchema, {
|
|
12668
12668
|
kind: "mutation",
|
|
12669
|
-
auth: "admin"
|
|
12669
|
+
auth: "admin",
|
|
12670
|
+
timeoutMs: 6e5
|
|
12670
12671
|
});
|
|
12671
12672
|
var AddonHttpRouteSchema = object({
|
|
12672
12673
|
method: _enum([
|
|
@@ -14202,7 +14203,14 @@ var NotificationRuleConditionsSchema = object({
|
|
|
14202
14203
|
/** Match against `event.data.eventType` token (e.g. `'press_long'`). When non-empty, only events
|
|
14203
14204
|
* carrying a matching `data.eventType` string pass this condition. Rules without this field are
|
|
14204
14205
|
* unaffected (back-compat). Distinct from `rule.eventTypes` which holds EventCategory strings. */
|
|
14205
|
-
eventTypeTokens: array(string()).readonly().optional()
|
|
14206
|
+
eventTypeTokens: array(string()).readonly().optional(),
|
|
14207
|
+
/** Match detections whose CLIP image embedding is semantically similar to this free-text
|
|
14208
|
+
* description. Requires the embedding-encoder cap to have pre-warmed the text vector.
|
|
14209
|
+
* `minSimilarity` is the cosine similarity threshold in [0, 1]. */
|
|
14210
|
+
clipDescription: object({
|
|
14211
|
+
text: string().min(1),
|
|
14212
|
+
minSimilarity: number().min(0).max(1)
|
|
14213
|
+
}).optional()
|
|
14206
14214
|
});
|
|
14207
14215
|
var NotificationRuleTemplateSchema = object({
|
|
14208
14216
|
title: string(),
|
|
@@ -14444,6 +14452,16 @@ var TrackedDetectionSchema = object({
|
|
|
14444
14452
|
zones: array(string()).readonly(),
|
|
14445
14453
|
state: TrackStateSchema
|
|
14446
14454
|
});
|
|
14455
|
+
var ScoredObjectEventSchema = ObjectEventSchema.extend({ score: number() });
|
|
14456
|
+
var SearchObjectEventsInput = object({
|
|
14457
|
+
text: string(),
|
|
14458
|
+
deviceId: number().optional(),
|
|
14459
|
+
since: number().optional(),
|
|
14460
|
+
until: number().optional(),
|
|
14461
|
+
classFilter: string().optional(),
|
|
14462
|
+
limit: number().default(50),
|
|
14463
|
+
minScore: number().min(0).max(1).default(.2)
|
|
14464
|
+
});
|
|
14447
14465
|
DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).readonly()), method(object({
|
|
14448
14466
|
deviceId: number(),
|
|
14449
14467
|
trackId: string()
|
|
@@ -14478,7 +14496,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
14478
14496
|
}), method(object({
|
|
14479
14497
|
eventId: string(),
|
|
14480
14498
|
kind: MediaFileKindEnum.optional()
|
|
14481
|
-
}), array(MediaFileSchema).readonly()), method(object({ trackId: string() }), array(MediaFileSchema).readonly()), object({
|
|
14499
|
+
}), array(MediaFileSchema).readonly()), method(object({ trackId: string() }), array(MediaFileSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), object({
|
|
14482
14500
|
deviceId: number(),
|
|
14483
14501
|
timestamp: number(),
|
|
14484
14502
|
frameWidth: number(),
|
|
@@ -19128,6 +19146,12 @@ Object.freeze({
|
|
|
19128
19146
|
addonId: null,
|
|
19129
19147
|
access: "create"
|
|
19130
19148
|
},
|
|
19149
|
+
"pipelineAnalytics.searchObjectEvents": {
|
|
19150
|
+
capName: "pipeline-analytics",
|
|
19151
|
+
capScope: "device",
|
|
19152
|
+
addonId: null,
|
|
19153
|
+
access: "view"
|
|
19154
|
+
},
|
|
19131
19155
|
"pipelineExecutor.cacheFrameInPool": {
|
|
19132
19156
|
capName: "pipeline-executor",
|
|
19133
19157
|
capScope: "system",
|
|
@@ -21032,7 +21056,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
21032
21056
|
capability: adminUiCapability,
|
|
21033
21057
|
provider: {
|
|
21034
21058
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
21035
|
-
getVersion: async () => ({ version: "1.1.
|
|
21059
|
+
getVersion: async () => ({ version: "1.1.5" })
|
|
21036
21060
|
}
|
|
21037
21061
|
}];
|
|
21038
21062
|
}
|