@camstack/addon-matter-broker 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
@@ -19469,6 +19469,33 @@ var RecentTracksQueryInput = object({
19469
19469
  */
19470
19470
  classes: array(string$2()).optional()
19471
19471
  });
19472
+ /**
19473
+ * A Summary (D359): the per-camera session envelope that references tracks.
19474
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19475
+ * served by the event-media plane by key), null until the first frame with a
19476
+ * member visible has been materialised.
19477
+ */
19478
+ var SummarySchema = object({
19479
+ id: string$2(),
19480
+ deviceId: number(),
19481
+ openedAt: number(),
19482
+ lastActiveAt: number(),
19483
+ sealedAt: number().nullable(),
19484
+ memberCount: number().int().nonnegative(),
19485
+ groupShotKey: string$2().nullable()
19486
+ });
19487
+ var SummariesQueryInput = object({
19488
+ deviceIds: array(number()).min(1),
19489
+ since: number().optional(),
19490
+ until: number().optional(),
19491
+ limit: number().int().min(1).max(200).default(50)
19492
+ });
19493
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19494
+ var SummaryDetailSchema = object({
19495
+ summary: SummarySchema,
19496
+ /** Member track ids, in absorption order. */
19497
+ trackIds: array(string$2()).readonly()
19498
+ });
19472
19499
  var RecentTracksPageSchema = object({
19473
19500
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19474
19501
  tracks: array(TrackSchema).readonly(),
@@ -19869,7 +19896,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19869
19896
  * timeline would read as a camera that saw nothing.
19870
19897
  */
19871
19898
  classes: array(string$2()).optional()
19872
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19899
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19873
19900
  kind: "mutation",
19874
19901
  auth: "admin"
19875
19902
  }), 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({
@@ -20804,6 +20831,14 @@ var AgentPipelineSettingsSchema = object({
20804
20831
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20805
20832
  ingest: boolean().optional(),
20806
20833
  /**
20834
+ * This node's decode RAM budget, MB. Wins over the cluster
20835
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20836
+ * own RAM unless the operator moved the cluster value (D365).
20837
+ */
20838
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20839
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20840
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20841
+ /**
20807
20842
  * Operator override for the LAN host a cross-node decoder dials to reach
20808
20843
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20809
20844
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21265,6 +21300,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21265
21300
  }), object({ success: literal(true) }), {
21266
21301
  kind: "mutation",
21267
21302
  auth: "admin"
21303
+ }), method(object({
21304
+ agentNodeId: string$2(),
21305
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21306
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21307
+ }), object({ success: literal(true) }), {
21308
+ kind: "mutation",
21309
+ auth: "admin"
21268
21310
  }), method(object({
21269
21311
  agentNodeId: string$2(),
21270
21312
  reachableHost: string$2().nullable()
@@ -36605,6 +36647,12 @@ Object.freeze({
36605
36647
  addonId: null,
36606
36648
  access: "view"
36607
36649
  },
36650
+ "pipelineAnalytics.getSummary": {
36651
+ capName: "pipeline-analytics",
36652
+ capScope: "device",
36653
+ addonId: null,
36654
+ access: "view"
36655
+ },
36608
36656
  "pipelineAnalytics.getTrack": {
36609
36657
  capName: "pipeline-analytics",
36610
36658
  capScope: "device",
@@ -36683,6 +36731,12 @@ Object.freeze({
36683
36731
  addonId: null,
36684
36732
  access: "view"
36685
36733
  },
36734
+ "pipelineAnalytics.listSummaries": {
36735
+ capName: "pipeline-analytics",
36736
+ capScope: "device",
36737
+ addonId: null,
36738
+ access: "view"
36739
+ },
36686
36740
  "pipelineAnalytics.listTrackMedia": {
36687
36741
  capName: "pipeline-analytics",
36688
36742
  capScope: "device",
@@ -37241,6 +37295,12 @@ Object.freeze({
37241
37295
  addonId: null,
37242
37296
  access: "create"
37243
37297
  },
37298
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37299
+ capName: "pipeline-orchestrator",
37300
+ capScope: "system",
37301
+ addonId: null,
37302
+ access: "create"
37303
+ },
37244
37304
  "pipelineOrchestrator.setAgentDetectWeight": {
37245
37305
  capName: "pipeline-orchestrator",
37246
37306
  capScope: "system",
@@ -40372,6 +40432,11 @@ Object.freeze({
40372
40432
  form: "array",
40373
40433
  optional: true
40374
40434
  }],
40435
+ "pipelineAnalytics.listSummaries": [{
40436
+ name: "deviceIds",
40437
+ form: "array",
40438
+ optional: false
40439
+ }],
40375
40440
  "pipelineAnalytics.listTrackMedia": [{
40376
40441
  name: "deviceId",
40377
40442
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19467,6 +19467,33 @@ var RecentTracksQueryInput = object({
19467
19467
  */
19468
19468
  classes: array(string$2()).optional()
19469
19469
  });
19470
+ /**
19471
+ * A Summary (D359): the per-camera session envelope that references tracks.
19472
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19473
+ * served by the event-media plane by key), null until the first frame with a
19474
+ * member visible has been materialised.
19475
+ */
19476
+ var SummarySchema = object({
19477
+ id: string$2(),
19478
+ deviceId: number(),
19479
+ openedAt: number(),
19480
+ lastActiveAt: number(),
19481
+ sealedAt: number().nullable(),
19482
+ memberCount: number().int().nonnegative(),
19483
+ groupShotKey: string$2().nullable()
19484
+ });
19485
+ var SummariesQueryInput = object({
19486
+ deviceIds: array(number()).min(1),
19487
+ since: number().optional(),
19488
+ until: number().optional(),
19489
+ limit: number().int().min(1).max(200).default(50)
19490
+ });
19491
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19492
+ var SummaryDetailSchema = object({
19493
+ summary: SummarySchema,
19494
+ /** Member track ids, in absorption order. */
19495
+ trackIds: array(string$2()).readonly()
19496
+ });
19470
19497
  var RecentTracksPageSchema = object({
19471
19498
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19472
19499
  tracks: array(TrackSchema).readonly(),
@@ -19867,7 +19894,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19867
19894
  * timeline would read as a camera that saw nothing.
19868
19895
  */
19869
19896
  classes: array(string$2()).optional()
19870
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19897
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string$2() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19871
19898
  kind: "mutation",
19872
19899
  auth: "admin"
19873
19900
  }), 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({
@@ -20802,6 +20829,14 @@ var AgentPipelineSettingsSchema = object({
20802
20829
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20803
20830
  ingest: boolean().optional(),
20804
20831
  /**
20832
+ * This node's decode RAM budget, MB. Wins over the cluster
20833
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20834
+ * own RAM unless the operator moved the cluster value (D365).
20835
+ */
20836
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20837
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20838
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20839
+ /**
20805
20840
  * Operator override for the LAN host a cross-node decoder dials to reach
20806
20841
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20807
20842
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21263,6 +21298,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21263
21298
  }), object({ success: literal(true) }), {
21264
21299
  kind: "mutation",
21265
21300
  auth: "admin"
21301
+ }), method(object({
21302
+ agentNodeId: string$2(),
21303
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21304
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21305
+ }), object({ success: literal(true) }), {
21306
+ kind: "mutation",
21307
+ auth: "admin"
21266
21308
  }), method(object({
21267
21309
  agentNodeId: string$2(),
21268
21310
  reachableHost: string$2().nullable()
@@ -36603,6 +36645,12 @@ Object.freeze({
36603
36645
  addonId: null,
36604
36646
  access: "view"
36605
36647
  },
36648
+ "pipelineAnalytics.getSummary": {
36649
+ capName: "pipeline-analytics",
36650
+ capScope: "device",
36651
+ addonId: null,
36652
+ access: "view"
36653
+ },
36606
36654
  "pipelineAnalytics.getTrack": {
36607
36655
  capName: "pipeline-analytics",
36608
36656
  capScope: "device",
@@ -36681,6 +36729,12 @@ Object.freeze({
36681
36729
  addonId: null,
36682
36730
  access: "view"
36683
36731
  },
36732
+ "pipelineAnalytics.listSummaries": {
36733
+ capName: "pipeline-analytics",
36734
+ capScope: "device",
36735
+ addonId: null,
36736
+ access: "view"
36737
+ },
36684
36738
  "pipelineAnalytics.listTrackMedia": {
36685
36739
  capName: "pipeline-analytics",
36686
36740
  capScope: "device",
@@ -37239,6 +37293,12 @@ Object.freeze({
37239
37293
  addonId: null,
37240
37294
  access: "create"
37241
37295
  },
37296
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37297
+ capName: "pipeline-orchestrator",
37298
+ capScope: "system",
37299
+ addonId: null,
37300
+ access: "create"
37301
+ },
37242
37302
  "pipelineOrchestrator.setAgentDetectWeight": {
37243
37303
  capName: "pipeline-orchestrator",
37244
37304
  capScope: "system",
@@ -40370,6 +40430,11 @@ Object.freeze({
40370
40430
  form: "array",
40371
40431
  optional: true
40372
40432
  }],
40433
+ "pipelineAnalytics.listSummaries": [{
40434
+ name: "deviceIds",
40435
+ form: "array",
40436
+ optional: false
40437
+ }],
40373
40438
  "pipelineAnalytics.listTrackMedia": [{
40374
40439
  name: "deviceId",
40375
40440
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",