@camstack/types 1.1.50 → 1.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2772,6 +2772,143 @@ function getAudioMacroClassIds() {
2772
2772
  return AUDIO_MACRO_LABELS.map((l) => l.id);
2773
2773
  }
2774
2774
  //#endregion
2775
+ //#region src/catalogs/event-taxonomy.ts
2776
+ /**
2777
+ * Unified event-kind taxonomy — THE single source of truth for
2778
+ * `kind → { parentKind, category, level, color, iconId, labelKey, label,
2779
+ * icon }`.
2780
+ *
2781
+ * This dictionary folds together what used to be scattered across four
2782
+ * copies:
2783
+ * - `capabilities/sensor-event-kinds.ts` (sensor cap colors)
2784
+ * - `addon-post-analysis/.../services/event-kinds.ts`
2785
+ * (MOTION/PERSON/VEHICLE… _COLOR constants)
2786
+ * - `ui-library/composites/detection-colors.ts` (CLASS_COLORS)
2787
+ * - `addon-post-analysis/shared/frame/box-drawer.ts` (DEFAULT_COLOR)
2788
+ * - the COCO / audio class maps (macro ↔ sub relationships)
2789
+ *
2790
+ * The DATA (serializable — color/iconId/labelKey/parentKind) lives here in
2791
+ * `@camstack/types`. The UI-side mapping `iconId → lucide component` and
2792
+ * `labelKey → t()` lives in `@camstack/ui-library`. UIs never hardcode a
2793
+ * color or an icon: they read this dictionary (server descriptors carry the
2794
+ * fields inline; the client resolves color/icon/label from `iconId`/`kind`).
2795
+ *
2796
+ * Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
2797
+ */
2798
+ var TAXONOMY_COLORS = {
2799
+ motion: "#f59e0b",
2800
+ audio: "#06b6d4",
2801
+ person: "#22c55e",
2802
+ vehicle: "#3b82f6",
2803
+ animal: "#f97316",
2804
+ package: "#a855f7",
2805
+ sensor: "#8b5cf6",
2806
+ control: "#10b981",
2807
+ genericDetection: "#64748b"
2808
+ };
2809
+ /** Global default color when a kind is unknown (matches legacy box-drawer). */
2810
+ var DEFAULT_EVENT_COLOR = "#22ff55";
2811
+ var DETECTION_SUB_COLORS = {
2812
+ car: "#f59e0b",
2813
+ truck: "#d97706",
2814
+ bus: "#b45309",
2815
+ motorcycle: "#eab308",
2816
+ bicycle: "#ca8a04",
2817
+ airplane: "#60a5fa",
2818
+ boat: "#2563eb",
2819
+ train: "#1d4ed8",
2820
+ bird: "#14b8a6",
2821
+ dog: "#84cc16",
2822
+ cat: "#f97316",
2823
+ horse: "#a16207",
2824
+ sheep: "#a3a3a3",
2825
+ cow: "#78716c",
2826
+ elephant: "#6b7280",
2827
+ bear: "#7c2d12",
2828
+ zebra: "#404040",
2829
+ giraffe: "#d4a373"
2830
+ };
2831
+ function titleCase(id) {
2832
+ return id.split(/[-_ ]/).filter((p) => p.length > 0).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(" ");
2833
+ }
2834
+ var entries = /* @__PURE__ */ new Map();
2835
+ function macro(kind, category, color, iconId, label) {
2836
+ entries.set(kind, {
2837
+ kind,
2838
+ parentKind: null,
2839
+ level: "macro",
2840
+ category,
2841
+ color,
2842
+ iconId,
2843
+ labelKey: `eventKind.${kind}`,
2844
+ label
2845
+ });
2846
+ }
2847
+ function sub(kind, parentKind, category, color, iconId, label) {
2848
+ entries.set(kind, {
2849
+ kind,
2850
+ parentKind,
2851
+ level: "sub",
2852
+ category,
2853
+ color,
2854
+ iconId,
2855
+ labelKey: `eventKind.${kind}`,
2856
+ label
2857
+ });
2858
+ }
2859
+ macro("motion", "motion", TAXONOMY_COLORS.motion, "motion", "Motion");
2860
+ macro("audio", "audio", TAXONOMY_COLORS.audio, "audio", "Audio");
2861
+ macro("person", "detection", TAXONOMY_COLORS.person, "person", "Person");
2862
+ macro("vehicle", "detection", TAXONOMY_COLORS.vehicle, "vehicle", "Vehicle");
2863
+ macro("animal", "detection", TAXONOMY_COLORS.animal, "animal", "Animal");
2864
+ macro("package", "package", TAXONOMY_COLORS.package, "package", "Package");
2865
+ macro("sensor", "sensor", TAXONOMY_COLORS.sensor, "sensor", "Sensor");
2866
+ macro("control", "control", TAXONOMY_COLORS.control, "control", "Control");
2867
+ for (const [cocoClass, macroClass] of Object.entries(COCO_TO_MACRO.mapping)) {
2868
+ if (macroClass !== "vehicle" && macroClass !== "animal") continue;
2869
+ if (entries.has(cocoClass)) continue;
2870
+ sub(cocoClass, macroClass, "detection", DETECTION_SUB_COLORS[cocoClass] ?? TAXONOMY_COLORS.genericDetection, cocoClass, titleCase(cocoClass));
2871
+ }
2872
+ sub("package-delivered", "package", "package", TAXONOMY_COLORS.package, "package", "Package delivered");
2873
+ sub("package-picked-up", "package", "package", TAXONOMY_COLORS.package, "package", "Package picked up");
2874
+ sub("contact", "sensor", "sensor", "#f59e0b", "door", "Contact");
2875
+ sub("motion-sensor", "sensor", "sensor", TAXONOMY_COLORS.sensor, "pir", "Motion sensor");
2876
+ sub("smoke", "sensor", "sensor", "#ef4444", "smoke", "Smoke");
2877
+ sub("flood", "sensor", "sensor", "#3b82f6", "water", "Water leak");
2878
+ sub("gas", "sensor", "sensor", "#ef4444", "gas", "Gas");
2879
+ sub("carbon-monoxide", "sensor", "sensor", "#dc2626", "smoke", "Carbon monoxide");
2880
+ sub("vibration", "sensor", "sensor", "#eab308", "vibration", "Vibration");
2881
+ sub("tamper", "sensor", "sensor", "#f97316", "tamper", "Tamper");
2882
+ sub("presence", "sensor", "sensor", "#22c55e", "presence", "Presence");
2883
+ sub("enum-sensor", "sensor", "sensor", TAXONOMY_COLORS.sensor, "generic", "Sensor state");
2884
+ sub("device-event", "sensor", "sensor", "#10b981", "button", "Device event");
2885
+ sub("lock", "control", "control", "#0ea5e9", "lock", "Lock");
2886
+ sub("switch", "control", "control", TAXONOMY_COLORS.control, "switch", "Switch");
2887
+ sub("siren", "control", "control", "#dc2626", "siren", "Siren");
2888
+ sub("button", "control", "control", "#10b981", "button", "Button");
2889
+ sub("doorbell", "control", "control", "#a855f7", "doorbell", "Doorbell");
2890
+ for (const l of AUDIO_MACRO_LABELS) {
2891
+ const kind = `audio-${l.id}`;
2892
+ if (entries.has(kind)) continue;
2893
+ sub(kind, "audio", "audio", TAXONOMY_COLORS.audio, kind, l.name);
2894
+ }
2895
+ /** The complete taxonomy dictionary, keyed by kind. */
2896
+ var EVENT_TAXONOMY = Object.freeze(Object.fromEntries(entries));
2897
+ /** Taxonomy entry for a kind, or undefined when unknown. */
2898
+ function getTaxonomyEntry(kind) {
2899
+ return EVENT_TAXONOMY[kind];
2900
+ }
2901
+ /** Color for a kind — dictionary value, else the global default. */
2902
+ function colorForKind(kind) {
2903
+ return EVENT_TAXONOMY[kind]?.color ?? "#22ff55";
2904
+ }
2905
+ /** The sub kinds whose `parentKind` is `macro` (empty for a leaf macro). */
2906
+ function subKindsOf(macro) {
2907
+ const out = [];
2908
+ for (const e of Object.values(EVENT_TAXONOMY)) if (e.parentKind === macro) out.push(e);
2909
+ return out;
2910
+ }
2911
+ //#endregion
2775
2912
  //#region src/types/device-type.ts
