@camstack/addon-provider-dreame 0.2.67 → 0.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/addon.js CHANGED
@@ -69911,6 +69911,33 @@ var RecentTracksQueryInput = object({
69911
69911
  */
69912
69912
  classes: array(string()).optional()
69913
69913
  });
69914
+ /**
69915
+ * A Summary (D359): the per-camera session envelope that references tracks.
69916
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
69917
+ * served by the event-media plane by key), null until the first frame with a
69918
+ * member visible has been materialised.
69919
+ */
69920
+ var SummarySchema = object({
69921
+ id: string(),
69922
+ deviceId: number(),
69923
+ openedAt: number(),
69924
+ lastActiveAt: number(),
69925
+ sealedAt: number().nullable(),
69926
+ memberCount: number().int().nonnegative(),
69927
+ groupShotKey: string().nullable()
69928
+ });
69929
+ var SummariesQueryInput = object({
69930
+ deviceIds: array(number()).min(1),
69931
+ since: number().optional(),
69932
+ until: number().optional(),
69933
+ limit: number().int().min(1).max(200).default(50)
69934
+ });
69935
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
69936
+ var SummaryDetailSchema = object({
69937
+ summary: SummarySchema,
69938
+ /** Member track ids, in absorption order. */
69939
+ trackIds: array(string()).readonly()
69940
+ });
69914
69941
  var RecentTracksPageSchema = object({
69915
69942
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
69916
69943
  tracks: array(TrackSchema).readonly(),
@@ -70311,7 +70338,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
70311
70338
  * timeline would read as a camera that saw nothing.
70312
70339
  */
70313
70340
  classes: array(string()).optional()
70314
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
70341
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
70315
70342
  kind: "mutation",
70316
70343
  auth: "admin"
70317
70344
  }), 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({
@@ -71246,6 +71273,14 @@ var AgentPipelineSettingsSchema = object({
71246
71273
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
71247
71274
  ingest: boolean().optional(),
71248
71275
  /**
71276
+ * This node's decode RAM budget, MB. Wins over the cluster
71277
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
71278
+ * own RAM unless the operator moved the cluster value (D365).
71279
+ */
71280
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
71281
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
71282
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
71283
+ /**
71249
71284
  * Operator override for the LAN host a cross-node decoder dials to reach
71250
71285
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
71251
71286
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -71707,6 +71742,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
71707
71742
  }), object({ success: literal(true) }), {
71708
71743
  kind: "mutation",
71709
71744
  auth: "admin"
71745
+ }), method(object({
71746
+ agentNodeId: string(),
71747
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
71748
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
71749
+ }), object({ success: literal(true) }), {
71750
+ kind: "mutation",
71751
+ auth: "admin"
71710
71752
  }), method(object({
71711
71753
  agentNodeId: string(),
71712
71754
  reachableHost: string().nullable()
@@ -87055,6 +87097,12 @@ Object.freeze({
87055
87097
  addonId: null,
87056
87098
  access: "view"
87057
87099
  },
87100
+ "pipelineAnalytics.getSummary": {
87101
+ capName: "pipeline-analytics",
87102
+ capScope: "device",
87103
+ addonId: null,
87104
+ access: "view"
87105
+ },
87058
87106
  "pipelineAnalytics.getTrack": {
87059
87107
  capName: "pipeline-analytics",
87060
87108
  capScope: "device",
@@ -87133,6 +87181,12 @@ Object.freeze({
87133
87181
  addonId: null,
87134
87182
  access: "view"
87135
87183
  },
87184
+ "pipelineAnalytics.listSummaries": {
87185
+ capName: "pipeline-analytics",
87186
+ capScope: "device",
87187
+ addonId: null,
87188
+ access: "view"
87189
+ },
87136
87190
  "pipelineAnalytics.listTrackMedia": {
87137
87191
  capName: "pipeline-analytics",
87138
87192
  capScope: "device",
@@ -87691,6 +87745,12 @@ Object.freeze({
87691
87745
  addonId: null,
87692
87746
  access: "create"
87693
87747
  },
87748
+ "pipelineOrchestrator.setAgentDecodeLimits": {
87749
+ capName: "pipeline-orchestrator",
87750
+ capScope: "system",
87751
+ addonId: null,
87752
+ access: "create"
87753
+ },
87694
87754
  "pipelineOrchestrator.setAgentDetectWeight": {
87695
87755
  capName: "pipeline-orchestrator",
87696
87756
  capScope: "system",
@@ -90822,6 +90882,11 @@ Object.freeze({
90822
90882
  form: "array",
90823
90883
  optional: true
90824
90884
  }],
90885
+ "pipelineAnalytics.listSummaries": [{
90886
+ name: "deviceIds",
90887
+ form: "array",
90888
+ optional: false
90889
+ }],
90825
90890
  "pipelineAnalytics.listTrackMedia": [{
90826
90891
  name: "deviceId",
90827
90892
  form: "single",
package/dist/addon.mjs CHANGED
@@ -69911,6 +69911,33 @@ var RecentTracksQueryInput = object({
69911
69911
  */
69912
69912
  classes: array(string()).optional()
69913
69913
  });
69914
+ /**
69915
+ * A Summary (D359): the per-camera session envelope that references tracks.
69916
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
69917
+ * served by the event-media plane by key), null until the first frame with a
69918
+ * member visible has been materialised.
69919
+ */
69920
+ var SummarySchema = object({
69921
+ id: string(),
69922
+ deviceId: number(),
69923
+ openedAt: number(),
69924
+ lastActiveAt: number(),
69925
+ sealedAt: number().nullable(),
69926
+ memberCount: number().int().nonnegative(),
69927
+ groupShotKey: string().nullable()
69928
+ });
69929
+ var SummariesQueryInput = object({
69930
+ deviceIds: array(number()).min(1),
69931
+ since: number().optional(),
69932
+ until: number().optional(),
69933
+ limit: number().int().min(1).max(200).default(50)
69934
+ });
69935
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
69936
+ var SummaryDetailSchema = object({
69937
+ summary: SummarySchema,
69938
+ /** Member track ids, in absorption order. */
69939
+ trackIds: array(string()).readonly()
69940
+ });
69914
69941
  var RecentTracksPageSchema = object({
69915
69942
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
69916
69943
  tracks: array(TrackSchema).readonly(),
@@ -70311,7 +70338,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
70311
70338
  * timeline would read as a camera that saw nothing.
70312
70339
  */
70313
70340
  classes: array(string()).optional()
70314
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
70341
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
70315
70342
  kind: "mutation",
70316
70343
  auth: "admin"
70317
70344
  }), 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({
@@ -71246,6 +71273,14 @@ var AgentPipelineSettingsSchema = object({
71246
71273
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
71247
71274
  ingest: boolean().optional(),
71248
71275
  /**
71276
+ * This node's decode RAM budget, MB. Wins over the cluster
71277
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
71278
+ * own RAM unless the operator moved the cluster value (D365).
71279
+ */
71280
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
71281
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
71282
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
71283
+ /**
71249
71284
  * Operator override for the LAN host a cross-node decoder dials to reach
71250
71285
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
71251
71286
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -71707,6 +71742,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
71707
71742
  }), object({ success: literal(true) }), {
71708
71743
  kind: "mutation",
71709
71744
  auth: "admin"
71745
+ }), method(object({
71746
+ agentNodeId: string(),
71747
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
71748
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
71749
+ }), object({ success: literal(true) }), {
71750
+ kind: "mutation",
71751
+ auth: "admin"
71710
71752
  }), method(object({
71711
71753
  agentNodeId: string(),
71712
71754
  reachableHost: string().nullable()
@@ -87055,6 +87097,12 @@ Object.freeze({
87055
87097
  addonId: null,
87056
87098
  access: "view"
87057
87099
  },
87100
+ "pipelineAnalytics.getSummary": {
87101
+ capName: "pipeline-analytics",
87102
+ capScope: "device",
87103
+ addonId: null,
87104
+ access: "view"
87105
+ },
87058
87106
  "pipelineAnalytics.getTrack": {
87059
87107
  capName: "pipeline-analytics",
87060
87108
  capScope: "device",
@@ -87133,6 +87181,12 @@ Object.freeze({
87133
87181
  addonId: null,
87134
87182
  access: "view"
87135
87183
  },
87184
+ "pipelineAnalytics.listSummaries": {
87185
+ capName: "pipeline-analytics",
87186
+ capScope: "device",
87187
+ addonId: null,
87188
+ access: "view"
87189
+ },
87136
87190
  "pipelineAnalytics.listTrackMedia": {
87137
87191
  capName: "pipeline-analytics",
87138
87192
  capScope: "device",
@@ -87691,6 +87745,12 @@ Object.freeze({
87691
87745
  addonId: null,
87692
87746
  access: "create"
87693
87747
  },
87748
+ "pipelineOrchestrator.setAgentDecodeLimits": {
87749
+ capName: "pipeline-orchestrator",
87750
+ capScope: "system",
87751
+ addonId: null,
87752
+ access: "create"
87753
+ },
87694
87754
  "pipelineOrchestrator.setAgentDetectWeight": {
87695
87755
  capName: "pipeline-orchestrator",
87696
87756
  capScope: "system",
@@ -90822,6 +90882,11 @@ Object.freeze({
90822
90882
  form: "array",
90823
90883
  optional: true
90824
90884
  }],
90885
+ "pipelineAnalytics.listSummaries": [{
90886
+ name: "deviceIds",
90887
+ form: "array",
90888
+ optional: false
90889
+ }],
90825
90890
  "pipelineAnalytics.listTrackMedia": [{
90826
90891
  name: "deviceId",
90827
90892
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.67",
3
+ "version": "0.2.69",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",