@camstack/addon-pipeline 1.2.372 → 1.2.374

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/audio-analyzer/index.js +3 -3
  2. package/dist/audio-analyzer/index.mjs +3 -3
  3. package/dist/{custom-model-catalog-C6C2cSwd.mjs → custom-model-catalog-1LDuDw8S.mjs} +2 -2
  4. package/dist/{custom-model-catalog-n9v8MUL6.js → custom-model-catalog-W0DHDhfo.js} +2 -2
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-DmuX7IFJ.js → dist-CBEUVjTS.js} +197 -29
  8. package/dist/{dist-8AEiKOFO.mjs → dist-CmdLCb_F.mjs} +192 -30
  9. package/dist/{model-catalogs-BSWAHZJh.mjs → model-catalogs-BnCdB2A3.mjs} +1 -1
  10. package/dist/{model-catalogs-DO4aA1qo.js → model-catalogs-D5YksA5A.js} +1 -1
  11. package/dist/motion-wasm/index.js +1 -1
  12. package/dist/motion-wasm/index.mjs +1 -1
  13. package/dist/{node-Bd4va7c-.mjs → node-C3r8kiOo.mjs} +1 -1
  14. package/dist/{node-DqA6nD1z.js → node-DMgi6pND.js} +1 -1
  15. package/dist/pipeline-runner/index.js +3 -3
  16. package/dist/pipeline-runner/index.mjs +3 -3
  17. package/dist/{process-memory-2OQ2oxrz.js → process-memory-GFR7fxpJ.js} +1 -1
  18. package/dist/{process-memory-BvS2Z88w.mjs → process-memory-X0ws1SGJ.mjs} +1 -1
  19. package/dist/recorder/index.js +267 -94
  20. package/dist/recorder/index.mjs +265 -92
  21. package/dist/{segment-demux-js-BkGK1rhu.js → segment-demux-js-CSQVhbFI.js} +1 -1
  22. package/dist/{segment-demux-js-By9MLn_g.mjs → segment-demux-js-IKEO1XBz.mjs} +1 -1
  23. package/dist/stream-broker/_stub.js +2 -2
  24. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DjoAY42S.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DPFTlVoW.mjs} +2 -2
  25. package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-C3ssSNKh.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B7wsxLrK.mjs} +1 -1
  26. package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-nua-KuDg.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BohOb2Cl.mjs} +1 -1
  27. package/dist/stream-broker/demux-worker-child.js +1 -1
  28. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  29. package/dist/stream-broker/{hostInit-DPiGNc5u.mjs → hostInit-BOp1_Hhk.mjs} +2 -2
  30. package/dist/stream-broker/index.js +1087 -334
  31. package/dist/stream-broker/index.mjs +1087 -334
  32. package/dist/stream-broker/remoteEntry.js +1 -1
  33. package/package.json +5 -1
  34. package/dist/retire-root-keys-Csb8z2f3.js +0 -338
  35. package/dist/retire-root-keys-DZvlso2l.mjs +0 -327
@@ -3,11 +3,10 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-DmuX7IFJ.js");
7
- const require_node = require("../node-DqA6nD1z.js");
6
+ const require_dist = require("../dist-CBEUVjTS.js");
7
+ const require_node = require("../node-DMgi6pND.js");
8
8
  const require_hub_hostname = require("../hub-hostname-DAJXlOgV.js");
9
9
  const require_restream_intent = require("../restream-intent-7uDNqMKs.js");
10
- const require_retire_root_keys = require("../retire-root-keys-Csb8z2f3.js");
11
10
  let node_crypto = require("node:crypto");
12
11
  let node_fs = require("node:fs");
13
12
  let node_path = require("node:path");
@@ -5054,12 +5053,8 @@ var DeviceSettingsConfigsState = class {
5054
5053
  }
