@camstack/types 1.2.124 → 1.2.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_event_category = require("./event-category-BaEgqJNv.js");
3
- const require_sleep = require("./sleep-CJrvRDlD.js");
3
+ const require_sleep = require("./sleep-CWWLTM6W.js");
4
4
  const require_canonical_hash = require("./canonical-hash-DNV8S5ET.js");
5
5
  const require_enums = require("./enums.js");
6
6
  const require_err_msg = require("./err-msg-COpsHMw2.js");
@@ -1193,6 +1193,69 @@ function composeSwitchedOff(input) {
1193
1193
  };
1194
1194
  }
1195
1195
  //#endregion
1196
+ //#region src/interfaces/config-ui-secrets.ts
1197
+ /**
1198
+ * The value a redacted secret is replaced with on every read surface.
1199
+ *
1200
+ * It is also the WRITE-BACK token: an `upsertLocation` that sends this value
1201
+ * back for a key means "keep what is stored", which is what lets an operator
1202
+ * rename a location without retyping its password. A literal an operator could
1203
+ * plausibly choose as a real password would turn that convenience into a way
1204
+ * to lock yourself out, hence the sentinel shape.
1205
+ */
1206
+ var REDACTED_SECRET = "__camstack_redacted__";
1207
+ /** Is this field's stored value a credential? */
1208
+ function isSecretConfigField(field) {
1209
+ if (field.type === "password") return true;
1210
+ return "secret" in field && field.secret === true;
1211
+ }
1212
+ /**
1213
+ * Every config key in `schema` whose value is a secret, including keys nested
1214
+ * inside `group` / `sub-tabs` containers.
1215
+ */
1216
+ function collectSecretConfigKeys(schema) {
1217
+ const keys = /* @__PURE__ */ new Set();
1218
+ for (const section of sectionsOf(schema)) for (const field of fieldsOf(section)) walkField(field, keys);
1219
+ return keys;
1220
+ }
1221
+ /**
1222
+ * True when the value is a readable schema declaring at least one field of any
1223
+ * kind. Lets a caller tell "this provider has no secrets" from "this provider's
1224
+ * schema could not be read", which are the same empty set otherwise.
1225
+ */
1226
+ function schemaDeclaresAnyField(schema) {
1227
+ for (const section of sectionsOf(schema)) if (fieldsOf(section).length > 0) return true;
1228
+ return false;
1229
+ }
1230
+ function isRecord$2(value) {
1231
+ return typeof value === "object" && value !== null && !Array.isArray(value);
1232
+ }
1233
+ function sectionsOf(schema) {
1234
+ if (!isRecord$2(schema)) return [];
1235
+ const sections = schema["sections"];
1236
+ return Array.isArray(sections) ? sections : [];
1237
+ }
1238
+ function fieldsOf(node) {
1239
+ if (!isRecord$2(node)) return [];
1240
+ const fields = node["fields"];
1241
+ return Array.isArray(fields) ? fields : [];
1242
+ }
1243
+ function walkField(field, out) {
1244
+ if (!isRecord$2(field)) return;
1245
+ const type = field["type"];
1246
+ const key = field["key"];
1247
+ if ((type === "password" || field["secret"] === true) && typeof key === "string" && key.length > 0) out.add(key);
1248
+ if (type === "group") {
1249
+ for (const child of fieldsOf(field)) walkField(child, out);
1250
+ return;
1251
+ }
1252
+ if (type === "sub-tabs") {
1253
+ const tabs = field["tabs"];
1254
+ if (!Array.isArray(tabs)) return;
1255
+ for (const tab of tabs) for (const child of fieldsOf(tab)) walkField(child, out);
1256
+ }
1257
+ }
1258
+ //#endregion
1196
1259
  //#region src/interfaces/device-capabilities/camera.ts
1197
1260
  /** Friendly display labels for stream quality IDs. */
