@camstack/addon-export-alexa 1.2.49 → 1.2.51

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.
@@ -8332,13 +8332,49 @@ var StorageMigrationParticipantSchema = _enum([
8332
8332
  "recorder",
8333
8333
  "analytics"
8334
8334
  ]);
8335
+ /**
8336
+ * The mover's own numbers, folded onto the coordinator's durable move record.
8337
+ *
8338
+ * The long half of a non-blocking migration is `draining`, and it is measured
8339
+ * in hours: 136 885 files at ~4 MB/s is about five of them. Before this shape
8340
+ * existed the only place those numbers appeared was a Loki line, so an operator
8341
+ * watching the Admin UI saw `phase: draining` and nothing else for a whole
8342
+ * afternoon.
8343
+ *
8344
+ * It is POLLED, never pushed. Events are telemetry and may be dropped
8345
+ * (D8/D11), and a dropped progress event is indistinguishable from a stalled
8346
+ * mover — which is the exact failure this is meant to end. The coordinator's
8347
+ * `waitForMoves` already fetches the whole {@link RelocateJob} on every tick to
8348
+ * read `state`; folding the counters costs no extra read and makes the durable
8349
+ * record say afterwards how far a move actually got.
8350
+ *
8351
+ * `filesTotal` is `null` for "no honest denominator" and is never zero-filled:
8352
+ * a windowed footage job (`sinceMs`) and a node with no ledger both genuinely
8353
+ * cannot say M, and a 0 there would render as "100 % done".
8354
+ */
8355
+ var StorageMigrationMoveProgressSchema = object({
8356
+ filesMoved: number().int().nonnegative(),
8357
+ /** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
8358
+ filesTotal: number().int().nonnegative().nullable(),
8359
+ bytesMoved: number().int().nonnegative(),
8360
+ /** The MOVER's start, not the migration's: a drain restarted after an addon
8361
+ * crash gets a new mover, and a rate computed from the migration's start
8362
+ * would silently average in the time nothing was running. */
8363
+ startedAt: number(),
8364
+ /** When the coordinator last read these numbers. Paired with `startedAt` it
8365
+ * is the only honest rate: both clocks are the hub's, so a UI never has to
8366
+ * subtract its own. */
8367
+ observedAt: number()
8368
+ });
8335
8369
  var StorageMigrationMoveSchema = object({
8336
8370
  storageClass: StorageMigrationClassSchema,
8337
8371
  fromLocationId: string(),
8338
8372
  toLocationId: string(),
8339
8373
  moverJobId: string().nullable(),
8340
8374
  state: RelocateJobStateSchema.nullable(),
8341
- error: string().nullable()
8375
+ error: string().nullable(),
8376
+ /** Last observed mover counters; `null` until the mover has been polled once. */
8377
+ progress: StorageMigrationMoveProgressSchema.nullable()
8342
8378
  });
