@camstack/addon-provider-onvif 1.2.66 → 1.2.68

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
@@ -19101,6 +19101,33 @@ var RecentTracksQueryInput = object({
19101
19101
  */
19102
19102
  classes: array(string()).optional()
19103
19103
  });
19104
+ /**
19105
+ * A Summary (D359): the per-camera session envelope that references tracks.
19106
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19107
+ * served by the event-media plane by key), null until the first frame with a
19108
+ * member visible has been materialised.
19109
+ */
19110
+ var SummarySchema = object({
19111
+ id: string(),
19112
+ deviceId: number(),
19113
+ openedAt: number(),
19114
+ lastActiveAt: number(),
19115
+ sealedAt: number().nullable(),
19116
+ memberCount: number().int().nonnegative(),
19117
+ groupShotKey: string().nullable()
19118
+ });
19119
+ var SummariesQueryInput = object({
19120
+ deviceIds: array(number()).min(1),
19121
+ since: number().optional(),
19122
+ until: number().optional(),
19123
+ limit: number().int().min(1).max(200).default(50)
19124
+ });
19125
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19126
+ var SummaryDetailSchema = object({
19127
+ summary: SummarySchema,
19128
+ /** Member track ids, in absorption order. */
19129
+ trackIds: array(string()).readonly()
19130
+ });
19104
19131
  var RecentTracksPageSchema = object({
19105
19132
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19106
19133
  tracks: array(TrackSchema).readonly(),
@@ -19501,7 +19528,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19501
19528
  * timeline would read as a camera that saw nothing.
19502
19529
  */
19503
19530
  classes: array(string()).optional()
19504
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19531
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19505
19532
  kind: "mutation",
19506
19533
  auth: "admin"
19507
19534
  }), 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({
@@ -20436,6 +20463,14 @@ var AgentPipelineSettingsSchema = object({
20436
20463
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20437
20464
  ingest: boolean().optional(),
20438
20465
  /**
20466
+ * This node's decode RAM budget, MB. Wins over the cluster
20467
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20468
+ * own RAM unless the operator moved the cluster value (D365).
20469
+ */
20470
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20471
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20472
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20473
+ /**
20439
20474
  * Operator override for the LAN host a cross-node decoder dials to reach
20440
20475
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20441
20476
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -20897,6 +20932,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
20897
20932
  }), object({ success: literal(true) }), {
20898
20933
  kind: "mutation",
20899
20934
  auth: "admin"
20935
+ }), method(object({
20936
+ agentNodeId: string(),
20937
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
20938
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
20939
+ }), object({ success: literal(true) }), {
20940
+ kind: "mutation",
20941
+ auth: "admin"
20900
20942
  }), method(object({
20901
20943
  agentNodeId: string(),
20902
20944
  reachableHost: string().nullable()
@@ -33362,6 +33404,12 @@ Object.freeze({
33362
33404
  addonId: null,
33363
33405
  access: "view"
33364
33406
  },
33407
+ "pipelineAnalytics.getSummary": {
33408
+ capName: "pipeline-analytics",
33409
+ capScope: "device",
33410
+ addonId: null,
33411
+ access: "view"
33412
+ },
33365
33413
  "pipelineAnalytics.getTrack": {
33366
33414
  capName: "pipeline-analytics",
33367
33415
  capScope: "device",
@@ -33440,6 +33488,12 @@ Object.freeze({
33440
33488
  addonId: null,
33441
33489
  access: "view"
33442
33490
  },
33491
+ "pipelineAnalytics.listSummaries": {
33492
+ capName: "pipeline-analytics",
33493
+ capScope: "device",
33494
+ addonId: null,
33495
+ access: "view"
33496
+ },
33443
33497
  "pipelineAnalytics.listTrackMedia": {
33444
33498
  capName: "pipeline-analytics",
33445
33499
  capScope: "device",
@@ -33998,6 +34052,12 @@ Object.freeze({
33998
34052
  addonId: null,
33999
34053
  access: "create"
34000
34054
  },
34055
+ "pipelineOrchestrator.setAgentDecodeLimits": {
34056
+ capName: "pipeline-orchestrator",
34057
+ capScope: "system",
34058
+ addonId: null,
34059
+ access: "create"
34060
+ },
34001
34061
  "pipelineOrchestrator.setAgentDetectWeight": {
34002
34062
  capName: "pipeline-orchestrator",
34003
34063
  capScope: "system",
@@ -37129,6 +37189,11 @@ Object.freeze({
37129
37189
  form: "array",
37130
37190
  optional: true
37131
37191
  }],
37192
+ "pipelineAnalytics.listSummaries": [{
37193
+ name: "deviceIds",
37194
+ form: "array",
37195
+ optional: false
37196
+ }],
37132
37197
  "pipelineAnalytics.listTrackMedia": [{
37133
37198
  name: "deviceId",
37134
37199
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19102,6 +19102,33 @@ var RecentTracksQueryInput = object({
19102
19102
  */
19103
19103
  classes: array(string()).optional()
19104
19104
  });
19105
+ /**
19106
+ * A Summary (D359): the per-camera session envelope that references tracks.
19107
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19108
+ * served by the event-media plane by key), null until the first frame with a
19109
+ * member visible has been materialised.
19110
+ */
19111
+ var SummarySchema = object({
19112
+ id: string(),
19113
+ deviceId: number(),
19114
+ openedAt: number(),
19115
+ lastActiveAt: number(),
19116
+ sealedAt: number().nullable(),
19117
+ memberCount: number().int().nonnegative(),
19118
+ groupShotKey: string().nullable()
19119
+ });
19120
+ var SummariesQueryInput = object({
19121
+ deviceIds: array(number()).min(1),
19122
+ since: number().optional(),
19123
+ until: number().optional(),
19124
+ limit: number().int().min(1).max(200).default(50)
19125
+ });
19126
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19127
+ var SummaryDetailSchema = object({
19128
+ summary: SummarySchema,
19129
+ /** Member track ids, in absorption order. */
19130
+ trackIds: array(string()).readonly()
19131
+ });
19105
19132
  var RecentTracksPageSchema = object({
19106
19133
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19107
19134
  tracks: array(TrackSchema).readonly(),
@@ -19502,7 +19529,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19502
19529
  * timeline would read as a camera that saw nothing.
19503
19530
  */
19504
19531
  classes: array(string()).optional()
19505
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19532
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19506
19533
  kind: "mutation",
19507
19534
  auth: "admin"
19508
19535
  }), 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({
@@ -20437,6 +20464,14 @@ var AgentPipelineSettingsSchema = object({
20437
20464
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20438
20465
  ingest: boolean().optional(),
20439
20466
  /**
20467
+ * This node's decode RAM budget, MB. Wins over the cluster
20468
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20469
+ * own RAM unless the operator moved the cluster value (D365).
20470
+ */
20471
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20472
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20473
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20474
+ /**
20440
20475
  * Operator override for the LAN host a cross-node decoder dials to reach
20441
20476
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20442
20477
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -20898,6 +20933,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
20898
20933
  }), object({ success: literal(true) }), {
20899
20934
  kind: "mutation",
20900
20935
  auth: "admin"
20936
+ }), method(object({
20937
+ agentNodeId: string(),
20938
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
20939
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
20940
+ }), object({ success: literal(true) }), {
20941
+ kind: "mutation",
20942
+ auth: "admin"
20901
20943
  }), method(object({
20902
20944
  agentNodeId: string(),
20903
20945
  reachableHost: string().nullable()
@@ -33363,6 +33405,12 @@ Object.freeze({
33363
33405
  addonId: null,
33364
33406
  access: "view"
33365
33407
  },
33408
+ "pipelineAnalytics.getSummary": {
33409
+ capName: "pipeline-analytics",
33410
+ capScope: "device",
33411
+ addonId: null,
33412
+ access: "view"
33413
+ },
33366
33414
  "pipelineAnalytics.getTrack": {
33367
33415
  capName: "pipeline-analytics",
33368
33416
  capScope: "device",
@@ -33441,6 +33489,12 @@ Object.freeze({
33441
33489
  addonId: null,
33442
33490
  access: "view"
33443
33491
  },
33492
+ "pipelineAnalytics.listSummaries": {
33493
+ capName: "pipeline-analytics",
33494
+ capScope: "device",
33495
+ addonId: null,
33496
+ access: "view"
33497
+ },
33444
33498
  "pipelineAnalytics.listTrackMedia": {
33445
33499
  capName: "pipeline-analytics",
33446
33500
  capScope: "device",
@@ -33999,6 +34053,12 @@ Object.freeze({
33999
34053
  addonId: null,
34000
34054
  access: "create"
34001
34055
  },
34056
+ "pipelineOrchestrator.setAgentDecodeLimits": {
34057
+ capName: "pipeline-orchestrator",
34058
+ capScope: "system",
34059
+ addonId: null,
34060
+ access: "create"
34061
+ },
34002
34062
  "pipelineOrchestrator.setAgentDetectWeight": {
34003
34063
  capName: "pipeline-orchestrator",
34004
34064
  capScope: "system",
@@ -37130,6 +37190,11 @@ Object.freeze({
37130
37190
  form: "array",
37131
37191
  optional: true
37132
37192
  }],
37193
+ "pipelineAnalytics.listSummaries": [{
37194
+ name: "deviceIds",
37195
+ form: "array",
37196
+ optional: false
37197
+ }],
37133
37198
  "pipelineAnalytics.listTrackMedia": [{
37134
37199
  name: "deviceId",
37135
37200
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.2.66",
3
+ "version": "1.2.68",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",