@camstack/addon-agent-ui 1.2.71 → 1.2.73
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 +67 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19024,6 +19024,33 @@ var RecentTracksQueryInput = object({
|
|
|
19024
19024
|
*/
|
|
19025
19025
|
classes: array(string()).optional()
|
|
19026
19026
|
});
|
|
19027
|
+
/**
|
|
19028
|
+
* A Summary (D359): the per-camera session envelope that references tracks.
|
|
19029
|
+
* `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
|
|
19030
|
+
* served by the event-media plane by key), null until the first frame with a
|
|
19031
|
+
* member visible has been materialised.
|
|
19032
|
+
*/
|
|
19033
|
+
var SummarySchema = object({
|
|
19034
|
+
id: string(),
|
|
19035
|
+
deviceId: number(),
|
|
19036
|
+
openedAt: number(),
|
|
19037
|
+
lastActiveAt: number(),
|
|
19038
|
+
sealedAt: number().nullable(),
|
|
19039
|
+
memberCount: number().int().nonnegative(),
|
|
19040
|
+
groupShotKey: string().nullable()
|
|
19041
|
+
});
|
|
19042
|
+
var SummariesQueryInput = object({
|
|
19043
|
+
deviceIds: array(number()).min(1),
|
|
19044
|
+
since: number().optional(),
|
|
19045
|
+
until: number().optional(),
|
|
19046
|
+
limit: number().int().min(1).max(200).default(50)
|
|
19047
|
+
});
|
|
19048
|
+
var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
|
|
19049
|
+
var SummaryDetailSchema = object({
|
|
19050
|
+
summary: SummarySchema,
|
|
19051
|
+
/** Member track ids, in absorption order. */
|
|
19052
|
+
trackIds: array(string()).readonly()
|
|
19053
|
+
});
|
|
19027
19054
|
var RecentTracksPageSchema = object({
|
|
19028
19055
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
19029
19056
|
tracks: array(TrackSchema).readonly(),
|
|
@@ -19424,7 +19451,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
19424
19451
|
* timeline would read as a camera that saw nothing.
|
|
19425
19452
|
*/
|
|
19426
19453
|
classes: array(string()).optional()
|
|
19427
|
-
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
19454
|
+
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
|
|
19428
19455
|
kind: "mutation",
|
|
19429
19456
|
auth: "admin"
|
|
19430
19457
|
}), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
|
|
@@ -20359,6 +20386,14 @@ var AgentPipelineSettingsSchema = object({
|
|
|
20359
20386
|
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
20360
20387
|
ingest: boolean().optional(),
|
|
20361
20388
|
/**
|
|
20389
|
+
* This node's decode RAM budget, MB. Wins over the cluster
|
|
20390
|
+
* `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
|
|
20391
|
+
* own RAM unless the operator moved the cluster value (D365).
|
|
20392
|
+
*/
|
|
20393
|
+
decodeBudgetMb: number().int().min(1024).max(65536).optional(),
|
|
20394
|
+
/** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
|
|
20395
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
|
|
20396
|
+
/**
|
|
20362
20397
|
* Operator override for the LAN host a cross-node decoder dials to reach
|
|
20363
20398
|
* THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
|
|
20364
20399
|
* falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
|
|
@@ -20820,6 +20855,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
|
|
|
20820
20855
|
}), object({ success: literal(true) }), {
|
|
20821
20856
|
kind: "mutation",
|
|
20822
20857
|
auth: "admin"
|
|
20858
|
+
}), method(object({
|
|
20859
|
+
agentNodeId: string(),
|
|
20860
|
+
decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
|
|
20861
|
+
maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
|
|
20862
|
+
}), object({ success: literal(true) }), {
|
|
20863
|
+
kind: "mutation",
|
|
20864
|
+
auth: "admin"
|
|
20823
20865
|
}), method(object({
|
|
20824
20866
|
agentNodeId: string(),
|
|
20825
20867
|
reachableHost: string().nullable()
|
|
@@ -32364,6 +32406,12 @@ Object.freeze({
|
|
|
32364
32406
|
addonId: null,
|
|
32365
32407
|
access: "view"
|
|
32366
32408
|
},
|
|
32409
|
+
"pipelineAnalytics.getSummary": {
|
|
32410
|
+
capName: "pipeline-analytics",
|
|
32411
|
+
capScope: "device",
|
|
32412
|
+
addonId: null,
|
|
32413
|
+
access: "view"
|
|
32414
|
+
},
|
|
32367
32415
|
"pipelineAnalytics.getTrack": {
|
|
32368
32416
|
capName: "pipeline-analytics",
|
|
32369
32417
|
capScope: "device",
|
|
@@ -32442,6 +32490,12 @@ Object.freeze({
|
|
|
32442
32490
|
addonId: null,
|
|
32443
32491
|
access: "view"
|
|
32444
32492
|
},
|
|
32493
|
+
"pipelineAnalytics.listSummaries": {
|
|
32494
|
+
capName: "pipeline-analytics",
|
|
32495
|
+
capScope: "device",
|
|
32496
|
+
addonId: null,
|
|
32497
|
+
access: "view"
|
|
32498
|
+
},
|
|
32445
32499
|
"pipelineAnalytics.listTrackMedia": {
|
|
32446
32500
|
capName: "pipeline-analytics",
|
|
32447
32501
|
capScope: "device",
|
|
@@ -33000,6 +33054,12 @@ Object.freeze({
|
|
|
33000
33054
|
addonId: null,
|
|
33001
33055
|
access: "create"
|
|
33002
33056
|
},
|
|
33057
|
+
"pipelineOrchestrator.setAgentDecodeLimits": {
|
|
33058
|
+
capName: "pipeline-orchestrator",
|
|
33059
|
+
capScope: "system",
|
|
33060
|
+
addonId: null,
|
|
33061
|
+
access: "create"
|
|
33062
|
+
},
|
|
33003
33063
|
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
33004
33064
|
capName: "pipeline-orchestrator",
|
|
33005
33065
|
capScope: "system",
|
|
@@ -36131,6 +36191,11 @@ Object.freeze({
|
|
|
36131
36191
|
form: "array",
|
|
36132
36192
|
optional: true
|
|
36133
36193
|
}],
|
|
36194
|
+
"pipelineAnalytics.listSummaries": [{
|
|
36195
|
+
name: "deviceIds",
|
|
36196
|
+
form: "array",
|
|
36197
|
+
optional: false
|
|
36198
|
+
}],
|
|
36134
36199
|
"pipelineAnalytics.listTrackMedia": [{
|
|
36135
36200
|
name: "deviceId",
|
|
36136
36201
|
form: "single",
|
|
@@ -37415,7 +37480,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
37415
37480
|
capability: adminUiCapability,
|
|
37416
37481
|
provider: {
|
|
37417
37482
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
37418
|
-
getVersion: async () => ({ version: "1.2.
|
|
37483
|
+
getVersion: async () => ({ version: "1.2.73" })
|
|
37419
37484
|
}
|
|
37420
37485
|
}];
|
|
37421
37486
|
}
|