@camstack/addon-ai 0.4.45 → 0.4.46

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
@@ -19325,6 +19325,47 @@ var RebuildStatusSchema = object({
19325
19325
  /** Present when the pass ended by throwing. */
19326
19326
  error: string().nullable()
19327
19327
  });
19328
+ /**
19329
+ * Acknowledgement that a debug-media reclaim STARTED.
19330
+ *
19331
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19332
+ * it runs detached and this returns immediately. Awaiting it is how the
19333
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19334
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19335
+ */
19336
+ var MediaReclaimStartResultSchema = object({
19337
+ started: boolean(),
19338
+ /** True when a pass was already running; the new request is ignored. */
19339
+ alreadyRunning: boolean()
19340
+ });
19341
+ var MediaReclaimInputSchema = object({
19342
+ mode: _enum(["report", "reclaim"]).default("report"),
19343
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19344
+ deviceIds: array(number$1().int()).min(1).optional(),
19345
+ restart: boolean().optional(),
19346
+ pageSize: number$1().int().min(50).max(5e3).optional(),
19347
+ maxRowsPerDevice: number$1().int().min(1).max(5e5).optional(),
19348
+ maxReclaimPerDevice: number$1().int().min(1).max(5e5).optional(),
19349
+ maxBytesPerRun: number$1().int().min(1).optional(),
19350
+ budgetMinutes: number$1().int().min(1).max(720).optional(),
19351
+ throttleBytesPerSec: number$1().int().min(64 * 1024).optional(),
19352
+ graceMinutes: number$1().int().min(1).max(10080).optional()
19353
+ });
19354
+ var MediaReclaimStatusSchema = object({
19355
+ running: boolean(),
19356
+ mode: _enum(["report", "reclaim"]).nullable(),
19357
+ totalExamined: number$1(),
19358
+ totalEligible: number$1(),
19359
+ totalReclaimed: number$1(),
19360
+ totalBytesReclaimed: number$1(),
19361
+ totalRefused: number$1(),
19362
+ /** Device+scope windows finished in this pass. */
19363
+ devicesDone: number$1(),
19364
+ complete: boolean().nullable(),
19365
+ startedAtMs: number$1().nullable(),
19366
+ finishedAtMs: number$1().nullable(),
19367
+ error: string().nullable()
19368
+ });
19328
19369
  var ReplayFrameInputSchema = object({
19329
19370
  timestamp: number$1(),
19330
19371
  frame: PipelineRunResultBridge
@@ -19466,6 +19507,12 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
19466
19507
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19467
19508
  kind: "query",
19468
19509
  auth: "admin"
19510
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19511
+ kind: "mutation",
19512
+ auth: "admin"
19513
+ }), method(object({}), MediaReclaimStatusSchema, {
19514
+ kind: "query",
19515
+ auth: "admin"
19469
19516
  }), method(object({ deviceIds: array(number$1()).optional() }), TrainingExportSummarySchema, {
19470
19517
  kind: "query",
19471
19518
  auth: "admin"
@@ -32119,6 +32166,12 @@ Object.freeze({
32119
32166
  addonId: null,
32120
32167
  access: "view"
32121
32168
  },
32169
+ "pipelineAnalytics.getMediaReclaimStatus": {
32170
+ capName: "pipeline-analytics",
32171
+ capScope: "device",
32172
+ addonId: null,
32173
+ access: "view"
32174
+ },
32122
32175
  "pipelineAnalytics.getMotionEvents": {
32123
32176
  capName: "pipeline-analytics",
32124
32177
  capScope: "device",
@@ -32293,6 +32346,12 @@ Object.freeze({
32293
32346
  addonId: null,
32294
32347
  access: "create"
32295
32348
  },
32349
+ "pipelineAnalytics.reclaimDebugMedia": {
32350
+ capName: "pipeline-analytics",
32351
+ capScope: "device",
32352
+ addonId: null,
32353
+ access: "create"
32354
+ },
32296
32355
  "pipelineAnalytics.reconcileFromDisk": {
32297
32356
  capName: "pipeline-analytics",
32298
32357
  capScope: "device",
@@ -35909,6 +35968,11 @@ Object.freeze({
35909
35968
  form: "single",
35910
35969
  optional: true
35911
35970
  }],
35971
+ "pipelineAnalytics.reclaimDebugMedia": [{
35972
+ name: "deviceIds",
35973
+ form: "array",
35974
+ optional: true
35975
+ }],
35912
35976
  "pipelineAnalytics.reconcileFromDisk": [{
35913
35977
  name: "deviceId",
35914
35978
  form: "single",
package/dist/addon.mjs CHANGED
@@ -19352,6 +19352,47 @@ var RebuildStatusSchema = object({
19352
19352
  /** Present when the pass ended by throwing. */
19353
19353
  error: string().nullable()
19354
19354
  });
19355
+ /**
19356
+ * Acknowledgement that a debug-media reclaim STARTED.
19357
+ *
19358
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19359
+ * it runs detached and this returns immediately. Awaiting it is how the
19360
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19361
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19362
+ */
19363
+ var MediaReclaimStartResultSchema = object({
19364
+ started: boolean(),
19365
+ /** True when a pass was already running; the new request is ignored. */
19366
+ alreadyRunning: boolean()
19367
+ });
19368
+ var MediaReclaimInputSchema = object({
19369
+ mode: _enum(["report", "reclaim"]).default("report"),
19370
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19371
+ deviceIds: array(number$1().int()).min(1).optional(),
19372
+ restart: boolean().optional(),
19373
+ pageSize: number$1().int().min(50).max(5e3).optional(),
19374
+ maxRowsPerDevice: number$1().int().min(1).max(5e5).optional(),
19375
+ maxReclaimPerDevice: number$1().int().min(1).max(5e5).optional(),
19376
+ maxBytesPerRun: number$1().int().min(1).optional(),
19377
+ budgetMinutes: number$1().int().min(1).max(720).optional(),
19378
+ throttleBytesPerSec: number$1().int().min(64 * 1024).optional(),
19379
+ graceMinutes: number$1().int().min(1).max(10080).optional()
19380
+ });
19381
+ var MediaReclaimStatusSchema = object({
19382
+ running: boolean(),
19383
+ mode: _enum(["report", "reclaim"]).nullable(),
19384
+ totalExamined: number$1(),
19385
+ totalEligible: number$1(),
19386
+ totalReclaimed: number$1(),
19387
+ totalBytesReclaimed: number$1(),
19388
+ totalRefused: number$1(),
19389
+ /** Device+scope windows finished in this pass. */
19390
+ devicesDone: number$1(),
19391
+ complete: boolean().nullable(),
19392
+ startedAtMs: number$1().nullable(),
19393
+ finishedAtMs: number$1().nullable(),
19394
+ error: string().nullable()
19395
+ });
19355
19396
  var ReplayFrameInputSchema = object({
19356
19397
  timestamp: number$1(),
19357
19398
  frame: PipelineRunResultBridge
@@ -19493,6 +19534,12 @@ DeviceType.Camera, method(object({ deviceId: number$1() }), array(TrackSchema).r
19493
19534
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19494
19535
  kind: "query",
19495
19536
  auth: "admin"
19537
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19538
+ kind: "mutation",
19539
+ auth: "admin"
19540
+ }), method(object({}), MediaReclaimStatusSchema, {
19541
+ kind: "query",
19542
+ auth: "admin"
19496
19543
  }), method(object({ deviceIds: array(number$1()).optional() }), TrainingExportSummarySchema, {
19497
19544
  kind: "query",
19498
19545
  auth: "admin"
@@ -32146,6 +32193,12 @@ Object.freeze({
32146
32193
  addonId: null,
32147
32194
  access: "view"
32148
32195
  },
32196
+ "pipelineAnalytics.getMediaReclaimStatus": {
32197
+ capName: "pipeline-analytics",
32198
+ capScope: "device",
32199
+ addonId: null,
32200
+ access: "view"
32201
+ },
32149
32202
  "pipelineAnalytics.getMotionEvents": {
32150
32203
  capName: "pipeline-analytics",
32151
32204
  capScope: "device",
@@ -32320,6 +32373,12 @@ Object.freeze({
32320
32373
  addonId: null,
32321
32374
  access: "create"
32322
32375
  },
32376
+ "pipelineAnalytics.reclaimDebugMedia": {
32377
+ capName: "pipeline-analytics",
32378
+ capScope: "device",
32379
+ addonId: null,
32380
+ access: "create"
32381
+ },
32323
32382
  "pipelineAnalytics.reconcileFromDisk": {
32324
32383
  capName: "pipeline-analytics",
32325
32384
  capScope: "device",
@@ -35936,6 +35995,11 @@ Object.freeze({
35936
35995
  form: "single",
35937
35996
  optional: true
35938
35997
  }],
35998
+ "pipelineAnalytics.reclaimDebugMedia": [{
35999
+ name: "deviceIds",
36000
+ form: "array",
36001
+ optional: true
36002
+ }],
35939
36003
  "pipelineAnalytics.reconcileFromDisk": [{
35940
36004
  name: "deviceId",
35941
36005
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-ai",
3
- "version": "0.4.45",
3
+ "version": "0.4.46",
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",