@camstack/addon-terminal 0.1.73 → 0.1.74

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
@@ -19407,6 +19407,33 @@ var RecentTracksQueryInput = object({
19407
19407
  */
19408
19408
  classes: array(string()).optional()
19409
19409
  });
19410
+ /**
19411
+ * A Summary (D359): the per-camera session envelope that references tracks.
19412
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19413
+ * served by the event-media plane by key), null until the first frame with a
19414
+ * member visible has been materialised.
19415
+ */
19416
+ var SummarySchema = object({
19417
+ id: string(),
19418
+ deviceId: number(),
19419
+ openedAt: number(),
19420
+ lastActiveAt: number(),
19421
+ sealedAt: number().nullable(),
19422
+ memberCount: number().int().nonnegative(),
19423
+ groupShotKey: string().nullable()
19424
+ });
19425
+ var SummariesQueryInput = object({
19426
+ deviceIds: array(number()).min(1),
19427
+ since: number().optional(),
19428
+ until: number().optional(),
19429
+ limit: number().int().min(1).max(200).default(50)
19430
+ });
19431
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19432
+ var SummaryDetailSchema = object({
19433
+ summary: SummarySchema,
19434
+ /** Member track ids, in absorption order. */
19435
+ trackIds: array(string()).readonly()
19436
+ });
19410
19437
  var RecentTracksPageSchema = object({
19411
19438
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19412
19439
  tracks: array(TrackSchema).readonly(),
@@ -19807,7 +19834,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19807
19834
  * timeline would read as a camera that saw nothing.
19808
19835
  */
19809
19836
  classes: array(string()).optional()
19810
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19837
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19811
19838
  kind: "mutation",
19812
19839
  auth: "admin"
19813
19840
  }), 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({
@@ -36322,6 +36349,12 @@ Object.freeze({
36322
36349
  addonId: null,
36323
36350
  access: "view"
36324
36351
  },
36352
+ "pipelineAnalytics.getSummary": {
36353
+ capName: "pipeline-analytics",
36354
+ capScope: "device",
36355
+ addonId: null,
36356
+ access: "view"
36357
+ },
36325
36358
  "pipelineAnalytics.getTrack": {
36326
36359
  capName: "pipeline-analytics",
36327
36360
  capScope: "device",
@@ -36400,6 +36433,12 @@ Object.freeze({
36400
36433
  addonId: null,
36401
36434
  access: "view"
36402
36435
  },
36436
+ "pipelineAnalytics.listSummaries": {
36437
+ capName: "pipeline-analytics",
36438
+ capScope: "device",
36439
+ addonId: null,
36440
+ access: "view"
36441
+ },
36403
36442
  "pipelineAnalytics.listTrackMedia": {
36404
36443
  capName: "pipeline-analytics",
36405
36444
  capScope: "device",
@@ -40095,6 +40134,11 @@ Object.freeze({
40095
40134
  form: "array",
40096
40135
  optional: true
40097
40136
  }],
40137
+ "pipelineAnalytics.listSummaries": [{
40138
+ name: "deviceIds",
40139
+ form: "array",
40140
+ optional: false
40141
+ }],
40098
40142
  "pipelineAnalytics.listTrackMedia": [{
40099
40143
  name: "deviceId",
40100
40144
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19384,6 +19384,33 @@ var RecentTracksQueryInput = object({
19384
19384
  */
19385
19385
  classes: array(string()).optional()
19386
19386
  });
19387
+ /**
19388
+ * A Summary (D359): the per-camera session envelope that references tracks.
19389
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19390
+ * served by the event-media plane by key), null until the first frame with a
19391
+ * member visible has been materialised.
19392
+ */
19393
+ var SummarySchema = object({
19394
+ id: string(),
19395
+ deviceId: number(),
19396
+ openedAt: number(),
19397
+ lastActiveAt: number(),
19398
+ sealedAt: number().nullable(),
19399
+ memberCount: number().int().nonnegative(),
19400
+ groupShotKey: string().nullable()
19401
+ });
19402
+ var SummariesQueryInput = object({
19403
+ deviceIds: array(number()).min(1),
19404
+ since: number().optional(),
19405
+ until: number().optional(),
19406
+ limit: number().int().min(1).max(200).default(50)
19407
+ });
19408
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19409
+ var SummaryDetailSchema = object({
19410
+ summary: SummarySchema,
19411
+ /** Member track ids, in absorption order. */
19412
+ trackIds: array(string()).readonly()
19413
+ });
19387
19414
  var RecentTracksPageSchema = object({
19388
19415
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19389
19416
  tracks: array(TrackSchema).readonly(),
@@ -19784,7 +19811,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19784
19811
  * timeline would read as a camera that saw nothing.
19785
19812
  */
19786
19813
  classes: array(string()).optional()
19787
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19814
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19788
19815
  kind: "mutation",
19789
19816
  auth: "admin"
19790
19817
  }), 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({
@@ -36299,6 +36326,12 @@ Object.freeze({
36299
36326
  addonId: null,
36300
36327
  access: "view"
36301
36328
  },
36329
+ "pipelineAnalytics.getSummary": {
36330
+ capName: "pipeline-analytics",
36331
+ capScope: "device",
36332
+ addonId: null,
36333
+ access: "view"
36334
+ },
36302
36335
  "pipelineAnalytics.getTrack": {
36303
36336
  capName: "pipeline-analytics",
36304
36337
  capScope: "device",
@@ -36377,6 +36410,12 @@ Object.freeze({
36377
36410
  addonId: null,
36378
36411
  access: "view"
36379
36412
  },
36413
+ "pipelineAnalytics.listSummaries": {
36414
+ capName: "pipeline-analytics",
36415
+ capScope: "device",
36416
+ addonId: null,
36417
+ access: "view"
36418
+ },
36380
36419
  "pipelineAnalytics.listTrackMedia": {
36381
36420
  capName: "pipeline-analytics",
36382
36421
  capScope: "device",
@@ -40072,6 +40111,11 @@ Object.freeze({
40072
40111
  form: "array",
40073
40112
  optional: true
40074
40113
  }],
40114
+ "pipelineAnalytics.listSummaries": [{
40115
+ name: "deviceIds",
40116
+ form: "array",
40117
+ optional: false
40118
+ }],
40075
40119
  "pipelineAnalytics.listTrackMedia": [{
40076
40120
  name: "deviceId",
40077
40121
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-terminal",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "description": "Interactive terminal sessions (pty + xterm) as a CamStack addon",
5
5
  "keywords": [
6
6
  "camstack",