1198
1261
  var STREAM_QUALITY_LABELS = {
@@ -2189,6 +2252,21 @@ var RelocateJobSchema = zod.z.object({
2189
2252
  bytesMoved: zod.z.number().int(),
2190
2253
  /** Total files discovered up front; null while (or when) unknown. */
2191
2254
  filesTotal: zod.z.number().int().nullable(),
2255
+ /**
2256
+ * Rows this run CORRECTED while moving them — a durable mutation the move
2257
+ * made that nobody asked for, so it is reported where the operator reads the
2258
+ * job rather than only in a log line.
2259
+ *
2260
+ * A footage segment records its byte count in its own NAME, and the durable
2261
+ * hour row derives its aggregates from those names. A file that does not
2262
+ * match its name therefore makes the ledger's sums — and with them quota and
2263
+ * pressure eviction — wrong by the difference, and only a rename can fix it.
2264
+ * On 2026-08-30 one such row also stalled a 110 749-file drain permanently.
2265
+ *
2266
+ * Absent on lanes where the question has no meaning: a media blob's size is
2267
+ * in its row, not in its name, so `MediaRelocateEngine` never reconciles one.
2268
+ */
2269
+ rowsReconciled: zod.z.number().int().nonnegative().optional(),
2192
2270
  startedAt: zod.z.number(),
2193
2271
  finishedAt: zod.z.number().nullable(),
2194
2272
  error: zod.z.string().nullable()
@@ -2257,14 +2335,42 @@ var RelocateMediaInputSchema = zod.z.object({
2257
2335
  /** Omitted = `move`, the pre-existing behaviour. */
2258
2336
  mode: MediaRelocateModeSchema.optional()
2259
2337
  });
2260
- /** How many rows still carry NO `locationId` — the population a repoint would
2261
- * silently re-aim at a disk that does not hold their bytes. Zero is the only
2262
- * value that permits a non-blocking `eventMedia` cutover. */
2263
- var UnstampedEventMediaCountSchema = zod.z.object({
2264
- media: zod.z.number().int().nonnegative(),
2265
- retrainFrames: zod.z.number().int().nonnegative(),
2266
- total: zod.z.number().int().nonnegative()
2338
+ /**
2339
+ * The unstamped population of ONE collection split, because the gate and the
2340
+ * operator ask two different questions and only one of them has to be cheap.
2341
+ *
2342
+ * `present` is the GATE: "is there at least one row that would be orphaned by a
2343
+ * repoint". It is a single indexed seek to the first matching row, so it stays
2344
+ * answerable on a saturated disk and answers in O(log n) precisely in the state
2345
+ * that matters — after a seal, when the population is empty.
2346
+ *
2347
+ * `rows` is the NUMBER, for the refusal message and the operator's sense of
2348
+ * scale. It is a second, indexed `COUNT(*)`, and `null` means **not
2349
+ * measurable** — never zero. `{ present: true, rows: null }` is a legitimate
2350
+ * and useful answer: "there are some, and this read could not say how many"
2351
+ * still refuses the cutover, which is the whole job.
2352
+ */
2353
+ var UnstampedRowsSchema = zod.z.object({
2354
+ present: zod.z.boolean(),
2355
+ rows: zod.z.number().int().nonnegative().nullable()
2267
2356
  });
2357
+ /**
2358
+ * How many rows still carry NO `locationId` — the population a repoint would
2359
+ * silently re-aim at a disk that does not hold their bytes.
2360
+ *
2361
+ * **`null` = the count could not be taken**, and it is NOT permission to cut
2362
+ * over. The gate opens on a measured absence and on nothing else; an unread
2363
+ * collection and an empty one are different facts, and this repo has already
2364
+ * paid for conflating them (`RelocateResidueSchema`, D295).
2365
+ */
2366
+ var UnstampedEventMediaCountSchema = zod.z.object({
2367
+ media: UnstampedRowsSchema,
2368
+ retrainFrames: UnstampedRowsSchema,
2369
+ /** True when EITHER collection holds one. The refusal reads this. */
2370
+ anyPresent: zod.z.boolean(),
2371
+ /** Sum across both, or `null` when either lane could not be counted. */
2372
+ total: zod.z.number().int().nonnegative().nullable()
2373
+ }).nullable();
2268
2374
  var StorageMigrationMediaMoveInputSchema = RelocateMediaInputSchema.extend({ leaseId: zod.z.string().min(1) });
2269
2375
  /** The independently selectable logical storage classes — every class
2270
2376
  * `storage.listLocationDeclarations` reports, so an operator never meets a
@@ -2350,13 +2456,53 @@ var StorageMigrationParticipantSchema = zod.z.enum([
2350
2456
  "recorder",
2351
2457
  "analytics"
2352
2458
  ]);
2459
+ /**
2460
+ * The mover's own numbers, folded onto the coordinator's durable move record.
2461
+ *
2462
+ * The long half of a non-blocking migration is `draining`, and it is measured
2463
+ * in hours: 136 885 files at ~4 MB/s is about five of them. Before this shape
2464
+ * existed the only place those numbers appeared was a Loki line, so an operator
2465
+ * watching the Admin UI saw `phase: draining` and nothing else for a whole
2466
+ * afternoon.
2467
+ *
2468
+ * It is POLLED, never pushed. Events are telemetry and may be dropped
2469
+ * (D8/D11), and a dropped progress event is indistinguishable from a stalled
2470
+ * mover — which is the exact failure this is meant to end. The coordinator's
2471
+ * `waitForMoves` already fetches the whole {@link RelocateJob} on every tick to
2472
+ * read `state`; folding the counters costs no extra read and makes the durable
2473
+ * record say afterwards how far a move actually got.
2474
+ *
2475
+ * `filesTotal` is `null` for "no honest denominator" and is never zero-filled:
2476
+ * a windowed footage job (`sinceMs`) and a node with no ledger both genuinely
2477
+ * cannot say M, and a 0 there would render as "100 % done".
2478
+ */
2479
+ var StorageMigrationMoveProgressSchema = zod.z.object({
2480
+ filesMoved: zod.z.number().int().nonnegative(),
2481
+ /** The archive census — the **M** of "N of M" (D295). `null` = unknowable. */
2482
+ filesTotal: zod.z.number().int().nonnegative().nullable(),
2483
+ bytesMoved: zod.z.number().int().nonnegative(),
2484
+ /** Rows the mover corrected while moving them — see `RelocateJob`. Absent on
2485
+ * a lane that cannot reconcile. A migration that silently rewrote durable
2486
+ * rows would be the same failure as one that silently skipped them. */
2487
+ rowsReconciled: zod.z.number().int().nonnegative().optional(),
2488
+ /** The MOVER's start, not the migration's: a drain restarted after an addon
2489
+ * crash gets a new mover, and a rate computed from the migration's start
2490
+ * would silently average in the time nothing was running. */
2491
+ startedAt: zod.z.number(),
2492
+ /** When the coordinator last read these numbers. Paired with `startedAt` it
2493
+ * is the only honest rate: both clocks are the hub's, so a UI never has to
2494
+ * subtract its own. */
2495
+ observedAt: zod.z.number()
2496
+ });
2353
2497
  var StorageMigrationMoveSchema = zod.z.object({
2354
2498
  storageClass: StorageMigrationClassSchema,
2355
2499
  fromLocationId: zod.z.string(),
2356
2500
  toLocationId: zod.z.string(),
2357
2501
  moverJobId: zod.z.string().nullable(),
2358
2502
  state: RelocateJobStateSchema.nullable(),
2359
- error: zod.z.string().nullable()
2503
+ error: zod.z.string().nullable(),
2504
+ /** Last observed mover counters; `null` until the mover has been polled once. */
2505
+ progress: StorageMigrationMoveProgressSchema.nullable()
2360
2506
  });
2361
2507
  var StorageMigrationJobSchema = zod.z.object({
2362
2508
  jobId: zod.z.string(),
@@ -2425,6 +2571,106 @@ var StorageMigrationPlanSchema = zod.z.object({
2425
2571
  })),
2426
2572
  findings: zod.z.array(StorageMigrationFindingSchema)
2427
2573
  });
2574
+ /**
2575
+ * Which single-flight engine owns a class of work.
2576
+ *
2577
+ * Shared rather than re-declared per consumer: the coordinator lanes its moves
2578
+ * by it, and `storageMigration.movers` labels a mover with it so an operator
2579
+ * can see *which* engine is busy when a drain refuses to start beside another.
2580
+ */
2581
+ var StorageMigrationLaneSchema = zod.z.enum(["footage", "media"]);
2582
+ /**
2583
+ * A mover as it exists RIGHT NOW, whether or not a migration job owns it.
2584
+ *
2585
+ * The coordinator's job record is the state of record for a migration, and its
2586
+ * moves carry {@link StorageMigrationMoveProgress}. But the movers are usable
2587
+ * standalone — `recording.relocateFootage` and `pipelineAnalytics.relocateMedia`
2588
+ * are both operator-callable, and on 2026-08-29 a five-hour drain was armed that
2589
+ * way because no supported UI path existed. A mover armed like that has no job
2590
+ * to fold progress into, so it has to be readable on its own or it is invisible.
2591
+ *
2592
+ * `migrationJobId` is what tells the two apart: `null` means nothing here
2593
+ * orchestrated it.
2594
+ */
2595
+ var StorageMigrationMoverSchema = zod.z.object({
2596
+ lane: StorageMigrationLaneSchema,
2597
+ job: RelocateJobSchema,
2598
+ /** The coordinator job that armed this mover, or `null` for a mover armed
2599
+ * directly against the owning addon. */
2600
+ migrationJobId: zod.z.string().nullable(),
2601
+ /** When the hub read these counters. Stamped here so a rate is `bytesMoved`
2602
+ * over (`observedAt` − `job.startedAt`) with BOTH ends on the hub's clock —
2603
+ * a browser subtracting its own `Date.now()` from a server `startedAt` is a
2604
+ * rate made of two different clocks. */
2605
+ observedAt: zod.z.number()
2606
+ });
2607
+ /**
2608
+ * What a SOURCE still holds for one storage class — the number that makes a
2609
+ * "drain remaining" action honest rather than hopeful.
2610
+ *
2611
+ * It comes from the archive (`SegmentHourLedger.census` for footage, the media
2612
+ * engine's own selection count for media), never from the resident index: a
2613
+ * drain sized off `RecordingIndex` is what reported `done` over 80.3 GB it had
2614
+ * never been told about (D295).
2615
+ *
2616
+ * `items`/`bytes` are `null` for "the archive could not be asked", which is
2617
+ * deliberately NOT zero: a drain is still offered for an unknown residue,
2618
+ * because refusing on an unanswerable read would hide exactly the case an
2619
+ * operator needs to act on.
2620
+ */
2621
+ var StorageMigrationResidueSchema = zod.z.object({
2622
+ storageClass: StorageMigrationClassSchema,
2623
+ /** The location still holding the data. `'*'` for the media lane, whose rows
2624
+ * move from wherever they are rather than from one named source. */
2625
+ fromLocationId: zod.z.string(),
2626
+ /** Where a drain would move it — the class's CURRENT default. */
2627
+ toLocationId: zod.z.string(),
2628
+ /** Segments (footage lane) or rows (media lane) still on the source. */
2629
+ items: zod.z.number().int().nonnegative().nullable(),
2630
+ /** Bytes on the source; `null` when the lane counts rows rather than bytes. */
2631
+ bytes: zod.z.number().int().nonnegative().nullable()
2632
+ });
2633
+ /**
2634
+ * Run the DRAIN half and nothing else.
2635
+ *
2636
+ * A migration that reached `done` has already repointed, so `start` correctly
2637
+ * refuses its destination ("already the default") — there is nothing left to
2638
+ * repoint. But the drain can fail, be cancelled, be interrupted by a restart,
2639
+ * or finish against a work list that was a tenth of the archive (D295), and
2640
+ * before this there was no supported way to run only that half: the only way
2641
+ * through was calling `recording.relocateFootage` by hand over admin tRPC.
2642
+ *
2643
+ * `drain` NEVER calls `setDefaultLocations`. That is what keeps `start`'s
2644
+ * refusal meaningful: the two verbs are disjoint, so nothing here can silently
2645
+ * re-repoint a class that is already migrated.
2646
+ */
2647
+ var StorageMigrationDrainInputSchema = zod.z.object({
2648
+ /** The classes to drain. Each must appear in `storageMigration.residue`, so
2649
+ * a class whose source is already empty is refused rather than started. */
2650
+ classes: zod.z.array(StorageMigrationClassSchema).min(1),
2651
+ throttleMbps: zod.z.number().min(1).max(1e3).optional()
2652
+ });
2653
+ /** What a footage source still holds, asked of the durable hour ledger. */
2654
+ var RelocateResidueInputSchema = zod.z.object({
2655
+ fromLocationId: zod.z.string().min(1),
2656
+ /** Narrow to one logical class; omit for every profile on the location. */
2657
+ footageClass: RelocateFootageClassSchema.optional()
2658
+ });
2659
+ /** `null` = the archive could not answer (no ledger on this node, or the
2660
+ * aggregate failed). Never conflated with an empty source. */
2661
+ var RelocateResidueSchema = zod.z.object({
2662
+ segments: zod.z.number().int().nonnegative(),
2663
+ bytes: zod.z.number().int().nonnegative()
2664
+ }).nullable();
2665
+ /** How many rows a media pass would still act on against a given target — the
2666
+ * media lane's denominator AND its residue, from ONE derivation so the two can
2667
+ * never disagree. `null` = the count could not be taken. */
2668
+ var RelocatableMediaCountSchema = zod.z.object({ rows: zod.z.number().int().nonnegative() }).nullable();
2669
+ var RelocatableMediaCountInputSchema = zod.z.object({
2670
+ toLocationId: zod.z.string().min(1),
2671
+ /** Omitted = `move`. */
2672
+ mode: MediaRelocateModeSchema.optional()
2673
+ });
2428
2674
  //#endregion
2429
2675
  //#region src/interfaces/server-analysis.ts
2430
2676
  var SUB_DETECTION_TYPES = ["face", "plate"];
@@ -2542,6 +2788,38 @@ var StorageLocationRefSchema = zod.z.union([StorageLocationTypeSchema, zod.z.str
2542
2788
  * two addons declaring the same `id` must agree on `cardinality` (validated
2543
2789
  * at kernel aggregation time, not here).
2544
2790
  */
2791
+ /**
2792
+ * `StorageAccess` — how the service that DECLARED a storage-location kind
2793
+ * actually reaches the bytes. It is the constraint that decides which
2794
+ * `storage-provider`s may back a location of that kind.
2795
+ *
2796
+ * - `'local-path'` — the service asks `storage.resolve` for a path string and
2797
+ * then does its own `node:fs` I/O on it (the recorder's segment writer, the
2798
+ * post-analysis media roots). Only a provider that serves a genuine local
2799
+ * filesystem (`getProviderInfo().nodeLocal === true`) can satisfy that: a
2800
+ * remote provider's `resolve` returns a path on the REMOTE host, and
2801
+ * `fs.readdir` of it on this node either fails or — far worse — succeeds
2802
+ * against a same-named local directory that is something else entirely.
2803
+ *
2804
+ * - `'cap-mediated'` — every byte travels through the `storage` cap
2805
+ * (`read`/`write`, or `beginUpload`/`writeChunk`/`finalizeUpload`). The
2806
+ * service never sees a path, so any provider can back it. `backups` is the
2807
+ * one kind that qualifies today.
2808
+ *
2809
+ * Before this existed, `recordings` was unreachable by SFTP/S3/WebDAV only as
2810
+ * an EMERGENT property of how the recorder happened to be written. Nothing
2811
+ * refused the configuration; the first write simply went somewhere wrong, and
2812
+ * a recording write that goes wrong surfaces as a silent black window rather
2813
+ * than an error (the read path does not `stat`). This turns that accident into
2814
+ * a declared, enforced, testable refusal.
2815
+ */
2816
+ var StorageAccessSchema = zod.z.enum(["local-path", "cap-mediated"]);
2817
+ /**
2818
+ * What an ABSENT `access` means. Fail-closed: a declaration that says nothing
2819
+ * is treated as if it does raw filesystem I/O, so a remote provider is
2820
+ * refused for it. The permissive value must be written down.
2821
+ */
2822
+ var STORAGE_ACCESS_FALLBACK = "local-path";
2545
2823
  var StorageLocationDeclarationSchema = zod.z.object({
2546
2824
  /**
2547
2825
  * Global location identifier, e.g. `recordings` or `recordingsLow`.
@@ -2561,6 +2839,19 @@ var StorageLocationDeclarationSchema = zod.z.object({
2561
2839
  */
2562
2840
  cardinality: zod.z.enum(["single", "multi"]),
2563
2841
  /**
2842
+ * HOW the declaring service reaches the bytes — and therefore WHICH
2843
+ * providers may back a location of this kind. See {@link StorageAccessSchema}
2844
+ * and {@link STORAGE_ACCESS_FALLBACK}.
2845
+ *
2846
+ * Absent means `'local-path'`. That default is FAIL-CLOSED on purpose: it
2847
+ * can only over-restrict (refuse a remote provider for a kind that might
2848
+ * have coped) and never under-restrict. Declaring `'cap-mediated'` is the
2849
+ * permissive direction and is therefore never inferred — a repo guard
2850
+ * (`scripts/check-storage-access-declarations.ts`) refuses to let it be
2851
+ * reached by omission.
2852
+ */
2853
+ access: StorageAccessSchema.optional(),
2854
+ /**
2564
2855
  * When set, the default instance for this location inherits its resolved
2565
2856
  * root from the named location's default instance. Useful for derivative
2566
2857
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
@@ -10272,6 +10563,15 @@ var deviceManagerCapability = {
10272
10563
  * calls are sync. Bindings change rarely (only on wrapper toggle or
10273
10564
  * device add/remove) — clients invalidate via the
10274
10565
  * `capability.binding-changed` event.
10566
+ *
10567
+ * "A single round-trip" describes the CLIENT's side and used not to
10568
+ * describe the server's: until 2026-08-30 the resolver read the persisted
10569
+ * wrapper activations once per device, so answering this cost one
10570
+ * settings-door RPC per device — 1 020 on the live 1 019-device hub, and
10571
+ * it did not return in 240 s against `SystemMirror.init`'s 15 s budget.
10572
+ * The server side is now two reads for the whole fleet. Anything PERIODIC
10573
+ * still belongs on `getBindings` / `getBindingsBatch` (D12); this remains
10574
+ * a warm seed.
10275
10575
  */
10276
10576
  getAllBindings: require_sleep.method(zod.z.object({}), zod.z.array(DeviceBindingsForDeviceSchema)),
10277
10577
  /**
@@ -17671,8 +17971,10 @@ var TrackSchema = zod.z.object({
17671
17971
  lastSeen: zod.z.number(),
17672
17972
  /** Frame-rate position history (subject to maxPositionHistory cap). */
17673
17973
  positions: zod.z.array(TrackPositionSchema).readonly(),
17674
- /** Periodic snapshots at snapshotIntervalMs cadence (subject to
17675
- * saveThumbnails policy). */
17974
+ /** Periodic snapshots at snapshotIntervalMs cadence DEBUG media, produced
17975
+ * only while `MediaSettings.debugMediaEnabled` is on for the camera (D299;
17976
+ * the retired `saveThumbnails` used to gate this and the rolling
17977
+ * `lastFrame` together). Empty is the healthy default, not a capture gap. */
17676
17978
  snapshots: zod.z.array(TrackSnapshotSchema).readonly(),
17677
17979
  /** Deduplicated zones the track has entered at least once. Zone IDS. */
17678
17980
  zonesVisited: zod.z.array(zod.z.string()).readonly(),
@@ -18762,8 +19064,34 @@ var pipelineAnalyticsCapability = {
18762
19064
  * happens to stamp it. This count is what the migration planner's
18763
19065
  * non-blocking gate reads; `relocateMedia({ mode: 'seal' })` is what drives
18764
19066
  * it to zero.
19067
+ *
19068
+ * TWO indexed statements per collection, not a walk. It used to page the
19069
+ * whole collection at 200 rows per RPC ordered by an unindexed column, so
19070
+ * on the live hub — 1 254 576 rows — it hit the 60 s RPC deadline every
19071
+ * time it was called, and the migration it gates could never start. The
19072
+ * cheap question (`present`: is there at least one) is asked first and
19073
+ * separately from the expensive one (`rows`), because only the first has
19074
+ * to be answerable for the gate to do its job.
19075
+ *
19076
+ * **`null` is "not measurable", never zero** — at either level. An
19077
+ * unreadable collection must not read as a sealed one.
18765
19078
  */
18766
19079
  countUnstampedEventMedia: require_sleep.method(zod.z.object({}), UnstampedEventMediaCountSchema, { auth: "admin" }),
19080
+ /**
19081
+ * How many rows a pass would STILL act on against `toLocationId`.
19082
+ *
19083
+ * One derivation, two consumers: it is the media lane's denominator (the
19084
+ * **M** the footage lane gets from the ledger census — D295) and it is the
19085
+ * residue behind "drain remaining". Deriving them separately is how "N of M"
19086
+ * ends up comparing two different populations.
19087
+ *
19088
+ * `null` means the count could not be taken; it is never zero-filled,
19089
+ * because a zero here reads as "nothing left to move".
19090
+ */
19091
+ countRelocatableMedia: require_sleep.method(RelocatableMediaCountInputSchema, RelocatableMediaCountSchema, {
19092
+ kind: "query",
19093
+ auth: "admin"
19094
+ }),
18767
19095
  /** Every relocate job this addon knows about, newest first (in RAM: the
18768
19096
  * move is resumable, so a lost list costs nothing but the display). */
18769
19097
  listRelocateMediaJobs: require_sleep.method(zod.z.object({}), zod.z.array(RelocateJobSchema).readonly(), {
@@ -21946,6 +22274,35 @@ var storageMigrationCapability = {
21946
22274
  cancel: require_sleep.method(zod.z.object({ jobId: zod.z.string() }), zod.z.object({ cancelled: zod.z.boolean() }), {
21947
22275
  kind: "mutation",
21948
22276
  auth: "admin"
22277
+ }),
22278
+ /**
22279
+ * Every mover running RIGHT NOW, in both lanes, with its counters.
22280
+ *
22281
+ * `status` covers a migration's own moves — the coordinator folds their
22282
+ * progress onto the durable job record it is already polling. This covers
22283
+ * the other case, and it is not hypothetical: a drain armed straight against
22284
+ * `recording.relocateFootage` (the only path that existed before
22285
+ * {@link drain}) has no job to fold into and would otherwise be invisible.
22286
+ */
22287
+ movers: require_sleep.method(zod.z.object({}), zod.z.array(StorageMigrationMoverSchema).readonly(), { auth: "admin" }),
22288
+ /**
22289
+ * What each class's SOURCE still holds, from the archive — never from the
22290
+ * resident index (D295). Only classes with something left (or something
22291
+ * unknown) are listed, so an empty list means there is nothing to drain and
22292
+ * the UI has no honest button to offer.
22293
+ */
22294
+ residue: require_sleep.method(zod.z.object({}), zod.z.array(StorageMigrationResidueSchema).readonly(), { auth: "admin" }),
22295
+ /**
22296
+ * Run the drain half alone, on a class whose default has ALREADY moved.
22297
+ *
22298
+ * It never repoints anything, which is what lets `start` keep refusing a
22299
+ * destination that is already the default: the two verbs cannot be confused
22300
+ * for one another, and no operator can re-repoint a migrated class through
22301
+ * this door.
22302
+ */
22303
+ drain: require_sleep.method(StorageMigrationDrainInputSchema, zod.z.object({ jobId: zod.z.string() }), {
22304
+ kind: "mutation",
22305
+ auth: "admin"
21949
22306
  })
21950
22307
  }
21951
22308
  };
@@ -22518,12 +22875,38 @@ response: zod.z.record(zod.z.string(), zod.z.unknown()) }), zod.z.object({
22518
22875
  *
22519
22876
  * ## Why this is a capability and not a helper
22520
22877
  *
22521
- * Six stores in `addon-post-analysis` already hold vectors object CLIP, face,
22522
- * plate, vehicle, identity, and the event store's derivativesand every one of
22523
- * them keeps its vectors in a `JSON` settings-store column and ranks them by
22524
- * brute-force cosine in JS. Measured on the live hub that costs ~11.7 KB per row
22525
- * (512 floats as TEXT, `JSON.parse`d on every search) and made semantic search
22526
- * load 5,000 rows before ranking anything.
22878
+ * This capability was introduced with the claim that SIX stores in
22879
+ * `addon-post-analysis` held vectors in a `JSON` settings-store columnobject
22880
+ * CLIP, face, plate, vehicle, identity, and the event store's derivatives. That
22881
+ * claim was never true, and leaving it here made five stores look like pending
22882
+ * work when three of them have no vector at all. Counted column by column on
22883
+ * 2026-08-30, exactly THREE ever held one:
22884
+ *
22885
+ * - `object-clip` — 512-dim CLIP image embedding, migrated 2026-08-06.
22886
+ * - `faces.embedding` — 512-dim ArcFace face embedding, migrated 2026-08-30.
22887
+ * - `identity-samples.embedding` — the same ArcFace vector for an ENROLLED
22888
+ * face, migrated 2026-08-30 into its OWN index (see below).
22889
+ *
22890
+ * `plates` and `vehicle-samples` store a plate STRING and a score; `vehicles`
22891
+ * and `identities` store a name; the event store stores no derivative vector.
22892
+ * They are not migration candidates and never were.
22893
+ *
22894
+ * Measured on the live hub the JSON encoding cost ~11.7 KB per row (512 floats
22895
+ * as TEXT, `JSON.parse`d on every search) and made semantic search load 5,000
22896
+ * rows before ranking anything.
22897
+ *
22898
+ * ## One index per COMPARISON, never per encoder
22899
+ *
22900
+ * `faces` and `identity-samples` hold the same 512 ArcFace dims from the same
22901
+ * model, and they still get two indexes. An index is a set of things that are
22902
+ * ranked against each other and that live and die together, and these two are
22903
+ * neither: a `faces` row is TRACK-OWNED and cascades away with its track under
22904
+ * a per-camera capacity cap, an `identity-samples` row is retention-EXEMPT
22905
+ * forever and is the gallery every recognition ranks against. One index would
22906
+ * mean every gallery load and every reconcile carried a filter whose failure
22907
+ * mode is either ranking a candidate against itself or reclaiming an enrolled
22908
+ * person's only sample. The dimension they share is not a reason to share an
22909
+ * index; the question they answer is, and it differs.
22527
22910
  *
22528
22911
  * The fix is not a faster loop, it is a different backend — and the backend
22529
22912
  * should be replaceable without touching six callers. So: a singleton
@@ -22628,7 +23011,20 @@ var VectorQueryResultSchema = zod.z.object({
22628
23011
  */
22629
23012
  scanned: zod.z.number(),
22630
23013
  /** True when the backend could not consider every row that passed the filter. */
22631
- truncated: zod.z.boolean()
23014
+ truncated: zod.z.boolean(),
23015
+ /**
23016
+ * The `topK` the backend actually ran with.
23017
+ *
23018
+ * Every backend has a ceiling — sqlite-vec's is 4,096 — and a caller asking
23019
+ * past it used to learn nothing but a boolean, from a WARN in the provider's
23020
+ * own log rather than in its answer. That is how an audit asking for 20,000
23021
+ * consumed 4,096 and reported `examined: 4096` as if it had walked the index,
23022
+ * for weeks. `truncated` says THAT the answer was short; this says BY HOW
23023
+ * MUCH, in the return value, where the caller cannot fail to see it.
23024
+ *
23025
+ * Equals the requested `topK` whenever nothing was lowered.
23026
+ */
23027
+ effectiveTopK: zod.z.number().int().positive()
22632
23028
  });
22633
23029
  var VectorDeleteInputSchema = zod.z.object({
22634
23030
  index: zod.z.string(),
@@ -22657,6 +23053,68 @@ var VectorGetResultSchema = zod.z.object({ items: zod.z.array(zod.z.object({
22657
23053
  id: zod.z.string(),
22658
23054
  metadata: VectorMetadataSchema
22659
23055
  })) });
23056
+ /**
23057
+ * Ids to read back WITH their vectors.
23058
+ *
23059
+ * The sibling of {@link VectorGetResultSchema}, and deliberately a separate
23060
+ * method rather than a flag on it: `getByIds` promises no vectors and its one
23061
+ * caller depends on that promise. This one promises the opposite.
23062
+ *
23063
+ * It exists because a store cannot put its vectors here otherwise. An ArcFace
23064
+ * gallery is ranked IN PROCESS, per detection, against every enrolled sample —
23065
+ * a per-face cross-process KNN would be a network round trip inside the
23066
+ * recognition loop. So the gallery is loaded once and held in RAM, and loading
23067
+ * it requires the index to hand the floats back. Without this method the only
23068
+ * way to keep a readable vector is a JSON column, which is the thing this
23069
+ * capability exists to delete.
23070
+ *
23071
+ * BOUNDED BY THE CALLER: ids are named, never "everything". Enumerating an
23072
+ * index is {@link VectorScanInputSchema}'s job, and it returns no vectors.
23073
+ */
23074
+ var VectorFetchInputSchema = zod.z.object({
23075
+ index: zod.z.string(),
23076
+ ids: zod.z.array(zod.z.string())
23077
+ });
23078
+ var VectorFetchResultSchema = zod.z.object({ items: zod.z.array(zod.z.object({
23079
+ id: zod.z.string(),
23080
+ /** base64 Float32LE — the same wire form `upsert` accepts. */
23081
+ vector: zod.z.string(),
23082
+ metadata: VectorMetadataSchema
23083
+ })) });
23084
+ /**
23085
+ * ENUMERATE an index: one page of rows in a stable order, no ranking.
23086
+ *
23087
+ * A reconcile does not want the nearest rows, it wants ALL of them, and asking
23088
+ * a KNN for "all" is the wrong question twice over. It hits the backend's `k`
23089
+ * ceiling — 4,096 on sqlite-vec against a 22,128-row index — and it needs a
23090
+ * probe vector it does not have, so the audit passed a ZERO vector whose cosine
23091
+ * distance to every row is degenerate. `examined: 4096` then read as "we
23092
+ * looked" for as long as anyone cared to read it.
23093
+ *
23094
+ * This is the primitive that question actually needs: a bounded page, ordered
23095
+ * by the backend's own row order, costing no distance computation at all.
23096
+ * Vectors are NOT returned — an enumeration that shipped 2 KB per row would be
23097
+ * the full-table read this capability was built to stop.
23098
+ */
23099
+ var VectorScanInputSchema = zod.z.object({
23100
+ index: zod.z.string(),
23101
+ /** Opaque resume point. `0` starts at the top; pass back `nextCursor`. */
23102
+ cursor: zod.z.number().int().nonnegative().default(0),
23103
+ limit: zod.z.number().int().positive()
23104
+ });
23105
+ var VectorScanResultSchema = zod.z.object({
23106
+ items: zod.z.array(zod.z.object({
23107
+ id: zod.z.string(),
23108
+ metadata: VectorMetadataSchema
23109
+ })),
23110
+ /**
23111
+ * Where the next page starts, or `null` when the walk reached the end.
23112
+ *
23113
+ * `null` is the ONLY end-of-index signal. A caller must not infer the end
23114
+ * from a short page: a backend is free to return fewer rows than asked.
23115
+ */
23116
+ nextCursor: zod.z.number().int().nonnegative().nullable()
23117
+ });
22660
23118
  var VectorStatsInputSchema = zod.z.object({ index: zod.z.string() });
22661
23119
  var VectorStatsResultSchema = zod.z.object({
22662
23120
  /** Provider id, so an operator can tell brute force from an ANN index. */
@@ -22695,6 +23153,10 @@ var vectorStoreCapability = {
22695
23153
  query: require_sleep.method(VectorQueryInputSchema, VectorQueryResultSchema, { auth: "admin" }),
22696
23154
  /** Metadata by id, no vectors — see {@link VectorGetResultSchema}. */
22697
23155
  getByIds: require_sleep.method(VectorGetInputSchema, VectorGetResultSchema, { auth: "admin" }),
23156
+ /** Metadata AND vectors, by named id — see {@link VectorFetchInputSchema}. */
23157
+ fetchByIds: require_sleep.method(VectorFetchInputSchema, VectorFetchResultSchema, { auth: "admin" }),
23158
+ /** One page of the whole index, unranked — see {@link VectorScanInputSchema}. */
23159
+ scan: require_sleep.method(VectorScanInputSchema, VectorScanResultSchema, { auth: "admin" }),
22698
23160
  deleteByIds: require_sleep.method(VectorDeleteInputSchema, VectorDeleteResultSchema, {
22699
23161
  kind: "mutation",
22700
23162
  auth: "admin"
@@ -30657,6 +31119,20 @@ var recordingCapability = {
30657
31119
  kind: "query",
30658
31120
  auth: "admin"
30659
31121
  }),
31122
+ /**
31123
+ * What a location STILL holds, asked of the durable hour ledger.
31124
+ *
31125
+ * The number behind "drain remaining": segments and bytes that would still
31126
+ * have to move off `fromLocationId`. It is a ledger aggregate — the archive
31127
+ * — because the resident index is not the archive (D295), and a drain sized
31128
+ * off the index is exactly what reported `done` over 80.3 GB on 2026-08-29.
31129
+ * `null` means the archive could not be asked (no ledger on this node, or
31130
+ * the aggregate failed) and is never conflated with an empty source.
31131
+ */
31132
+ getRelocateResidue: require_sleep.method(RelocateResidueInputSchema, RelocateResidueSchema, {
31133
+ kind: "query",
31134
+ auth: "admin"
31135
+ }),
30660
31136
  /** Cancel a running or queued relocate job. A queued job never runs. */
30661
31137
  cancelRelocateJob: require_sleep.method(zod.z.object({ jobId: zod.z.string() }), zod.z.object({ cancelled: zod.z.boolean() }), {
30662
31138
  kind: "mutation",
@@ -40890,6 +41366,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
40890
41366
  addonId: null,
40891
41367
  access: "create"
40892
41368
  },
41369
+ "pipelineAnalytics.countRelocatableMedia": {
41370
+ capName: "pipeline-analytics",
41371
+ capScope: "device",
41372
+ addonId: null,
41373
+ access: "view"
41374
+ },
40893
41375
  "pipelineAnalytics.countUnstampedEventMedia": {
40894
41376
  capName: "pipeline-analytics",
40895
41377
  capScope: "device",
@@ -42054,6 +42536,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
42054
42536
  addonId: null,
42055
42537
  access: "view"
42056
42538
  },
42539
+ "recording.getRelocateResidue": {
42540
+ capName: "recording",
42541
+ capScope: "system",
42542
+ addonId: null,
42543
+ access: "view"
42544
+ },
42057
42545
  "recording.getStorageMigrationMoveStatus": {
42058
42546
  capName: "recording",
42059
42547
  capScope: "system",
@@ -42600,12 +43088,30 @@ var METHOD_ACCESS_MAP = Object.freeze({
42600
43088
  addonId: null,
42601
43089
  access: "create"
42602
43090
  },
43091
+ "storageMigration.drain": {
43092
+ capName: "storage-migration",
43093
+ capScope: "system",
43094
+ addonId: null,
43095
+ access: "create"
43096
+ },
43097
+ "storageMigration.movers": {
43098
+ capName: "storage-migration",
43099
+ capScope: "system",
43100
+ addonId: null,
43101
+ access: "view"
43102
+ },
42603
43103
  "storageMigration.plan": {
42604
43104
  capName: "storage-migration",
42605
43105
  capScope: "system",
42606
43106
  addonId: null,
42607
43107
  access: "view"
42608
43108
  },
43109
+ "storageMigration.residue": {
43110
+ capName: "storage-migration",
43111
+ capScope: "system",
43112
+ addonId: null,
43113
+ access: "view"
43114
+ },
42609
43115
  "storageMigration.start": {
42610
43116
  capName: "storage-migration",
42611
43117
  capScope: "system",
@@ -43440,6 +43946,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
43440
43946
  addonId: null,
43441
43947
  access: "delete"
43442
43948
  },
43949
+ "vectorStore.fetchByIds": {
43950
+ capName: "vector-store",
43951
+ capScope: "system",
43952
+ addonId: null,
43953
+ access: "view"
43954
+ },
43443
43955
  "vectorStore.getByIds": {
43444
43956
  capName: "vector-store",
43445
43957
  capScope: "system",
@@ -43452,6 +43964,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
43452
43964
  addonId: null,
43453
43965
  access: "view"
43454
43966
  },
43967
+ "vectorStore.scan": {
43968
+ capName: "vector-store",
43969
+ capScope: "system",
43970
+ addonId: null,
43971
+ access: "view"
43972
+ },
43455
43973
  "vectorStore.stats": {
43456
43974
  capName: "vector-store",
43457
43975
  capScope: "system",
@@ -46678,6 +47196,7 @@ function createSystemProxy(api) {
46678
47196
  cancelStorageMigrationMove: (input) => dispatch("recording", "cancelStorageMigrationMove", "mutation", input),
46679
47197
  relocateFootage: (input) => dispatch("recording", "relocateFootage", "mutation", input),
46680
47198
  listRelocateJobs: (input) => dispatch("recording", "listRelocateJobs", "query", input),
47199
+ getRelocateResidue: (input) => dispatch("recording", "getRelocateResidue", "query", input),
46681
47200
  cancelRelocateJob: (input) => dispatch("recording", "cancelRelocateJob", "mutation", input),
46682
47201
  planStorageRebalance: (input) => dispatch("recording", "planStorageRebalance", "query", input),
46683
47202
  startStorageRebalance: (input) => dispatch("recording", "startStorageRebalance", "mutation", input)
@@ -46741,7 +47260,10 @@ function createSystemProxy(api) {
46741
47260
  plan: (input) => dispatch("storageMigration", "plan", "query", input),
46742
47261
  start: (input) => dispatch("storageMigration", "start", "mutation", input),
46743
47262
  status: (input) => dispatch("storageMigration", "status", "query", input),
46744
- cancel: (input) => dispatch("storageMigration", "cancel", "mutation", input)
47263
+ cancel: (input) => dispatch("storageMigration", "cancel", "mutation", input),
47264
+ movers: (input) => dispatch("storageMigration", "movers", "query", input),
47265
+ residue: (input) => dispatch("storageMigration", "residue", "query", input),
47266
+ drain: (input) => dispatch("storageMigration", "drain", "mutation", input)
46745
47267
  },
46746
47268
  streamBroker: {
46747
47269
  fetchEventMedia: (input) => dispatch("streamBroker", "fetchEventMedia", "mutation", input),
@@ -51485,6 +52007,7 @@ exports.REACHABILITY_POLL_INTERVAL_MS = REACHABILITY_POLL_INTERVAL_MS;
51485
52007
  exports.REACHABILITY_PROBE_TIMEOUT_MS = REACHABILITY_PROBE_TIMEOUT_MS;
51486
52008
  exports.RECOGNITION_TYPES = RECOGNITION_TYPES;
51487
52009
  exports.RECORDING_EXPORT_MAX_READ_BYTES = RECORDING_EXPORT_MAX_READ_BYTES;
52010
+ exports.REDACTED_SECRET = REDACTED_SECRET;
51488
52011
  exports.RESERVED_BINDING_NAMES = RESERVED_BINDING_NAMES;
51489
52012
  exports.RESTORED_CAP_NAMES = RESTORED_CAP_NAMES;
51490
52013
  exports.ROOT_BUCKET_KEY = ROOT_BUCKET_KEY;
@@ -51523,11 +52046,15 @@ exports.RecordingStorageUsageSchema = RecordingStorageUsageSchema;
51523
52046
  exports.RecordingTriggersSchema = RecordingTriggersSchema;
51524
52047
  exports.RecordingWeekdaySchema = RecordingWeekdaySchema;
51525
52048
  exports.RedirectLoginMethodSchema = RedirectLoginMethodSchema;
52049
+ exports.RelocatableMediaCountInputSchema = RelocatableMediaCountInputSchema;
52050
+ exports.RelocatableMediaCountSchema = RelocatableMediaCountSchema;
51526
52051
  exports.RelocateFootageClassSchema = RelocateFootageClassSchema;
51527
52052
  exports.RelocateFootageInputSchema = RelocateFootageInputSchema;
51528
52053
  exports.RelocateJobSchema = RelocateJobSchema;
51529
52054
  exports.RelocateJobStateSchema = RelocateJobStateSchema;
51530
52055
  exports.RelocateMediaInputSchema = RelocateMediaInputSchema;
52056
+ exports.RelocateResidueInputSchema = RelocateResidueInputSchema;
52057
+ exports.RelocateResidueSchema = RelocateResidueSchema;
51531
52058
  exports.RenderedAsSchema = RenderedAsSchema;
51532
52059
  exports.ReportMotionInputSchema = ReportMotionInputSchema;
51533
52060
  exports.ReportedFailureContributionSchema = ReportedFailureContributionSchema;
@@ -51578,6 +52105,7 @@ exports.SOURCE_CAP_ACTIVE_FIELD = SOURCE_CAP_ACTIVE_FIELD;
51578
52105
  exports.SOURCE_CAP_CHANGED_AT_FIELD = SOURCE_CAP_CHANGED_AT_FIELD;
51579
52106
  exports.SOURCE_DEVICE_TYPES = SOURCE_DEVICE_TYPES;
51580
52107
  exports.SOURCE_INFO_METADATA_KEY = SOURCE_INFO_METADATA_KEY;
52108
+ exports.STORAGE_ACCESS_FALLBACK = STORAGE_ACCESS_FALLBACK;
51581
52109
  exports.STREAM_PROFILE_META = STREAM_PROFILE_META;
51582
52110
  exports.STREAM_QUALITY_LABELS = STREAM_QUALITY_LABELS;
51583
52111
  exports.SUB_DETECTION_TYPES = SUB_DETECTION_TYPES;
@@ -51627,6 +52155,7 @@ exports.SsoBridgeClaimsSchema = SsoBridgeClaimsSchema;
51627
52155
  exports.StartEmbeddedInputSchema = StartEmbeddedInputSchema;
51628
52156
  exports.StationaryObjectSchema = StationaryObjectSchema;
51629
52157
  exports.StorageAbortUploadInputSchema = AbortUploadInputSchema;
52158
+ exports.StorageAccessSchema = StorageAccessSchema;
51630
52159
  exports.StorageBeginDownloadInputSchema = BeginDownloadInputSchema;
51631
52160
  exports.StorageBeginDownloadResultSchema = BeginDownloadResultSchema;
51632
52161
  exports.StorageBeginUploadInputSchema = BeginUploadInputSchema;
@@ -51639,18 +52168,23 @@ exports.StorageLocationSchema = StorageLocationSchema;
51639
52168
  exports.StorageLocationTypeSchema = StorageLocationTypeSchema;
51640
52169
  exports.StorageMigrationClassSchema = StorageMigrationClassSchema;
51641
52170
  exports.StorageMigrationDestinationsSchema = StorageMigrationDestinationsSchema;
52171
+ exports.StorageMigrationDrainInputSchema = StorageMigrationDrainInputSchema;
51642
52172
  exports.StorageMigrationFindingCodeSchema = StorageMigrationFindingCodeSchema;
51643
52173
  exports.StorageMigrationFindingSchema = StorageMigrationFindingSchema;
51644
52174
  exports.StorageMigrationFootageMoveInputSchema = StorageMigrationFootageMoveInputSchema;
51645
52175
  exports.StorageMigrationInputSchema = StorageMigrationInputSchema;
51646
52176
  exports.StorageMigrationJobSchema = StorageMigrationJobSchema;
52177
+ exports.StorageMigrationLaneSchema = StorageMigrationLaneSchema;
51647
52178
  exports.StorageMigrationLeaseInputSchema = StorageMigrationLeaseInputSchema;
51648
52179
  exports.StorageMigrationMediaMoveInputSchema = StorageMigrationMediaMoveInputSchema;
51649
52180
  exports.StorageMigrationModeSchema = StorageMigrationModeSchema;
52181
+ exports.StorageMigrationMoveProgressSchema = StorageMigrationMoveProgressSchema;
51650
52182
  exports.StorageMigrationMoveSchema = StorageMigrationMoveSchema;
52183
+ exports.StorageMigrationMoverSchema = StorageMigrationMoverSchema;
51651
52184
  exports.StorageMigrationParticipantSchema = StorageMigrationParticipantSchema;
51652
52185
  exports.StorageMigrationPhaseSchema = StorageMigrationPhaseSchema;
51653
52186
  exports.StorageMigrationPlanSchema = StorageMigrationPlanSchema;
52187
+ exports.StorageMigrationResidueSchema = StorageMigrationResidueSchema;
51654
52188
  exports.StorageProviderInfoSchema = ProviderInfoSchema;
51655
52189
  exports.StorageReadChunkInputSchema = ReadChunkInputSchema;
51656
52190
  exports.StorageTestLocationResultSchema = TestLocationResultSchema;
@@ -51723,6 +52257,7 @@ exports.UNIT_TABLE = UNIT_TABLE;
51723
52257
  exports.UnifiedBrokerInfoSchema = BrokerInfoSchema$1;
51724
52258
  exports.UnitConversionError = UnitConversionError;
51725
52259
  exports.UnstampedEventMediaCountSchema = UnstampedEventMediaCountSchema;
52260
+ exports.UnstampedRowsSchema = UnstampedRowsSchema;
51726
52261
  exports.UpdateIntegrationInputSchema = UpdateIntegrationInputSchema;
51727
52262
  exports.UpdateStatusSchema = UpdateStatusSchema;
51728
52263
  exports.UpdateUserInputSchema = UpdateUserInputSchema;
@@ -51844,6 +52379,7 @@ exports.clusterStepSettingFieldsFor = clusterStepSettingFieldsFor;
51844
52379
  exports.clusterStepSettingKey = clusterStepSettingKey;
51845
52380
  exports.collectHydratedFieldEntries = require_sleep.collectHydratedFieldEntries;
51846
52381
  exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
52382
+ exports.collectSecretConfigKeys = collectSecretConfigKeys;
51847
52383
  exports.colorCapability = colorCapability;
51848
52384
  exports.colorForKind = colorForKind;
51849
52385
  exports.commitWatchdogRestart = commitWatchdogRestart;
@@ -51984,6 +52520,7 @@ exports.isOccupancyRule = isOccupancyRule;
51984
52520
  exports.isRestoredCap = isRestoredCap;
51985
52521
  exports.isSameAddonId = isSameAddonId;
51986
52522
  exports.isScheduleActive = isScheduleActive;
52523
+ exports.isSecretConfigField = isSecretConfigField;
51987
52524
  exports.isSoftwareDecode = require_canonical_hash.isSoftwareDecode;
51988
52525
  exports.isSourceCap = isSourceCap;
51989
52526
  exports.isSystemDelivery = isSystemDelivery;
@@ -52131,6 +52668,7 @@ exports.runInferenceStep = runInferenceStep;
52131
52668
  exports.runtimeDevices = runtimeDevices;
52132
52669
  exports.runtimeStatePolicyFor = runtimeStatePolicyFor;
52133
52670
  exports.sceneMonitorCapability = sceneMonitorCapability;
52671
+ exports.schemaDeclaresAnyField = schemaDeclaresAnyField;
52134
52672
  exports.scopeInherits = scopeInherits;
52135
52673
  exports.scopeKey = require_sleep.scopeKey;
52136
52674
  exports.scopesAllowAddon = scopesAllowAddon;