@camstack/addon-provider-wyze 0.2.71 → 0.2.73

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
@@ -19438,6 +19438,33 @@ var RecentTracksQueryInput = object({
19438
19438
  */
19439
19439
  classes: array(string()).optional()
19440
19440
  });
19441
+ /**
19442
+ * A Summary (D359): the per-camera session envelope that references tracks.
19443
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19444
+ * served by the event-media plane by key), null until the first frame with a
19445
+ * member visible has been materialised.
19446
+ */
19447
+ var SummarySchema = object({
19448
+ id: string(),
19449
+ deviceId: number(),
19450
+ openedAt: number(),
19451
+ lastActiveAt: number(),
19452
+ sealedAt: number().nullable(),
19453
+ memberCount: number().int().nonnegative(),
19454
+ groupShotKey: string().nullable()
19455
+ });
19456
+ var SummariesQueryInput = object({
19457
+ deviceIds: array(number()).min(1),
19458
+ since: number().optional(),
19459
+ until: number().optional(),
19460
+ limit: number().int().min(1).max(200).default(50)
19461
+ });
19462
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19463
+ var SummaryDetailSchema = object({
19464
+ summary: SummarySchema,
19465
+ /** Member track ids, in absorption order. */
19466
+ trackIds: array(string()).readonly()
19467
+ });
19441
19468
  var RecentTracksPageSchema = object({
19442
19469
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19443
19470
  tracks: array(TrackSchema).readonly(),
@@ -19838,7 +19865,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19838
19865
  * timeline would read as a camera that saw nothing.
19839
19866
  */
19840
19867
  classes: array(string()).optional()
19841
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19868
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19842
19869
  kind: "mutation",
19843
19870
  auth: "admin"
19844
19871
  }), 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({
@@ -20773,6 +20800,14 @@ var AgentPipelineSettingsSchema = object({
20773
20800
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20774
20801
  ingest: boolean().optional(),
20775
20802
  /**
20803
+ * This node's decode RAM budget, MB. Wins over the cluster
20804
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20805
+ * own RAM unless the operator moved the cluster value (D365).
20806
+ */
20807
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20808
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20809
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20810
+ /**
20776
20811
  * Operator override for the LAN host a cross-node decoder dials to reach
20777
20812
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20778
20813
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21234,6 +21269,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21234
21269
  }), object({ success: literal(true) }), {
21235
21270
  kind: "mutation",
21236
21271
  auth: "admin"
21272
+ }), method(object({
21273
+ agentNodeId: string(),
21274
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21275
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21276
+ }), object({ success: literal(true) }), {
21277
+ kind: "mutation",
21278
+ auth: "admin"
21237
21279
  }), method(object({
21238
21280
  agentNodeId: string(),
21239
21281
  reachableHost: string().nullable()
@@ -36669,6 +36711,12 @@ Object.freeze({
36669
36711
  addonId: null,
36670
36712
  access: "view"
36671
36713
  },
36714
+ "pipelineAnalytics.getSummary": {
36715
+ capName: "pipeline-analytics",
36716
+ capScope: "device",
36717
+ addonId: null,
36718
+ access: "view"
36719
+ },
36672
36720
  "pipelineAnalytics.getTrack": {
36673
36721
  capName: "pipeline-analytics",
36674
36722
  capScope: "device",
@@ -36747,6 +36795,12 @@ Object.freeze({
36747
36795
  addonId: null,
36748
36796
  access: "view"
36749
36797
  },
36798
+ "pipelineAnalytics.listSummaries": {
36799
+ capName: "pipeline-analytics",
36800
+ capScope: "device",
36801
+ addonId: null,
36802
+ access: "view"
36803
+ },
36750
36804
  "pipelineAnalytics.listTrackMedia": {
36751
36805
  capName: "pipeline-analytics",
36752
36806
  capScope: "device",
@@ -37305,6 +37359,12 @@ Object.freeze({
37305
37359
  addonId: null,
37306
37360
  access: "create"
37307
37361
  },
37362
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37363
+ capName: "pipeline-orchestrator",
37364
+ capScope: "system",
37365
+ addonId: null,
37366
+ access: "create"
37367
+ },
37308
37368
  "pipelineOrchestrator.setAgentDetectWeight": {
37309
37369
  capName: "pipeline-orchestrator",
37310
37370
  capScope: "system",
@@ -40436,6 +40496,11 @@ Object.freeze({
40436
40496
  form: "array",
40437
40497
  optional: true
40438
40498
  }],
40499
+ "pipelineAnalytics.listSummaries": [{
40500
+ name: "deviceIds",
40501
+ form: "array",
40502
+ optional: false
40503
+ }],
40439
40504
  "pipelineAnalytics.listTrackMedia": [{
40440
40505
  name: "deviceId",
40441
40506
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19417,6 +19417,33 @@ var RecentTracksQueryInput = object({
19417
19417
  */
19418
19418
  classes: array(string()).optional()
19419
19419
  });
19420
+ /**
19421
+ * A Summary (D359): the per-camera session envelope that references tracks.
19422
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19423
+ * served by the event-media plane by key), null until the first frame with a
19424
+ * member visible has been materialised.
19425
+ */
19426
+ var SummarySchema = object({
19427
+ id: string(),
19428
+ deviceId: number(),
19429
+ openedAt: number(),
19430
+ lastActiveAt: number(),
19431
+ sealedAt: number().nullable(),
19432
+ memberCount: number().int().nonnegative(),
19433
+ groupShotKey: string().nullable()
19434
+ });
19435
+ var SummariesQueryInput = object({
19436
+ deviceIds: array(number()).min(1),
19437
+ since: number().optional(),
19438
+ until: number().optional(),
19439
+ limit: number().int().min(1).max(200).default(50)
19440
+ });
19441
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19442
+ var SummaryDetailSchema = object({
19443
+ summary: SummarySchema,
19444
+ /** Member track ids, in absorption order. */
19445
+ trackIds: array(string()).readonly()
19446
+ });
19420
19447
  var RecentTracksPageSchema = object({
19421
19448
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19422
19449
  tracks: array(TrackSchema).readonly(),
@@ -19817,7 +19844,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19817
19844
  * timeline would read as a camera that saw nothing.
19818
19845
  */
19819
19846
  classes: array(string()).optional()
19820
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19847
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19821
19848
  kind: "mutation",
19822
19849
  auth: "admin"
19823
19850
  }), 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({
@@ -20752,6 +20779,14 @@ var AgentPipelineSettingsSchema = object({
20752
20779
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20753
20780
  ingest: boolean().optional(),
20754
20781
  /**
20782
+ * This node's decode RAM budget, MB. Wins over the cluster
20783
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20784
+ * own RAM unless the operator moved the cluster value (D365).
20785
+ */
20786
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20787
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20788
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20789
+ /**
20755
20790
  * Operator override for the LAN host a cross-node decoder dials to reach
20756
20791
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20757
20792
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21213,6 +21248,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21213
21248
  }), object({ success: literal(true) }), {
21214
21249
  kind: "mutation",
21215
21250
  auth: "admin"
21251
+ }), method(object({
21252
+ agentNodeId: string(),
21253
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21254
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21255
+ }), object({ success: literal(true) }), {
21256
+ kind: "mutation",
21257
+ auth: "admin"
21216
21258
  }), method(object({
21217
21259
  agentNodeId: string(),
21218
21260
  reachableHost: string().nullable()
@@ -36648,6 +36690,12 @@ Object.freeze({
36648
36690
  addonId: null,
36649
36691
  access: "view"
36650
36692
  },
36693
+ "pipelineAnalytics.getSummary": {
36694
+ capName: "pipeline-analytics",
36695
+ capScope: "device",
36696
+ addonId: null,
36697
+ access: "view"
36698
+ },
36651
36699
  "pipelineAnalytics.getTrack": {
36652
36700
  capName: "pipeline-analytics",
36653
36701
  capScope: "device",
@@ -36726,6 +36774,12 @@ Object.freeze({
36726
36774
  addonId: null,
36727
36775
  access: "view"
36728
36776
  },
36777
+ "pipelineAnalytics.listSummaries": {
36778
+ capName: "pipeline-analytics",
36779
+ capScope: "device",
36780
+ addonId: null,
36781
+ access: "view"
36782
+ },
36729
36783
  "pipelineAnalytics.listTrackMedia": {
36730
36784
  capName: "pipeline-analytics",
36731
36785
  capScope: "device",
@@ -37284,6 +37338,12 @@ Object.freeze({
37284
37338
  addonId: null,
37285
37339
  access: "create"
37286
37340
  },
37341
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37342
+ capName: "pipeline-orchestrator",
37343
+ capScope: "system",
37344
+ addonId: null,
37345
+ access: "create"
37346
+ },
37287
37347
  "pipelineOrchestrator.setAgentDetectWeight": {
37288
37348
  capName: "pipeline-orchestrator",
37289
37349
  capScope: "system",
@@ -40415,6 +40475,11 @@ Object.freeze({
40415
40475
  form: "array",
40416
40476
  optional: true
40417
40477
  }],
40478
+ "pipelineAnalytics.listSummaries": [{
40479
+ name: "deviceIds",
40480
+ form: "array",
40481
+ optional: false
40482
+ }],
40418
40483
  "pipelineAnalytics.listTrackMedia": [{
40419
40484
  name: "deviceId",
40420
40485
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-wyze",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",