@camstack/addon-decoder-nodeav 1.2.67 → 1.2.69

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/index.js CHANGED
@@ -19151,6 +19151,33 @@ var RecentTracksQueryInput = object({
19151
19151
  */
19152
19152
  classes: array(string()).optional()
19153
19153
  });
19154
+ /**
19155
+ * A Summary (D359): the per-camera session envelope that references tracks.
19156
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19157
+ * served by the event-media plane by key), null until the first frame with a
19158
+ * member visible has been materialised.
19159
+ */
19160
+ var SummarySchema = object({
19161
+ id: string(),
19162
+ deviceId: number(),
19163
+ openedAt: number(),
19164
+ lastActiveAt: number(),
19165
+ sealedAt: number().nullable(),
19166
+ memberCount: number().int().nonnegative(),
19167
+ groupShotKey: string().nullable()
19168
+ });
19169
+ var SummariesQueryInput = object({
19170
+ deviceIds: array(number()).min(1),
19171
+ since: number().optional(),
19172
+ until: number().optional(),
19173
+ limit: number().int().min(1).max(200).default(50)
19174
+ });
19175
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19176
+ var SummaryDetailSchema = object({
19177
+ summary: SummarySchema,
19178
+ /** Member track ids, in absorption order. */
19179
+ trackIds: array(string()).readonly()
19180
+ });
19154
19181
  var RecentTracksPageSchema = object({
19155
19182
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19156
19183
  tracks: array(TrackSchema).readonly(),
@@ -19551,7 +19578,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19551
19578
  * timeline would read as a camera that saw nothing.
19552
19579
  */
19553
19580
  classes: array(string()).optional()
19554
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19581
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19555
19582
  kind: "mutation",
19556
19583
  auth: "admin"
19557
19584
  }), 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({
@@ -20486,6 +20513,14 @@ var AgentPipelineSettingsSchema = object({
20486
20513
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20487
20514
  ingest: boolean().optional(),
20488
20515
  /**
20516
+ * This node's decode RAM budget, MB. Wins over the cluster
20517
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20518
+ * own RAM unless the operator moved the cluster value (D365).
20519
+ */
20520
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20521
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20522
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20523
+ /**
20489
20524
  * Operator override for the LAN host a cross-node decoder dials to reach
20490
20525
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20491
20526
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -20947,6 +20982,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
20947
20982
  }), object({ success: literal(true) }), {
20948
20983
  kind: "mutation",
20949
20984
  auth: "admin"
20985
+ }), method(object({
20986
+ agentNodeId: string(),
20987
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
20988
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
20989
+ }), object({ success: literal(true) }), {
20990
+ kind: "mutation",
20991
+ auth: "admin"
20950
20992
  }), method(object({
20951
20993
  agentNodeId: string(),
20952
20994
  reachableHost: string().nullable()
@@ -32491,6 +32533,12 @@ Object.freeze({
32491
32533
  addonId: null,
32492
32534
  access: "view"
32493
32535
  },
32536
+ "pipelineAnalytics.getSummary": {
32537
+ capName: "pipeline-analytics",
32538
+ capScope: "device",
32539
+ addonId: null,
32540
+ access: "view"
32541
+ },
32494
32542
  "pipelineAnalytics.getTrack": {
32495
32543
  capName: "pipeline-analytics",
32496
32544
  capScope: "device",
@@ -32569,6 +32617,12 @@ Object.freeze({
32569
32617
  addonId: null,
32570
32618
  access: "view"
32571
32619
  },
32620
+ "pipelineAnalytics.listSummaries": {
32621
+ capName: "pipeline-analytics",
32622
+ capScope: "device",
32623
+ addonId: null,
32624
+ access: "view"
32625
+ },
32572
32626
  "pipelineAnalytics.listTrackMedia": {
32573
32627
  capName: "pipeline-analytics",
32574
32628
  capScope: "device",
@@ -33127,6 +33181,12 @@ Object.freeze({
33127
33181
  addonId: null,
33128
33182
  access: "create"
33129
33183
  },
33184
+ "pipelineOrchestrator.setAgentDecodeLimits": {
33185
+ capName: "pipeline-orchestrator",
33186
+ capScope: "system",
33187
+ addonId: null,
33188
+ access: "create"
33189
+ },
33130
33190
  "pipelineOrchestrator.setAgentDetectWeight": {
33131
33191
  capName: "pipeline-orchestrator",
33132
33192
  capScope: "system",
@@ -36258,6 +36318,11 @@ Object.freeze({
36258
36318
  form: "array",
36259
36319
  optional: true
36260
36320
  }],
36321
+ "pipelineAnalytics.listSummaries": [{
36322
+ name: "deviceIds",
36323
+ form: "array",
36324
+ optional: false
36325
+ }],
36261
36326
  "pipelineAnalytics.listTrackMedia": [{
36262
36327
  name: "deviceId",
36263
36328
  form: "single",
package/dist/index.mjs CHANGED
@@ -19147,6 +19147,33 @@ var RecentTracksQueryInput = object({
19147
19147
  */
19148
19148
  classes: array(string()).optional()
19149
19149
  });
19150
+ /**
19151
+ * A Summary (D359): the per-camera session envelope that references tracks.
19152
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19153
+ * served by the event-media plane by key), null until the first frame with a
19154
+ * member visible has been materialised.
19155
+ */
19156
+ var SummarySchema = object({
19157
+ id: string(),
19158
+ deviceId: number(),
19159
+ openedAt: number(),
19160
+ lastActiveAt: number(),
19161
+ sealedAt: number().nullable(),
19162
+ memberCount: number().int().nonnegative(),
19163
+ groupShotKey: string().nullable()
19164
+ });
19165
+ var SummariesQueryInput = object({
19166
+ deviceIds: array(number()).min(1),
19167
+ since: number().optional(),
19168
+ until: number().optional(),
19169
+ limit: number().int().min(1).max(200).default(50)
19170
+ });
19171
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19172
+ var SummaryDetailSchema = object({
19173
+ summary: SummarySchema,
19174
+ /** Member track ids, in absorption order. */
19175
+ trackIds: array(string()).readonly()
19176
+ });
19150
19177
  var RecentTracksPageSchema = object({
19151
19178
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19152
19179
  tracks: array(TrackSchema).readonly(),
@@ -19547,7 +19574,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19547
19574
  * timeline would read as a camera that saw nothing.
19548
19575
  */
19549
19576
  classes: array(string()).optional()
19550
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19577
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19551
19578
  kind: "mutation",
19552
19579
  auth: "admin"
19553
19580
  }), 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({
@@ -20482,6 +20509,14 @@ var AgentPipelineSettingsSchema = object({
20482
20509
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20483
20510
  ingest: boolean().optional(),
20484
20511
  /**
20512
+ * This node's decode RAM budget, MB. Wins over the cluster
20513
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20514
+ * own RAM unless the operator moved the cluster value (D365).
20515
+ */
20516
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20517
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20518
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20519
+ /**
20485
20520
  * Operator override for the LAN host a cross-node decoder dials to reach
20486
20521
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20487
20522
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -20943,6 +20978,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
20943
20978
  }), object({ success: literal(true) }), {
20944
20979
  kind: "mutation",
20945
20980
  auth: "admin"
20981
+ }), method(object({
20982
+ agentNodeId: string(),
20983
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
20984
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
20985
+ }), object({ success: literal(true) }), {
20986
+ kind: "mutation",
20987
+ auth: "admin"
20946
20988
  }), method(object({
20947
20989
  agentNodeId: string(),
20948
20990
  reachableHost: string().nullable()
@@ -32487,6 +32529,12 @@ Object.freeze({
32487
32529
  addonId: null,
32488
32530
  access: "view"
32489
32531
  },
32532
+ "pipelineAnalytics.getSummary": {
32533
+ capName: "pipeline-analytics",
32534
+ capScope: "device",
32535
+ addonId: null,
32536
+ access: "view"
32537
+ },
32490
32538
  "pipelineAnalytics.getTrack": {
32491
32539
  capName: "pipeline-analytics",
32492
32540
  capScope: "device",
@@ -32565,6 +32613,12 @@ Object.freeze({
32565
32613
  addonId: null,
32566
32614
  access: "view"
32567
32615
  },
32616
+ "pipelineAnalytics.listSummaries": {
32617
+ capName: "pipeline-analytics",
32618
+ capScope: "device",
32619
+ addonId: null,
32620
+ access: "view"
32621
+ },
32568
32622
  "pipelineAnalytics.listTrackMedia": {
32569
32623
  capName: "pipeline-analytics",
32570
32624
  capScope: "device",
@@ -33123,6 +33177,12 @@ Object.freeze({
33123
33177
  addonId: null,
33124
33178
  access: "create"
33125
33179
  },
33180
+ "pipelineOrchestrator.setAgentDecodeLimits": {
33181
+ capName: "pipeline-orchestrator",
33182
+ capScope: "system",
33183
+ addonId: null,
33184
+ access: "create"
33185
+ },
33126
33186
  "pipelineOrchestrator.setAgentDetectWeight": {
33127
33187
  capName: "pipeline-orchestrator",
33128
33188
  capScope: "system",
@@ -36254,6 +36314,11 @@ Object.freeze({
36254
36314
  form: "array",
36255
36315
  optional: true
36256
36316
  }],
36317
+ "pipelineAnalytics.listSummaries": [{
36318
+ name: "deviceIds",
36319
+ form: "array",
36320
+ optional: false
36321
+ }],
36257
36322
  "pipelineAnalytics.listTrackMedia": [{
36258
36323
  name: "deviceId",
36259
36324
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-nodeav",
3
- "version": "1.2.67",
3
+ "version": "1.2.69",
4
4
  "description": "Standalone in-process node-av decoder addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",