5055
5054
  async readAllRaw() {
5056
5055
  const out = /* @__PURE__ */ new Map();
5057
- const list = this.deps.settings.listDeviceStoreIds;
5058
- const fallback = this.deps.listDeviceIds;
5059
- if (list === void 0 && fallback === void 0) throw new Error("the per-device settings cannot list their devices on this view");
5060
- const ids = list !== void 0 ? await list.call(this.deps.settings) : fallback !== void 0 ? await fallback() : [];
5061
- const batch = this.deps.settings.readDeviceStoreBatch;
5062
- const blobs = batch === void 0 ? new Map(await Promise.all(ids.map(async (id) => [id, await this.deps.settings.readDeviceStore(id)]))) : await batch.call(this.deps.settings, ids);
5056
+ const ids = await this.deps.settings.listDeviceStoreIds();
5057
+ const blobs = await this.deps.settings.readDeviceStoreBatch(ids);
5063
5058
  for (const [id, blob] of blobs) {
5064
5059
  const held = blob[RECORDING_CONFIG_KEY];
5065
5060
  if (held !== void 0) out.set(String(id), held);
@@ -8360,6 +8355,249 @@ function buildExportArgs(input) {
8360
8355
  outPath
8361
8356
  ];
8362
8357
  }
8358
+ var ROW_MAP_VALUE_COLUMN = "value";
8359
+ var RowMapStore = class RowMapStore {
8360
+ spec;
8361
+ store;
8362
+ logger;
8363
+ constructor(deps) {
8364
+ this.spec = deps.spec;
8365
+ this.store = deps.store;
8366
+ this.logger = deps.logger;
8367
+ }
8368
+ /** The collection this store owns — for the caller's own log lines. */
8369
+ get collection() {
8370
+ return this.spec.collection;
8371
+ }
8372
+ /**
8373
+ * Register the collection. MUST run at boot, before any read or write: the
8374
+ * SQLite backend answers 412 for an undeclared collection.
8375
+ */
8376
+ static declare(store, spec) {
8377
+ return store.declareCollection.mutate({
8378
+ collection: spec.collection,
8379
+ columns: [
8380
+ {
8381
+ name: "id",
8382
+ type: "TEXT",
8383
+ primaryKey: true,
8384
+ notNull: true
8385
+ },
8386
+ ...spec.columns,
8387
+ {
8388
+ name: ROW_MAP_VALUE_COLUMN,
8389
+ type: "JSON",
8390
+ notNull: true
8391
+ }
8392
+ ],
8393
+ ...spec.indexes !== void 0 ? { indexes: [...spec.indexes] } : {}
8394
+ });
8395
+ }
8396
+ declare() {
8397
+ return RowMapStore.declare(this.store, this.spec);
8398
+ }
8399
+ /** One entry, by key. `null` when absent OR unparseable (which is said aloud). */
8400
+ async read(key) {
8401
+ const raw = await this.store.get.query({
8402
+ collection: this.spec.collection,
8403
+ key
8404
+ });
8405
+ if (!isRecord(raw)) return null;
8406
+ const row = raw;
8407
+ const parsed = this.spec.schema.safeParse(row[ROW_MAP_VALUE_COLUMN]);
8408
+ if (!parsed.success) {
8409
+ this.logger.warn("row-map row skipped as unparseable", {
8410
+ ...this.deviceTags(row),
8411
+ meta: {
8412
+ collection: this.spec.collection,
8413
+ key,
8414
+ error: parsed.error.message
8415
+ }
8416
+ });
8417
+ return null;
8418
+ }
8419
+ return parsed.data;
8420
+ }
8421
+ /**
8422
+ * Every entry, keyed. Unparseable rows are skipped — one bad entry costs that
8423
+ * entry, never the map.
8424
+ */
8425
+ async readAll() {
8426
+ const records = await this.store.query.query({
8427
+ collection: this.spec.collection,
8428
+ filter: { limit: this.spec.loadLimit }
8429
+ });
8430
+ const out = /* @__PURE__ */ new Map();
8431
+ let skipped = 0;
8432
+ for (const record of records) {
8433
+ const parsed = this.spec.schema.safeParse(record.data[ROW_MAP_VALUE_COLUMN]);
8434
+ if (!parsed.success) {
8435
+ skipped += 1;
8436
+ continue;
8437
+ }
8438
+ out.set(record.id, parsed.data);
8439
+ }
8440
+ if (skipped > 0) this.logger.warn("row-map rows skipped as unparseable", { meta: {
8441
+ collection: this.spec.collection,
8442
+ skipped,
8443
+ kept: out.size
8444
+ } });
8445
+ if (records.length >= this.spec.loadLimit) this.logger.warn("row-map read hit its own bound — the map may be truncated", { meta: {
8446
+ collection: this.spec.collection,
8447
+ loadLimit: this.spec.loadLimit
8448
+ } });
8449
+ return out;
8450
+ }
8451
+ /**
8452
+ * Every entry as it was WRITTEN, unvalidated and unparsed — the read a
8453
+ * MIGRATION needs.
8454
+ *
8455
+ * {@link readAll} answers through the CURRENT schema, which is exactly what a
8456
+ * migration must not do: a retired key is stripped by a non-strict `z.object`
8457
+ * before the migration could see it, so the row it is there to rescue looks
8458
+ * like a row that never needed rescuing. Only a migration should call this;
8459
+ * everything else wants the validated read.
8460
+ */
8461
+ async readAllRaw() {
8462
+ const records = await this.store.query.query({
8463
+ collection: this.spec.collection,
8464
+ filter: { limit: this.spec.loadLimit }
8465
+ });
8466
+ const out = /* @__PURE__ */ new Map();
8467
+ for (const record of records) out.set(record.id, record.data[ROW_MAP_VALUE_COLUMN]);
8468
+ return out;
8469
+ }
8470
+ /** Insert or replace ONE entry. Validates at the boundary. */
8471
+ async write(key, value) {
8472
+ const validated = this.spec.schema.parse(value);
8473
+ const columns = this.spec.project(key, validated);
8474
+ await this.store.set.mutate({
8475
+ collection: this.spec.collection,
8476
+ key,
8477
+ value: {
8478
+ ...columns,
8479
+ [ROW_MAP_VALUE_COLUMN]: validated
8480
+ }
8481
+ });
8482
+ }
8483
+ /** Drop ONE entry. Idempotent. */
8484
+ async remove(key) {
8485
+ await this.store.delete.mutate({
8486
+ collection: this.spec.collection,
8487
+ key
8488
+ });
8489
+ }
8490
+ /**
8491
+ * Make the collection hold exactly `next` — the write path for an owner whose
8492
+ * in-memory map IS the authority (a persister handed the complete set).
8493
+ *
8494
+ * Returns how many rows were DELETED, and says so out loud when any were: a
8495
+ * replace that silently drops rows is indistinguishable from one that never
8496
+ * had them. Only an owner holding an authoritative set may call this — a
8497
+ * prune driven by a fallible read is work destroyed (D130, D49).
8498
+ */
8499
+ async replaceAll(next) {
8500
+ const held = await this.store.query.query({
8501
+ collection: this.spec.collection,
8502
+ filter: { limit: this.spec.loadLimit }
8503
+ });
8504
+ for (const [key, value] of next) await this.write(key, value);
8505
+ const doomed = held.filter((record) => !next.has(record.id));
8506
+ for (const record of doomed) await this.remove(record.id);
8507
+ if (doomed.length > 0) this.logger.warn("row-map replaceAll dropped rows", { meta: {
8508
+ collection: this.spec.collection,
8509
+ dropped: doomed.length,
8510
+ keys: doomed.slice(0, 20).map((r) => r.id),
8511
+ remaining: next.size
8512
+ } });
8513
+ return doomed.length;
8514
+ }
8515
+ /**
8516
+ * The entries matching a projected-column predicate, in the order asked for.
8517
+ *
8518
+ * This is what projecting columns BUYS: "every export for camera 617, newest
8519
+ * first, capped at 50" is an indexed `WHERE` + `ORDER BY` + `LIMIT`, not a
8520
+ * parse of the whole map followed by a filter in JS.
8521
+ *
8522
+ * A `limit` is REQUIRED — `settings-store.query` silently caps an unbounded
8523
+ * read at 2 000 rows and answers as if that were everything.
8524
+ */
8525
+ async readWhere(filter) {
8526
+ const records = await this.store.query.query({
8527
+ collection: this.spec.collection,
8528
+ filter: {
8529
+ ...filter.where !== void 0 ? { where: filter.where } : {},
8530
+ ...filter.whereIn !== void 0 ? { whereIn: filter.whereIn } : {},
8531
+ ...filter.whereBetween !== void 0 ? { whereBetween: filter.whereBetween } : {},
8532
+ ...filter.orderBy !== void 0 ? { orderBy: filter.orderBy } : {},
8533
+ ...filter.offset !== void 0 ? { offset: filter.offset } : {},
8534
+ limit: filter.limit ?? this.spec.loadLimit
8535
+ }
8536
+ });
8537
+ const out = [];
8538
+ let skipped = 0;
8539
+ for (const record of records) {
8540
+ const parsed = this.spec.schema.safeParse(record.data[ROW_MAP_VALUE_COLUMN]);
8541
+ if (!parsed.success) {
8542
+ skipped += 1;
8543
+ continue;
8544
+ }
8545
+ out.push({
8546
+ key: record.id,
8547
+ value: parsed.data
8548
+ });
8549
+ }
8550
+ if (skipped > 0) this.logger.warn("row-map rows skipped as unparseable", { meta: {
8551
+ collection: this.spec.collection,
8552
+ skipped,
8553
+ kept: out.length
8554
+ } });
8555
+ return out;
8556
+ }
8557
+ /** How many rows match, without materialising one. */
8558
+ async count(filter) {
8559
+ return this.store.count.query({
8560
+ collection: this.spec.collection,
8561
+ ...filter !== void 0 ? { filter: {
8562
+ ...filter.where !== void 0 ? { where: filter.where } : {},
8563
+ ...filter.whereIn !== void 0 ? { whereIn: filter.whereIn } : {},
8564
+ ...filter.whereBetween !== void 0 ? { whereBetween: filter.whereBetween } : {}
8565
+ } } : {}
8566
+ });
8567
+ }
8568
+ /**
8569
+ * Delete every row matching a predicate, in ONE statement. Returns how many
8570
+ * went, and says so — a retention trim that silently drops rows is
8571
+ * indistinguishable from one that had nothing to do.
8572
+ *
8573
+ * The predicate is REQUIRED and the engine REFUSES one that compiles to
8574
+ * nothing: deleting a whole collection is a legitimate intent, but it must be
8575
+ * asked for by name rather than reached through an empty object.
8576
+ */
8577
+ async deleteWhere(filter) {
8578
+ const { deleted } = await this.store.deleteWhere.mutate({
8579
+ collection: this.spec.collection,
8580
+ filter
8581
+ });
8582
+ if (deleted > 0) this.logger.warn("row-map deleteWhere dropped rows", { meta: {
8583
+ collection: this.spec.collection,
8584
+ deleted,
8585
+ filter
8586
+ } });
8587
+ return deleted;
8588
+ }
8589
+ /** `tags: { deviceId }` off the PROJECTED column, when the spec names one. */
8590
+ deviceTags(row) {
8591
+ const column = this.spec.deviceIdColumn;
8592
+ if (column === void 0) return {};
8593
+ const raw = row[column];
8594
+ return typeof raw === "number" && Number.isInteger(raw) ? { tags: { deviceId: raw } } : {};
8595
+ }
8596
+ };
8597
+ /** A store payload that is a plain object, or `null`. A type guard, not a cast. */
8598
+ function isRecord(value) {
8599
+ return value !== null && typeof value === "object" && !Array.isArray(value);
8600
+ }
8363
8601
  //#endregion
8364
8602
  //#region src/recorder/addon/export-store.ts
8365
8603
  /**
@@ -8485,7 +8723,7 @@ var RECORDING_EXPORTS_SPEC = {
8485
8723
  };
8486
8724
  /** Build the handle. `declare()` MUST run once at boot before any read/write. */
8487
8725
  function recordingExportsState(store, logger) {
8488
- return new require_retire_root_keys.RowMapStore({
8726
+ return new RowMapStore({
8489
8727
  spec: RECORDING_EXPORTS_SPEC,
8490
8728
  store,
8491
8729
  logger
@@ -11740,6 +11978,22 @@ var DurableLedger = class DurableLedger {
11740
11978
  }
11741
11979
  }
11742
11980
  /**
11981
+ * Drop every MIRRORED row about `deviceId` (per the spec's `deviceIdOf`),
11982
+ * leaving the durable rows to the caller's `deleteWhere` (D871). Returns how
11983
+ * many mirror entries went; a spec without `deviceIdOf` evicts nothing.
11984
+ */
11985
+ evictDevice(deviceId) {
11986
+ const of = this.spec.deviceIdOf;
11987
+ if (of === void 0) return 0;
11988
+ let evicted = 0;
11989
+ for (const [key, row] of [...this.mirror.entries()]) {
11990
+ if (of(row) !== deviceId) continue;
11991
+ this.mirror.delete(key);
11992
+ evicted += 1;
11993
+ }
11994
+ return evicted;
11995
+ }
11996
+ /**
11743
11997
  * Drop every mirrored key NOT in `activeKeys`. Returns how many rows went.
11744
11998
  *
11745
11999
  * **The caller must hold an AUTHORITATIVE active set.** A prune driven by a
@@ -14772,40 +15026,8 @@ var LocationRefresher = class {
14772
15026
  }
14773
15027
  }
14774
15028
  };
14775
- //#endregion
14776
- //#region src/recorder/addon/ops-log-store.ts
14777
- /**
14778
- * Recordings ops-log persistence for the recorder addon.
14779
- *
14780
- * ONE ROW PER OPERATION in `recorder:ops-log`, through {@link RowMapStore}. The
14781
- * ring is still bounded — `maxEntries` newest rows survive — but the eviction
14782
- * is now a single `DELETE … WHERE at BETWEEN`, and a listing is an indexed
14783
- * `WHERE deviceId … ORDER BY at DESC LIMIT`.
14784
- *
14785
- * ## What this replaced
14786
- *
14787
- * The ring lived in ONE key of the recorder's `addon-settings` / `root` blob,
14788
- * as a flat JSON array. On the reference hub it was 147 437 bytes of that row's
14789
- * 201 833 — so appending one audit line read, parsed, re-serialised and rewrote
14790
- * ~200 KB, and so did every unrelated reader of that row (`resolveConfig`,
14791
- * `loadDeviceConfig`, the export progress patch). The ops log is the CHEAPEST
14792
- * thing in the recorder and it was paying for the most expensive.
14793
- *
14794
- * Writes stay BEST-EFFORT: `createRecordingOpsLogSink().append` never throws —
14795
- * a failed audit write must not fail the operation it records.
14796
- */
14797
- /**
14798
- * @durable class=audit owner=recorder
14799
- * write="one row per recordings operation (prune, evict, relocate, export, …), appended
14800
- * best-effort by `createRecordingOpsLogSink().append` — never read back by the system,
14801
- * only listed by an operator through the `recording.listOpsLog` cap method"
14802
- * retention="a bounded ring: every append trims to the newest OPS_LOG_RING_DEFAULT_MAX
14803
- * (500) rows with one `deleteWhere` on `at`. Rows tied on the cutoff millisecond
14804
- * survive, so the ring may hold a few MORE than the cap and never fewer."
14805
- */
14806
- var RECORDING_OPS_LOG_COLLECTION = "recorder:ops-log";
14807
15029
  var RECORDING_OPS_LOG_SPEC = {
14808
- collection: RECORDING_OPS_LOG_COLLECTION,
15030
+ collection: "recorder:ops-log",
14809
15031
  schema: require_dist.OpsLogEntrySchema,
14810
15032
  columns: [{
14811
15033
  name: "at",
@@ -14831,7 +15053,7 @@ var RECORDING_OPS_LOG_SPEC = {
14831
15053
  };
14832
15054
  /** Build the handle. `declare()` MUST run once at boot before any read/write. */
14833
15055
  function recordingOpsLogState(store, logger) {
14834
- return new require_retire_root_keys.RowMapStore({
15056
+ return new RowMapStore({
14835
15057
  spec: RECORDING_OPS_LOG_SPEC,
14836
15058
  store,
14837
15059
  logger
@@ -20947,25 +21169,6 @@ var RetentionSweeper = class {
20947
21169
  }
20948
21170
  };
20949
21171
  //#endregion
20950
- //#region src/recorder/addon/retired-root-keys.ts
20951
- var RECORDER_RETIRED_ROOT_KEYS = [
20952
- {
20953
- key: "recordingOpsLog",
20954
- successor: RECORDING_OPS_LOG_COLLECTION,
20955
- reason: "the audit ring is one row per operation since the flatten; as a blob it was 147 KB of the 201 KB root row, re-parsed by every unrelated reader of that row"
20956
- },
20957
- {
20958
- key: "recordingExports",
20959
- successor: RECORDING_EXPORTS_COLLECTION,
20960
- reason: "one row per export job since the flatten; as a blob a once-a-second progress patch rewrote 201 KB, and an overlapping createExport erased the row (2026-08-14)"
20961
- },
20962
- {
20963
- key: "recordingConfigs",
20964
- successor: "the recorder per-device settings (key recordingConfig)",
20965
- reason: "one row per camera since the flatten; as a blob, asking what camera 617 records parsed every camera in the installation"
20966
- }
20967
- ];
20968
- //#endregion
20969
21172
  //#region src/recorder/addon/heap-delta.ts
20970
21173
  /**
20971
21174
  * Name the unit of work that grows the recorder's heap.
@@ -23402,7 +23605,6 @@ var RecorderV2Addon = class extends require_dist.BaseAddon {
23402
23605
  return { providers: [] };
23403
23606
  }
23404
23607
  await this.declareRowCollections();
23405
- await this.purgeFlattenedSettingsKeys();
23406
23608
  this.segmentHours = new SegmentHourLedger({
23407
23609
  store: this.ctx.api.settingsStore,
23408
23610
  logger: this.ctx.logger,
@@ -25232,31 +25434,6 @@ var RecorderV2Addon = class extends require_dist.BaseAddon {
25232
25434
  await this.opsLogStore().declare();
25233
25435
  }
25234
25436
  /**
25235
- * Drop the flattened keys from `recorder:addon-settings` / `root`, each gated
25236
- * on its own successor collection being non-empty.
25237
- *
25238
- * `recordingPlacement` is NOT here: it stays a blob key. It is 1.4 KB of
25239
- * per-(camera, profile) assignments plus a handful of volume ids, written
25240
- * only when placement changes — and the row has to survive anyway, because it
25241
- * is where `BaseAddon.resolveConfig` reads the operator's config fields from.
25242
- * The problem was a 201 KB row, not a blob.
25243
- *
25244
- * Best-effort: a purge that throws must not take recording down. The keys are
25245
- * dead weight, not a fault.
25246
- */
25247
- async purgeFlattenedSettingsKeys() {
25248
- try {
25249
- await require_retire_root_keys.retireRootKeys({
25250
- store: this.ctx.api.settingsStore,
25251
- addonId: RECORDER_ADDON_ID,
25252
- logger: this.ctx.logger,
25253
- specs: RECORDER_RETIRED_ROOT_KEYS
25254
- });
25255
- } catch (err) {
25256
- this.ctx.logger.warn("recorder: retiring the flattened settings keys failed", { meta: { error: require_dist.errMsg(err) } });
25257
- }
25258
- }
25259
- /**
25260
25437
  * `ctx.api.settingsStore`, wrapped ONCE through {@link censusStoreClient}.
25261
25438
  *
25262
25439
  * LAZY (see `calendar` above): `ctx` is not assigned until `initialize()`
@@ -25275,11 +25452,7 @@ var RecorderV2Addon = class extends require_dist.BaseAddon {
25275
25452
  if (settings === void 0) throw new Error("recorder: device settings are not available");
25276
25453
  this.configsState ??= recordingConfigsState({
25277
25454
  settings,
25278
- logger: this.ctx.logger,
25279
- listDeviceIds: async () => (await this.ctx.api.deviceManager.listAll.query({
25280
- isCamera: true,
25281
- projection: "slim"
25282
- })).map((device) => device.id)
25455
+ logger: this.ctx.logger
25283
25456
  });
25284
25457
  return this.configsState;
25285
25458
  }