@camstack/addon-ai 0.4.89 → 0.4.90

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
@@ -7830,6 +7830,35 @@ var CameraSwitchGroupSchema = object({
7830
7830
  /** Unix ms when the group was composed server-side. */
7831
7831
  fetchedAt: number$1()
7832
7832
  });
7833
+ /** One archived note — the operator's words plus enough context to find what
7834
+ * they were looking at, after the track itself is gone. */
7835
+ var ArchivedDebugNoteSchema = object({
7836
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7837
+ * same sentence about the same track lands on the row already there. */
7838
+ id: string(),
7839
+ /** The operator's own words, verbatim. */
7840
+ note: string(),
7841
+ /** The camera. Required — every question here is asked per-camera. */
7842
+ deviceId: number$1().int(),
7843
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7844
+ * is expected to be gone, and this row is not a reference to it. */
7845
+ sourceTrackId: string(),
7846
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7847
+ archivedAt: number$1().int(),
7848
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7849
+ trackStartedAt: number$1().int().nullable(),
7850
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7851
+ trackClass: string().nullable(),
7852
+ /** The track's display label at review time; `null` when it had none. */
7853
+ trackLabel: string().nullable()
7854
+ });
7855
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7856
+ var ArchivedDebugNoteQueryInputSchema = object({
7857
+ /** Restrict to a single camera; omit for every row. */
7858
+ deviceId: number$1().int().optional(),
7859
+ /** Max rows returned, newest-first. */
7860
+ limit: number$1().int().min(1).max(1e3).optional()
7861
+ });
7833
7862
  /**
7834
7863
  * Ops-log — the durable, append-only operations audit shared by the
7835
7864
  * recordings and events management surfaces.
@@ -20019,7 +20048,7 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
20019
20048
  deviceId: number$1(),
20020
20049
  trackId: string(),
20021
20050
  flags: TrackFlagsPatchSchema
20022
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20051
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20023
20052
  kind: "query",
20024
20053
  auth: "admin"
20025
20054
  }), method(object({ deviceId: number$1().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -33417,6 +33446,12 @@ Object.freeze({
33417
33446
  addonId: null,
33418
33447
  access: "view"
33419
33448
  },
33449
+ "pipelineAnalytics.listArchivedDebugNotes": {
33450
+ capName: "pipeline-analytics",
33451
+ capScope: "device",
33452
+ addonId: null,
33453
+ access: "view"
33454
+ },
33420
33455
  "pipelineAnalytics.listEventKinds": {
33421
33456
  capName: "pipeline-analytics",
33422
33457
  capScope: "device",
@@ -37204,6 +37239,11 @@ Object.freeze({
37204
37239
  form: "array",
37205
37240
  optional: true
37206
37241
  }],
37242
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37243
+ name: "deviceId",
37244
+ form: "single",
37245
+ optional: true
37246
+ }],
37207
37247
  "pipelineAnalytics.listEventKinds": [{
37208
37248
  name: "deviceId",
37209
37249
  form: "single",
package/dist/addon.mjs CHANGED
@@ -7857,6 +7857,35 @@ var CameraSwitchGroupSchema = object({
7857
7857
  /** Unix ms when the group was composed server-side. */
7858
7858
  fetchedAt: number$1()
7859
7859
  });
7860
+ /** One archived note — the operator's words plus enough context to find what
7861
+ * they were looking at, after the track itself is gone. */
7862
+ var ArchivedDebugNoteSchema = object({
7863
+ /** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
7864
+ * same sentence about the same track lands on the row already there. */
7865
+ id: string(),
7866
+ /** The operator's own words, verbatim. */
7867
+ note: string(),
7868
+ /** The camera. Required — every question here is asked per-camera. */
7869
+ deviceId: number$1().int(),
7870
+ /** The track the note was written on. PROVENANCE, not ownership: the track
7871
+ * is expected to be gone, and this row is not a reference to it. */
7872
+ sourceTrackId: string(),
7873
+ /** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
7874
+ archivedAt: number$1().int(),
7875
+ /** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
7876
+ trackStartedAt: number$1().int().nullable(),
7877
+ /** The track's detector class (`person`, `car`, …); `null` when unknown. */
7878
+ trackClass: string().nullable(),
7879
+ /** The track's display label at review time; `null` when it had none. */
7880
+ trackLabel: string().nullable()
7881
+ });
7882
+ /** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
7883
+ var ArchivedDebugNoteQueryInputSchema = object({
7884
+ /** Restrict to a single camera; omit for every row. */
7885
+ deviceId: number$1().int().optional(),
7886
+ /** Max rows returned, newest-first. */
7887
+ limit: number$1().int().min(1).max(1e3).optional()
7888
+ });
7860
7889
  /**
7861
7890
  * Ops-log — the durable, append-only operations audit shared by the
7862
7891
  * recordings and events management surfaces.
@@ -20046,7 +20075,7 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
20046
20075
  deviceId: number$1(),
20047
20076
  trackId: string(),
20048
20077
  flags: TrackFlagsPatchSchema
20049
- }), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
20078
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
20050
20079
  kind: "query",
20051
20080
  auth: "admin"
20052
20081
  }), method(object({ deviceId: number$1().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -33444,6 +33473,12 @@ Object.freeze({
33444
33473
  addonId: null,
33445
33474
  access: "view"
33446
33475
  },
33476
+ "pipelineAnalytics.listArchivedDebugNotes": {
33477
+ capName: "pipeline-analytics",
33478
+ capScope: "device",
33479
+ addonId: null,
33480
+ access: "view"
33481
+ },
33447
33482
  "pipelineAnalytics.listEventKinds": {
33448
33483
  capName: "pipeline-analytics",
33449
33484
  capScope: "device",
@@ -37231,6 +37266,11 @@ Object.freeze({
37231
37266
  form: "array",
37232
37267
  optional: true
37233
37268
  }],
37269
+ "pipelineAnalytics.listArchivedDebugNotes": [{
37270
+ name: "deviceId",
37271
+ form: "single",
37272
+ optional: true
37273
+ }],
37234
37274
  "pipelineAnalytics.listEventKinds": [{
37235
37275
  name: "deviceId",
37236
37276
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.89",
3
+ "version": "0.4.90",
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",