2776
2913
  var DEVICE_TYPE_INFO = { ["camera"]: {
2777
2914
  type: "camera",
@@ -12768,7 +12905,6 @@ function createSystemProxy(api) {
12768
12905
  listFrameworkPackages: (input) => dispatch("addons", "listFrameworkPackages", "query", input),
12769
12906
  listCapabilityProviders: (input) => dispatch("addons", "listCapabilityProviders", "query", input),
12770
12907
  setCapabilityProviderEnabled: (input) => dispatch("addons", "setCapabilityProviderEnabled", "mutation", input),
12771
- updateFrameworkPackage: (input) => dispatch("addons", "updateFrameworkPackage", "mutation", input),
12772
12908
  getVersions: (input) => dispatch("addons", "getVersions", "query", input),
12773
12909
  restartAddon: (input) => dispatch("addons", "restartAddon", "mutation", input),
12774
12910
  retryLoad: (input) => dispatch("addons", "retryLoad", "mutation", input),
@@ -18421,17 +18557,30 @@ var EventKindCategorySchema = zod.z.enum([
18421
18557
  "audio",
18422
18558
  "detection",
18423
18559
  "sensor",
18560
+ "control",
18424
18561
  "custom",
18425
18562
  "package"
18426
18563
  ]);
18564
+ /** Taxonomy level — macro (timeline lane) vs sub (events-page leaf). */
18565
+ var EventKindLevelSchema = zod.z.enum(["macro", "sub"]);
18427
18566
  var EventKindDescriptorSchema = zod.z.object({
18428
- /** Stable kind id (e.g. 'motion', 'person', 'contact'). */
18567
+ /** Stable kind id (e.g. 'motion', 'vehicle', 'car', 'lock'). */
18429
18568
  kind: zod.z.string(),
18569
+ /** i18n key resolved on the UI side; `label` is the English fallback. */
18570
+ labelKey: zod.z.string(),
18571
+ /** English fallback label (kept for clients that don't translate). */
18430
18572
  label: zod.z.string(),
18431
18573
  /** Hex color for timeline/legend rendering. */
18432
18574
  color: zod.z.string(),
18575
+ /** Dictionary id → lucide component on the UI side. */
18576
+ iconId: zod.z.string(),
18577
+ /** Legacy closed-vocab glyph — fallback for `iconId`. */
18433
18578
  icon: EventKindIconSchema,
18434
18579
  category: EventKindCategorySchema,
18580
+ /** Macro parent for this kind ('car' → 'vehicle'); null for a macro. */
18581
+ parentKind: zod.z.string().nullable(),
18582
+ /** Derived from `parentKind`, explicit for the client tree. */
18583
+ level: EventKindLevelSchema,
18435
18584
  /** Which cap + device contributes this kind. For built-ins the camera
18436
18585
  * itself; for sensor kinds the LINKED source device. */
18437
18586
  source: zod.z.object({
@@ -18504,11 +18653,21 @@ var TrackAudioLabelSchema = zod.z.object({
18504
18653
  firstAt: zod.z.number(),
18505
18654
  lastAt: zod.z.number()
18506
18655
  });
18656
+ /**
18657
+ * How a track was produced. `pipeline` (default / absent) = the spatial
18658
+ * detection+tracking pipeline. `sensor` = a SYNTHETIC track projected from a
18659
+ * linked sensor/control state change (no positions; carries a snapshot). The
18660
+ * spatial subsystems (tracker association, occupancy count, re-id/embedding,
18661
+ * resurrection) MUST skip `sensor` tracks — they have no bbox trajectory.
18662
+ */
18663
+ var TrackSourceSchema = zod.z.enum(["pipeline", "sensor"]);
18507
18664
  var TrackSchema = zod.z.object({
18508
18665
  trackId: zod.z.string(),
18509
18666
  deviceId: zod.z.number(),
18510
18667
  className: zod.z.string(),
18511
18668
  label: zod.z.string().optional(),
18669
+ /** Track provenance. Absent ⇒ `pipeline` (legacy rows). */
18670
+ source: TrackSourceSchema.optional(),
18512
18671
  firstSeen: zod.z.number(),
18513
18672
  lastSeen: zod.z.number(),
18514
18673
  /** Frame-rate position history (subject to maxPositionHistory cap). */
@@ -19039,53 +19198,107 @@ var pipelineAnalyticsCapability = {
19039
19198
  //#endregion
19040
19199
  //#region src/capabilities/sensor-event-kinds.ts
19041
19200
  /**
19042
- * Sensor cap name static event-kind descriptor. A linked device
19043
- * contributes one entry per bound cap present in this map.
19201
+ * Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
19202
+ * `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
19203
+ * caps into per-camera event-kind descriptors.
19204
+ *
19205
+ * The descriptor DATA (color / iconId / labelKey / parentKind / category)
19206
+ * is NOT duplicated here — every entry is derived from the single
19207
+ * `EVENT_TAXONOMY` dictionary (`catalogs/event-taxonomy.ts`). This file owns
19208
+ * ONLY the cap-name → taxonomy-kind mapping. Adding a new eventful sensor /
19209
+ * control cap means adding one line here (and a taxonomy entry); the anti-
19210
+ * drift guard `scripts/check-event-kind-coverage.ts` fails the build if an
19211
+ * eventful cap is missing.
19044
19212
  */
19045
- var EVENT_KIND_BY_CAP = {
19046
- contact: {
19047
- kind: "contact",
19048
- label: "Contact",
19049
- color: "#f59e0b",
19050
- icon: "door",
19051
- category: "sensor"
19052
- },
19053
- flood: {
19054
- kind: "flood",
19055
- label: "Water leak",
19056
- color: "#3b82f6",
19057
- icon: "water",
19058
- category: "sensor"
19059
- },
19060
- gas: {
19061
- kind: "gas",
19062
- label: "Gas",
19063
- color: "#ef4444",
19064
- icon: "smoke",
19065
- category: "sensor"
19066
- },
19067
- "carbon-monoxide": {
19068
- kind: "carbon-monoxide",
19069
- label: "Carbon monoxide",
19070
- color: "#dc2626",
19071
- icon: "smoke",
19072
- category: "sensor"
19073
- },
19074
- "enum-sensor": {
19075
- kind: "enum-sensor",
19076
- label: "Sensor state",
19077
- color: "#8b5cf6",
19078
- icon: "generic",
19079
- category: "sensor"
19080
- },
19081
- "event-emitter": {
19082
- kind: "device-event",
19083
- label: "Device event",
19084
- color: "#10b981",
19085
- icon: "button",
19086
- category: "sensor"
19087
- }
19213
+ /** Map a taxonomy `iconId` onto the legacy closed `EventKindIcon` enum. */
19214
+ var LEGACY_ICON = {
19215
+ motion: "motion",
19216
+ audio: "audio",
19217
+ person: "person",
19218
+ vehicle: "vehicle",
19219
+ animal: "animal",
19220
+ package: "package",
19221
+ door: "door",
19222
+ pir: "pir",
19223
+ smoke: "smoke",
19224
+ water: "water",
19225
+ button: "button",
19226
+ generic: "generic",
19227
+ gas: "smoke",
19228
+ vibration: "generic",
19229
+ tamper: "generic",
19230
+ presence: "person",
19231
+ lock: "generic",
19232
+ siren: "generic",
19233
+ switch: "generic",
19234
+ doorbell: "button"
19088
19235
  };
19236
+ function legacyIcon(iconId) {
19237
+ return LEGACY_ICON[iconId] ?? "generic";
19238
+ }
19239
+ /**
19240
+ * Cap name → taxonomy kind id. Covers EVERY eventful sensor / control cap.
19241
+ * The anti-drift guard cross-checks this against the eventful caps declared
19242
+ * in `packages/types/src/capabilities/*.cap.ts`.
19243
+ */
19244
+ var CAP_TO_KIND = {
19245
+ contact: "contact",
19246
+ motion: "motion-sensor",
19247
+ smoke: "smoke",
19248
+ flood: "flood",
19249
+ gas: "gas",
19250
+ "carbon-monoxide": "carbon-monoxide",
19251
+ vibration: "vibration",
19252
+ tamper: "tamper",
19253
+ presence: "presence",
19254
+ "enum-sensor": "enum-sensor",
19255
+ "event-emitter": "device-event",
19256
+ "lock-control": "lock",
19257
+ switch: "switch",
19258
+ button: "button",
19259
+ doorbell: "doorbell"
19260
+ };
19261
+ function buildDescriptor(capName, kind) {
19262
+ const t = EVENT_TAXONOMY[kind];
19263
+ if (t === void 0) throw new Error(`EVENT_KIND_BY_CAP: cap '${capName}' maps to unknown taxonomy kind '${kind}'`);
19264
+ return {
19265
+ ...t,
19266
+ icon: legacyIcon(t.iconId)
19267
+ };
19268
+ }
19269
+ /**
19270
+ * Sensor / control cap name → static event-kind descriptor. A linked device
19271
+ * contributes one entry per bound cap present in this map.
19272
+ */
19273
+ var EVENT_KIND_BY_CAP = Object.freeze(Object.fromEntries(Object.entries(CAP_TO_KIND).map(([capName, kind]) => [capName, buildDescriptor(capName, kind)])));
19274
+ /** The cap names covered by the taxonomy (for the anti-drift guard). */
19275
+ var EVENTFUL_CAP_NAMES = Object.keys(CAP_TO_KIND);
19276
+ /**
19277
+ * Build a full `EventKindDescriptor` for a taxonomy `kind`, stamping the
19278
+ * per-device `source`. Returns null when `kind` is not in the taxonomy.
19279
+ * This is THE bridge from the serializable taxonomy dictionary to the cap
19280
+ * wire shape — every event-kind descriptor the server emits goes through it,
19281
+ * so color/iconId/labelKey are never re-declared at a call site.
19282
+ */
19283
+ function buildEventKindDescriptor(kind, source) {
19284
+ const t = EVENT_TAXONOMY[kind];
19285
+ if (t === void 0) return null;
19286
+ return {
19287
+ kind: t.kind,
19288
+ labelKey: t.labelKey,
19289
+ label: t.label,
19290
+ color: t.color,
19291
+ iconId: t.iconId,
19292
+ icon: legacyIcon(t.iconId),
19293
+ category: t.category,
19294
+ parentKind: t.parentKind,
19295
+ level: t.level,
19296
+ source: {
19297
+ capName: source.capName,
19298
+ deviceId: source.deviceId
19299
+ }
19300
+ };
19301
+ }
19089
19302
  //#endregion
19090
19303
  //#region src/capabilities/pipeline-orchestrator.cap.ts
19091
19304
  var CameraPipelineConfigSchema = zod.z.object({
@@ -21369,22 +21582,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
21369
21582
  var RestartAddonResultSchema = zod.z.unknown();
21370
21583
  var InstallPackageResultSchema = zod.z.unknown();
21371
21584
  var ReloadPackagesResultSchema = zod.z.unknown();
21372
- /**
21373
- * Result of `updateFrameworkPackage`. The cap method returns BEFORE the
21374
- * server restarts so the admin UI can react to the `restartingAt`
21375
- * timestamp (shows reconnect overlay). The transition from
21376
- * `fromVersion` to `toVersion` will be confirmed by a subsequent
21377
- * `system.restart-completed` event after the new process boots.
21378
- *
21379
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
21380
- */
21381
- var UpdateFrameworkPackageResultSchema = zod.z.object({
21382
- packageName: zod.z.string(),
21383
- fromVersion: zod.z.string(),
21384
- toVersion: zod.z.string(),
21385
- /** Ms-epoch the server scheduled its self-restart. */
21386
- restartingAt: zod.z.number()
21387
- });
21388
21585
  var BulkUpdateItemStatusSchema = zod.z.enum([
21389
21586
  "queued",
21390
21587
  "updating",
@@ -21630,28 +21827,6 @@ var addonsCapability = {
21630
21827
  kind: "mutation",
21631
21828
  auth: "admin"
21632
21829
  }),
21633
- /**
21634
- * Live-update one of the framework packages marked
21635
- * `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
21636
- * Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
21637
- * writes a `.restart-pending` marker, emits `system.restarting`
21638
- * and schedules a graceful process exit. The supervisor (Docker /
21639
- * Electron / systemd) brings the hub back up; on first boot after
21640
- * the restart the marker fires `system.restart-completed`.
21641
- *
21642
- * `version` defaults to `'latest'`. The allow-list of valid
21643
- * `packageName` values is enforced server-side.
21644
- *
21645
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
21646
- */
21647
- updateFrameworkPackage: require_sleep.method(zod.z.object({
21648
- packageName: zod.z.string().min(1),
21649
- version: zod.z.string().optional(),
21650
- deferRestart: zod.z.boolean().optional()
21651
- }), UpdateFrameworkPackageResultSchema, {
21652
- kind: "mutation",
21653
- auth: "admin"
21654
- }),
21655
21830
  getVersions: require_sleep.method(zod.z.object({ name: zod.z.string() }), zod.z.array(PackageVersionInfoSchema).readonly()),
21656
21831
  restartAddon: require_sleep.method(zod.z.object({ addonId: zod.z.string() }), RestartAddonResultSchema, {
21657
21832
  kind: "mutation",
@@ -25735,12 +25910,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
25735
25910
  addonId: null,
25736
25911
  access: "delete"
25737
25912
  },
25738
- "addons.updateFrameworkPackage": {
25739
- capName: "addons",
25740
- capScope: "system",
25741
- addonId: null,
25742
- access: "create"
25743
- },
25744
25913
  "addons.updatePackage": {
25745
25914
  capName: "addons",
25746
25915
  capScope: "system",
@@ -30648,34 +30817,6 @@ function getCapsByProviderKind(kind) {
30648
30817
  return out;
30649
30818
  }
30650
30819
  //#endregion
30651
- //#region src/lifecycle/framework-swap.ts
30652
- var frameworkSwapPackageSchema = zod.z.object({
30653
- name: zod.z.string(),
30654
- stagedPath: zod.z.string(),
30655
- backupPath: zod.z.string(),
30656
- toVersion: zod.z.string(),
30657
- fromVersion: zod.z.string().nullable()
30658
- });
30659
- var pendingFrameworkSwapSchema = zod.z.object({
30660
- jobId: zod.z.string(),
30661
- taskId: zod.z.string(),
30662
- packages: zod.z.array(frameworkSwapPackageSchema),
30663
- requestedAtMs: zod.z.number(),
30664
- schemaVersion: zod.z.literal(1)
30665
- });
30666
- var frameworkSwapConfirmSchema = zod.z.object({
30667
- jobId: zod.z.string(),
30668
- taskId: zod.z.string(),
30669
- backups: zod.z.array(zod.z.object({
30670
- name: zod.z.string(),
30671
- backupPath: zod.z.string(),
30672
- livePath: zod.z.string()
30673
- })),
30674
- appliedAtMs: zod.z.number(),
30675
- bootAttempts: zod.z.number(),
30676
- schemaVersion: zod.z.literal(1)
30677
- });
30678
- //#endregion
30679
30820
  //#region src/util/location-match.ts
30680
30821
  /**
30681
30822
  * Pure fuzzy matcher for adoption location import. Normalized
@@ -31292,6 +31433,7 @@ exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
31292
31433
  exports.DEFAULT_ADDON_PLACEMENT = DEFAULT_ADDON_PLACEMENT;
31293
31434
  exports.DEFAULT_AUDIO_ANALYZER_CONFIG = DEFAULT_AUDIO_ANALYZER_CONFIG;
31294
31435
  exports.DEFAULT_DECODER_HWACCEL_CONFIG = DEFAULT_DECODER_HWACCEL_CONFIG;
31436
+ exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
31295
31437
  exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
31296
31438
  exports.DEFAULT_RETENTION = DEFAULT_RETENTION;
31297
31439
  exports.DEFAULT_SCRUB_THUMBNAIL_PRESET = DEFAULT_SCRUB_THUMBNAIL_PRESET;
@@ -31331,8 +31473,10 @@ exports.DiscoveredTargetSchema = DiscoveredTargetSchema;
31331
31473
  exports.DisposerChain = require_sleep.DisposerChain;
31332
31474
  exports.DoorbellPressEventSchema = DoorbellPressEventSchema;
31333
31475
  exports.DoorbellStatusSchema = DoorbellStatusSchema;
31476
+ exports.EVENTFUL_CAP_NAMES = EVENTFUL_CAP_NAMES;
31334
31477
  exports.EVENT_KIND_BY_CAP = EVENT_KIND_BY_CAP;
31335
31478
  exports.EVENT_PAD_MS = EVENT_PAD_MS;
31479
+ exports.EVENT_TAXONOMY = EVENT_TAXONOMY;
31336
31480
  exports.EXPRESSION_BUILTINS = EXPRESSION_BUILTINS;
31337
31481
  exports.EXPRESSION_BUILTIN_NAMES = EXPRESSION_BUILTIN_NAMES;
31338
31482
  exports.EXPRESSION_COMPILE_CACHE_CAPACITY = EXPRESSION_COMPILE_CACHE_CAPACITY;
@@ -31677,6 +31821,7 @@ exports.SubscribeFramesResultSchema = require_sleep.SubscribeFramesResultSchema;
31677
31821
  exports.SwitchStatusSchema = SwitchStatusSchema;
31678
31822
  exports.SystemMetricsSchema = SystemMetricsSchema;
31679
31823
  exports.SystemMirror = SystemMirror;
31824
+ exports.TAXONOMY_COLORS = TAXONOMY_COLORS;
31680
31825
  exports.TIMEZONES = TIMEZONES;
31681
31826
  exports.TamperStatusSchema = TamperStatusSchema;
31682
31827
  exports.TankStatusSchema = TankStatusSchema;
@@ -31770,6 +31915,7 @@ exports.bindAddonActions = bindAddonActions;
31770
31915
  exports.brightnessCapability = brightnessCapability;
31771
31916
  exports.brokerCapability = brokerCapability;
31772
31917
  exports.buildAddonRouteProvider = buildAddonRouteProvider;
31918
+ exports.buildEventKindDescriptor = buildEventKindDescriptor;
31773
31919
  exports.buildModelVariantGroups = buildModelVariantGroups;
31774
31920
  exports.buildStreamParamsConfigSchema = buildStreamParamsConfigSchema;
31775
31921
  exports.buttonCapability = buttonCapability;
@@ -31785,6 +31931,7 @@ exports.climateControlCapability = climateControlCapability;
31785
31931
  exports.collectHydratedFieldEntries = require_sleep.collectHydratedFieldEntries;
31786
31932
  exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
31787
31933
  exports.colorCapability = colorCapability;
31934
+ exports.colorForKind = colorForKind;
31788
31935
  exports.compileExpression = compileExpression;
31789
31936
  exports.compileExpressionSafe = compileExpressionSafe;
31790
31937
  exports.connectivityCapability = connectivityCapability;
@@ -31847,12 +31994,11 @@ exports.findTimezone = findTimezone;
31847
31994
  exports.floodCapability = floodCapability;
31848
31995
  exports.formatForBackend = formatForBackend;
31849
31996
  exports.formatForRuntime = formatForRuntime;
31850
- exports.frameworkSwapConfirmSchema = frameworkSwapConfirmSchema;
31851
- exports.frameworkSwapPackageSchema = frameworkSwapPackageSchema;
31852
31997
  exports.gasCapability = gasCapability;
31853
31998
  exports.getAudioMacroClassIds = getAudioMacroClassIds;
31854
31999
  exports.getByPath = getByPath;
31855
32000
  exports.getCapsByProviderKind = getCapsByProviderKind;
32001
+ exports.getTaxonomyEntry = getTaxonomyEntry;
31856
32002
  exports.hfModelUrl = hfModelUrl;
31857
32003
  exports.htmlToText = htmlToText;
31858
32004
  exports.humidifierCapability = humidifierCapability;
@@ -31925,7 +32071,6 @@ exports.parseJsonObject = require_sleep.parseJsonObject;
31925
32071
  exports.parseJsonUnknown = require_sleep.parseJsonUnknown;
31926
32072
  exports.parseProfileBrokerId = require_sleep.parseProfileBrokerId;
31927
32073
  exports.parseStreamParamsFormPatch = parseStreamParamsFormPatch;
31928
- exports.pendingFrameworkSwapSchema = pendingFrameworkSwapSchema;
31929
32074
  exports.petFeederCapability = petFeederCapability;
31930
32075
  exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
31931
32076
  exports.pipelineAnalyticsCapability = pipelineAnalyticsCapability;
@@ -31988,6 +32133,7 @@ exports.streamCatalogCapability = streamCatalogCapability;
31988
32133
  exports.streamParamsCapability = streamParamsCapability;
31989
32134
  exports.streamPixels = streamPixels;
31990
32135
  exports.streamQualityLabel = streamQualityLabel;
32136
+ exports.subKindsOf = subKindsOf;
31991
32137
  exports.supportedRuntimes = supportedRuntimes;
31992
32138
  exports.switchCapability = switchCapability;
31993
32139
  exports.synthesizeSourceInfo = synthesizeSourceInfo;