@camstack/addon-provider-reolink 1.2.90 → 1.2.92

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 CHANGED
@@ -20034,6 +20034,33 @@ var RecentTracksQueryInput = object({
20034
20034
  */
20035
20035
  classes: array(string()).optional()
20036
20036
  });
20037
+ /**
20038
+ * A Summary (D359): the per-camera session envelope that references tracks.
20039
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20040
+ * served by the event-media plane by key), null until the first frame with a
20041
+ * member visible has been materialised.
20042
+ */
20043
+ var SummarySchema = object({
20044
+ id: string(),
20045
+ deviceId: number(),
20046
+ openedAt: number(),
20047
+ lastActiveAt: number(),
20048
+ sealedAt: number().nullable(),
20049
+ memberCount: number().int().nonnegative(),
20050
+ groupShotKey: string().nullable()
20051
+ });
20052
+ var SummariesQueryInput = object({
20053
+ deviceIds: array(number()).min(1),
20054
+ since: number().optional(),
20055
+ until: number().optional(),
20056
+ limit: number().int().min(1).max(200).default(50)
20057
+ });
20058
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20059
+ var SummaryDetailSchema = object({
20060
+ summary: SummarySchema,
20061
+ /** Member track ids, in absorption order. */
20062
+ trackIds: array(string()).readonly()
20063
+ });
20037
20064
  var RecentTracksPageSchema = object({
20038
20065
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
20039
20066
  tracks: array(TrackSchema).readonly(),
@@ -20434,7 +20461,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20434
20461
  * timeline would read as a camera that saw nothing.
20435
20462
  */
20436
20463
  classes: array(string()).optional()
20437
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20464
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20438
20465
  kind: "mutation",
20439
20466
  auth: "admin"
20440
20467
  }), 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({
@@ -21369,6 +21396,14 @@ var AgentPipelineSettingsSchema = object({
21369
21396
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
21370
21397
  ingest: boolean().optional(),
21371
21398
  /**
21399
+ * This node's decode RAM budget, MB. Wins over the cluster
21400
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
21401
+ * own RAM unless the operator moved the cluster value (D365).
21402
+ */
21403
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21404
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21405
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21406
+ /**
21372
21407
  * Operator override for the LAN host a cross-node decoder dials to reach
21373
21408
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
21374
21409
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21830,6 +21865,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21830
21865
  }), object({ success: literal(true) }), {
21831
21866
  kind: "mutation",
21832
21867
  auth: "admin"
21868
+ }), method(object({
21869
+ agentNodeId: string(),
21870
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21871
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21872
+ }), object({ success: literal(true) }), {
21873
+ kind: "mutation",
21874
+ auth: "admin"
21833
21875
  }), method(object({
21834
21876
  agentNodeId: string(),
21835
21877
  reachableHost: string().nullable()
@@ -37720,6 +37762,12 @@ Object.freeze({
37720
37762
  addonId: null,
37721
37763
  access: "view"
37722
37764
  },
37765
+ "pipelineAnalytics.getSummary": {
37766
+ capName: "pipeline-analytics",
37767
+ capScope: "device",
37768
+ addonId: null,
37769
+ access: "view"
37770
+ },
37723
37771
  "pipelineAnalytics.getTrack": {
37724
37772
  capName: "pipeline-analytics",
37725
37773
  capScope: "device",
@@ -37798,6 +37846,12 @@ Object.freeze({
37798
37846
  addonId: null,
37799
37847
  access: "view"
37800
37848
  },
37849
+ "pipelineAnalytics.listSummaries": {
37850
+ capName: "pipeline-analytics",
37851
+ capScope: "device",
37852
+ addonId: null,
37853
+ access: "view"
37854
+ },
37801
37855
  "pipelineAnalytics.listTrackMedia": {
37802
37856
  capName: "pipeline-analytics",
37803
37857
  capScope: "device",
@@ -38356,6 +38410,12 @@ Object.freeze({
38356
38410
  addonId: null,
38357
38411
  access: "create"
38358
38412
  },
38413
+ "pipelineOrchestrator.setAgentDecodeLimits": {
38414
+ capName: "pipeline-orchestrator",
38415
+ capScope: "system",
38416
+ addonId: null,
38417
+ access: "create"
38418
+ },
38359
38419
  "pipelineOrchestrator.setAgentDetectWeight": {
38360
38420
  capName: "pipeline-orchestrator",
38361
38421
  capScope: "system",
@@ -41487,6 +41547,11 @@ Object.freeze({
41487
41547
  form: "array",
41488
41548
  optional: true
41489
41549
  }],
41550
+ "pipelineAnalytics.listSummaries": [{
41551
+ name: "deviceIds",
41552
+ form: "array",
41553
+ optional: false
41554
+ }],
41490
41555
  "pipelineAnalytics.listTrackMedia": [{
41491
41556
  name: "deviceId",
41492
41557
  form: "single",
package/dist/addon.mjs CHANGED
@@ -20029,6 +20029,33 @@ var RecentTracksQueryInput = object({
20029
20029
  */
20030
20030
  classes: array(string()).optional()
20031
20031
  });
20032
+ /**
20033
+ * A Summary (D359): the per-camera session envelope that references tracks.
20034
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20035
+ * served by the event-media plane by key), null until the first frame with a
20036
+ * member visible has been materialised.
20037
+ */
20038
+ var SummarySchema = object({
20039
+ id: string(),
20040
+ deviceId: number(),
20041
+ openedAt: number(),
20042
+ lastActiveAt: number(),
20043
+ sealedAt: number().nullable(),
20044
+ memberCount: number().int().nonnegative(),
20045
+ groupShotKey: string().nullable()
20046
+ });
20047
+ var SummariesQueryInput = object({
20048
+ deviceIds: array(number()).min(1),
20049
+ since: number().optional(),
20050
+ until: number().optional(),
20051
+ limit: number().int().min(1).max(200).default(50)
20052
+ });
20053
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20054
+ var SummaryDetailSchema = object({
20055
+ summary: SummarySchema,
20056
+ /** Member track ids, in absorption order. */
20057
+ trackIds: array(string()).readonly()
20058
+ });
20032
20059
  var RecentTracksPageSchema = object({
20033
20060
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
20034
20061
  tracks: array(TrackSchema).readonly(),
@@ -20429,7 +20456,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20429
20456
  * timeline would read as a camera that saw nothing.
20430
20457
  */
20431
20458
  classes: array(string()).optional()
20432
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20459
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20433
20460
  kind: "mutation",
20434
20461
  auth: "admin"
20435
20462
  }), 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({
@@ -21364,6 +21391,14 @@ var AgentPipelineSettingsSchema = object({
21364
21391
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
21365
21392
  ingest: boolean().optional(),
21366
21393
  /**
21394
+ * This node's decode RAM budget, MB. Wins over the cluster
21395
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
21396
+ * own RAM unless the operator moved the cluster value (D365).
21397
+ */
21398
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21399
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21400
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21401
+ /**
21367
21402
  * Operator override for the LAN host a cross-node decoder dials to reach
21368
21403
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
21369
21404
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21825,6 +21860,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21825
21860
  }), object({ success: literal(true) }), {
21826
21861
  kind: "mutation",
21827
21862
  auth: "admin"
21863
+ }), method(object({
21864
+ agentNodeId: string(),
21865
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21866
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21867
+ }), object({ success: literal(true) }), {
21868
+ kind: "mutation",
21869
+ auth: "admin"
21828
21870
  }), method(object({
21829
21871
  agentNodeId: string(),
21830
21872
  reachableHost: string().nullable()
@@ -37715,6 +37757,12 @@ Object.freeze({
37715
37757
  addonId: null,
37716
37758
  access: "view"
37717
37759
  },
37760
+ "pipelineAnalytics.getSummary": {
37761
+ capName: "pipeline-analytics",
37762
+ capScope: "device",
37763
+ addonId: null,
37764
+ access: "view"
37765
+ },
37718
37766
  "pipelineAnalytics.getTrack": {
37719
37767
  capName: "pipeline-analytics",
37720
37768
  capScope: "device",
@@ -37793,6 +37841,12 @@ Object.freeze({
37793
37841
  addonId: null,
37794
37842
  access: "view"
37795
37843
  },
37844
+ "pipelineAnalytics.listSummaries": {
37845
+ capName: "pipeline-analytics",
37846
+ capScope: "device",
37847
+ addonId: null,
37848
+ access: "view"
37849
+ },
37796
37850
  "pipelineAnalytics.listTrackMedia": {
37797
37851
  capName: "pipeline-analytics",
37798
37852
  capScope: "device",
@@ -38351,6 +38405,12 @@ Object.freeze({
38351
38405
  addonId: null,
38352
38406
  access: "create"
38353
38407
  },
38408
+ "pipelineOrchestrator.setAgentDecodeLimits": {
38409
+ capName: "pipeline-orchestrator",
38410
+ capScope: "system",
38411
+ addonId: null,
38412
+ access: "create"
38413
+ },
38354
38414
  "pipelineOrchestrator.setAgentDetectWeight": {
38355
38415
  capName: "pipeline-orchestrator",
38356
38416
  capScope: "system",
@@ -41482,6 +41542,11 @@ Object.freeze({
41482
41542
  form: "array",
41483
41543
  optional: true
41484
41544
  }],
41545
+ "pipelineAnalytics.listSummaries": [{
41546
+ name: "deviceIds",
41547
+ form: "array",
41548
+ optional: false
41549
+ }],
41485
41550
  "pipelineAnalytics.listTrackMedia": [{
41486
41551
  name: "deviceId",
41487
41552
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.90",
3
+ "version": "1.2.92",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",