@camstack/addon-import-alexa 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
@@ -19632,6 +19632,33 @@ var RecentTracksQueryInput = object({
19632
19632
  */
19633
19633
  classes: array(string()).optional()
19634
19634
  });
19635
+ /**
19636
+ * A Summary (D359): the per-camera session envelope that references tracks.
19637
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19638
+ * served by the event-media plane by key), null until the first frame with a
19639
+ * member visible has been materialised.
19640
+ */
19641
+ var SummarySchema = object({
19642
+ id: string(),
19643
+ deviceId: number(),
19644
+ openedAt: number(),
19645
+ lastActiveAt: number(),
19646
+ sealedAt: number().nullable(),
19647
+ memberCount: number().int().nonnegative(),
19648
+ groupShotKey: string().nullable()
19649
+ });
19650
+ var SummariesQueryInput = object({
19651
+ deviceIds: array(number()).min(1),
19652
+ since: number().optional(),
19653
+ until: number().optional(),
19654
+ limit: number().int().min(1).max(200).default(50)
19655
+ });
19656
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19657
+ var SummaryDetailSchema = object({
19658
+ summary: SummarySchema,
19659
+ /** Member track ids, in absorption order. */
19660
+ trackIds: array(string()).readonly()
19661
+ });
19635
19662
  var RecentTracksPageSchema = object({
19636
19663
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19637
19664
  tracks: array(TrackSchema).readonly(),
@@ -20032,7 +20059,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20032
20059
  * timeline would read as a camera that saw nothing.
20033
20060
  */
20034
20061
  classes: array(string()).optional()
20035
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20062
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20036
20063
  kind: "mutation",
20037
20064
  auth: "admin"
20038
20065
  }), 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({
@@ -20967,6 +20994,14 @@ var AgentPipelineSettingsSchema = object({
20967
20994
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20968
20995
  ingest: boolean().optional(),
20969
20996
  /**
20997
+ * This node's decode RAM budget, MB. Wins over the cluster
20998
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20999
+ * own RAM unless the operator moved the cluster value (D365).
21000
+ */
21001
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21002
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21003
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21004
+ /**
20970
21005
  * Operator override for the LAN host a cross-node decoder dials to reach
20971
21006
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20972
21007
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21428,6 +21463,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21428
21463
  }), object({ success: literal(true) }), {
21429
21464
  kind: "mutation",
21430
21465
  auth: "admin"
21466
+ }), method(object({
21467
+ agentNodeId: string(),
21468
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21469
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21470
+ }), object({ success: literal(true) }), {
21471
+ kind: "mutation",
21472
+ auth: "admin"
21431
21473
  }), method(object({
21432
21474
  agentNodeId: string(),
21433
21475
  reachableHost: string().nullable()
@@ -36768,6 +36810,12 @@ Object.freeze({
36768
36810
  addonId: null,
36769
36811
  access: "view"
36770
36812
  },
36813
+ "pipelineAnalytics.getSummary": {
36814
+ capName: "pipeline-analytics",
36815
+ capScope: "device",
36816
+ addonId: null,
36817
+ access: "view"
36818
+ },
36771
36819
  "pipelineAnalytics.getTrack": {
36772
36820
  capName: "pipeline-analytics",
36773
36821
  capScope: "device",
@@ -36846,6 +36894,12 @@ Object.freeze({
36846
36894
  addonId: null,
36847
36895
  access: "view"
36848
36896
  },
36897
+ "pipelineAnalytics.listSummaries": {
36898
+ capName: "pipeline-analytics",
36899
+ capScope: "device",
36900
+ addonId: null,
36901
+ access: "view"
36902
+ },
36849
36903
  "pipelineAnalytics.listTrackMedia": {
36850
36904
  capName: "pipeline-analytics",
36851
36905
  capScope: "device",
@@ -37404,6 +37458,12 @@ Object.freeze({
37404
37458
  addonId: null,
37405
37459
  access: "create"
37406
37460
  },
37461
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37462
+ capName: "pipeline-orchestrator",
37463
+ capScope: "system",
37464
+ addonId: null,
37465
+ access: "create"
37466
+ },
37407
37467
  "pipelineOrchestrator.setAgentDetectWeight": {
37408
37468
  capName: "pipeline-orchestrator",
37409
37469
  capScope: "system",
@@ -40535,6 +40595,11 @@ Object.freeze({
40535
40595
  form: "array",
40536
40596
  optional: true
40537
40597
  }],
40598
+ "pipelineAnalytics.listSummaries": [{
40599
+ name: "deviceIds",
40600
+ form: "array",
40601
+ optional: false
40602
+ }],
40538
40603
  "pipelineAnalytics.listTrackMedia": [{
40539
40604
  name: "deviceId",
40540
40605
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19632,6 +19632,33 @@ var RecentTracksQueryInput = object({
19632
19632
  */
19633
19633
  classes: array(string()).optional()
19634
19634
  });
19635
+ /**
19636
+ * A Summary (D359): the per-camera session envelope that references tracks.
19637
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19638
+ * served by the event-media plane by key), null until the first frame with a
19639
+ * member visible has been materialised.
19640
+ */
19641
+ var SummarySchema = object({
19642
+ id: string(),
19643
+ deviceId: number(),
19644
+ openedAt: number(),
19645
+ lastActiveAt: number(),
19646
+ sealedAt: number().nullable(),
19647
+ memberCount: number().int().nonnegative(),
19648
+ groupShotKey: string().nullable()
19649
+ });
19650
+ var SummariesQueryInput = object({
19651
+ deviceIds: array(number()).min(1),
19652
+ since: number().optional(),
19653
+ until: number().optional(),
19654
+ limit: number().int().min(1).max(200).default(50)
19655
+ });
19656
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19657
+ var SummaryDetailSchema = object({
19658
+ summary: SummarySchema,
19659
+ /** Member track ids, in absorption order. */
19660
+ trackIds: array(string()).readonly()
19661
+ });
19635
19662
  var RecentTracksPageSchema = object({
19636
19663
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19637
19664
  tracks: array(TrackSchema).readonly(),
@@ -20032,7 +20059,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20032
20059
  * timeline would read as a camera that saw nothing.
20033
20060
  */
20034
20061
  classes: array(string()).optional()
20035
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
20062
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
20036
20063
  kind: "mutation",
20037
20064
  auth: "admin"
20038
20065
  }), 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({
@@ -20967,6 +20994,14 @@ var AgentPipelineSettingsSchema = object({
20967
20994
  /** Node is eligible to be the ingest / source-owner (serve the restream). */
20968
20995
  ingest: boolean().optional(),
20969
20996
  /**
20997
+ * This node's decode RAM budget, MB. Wins over the cluster
20998
+ * `nodeDecodeBudgetMb`; absent, the runner derives a share of the node's
20999
+ * own RAM unless the operator moved the cluster value (D365).
21000
+ */
21001
+ decodeBudgetMb: number().int().min(1024).max(65536).optional(),
21002
+ /** This node's live decode-worker cap. Wins over the cluster `maxLiveDecodeWorkers`. */
21003
+ maxLiveDecodeWorkers: number().int().min(1).max(32).optional(),
21004
+ /**
20970
21005
  * Operator override for the LAN host a cross-node decoder dials to reach
20971
21006
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
20972
21007
  * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
@@ -21428,6 +21463,13 @@ method(StorageMigrationLeaseInputSchema, object({ paused: literal(true) }), {
21428
21463
  }), object({ success: literal(true) }), {
21429
21464
  kind: "mutation",
21430
21465
  auth: "admin"
21466
+ }), method(object({
21467
+ agentNodeId: string(),
21468
+ decodeBudgetMb: number().int().min(1024).max(65536).nullable().optional(),
21469
+ maxLiveDecodeWorkers: number().int().min(1).max(32).nullable().optional()
21470
+ }), object({ success: literal(true) }), {
21471
+ kind: "mutation",
21472
+ auth: "admin"
21431
21473
  }), method(object({
21432
21474
  agentNodeId: string(),
21433
21475
  reachableHost: string().nullable()
@@ -36768,6 +36810,12 @@ Object.freeze({
36768
36810
  addonId: null,
36769
36811
  access: "view"
36770
36812
  },
36813
+ "pipelineAnalytics.getSummary": {
36814
+ capName: "pipeline-analytics",
36815
+ capScope: "device",
36816
+ addonId: null,
36817
+ access: "view"
36818
+ },
36771
36819
  "pipelineAnalytics.getTrack": {
36772
36820
  capName: "pipeline-analytics",
36773
36821
  capScope: "device",
@@ -36846,6 +36894,12 @@ Object.freeze({
36846
36894
  addonId: null,
36847
36895
  access: "view"
36848
36896
  },
36897
+ "pipelineAnalytics.listSummaries": {
36898
+ capName: "pipeline-analytics",
36899
+ capScope: "device",
36900
+ addonId: null,
36901
+ access: "view"
36902
+ },
36849
36903
  "pipelineAnalytics.listTrackMedia": {
36850
36904
  capName: "pipeline-analytics",
36851
36905
  capScope: "device",
@@ -37404,6 +37458,12 @@ Object.freeze({
37404
37458
  addonId: null,
37405
37459
  access: "create"
37406
37460
  },
37461
+ "pipelineOrchestrator.setAgentDecodeLimits": {
37462
+ capName: "pipeline-orchestrator",
37463
+ capScope: "system",
37464
+ addonId: null,
37465
+ access: "create"
37466
+ },
37407
37467
  "pipelineOrchestrator.setAgentDetectWeight": {
37408
37468
  capName: "pipeline-orchestrator",
37409
37469
  capScope: "system",
@@ -40535,6 +40595,11 @@ Object.freeze({
40535
40595
  form: "array",
40536
40596
  optional: true
40537
40597
  }],
40598
+ "pipelineAnalytics.listSummaries": [{
40599
+ name: "deviceIds",
40600
+ form: "array",
40601
+ optional: false
40602
+ }],
40538
40603
  "pipelineAnalytics.listTrackMedia": [{
40539
40604
  name: "deviceId",
40540
40605
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",