@camstack/addon-matter-broker 0.2.85 → 0.2.86

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
@@ -7641,6 +7641,35 @@ var CameraSwitchGroupSchema = object({
7641
7641
  /** Unix ms when the group was composed server-side. */
7642
7642
  fetchedAt: number()
7643
7643
  });
7644
+ /** One archived note — the operator's words plus enough context to find what
7645
+ * they were looking at, after the track itself is gone. */
7646
+ var ArchivedDebugNoteSchema = object({
7647
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7648
+ * same sentence about the same track lands on the row already there. */
7649
+ id: string$2(),
7650
+ /** The operator's own words, verbatim. */
7651
+ note: string$2(),
7652
+ /** The camera. Required — every question here is asked per-camera. */
7653
+ deviceId: number().int(),
7654
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7655
+ * is expected to be gone, and this row is not a reference to it. */
7656
+ sourceTrackId: string$2(),
7657
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7658
+ archivedAt: number().int(),
7659
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7660
+ trackStartedAt: number().int().nullable(),
7661
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7662
+ trackClass: string$2().nullable(),
7663
+ /** The track's display label at review time; `null` when it had none. */
7664
+ trackLabel: string$2().nullable()
7665
+ });
7666
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7667
+ var ArchivedDebugNoteQueryInputSchema = object({
7668
+ /** Restrict to a single camera; omit for every row. */
7669
+ deviceId: number().int().optional(),
7670
+ /** Max rows returned, newest-first. */
7671
+ limit: number().int().min(1).max(1e3).optional()
7672
+ });
7644
7673
  /**
7645
7674
  * Ops-log — the durable, append-only operations audit shared by the
7646
7675
  * recordings and events management surfaces.
@@ -20170,7 +20199,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20170
20199
  deviceId: number(),
20171
20200
  trackId: string$2(),
20172
20201
  flags: TrackFlagsPatchSchema
20173
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20202
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20174
20203
  kind: "query",
20175
20204
  auth: "admin"
20176
20205
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37581,6 +37610,12 @@ Object.freeze({
37581
37610
  addonId: null,
37582
37611
  access: "view"
37583
37612
  },
37613
+ "pipelineAnalytics.listArchivedDebugNotes": {
37614
+ capName: "pipeline-analytics",
37615
+ capScope: "device",
37616
+ addonId: null,
37617
+ access: "view"
37618
+ },
37584
37619
  "pipelineAnalytics.listEventKinds": {
37585
37620
  capName: "pipeline-analytics",
37586
37621
  capScope: "device",
@@ -41368,6 +41403,11 @@ Object.freeze({
41368
41403
  form: "array",
41369
41404
  optional: true
41370
41405
  }],
41406
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41407
+ name: "deviceId",
41408
+ form: "single",
41409
+ optional: true
41410
+ }],
41371
41411
  "pipelineAnalytics.listEventKinds": [{
41372
41412
  name: "deviceId",
41373
41413
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7639,6 +7639,35 @@ var CameraSwitchGroupSchema = object({
7639
7639
  /** Unix ms when the group was composed server-side. */
7640
7640
  fetchedAt: number()
7641
7641
  });
7642
+ /** One archived note — the operator's words plus enough context to find what
7643
+ * they were looking at, after the track itself is gone. */
7644
+ var ArchivedDebugNoteSchema = object({
7645
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7646
+ * same sentence about the same track lands on the row already there. */
7647
+ id: string$2(),
7648
+ /** The operator's own words, verbatim. */
7649
+ note: string$2(),
7650
+ /** The camera. Required — every question here is asked per-camera. */
7651
+ deviceId: number().int(),
7652
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7653
+ * is expected to be gone, and this row is not a reference to it. */
7654
+ sourceTrackId: string$2(),
7655
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7656
+ archivedAt: number().int(),
7657
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7658
+ trackStartedAt: number().int().nullable(),
7659
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7660
+ trackClass: string$2().nullable(),
7661
+ /** The track's display label at review time; `null` when it had none. */
7662
+ trackLabel: string$2().nullable()
7663
+ });
7664
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7665
+ var ArchivedDebugNoteQueryInputSchema = object({
7666
+ /** Restrict to a single camera; omit for every row. */
7667
+ deviceId: number().int().optional(),
7668
+ /** Max rows returned, newest-first. */
7669
+ limit: number().int().min(1).max(1e3).optional()
7670
+ });
7642
7671
  /**
7643
7672
  * Ops-log — the durable, append-only operations audit shared by the
7644
7673
  * recordings and events management surfaces.
@@ -20168,7 +20197,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
20168
20197
  deviceId: number(),
20169
20198
  trackId: string$2(),
20170
20199
  flags: TrackFlagsPatchSchema
20171
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20200
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20172
20201
  kind: "query",
20173
20202
  auth: "admin"
20174
20203
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -37579,6 +37608,12 @@ Object.freeze({
37579
37608
  addonId: null,
37580
37609
  access: "view"
37581
37610
  },
37611
+ "pipelineAnalytics.listArchivedDebugNotes": {
37612
+ capName: "pipeline-analytics",
37613
+ capScope: "device",
37614
+ addonId: null,
37615
+ access: "view"
37616
+ },
37582
37617
  "pipelineAnalytics.listEventKinds": {
37583
37618
  capName: "pipeline-analytics",
37584
37619
  capScope: "device",
@@ -41366,6 +41401,11 @@ Object.freeze({
41366
41401
  form: "array",
41367
41402
  optional: true
41368
41403
  }],
41404
+ "pipelineAnalytics.listArchivedDebugNotes": [{
41405
+ name: "deviceId",
41406
+ form: "single",
41407
+ optional: true
41408
+ }],
41369
41409
  "pipelineAnalytics.listEventKinds": [{
41370
41410
  name: "deviceId",
41371
41411
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.85",
3
+ "version": "0.2.86",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",