@camstack/addon-ai 0.4.69 → 0.4.70

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
@@ -19318,6 +19318,33 @@ var RecentTracksQueryInput = object({
19318
19318
  */
19319
19319
  classes: array(string()).optional()
19320
19320
  });
19321
+ /**
19322
+ * A Summary (D359): the per-camera session envelope that references tracks.
19323
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19324
+ * served by the event-media plane by key), null until the first frame with a
19325
+ * member visible has been materialised.
19326
+ */
19327
+ var SummarySchema = object({
19328
+ id: string(),
19329
+ deviceId: number$1(),
19330
+ openedAt: number$1(),
19331
+ lastActiveAt: number$1(),
19332
+ sealedAt: number$1().nullable(),
19333
+ memberCount: number$1().int().nonnegative(),
19334
+ groupShotKey: string().nullable()
19335
+ });
19336
+ var SummariesQueryInput = object({
19337
+ deviceIds: array(number$1()).min(1),
19338
+ since: number$1().optional(),
19339
+ until: number$1().optional(),
19340
+ limit: number$1().int().min(1).max(200).default(50)
19341
+ });
19342
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19343
+ var SummaryDetailSchema = object({
19344
+ summary: SummarySchema,
19345
+ /** Member track ids, in absorption order. */
19346
+ trackIds: array(string()).readonly()
19347
+ });
19321
19348
  var RecentTracksPageSchema = object({
19322
19349
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19323
19350
  tracks: array(TrackSchema).readonly(),
@@ -19718,7 +19745,7 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
19718
19745
  * timeline would read as a camera that saw nothing.
19719
19746
  */
19720
19747
  classes: array(string()).optional()
19721
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number$1() }), _void(), {
19748
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number$1() }), _void(), {
19722
19749
  kind: "mutation",
19723
19750
  auth: "admin"
19724
19751
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number$1() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number$1()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32673,6 +32700,12 @@ Object.freeze({
32673
32700
  addonId: null,
32674
32701
  access: "view"
32675
32702
  },
32703
+ "pipelineAnalytics.getSummary": {
32704
+ capName: "pipeline-analytics",
32705
+ capScope: "device",
32706
+ addonId: null,
32707
+ access: "view"
32708
+ },
32676
32709
  "pipelineAnalytics.getTrack": {
32677
32710
  capName: "pipeline-analytics",
32678
32711
  capScope: "device",
@@ -32751,6 +32784,12 @@ Object.freeze({
32751
32784
  addonId: null,
32752
32785
  access: "view"
32753
32786
  },
32787
+ "pipelineAnalytics.listSummaries": {
32788
+ capName: "pipeline-analytics",
32789
+ capScope: "device",
32790
+ addonId: null,
32791
+ access: "view"
32792
+ },
32754
32793
  "pipelineAnalytics.listTrackMedia": {
32755
32794
  capName: "pipeline-analytics",
32756
32795
  capScope: "device",
@@ -36446,6 +36485,11 @@ Object.freeze({
36446
36485
  form: "array",
36447
36486
  optional: true
36448
36487
  }],
36488
+ "pipelineAnalytics.listSummaries": [{
36489
+ name: "deviceIds",
36490
+ form: "array",
36491
+ optional: false
36492
+ }],
36449
36493
  "pipelineAnalytics.listTrackMedia": [{
36450
36494
  name: "deviceId",
36451
36495
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19345,6 +19345,33 @@ var RecentTracksQueryInput = object({
19345
19345
  */
19346
19346
  classes: array(string()).optional()
19347
19347
  });
19348
+ /**
19349
+ * A Summary (D359): the per-camera session envelope that references tracks.
19350
+ * `groupShotKey` is the media key of its group shot (`ownerKind: 'summary'`,
19351
+ * served by the event-media plane by key), null until the first frame with a
19352
+ * member visible has been materialised.
19353
+ */
19354
+ var SummarySchema = object({
19355
+ id: string(),
19356
+ deviceId: number$1(),
19357
+ openedAt: number$1(),
19358
+ lastActiveAt: number$1(),
19359
+ sealedAt: number$1().nullable(),
19360
+ memberCount: number$1().int().nonnegative(),
19361
+ groupShotKey: string().nullable()
19362
+ });
19363
+ var SummariesQueryInput = object({
19364
+ deviceIds: array(number$1()).min(1),
19365
+ since: number$1().optional(),
19366
+ until: number$1().optional(),
19367
+ limit: number$1().int().min(1).max(200).default(50)
19368
+ });
19369
+ var SummariesPageSchema = object({ summaries: array(SummarySchema).readonly() });
19370
+ var SummaryDetailSchema = object({
19371
+ summary: SummarySchema,
19372
+ /** Member track ids, in absorption order. */
19373
+ trackIds: array(string()).readonly()
19374
+ });
19348
19375
  var RecentTracksPageSchema = object({
19349
19376
  /** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
19350
19377
  tracks: array(TrackSchema).readonly(),
@@ -19745,7 +19772,7 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
19745
19772
  * timeline would read as a camera that saw nothing.
19746
19773
  */
19747
19774
  classes: array(string()).optional()
19748
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number$1() }), _void(), {
19775
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(SummariesQueryInput, SummariesPageSchema), method(object({ id: string() }), SummaryDetailSchema.nullable()), method(object({ deviceId: number$1() }), _void(), {
19749
19776
  kind: "mutation",
19750
19777
  auth: "admin"
19751
19778
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number$1() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number$1()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -32700,6 +32727,12 @@ Object.freeze({
32700
32727
  addonId: null,
32701
32728
  access: "view"
32702
32729
  },
32730
+ "pipelineAnalytics.getSummary": {
32731
+ capName: "pipeline-analytics",
32732
+ capScope: "device",
32733
+ addonId: null,
32734
+ access: "view"
32735
+ },
32703
32736
  "pipelineAnalytics.getTrack": {
32704
32737
  capName: "pipeline-analytics",
32705
32738
  capScope: "device",
@@ -32778,6 +32811,12 @@ Object.freeze({
32778
32811
  addonId: null,
32779
32812
  access: "view"
32780
32813
  },
32814
+ "pipelineAnalytics.listSummaries": {
32815
+ capName: "pipeline-analytics",
32816
+ capScope: "device",
32817
+ addonId: null,
32818
+ access: "view"
32819
+ },
32781
32820
  "pipelineAnalytics.listTrackMedia": {
32782
32821
  capName: "pipeline-analytics",
32783
32822
  capScope: "device",
@@ -36473,6 +36512,11 @@ Object.freeze({
36473
36512
  form: "array",
36474
36513
  optional: true
36475
36514
  }],
36515
+ "pipelineAnalytics.listSummaries": [{
36516
+ name: "deviceIds",
36517
+ form: "array",
36518
+ optional: false
36519
+ }],
36476
36520
  "pipelineAnalytics.listTrackMedia": [{
36477
36521
  name: "deviceId",
36478
36522
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.69",
3
+ "version": "0.4.70",
4
4
  "description": "AI addon for CamStack — the `llm` collection provider (cloud, LAN, and camstack-managed local llama.cpp profiles) plus the per-node `llm-runtime` managed executor.",
5
5
  "keywords": [
6
6
  "camstack",