@camstack/addon-matter-broker 0.2.48 → 0.2.49

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.
Files changed (3) hide show
  1. package/dist/addon.js +234 -73
  2. package/dist/addon.mjs +234 -73
  3. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -8110,6 +8110,13 @@ var MediaRelocateModeSchema = _enum([
8110
8110
  ]);
8111
8111
  var RelocateMediaInputSchema = object({
8112
8112
  toLocationId: string$2(),
8113
+ /**
8114
+ * Restrict the pass to rows currently on this location. Omitted / `'*'` =
8115
+ * every row that is not already on `toLocationId` (the historical
8116
+ * behaviour). A named source is what a from→to migration needs: without it
8117
+ * "move events off disk 2" also emptied disk 1.
8118
+ */
8119
+ fromLocationId: string$2().optional(),
8113
8120
  throttleMbps: number().min(1).max(1e3).optional(),
8114
8121
  /** Omitted = `move`, the pre-existing behaviour. */
8115
8122
  mode: MediaRelocateModeSchema.optional()
@@ -8177,6 +8184,19 @@ var StorageMigrationDestinationsSchema = object({
8177
8184
  galleryMedia: string$2().min(1).optional()
8178
8185
  }).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
8179
8186
  /**
8187
+ * Optional named source per class. Omitted = the class's current default
8188
+ * (the historical behaviour). A named source that is NOT the default is a
8189
+ * drain of that disk: bytes move, the default stays, and the source is
8190
+ * disabled when the move finishes.
8191
+ */
8192
+ var StorageMigrationSourcesSchema = object({
8193
+ recordings: string$2().min(1).optional(),
8194
+ recordingsLow: string$2().min(1).optional(),
8195
+ eventMedia: string$2().min(1).optional(),
8196
+ backups: string$2().min(1).optional(),
8197
+ galleryMedia: string$2().min(1).optional()
8198
+ }).optional();
8199
+ /**
8180
8200
  * How a migration sequences the cutover against the byte move.
8181
8201
  *
8182
8202
  * - `blocking` — the historical order: pause, move every byte, repoint,
@@ -8198,6 +8218,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
8198
8218
  /** Shared input for planning and starting an orchestrated storage migration. */
8199
8219
  var StorageMigrationInputSchema = object({
8200
8220
  destinations: StorageMigrationDestinationsSchema,
8221
+ /** Omitted = each class's current default. */
8222
+ sources: StorageMigrationSourcesSchema,
8201
8223
  throttleMbps: number().min(1).max(1e3).optional(),
8202
8224
  /** Omitted = `blocking`, which stays the default. */
8203
8225
  mode: StorageMigrationModeSchema.optional()
@@ -8277,6 +8299,13 @@ var StorageMigrationMoveSchema = object({
8277
8299
  storageClass: StorageMigrationClassSchema,
8278
8300
  fromLocationId: string$2(),
8279
8301
  toLocationId: string$2(),
8302
+ /**
8303
+ * True when `from` was NOT the class default at plan time. The move still
8304
+ * copies bytes, but the default is left alone and the source is disabled
8305
+ * once the copy verifies. Absent on jobs planned before this field existed
8306
+ * — those jobs always repointed, which is `false`.
8307
+ */
8308
+ freezeSource: boolean().optional(),
8280
8309
  moverJobId: string$2().nullable(),
8281
8310
  state: RelocateJobStateSchema.nullable(),
8282
8311
  error: string$2().nullable(),
@@ -8290,6 +8319,7 @@ var StorageMigrationJobSchema = object({
8290
8319
  * can tell a seconds-long cutover from a thirty-hour one. */
8291
8320
  mode: StorageMigrationModeSchema,
8292
8321
  destinations: StorageMigrationDestinationsSchema,
8322
+ sources: StorageMigrationSourcesSchema,
8293
8323
  throttleMbps: number(),
8294
8324
  moves: array(StorageMigrationMoveSchema),
8295
8325
  pauseLeaseId: string$2().nullable(),
@@ -8315,6 +8345,7 @@ var StorageMigrationFindingSchema = object({
8315
8345
  });
8316
8346
  var StorageMigrationPlanSchema = object({
8317
8347
  destinations: StorageMigrationDestinationsSchema,
8348
+ sources: StorageMigrationSourcesSchema,
8318
8349
  /** The mode this plan was built for. A plan is only valid for its mode: the
8319
8350
  * `eventMedia` seal gate and the single-cardinality refusal both depend on
8320
8351
  * it. */
@@ -8322,7 +8353,8 @@ var StorageMigrationPlanSchema = object({
8322
8353
  moves: array(object({
8323
8354
  storageClass: StorageMigrationClassSchema,
8324
8355
  fromLocationId: string$2(),
8325
- toLocationId: string$2()
8356
+ toLocationId: string$2(),
8357
+ freezeSource: boolean().optional()
8326
8358
  })),
8327
8359
  findings: array(StorageMigrationFindingSchema)
8328
8360
  });
@@ -8500,10 +8532,51 @@ var LedgerWalkReportSchema = object({
8500
8532
  var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8501
8533
  var RelocatableMediaCountInputSchema = object({
8502
8534
  toLocationId: string$2().min(1),
8535
+ /** Restrict the count to one source; omitted / `'*'` = every non-target row. */
8536
+ fromLocationId: string$2().optional(),
8503
8537
  /** Omitted = `move`. */
8504
8538
  mode: MediaRelocateModeSchema.optional()
8505
8539
  });
8506
8540
  /**
8541
+ * Operator cleanup of leftover analytics rows, optional debug media, and
8542
+ * ghost ledger entries on frozen footage locations.
8543
+ *
8544
+ * A pass is tens of minutes on a standing backlog. The hub method RETURNS
8545
+ * `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
8546
+ * is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
8547
+ * with no operator-visible status.
8548
+ */
8549
+ var StorageCleanupPhaseSchema = _enum([
8550
+ "orphans",
8551
+ "debug-media",
8552
+ "ghost-ledger",
8553
+ "done",
8554
+ "failed",
8555
+ "cancelled"
8556
+ ]);
8557
+ var StorageCleanupInputSchema = object({
8558
+ /** Also walk motion stills / track filmstrips. Off by default. */
8559
+ includeDebugMedia: boolean().optional() });
8560
+ var StorageCleanupJobSchema = object({
8561
+ jobId: string$2(),
8562
+ phase: StorageCleanupPhaseSchema,
8563
+ includeDebugMedia: boolean(),
8564
+ orphansReclaimed: number().int().nonnegative(),
8565
+ orphanBytesReclaimed: number().int().nonnegative(),
8566
+ debugMediaReclaimed: number().int().nonnegative(),
8567
+ debugMediaBytesReclaimed: number().int().nonnegative(),
8568
+ ghostsForgotten: number().int().nonnegative(),
8569
+ ghostBytesForgotten: number().int().nonnegative(),
8570
+ /** Short operator-facing line: current collection, pass, or location. */
8571
+ detail: string$2().nullable(),
8572
+ cancelRequested: boolean(),
8573
+ startedAt: number(),
8574
+ updatedAt: number(),
8575
+ finishedAt: number().nullable(),
8576
+ error: string$2().nullable()
8577
+ });
8578
+ var StorageCleanupStatusInputSchema = object({ jobId: string$2().optional() });
8579
+ /**
8507
8580
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8508
8581
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8509
8582
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8531,11 +8604,10 @@ var StorageLocationTypeSchema = string$2().regex(/^[a-z][a-zA-Z0-9-]*$/);
8531
8604
  * The default location for a type uses `id === <type>:default` by
8532
8605
  * convention (the bare type ref like `'backups'` resolves to it).
8533
8606
  *
8534
- * `isSystem: true` marks a location as orchestrator-seeded and
8535
- * undeletable. The bootstrap-installed defaults (one per type) carry
8536
- * this flag; operator-added locations don't. Editing the config of
8537
- * a system location is allowed (path migration, provider swap) but
8538
- * deleting it is rejected at the cap level.
8607
+ * `isSystem` is a legacy persisted flag. Seed still creates the initial
8608
+ * `<type>:default` locations; the flag is no longer a lock, a badge, or a
8609
+ * prune selector. New writes leave it false. Deletion is gated on uniqueness
8610
+ * / last-enabled, not on this bit.
8539
8611
  */
8540
8612
  var StorageLocationSchema = object({
8541
8613
  id: string$2().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
@@ -13127,6 +13199,12 @@ method(object({
13127
13199
  }), _void(), {
13128
13200
  kind: "mutation",
13129
13201
  auth: "admin"
13202
+ }), method(object({
13203
+ from: string$2(),
13204
+ to: string$2()
13205
+ }), object({ moved: number() }), {
13206
+ kind: "mutation",
13207
+ auth: "admin"
13130
13208
  }), method(object({
13131
13209
  deviceId: number(),
13132
13210
  disabled: boolean()
@@ -19135,46 +19213,6 @@ var RecentTracksPageSchema = object({
19135
19213
  /** Cursor for the next page, or null when this page is the last. */
19136
19214
  nextCursor: string$2().nullable()
19137
19215
  });
19138
- var LIST_GROUPS_DEFAULT_LIMIT = 40;
19139
- var LIST_GROUPS_MAX_LIMIT = 100;
19140
- var AnalyticsGroupRecordSchema = object({
19141
- id: string$2(),
19142
- deviceId: number().int(),
19143
- openedAt: number().int(),
19144
- closedAt: number().int(),
19145
- timestamp: number().int(),
19146
- memberCount: number().int(),
19147
- memberTrackIds: array(string$2()).readonly(),
19148
- className: string$2(),
19149
- classes: array(string$2()).readonly(),
19150
- /** Relative event-media path, or null when the group has no picture yet. */
19151
- mediaUrl: string$2().nullable(),
19152
- singleton: boolean()
19153
- });
19154
- var AnalyticsGroupMemberSchema = object({
19155
- trackId: string$2(),
19156
- deviceId: number().int(),
19157
- className: string$2(),
19158
- firstSeen: number().int(),
19159
- lastSeen: number().int(),
19160
- mediaUrl: string$2().nullable()
19161
- });
19162
- var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
19163
- var ListGroupsQueryInput = object({
19164
- /** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
19165
- deviceIds: array(number()),
19166
- /** Window lower bound on `closedAt` (inclusive). */
19167
- since: number().optional(),
19168
- /** Window upper bound on `openedAt` (inclusive). */
19169
- until: number().optional(),
19170
- limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
19171
- /** Opaque continuation cursor from a previous page's `nextCursor`. */
19172
- cursor: string$2().optional()
19173
- });
19174
- var ListGroupsPageSchema = object({
19175
- groups: array(AnalyticsGroupRecordSchema).readonly(),
19176
- nextCursor: string$2().nullable()
19177
- });
19178
19216
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19179
19217
  var KEY_EVENTS_MAX_LIMIT = 200;
19180
19218
  var KeyEventQueryInput = object({
@@ -19278,9 +19316,7 @@ var TrackCascadeCountsSchema = object({
19278
19316
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19279
19317
  plates: number().int(),
19280
19318
  /** Per-track CLIP search vectors removed (best-effort). */
19281
- embeddings: number().int(),
19282
- /** Group membership + group rows removed with their last member (best-effort). */
19283
- groups: number().int()
19319
+ embeddings: number().int()
19284
19320
  });
19285
19321
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19286
19322
  var DiskReconcileCountsSchema = object({
@@ -19450,6 +19486,47 @@ var RebuildStatusSchema = object({
19450
19486
  /** Present when the pass ended by throwing. */
19451
19487
  error: string$2().nullable()
19452
19488
  });
19489
+ /**
19490
+ * Acknowledgement that a debug-media reclaim STARTED.
19491
+ *
19492
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19493
+ * it runs detached and this returns immediately. Awaiting it is how the
19494
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19495
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19496
+ */
19497
+ var MediaReclaimStartResultSchema = object({
19498
+ started: boolean(),
19499
+ /** True when a pass was already running; the new request is ignored. */
19500
+ alreadyRunning: boolean()
19501
+ });
19502
+ var MediaReclaimInputSchema = object({
19503
+ mode: _enum(["report", "reclaim"]).default("report"),
19504
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19505
+ deviceIds: array(number().int()).min(1).optional(),
19506
+ restart: boolean().optional(),
19507
+ pageSize: number().int().min(50).max(5e3).optional(),
19508
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19509
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19510
+ maxBytesPerRun: number().int().min(1).optional(),
19511
+ budgetMinutes: number().int().min(1).max(720).optional(),
19512
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19513
+ graceMinutes: number().int().min(1).max(10080).optional()
19514
+ });
19515
+ var MediaReclaimStatusSchema = object({
19516
+ running: boolean(),
19517
+ mode: _enum(["report", "reclaim"]).nullable(),
19518
+ totalExamined: number(),
19519
+ totalEligible: number(),
19520
+ totalReclaimed: number(),
19521
+ totalBytesReclaimed: number(),
19522
+ totalRefused: number(),
19523
+ /** Device+scope windows finished in this pass. */
19524
+ devicesDone: number(),
19525
+ complete: boolean().nullable(),
19526
+ startedAtMs: number().nullable(),
19527
+ finishedAtMs: number().nullable(),
19528
+ error: string$2().nullable()
19529
+ });
19453
19530
  var ReplayFrameInputSchema = object({
19454
19531
  timestamp: number(),
19455
19532
  frame: PipelineRunResultBridge
@@ -19488,10 +19565,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19488
19565
  * stationary registry). Default false: the timeline lists passages,
19489
19566
  * not parking records (operator decision, 2026-08-15). */
19490
19567
  includeStationary: boolean().optional()
19491
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
19492
- deviceId: number(),
19493
- groupId: string$2().min(1)
19494
- }), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19568
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19495
19569
  kind: "mutation",
19496
19570
  auth: "admin"
19497
19571
  }), 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({
@@ -19591,6 +19665,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19591
19665
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19592
19666
  kind: "query",
19593
19667
  auth: "admin"
19668
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19669
+ kind: "mutation",
19670
+ auth: "admin"
19671
+ }), method(object({}), MediaReclaimStatusSchema, {
19672
+ kind: "query",
19673
+ auth: "admin"
19594
19674
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19595
19675
  kind: "query",
19596
19676
  auth: "admin"
@@ -21561,7 +21641,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21561
21641
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string$2() }), {
21562
21642
  kind: "mutation",
21563
21643
  auth: "admin"
21564
- });
21644
+ }), method(StorageCleanupInputSchema, object({ jobId: string$2() }), {
21645
+ kind: "mutation",
21646
+ auth: "admin"
21647
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
21648
+ kind: "mutation",
21649
+ auth: "admin"
21650
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21565
21651
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21566
21652
  providerId: string$2().min(1),
21567
21653
  displayName: string$2().min(1),
@@ -28671,6 +28757,33 @@ var RecordingRebalanceInputSchema = object({
28671
28757
  minMoveGb: number().min(0).optional()
28672
28758
  });
28673
28759
  /**
28760
+ * Operator-facing placement of one camera onto a recordings location.
28761
+ *
28762
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28763
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28764
+ * currently write — the plan, which may disagree with the pin when Auto.
28765
+ */
28766
+ var RecordingDevicePlacementSchema = object({
28767
+ deviceId: number().int(),
28768
+ profile: string$2(),
28769
+ locationId: string$2()
28770
+ });
28771
+ var RecordingDevicePinSchema = object({
28772
+ deviceId: number().int(),
28773
+ /** Recordings-class location this camera is pinned to. */
28774
+ locationId: string$2()
28775
+ });
28776
+ var RecordingPlacementViewSchema = object({
28777
+ assignments: array(RecordingDevicePlacementSchema),
28778
+ pins: array(RecordingDevicePinSchema),
28779
+ defaultLocations: record(string$2(), string$2())
28780
+ });
28781
+ var RecordingSetDevicePlacementInputSchema = object({
28782
+ deviceId: number().int(),
28783
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28784
+ locationId: string$2().nullable()
28785
+ });
28786
+ /**
28674
28787
  * Result of locating footage at a wall-clock instant for one device/profile.
28675
28788
  * `segment` carries the covering segment's window; `gap` reports the forward
28676
28789
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28896,6 +29009,12 @@ method(object({
28896
29009
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28897
29010
  kind: "mutation",
28898
29011
  auth: "admin"
29012
+ }), method(object({}), RecordingPlacementViewSchema, {
29013
+ kind: "query",
29014
+ auth: "admin"
29015
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
29016
+ kind: "mutation",
29017
+ auth: "admin"
28899
29018
  });
28900
29019
  /**
28901
29020
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33965,6 +34084,12 @@ Object.freeze({
33965
34084
  addonId: null,
33966
34085
  access: "delete"
33967
34086
  },
34087
+ "deviceManager.renameLocation": {
34088
+ capName: "device-manager",
34089
+ capScope: "system",
34090
+ addonId: null,
34091
+ access: "create"
34092
+ },
33968
34093
  "deviceManager.runDeviceAction": {
33969
34094
  capName: "device-manager",
33970
34095
  capScope: "system",
@@ -35657,19 +35782,19 @@ Object.freeze({
35657
35782
  addonId: null,
35658
35783
  access: "view"
35659
35784
  },
35660
- "pipelineAnalytics.getGroup": {
35785
+ "pipelineAnalytics.getKeyEvents": {
35661
35786
  capName: "pipeline-analytics",
35662
35787
  capScope: "device",
35663
35788
  addonId: null,
35664
35789
  access: "view"
35665
35790
  },
35666
- "pipelineAnalytics.getKeyEvents": {
35791
+ "pipelineAnalytics.getKeyEventsBatch": {
35667
35792
  capName: "pipeline-analytics",
35668
35793
  capScope: "device",
35669
35794
  addonId: null,
35670
35795
  access: "view"
35671
35796
  },
35672
- "pipelineAnalytics.getKeyEventsBatch": {
35797
+ "pipelineAnalytics.getMediaReclaimStatus": {
35673
35798
  capName: "pipeline-analytics",
35674
35799
  capScope: "device",
35675
35800
  addonId: null,
@@ -35759,12 +35884,6 @@ Object.freeze({
35759
35884
  addonId: null,
35760
35885
  access: "view"
35761
35886
  },
35762
- "pipelineAnalytics.listGroups": {
35763
- capName: "pipeline-analytics",
35764
- capScope: "device",
35765
- addonId: null,
35766
- access: "view"
35767
- },
35768
35887
  "pipelineAnalytics.listOpsLog": {
35769
35888
  capName: "pipeline-analytics",
35770
35889
  capScope: "device",
@@ -35849,6 +35968,12 @@ Object.freeze({
35849
35968
  addonId: null,
35850
35969
  access: "create"
35851
35970
  },
35971
+ "pipelineAnalytics.reclaimDebugMedia": {
35972
+ capName: "pipeline-analytics",
35973
+ capScope: "device",
35974
+ addonId: null,
35975
+ access: "create"
35976
+ },
35852
35977
  "pipelineAnalytics.reconcileFromDisk": {
35853
35978
  capName: "pipeline-analytics",
35854
35979
  capScope: "device",
@@ -36773,6 +36898,12 @@ Object.freeze({
36773
36898
  addonId: null,
36774
36899
  access: "view"
36775
36900
  },
36901
+ "recording.getPlacement": {
36902
+ capName: "recording",
36903
+ capScope: "system",
36904
+ addonId: null,
36905
+ access: "view"
36906
+ },
36776
36907
  "recording.getPlaybackManifest": {
36777
36908
  capName: "recording",
36778
36909
  capScope: "system",
@@ -36899,6 +37030,12 @@ Object.freeze({
36899
37030
  addonId: null,
36900
37031
  access: "create"
36901
37032
  },
37033
+ "recording.setDevicePlacement": {
37034
+ capName: "recording",
37035
+ capScope: "system",
37036
+ addonId: null,
37037
+ access: "create"
37038
+ },
36902
37039
  "recording.startStorageMigrationMove": {
36903
37040
  capName: "recording",
36904
37041
  capScope: "system",
@@ -37343,12 +37480,36 @@ Object.freeze({
37343
37480
  addonId: null,
37344
37481
  access: "create"
37345
37482
  },
37483
+ "storageMigration.cleanupCancel": {
37484
+ capName: "storage-migration",
37485
+ capScope: "system",
37486
+ addonId: null,
37487
+ access: "create"
37488
+ },
37489
+ "storageMigration.cleanupStart": {
37490
+ capName: "storage-migration",
37491
+ capScope: "system",
37492
+ addonId: null,
37493
+ access: "create"
37494
+ },
37495
+ "storageMigration.cleanupStatus": {
37496
+ capName: "storage-migration",
37497
+ capScope: "system",
37498
+ addonId: null,
37499
+ access: "view"
37500
+ },
37346
37501
  "storageMigration.drain": {
37347
37502
  capName: "storage-migration",
37348
37503
  capScope: "system",
37349
37504
  addonId: null,
37350
37505
  access: "create"
37351
37506
  },
37507
+ "storageMigration.history": {
37508
+ capName: "storage-migration",
37509
+ capScope: "system",
37510
+ addonId: null,
37511
+ access: "view"
37512
+ },
37352
37513
  "storageMigration.movers": {
37353
37514
  capName: "storage-migration",
37354
37515
  capScope: "system",
@@ -39345,11 +39506,6 @@ Object.freeze({
39345
39506
  form: "single",
39346
39507
  optional: true
39347
39508
  }],
39348
- "pipelineAnalytics.getGroup": [{
39349
- name: "deviceId",
39350
- form: "single",
39351
- optional: false
39352
- }],
39353
39509
  "pipelineAnalytics.getKeyEvents": [{
39354
39510
  name: "deviceId",
39355
39511
  form: "single",
@@ -39415,11 +39571,6 @@ Object.freeze({
39415
39571
  form: "single",
39416
39572
  optional: false
39417
39573
  }],
39418
- "pipelineAnalytics.listGroups": [{
39419
- name: "deviceIds",
39420
- form: "array",
39421
- optional: false
39422
- }],
39423
39574
  "pipelineAnalytics.listOpsLog": [{
39424
39575
  name: "deviceId",
39425
39576
  form: "single",
@@ -39465,6 +39616,11 @@ Object.freeze({
39465
39616
  form: "single",
39466
39617
  optional: true
39467
39618
  }],
39619
+ "pipelineAnalytics.reclaimDebugMedia": [{
39620
+ name: "deviceIds",
39621
+ form: "array",
39622
+ optional: true
39623
+ }],
39468
39624
  "pipelineAnalytics.reconcileFromDisk": [{
39469
39625
  name: "deviceId",
39470
39626
  form: "single",
@@ -39830,6 +39986,11 @@ Object.freeze({
39830
39986
  form: "single",
39831
39987
  optional: false
39832
39988
  }],
39989
+ "recording.setDevicePlacement": [{
39990
+ name: "deviceId",
39991
+ form: "single",
39992
+ optional: false
39993
+ }],
39833
39994
  "recording.startStorageMigrationMove": [{
39834
39995
  name: "deviceId",
39835
39996
  form: "single",
package/dist/addon.mjs CHANGED
@@ -8108,6 +8108,13 @@ var MediaRelocateModeSchema = _enum([
8108
8108
  ]);
8109
8109
  var RelocateMediaInputSchema = object({
8110
8110
  toLocationId: string$2(),
8111
+ /**
8112
+ * Restrict the pass to rows currently on this location. Omitted / `'*'` =
8113
+ * every row that is not already on `toLocationId` (the historical
8114
+ * behaviour). A named source is what a from→to migration needs: without it
8115
+ * "move events off disk 2" also emptied disk 1.
8116
+ */
8117
+ fromLocationId: string$2().optional(),
8111
8118
  throttleMbps: number().min(1).max(1e3).optional(),
8112
8119
  /** Omitted = `move`, the pre-existing behaviour. */
8113
8120
  mode: MediaRelocateModeSchema.optional()
@@ -8175,6 +8182,19 @@ var StorageMigrationDestinationsSchema = object({
8175
8182
  galleryMedia: string$2().min(1).optional()
8176
8183
  }).refine((value) => Object.keys(value).length > 0, { message: "select at least one storage class" });
8177
8184
  /**
8185
+ * Optional named source per class. Omitted = the class's current default
8186
+ * (the historical behaviour). A named source that is NOT the default is a
8187
+ * drain of that disk: bytes move, the default stays, and the source is
8188
+ * disabled when the move finishes.
8189
+ */
8190
+ var StorageMigrationSourcesSchema = object({
8191
+ recordings: string$2().min(1).optional(),
8192
+ recordingsLow: string$2().min(1).optional(),
8193
+ eventMedia: string$2().min(1).optional(),
8194
+ backups: string$2().min(1).optional(),
8195
+ galleryMedia: string$2().min(1).optional()
8196
+ }).optional();
8197
+ /**
8178
8198
  * How a migration sequences the cutover against the byte move.
8179
8199
  *
8180
8200
  * - `blocking` — the historical order: pause, move every byte, repoint,
@@ -8196,6 +8216,8 @@ var StorageMigrationModeSchema = _enum(["blocking", "nonBlocking"]);
8196
8216
  /** Shared input for planning and starting an orchestrated storage migration. */
8197
8217
  var StorageMigrationInputSchema = object({
8198
8218
  destinations: StorageMigrationDestinationsSchema,
8219
+ /** Omitted = each class's current default. */
8220
+ sources: StorageMigrationSourcesSchema,
8199
8221
  throttleMbps: number().min(1).max(1e3).optional(),
8200
8222
  /** Omitted = `blocking`, which stays the default. */
8201
8223
  mode: StorageMigrationModeSchema.optional()
@@ -8275,6 +8297,13 @@ var StorageMigrationMoveSchema = object({
8275
8297
  storageClass: StorageMigrationClassSchema,
8276
8298
  fromLocationId: string$2(),
8277
8299
  toLocationId: string$2(),
8300
+ /**
8301
+ * True when `from` was NOT the class default at plan time. The move still
8302
+ * copies bytes, but the default is left alone and the source is disabled
8303
+ * once the copy verifies. Absent on jobs planned before this field existed
8304
+ * — those jobs always repointed, which is `false`.
8305
+ */
8306
+ freezeSource: boolean().optional(),
8278
8307
  moverJobId: string$2().nullable(),
8279
8308
  state: RelocateJobStateSchema.nullable(),
8280
8309
  error: string$2().nullable(),
@@ -8288,6 +8317,7 @@ var StorageMigrationJobSchema = object({
8288
8317
  * can tell a seconds-long cutover from a thirty-hour one. */
8289
8318
  mode: StorageMigrationModeSchema,
8290
8319
  destinations: StorageMigrationDestinationsSchema,
8320
+ sources: StorageMigrationSourcesSchema,
8291
8321
  throttleMbps: number(),
8292
8322
  moves: array(StorageMigrationMoveSchema),
8293
8323
  pauseLeaseId: string$2().nullable(),
@@ -8313,6 +8343,7 @@ var StorageMigrationFindingSchema = object({
8313
8343
  });
8314
8344
  var StorageMigrationPlanSchema = object({
8315
8345
  destinations: StorageMigrationDestinationsSchema,
8346
+ sources: StorageMigrationSourcesSchema,
8316
8347
  /** The mode this plan was built for. A plan is only valid for its mode: the
8317
8348
  * `eventMedia` seal gate and the single-cardinality refusal both depend on
8318
8349
  * it. */
@@ -8320,7 +8351,8 @@ var StorageMigrationPlanSchema = object({
8320
8351
  moves: array(object({
8321
8352
  storageClass: StorageMigrationClassSchema,
8322
8353
  fromLocationId: string$2(),
8323
- toLocationId: string$2()
8354
+ toLocationId: string$2(),
8355
+ freezeSource: boolean().optional()
8324
8356
  })),
8325
8357
  findings: array(StorageMigrationFindingSchema)
8326
8358
  });
@@ -8498,10 +8530,51 @@ var LedgerWalkReportSchema = object({
8498
8530
  var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8499
8531
  var RelocatableMediaCountInputSchema = object({
8500
8532
  toLocationId: string$2().min(1),
8533
+ /** Restrict the count to one source; omitted / `'*'` = every non-target row. */
8534
+ fromLocationId: string$2().optional(),
8501
8535
  /** Omitted = `move`. */
8502
8536
  mode: MediaRelocateModeSchema.optional()
8503
8537
  });
8504
8538
  /**
8539
+ * Operator cleanup of leftover analytics rows, optional debug media, and
8540
+ * ghost ledger entries on frozen footage locations.
8541
+ *
8542
+ * A pass is tens of minutes on a standing backlog. The hub method RETURNS
8543
+ * `{ jobId }` immediately; progress is `cleanupStatus`. Awaiting the work
8544
+ * is how `addons.custom` hit the 60 s UDS deadline while reclaim continued
8545
+ * with no operator-visible status.
8546
+ */
8547
+ var StorageCleanupPhaseSchema = _enum([
8548
+ "orphans",
8549
+ "debug-media",
8550
+ "ghost-ledger",
8551
+ "done",
8552
+ "failed",
8553
+ "cancelled"
8554
+ ]);
8555
+ var StorageCleanupInputSchema = object({
8556
+ /** Also walk motion stills / track filmstrips. Off by default. */
8557
+ includeDebugMedia: boolean().optional() });
8558
+ var StorageCleanupJobSchema = object({
8559
+ jobId: string$2(),
8560
+ phase: StorageCleanupPhaseSchema,
8561
+ includeDebugMedia: boolean(),
8562
+ orphansReclaimed: number().int().nonnegative(),
8563
+ orphanBytesReclaimed: number().int().nonnegative(),
8564
+ debugMediaReclaimed: number().int().nonnegative(),
8565
+ debugMediaBytesReclaimed: number().int().nonnegative(),
8566
+ ghostsForgotten: number().int().nonnegative(),
8567
+ ghostBytesForgotten: number().int().nonnegative(),
8568
+ /** Short operator-facing line: current collection, pass, or location. */
8569
+ detail: string$2().nullable(),
8570
+ cancelRequested: boolean(),
8571
+ startedAt: number(),
8572
+ updatedAt: number(),
8573
+ finishedAt: number().nullable(),
8574
+ error: string$2().nullable()
8575
+ });
8576
+ var StorageCleanupStatusInputSchema = object({ jobId: string$2().optional() });
8577
+ /**
8505
8578
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8506
8579
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8507
8580
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8529,11 +8602,10 @@ var StorageLocationTypeSchema = string$2().regex(/^[a-z][a-zA-Z0-9-]*$/);
8529
8602
  * The default location for a type uses `id === <type>:default` by
8530
8603
  * convention (the bare type ref like `'backups'` resolves to it).
8531
8604
  *
8532
- * `isSystem: true` marks a location as orchestrator-seeded and
8533
- * undeletable. The bootstrap-installed defaults (one per type) carry
8534
- * this flag; operator-added locations don't. Editing the config of
8535
- * a system location is allowed (path migration, provider swap) but
8536
- * deleting it is rejected at the cap level.
8605
+ * `isSystem` is a legacy persisted flag. Seed still creates the initial
8606
+ * `<type>:default` locations; the flag is no longer a lock, a badge, or a
8607
+ * prune selector. New writes leave it false. Deletion is gated on uniqueness
8608
+ * / last-enabled, not on this bit.
8537
8609
  */
8538
8610
  var StorageLocationSchema = object({
8539
8611
  id: string$2().regex(/^[a-z][a-zA-Z0-9-]*:[a-zA-Z0-9-]+$/),
@@ -13125,6 +13197,12 @@ method(object({
13125
13197
  }), _void(), {
13126
13198
  kind: "mutation",
13127
13199
  auth: "admin"
13200
+ }), method(object({
13201
+ from: string$2(),
13202
+ to: string$2()
13203
+ }), object({ moved: number() }), {
13204
+ kind: "mutation",
13205
+ auth: "admin"
13128
13206
  }), method(object({
13129
13207
  deviceId: number(),
13130
13208
  disabled: boolean()
@@ -19133,46 +19211,6 @@ var RecentTracksPageSchema = object({
19133
19211
  /** Cursor for the next page, or null when this page is the last. */
19134
19212
  nextCursor: string$2().nullable()
19135
19213
  });
19136
- var LIST_GROUPS_DEFAULT_LIMIT = 40;
19137
- var LIST_GROUPS_MAX_LIMIT = 100;
19138
- var AnalyticsGroupRecordSchema = object({
19139
- id: string$2(),
19140
- deviceId: number().int(),
19141
- openedAt: number().int(),
19142
- closedAt: number().int(),
19143
- timestamp: number().int(),
19144
- memberCount: number().int(),
19145
- memberTrackIds: array(string$2()).readonly(),
19146
- className: string$2(),
19147
- classes: array(string$2()).readonly(),
19148
- /** Relative event-media path, or null when the group has no picture yet. */
19149
- mediaUrl: string$2().nullable(),
19150
- singleton: boolean()
19151
- });
19152
- var AnalyticsGroupMemberSchema = object({
19153
- trackId: string$2(),
19154
- deviceId: number().int(),
19155
- className: string$2(),
19156
- firstSeen: number().int(),
19157
- lastSeen: number().int(),
19158
- mediaUrl: string$2().nullable()
19159
- });
19160
- var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
19161
- var ListGroupsQueryInput = object({
19162
- /** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
19163
- deviceIds: array(number()),
19164
- /** Window lower bound on `closedAt` (inclusive). */
19165
- since: number().optional(),
19166
- /** Window upper bound on `openedAt` (inclusive). */
19167
- until: number().optional(),
19168
- limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
19169
- /** Opaque continuation cursor from a previous page's `nextCursor`. */
19170
- cursor: string$2().optional()
19171
- });
19172
- var ListGroupsPageSchema = object({
19173
- groups: array(AnalyticsGroupRecordSchema).readonly(),
19174
- nextCursor: string$2().nullable()
19175
- });
19176
19214
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
19177
19215
  var KEY_EVENTS_MAX_LIMIT = 200;
19178
19216
  var KeyEventQueryInput = object({
@@ -19276,9 +19314,7 @@ var TrackCascadeCountsSchema = object({
19276
19314
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
19277
19315
  plates: number().int(),
19278
19316
  /** Per-track CLIP search vectors removed (best-effort). */
19279
- embeddings: number().int(),
19280
- /** Group membership + group rows removed with their last member (best-effort). */
19281
- groups: number().int()
19317
+ embeddings: number().int()
19282
19318
  });
19283
19319
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
19284
19320
  var DiskReconcileCountsSchema = object({
@@ -19448,6 +19484,47 @@ var RebuildStatusSchema = object({
19448
19484
  /** Present when the pass ended by throwing. */
19449
19485
  error: string$2().nullable()
19450
19486
  });
19487
+ /**
19488
+ * Acknowledgement that a debug-media reclaim STARTED.
19489
+ *
19490
+ * The pass is paced at ~2 MB/s over a standing 100 GB — tens of minutes — so
19491
+ * it runs detached and this returns immediately. Awaiting it is how the
19492
+ * `addons.custom` door hit the 60 s UDS deadline while the walk carried on
19493
+ * with no status. Poll {@link pipelineAnalyticsCapability.methods.getMediaReclaimStatus}.
19494
+ */
19495
+ var MediaReclaimStartResultSchema = object({
19496
+ started: boolean(),
19497
+ /** True when a pass was already running; the new request is ignored. */
19498
+ alreadyRunning: boolean()
19499
+ });
19500
+ var MediaReclaimInputSchema = object({
19501
+ mode: _enum(["report", "reclaim"]).default("report"),
19502
+ scopes: array(_enum(["motion-still", "track-filmstrip"])).min(1).optional(),
19503
+ deviceIds: array(number().int()).min(1).optional(),
19504
+ restart: boolean().optional(),
19505
+ pageSize: number().int().min(50).max(5e3).optional(),
19506
+ maxRowsPerDevice: number().int().min(1).max(5e5).optional(),
19507
+ maxReclaimPerDevice: number().int().min(1).max(5e5).optional(),
19508
+ maxBytesPerRun: number().int().min(1).optional(),
19509
+ budgetMinutes: number().int().min(1).max(720).optional(),
19510
+ throttleBytesPerSec: number().int().min(64 * 1024).optional(),
19511
+ graceMinutes: number().int().min(1).max(10080).optional()
19512
+ });
19513
+ var MediaReclaimStatusSchema = object({
19514
+ running: boolean(),
19515
+ mode: _enum(["report", "reclaim"]).nullable(),
19516
+ totalExamined: number(),
19517
+ totalEligible: number(),
19518
+ totalReclaimed: number(),
19519
+ totalBytesReclaimed: number(),
19520
+ totalRefused: number(),
19521
+ /** Device+scope windows finished in this pass. */
19522
+ devicesDone: number(),
19523
+ complete: boolean().nullable(),
19524
+ startedAtMs: number().nullable(),
19525
+ finishedAtMs: number().nullable(),
19526
+ error: string$2().nullable()
19527
+ });
19451
19528
  var ReplayFrameInputSchema = object({
19452
19529
  timestamp: number(),
19453
19530
  frame: PipelineRunResultBridge
@@ -19486,10 +19563,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19486
19563
  * stationary registry). Default false: the timeline lists passages,
19487
19564
  * not parking records (operator decision, 2026-08-15). */
19488
19565
  includeStationary: boolean().optional()
19489
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
19490
- deviceId: number(),
19491
- groupId: string$2().min(1)
19492
- }), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19566
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19493
19567
  kind: "mutation",
19494
19568
  auth: "admin"
19495
19569
  }), 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({
@@ -19589,6 +19663,12 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19589
19663
  }), method(OpsLogQueryInputSchema, array(OpsLogEntrySchema).readonly(), {
19590
19664
  kind: "query",
19591
19665
  auth: "admin"
19666
+ }), method(MediaReclaimInputSchema, MediaReclaimStartResultSchema, {
19667
+ kind: "mutation",
19668
+ auth: "admin"
19669
+ }), method(object({}), MediaReclaimStatusSchema, {
19670
+ kind: "query",
19671
+ auth: "admin"
19592
19672
  }), method(object({ deviceIds: array(number()).optional() }), TrainingExportSummarySchema, {
19593
19673
  kind: "query",
19594
19674
  auth: "admin"
@@ -21559,7 +21639,13 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
21559
21639
  }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string$2() }), {
21560
21640
  kind: "mutation",
21561
21641
  auth: "admin"
21562
- });
21642
+ }), method(StorageCleanupInputSchema, object({ jobId: string$2() }), {
21643
+ kind: "mutation",
21644
+ auth: "admin"
21645
+ }), method(StorageCleanupStatusInputSchema, StorageCleanupJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string$2() }), object({ cancelled: boolean() }), {
21646
+ kind: "mutation",
21647
+ auth: "admin"
21648
+ }), method(object({}), array(StorageMigrationJobSchema).readonly(), { auth: "admin" });
21563
21649
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
21564
21650
  providerId: string$2().min(1),
21565
21651
  displayName: string$2().min(1),
@@ -28669,6 +28755,33 @@ var RecordingRebalanceInputSchema = object({
28669
28755
  minMoveGb: number().min(0).optional()
28670
28756
  });
28671
28757
  /**
28758
+ * Operator-facing placement of one camera onto a recordings location.
28759
+ *
28760
+ * `pinLocationId` is the operator instruction: a location id, or `null` for
28761
+ * Auto (the planner may move this camera). `locationId` is where high/mid
28762
+ * currently write — the plan, which may disagree with the pin when Auto.
28763
+ */
28764
+ var RecordingDevicePlacementSchema = object({
28765
+ deviceId: number().int(),
28766
+ profile: string$2(),
28767
+ locationId: string$2()
28768
+ });
28769
+ var RecordingDevicePinSchema = object({
28770
+ deviceId: number().int(),
28771
+ /** Recordings-class location this camera is pinned to. */
28772
+ locationId: string$2()
28773
+ });
28774
+ var RecordingPlacementViewSchema = object({
28775
+ assignments: array(RecordingDevicePlacementSchema),
28776
+ pins: array(RecordingDevicePinSchema),
28777
+ defaultLocations: record(string$2(), string$2())
28778
+ });
28779
+ var RecordingSetDevicePlacementInputSchema = object({
28780
+ deviceId: number().int(),
28781
+ /** `null` = Auto. Otherwise a `recordings:*` location id. */
28782
+ locationId: string$2().nullable()
28783
+ });
28784
+ /**
28672
28785
  * Result of locating footage at a wall-clock instant for one device/profile.
28673
28786
  * `segment` carries the covering segment's window; `gap` reports the forward
28674
28787
  * nearest covered edge (`null` past the end of footage / when none exists)
@@ -28894,6 +29007,12 @@ method(object({
28894
29007
  }), method(RecordingRebalanceInputSchema, RecordingRebalancePlanSchema, {
28895
29008
  kind: "mutation",
28896
29009
  auth: "admin"
29010
+ }), method(object({}), RecordingPlacementViewSchema, {
29011
+ kind: "query",
29012
+ auth: "admin"
29013
+ }), method(RecordingSetDevicePlacementInputSchema, object({ ok: literal(true) }), {
29014
+ kind: "mutation",
29015
+ auth: "admin"
28897
29016
  });
28898
29017
  /**
28899
29018
  * `recording-export` cap — render a footage time range into a single downloadable
@@ -33963,6 +34082,12 @@ Object.freeze({
33963
34082
  addonId: null,
33964
34083
  access: "delete"
33965
34084
  },
34085
+ "deviceManager.renameLocation": {
34086
+ capName: "device-manager",
34087
+ capScope: "system",
34088
+ addonId: null,
34089
+ access: "create"
34090
+ },
33966
34091
  "deviceManager.runDeviceAction": {
33967
34092
  capName: "device-manager",
33968
34093
  capScope: "system",
@@ -35655,19 +35780,19 @@ Object.freeze({
35655
35780
  addonId: null,
35656
35781
  access: "view"
35657
35782
  },
35658
- "pipelineAnalytics.getGroup": {
35783
+ "pipelineAnalytics.getKeyEvents": {
35659
35784
  capName: "pipeline-analytics",
35660
35785
  capScope: "device",
35661
35786
  addonId: null,
35662
35787
  access: "view"
35663
35788
  },
35664
- "pipelineAnalytics.getKeyEvents": {
35789
+ "pipelineAnalytics.getKeyEventsBatch": {
35665
35790
  capName: "pipeline-analytics",
35666
35791
  capScope: "device",
35667
35792
  addonId: null,
35668
35793
  access: "view"
35669
35794
  },
35670
- "pipelineAnalytics.getKeyEventsBatch": {
35795
+ "pipelineAnalytics.getMediaReclaimStatus": {
35671
35796
  capName: "pipeline-analytics",
35672
35797
  capScope: "device",
35673
35798
  addonId: null,
@@ -35757,12 +35882,6 @@ Object.freeze({
35757
35882
  addonId: null,
35758
35883
  access: "view"
35759
35884
  },
35760
- "pipelineAnalytics.listGroups": {
35761
- capName: "pipeline-analytics",
35762
- capScope: "device",
35763
- addonId: null,
35764
- access: "view"
35765
- },
35766
35885
  "pipelineAnalytics.listOpsLog": {
35767
35886
  capName: "pipeline-analytics",
35768
35887
  capScope: "device",
@@ -35847,6 +35966,12 @@ Object.freeze({
35847
35966
  addonId: null,
35848
35967
  access: "create"
35849
35968
  },
35969
+ "pipelineAnalytics.reclaimDebugMedia": {
35970
+ capName: "pipeline-analytics",
35971
+ capScope: "device",
35972
+ addonId: null,
35973
+ access: "create"
35974
+ },
35850
35975
  "pipelineAnalytics.reconcileFromDisk": {
35851
35976
  capName: "pipeline-analytics",
35852
35977
  capScope: "device",
@@ -36771,6 +36896,12 @@ Object.freeze({
36771
36896
  addonId: null,
36772
36897
  access: "view"
36773
36898
  },
36899
+ "recording.getPlacement": {
36900
+ capName: "recording",
36901
+ capScope: "system",
36902
+ addonId: null,
36903
+ access: "view"
36904
+ },
36774
36905
  "recording.getPlaybackManifest": {
36775
36906
  capName: "recording",
36776
36907
  capScope: "system",
@@ -36897,6 +37028,12 @@ Object.freeze({
36897
37028
  addonId: null,
36898
37029
  access: "create"
36899
37030
  },
37031
+ "recording.setDevicePlacement": {
37032
+ capName: "recording",
37033
+ capScope: "system",
37034
+ addonId: null,
37035
+ access: "create"
37036
+ },
36900
37037
  "recording.startStorageMigrationMove": {
36901
37038
  capName: "recording",
36902
37039
  capScope: "system",
@@ -37341,12 +37478,36 @@ Object.freeze({
37341
37478
  addonId: null,
37342
37479
  access: "create"
37343
37480
  },
37481
+ "storageMigration.cleanupCancel": {
37482
+ capName: "storage-migration",
37483
+ capScope: "system",
37484
+ addonId: null,
37485
+ access: "create"
37486
+ },
37487
+ "storageMigration.cleanupStart": {
37488
+ capName: "storage-migration",
37489
+ capScope: "system",
37490
+ addonId: null,
37491
+ access: "create"
37492
+ },
37493
+ "storageMigration.cleanupStatus": {
37494
+ capName: "storage-migration",
37495
+ capScope: "system",
37496
+ addonId: null,
37497
+ access: "view"
37498
+ },
37344
37499
  "storageMigration.drain": {
37345
37500
  capName: "storage-migration",
37346
37501
  capScope: "system",
37347
37502
  addonId: null,
37348
37503
  access: "create"
37349
37504
  },
37505
+ "storageMigration.history": {
37506
+ capName: "storage-migration",
37507
+ capScope: "system",
37508
+ addonId: null,
37509
+ access: "view"
37510
+ },
37350
37511
  "storageMigration.movers": {
37351
37512
  capName: "storage-migration",
37352
37513
  capScope: "system",
@@ -39343,11 +39504,6 @@ Object.freeze({
39343
39504
  form: "single",
39344
39505
  optional: true
39345
39506
  }],
39346
- "pipelineAnalytics.getGroup": [{
39347
- name: "deviceId",
39348
- form: "single",
39349
- optional: false
39350
- }],
39351
39507
  "pipelineAnalytics.getKeyEvents": [{
39352
39508
  name: "deviceId",
39353
39509
  form: "single",
@@ -39413,11 +39569,6 @@ Object.freeze({
39413
39569
  form: "single",
39414
39570
  optional: false
39415
39571
  }],
39416
- "pipelineAnalytics.listGroups": [{
39417
- name: "deviceIds",
39418
- form: "array",
39419
- optional: false
39420
- }],
39421
39572
  "pipelineAnalytics.listOpsLog": [{
39422
39573
  name: "deviceId",
39423
39574
  form: "single",
@@ -39463,6 +39614,11 @@ Object.freeze({
39463
39614
  form: "single",
39464
39615
  optional: true
39465
39616
  }],
39617
+ "pipelineAnalytics.reclaimDebugMedia": [{
39618
+ name: "deviceIds",
39619
+ form: "array",
39620
+ optional: true
39621
+ }],
39466
39622
  "pipelineAnalytics.reconcileFromDisk": [{
39467
39623
  name: "deviceId",
39468
39624
  form: "single",
@@ -39828,6 +39984,11 @@ Object.freeze({
39828
39984
  form: "single",
39829
39985
  optional: false
39830
39986
  }],
39987
+ "recording.setDevicePlacement": [{
39988
+ name: "deviceId",
39989
+ form: "single",
39990
+ optional: false
39991
+ }],
39831
39992
  "recording.startStorageMigrationMove": [{
39832
39993
  name: "deviceId",
39833
39994
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
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",