@camstack/addon-provider-gree 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
@@ -19392,6 +19392,33 @@ var RecentTracksQueryInput = object({
19392
19392
  */
19393
19393
  classes: array(string()).optional()
19394
19394
  });
19395
+ /**
19396
+ * A Summary (D359): the per-camera session envelope that references tracks.
19397
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19398
+ * served by the event-media plane by key), null until the first frame with a
19399
+ * member visible has been materialised.
19400
+ */
19401
+ var SummarySchema = object({
19402
+ id: string(),
19403
+ deviceId: number(),
19404
+ openedAt: number(),
19405
+ lastActiveAt: number(),
19406
+ sealedAt: number().nullable(),
19407
+ memberCount: number().int().nonnegative(),
19408
+ groupShotKey: string().nullable()
19409
+ });
19410
+ var SummariesQueryInput = object({
19411
+ deviceIds: array(number()).min(1),
19412
+ since: number().optional(),
19413
+ until: number().optional(),
19414
+ limit: number().int().min(1).max(200).default(50)
19415
+ });
19416
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19417
+ var SummaryDetailSchema = object({
19418
+ summary: SummarySchema,
19419
+ /** Member track ids, in absorption order. */
19420
+ trackIds: array(string()).readonly()
19421
+ });
19395
19422
  var RecentTracksPageSchema = object({
19396
19423
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19397
19424
  tracks: array(TrackSchema).readonly(),
@@ -19792,7 +19819,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19792
19819
  * timeline would read as a camera that saw nothing.
19793
19820
  */
19794
19821
  classes: array(string()).optional()
19795
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19822
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19796
19823
  kind: "mutation",
19797
19824
  auth: "admin"
19798
19825
  }), 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({
@@ -20727,6 +20754,14 @@ var AgentPipelineSettingsSchema = object({
20727
20754
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20728
20755
  ingest: boolean().optional(),
20729
20756
  /**
20757
+ * This node's decode RAM budget, MB. Wins over the cluster
20758
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20759
+ * own RAM unless the operator moved the cluster value (D365).
20760
+ */
20761
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20762
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20763
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20764
+ /**
20730
20765
  * Operator override for the LAN host a cross-node decoder dials to reach
20731
20766
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20732
20767
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21188,6 +21223,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21188
21223
  }), object({ success: literal(true) }), {
21189
21224
  kind: "mutation",
21190
21225
  auth: "admin"
21226
+ }), method(object({
21227
+ agentNodeId: string(),
21228
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21229
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21230
+ }), object({ success: literal(true) }), {
21231
+ kind: "mutation",
21232
+ auth: "admin"
21191
21233
  }), method(object({
21192
21234
  agentNodeId: string(),
21193
21235
  reachableHost: string().nullable()
@@ -36511,6 +36553,12 @@ Object.freeze({
36511
36553
  addonId: null,
36512
36554
  access: "view"
36513
36555
  },
36556
+ "pipelineAnalytics.getSummary": {
36557
+ capName: "pipeline-analytics",
36558
+ capScope: "device",
36559
+ addonId: null,
36560
+ access: "view"
36561
+ },
36514
36562
  "pipelineAnalytics.getTrack": {
36515
36563
  capName: "pipeline-analytics",
36516
36564
  capScope: "device",
@@ -36589,6 +36637,12 @@ Object.freeze({
36589
36637
  addonId: null,
36590
36638
  access: "view"
36591
36639
  },
36640
+ "pipelineAnalytics.listSummaries": {
36641
+ capName: "pipeline-analytics",
36642
+ capScope: "device",
36643
+ addonId: null,
36644
+ access: "view"
36645
+ },
36592
36646
  "pipelineAnalytics.listTrackMedia": {
36593
36647
  capName: "pipeline-analytics",
36594
36648
  capScope: "device",
@@ -37147,6 +37201,12 @@ Object.freeze({
37147
37201
  addonId: null,
37148
37202
  access: "create"
37149
37203
  },
37204
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37205
+ capName: "pipeline-orchestrator",
37206
+ capScope: "system",
37207
+ addonId: null,
37208
+ access: "create"
37209
+ },
37150
37210
  "pipelineOrchestrator.setAgentDetectWeight": {
37151
37211
  capName: "pipeline-orchestrator",
37152
37212
  capScope: "system",
@@ -40278,6 +40338,11 @@ Object.freeze({
40278
40338
  form: "array",
40279
40339
  optional: true
40280
40340
  }],
40341
+ "pipelineAnalytics.listSummaries": [{
40342
+ name: "deviceIds",
40343
+ form: "array",
40344
+ optional: false
40345
+ }],
40281
40346
  "pipelineAnalytics.listTrackMedia": [{
40282
40347
  name: "deviceId",
40283
40348
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19391,6 +19391,33 @@ var RecentTracksQueryInput = object({
19391
19391
  */
19392
19392
  classes: array(string()).optional()
19393
19393
  });
19394
+ /**
19395
+ * A Summary (D359): the per-camera session envelope that references tracks.
19396
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19397
+ * served by the event-media plane by key), null until the first frame with a
19398
+ * member visible has been materialised.
19399
+ */
19400
+ var SummarySchema = object({
19401
+ id: string(),
19402
+ deviceId: number(),
19403
+ openedAt: number(),
19404
+ lastActiveAt: number(),
19405
+ sealedAt: number().nullable(),
19406
+ memberCount: number().int().nonnegative(),
19407
+ groupShotKey: string().nullable()
19408
+ });
19409
+ var SummariesQueryInput = object({
19410
+ deviceIds: array(number()).min(1),
19411
+ since: number().optional(),
19412
+ until: number().optional(),
19413
+ limit: number().int().min(1).max(200).default(50)
19414
+ });
19415
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19416
+ var SummaryDetailSchema = object({
19417
+ summary: SummarySchema,
19418
+ /** Member track ids, in absorption order. */
19419
+ trackIds: array(string()).readonly()
19420
+ });
19394
19421
  var RecentTracksPageSchema = object({
19395
19422
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19396
19423
  tracks: array(TrackSchema).readonly(),
@@ -19791,7 +19818,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19791
19818
  * timeline would read as a camera that saw nothing.
19792
19819
  */
19793
19820
  classes: array(string()).optional()
19794
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19821
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19795
19822
  kind: "mutation",
19796
19823
  auth: "admin"
19797
19824
  }), 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({
@@ -20726,6 +20753,14 @@ var AgentPipelineSettingsSchema = object({
20726
20753
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20727
20754
  ingest: boolean().optional(),
20728
20755
  /**
20756
+ * This node's decode RAM budget, MB. Wins over the cluster
20757
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20758
+ * own RAM unless the operator moved the cluster value (D365).
20759
+ */
20760
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
20761
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
20762
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
20763
+ /**
20729
20764
  * Operator override for the LAN host a cross-node decoder dials to reach
20730
20765
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20731
20766
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21187,6 +21222,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21187
21222
  }), object({ success: literal(true) }), {
21188
21223
  kind: "mutation",
21189
21224
  auth: "admin"
21225
+ }), method(object({
21226
+ agentNodeId: string(),
21227
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21228
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21229
+ }), object({ success: literal(true) }), {
21230
+ kind: "mutation",
21231
+ auth: "admin"
21190
21232
  }), method(object({
21191
21233
  agentNodeId: string(),
21192
21234
  reachableHost: string().nullable()
@@ -36510,6 +36552,12 @@ Object.freeze({
36510
36552
  addonId: null,
36511
36553
  access: "view"
36512
36554
  },
36555
+ "pipelineAnalytics.getSummary": {
36556
+ capName: "pipeline-analytics",
36557
+ capScope: "device",
36558
+ addonId: null,
36559
+ access: "view"
36560
+ },
36513
36561
  "pipelineAnalytics.getTrack": {
36514
36562
  capName: "pipeline-analytics",
36515
36563
  capScope: "device",
@@ -36588,6 +36636,12 @@ Object.freeze({
36588
36636
  addonId: null,
36589
36637
  access: "view"
36590
36638
  },
36639
+ "pipelineAnalytics.listSummaries": {
36640
+ capName: "pipeline-analytics",
36641
+ capScope: "device",
36642
+ addonId: null,
36643
+ access: "view"
36644
+ },
36591
36645
  "pipelineAnalytics.listTrackMedia": {
36592
36646
  capName: "pipeline-analytics",
36593
36647
  capScope: "device",
@@ -37146,6 +37200,12 @@ Object.freeze({
37146
37200
  addonId: null,
37147
37201
  access: "create"
37148
37202
  },
37203
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37204
+ capName: "pipeline-orchestrator",
37205
+ capScope: "system",
37206
+ addonId: null,
37207
+ access: "create"
37208
+ },
37149
37209
  "pipelineOrchestrator.setAgentDetectWeight": {
37150
37210
  capName: "pipeline-orchestrator",
37151
37211
  capScope: "system",
@@ -40277,6 +40337,11 @@ Object.freeze({
40277
40337
  form: "array",
40278
40338
  optional: true
40279
40339
  }],
40340
+ "pipelineAnalytics.listSummaries": [{
40341
+ name: "deviceIds",
40342
+ form: "array",
40343
+ optional: false
40344
+ }],
40280
40345
  "pipelineAnalytics.listTrackMedia": [{
40281
40346
  name: "deviceId",
40282
40347
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-gree",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
5
5
  "keywords": [
6
6
  "camstack",