@camstack/addon-provider-rademacher 0.2.66 → 0.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
@@ -20374,6 +20374,33 @@ var RecentTracksQueryInput = object({
20374
20374
  */
20375
20375
  classes: array(string()).optional()
20376
20376
  });
20377
+ /**
20378
+ * A Summary (D359): the per-camera session envelope that references tracks.
20379
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20380
+ * served by the event-media plane by key), null until the first frame with a
20381
+ * member visible has been materialised.
20382
+ */
20383
+ var SummarySchema = object({
20384
+ id: string(),
20385
+ deviceId: number(),
20386
+ openedAt: number(),
20387
+ lastActiveAt: number(),
20388
+ sealedAt: number().nullable(),
20389
+ memberCount: number().int().nonnegative(),
20390
+ groupShotKey: string().nullable()
20391
+ });
20392
+ var SummariesQueryInput = object({
20393
+ deviceIds: array(number()).min(1),
20394
+ since: number().optional(),
20395
+ until: number().optional(),
20396
+ limit: number().int().min(1).max(200).default(50)
20397
+ });
20398
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20399
+ var SummaryDetailSchema = object({
20400
+ summary: SummarySchema,
20401
+ /** Member track ids, in absorption order. */
20402
+ trackIds: array(string()).readonly()
20403
+ });
20377
20404
  var RecentTracksPageSchema = object({
20378
20405
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
20379
20406
  tracks: array(TrackSchema).readonly(),
@@ -20774,7 +20801,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20774
20801
  * timeline would read as a camera that saw nothing.
20775
20802
  */
20776
20803
  classes: array(string()).optional()
20777
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20804
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20778
20805
  kind: "mutation",
20779
20806
  auth: "admin"
20780
20807
  }), 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({
@@ -21709,6 +21736,14 @@ var AgentPipelineSettingsSchema = object({
21709
21736
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
21710
21737
  ingest: boolean().optional(),
21711
21738
  /**
21739
+ * This node's decode RAM budget, MB. Wins over the cluster
21740
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
21741
+ * own RAM unless the operator moved the cluster value (D365).
21742
+ */
21743
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21744
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21745
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21746
+ /**
21712
21747
  * Operator override for the LAN host a cross-node decoder dials to reach
21713
21748
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
21714
21749
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -22170,6 +22205,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
22170
22205
  }), object({ success: literal(true) }), {
22171
22206
  kind: "mutation",
22172
22207
  auth: "admin"
22208
+ }), method(object({
22209
+ agentNodeId: string(),
22210
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
22211
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
22212
+ }), object({ success: literal(true) }), {
22213
+ kind: "mutation",
22214
+ auth: "admin"
22173
22215
  }), method(object({
22174
22216
  agentNodeId: string(),
22175
22217
  reachableHost: string().nullable()
@@ -37493,6 +37535,12 @@ Object.freeze({
37493
37535
  addonId: null,
37494
37536
  access: "view"
37495
37537
  },
37538
+ "pipelineAnalytics.getSummary": {
37539
+ capName: "pipeline-analytics",
37540
+ capScope: "device",
37541
+ addonId: null,
37542
+ access: "view"
37543
+ },
37496
37544
  "pipelineAnalytics.getTrack": {
37497
37545
  capName: "pipeline-analytics",
37498
37546
  capScope: "device",
@@ -37571,6 +37619,12 @@ Object.freeze({
37571
37619
  addonId: null,
37572
37620
  access: "view"
37573
37621
  },
37622
+ "pipelineAnalytics.listSummaries": {
37623
+ capName: "pipeline-analytics",
37624
+ capScope: "device",
37625
+ addonId: null,
37626
+ access: "view"
37627
+ },
37574
37628
  "pipelineAnalytics.listTrackMedia": {
37575
37629
  capName: "pipeline-analytics",
37576
37630
  capScope: "device",
@@ -38129,6 +38183,12 @@ Object.freeze({
38129
38183
  addonId: null,
38130
38184
  access: "create"
38131
38185
  },
38186
+ "pipelineOrchestrator.setAgentDecodeLimits": {
38187
+ capName: "pipeline-orchestrator",
38188
+ capScope: "system",
38189
+ addonId: null,
38190
+ access: "create"
38191
+ },
38132
38192
  "pipelineOrchestrator.setAgentDetectWeight": {
38133
38193
  capName: "pipeline-orchestrator",
38134
38194
  capScope: "system",
@@ -41260,6 +41320,11 @@ Object.freeze({
41260
41320
  form: "array",
41261
41321
  optional: true
41262
41322
  }],
41323
+ "pipelineAnalytics.listSummaries": [{
41324
+ name: "deviceIds",
41325
+ form: "array",
41326
+ optional: false
41327
+ }],
41263
41328
  "pipelineAnalytics.listTrackMedia": [{
41264
41329
  name: "deviceId",
41265
41330
  form: "single",
package/dist/addon.mjs CHANGED
@@ -20373,6 +20373,33 @@ var RecentTracksQueryInput = object({
20373
20373
  */
20374
20374
  classes: array(string()).optional()
20375
20375
  });
20376
+ /**
20377
+ * A Summary (D359): the per-camera session envelope that references tracks.
20378
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
20379
+ * served by the event-media plane by key), null until the first frame with a
20380
+ * member visible has been materialised.
20381
+ */
20382
+ var SummarySchema = object({
20383
+ id: string(),
20384
+ deviceId: number(),
20385
+ openedAt: number(),
20386
+ lastActiveAt: number(),
20387
+ sealedAt: number().nullable(),
20388
+ memberCount: number().int().nonnegative(),
20389
+ groupShotKey: string().nullable()
20390
+ });
20391
+ var SummariesQueryInput = object({
20392
+ deviceIds: array(number()).min(1),
20393
+ since: number().optional(),
20394
+ until: number().optional(),
20395
+ limit: number().int().min(1).max(200).default(50)
20396
+ });
20397
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
20398
+ var SummaryDetailSchema = object({
20399
+ summary: SummarySchema,
20400
+ /** Member track ids, in absorption order. */
20401
+ trackIds: array(string()).readonly()
20402
+ });
20376
20403
  var RecentTracksPageSchema = object({
20377
20404
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
20378
20405
  tracks: array(TrackSchema).readonly(),
@@ -20773,7 +20800,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20773
20800
  * timeline would read as a camera that saw nothing.
20774
20801
  */
20775
20802
  classes: array(string()).optional()
20776
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20803
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20777
20804
  kind: "mutation",
20778
20805
  auth: "admin"
20779
20806
  }), 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({
@@ -21708,6 +21735,14 @@ var AgentPipelineSettingsSchema = object({
21708
21735
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
21709
21736
  ingest: boolean().optional(),
21710
21737
  /**
21738
+ * This node's decode RAM budget, MB. Wins over the cluster
21739
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
21740
+ * own RAM unless the operator moved the cluster value (D365).
21741
+ */
21742
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21743
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21744
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21745
+ /**
21711
21746
  * Operator override for the LAN host a cross-node decoder dials to reach
21712
21747
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
21713
21748
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -22169,6 +22204,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
22169
22204
  }), object({ success: literal(true) }), {
22170
22205
  kind: "mutation",
22171
22206
  auth: "admin"
22207
+ }), method(object({
22208
+ agentNodeId: string(),
22209
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
22210
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
22211
+ }), object({ success: literal(true) }), {
22212
+ kind: "mutation",
22213
+ auth: "admin"
22172
22214
  }), method(object({
22173
22215
  agentNodeId: string(),
22174
22216
  reachableHost: string().nullable()
@@ -37492,6 +37534,12 @@ Object.freeze({
37492
37534
  addonId: null,
37493
37535
  access: "view"
37494
37536
  },
37537
+ "pipelineAnalytics.getSummary": {
37538
+ capName: "pipeline-analytics",
37539
+ capScope: "device",
37540
+ addonId: null,
37541
+ access: "view"
37542
+ },
37495
37543
  "pipelineAnalytics.getTrack": {
37496
37544
  capName: "pipeline-analytics",
37497
37545
  capScope: "device",
@@ -37570,6 +37618,12 @@ Object.freeze({
37570
37618
  addonId: null,
37571
37619
  access: "view"
37572
37620
  },
37621
+ "pipelineAnalytics.listSummaries": {
37622
+ capName: "pipeline-analytics",
37623
+ capScope: "device",
37624
+ addonId: null,
37625
+ access: "view"
37626
+ },
37573
37627
  "pipelineAnalytics.listTrackMedia": {
37574
37628
  capName: "pipeline-analytics",
37575
37629
  capScope: "device",
@@ -38128,6 +38182,12 @@ Object.freeze({
38128
38182
  addonId: null,
38129
38183
  access: "create"
38130
38184
  },
38185
+ "pipelineOrchestrator.setAgentDecodeLimits": {
38186
+ capName: "pipeline-orchestrator",
38187
+ capScope: "system",
38188
+ addonId: null,
38189
+ access: "create"
38190
+ },
38131
38191
  "pipelineOrchestrator.setAgentDetectWeight": {
38132
38192
  capName: "pipeline-orchestrator",
38133
38193
  capScope: "system",
@@ -41259,6 +41319,11 @@ Object.freeze({
41259
41319
  form: "array",
41260
41320
  optional: true
41261
41321
  }],
41322
+ "pipelineAnalytics.listSummaries": [{
41323
+ name: "deviceIds",
41324
+ form: "array",
41325
+ optional: false
41326
+ }],
41262
41327
  "pipelineAnalytics.listTrackMedia": [{
41263
41328
  name: "deviceId",
41264
41329
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",