@camstack/types 1.2.90 → 1.2.92

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.
@@ -54,6 +54,7 @@ declare const DetailResultSchema: z.ZodObject<{
54
54
  h: z.ZodNumber;
55
55
  }, z.core.$strip>>;
56
56
  embedding: z.ZodOptional<z.ZodString>;
57
+ embeddingMagnitude: z.ZodOptional<z.ZodNumber>;
57
58
  label: z.ZodOptional<z.ZodString>;
58
59
  labelTier: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
59
60
  labelModelId: z.ZodOptional<z.ZodString>;
@@ -626,6 +627,7 @@ export declare const pipelineRunnerCapability: {
626
627
  h: z.ZodNumber;
627
628
  }, z.core.$strip>>;
628
629
  embedding: z.ZodOptional<z.ZodString>;
630
+ embeddingMagnitude: z.ZodOptional<z.ZodNumber>;
629
631
  label: z.ZodOptional<z.ZodString>;
630
632
  labelTier: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
631
633
  labelModelId: z.ZodOptional<z.ZodString>;
@@ -704,6 +706,7 @@ export declare const pipelineRunnerCapability: {
704
706
  h: z.ZodNumber;
705
707
  }, z.core.$strip>>;
706
708
  embedding: z.ZodOptional<z.ZodString>;
709
+ embeddingMagnitude: z.ZodOptional<z.ZodNumber>;
707
710
  label: z.ZodOptional<z.ZodString>;
708
711
  labelTier: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
709
712
  labelModelId: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -54,7 +54,7 @@ export type * from './interfaces/ffmpeg.js';
54
54
  export type * from './interfaces/frame-handle.js';
55
55
  export type * from './interfaces/inference-capabilities.js';
56
56
  export type * from './interfaces/inference-engine.js';
57
- export type { CreateDeviceInput, CreateIntegrationInput, DeviceIdentity, IIntegrationRegistry, Integration, PersistedDevice, TypedSetting, } from './interfaces/integration-registry.js';
57
+ export type { CreateIntegrationInput, IIntegrationRegistry, Integration, } from './interfaces/integration-registry.js';
58
58
  export type * from './interfaces/kernel-abstractions.js';
59
59
  export type * from './interfaces/lifecycle.js';
60
60
  export type * from './interfaces/logging.js';