8343
8379
  var StorageMigrationJobSchema = object({
8344
8380
  jobId: string(),
@@ -8384,6 +8420,98 @@ var StorageMigrationPlanSchema = object({
8384
8420
  findings: array(StorageMigrationFindingSchema)
8385
8421
  });
8386
8422
  /**
8423
+ * A mover as it exists RIGHT NOW, whether or not a migration job owns it.
8424
+ *
8425
+ * The coordinator's job record is the state of record for a migration, and its
8426
+ * moves carry {@link StorageMigrationMoveProgress}. But the movers are usable
8427
+ * standalone — `recording.relocateFootage` and `pipelineAnalytics.relocateMedia`
8428
+ * are both operator-callable, and on 2026-08-29 a five-hour drain was armed that
8429
+ * way because no supported UI path existed. A mover armed like that has no job
8430
+ * to fold progress into, so it has to be readable on its own or it is invisible.
8431
+ *
8432
+ * `migrationJobId` is what tells the two apart: `null` means nothing here
8433
+ * orchestrated it.
8434
+ */
8435
+ var StorageMigrationMoverSchema = object({
8436
+ lane: _enum(["footage", "media"]),
8437
+ job: RelocateJobSchema,
8438
+ /** The coordinator job that armed this mover, or `null` for a mover armed
8439
+ * directly against the owning addon. */
8440
+ migrationJobId: string().nullable(),
8441
+ /** When the hub read these counters. Stamped here so a rate is `bytesMoved`
8442
+ * over (`observedAt` − `job.startedAt`) with BOTH ends on the hub's clock —
8443
+ * a browser subtracting its own `Date.now()` from a server `startedAt` is a
8444
+ * rate made of two different clocks. */
8445
+ observedAt: number()
8446
+ });
8447
+ /**
8448
+ * What a SOURCE still holds for one storage class — the number that makes a
8449
+ * "drain remaining" action honest rather than hopeful.
8450
+ *
8451
+ * It comes from the archive (`SegmentHourLedger.census` for footage, the media
8452
+ * engine's own selection count for media), never from the resident index: a
8453
+ * drain sized off `RecordingIndex` is what reported `done` over 80.3 GB it had
8454
+ * never been told about (D295).
8455
+ *
8456
+ * `items`/`bytes` are `null` for "the archive could not be asked", which is
8457
+ * deliberately NOT zero: a drain is still offered for an unknown residue,
8458
+ * because refusing on an unanswerable read would hide exactly the case an
8459
+ * operator needs to act on.
8460
+ */
8461
+ var StorageMigrationResidueSchema = object({
8462
+ storageClass: StorageMigrationClassSchema,
8463
+ /** The location still holding the data. `'*'` for the media lane, whose rows
8464
+ * move from wherever they are rather than from one named source. */
8465
+ fromLocationId: string(),
8466
+ /** Where a drain would move it — the class's CURRENT default. */
8467
+ toLocationId: string(),
8468
+ /** Segments (footage lane) or rows (media lane) still on the source. */
8469
+ items: number().int().nonnegative().nullable(),
8470
+ /** Bytes on the source; `null` when the lane counts rows rather than bytes. */
8471
+ bytes: number().int().nonnegative().nullable()
8472
+ });
8473
+ /**
8474
+ * Run the DRAIN half and nothing else.
8475
+ *
8476
+ * A migration that reached `done` has already repointed, so `start` correctly
8477
+ * refuses its destination ("already the default") — there is nothing left to
8478
+ * repoint. But the drain can fail, be cancelled, be interrupted by a restart,
8479
+ * or finish against a work list that was a tenth of the archive (D295), and
8480
+ * before this there was no supported way to run only that half: the only way
8481
+ * through was calling `recording.relocateFootage` by hand over admin tRPC.
8482
+ *
8483
+ * `drain` NEVER calls `setDefaultLocations`. That is what keeps `start`'s
8484
+ * refusal meaningful: the two verbs are disjoint, so nothing here can silently
8485
+ * re-repoint a class that is already migrated.
8486
+ */
8487
+ var StorageMigrationDrainInputSchema = object({
8488
+ /** The classes to drain. Each must appear in `storageMigration.residue`, so
8489
+ * a class whose source is already empty is refused rather than started. */
8490
+ classes: array(StorageMigrationClassSchema).min(1),
8491
+ throttleMbps: number().min(1).max(1e3).optional()
8492
+ });
8493
+ /** What a footage source still holds, asked of the durable hour ledger. */
8494
+ var RelocateResidueInputSchema = object({
8495
+ fromLocationId: string().min(1),
8496
+ /** Narrow to one logical class; omit for every profile on the location. */
8497
+ footageClass: RelocateFootageClassSchema.optional()
8498
+ });
8499
+ /** `null` = the archive could not answer (no ledger on this node, or the
8500
+ * aggregate failed). Never conflated with an empty source. */
8501
+ var RelocateResidueSchema = object({
8502
+ segments: number().int().nonnegative(),
8503
+ bytes: number().int().nonnegative()
8504
+ }).nullable();
8505
+ /** How many rows a media pass would still act on against a given target — the
8506
+ * media lane's denominator AND its residue, from ONE derivation so the two can
8507
+ * never disagree. `null` = the count could not be taken. */
8508
+ var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8509
+ var RelocatableMediaCountInputSchema = object({
8510
+ toLocationId: string().min(1),
8511
+ /** Omitted = `move`. */
8512
+ mode: MediaRelocateModeSchema.optional()
8513
+ });
8514
+ /**
8387
8515
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8388
8516
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8389
8517
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8487,6 +8615,32 @@ var StorageLocationRefSchema = union([StorageLocationTypeSchema, string().regex(
8487
8615
  * two addons declaring the same `id` must agree on `cardinality` (validated
8488
8616
  * at kernel aggregation time, not here).
8489
8617
  */
8618
+ /**
8619
+ * `StorageAccess` — how the service that DECLARED a storage-location kind
8620
+ * actually reaches the bytes. It is the constraint that decides which
8621
+ * `storage-provider`s may back a location of that kind.
8622
+ *
8623
+ * - `'local-path'` — the service asks `storage.resolve` for a path string and
8624
+ * then does its own `node:fs` I/O on it (the recorder's segment writer, the
8625
+ * post-analysis media roots). Only a provider that serves a genuine local
8626
+ * filesystem (`getProviderInfo().nodeLocal === true`) can satisfy that: a
8627
+ * remote provider's `resolve` returns a path on the REMOTE host, and
8628
+ * `fs.readdir` of it on this node either fails or — far worse — succeeds
8629
+ * against a same-named local directory that is something else entirely.
8630
+ *
8631
+ * - `'cap-mediated'` — every byte travels through the `storage` cap
8632
+ * (`read`/`write`, or `beginUpload`/`writeChunk`/`finalizeUpload`). The
8633
+ * service never sees a path, so any provider can back it. `backups` is the
8634
+ * one kind that qualifies today.
8635
+ *
8636
+ * Before this existed, `recordings` was unreachable by SFTP/S3/WebDAV only as
8637
+ * an EMERGENT property of how the recorder happened to be written. Nothing
8638
+ * refused the configuration; the first write simply went somewhere wrong, and
8639
+ * a recording write that goes wrong surfaces as a silent black window rather
8640
+ * than an error (the read path does not `stat`). This turns that accident into
8641
+ * a declared, enforced, testable refusal.
8642
+ */
8643
+ var StorageAccessSchema = _enum(["local-path", "cap-mediated"]);
8490
8644
  var StorageLocationDeclarationSchema = object({
8491
8645
  /**
8492
8646
  * Global location identifier, e.g. `recordings` or `recordingsLow`.
@@ -8506,6 +8660,19 @@ var StorageLocationDeclarationSchema = object({
8506
8660
  */
8507
8661
  cardinality: _enum(["single", "multi"]),
8508
8662
  /**
8663
+ * HOW the declaring service reaches the bytes — and therefore WHICH
8664
+ * providers may back a location of this kind. See {@link StorageAccessSchema}
8665
+ * and {@link STORAGE_ACCESS_FALLBACK}.
8666
+ *
8667
+ * Absent means `'local-path'`. That default is FAIL-CLOSED on purpose: it
8668
+ * can only over-restrict (refuse a remote provider for a kind that might
8669
+ * have coped) and never under-restrict. Declaring `'cap-mediated'` is the
8670
+ * permissive direction and is therefore never inferred — a repo guard
8671
+ * (`scripts/check-storage-access-declarations.ts`) refuses to let it be
8672
+ * reached by omission.
8673
+ */
8674
+ access: StorageAccessSchema.optional(),
8675
+ /**
8509
8676
  * When set, the default instance for this location inherits its resolved
8510
8677
  * root from the named location's default instance. Useful for derivative
8511
8678
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
@@ -18174,8 +18341,10 @@ var TrackSchema = object({
18174
18341
  lastSeen: number(),
18175
18342
  /** Frame-rate position history (subject to maxPositionHistory cap). */
18176
18343
  positions: array(TrackPositionSchema).readonly(),
18177
- /** Periodic snapshots at snapshotIntervalMs cadence (subject to
18178
- * saveThumbnails policy). */
18344
+ /** Periodic snapshots at snapshotIntervalMs cadence — DEBUG media, produced
18345
+ * only while `MediaSettings.debugMediaEnabled` is on for the camera (D299;
18346
+ * the retired `saveThumbnails` used to gate this and the rolling
18347
+ * `lastFrame` together). Empty is the healthy default, not a capture gap. */
18179
18348
  snapshots: array(TrackSnapshotSchema).readonly(),
18180
18349
  /** Deduplicated zones the track has entered at least once. Zone IDS. */
18181
18350
  zonesVisited: array(string()).readonly(),
@@ -19035,7 +19204,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19035
19204
  }), method(RelocateMediaInputSchema, object({ jobId: string() }), {
19036
19205
  kind: "mutation",
19037
19206
  auth: "admin"
19038
- }), method(object({}), UnstampedEventMediaCountSchema, { auth: "admin" }), method(object({}), array(RelocateJobSchema).readonly(), {
19207
+ }), method(object({}), UnstampedEventMediaCountSchema, { auth: "admin" }), method(RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, {
19208
+ kind: "query",
19209
+ auth: "admin"
19210
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
19039
19211
  kind: "query",
19040
19212
  auth: "admin"
19041
19213
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
@@ -20994,6 +21166,9 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
20994
21166
  }), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
20995
21167
  kind: "mutation",
20996
21168
  auth: "admin"
21169
+ }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21170
+ kind: "mutation",
21171
+ auth: "admin"
20997
21172
  });