@@ -190,7 +190,7 @@ export type { AudioCodecInfo, AudioDecodeSessionConfig, AudioEncodedChunk, Audio
190
190
  export type { StreamQuality } from './interfaces/device-capabilities/camera.js';
191
191
  export { STREAM_QUALITY_LABELS, streamQualityLabel, } from './interfaces/device-capabilities/camera.js';
192
192
  export * from './lifecycle/index.js';
193
- export { audioIsFailClosed, audioLabelChoices, audioModeOf, audioOrDefaults, isAudioLabelSelected, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, type NcAudioLabelChoice, type NcAudioMode, type NcAudioPatch, normalizeAudioLabel, patchAudio, toggleAudioLabel, } from './notification/audio-condition.js';
193
+ export { audioIsFailClosed, audioKindId, audioLabelChoices, audioModeOf, audioOrDefaults, isAudioLabelSelected, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, type NcAudioLabelChoice, type NcAudioMode, type NcAudioPatch, normalizeAudioLabel, patchAudio, toggleAudioLabel, } from './notification/audio-condition.js';
194
194
  export { isBaseConditionKey, knownValues, NC_BASE_CONDITION_KEYS, type NcBaseConditionKey, pickerForCondition, type TaxonomyGroup, type TaxonomyOption, type TaxonomyPicker, } from './notification/condition-taxonomy.js';
195
195
  export { type PreparedAction, type PreparedAttachment, type PreparedNotification, prepareNotification, type ResolvedLevel, } from './notification/degrade-engine.js';
196
196
  export { htmlToText, markdownToHtmlLite, markdownToText, type NotificationFormat as NotificationBodyFormat, resolveFormat, textToHtml, transcodeBody, } from './notification/format-transcode.js';
package/dist/index.js CHANGED
@@ -2355,13 +2355,34 @@ var FORMAT_KEYS = [
2355
2355
  "tflite",
2356
2356
  "pt"
2357
2357
  ];
2358
+ /**
2359
+ * Display spelling of a family. Uppercasing the id is wrong for any family
2360
+ * whose name is not all-caps — it rendered `yolov9` as "YOLOV9", a word the
2361
+ * product uses nowhere else (the catalog, the docs and the model files all say
2362
+ * "YOLOv9").
2363
+ */
2364
+ var FAMILY_LABEL = {
2365
+ yolo26: "YOLO26",
2366
+ yolov9: "YOLOv9"
2367
+ };
2358
2368
  function familyLabel(family) {
2359
- return family.toUpperCase();
2369
+ return FAMILY_LABEL[family] ?? family.toUpperCase();
2360
2370
  }
2361
- /** Strip a leading family label from a base model name clean tier label. */
2371
+ /** `@640`, `@320×320`, `@ 256` a resolution stated inside a model name. */
2372
+ var RESOLUTION_IN_NAME = /\s*@\s*\d+\s*(?:[x×]\s*\d+)?/gi;
2373
+ /**
2374
+ * Strip a leading family label AND any stated resolution from a base model name
2375
+ * → clean tier label.
2376
+ *
2377
+ * The resolution strip is not cosmetic. The tier is chosen BEFORE the
2378
+ * resolution chip, and a family whose builds all state their input (our yolov9
2379
+ * ships only 320 and 640, no resolution-less build) made the tier inherit its
2380
+ * base entry's name verbatim: the ladder read "Tiny @640 / Small @640 / …" and
2381
+ * kept saying 640 while the operator had 320 selected below it.
2382
+ */
2362
2383
  function tierLabel(family, baseName) {
2363
2384
  const fl = familyLabel(family);
2364
- const stripped = baseName.replace(new RegExp(`^${fl}\\s+`, "i"), "").trim();
2385
+ const stripped = baseName.replace(new RegExp(`^${fl}\\s+`, "i"), "").replace(RESOLUTION_IN_NAME, "").trim();
2365
2386
  return stripped.length > 0 ? stripped : baseName;
2366
2387
  }
2367
2388
  function variantLabel(precision, optimization) {
@@ -2378,9 +2399,11 @@ function smallestSizeMB(entry) {
2378
2399
  return sizes.length > 0 ? Math.min(...sizes) : 0;
2379
2400
  }
2380
2401
  var TIER_ORDER = [
2402
+ "t",
2381
2403
  "n",
2382
2404
  "s",
2383
2405
  "m",
2406
+ "c",
2384
2407
  "l",
2385
2408
  "x"
2386
2409
  ];
@@ -2422,7 +2445,7 @@ function buildModelVariantGroups(models) {
2422
2445
  if (a.optimization !== b.optimization) return a.optimization === "fast" ? 1 : -1;
2423
2446
  return PRECISION_ORDER.indexOf(a.precision) - PRECISION_ORDER.indexOf(b.precision);
2424
2447
  });
2425
- const base = options.find((o) => o.precision === "fp32" && o.optimization === "standard" && o.resolution === void 0) ?? options[0];
2448
+ const base = options.find((o) => o.precision === "fp32" && o.optimization === "standard") ?? options[0];
2426
2449
  if (base === void 0) continue;
2427
2450
  const baseEntry = entries.find((e) => e.id === base.modelId);
2428
2451
  tierList.push({
@@ -2457,15 +2480,9 @@ function buildModelVariantGroups(models) {
2457
2480
  function resolveVariantModelId(models, selection) {
2458
2481
  const precision = selection.precision ?? "fp32";
2459
2482
  const optimization = selection.optimization ?? "standard";
2460
- for (const m of models) {
2461
- if (m.group === void 0) continue;
2462
- if (m.group.family !== selection.family || m.group.tier !== selection.tier) continue;
2463
- if ((m.group.precision ?? "fp32") !== precision) continue;
2464
- if ((m.group.optimization ?? "standard") !== optimization) continue;
2465
- if (m.group.resolution !== selection.resolution) continue;
2466
- return m.id;
2467
- }
2468
- return null;
2483
+ const candidates = models.filter((m) => m.group !== void 0 && m.group.family === selection.family && m.group.tier === selection.tier && (m.group.precision ?? "fp32") === precision && (m.group.optimization ?? "standard") === optimization);
2484
+ if (selection.resolution !== void 0) return candidates.find((m) => m.group?.resolution === selection.resolution)?.id ?? null;
2485
+ return candidates.toSorted((a, b) => (b.group?.resolution ?? Infinity) - (a.group?.resolution ?? Infinity))[0]?.id ?? null;
2469
2486
  }
2470
2487
  /** Inverse: describe a flat model id as a grouped selection, or `null`. */
2471
2488
  function describeModelVariant(models, modelId) {
@@ -11412,128 +11429,103 @@ var COCO_TO_MACRO = {
11412
11429
  var AUDIO_MACRO_LABELS = [
11413
11430
  {
11414
11431
  id: "speech",
11415
- name: "Speech",
11416
- icon: "🗣️"
11432
+ name: "Speech"
11417
11433
  },
11418
11434
  {
11419
11435
  id: "scream",
11420
- name: "Scream / Shout",
11421
- icon: "😱"
11436
+ name: "Scream / Shout"
11422
11437
  },
11423
11438
  {
11424
11439
  id: "crying",
11425
- name: "Crying / Baby",
11426
- icon: "😢"
11440
+ name: "Crying / Baby"
11427
11441
  },
11428
11442
  {
11429
11443
  id: "laughter",
11430
- name: "Laughter",
11431
- icon: "😂"
11444
+ name: "Laughter"
11432
11445
  },
11433
11446
  {
11434
11447
  id: "music",
11435
- name: "Music",
11436
- icon: "🎵"
11448
+ name: "Music"
11437
11449
  },
11438
11450
  {
11439
11451
  id: "dog",
11440
- name: "Dog",
11441
- icon: "🐕"
11452
+ name: "Dog"
11442
11453
  },
11443
11454
  {
11444
11455
  id: "cat",
11445
- name: "Cat",
11446
- icon: "🐈"
11456
+ name: "Cat"
11447
11457
  },
11448
11458
  {
11449
11459
  id: "bird",
11450
- name: "Bird",
11451
- icon: "🐦"
11460
+ name: "Bird"
11452
11461
  },
11453
11462
  {
11454
11463
  id: "animal",
11455
- name: "Animal (other)",
11456
- icon: "🐾"
11464
+ name: "Animal (other)"
11457
11465
  },
11458
11466
  {
11459
11467
  id: "alarm",
11460
- name: "Alarm / Siren",
11461
- icon: "🚨"
11468
+ name: "Alarm / Siren"
11462
11469
  },
11463
11470
  {
11464
11471
  id: "doorbell",
11465
- name: "Doorbell / Knock",
11466
- icon: "🔔"
11472
+ name: "Doorbell / Knock"
11467
11473
  },
11468
11474
  {
11469
11475
  id: "glass_breaking",
11470
- name: "Glass Breaking",
11471
- icon: "💥"
11476
+ name: "Glass Breaking"
11472
11477
  },
11473
11478
  {
11474
11479
  id: "gunshot",
11475
- name: "Gunshot / Explosion",
11476
- icon: "💣"
11480
+ name: "Gunshot / Explosion"
11477
11481
  },
11478
11482
  {
11479
11483
  id: "vehicle",
11480
- name: "Vehicle",
11481
- icon: "🚗"
11484
+ name: "Vehicle"
11482
11485
  },
11483
11486
  {
11484
11487
  id: "siren",
11485
- name: "Emergency Siren",
11486
- icon: "🚑"
11488
+ name: "Emergency Siren"
11487
11489
  },
11488
11490
  {
11489
11491
  id: "fire",
11490
- name: "Fire / Smoke",
11491
- icon: "🔥"
11492
+ name: "Fire / Smoke"
11492
11493
  },
11493
11494
  {
11494
11495
  id: "water",
11495
- name: "Water",
11496
- icon: "💧"
11496
+ name: "Water"
11497
11497
  },
11498
11498
  {
11499
11499
  id: "wind",
11500
- name: "Wind / Weather",
11501
- icon: "🌬️"
11500
+ name: "Wind / Weather"
11502
11501
  },
11503
11502
  {
11504
11503
  id: "door",
11505
- name: "Door",
11506
- icon: "🚪"
11504
+ name: "Door"
11507
11505
  },
11508
11506
  {
11509
11507
  id: "footsteps",
11510
- name: "Footsteps",
11511
- icon: "👣"
11508
+ name: "Footsteps"
11512
11509
  },
11513
11510
  {
11514
11511
  id: "crowd",
11515
- name: "Crowd / Chatter",
11516
- icon: "👥"
11512
+ name: "Crowd / Chatter"
11517
11513
  },
11518
11514
  {
11519
11515
  id: "telephone",
11520
- name: "Telephone",
11521
- icon: "📞"
11516
+ name: "Telephone"
11522
11517
  },
11523
11518
  {
11524
11519
  id: "engine",
11525
- name: "Engine / Motor",
11526
- icon: "⚙️"
11520
+ name: "Engine / Motor"
11527
11521
  },
11528
11522
  {
11529
11523
  id: "tools",
11530
- name: "Tools / Construction",
11531
- icon: "🔨"
11524
+ name: "Tools / Construction"
11532
11525
  },
11533
11526
  {
11534
11527
  id: "silence",
11535
- name: "Silence",
11536
- icon: "🤫"
11528
+ name: "Silence"
11537
11529
  }
11538
11530
  ];
11539
11531
  var YAMNET_TO_MACRO = {
@@ -16967,6 +16959,12 @@ var DetailResultSchema = zod.z.object({
16967
16959
  /** FRAME-space bbox (already mapped back from crop space). */
16968
16960
  bbox: NativeCropBboxSchema.optional(),
16969
16961
  embedding: zod.z.string().optional(),
16962
+ /**
16963
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
16964
+ * so an older runner that does not send it degrades to "unmeasurable", which
16965
+ * the consuming gate treats as accept — never as reject.
16966
+ */
16967
+ embeddingMagnitude: zod.z.number().optional(),
16970
16968
  label: zod.z.string().optional(),
16971
16969
  /**
16972
16970
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -43063,6 +43061,21 @@ var AUDIO_KIND_PREFIX = "audio-";
43063
43061
  function normalizeAudioLabel(value) {
43064
43062
  return value.startsWith(AUDIO_KIND_PREFIX) ? value.slice(6) : value;
43065
43063
  }
43064
+ /**
43065
+ * The inverse: a macro id in the taxonomy's namespace (`dog` → `audio-dog`),
43066
+ * which is the `iconId` every UI resolves to a glyph (`EVENT_KIND_ICONS` in
43067
+ * `@camstack/ui-library`, `event-kind-icons.ts` in the viewer). Idempotent, so
43068
+ * a value that already carries the namespace is passed through unchanged.
43069
+ *
43070
+ * This lives here — beside `normalizeAudioLabel` and next to the vocabulary
43071
+ * itself — rather than in a UI package, because the *id* is data and the *glyph*
43072
+ * is presentation: the server puts the id on a config option, and whichever
43073
+ * renderer picks it up (lucide-react on the web, lucide-react-native in the
43074
+ * viewer) supplies its own component for it.
43075
+ */
43076
+ function audioKindId(macroId) {
43077
+ return macroId.startsWith(AUDIO_KIND_PREFIX) ? macroId : `${AUDIO_KIND_PREFIX}${macroId}`;
43078
+ }
43066
43079
  /** Level bounds, in dBFS. Negative-going: the ceiling is full scale. */
43067
43080
  var NC_AUDIO_DB_MIN = -96;
43068
43081
  var NC_AUDIO_DB_MAX = 0;
@@ -43169,16 +43182,16 @@ function patchAudio(current, patch) {
43169
43182
  samplingSeconds: clampInt(patch.samplingSeconds ?? base.samplingSeconds, 1, 300)
43170
43183
  };
43171
43184
  }
43172
- /** The icon glyph for a stored label the catalogue does not know. */
43173
- var UNKNOWN_LABEL_ICON = "🔈";
43174
- var ICON_BY_ID = new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
43175
43185
  /**
43176
- * The label choices: the hub's `audioKinds` when it serves them (its WORDS, the
43177
- * local EMOJI, keyed by the normalized id), else the local macro catalog — plus
43178
- * any stored label neither side knows, marked unknown.
43186
+ * The label choices: the hub's `audioKinds` when it serves them (its WORDS,
43187
+ * keyed by the normalized id), else the local macro catalog — plus any stored
43188
+ * label neither side knows, marked unknown.
43179
43189
  *
43180
43190
  * The hub's list wins on membership because it knows which macros this cluster
43181
- * actually classifies; the icons stay local because the taxonomy carries none.
43191
+ * actually classifies. The icon id is DERIVED from the id rather than looked
43192
+ * up, so a class the hub serves and this build has never heard of still gets a
43193
+ * drawable id (the renderer falls back to the audio glyph for an unmapped
43194
+ * `audio-*`) instead of a question mark.
43182
43195
  */
43183
43196
  function audioLabelChoices(taxonomy, selected) {
43184
43197
  const fromHub = taxonomy?.audioKinds ?? [];
@@ -43187,13 +43200,13 @@ function audioLabelChoices(taxonomy, selected) {
43187
43200
  return {
43188
43201
  value: id,
43189
43202
  label: entry.label,
43190
- icon: ICON_BY_ID.get(id) ?? UNKNOWN_LABEL_ICON,
43203
+ iconId: audioKindId(id),
43191
43204
  unknown: false
43192
43205
  };
43193
43206
  }) : AUDIO_MACRO_LABELS.map((macro) => ({
43194
43207
  value: macro.id,
43195
43208
  label: macro.name,
43196
- icon: macro.icon ?? UNKNOWN_LABEL_ICON,
43209
+ iconId: audioKindId(macro.id),
43197
43210
  unknown: false
43198
43211
  }));
43199
43212
  const known = new Set(choices.map((choice) => choice.value));
@@ -43205,7 +43218,7 @@ function audioLabelChoices(taxonomy, selected) {
43205
43218
  choices.push({
43206
43219
  value: id,
43207
43220
  label: id,
43208
- icon: UNKNOWN_LABEL_ICON,
43221
+ iconId: audioKindId(id),
43209
43222
  unknown: true
43210
43223
  });
43211
43224
  }
@@ -47584,6 +47597,7 @@ exports.audioAnalysisCapability = audioAnalysisCapability;
47584
47597
  exports.audioAnalyzerCapability = audioAnalyzerCapability;
47585
47598
  exports.audioCodecCapability = audioCodecCapability;
47586
47599
  exports.audioIsFailClosed = audioIsFailClosed;
47600
+ exports.audioKindId = audioKindId;
47587
47601
  exports.audioLabelChoices = audioLabelChoices;
47588
47602
  exports.audioMetricsCapability = audioMetricsCapability;
47589
47603
  exports.audioModeOf = audioModeOf;
package/dist/index.mjs CHANGED
@@ -2354,13 +2354,34 @@ var FORMAT_KEYS = [
2354
2354
  "tflite",
2355
2355
  "pt"
2356
2356
  ];
2357
+ /**
2358
+ * Display spelling of a family. Uppercasing the id is wrong for any family
2359
+ * whose name is not all-caps — it rendered `yolov9` as "YOLOV9", a word the
2360
+ * product uses nowhere else (the catalog, the docs and the model files all say
2361
+ * "YOLOv9").
2362
+ */
2363
+ var FAMILY_LABEL = {
2364
+ yolo26: "YOLO26",
2365
+ yolov9: "YOLOv9"
2366
+ };
2357
2367
  function familyLabel(family) {
2358
- return family.toUpperCase();
2368
+ return FAMILY_LABEL[family] ?? family.toUpperCase();
2359
2369
  }
2360
- /** Strip a leading family label from a base model name clean tier label. */
2370
+ /** `@640`, `@320×320`, `@ 256` a resolution stated inside a model name. */
2371
+ var RESOLUTION_IN_NAME = /\s*@\s*\d+\s*(?:[x×]\s*\d+)?/gi;
2372
+ /**
2373
+ * Strip a leading family label AND any stated resolution from a base model name
2374
+ * → clean tier label.
2375
+ *
2376
+ * The resolution strip is not cosmetic. The tier is chosen BEFORE the
2377
+ * resolution chip, and a family whose builds all state their input (our yolov9
2378
+ * ships only 320 and 640, no resolution-less build) made the tier inherit its
2379
+ * base entry's name verbatim: the ladder read "Tiny @640 / Small @640 / …" and
2380
+ * kept saying 640 while the operator had 320 selected below it.
2381
+ */
2361
2382
  function tierLabel(family, baseName) {
2362
2383
  const fl = familyLabel(family);
2363
- const stripped = baseName.replace(new RegExp(`^${fl}\\s+`, "i"), "").trim();
2384
+ const stripped = baseName.replace(new RegExp(`^${fl}\\s+`, "i"), "").replace(RESOLUTION_IN_NAME, "").trim();
2364
2385
  return stripped.length > 0 ? stripped : baseName;
2365
2386
  }
2366
2387
  function variantLabel(precision, optimization) {
@@ -2377,9 +2398,11 @@ function smallestSizeMB(entry) {
2377
2398
  return sizes.length > 0 ? Math.min(...sizes) : 0;
2378
2399
  }
2379
2400
  var TIER_ORDER = [
2401
+ "t",
2380
2402
  "n",
2381
2403
  "s",
2382
2404
  "m",
2405
+ "c",
2383
2406
  "l",
2384
2407
  "x"
2385
2408
  ];
@@ -2421,7 +2444,7 @@ function buildModelVariantGroups(models) {
2421
2444
  if (a.optimization !== b.optimization) return a.optimization === "fast" ? 1 : -1;
2422
2445
  return PRECISION_ORDER.indexOf(a.precision) - PRECISION_ORDER.indexOf(b.precision);
2423
2446
  });
2424
- const base = options.find((o) => o.precision === "fp32" && o.optimization === "standard" && o.resolution === void 0) ?? options[0];
2447
+ const base = options.find((o) => o.precision === "fp32" && o.optimization === "standard") ?? options[0];
2425
2448
  if (base === void 0) continue;
2426
2449
  const baseEntry = entries.find((e) => e.id === base.modelId);
2427
2450
  tierList.push({
@@ -2456,15 +2479,9 @@ function buildModelVariantGroups(models) {
2456
2479
  function resolveVariantModelId(models, selection) {
2457
2480
  const precision = selection.precision ?? "fp32";
2458
2481
  const optimization = selection.optimization ?? "standard";
2459
- for (const m of models) {
2460
- if (m.group === void 0) continue;
2461
- if (m.group.family !== selection.family || m.group.tier !== selection.tier) continue;
2462
- if ((m.group.precision ?? "fp32") !== precision) continue;
2463
- if ((m.group.optimization ?? "standard") !== optimization) continue;
2464
- if (m.group.resolution !== selection.resolution) continue;
2465
- return m.id;
2466
- }
2467
- return null;
2482
+ const candidates = models.filter((m) => m.group !== void 0 && m.group.family === selection.family && m.group.tier === selection.tier && (m.group.precision ?? "fp32") === precision && (m.group.optimization ?? "standard") === optimization);
2483
+ if (selection.resolution !== void 0) return candidates.find((m) => m.group?.resolution === selection.resolution)?.id ?? null;
2484
+ return candidates.toSorted((a, b) => (b.group?.resolution ?? Infinity) - (a.group?.resolution ?? Infinity))[0]?.id ?? null;
2468
2485
  }
2469
2486
  /** Inverse: describe a flat model id as a grouped selection, or `null`. */
2470
2487
  function describeModelVariant(models, modelId) {
@@ -11411,128 +11428,103 @@ var COCO_TO_MACRO = {
11411
11428
  var AUDIO_MACRO_LABELS = [
11412
11429
  {
11413
11430
  id: "speech",
11414
- name: "Speech",
11415
- icon: "🗣️"
11431
+ name: "Speech"
11416
11432
  },
11417
11433
  {
11418
11434
  id: "scream",
11419
- name: "Scream / Shout",
11420
- icon: "😱"
11435
+ name: "Scream / Shout"
11421
11436
  },
11422
11437
  {
11423
11438
  id: "crying",
11424
- name: "Crying / Baby",
11425
- icon: "😢"
11439
+ name: "Crying / Baby"
11426
11440
  },
11427
11441
  {
11428
11442
  id: "laughter",
11429
- name: "Laughter",
11430
- icon: "😂"
11443
+ name: "Laughter"
11431
11444
  },
11432
11445
  {
11433
11446
  id: "music",
11434
- name: "Music",
11435
- icon: "🎵"
11447
+ name: "Music"
11436
11448
  },
11437
11449
  {
11438
11450
  id: "dog",
11439
- name: "Dog",
11440
- icon: "🐕"
11451
+ name: "Dog"
11441
11452
  },
11442
11453
  {
11443
11454
  id: "cat",
11444
- name: "Cat",
11445
- icon: "🐈"
11455
+ name: "Cat"
11446
11456
  },
11447
11457
  {
11448
11458
  id: "bird",
11449
- name: "Bird",
11450
- icon: "🐦"
11459
+ name: "Bird"
11451
11460
  },
11452
11461
  {
11453
11462
  id: "animal",
11454
- name: "Animal (other)",
11455
- icon: "🐾"
11463
+ name: "Animal (other)"
11456
11464
  },
11457
11465
  {
11458
11466
  id: "alarm",
11459
- name: "Alarm / Siren",
11460
- icon: "🚨"
11467
+ name: "Alarm / Siren"
11461
11468
  },
11462
11469
  {
11463
11470
  id: "doorbell",
11464
- name: "Doorbell / Knock",
11465
- icon: "🔔"
11471
+ name: "Doorbell / Knock"
11466
11472
  },
11467
11473
  {
11468
11474
  id: "glass_breaking",
11469
- name: "Glass Breaking",
11470
- icon: "💥"
11475
+ name: "Glass Breaking"
11471
11476
  },
11472
11477
  {
11473
11478
  id: "gunshot",
11474
- name: "Gunshot / Explosion",
11475
- icon: "💣"
11479
+ name: "Gunshot / Explosion"
11476
11480
  },
11477
11481
  {
11478
11482
  id: "vehicle",
11479
- name: "Vehicle",
11480
- icon: "🚗"
11483
+ name: "Vehicle"
11481
11484
  },
11482
11485
  {
11483
11486
  id: "siren",
11484
- name: "Emergency Siren",
11485
- icon: "🚑"
11487
+ name: "Emergency Siren"
11486
11488
  },
11487
11489
  {
11488
11490
  id: "fire",
11489
- name: "Fire / Smoke",
11490
- icon: "🔥"
11491
+ name: "Fire / Smoke"
11491
11492
  },
11492
11493
  {
11493
11494
  id: "water",
11494
- name: "Water",
11495
- icon: "💧"
11495
+ name: "Water"
11496
11496
  },
11497
11497
  {
11498
11498
  id: "wind",
11499
- name: "Wind / Weather",
11500
- icon: "🌬️"
11499
+ name: "Wind / Weather"
11501
11500
  },
11502
11501
  {
11503
11502
  id: "door",
11504
- name: "Door",
11505
- icon: "🚪"
11503
+ name: "Door"
11506
11504
  },
11507
11505
  {
11508
11506
  id: "footsteps",
11509
- name: "Footsteps",
11510
- icon: "👣"
11507
+ name: "Footsteps"
11511
11508
  },
11512
11509
  {
11513
11510
  id: "crowd",
11514
- name: "Crowd / Chatter",
11515
- icon: "👥"
11511
+ name: "Crowd / Chatter"
11516
11512
  },
11517
11513
  {
11518
11514
  id: "telephone",
11519
- name: "Telephone",
11520
- icon: "📞"
11515
+ name: "Telephone"
11521
11516
  },
11522
11517
  {
11523
11518
  id: "engine",
11524
- name: "Engine / Motor",
11525
- icon: "⚙️"
11519
+ name: "Engine / Motor"
11526
11520
  },
11527
11521
  {
11528
11522
  id: "tools",
11529
- name: "Tools / Construction",
11530
- icon: "🔨"
11523
+ name: "Tools / Construction"
11531
11524
  },
11532
11525
  {
11533
11526
  id: "silence",
11534
- name: "Silence",
11535
- icon: "🤫"
11527
+ name: "Silence"
11536
11528
  }
11537
11529
  ];
11538
11530
  var YAMNET_TO_MACRO = {
@@ -16966,6 +16958,12 @@ var DetailResultSchema = z.object({
16966
16958
  /** FRAME-space bbox (already mapped back from crop space). */
16967
16959
  bbox: NativeCropBboxSchema.optional(),
16968
16960
  embedding: z.string().optional(),
16961
+ /**
16962
+ * L2 magnitude of the RAW pre-normalization embedding. Additive and optional
16963
+ * so an older runner that does not send it degrades to "unmeasurable", which
16964
+ * the consuming gate treats as accept — never as reject.
16965
+ */
16966
+ embeddingMagnitude: z.number().optional(),
16969
16967
  label: z.string().optional(),
16970
16968
  /**
16971
16969
  * The tier `label` occupies, copied VERBATIM from the producing step's
@@ -43055,6 +43053,21 @@ var AUDIO_KIND_PREFIX = "audio-";
43055
43053
  function normalizeAudioLabel(value) {
43056
43054
  return value.startsWith(AUDIO_KIND_PREFIX) ? value.slice(6) : value;
43057
43055
  }
43056
+ /**
43057
+ * The inverse: a macro id in the taxonomy's namespace (`dog` → `audio-dog`),
43058
+ * which is the `iconId` every UI resolves to a glyph (`EVENT_KIND_ICONS` in
43059
+ * `@camstack/ui-library`, `event-kind-icons.ts` in the viewer). Idempotent, so
43060
+ * a value that already carries the namespace is passed through unchanged.
43061
+ *
43062
+ * This lives here — beside `normalizeAudioLabel` and next to the vocabulary
43063
+ * itself — rather than in a UI package, because the *id* is data and the *glyph*
43064
+ * is presentation: the server puts the id on a config option, and whichever
43065
+ * renderer picks it up (lucide-react on the web, lucide-react-native in the
43066
+ * viewer) supplies its own component for it.
43067
+ */
43068
+ function audioKindId(macroId) {
43069
+ return macroId.startsWith(AUDIO_KIND_PREFIX) ? macroId : `${AUDIO_KIND_PREFIX}${macroId}`;
43070
+ }
43058
43071
  /** Level bounds, in dBFS. Negative-going: the ceiling is full scale. */
43059
43072
  var NC_AUDIO_DB_MIN = -96;
43060
43073
  var NC_AUDIO_DB_MAX = 0;
@@ -43161,16 +43174,16 @@ function patchAudio(current, patch) {
43161
43174
  samplingSeconds: clampInt(patch.samplingSeconds ?? base.samplingSeconds, 1, 300)
43162
43175
  };
43163
43176
  }
43164
- /** The icon glyph for a stored label the catalogue does not know. */
43165
- var UNKNOWN_LABEL_ICON = "🔈";
43166
- var ICON_BY_ID = new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
43167
43177
  /**
43168
- * The label choices: the hub's `audioKinds` when it serves them (its WORDS, the
43169
- * local EMOJI, keyed by the normalized id), else the local macro catalog — plus
43170
- * any stored label neither side knows, marked unknown.
43178
+ * The label choices: the hub's `audioKinds` when it serves them (its WORDS,
43179
+ * keyed by the normalized id), else the local macro catalog — plus any stored
43180
+ * label neither side knows, marked unknown.
43171
43181
  *
43172
43182
  * The hub's list wins on membership because it knows which macros this cluster
43173
- * actually classifies; the icons stay local because the taxonomy carries none.
43183
+ * actually classifies. The icon id is DERIVED from the id rather than looked
43184
+ * up, so a class the hub serves and this build has never heard of still gets a
43185
+ * drawable id (the renderer falls back to the audio glyph for an unmapped
43186
+ * `audio-*`) instead of a question mark.
43174
43187
  */
43175
43188
  function audioLabelChoices(taxonomy, selected) {
43176
43189
  const fromHub = taxonomy?.audioKinds ?? [];
@@ -43179,13 +43192,13 @@ function audioLabelChoices(taxonomy, selected) {
43179
43192
  return {
43180
43193
  value: id,
43181
43194
  label: entry.label,
43182
- icon: ICON_BY_ID.get(id) ?? UNKNOWN_LABEL_ICON,
43195
+ iconId: audioKindId(id),
43183
43196
  unknown: false
43184
43197
  };
43185
43198
  }) : AUDIO_MACRO_LABELS.map((macro) => ({
43186
43199
  value: macro.id,
43187
43200
  label: macro.name,
43188
- icon: macro.icon ?? UNKNOWN_LABEL_ICON,
43201
+ iconId: audioKindId(macro.id),
43189
43202
  unknown: false
43190
43203
  }));
43191
43204
  const known = new Set(choices.map((choice) => choice.value));
@@ -43197,7 +43210,7 @@ function audioLabelChoices(taxonomy, selected) {
43197
43210
  choices.push({
43198
43211
  value: id,
43199
43212
  label: id,
43200
- icon: UNKNOWN_LABEL_ICON,
43213
+ iconId: audioKindId(id),
43201
43214
  unknown: true
43202
43215
  });
43203
43216
  }
@@ -46638,4 +46651,4 @@ function enumerateInferenceDevices(hw) {
46638
46651
  return out;
46639
46652
  }
46640
46653
  //#endregion
46641
- export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
46654
+ export { ACCESSORY_LABEL, ACCESS_ROLES, ALEXA_EGRESS_PROFILE, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_ANALYSIS_CAP_NAME, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AUDIO_PRESETS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionCandidateResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, AdoptionJobSchema, AdoptionJobStateSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, AdoptionOutcomeSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationActionSchema, AutomationConditionOperatorSchema, AutomationConditionSchema, AutomationControlStatusSchema, AutomationRecipeSchema, AutomationTriggerSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BASE_LIVE_EGRESS_PROFILE, BATTERY_DEVICE_PROFILE, BATTERY_UNREACHABLE_AFTER_MS, BOOT_RECOVERY_BACKOFF_MS, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAMERA_SWITCH_CATALOG, CAMERA_SWITCH_ORDER, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CONNECTION_TEST_TIMEOUT_MS, CORE_BLOCKS_ADDON_ID, CORE_BLOCK_ADDON_PREFIX, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusDegradationReasonSchema, CameraStatusDegradationSchema, CameraStatusSchema, CameraStatusStageSchema, CameraStreamSchema, CameraSwitchAuthoritySchema, CameraSwitchGroupSchema, CameraSwitchIdSchema, CameraSwitchSchema, CameraSwitchUnavailableReasonSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectionTestDescriptorSchema, ConnectionTestInputSchema, ConnectionTestOutcomeSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoreBlockCompileResultSchema, CoreBlockInputSchema, CoreBlockPlacementSchema, CoreBlockSchema, CoreBlockStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_DETAIL_CROP_CONVENTION, DEFAULT_EVENTS_BAND_BUFFER_SEC, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_NATIVE_LEASE_SETTINGS, DEFAULT_POOL_MEMORY_POLICY, DEFAULT_RECORDING_PROFILES, DEFAULT_RETENTION, DEFAULT_RUNTIME_STATE_DURABILITY, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEFAULT_TIMELAPSE_PREVIEW_TEXT, DETAIL_CROP_PADDING_FIELD, DETAIL_CROP_PADDING_KEY, DETAIL_CROP_SECTION_ID, DETAIL_CROP_SQUARE_KEY, DETECTION_MACRO_CLASSES, DETECTION_PIPELINE_CAP_NAME, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SCOPED_CAPS, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATE_READERS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DeclaredDevices, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetailCropConventionSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceSelectorSchema, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DiskReconcileJobSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPORT_DENSE_MAX_RANGES, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, EgressEncodeSchema, EgressRateControlSchema, EgressTranscodeRequestSchema, EgressTranscodeSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventMediaArtifactSchema, EventMediaCoverageSchema, EventMediaKindSchema, EventMediaProductionSchema, EventSourceType, ExportBytesSchema, ExportDenseRangeSchema, ExportDenseSchema, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionBindingSourceSchema, ExpressionEvalError, ExpressionFieldBindingSchema, ExpressionGlobalBindingSchema, ExpressionLiteralBindingSchema, ExpressionParseError, ExpressionSourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, Fmp4BoxSplitter, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HAP_AUDIO_BASE, HAP_AUDIO_BITRATE_KBPS, HAP_AUDIO_VBV_KBITS, HAP_KEYFRAME_INTERVAL_SEC, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HfModelResolutionSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelAttributionSchema, LabelDefinitionSchema, LabelTierSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LinkedDevicesModeSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmDownloadProgressSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRetryPolicySchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmTimeoutDefaults, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_CLIP_EVENT_IDS, MAX_CLIP_LABELS, MAX_CONDITION_DEPTH, MAX_CONDITION_LEAVES, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, METHOD_DEVICE_SELECTORS, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelExtraFileSchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileInfoSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NATIVE_LEASE_ACTIVITY_FIELD, NATIVE_LEASE_ACTIVITY_KEY, NATIVE_LEASE_ADMISSION_FIELD, NATIVE_LEASE_ADMISSION_KEY, NATIVE_LEASE_BUDGET_FIELD, NATIVE_LEASE_BUDGET_KEY, NATIVE_LEASE_HOLD_FIELD, NATIVE_LEASE_HOLD_KEY, NATIVE_LEASE_SECTION_ID, NATIVE_LEASE_TILE_BUDGET_FIELD, NATIVE_LEASE_TILE_BUDGET_KEY, NC_ALARM_SYSTEM_EVENT_KINDS, NC_AUDIO_DBFS_FLOOR, NC_AUDIO_DB_MAX, NC_AUDIO_DB_MIN, NC_AUDIO_DB_OFFERED, NC_AUDIO_DB_STEP, NC_AUDIO_DEFAULTS, NC_AUDIO_HIT_PERCENT_MAX, NC_AUDIO_HIT_PERCENT_MIN, NC_AUDIO_SAMPLING_MAX_SEC, NC_AUDIO_SAMPLING_MIN_SEC, NC_AUDIO_SEED, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_DEFAULT_SNOOZE_MINUTES, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_OCCUPANCY_DEFAULTS, NC_RULE_EDITOR_SECTION_ORDER, NC_RULE_KIND_SPECS, NC_RULE_SECTIONS, NC_SNOOZE_MAX_MINUTES, NC_SYSTEM_DELIVERY, NC_SYSTEM_EVENT_FILTER_KEYS, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeLeaseAdmissionSchema, NativeLeaseSettingsSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcAlarmConfigSchema, NcAlarmModeCoverageSchema, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, NcAlarmSkipReasonSchema, NcAlarmSkippedDeviceSchema, NcAudioConditionSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcConfirmExpectSchema, NcConfirmSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcSceneConditionSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcSystemEventConditionSchema, NcSystemEventKindSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionIconSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdRenderOutcomeEnum, OsdRenderResultSchema, OsdSlotBindingSchema, OsdSlotViewSchema, OsdSourceOptionSchema, OsdSourceSchema, OsdSourceValueTypeEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PRIVACY_MASK_CAP_NAME, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PoolMemoryWatchdog, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RATE_CONTROL_RELAXED, RATE_CONTROL_TIGHT, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RECORDING_EXPORT_MAX_READ_BYTES, RESERVED_BINDING_NAMES, RESTORED_CAP_NAMES, RUNTIME_DEFAULTS, RUNTIME_STATE_POLICY, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadGopBytesResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRebalanceInputSchema, RecordingRebalanceMoveSchema, RecordingRebalancePlanSchema, RecordingRebalanceSkipReasonSchema, RecordingRebalanceSkipSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageClassSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, RetrainFrameCandidateSchema, RetrainFrameListSchema, RetrainFrameSchema, RetrainFrameSelectionSchema, RetrainMacroClassSchema, RetrainStatusSchema, RetrainTrackSchema, RetrainTransitionResultSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCENE_CONDITIONS, SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, SCENE_DEFAULT_ANCHOR_THRESHOLD, SCENE_DEFAULT_CHECK_INTERVAL_SEC, SCENE_DEFAULT_OBSERVATION_SPACING_SEC, SCENE_DEFAULT_QUIET_SECONDS, SCENE_DEFAULT_UNCOVERED_POLICY, SCENE_DIVERGED, SCENE_RESET_RECAPTURES, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SYSTEM_SCOPE_DEVICE_METHODS, SceneCheckSchema, SceneConditionSchema, SceneConfirmSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, SceneUnavailableSchema, SceneUncoveredPolicySchema, SceneVerdictSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SetSiteLocationInputSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SiteLocationSchema, SiteLocationSourceSchema, SiteLocationStatusSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, StorageMigrationClassSchema, StorageMigrationDestinationsSchema, StorageMigrationFootageMoveInputSchema, StorageMigrationInputSchema, StorageMigrationJobSchema, StorageMigrationLeaseInputSchema, StorageMigrationMediaMoveInputSchema, StorageMigrationMoveSchema, StorageMigrationParticipantSchema, StorageMigrationPhaseSchema, StorageMigrationPlanSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMELAPSE_DENSE_FLOOR_SEC, TIMEZONES, TRANSCODE_DOWN_MAX_BITRATE_KBPS, TRANSCODE_DOWN_MAX_HEIGHT, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalInstanceInfoSchema, TerminalLegacyCameraSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestConnectionStatusEnum, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackFlagsPatchSchema, TrackFlagsSchema, TrackProjectionSchema, TrackSchema, TrackSourceSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TrainingExportDeviceTotalsSchema, TrainingExportSummarySchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VISIT_MERGE_GAP_MS, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VectorDeclareIndexInputSchema, VectorDeleteByFilterInputSchema, VectorDeleteInputSchema, VectorDeleteResultSchema, VectorFilterSchema, VectorGetInputSchema, VectorGetResultSchema, VectorItemSchema, VectorMatchSchema, VectorMetadataSchema, VectorMetricSchema, VectorQueryInputSchema, VectorQueryResultSchema, VectorStatsInputSchema, VectorStatsResultSchema, VectorUpsertInputSchema, VectorUpsertResultSchema, VibrationStatusSchema, VideoEncodeSchema, WEBRTC_EGRESS_PROFILE, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, asBoolean, asJsonArray, asJsonObject, asNumber, asString, assertTimelapseCadences, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioIsFailClosed, audioKindId, audioLabelChoices, audioMetricsCapability, audioModeOf, audioOrDefaults, audioPlanFromEncodeProfile, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, bareAddonId, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildAudioArgs, buildEventKindDescriptor, buildFfmpegArgs, buildInputArgs, buildModelVariantGroups, buildNcTaxonomy, buildRoleScopes, buildStreamParamsConfigSchema, buildVideoArgs, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, canonicalEgressPlan, carbonMonoxideCapability, cellsToRects, classifyBearerPrincipal, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, commitWatchdogRestart, compileExpression, compileExpressionSafe, composeSwitchedOff, conditionDepth, conditionExclusionReason, conditionVisibleForKind, connectionTestCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlockAddonId, coreBlockIdFromAddonId, coreBlocksCapability, cosineSimilarity, countConditionLeaves, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createHwAccelCache, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, declarationOwnerNodeId, decodeVectorBase64, decoderCapability, defaultDeliveryForSection, defaultDeviceFor, defineCustomActions, deriveBatteryPresence, deriveCameraSwitches, deriveDetailCropRect, deriveRecordingMode, describeModelVariant, detectAccessRole, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceSelectorMatches, deviceStateCapability, deviceStatusCapability, doorbellCapability, droppedConditionsForKind, egressTranscodeSharingKey, egressTransportFromRequest, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, encodeVectorBase64, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateExpressionSource, evaluatePoolMemory, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, generateAutomationBlock, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, initialPoolMemoryState, integrationsCapability, intercomCapability, invocationFromEncodeProfile, isAgentOnlyPlacement, isArrayOutputSchema, isAudioLabelSelected, isAudioRule, isBaseConditionKey, isBatteryPresenceFault, isCollectionArrayMethod, isDeployableToAgent, isDetectionMacroClass, isDeviceConfigCap, isDeviceScopedCap, isEvent, isIsolatedBuiltin, isNode, isObjectInput, isOccupancyRule, isRestoredCap, isSameAddonId, isScheduleActive, isSoftwareDecode, isSystemDelivery, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logBannerArgs, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, methodAccessForHttpMethod, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeAudioLabel, normalizeTokenScopes, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, osdManagerCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProcStatus, parseProfileBrokerId, parseRuleSection, parseStreamParamsFormPatch, patchAudio, petFeederCapability, pickAccessoryControl, pickDetailCropConvention, pickNativeLeaseOverride, pickPreferredRtspEntry, pickRestartCandidate, pickVideoEncoder, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, poolMemoryThreshold, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, principalMayReachAddon, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDetailCropConvention, readDeviceStateFrom, readNativeLeaseOverride, readNodePin, readTimelapseGeneratedAt, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resetPoolBaseline, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveEgressDecodeHwAccel, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolvePoolMemoryPolicy, resolveRecordingProfiles, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, resolveViewableDeviceIds, roleSpec, ruleEditorSectionsForKind, ruleKindOf, ruleKindSpec, ruleMatchesSection, ruleSection, ruleSectionOf, ruleSeedForSection, runInferenceStep, runtimeDevices, runtimeStatePolicyFor, sceneMonitorCapability, scopeInherits, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageMigrationCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, summarisePrivacyAudio, summarizeEffectiveScope, supportedRuntimes, switchCapability, switchedOffIds, synthesizeSourceInfo, systemCapability, systemEventFilterApplies, systemEventFilterAppliesToAnyKind, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toNodeId, toStreamSourceEntry, toastCapability, toggleAudioLabel, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, validateRecipeBounds, valveCapability, vectorDimFromBase64, vectorStoreCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
@@ -522,6 +522,15 @@ export interface ConfigOption {
522
522
  label: string;
523
523
  description?: string;
524
524
  icon?: string;
525
+ /**
526
+ * Event-taxonomy icon id (`audio-dog`, `person`, …). DATA, not a glyph: the
527
+ * renderer resolves it — `resolveEventKindIcon` (lucide-react) on the web,
528
+ * the viewer's own `lucide-react-native` map on native — so one option shape
529
+ * draws correctly on both. Prefer this to baking a character into `label`:
530
+ * the audio classifier used to ship `` `${emoji} ${name}` ``, which pinned
531
+ * every UI to one glyph vocabulary the shared icon set did not use.
532
+ */
533
+ iconId?: string;
525
534
  }
526
535
  /**
527
536
  * Editable array of records. Each row exposes the fields declared in
@@ -566,12 +566,16 @@ export interface EventCatalog {
566
566
  readonly packageName: string;
567
567
  readonly currentVersion: string;
568
568
  readonly latestVersion: string;
569
- /** Node whose installed addon roster was checked, when not the hub. */
569
+ /**
570
+ * The node this announcement is ABOUT — `hub` for the hub itself. One event
571
+ * covers exactly one node (2026-08-19): a union across nodes produced three
572
+ * pushes that looked identical and named nobody.
573
+ */
570
574
  readonly nodeId?: string;
571
575
  /**
572
- * The FULL currently-available set. Present when the emitter batches on a
573
- * `latestVersion` change so one notification can list every package (or
574
- * every node, for `target: 'server'`) instead of one event per row.
576
+ * The FULL currently-available set OF THAT NODE. Present when the emitter
577
+ * batches on a `latestVersion` change so one notification can list every
578
+ * package instead of one event per row.
575
579
  */
576
580
  readonly packages?: readonly {
577
581
  readonly packageName: string;
@@ -579,7 +583,7 @@ export interface EventCatalog {
579
583
  readonly latestVersion: string;
580
584
  readonly nodeId?: string;
581
585
  }[];
582
- /** Nodes currently behind, when `target` is `server`. */
586
+ /** The announcing node, as a list — one entry, mirroring `nodeId`. */
583
587
  readonly nodeIds?: readonly string[];
584
588
  };
585
589
  'system.ready-state': SystemReadyStatePayload;
@@ -8,24 +8,6 @@ export interface Integration {
8
8
  readonly createdAt: number;
9
9
  readonly updatedAt: number;
10
10
  }
11
- /** Persisted device */
12
- export interface PersistedDevice {
13
- readonly id: string;
14
- readonly integrationId: string;
15
- readonly stableId: string;
16
- readonly type: string;
17
- readonly name: string;
18
- readonly enabled: boolean;
19
- readonly info: Readonly<Record<string, unknown>>;
20
- readonly createdAt: number;
21
- readonly updatedAt: number;
22
- }
23
- /** Setting entry with typed value */
24
- export interface TypedSetting {
25
- readonly key: string;
26
- readonly value: string;
27
- readonly valueType: 'string' | 'number' | 'boolean' | 'json';
28
- }
29
11
  /** Input for creating an integration */
30
12
  export interface CreateIntegrationInput {
31
13
  readonly addonId: string;
@@ -34,25 +16,18 @@ export interface CreateIntegrationInput {
34
16
  readonly info?: Record<string, unknown>;
35
17
  readonly settings?: Record<string, unknown>;
36
18
  }
37
- /** Input for creating a device */
38
- export interface CreateDeviceInput {
39
- readonly integrationId: string;
40
- readonly stableId: string;
41
- readonly type: string;
42
- readonly name: string;
43
- readonly enabled?: boolean;
44
- readonly info?: Record<string, unknown>;
45
- readonly settings?: Record<string, unknown>;
46
- }
47
- /** What a provider addon must return for device identity */
48
- export interface DeviceIdentity {
49
- readonly stableId: string;
50
- readonly type: string;
51
- readonly name: string;
52
- readonly info?: Record<string, unknown>;
53
- readonly settings?: Record<string, unknown>;
54
- }
55
- /** Registry interface for managing integrations and devices */
19
+ /**
20
+ * The integration store.
21
+ *
22
+ * It carried a device half until 2026-08-19 — `createDevice`, `listCameras`,
23
+ * `setDeviceSetting` and a `dev_NNNN` id-space — declared on this interface,
24
+ * implemented over two SQLite tables, wrapped by the visibility filter, and
25
+ * called by nothing. Both tables held 0 rows against 974 live devices. The
26
+ * device authority is the `device-manager` capability
27
+ * ([D183](../../decisions/adr-0183-code-that-is-deleted-takes-its-tables-with-it.md));
28
+ * this interface is integrations only, and adding a device method back means
29
+ * creating a second authority.
30
+ */
56
31
  export interface IIntegrationRegistry {
57
32
  createIntegration(input: CreateIntegrationInput): Promise<Integration>;
58
33
  getIntegration(id: string): Promise<Integration | null>;
@@ -63,14 +38,4 @@ export interface IIntegrationRegistry {
63
38
  getIntegrationSettings(integrationId: string): Promise<Record<string, unknown>>;
64
39
  setIntegrationSetting(integrationId: string, key: string, value: unknown): Promise<void>;
65
40
  setIntegrationSettings(integrationId: string, settings: Record<string, unknown>): Promise<void>;
66
- createDevice(input: CreateDeviceInput): Promise<PersistedDevice>;
67
- getDevice(id: string): Promise<PersistedDevice | null>;
68
- getDeviceByStableId(stableId: string): Promise<PersistedDevice | null>;
69
- listDevices(integrationId?: string): Promise<readonly PersistedDevice[]>;
70
- listCameras(): Promise<readonly PersistedDevice[]>;
71
- updateDevice(id: string, updates: Partial<Pick<PersistedDevice, 'name' | 'enabled' | 'info'>>): Promise<PersistedDevice | null>;
72
- deleteDevice(id: string): Promise<boolean>;
73
- getDeviceSettings(deviceId: string): Promise<Record<string, unknown>>;
74
- setDeviceSetting(deviceId: string, key: string, value: unknown): Promise<void>;
75
- setDeviceSettings(deviceId: string, settings: Record<string, unknown>): Promise<void>;
76
41
  }
@@ -35,6 +35,19 @@ import { type NcAudioCondition } from '../capabilities/notification-rules.cap.js
35
35
  import type { NcTaxonomy } from '../catalogs/nc-taxonomy.js';
36
36
  /** Strip the taxonomy's `audio-` namespace: `audio-dog` and `dog` are one label. */
37
37
  export declare function normalizeAudioLabel(value: string): string;
38
+ /**
39
+ * The inverse: a macro id in the taxonomy's namespace (`dog` → `audio-dog`),
40
+ * which is the `iconId` every UI resolves to a glyph (`EVENT_KIND_ICONS` in
41
+ * `@camstack/ui-library`, `event-kind-icons.ts` in the viewer). Idempotent, so
42
+ * a value that already carries the namespace is passed through unchanged.
43
+ *
44
+ * This lives here — beside `normalizeAudioLabel` and next to the vocabulary
45
+ * itself — rather than in a UI package, because the *id* is data and the *glyph*
46
+ * is presentation: the server puts the id on a config option, and whichever
47
+ * renderer picks it up (lucide-react on the web, lucide-react-native in the
48
+ * viewer) supplies its own component for it.
49
+ */
50
+ export declare function audioKindId(macroId: string): string;
38
51
  /** Level bounds, in dBFS. Negative-going: the ceiling is full scale. */
39
52
  export declare const NC_AUDIO_DB_MIN = -96;
40
53
  export declare const NC_AUDIO_DB_MAX = 0;
@@ -141,16 +154,26 @@ export declare function patchAudio(current: NcAudioCondition | undefined, patch:
141
154
  export interface NcAudioLabelChoice {
142
155
  readonly value: string;
143
156
  readonly label: string;
144
- readonly icon: string;
157
+ /**
158
+ * Event-taxonomy icon id (`audio-dog`), NOT a glyph. The editor resolves it
159
+ * with its own icon set — `resolveEventKindIcon` (lucide-react) in the admin,
160
+ * `lucide-react-native` in the viewer — so both draw the same icon the
161
+ * timeline and the events tree already use for that class. This used to be an
162
+ * emoji, which is one vocabulary, chosen here, that no other surface spoke.
163
+ */
164
+ readonly iconId: string;
145
165
  readonly unknown: boolean;
146
166
  }
147
167
  /**
148
- * The label choices: the hub's `audioKinds` when it serves them (its WORDS, the
149
- * local EMOJI, keyed by the normalized id), else the local macro catalog — plus
150
- * any stored label neither side knows, marked unknown.
168
+ * The label choices: the hub's `audioKinds` when it serves them (its WORDS,
169
+ * keyed by the normalized id), else the local macro catalog — plus any stored
170
+ * label neither side knows, marked unknown.
151
171
  *
152
172
  * The hub's list wins on membership because it knows which macros this cluster
153
- * actually classifies; the icons stay local because the taxonomy carries none.
173
+ * actually classifies. The icon id is DERIVED from the id rather than looked
174
+ * up, so a class the hub serves and this build has never heard of still gets a
175
+ * drawable id (the renderer falls back to the audio glyph for an unmapped
176
+ * `audio-*`) instead of a question mark.
154
177
  */
155
178
  export declare function audioLabelChoices(taxonomy: NcTaxonomy | undefined, selected: readonly string[] | undefined): {
156
179
  readonly choices: readonly NcAudioLabelChoice[];
@@ -237,6 +237,20 @@ export interface ObjectDetection extends DetectionBase {
237
237
  /** Model id that produced `embedding` (e.g. `arcface-r100`). Present iff
238
238
  * `embedding` is present — lets consumers skip samples from a stale model. */
239
239
  readonly embeddingModelId?: string;
240
+ /**
241
+ * L2 magnitude of the RAW (pre-normalization) embedding — i.e. `‖v‖` of the
242
+ * vector `embedding` is the unit form of. Present iff `embedding` is.
243
+ *
244
+ * It is here because it is a free quality signal that used to be destroyed:
245
+ * the arcface postprocessor returns the raw vector and its normalized form,
246
+ * and the assembler kept only the normalized one. For this model a usable
247
+ * face sits at ‖v‖ ≈ 4.4 whatever its size, grey level or blur, while an
248
+ * information-free crop jumps to 10–16 — and a degenerate crop scores HIGH
249
+ * cosine against everything, so it can only be caught before matching, never
250
+ * by a threshold. See `pipeline/embedding-magnitude-gate.ts` in
251
+ * addon-post-analysis for the measurement and the gate.
252
+ */
253
+ readonly embeddingMagnitude?: number;
240
254
  /**
241
255
  * The EXACT landmark-aligned crop (base64-encoded JPEG) that a face-embedding
242
256
  * step fed to the recognizer for THIS `face` detail — i.e. the literal ArcFace
@@ -45,9 +45,9 @@ export interface ModelVariantOption {
45
45
  readonly precision: VariantPrecision;
46
46
  readonly optimization: VariantOptimization;
47
47
  /**
48
- * Input resolution (square side, px). `undefined` the family's native
49
- * resolution (640 for yolo26). Reduced values (320 / 256) are the reduced-
50
- * input latency variants.
48
+ * Input resolution (square side, px). Every catalog entry states its own; a
49
+ * legacy source that omits it is treated as the family's native (largest)
50
+ * build. Reduced values (320 / 256) are the reduced-input latency variants.
51
51
  */
52
52
  readonly resolution?: number;
53
53
  /** Short chip label: `Standard` | `Int8` | `Fast` | `Fast · Int8`. */
@@ -87,7 +87,7 @@ export declare function resolveVariantModelId(models: readonly ModelVariantSourc
87
87
  readonly tier: string;
88
88
  readonly precision?: VariantPrecision;
89
89
  readonly optimization?: VariantOptimization;
90
- /** `undefined` ⇒ the native-resolution build. */
90
+ /** Omitted ⇒ the native build: the largest input this tier ships. */
91
91
  readonly resolution?: number;
92
92
  }): string | null;
93
93
  /** Inverse: describe a flat model id as a grouped selection, or `null`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.90",
3
+ "version": "1.2.92",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",