20998
21173
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
20999
21174
  providerId: string().min(1),
@@ -21392,12 +21567,38 @@ response: record(string(), unknown()) }), object({
21392
21567
  *
21393
21568
  * ## Why this is a capability and not a helper
21394
21569
  *
21395
- * Six stores in `addon-post-analysis` already hold vectors — object CLIP, face,
21396
- * plate, vehicle, identity, and the event store's derivatives — and every one of
21397
- * them keeps its vectors in a `JSON` settings-store column and ranks them by
21398
- * brute-force cosine in JS. Measured on the live hub that costs ~11.7 KB per row
21399
- * (512 floats as TEXT, `JSON.parse`d on every search) and made semantic search
21400
- * load 5,000 rows before ranking anything.
21570
+ * This capability was introduced with the claim that SIX stores in
21571
+ * `addon-post-analysis` held vectors in a `JSON` settings-store column — object
21572
+ * CLIP, face, plate, vehicle, identity, and the event store's derivatives. That
21573
+ * claim was never true, and leaving it here made five stores look like pending
21574
+ * work when three of them have no vector at all. Counted column by column on
21575
+ * 2026-08-30, exactly THREE ever held one:
21576
+ *
21577
+ * - `object-clip` — 512-dim CLIP image embedding, migrated 2026-08-06.
21578
+ * - `faces.embedding` — 512-dim ArcFace face embedding, migrated 2026-08-30.
21579
+ * - `identity-samples.embedding` — the same ArcFace vector for an ENROLLED
21580
+ * face, migrated 2026-08-30 into its OWN index (see below).
21581
+ *
21582
+ * `plates` and `vehicle-samples` store a plate STRING and a score; `vehicles`
21583
+ * and `identities` store a name; the event store stores no derivative vector.
21584
+ * They are not migration candidates and never were.
21585
+ *
21586
+ * Measured on the live hub the JSON encoding cost ~11.7 KB per row (512 floats
21587
+ * as TEXT, `JSON.parse`d on every search) and made semantic search load 5,000
21588
+ * rows before ranking anything.
21589
+ *
21590
+ * ## One index per COMPARISON, never per encoder
21591
+ *
21592
+ * `faces` and `identity-samples` hold the same 512 ArcFace dims from the same
21593
+ * model, and they still get two indexes. An index is a set of things that are
21594
+ * ranked against each other and that live and die together, and these two are
21595
+ * neither: a `faces` row is TRACK-OWNED and cascades away with its track under
21596
+ * a per-camera capacity cap, an `identity-samples` row is retention-EXEMPT
21597
+ * forever and is the gallery every recognition ranks against. One index would
21598
+ * mean every gallery load and every reconcile carried a filter whose failure
21599
+ * mode is either ranking a candidate against itself or reclaiming an enrolled
21600
+ * person's only sample. The dimension they share is not a reason to share an
21601
+ * index; the question they answer is, and it differs.
21401
21602
  *
21402
21603
  * The fix is not a faster loop, it is a different backend — and the backend
21403
21604
  * should be replaceable without touching six callers. So: a singleton
@@ -21502,7 +21703,20 @@ var VectorQueryResultSchema = object({
21502
21703
  */
21503
21704
  scanned: number(),
21504
21705
  /** True when the backend could not consider every row that passed the filter. */
21505
- truncated: boolean()
21706
+ truncated: boolean(),
21707
+ /**
21708
+ * The `topK` the backend actually ran with.
21709
+ *
21710
+ * Every backend has a ceiling — sqlite-vec's is 4,096 — and a caller asking
21711
+ * past it used to learn nothing but a boolean, from a WARN in the provider's
21712
+ * own log rather than in its answer. That is how an audit asking for 20,000
21713
+ * consumed 4,096 and reported `examined: 4096` as if it had walked the index,
21714
+ * for weeks. `truncated` says THAT the answer was short; this says BY HOW
21715
+ * MUCH, in the return value, where the caller cannot fail to see it.
21716
+ *
21717
+ * Equals the requested `topK` whenever nothing was lowered.
21718
+ */
21719
+ effectiveTopK: number().int().positive()
21506
21720
  });
21507
21721
  var VectorDeleteInputSchema = object({
21508
21722
  index: string(),
@@ -21531,6 +21745,68 @@ var VectorGetResultSchema = object({ items: array(object({
21531
21745
  id: string(),
21532
21746
  metadata: VectorMetadataSchema
21533
21747
  })) });
21748
+ /**
21749
+ * Ids to read back WITH their vectors.
21750
+ *
21751
+ * The sibling of {@link VectorGetResultSchema}, and deliberately a separate
21752
+ * method rather than a flag on it: `getByIds` promises no vectors and its one
21753
+ * caller depends on that promise. This one promises the opposite.
21754
+ *
21755
+ * It exists because a store cannot put its vectors here otherwise. An ArcFace
21756
+ * gallery is ranked IN PROCESS, per detection, against every enrolled sample —
21757
+ * a per-face cross-process KNN would be a network round trip inside the
21758
+ * recognition loop. So the gallery is loaded once and held in RAM, and loading
21759
+ * it requires the index to hand the floats back. Without this method the only
21760
+ * way to keep a readable vector is a JSON column, which is the thing this
21761
+ * capability exists to delete.
21762
+ *
21763
+ * BOUNDED BY THE CALLER: ids are named, never "everything". Enumerating an
21764
+ * index is {@link VectorScanInputSchema}'s job, and it returns no vectors.
21765
+ */
21766
+ var VectorFetchInputSchema = object({
21767
+ index: string(),
21768
+ ids: array(string())
21769
+ });
21770
+ var VectorFetchResultSchema = object({ items: array(object({
21771
+ id: string(),
21772
+ /** base64 Float32LE — the same wire form `upsert` accepts. */
21773
+ vector: string(),
21774
+ metadata: VectorMetadataSchema
21775
+ })) });
21776
+ /**
21777
+ * ENUMERATE an index: one page of rows in a stable order, no ranking.
21778
+ *
21779
+ * A reconcile does not want the nearest rows, it wants ALL of them, and asking
21780
+ * a KNN for "all" is the wrong question twice over. It hits the backend's `k`
21781
+ * ceiling — 4,096 on sqlite-vec against a 22,128-row index — and it needs a
21782
+ * probe vector it does not have, so the audit passed a ZERO vector whose cosine
21783
+ * distance to every row is degenerate. `examined: 4096` then read as "we
21784
+ * looked" for as long as anyone cared to read it.
21785
+ *
21786
+ * This is the primitive that question actually needs: a bounded page, ordered
21787
+ * by the backend's own row order, costing no distance computation at all.
21788
+ * Vectors are NOT returned — an enumeration that shipped 2 KB per row would be
21789
+ * the full-table read this capability was built to stop.
21790
+ */
21791
+ var VectorScanInputSchema = object({
21792
+ index: string(),
21793
+ /** Opaque resume point. `0` starts at the top; pass back `nextCursor`. */
21794
+ cursor: number().int().nonnegative().default(0),
21795
+ limit: number().int().positive()
21796
+ });
21797
+ var VectorScanResultSchema = object({
21798
+ items: array(object({
21799
+ id: string(),
21800
+ metadata: VectorMetadataSchema
21801
+ })),
21802
+ /**
21803
+ * Where the next page starts, or `null` when the walk reached the end.
21804
+ *
21805
+ * `null` is the ONLY end-of-index signal. A caller must not infer the end
21806
+ * from a short page: a backend is free to return fewer rows than asked.
21807
+ */
21808
+ nextCursor: number().int().nonnegative().nullable()
21809
+ });
21534
21810
  var VectorStatsInputSchema = object({ index: string() });
21535
21811
  var VectorStatsResultSchema = object({
21536
21812
  /** Provider id, so an operator can tell brute force from an ANN index. */
@@ -21549,7 +21825,7 @@ method(VectorDeclareIndexInputSchema, _void(), {
21549
21825
  }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
21550
21826
  kind: "mutation",
21551
21827
  auth: "admin"
21552
- }), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
21828
+ }), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorFetchInputSchema, VectorFetchResultSchema, { auth: "admin" }), method(VectorScanInputSchema, VectorScanResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
21553
21829
  kind: "mutation",
21554
21830
  auth: "admin"
21555
21831
  }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
@@ -26453,6 +26729,9 @@ method(object({
26453
26729
  }), method(object({}), array(RelocateJobSchema).readonly(), {
26454
26730
  kind: "query",
26455
26731
  auth: "admin"
26732
+ }), method(RelocateResidueInputSchema, RelocateResidueSchema, {
26733
+ kind: "query",
26734
+ auth: "admin"
26456
26735
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
26457
26736
  kind: "mutation",
26458
26737
  auth: "admin"
@@ -31418,6 +31697,12 @@ Object.freeze({
31418
31697
  addonId: null,
31419
31698
  access: "create"
31420
31699
  },
31700
+ "pipelineAnalytics.countRelocatableMedia": {
31701
+ capName: "pipeline-analytics",
31702
+ capScope: "device",
31703
+ addonId: null,
31704
+ access: "view"
31705
+ },
31421
31706
  "pipelineAnalytics.countUnstampedEventMedia": {
31422
31707
  capName: "pipeline-analytics",
31423
31708
  capScope: "device",
@@ -32582,6 +32867,12 @@ Object.freeze({
32582
32867
  addonId: null,
32583
32868
  access: "view"
32584
32869
  },
32870
+ "recording.getRelocateResidue": {
32871
+ capName: "recording",
32872
+ capScope: "system",
32873
+ addonId: null,
32874
+ access: "view"
32875
+ },
32585
32876
  "recording.getStorageMigrationMoveStatus": {
32586
32877
  capName: "recording",
32587
32878
  capScope: "system",
@@ -33128,12 +33419,30 @@ Object.freeze({
33128
33419
  addonId: null,
33129
33420
  access: "create"
33130
33421
  },
33422
+ "storageMigration.drain": {
33423
+ capName: "storage-migration",
33424
+ capScope: "system",
33425
+ addonId: null,
33426
+ access: "create"
33427
+ },
33428
+ "storageMigration.movers": {
33429
+ capName: "storage-migration",
33430
+ capScope: "system",
33431
+ addonId: null,
33432
+ access: "view"
33433
+ },
33131
33434
  "storageMigration.plan": {
33132
33435
  capName: "storage-migration",
33133
33436
  capScope: "system",
33134
33437
  addonId: null,
33135
33438
  access: "view"
33136
33439
  },
33440
+ "storageMigration.residue": {
33441
+ capName: "storage-migration",
33442
+ capScope: "system",
33443
+ addonId: null,
33444
+ access: "view"
33445
+ },
33137
33446
  "storageMigration.start": {
33138
33447
  capName: "storage-migration",
33139
33448
  capScope: "system",
@@ -33968,6 +34277,12 @@ Object.freeze({
33968
34277
  addonId: null,
33969
34278
  access: "delete"
33970
34279
  },
34280
+ "vectorStore.fetchByIds": {
34281
+ capName: "vector-store",
34282
+ capScope: "system",
34283
+ addonId: null,
34284
+ access: "view"
34285
+ },
33971
34286
  "vectorStore.getByIds": {
33972
34287
  capName: "vector-store",
33973
34288
  capScope: "system",
@@ -33980,6 +34295,12 @@ Object.freeze({
33980
34295
  addonId: null,
33981
34296
  access: "view"
33982
34297
  },
34298
+ "vectorStore.scan": {
34299
+ capName: "vector-store",
34300
+ capScope: "system",
34301
+ addonId: null,
34302
+ access: "view"
34303
+ },
33983
34304
  "vectorStore.stats": {
33984
34305
  capName: "vector-store",
33985
34306
  capScope: "system",
@@ -8305,13 +8305,49 @@ var StorageMigrationParticipantSchema = _enum([
8305
8305
  "recorder",
8306
8306
  "analytics"
8307
8307
  ]);
8308
+ /**
8309
+ * The mover's own numbers, folded onto the coordinator's durable move record.
8310
+ *
8311
+ * The long half of a non-blocking migration is `draining`, and it is measured
8312
+ * in hours: 136 885 files at ~4 MB/s is about five of them. Before this shape
8313
+ * existed the only place those numbers appeared was a Loki line, so an operator
8314
+ * watching the Admin UI saw `phase: draining` and nothing else for a whole
8315
+ * afternoon.
8316
+ *
8317
+ * It is POLLED, never pushed. Events are telemetry and may be dropped
8318
+ * (D8/D11), and a dropped progress event is indistinguishable from a stalled
8319
+ * mover — which is the exact failure this is meant to end. The coordinator's
8320
+ * `waitForMoves` already fetches the whole {@link RelocateJob} on every tick to
8321
+ * read `state`; folding the counters costs no extra read and makes the durable
8322
+ * record say afterwards how far a move actually got.
8323
+ *
8324
+ * `filesTotal` is `null` for "no honest denominator" and is never zero-filled:
8325
+ * a windowed footage job (`sinceMs`) and a node with no ledger both genuinely
8326
+ * cannot say M, and a 0 there would render as "100 % done".
8327
+ */
8328
+ var StorageMigrationMoveProgressSchema = object({
8329
+ filesMoved: number().int().nonnegative(),
8330
+ /** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
8331
+ filesTotal: number().int().nonnegative().nullable(),
8332
+ bytesMoved: number().int().nonnegative(),
8333
+ /** The MOVER's start, not the migration's: a drain restarted after an addon
8334
+ * crash gets a new mover, and a rate computed from the migration's start
8335
+ * would silently average in the time nothing was running. */
8336
+ startedAt: number(),
8337
+ /** When the coordinator last read these numbers. Paired with `startedAt` it
8338
+ * is the only honest rate: both clocks are the hub's, so a UI never has to
8339
+ * subtract its own. */
8340
+ observedAt: number()
8341
+ });
8308
8342
  var StorageMigrationMoveSchema = object({
8309
8343
  storageClass: StorageMigrationClassSchema,
8310
8344
  fromLocationId: string(),
8311
8345
  toLocationId: string(),
8312
8346
  moverJobId: string().nullable(),
8313
8347
  state: RelocateJobStateSchema.nullable(),
8314
- error: string().nullable()
8348
+ error: string().nullable(),
8349
+ /** Last observed mover counters; `null` until the mover has been polled once. */
8350
+ progress: StorageMigrationMoveProgressSchema.nullable()
8315
8351
  });
8316
8352
  var StorageMigrationJobSchema = object({
8317
8353
  jobId: string(),
@@ -8357,6 +8393,98 @@ var StorageMigrationPlanSchema = object({
8357
8393
  findings: array(StorageMigrationFindingSchema)
8358
8394
  });
8359
8395
  /**
8396
+ * A mover as it exists RIGHT NOW, whether or not a migration job owns it.
8397
+ *
8398
+ * The coordinator's job record is the state of record for a migration, and its
8399
+ * moves carry {@link StorageMigrationMoveProgress}. But the movers are usable
8400
+ * standalone — `recording.relocateFootage` and `pipelineAnalytics.relocateMedia`
8401
+ * are both operator-callable, and on 2026-08-29 a five-hour drain was armed that
8402
+ * way because no supported UI path existed. A mover armed like that has no job
8403
+ * to fold progress into, so it has to be readable on its own or it is invisible.
8404
+ *
8405
+ * `migrationJobId` is what tells the two apart: `null` means nothing here
8406
+ * orchestrated it.
8407
+ */
8408
+ var StorageMigrationMoverSchema = object({
8409
+ lane: _enum(["footage", "media"]),
8410
+ job: RelocateJobSchema,
8411
+ /** The coordinator job that armed this mover, or `null` for a mover armed
8412
+ * directly against the owning addon. */
8413
+ migrationJobId: string().nullable(),
8414
+ /** When the hub read these counters. Stamped here so a rate is `bytesMoved`
8415
+ * over (`observedAt` − `job.startedAt`) with BOTH ends on the hub's clock —
8416
+ * a browser subtracting its own `Date.now()` from a server `startedAt` is a
8417
+ * rate made of two different clocks. */
8418
+ observedAt: number()
8419
+ });
8420
+ /**
8421
+ * What a SOURCE still holds for one storage class — the number that makes a
8422
+ * "drain remaining" action honest rather than hopeful.
8423
+ *
8424
+ * It comes from the archive (`SegmentHourLedger.census` for footage, the media
8425
+ * engine's own selection count for media), never from the resident index: a
8426
+ * drain sized off `RecordingIndex` is what reported `done` over 80.3 GB it had
8427
+ * never been told about (D295).
8428
+ *
8429
+ * `items`/`bytes` are `null` for "the archive could not be asked", which is
8430
+ * deliberately NOT zero: a drain is still offered for an unknown residue,
8431
+ * because refusing on an unanswerable read would hide exactly the case an
8432
+ * operator needs to act on.
8433
+ */
8434
+ var StorageMigrationResidueSchema = object({
8435
+ storageClass: StorageMigrationClassSchema,
8436
+ /** The location still holding the data. `'*'` for the media lane, whose rows
8437
+ * move from wherever they are rather than from one named source. */
8438
+ fromLocationId: string(),
8439
+ /** Where a drain would move it — the class's CURRENT default. */
8440
+ toLocationId: string(),
8441
+ /** Segments (footage lane) or rows (media lane) still on the source. */
8442
+ items: number().int().nonnegative().nullable(),
8443
+ /** Bytes on the source; `null` when the lane counts rows rather than bytes. */
8444
+ bytes: number().int().nonnegative().nullable()
8445
+ });
8446
+ /**
8447
+ * Run the DRAIN half and nothing else.
8448
+ *
8449
+ * A migration that reached `done` has already repointed, so `start` correctly
8450
+ * refuses its destination ("already the default") — there is nothing left to
8451
+ * repoint. But the drain can fail, be cancelled, be interrupted by a restart,
8452
+ * or finish against a work list that was a tenth of the archive (D295), and
8453
+ * before this there was no supported way to run only that half: the only way
8454
+ * through was calling `recording.relocateFootage` by hand over admin tRPC.
8455
+ *
8456
+ * `drain` NEVER calls `setDefaultLocations`. That is what keeps `start`'s
8457
+ * refusal meaningful: the two verbs are disjoint, so nothing here can silently
8458
+ * re-repoint a class that is already migrated.
8459
+ */
8460
+ var StorageMigrationDrainInputSchema = object({
8461
+ /** The classes to drain. Each must appear in `storageMigration.residue`, so
8462
+ * a class whose source is already empty is refused rather than started. */
8463
+ classes: array(StorageMigrationClassSchema).min(1),
8464
+ throttleMbps: number().min(1).max(1e3).optional()
8465
+ });
8466
+ /** What a footage source still holds, asked of the durable hour ledger. */
8467
+ var RelocateResidueInputSchema = object({
8468
+ fromLocationId: string().min(1),
8469
+ /** Narrow to one logical class; omit for every profile on the location. */
8470
+ footageClass: RelocateFootageClassSchema.optional()
8471
+ });
8472
+ /** `null` = the archive could not answer (no ledger on this node, or the
8473
+ * aggregate failed). Never conflated with an empty source. */
8474
+ var RelocateResidueSchema = object({
8475
+ segments: number().int().nonnegative(),
8476
+ bytes: number().int().nonnegative()
8477
+ }).nullable();
8478
+ /** How many rows a media pass would still act on against a given target — the
8479
+ * media lane's denominator AND its residue, from ONE derivation so the two can
8480
+ * never disagree. `null` = the count could not be taken. */
8481
+ var RelocatableMediaCountSchema = object({ rows: number().int().nonnegative() }).nullable();
8482
+ var RelocatableMediaCountInputSchema = object({
8483
+ toLocationId: string().min(1),
8484
+ /** Omitted = `move`. */
8485
+ mode: MediaRelocateModeSchema.optional()
8486
+ });
8487
+ /**
8360
8488
  * `StorageLocationType` — an addon-declared id that identifies the *kind* of
8361
8489
  * storage a location serves. Defined here (not in `capabilities/storage.cap.ts`)
8362
8490
  * so the persisted record schema and the consumer-facing cap can both consume it
@@ -8460,6 +8588,32 @@ var StorageLocationRefSchema = union([StorageLocationTypeSchema, string().regex(
8460
8588
  * two addons declaring the same `id` must agree on `cardinality` (validated
8461
8589
  * at kernel aggregation time, not here).
8462
8590
  */
8591
+ /**
8592
+ * `StorageAccess` — how the service that DECLARED a storage-location kind
8593
+ * actually reaches the bytes. It is the constraint that decides which
8594
+ * `storage-provider`s may back a location of that kind.
8595
+ *
8596
+ * - `'local-path'` — the service asks `storage.resolve` for a path string and
8597
+ * then does its own `node:fs` I/O on it (the recorder's segment writer, the
8598
+ * post-analysis media roots). Only a provider that serves a genuine local
8599
+ * filesystem (`getProviderInfo().nodeLocal === true`) can satisfy that: a
8600
+ * remote provider's `resolve` returns a path on the REMOTE host, and
8601
+ * `fs.readdir` of it on this node either fails or — far worse — succeeds
8602
+ * against a same-named local directory that is something else entirely.
8603
+ *
8604
+ * - `'cap-mediated'` — every byte travels through the `storage` cap
8605
+ * (`read`/`write`, or `beginUpload`/`writeChunk`/`finalizeUpload`). The
8606
+ * service never sees a path, so any provider can back it. `backups` is the
8607
+ * one kind that qualifies today.
8608
+ *
8609
+ * Before this existed, `recordings` was unreachable by SFTP/S3/WebDAV only as
8610
+ * an EMERGENT property of how the recorder happened to be written. Nothing
8611
+ * refused the configuration; the first write simply went somewhere wrong, and
8612
+ * a recording write that goes wrong surfaces as a silent black window rather
8613
+ * than an error (the read path does not `stat`). This turns that accident into
8614
+ * a declared, enforced, testable refusal.
8615
+ */
8616
+ var StorageAccessSchema = _enum(["local-path", "cap-mediated"]);
8463
8617
  var StorageLocationDeclarationSchema = object({
8464
8618
  /**
8465
8619
  * Global location identifier, e.g. `recordings` or `recordingsLow`.
@@ -8479,6 +8633,19 @@ var StorageLocationDeclarationSchema = object({
8479
8633
  */
8480
8634
  cardinality: _enum(["single", "multi"]),
8481
8635
  /**
8636
+ * HOW the declaring service reaches the bytes — and therefore WHICH
8637
+ * providers may back a location of this kind. See {@link StorageAccessSchema}
8638
+ * and {@link STORAGE_ACCESS_FALLBACK}.
8639
+ *
8640
+ * Absent means `'local-path'`. That default is FAIL-CLOSED on purpose: it
8641
+ * can only over-restrict (refuse a remote provider for a kind that might
8642
+ * have coped) and never under-restrict. Declaring `'cap-mediated'` is the
8643
+ * permissive direction and is therefore never inferred — a repo guard
8644
+ * (`scripts/check-storage-access-declarations.ts`) refuses to let it be
8645
+ * reached by omission.
8646
+ */
8647
+ access: StorageAccessSchema.optional(),
8648
+ /**
8482
8649
  * When set, the default instance for this location inherits its resolved
8483
8650
  * root from the named location's default instance. Useful for derivative
8484
8651
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
@@ -18147,8 +18314,10 @@ var TrackSchema = object({
18147
18314
  lastSeen: number(),
18148
18315
  /** Frame-rate position history (subject to maxPositionHistory cap). */
18149
18316
  positions: array(TrackPositionSchema).readonly(),
18150
- /** Periodic snapshots at snapshotIntervalMs cadence (subject to
18151
- * saveThumbnails policy). */
18317
+ /** Periodic snapshots at snapshotIntervalMs cadence — DEBUG media, produced
18318
+ * only while `MediaSettings.debugMediaEnabled` is on for the camera (D299;
18319
+ * the retired `saveThumbnails` used to gate this and the rolling
18320
+ * `lastFrame` together). Empty is the healthy default, not a capture gap. */
18152
18321
  snapshots: array(TrackSnapshotSchema).readonly(),
18153
18322
  /** Deduplicated zones the track has entered at least once. Zone IDS. */
18154
18323
  zonesVisited: array(string()).readonly(),
@@ -19008,7 +19177,10 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19008
19177
  }), method(RelocateMediaInputSchema, object({ jobId: string() }), {
19009
19178
  kind: "mutation",
19010
19179
  auth: "admin"
19011
- }), method(object({}), UnstampedEventMediaCountSchema, { auth: "admin" }), method(object({}), array(RelocateJobSchema).readonly(), {
19180
+ }), method(object({}), UnstampedEventMediaCountSchema, { auth: "admin" }), method(RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, {
19181
+ kind: "query",
19182
+ auth: "admin"
19183
+ }), method(object({}), array(RelocateJobSchema).readonly(), {
19012
19184
  kind: "query",
19013
19185
  auth: "admin"
19014
19186
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
@@ -20967,6 +21139,9 @@ method(StorageMigrationInputSchema, StorageMigrationPlanSchema, { auth: "admin"
20967
21139
  }), method(object({ jobId: string().optional() }), StorageMigrationJobSchema.nullable(), { auth: "admin" }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
20968
21140
  kind: "mutation",
20969
21141
  auth: "admin"
21142
+ }), method(object({}), array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }), method(object({}), array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }), method(StorageMigrationDrainInputSchema, object({ jobId: string() }), {
21143
+ kind: "mutation",
21144
+ auth: "admin"
20970
21145
  });
20971
21146
  var ProviderInfoSchema = discriminatedUnion("shouldSaveDiskSpace", [object({
20972
21147
  providerId: string().min(1),
@@ -21365,12 +21540,38 @@ response: record(string(), unknown()) }), object({
21365
21540
  *
21366
21541
  * ## Why this is a capability and not a helper
21367
21542
  *
21368
- * Six stores in `addon-post-analysis` already hold vectors — object CLIP, face,
21369
- * plate, vehicle, identity, and the event store's derivatives — and every one of
21370
- * them keeps its vectors in a `JSON` settings-store column and ranks them by
21371
- * brute-force cosine in JS. Measured on the live hub that costs ~11.7 KB per row
21372
- * (512 floats as TEXT, `JSON.parse`d on every search) and made semantic search
21373
- * load 5,000 rows before ranking anything.
21543
+ * This capability was introduced with the claim that SIX stores in
21544
+ * `addon-post-analysis` held vectors in a `JSON` settings-store column — object
21545
+ * CLIP, face, plate, vehicle, identity, and the event store's derivatives. That
21546
+ * claim was never true, and leaving it here made five stores look like pending
21547
+ * work when three of them have no vector at all. Counted column by column on
21548
+ * 2026-08-30, exactly THREE ever held one:
21549
+ *
21550
+ * - `object-clip` — 512-dim CLIP image embedding, migrated 2026-08-06.
21551
+ * - `faces.embedding` — 512-dim ArcFace face embedding, migrated 2026-08-30.
21552
+ * - `identity-samples.embedding` — the same ArcFace vector for an ENROLLED
21553
+ * face, migrated 2026-08-30 into its OWN index (see below).
21554
+ *
21555
+ * `plates` and `vehicle-samples` store a plate STRING and a score; `vehicles`
21556
+ * and `identities` store a name; the event store stores no derivative vector.
21557
+ * They are not migration candidates and never were.
21558
+ *
21559
+ * Measured on the live hub the JSON encoding cost ~11.7 KB per row (512 floats
21560
+ * as TEXT, `JSON.parse`d on every search) and made semantic search load 5,000
21561
+ * rows before ranking anything.
21562
+ *
21563
+ * ## One index per COMPARISON, never per encoder
21564
+ *
21565
+ * `faces` and `identity-samples` hold the same 512 ArcFace dims from the same
21566
+ * model, and they still get two indexes. An index is a set of things that are
21567
+ * ranked against each other and that live and die together, and these two are
21568
+ * neither: a `faces` row is TRACK-OWNED and cascades away with its track under
21569
+ * a per-camera capacity cap, an `identity-samples` row is retention-EXEMPT
21570
+ * forever and is the gallery every recognition ranks against. One index would
21571
+ * mean every gallery load and every reconcile carried a filter whose failure
21572
+ * mode is either ranking a candidate against itself or reclaiming an enrolled
21573
+ * person's only sample. The dimension they share is not a reason to share an
21574
+ * index; the question they answer is, and it differs.
21374
21575
  *
21375
21576
  * The fix is not a faster loop, it is a different backend — and the backend
21376
21577
  * should be replaceable without touching six callers. So: a singleton
@@ -21475,7 +21676,20 @@ var VectorQueryResultSchema = object({
21475
21676
  */
21476
21677
  scanned: number(),
21477
21678
  /** True when the backend could not consider every row that passed the filter. */
21478
- truncated: boolean()
21679
+ truncated: boolean(),
21680
+ /**
21681
+ * The `topK` the backend actually ran with.
21682
+ *
21683
+ * Every backend has a ceiling — sqlite-vec's is 4,096 — and a caller asking
21684
+ * past it used to learn nothing but a boolean, from a WARN in the provider's
21685
+ * own log rather than in its answer. That is how an audit asking for 20,000
21686
+ * consumed 4,096 and reported `examined: 4096` as if it had walked the index,
21687
+ * for weeks. `truncated` says THAT the answer was short; this says BY HOW
21688
+ * MUCH, in the return value, where the caller cannot fail to see it.
21689
+ *
21690
+ * Equals the requested `topK` whenever nothing was lowered.
21691
+ */
21692
+ effectiveTopK: number().int().positive()
21479
21693
  });
21480
21694
  var VectorDeleteInputSchema = object({
21481
21695
  index: string(),
@@ -21504,6 +21718,68 @@ var VectorGetResultSchema = object({ items: array(object({
21504
21718
  id: string(),
21505
21719
  metadata: VectorMetadataSchema
21506
21720
  })) });
21721
+ /**
21722
+ * Ids to read back WITH their vectors.
21723
+ *
21724
+ * The sibling of {@link VectorGetResultSchema}, and deliberately a separate
21725
+ * method rather than a flag on it: `getByIds` promises no vectors and its one
21726
+ * caller depends on that promise. This one promises the opposite.
21727
+ *
21728
+ * It exists because a store cannot put its vectors here otherwise. An ArcFace
21729
+ * gallery is ranked IN PROCESS, per detection, against every enrolled sample —
21730
+ * a per-face cross-process KNN would be a network round trip inside the
21731
+ * recognition loop. So the gallery is loaded once and held in RAM, and loading
21732
+ * it requires the index to hand the floats back. Without this method the only
21733
+ * way to keep a readable vector is a JSON column, which is the thing this
21734
+ * capability exists to delete.
21735
+ *
21736
+ * BOUNDED BY THE CALLER: ids are named, never "everything". Enumerating an
21737
+ * index is {@link VectorScanInputSchema}'s job, and it returns no vectors.
21738
+ */
21739
+ var VectorFetchInputSchema = object({
21740
+ index: string(),
21741
+ ids: array(string())
21742
+ });
21743
+ var VectorFetchResultSchema = object({ items: array(object({
21744
+ id: string(),
21745
+ /** base64 Float32LE — the same wire form `upsert` accepts. */
21746
+ vector: string(),
21747
+ metadata: VectorMetadataSchema
21748
+ })) });
21749
+ /**
21750
+ * ENUMERATE an index: one page of rows in a stable order, no ranking.
21751
+ *
21752
+ * A reconcile does not want the nearest rows, it wants ALL of them, and asking
21753
+ * a KNN for "all" is the wrong question twice over. It hits the backend's `k`
21754
+ * ceiling — 4,096 on sqlite-vec against a 22,128-row index — and it needs a
21755
+ * probe vector it does not have, so the audit passed a ZERO vector whose cosine
21756
+ * distance to every row is degenerate. `examined: 4096` then read as "we
21757
+ * looked" for as long as anyone cared to read it.
21758
+ *
21759
+ * This is the primitive that question actually needs: a bounded page, ordered
21760
+ * by the backend's own row order, costing no distance computation at all.
21761
+ * Vectors are NOT returned — an enumeration that shipped 2 KB per row would be
21762
+ * the full-table read this capability was built to stop.
21763
+ */
21764
+ var VectorScanInputSchema = object({
21765
+ index: string(),
21766
+ /** Opaque resume point. `0` starts at the top; pass back `nextCursor`. */
21767
+ cursor: number().int().nonnegative().default(0),
21768
+ limit: number().int().positive()
21769
+ });
21770
+ var VectorScanResultSchema = object({
21771
+ items: array(object({
21772
+ id: string(),
21773
+ metadata: VectorMetadataSchema
21774
+ })),
21775
+ /**
21776
+ * Where the next page starts, or `null` when the walk reached the end.
21777
+ *
21778
+ * `null` is the ONLY end-of-index signal. A caller must not infer the end
21779
+ * from a short page: a backend is free to return fewer rows than asked.
21780
+ */
21781
+ nextCursor: number().int().nonnegative().nullable()
21782
+ });
21507
21783
  var VectorStatsInputSchema = object({ index: string() });
21508
21784
  var VectorStatsResultSchema = object({
21509
21785
  /** Provider id, so an operator can tell brute force from an ANN index. */
@@ -21522,7 +21798,7 @@ method(VectorDeclareIndexInputSchema, _void(), {
21522
21798
  }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, {
21523
21799
  kind: "mutation",
21524
21800
  auth: "admin"
21525
- }), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
21801
+ }), method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }), method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }), method(VectorFetchInputSchema, VectorFetchResultSchema, { auth: "admin" }), method(VectorScanInputSchema, VectorScanResultSchema, { auth: "admin" }), method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
21526
21802
  kind: "mutation",
21527
21803
  auth: "admin"
21528
21804
  }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, {
@@ -26426,6 +26702,9 @@ method(object({
26426
26702
  }), method(object({}), array(RelocateJobSchema).readonly(), {
26427
26703
  kind: "query",
26428
26704
  auth: "admin"
26705
+ }), method(RelocateResidueInputSchema, RelocateResidueSchema, {
26706
+ kind: "query",
26707
+ auth: "admin"
26429
26708
  }), method(object({ jobId: string() }), object({ cancelled: boolean() }), {
26430
26709
  kind: "mutation",
26431
26710
  auth: "admin"
@@ -31391,6 +31670,12 @@ Object.freeze({
31391
31670
  addonId: null,
31392
31671
  access: "create"
31393
31672
  },
31673
+ "pipelineAnalytics.countRelocatableMedia": {
31674
+ capName: "pipeline-analytics",
31675
+ capScope: "device",
31676
+ addonId: null,
31677
+ access: "view"
31678
+ },
31394
31679
  "pipelineAnalytics.countUnstampedEventMedia": {
31395
31680
  capName: "pipeline-analytics",
31396
31681
  capScope: "device",
@@ -32555,6 +32840,12 @@ Object.freeze({
32555
32840
  addonId: null,
32556
32841
  access: "view"
32557
32842
  },
32843
+ "recording.getRelocateResidue": {
32844
+ capName: "recording",
32845
+ capScope: "system",
32846
+ addonId: null,
32847
+ access: "view"
32848
+ },
32558
32849
  "recording.getStorageMigrationMoveStatus": {
32559
32850
  capName: "recording",
32560
32851
  capScope: "system",
@@ -33101,12 +33392,30 @@ Object.freeze({
33101
33392
  addonId: null,
33102
33393
  access: "create"
33103
33394
  },
33395
+ "storageMigration.drain": {
33396
+ capName: "storage-migration",
33397
+ capScope: "system",
33398
+ addonId: null,
33399
+ access: "create"
33400
+ },
33401
+ "storageMigration.movers": {
33402
+ capName: "storage-migration",
33403
+ capScope: "system",
33404
+ addonId: null,
33405
+ access: "view"
33406
+ },
33104
33407
  "storageMigration.plan": {
33105
33408
  capName: "storage-migration",
33106
33409
  capScope: "system",
33107
33410
  addonId: null,
33108
33411
  access: "view"
33109
33412
  },
33413
+ "storageMigration.residue": {
33414
+ capName: "storage-migration",
33415
+ capScope: "system",
33416
+ addonId: null,
33417
+ access: "view"
33418
+ },
33110
33419
  "storageMigration.start": {
33111
33420
  capName: "storage-migration",
33112
33421
  capScope: "system",
@@ -33941,6 +34250,12 @@ Object.freeze({
33941
34250
  addonId: null,
33942
34251
  access: "delete"
33943
34252
  },
34253
+ "vectorStore.fetchByIds": {
34254
+ capName: "vector-store",
34255
+ capScope: "system",
34256
+ addonId: null,
34257
+ access: "view"
34258
+ },
33944
34259
  "vectorStore.getByIds": {
33945
34260
  capName: "vector-store",
33946
34261
  capScope: "system",
@@ -33953,6 +34268,12 @@ Object.freeze({
33953
34268
  addonId: null,
33954
34269
  access: "view"
33955
34270
  },
34271
+ "vectorStore.scan": {
34272
+ capName: "vector-store",
34273
+ capScope: "system",
34274
+ addonId: null,
34275
+ access: "view"
34276
+ },
33956
34277
  "vectorStore.stats": {
33957
34278
  capName: "vector-store",
33958
34279
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.49",
3
+ "version": "1.2.51",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",