@camstack/types 1.2.31 → 1.2.33

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.mjs CHANGED
@@ -4504,8 +4504,11 @@ function prepareNotification(caps, n) {
4504
4504
  });
4505
4505
  }
4506
4506
  const inActions = n.actions ?? [];
4507
- const actions = inActions.slice(0, Math.max(0, caps.actions));
4508
- if (inActions.length > actions.length) dropped.push("actions");
4507
+ const kept = inActions.slice(0, Math.max(0, caps.actions));
4508
+ if (inActions.length > kept.length) dropped.push("actions");
4509
+ const iconsSupported = caps.actionIcons === true;
4510
+ if (!iconsSupported && kept.some((a) => a.icon !== void 0)) dropped.push("actionIcons");
4511
+ const actions = iconsSupported ? kept : kept.map(({ icon: _icon, ...rest }) => rest);
4509
4512
  let clickUrl = null;
4510
4513
  if (n.clickUrl !== void 0) if (caps.clickUrl) clickUrl = n.clickUrl;
4511
4514
  else dropped.push("clickUrl");
@@ -4716,6 +4719,294 @@ var MaskGridDimsSchema = z.object({
4716
4719
  height: z.number()
4717
4720
  });
4718
4721
  //#endregion
4722
+ //#region src/capabilities/notification-output.cap.ts
4723
+ /**
4724
+ * notification-output — canonical, capability-gated notification delivery.
4725
+ *
4726
+ * Apprise-derived model (see
4727
+ * `docs/superpowers/specs/2026-07-03-notification-output-notifier-matrix.md`):
4728
+ * callers emit ONE canonical `Notification`; each provider declares a
4729
+ * per-kind capability descriptor (`TargetKind`), and the pure degrade
4730
+ * engine (`@camstack/types` `prepareNotification`) transcodes / degrades the
4731
+ * message to what the kind supports — callers never special-case a service.
4732
+ *
4733
+ * DESIGN DECISIONS (locked):
4734
+ * - Target CRUD lives on THIS cap (`upsertTarget` / `deleteTarget` /
4735
+ * `setTargetEnabled`), each provider persisting via the `settings-store`
4736
+ * cap. Rationale: the admin UI needs one uniform surface across the
4737
+ * notifiers addon AND the HA addon; the addon-`globalSettingsSchema`-array
4738
+ * alternative would fork the UI per addon and cannot host the
4739
+ * discovery→adopt flow.
4740
+ * - `listTargetKinds` / `listTargets` / `discoverTargets` return arrays →
4741
+ * the generated cap-mount auto-`concatCollection`-fans them across every
4742
+ * registered provider (notifiers addon + HA addon) so one catalog is
4743
+ * routable. `send` / `testTarget` / CRUD route to ONE provider by the
4744
+ * `addonId` the generated collection router extracts from the call input.
4745
+ * - `Attachment.bytes` is `Uint8Array`. Transport-safe: superjson (the tRPC
4746
+ * transformer) + UDS MsgPack both round-trip typed arrays — already used by
4747
+ * `storage` / `storage-provider` / `recording` caps over the same path. No
4748
+ * base64 fallback needed.
4749
+ *
4750
+ * TODO (deferred, closed-set change — separate decision): add
4751
+ * `providerKind: 'notify'` so notification providers surface on the unified
4752
+ * admin "Integrations" page.
4753
+ */
4754
+ /**
4755
+ * Zentik-derived typed-media enum — the superset across every kind. Each
4756
+ * adapter picks what it supports and the degrade engine filters the rest.
4757
+ */
4758
+ var AttachmentMediaTypeSchema = z.enum([
4759
+ "image",
4760
+ "video",
4761
+ "gif",
4762
+ "audio",
4763
+ "icon"
4764
+ ]);
4765
+ /**
4766
+ * A single attachment. Exactly one of `url` (remote source, most adapters
4767
+ * prefer this) or `bytes` (inline source; required for Pushover-style
4768
+ * bytes-only kinds) MUST be present — the degrade engine expresses a
4769
+ * url→bytes fetch as a `needsFetch` directive the adapter executes.
4770
+ */
4771
+ var AttachmentSchema = z.object({
4772
+ mediaType: AttachmentMediaTypeSchema,
4773
+ url: z.string().optional(),
4774
+ bytes: z.instanceof(Uint8Array).optional(),
4775
+ mime: z.string().optional(),
4776
+ name: z.string().optional()
4777
+ }).refine((a) => a.url !== void 0 || a.bytes !== void 0, { message: "Attachment requires either `url` or `bytes`" });
4778
+ var NotificationFormatSchema = z.enum([
4779
+ "text",
4780
+ "markdown",
4781
+ "html"
4782
+ ]);
4783
+ /**
4784
+ * The CLOSED icon vocabulary an action button may use.
4785
+ *
4786
+ * A closed set, not a free string, and that is the whole point: an arbitrary
4787
+ * icon name is one that ntfy renders, zentik silently drops, and nobody
4788
+ * notices — the same class of gap as a zone vocabulary nothing produced
4789
+ * ([D35](../../../docs/decisions/adr-0035.md)). Every adapter maps this set or
4790
+ * declares `actionIcons: false` and the degrade engine strips the field.
4791
+ *
4792
+ * Named by INTENT, never by glyph. "check" would tie the vocabulary to one
4793
+ * renderer's icon set; "acknowledge" survives an adapter that draws it
4794
+ * differently.
4795
+ */
4796
+ var NotificationActionIconSchema = z.enum([
4797
+ "acknowledge",
4798
+ "dismiss",
4799
+ "silence",
4800
+ "view",
4801
+ "play",
4802
+ "open",
4803
+ "close",
4804
+ "lock",
4805
+ "unlock",
4806
+ "arm",
4807
+ "disarm",
4808
+ "light",
4809
+ "alert"
4810
+ ]);
4811
+ /** A single tap-through action button. */
4812
+ var NotificationActionSchema = z.object({
4813
+ id: z.string(),
4814
+ label: z.string(),
4815
+ url: z.string().optional(),
4816
+ /** Dropped by the degrade engine for a kind with `caps.actionIcons: false`. */
4817
+ icon: NotificationActionIconSchema.optional(),
4818
+ /**
4819
+ * Renders in a warning style where the notifier supports it.
4820
+ *
4821
+ * A HINT, never a gate. The callback's authority is its token and nothing
4822
+ * else — see `notification-center/action-token.ts` for what that does and
4823
+ * does not buy.
4824
+ */
4825
+ destructive: z.boolean().optional()
4826
+ });
4827
+ /**
4828
+ * The canonical notification. `body` is the only hard field (Apprise model).
4829
+ * `priority` is a 5-level ORDINAL (1=lowest … 3=normal(default) … 5=urgent),
4830
+ * NOT a fixed severity enum — each kind declares its own `caps.levels` and
4831
+ * the adapter maps this ordinal onto its native level. `level?` is an
4832
+ * optional kind-native level id (`emergency`, `silent`, …) that overrides
4833
+ * `priority` for that one target.
4834
+ */
4835
+ var NotificationSchema = z.object({
4836
+ body: z.string(),
4837
+ title: z.string().optional(),
4838
+ format: NotificationFormatSchema.default("text"),
4839
+ priority: z.number().int().min(1).max(5).default(3),
4840
+ level: z.string().optional(),
4841
+ attachments: z.array(AttachmentSchema).optional(),
4842
+ clickUrl: z.string().optional(),
4843
+ actions: z.array(NotificationActionSchema).optional(),
4844
+ sound: z.string().optional(),
4845
+ ttl: z.number().optional(),
4846
+ tag: z.string().optional(),
4847
+ deviceId: z.number().optional(),
4848
+ eventId: z.string().optional(),
4849
+ metadata: z.record(z.string(), z.unknown()).optional()
4850
+ });
4851
+ /** One declared native severity/priority level for a kind. */
4852
+ var TargetKindLevelSchema = z.object({
4853
+ id: z.string(),
4854
+ label: z.string(),
4855
+ /** Which canonical priority (1..5) this level maps to. `null` = qualitative-only. */
4856
+ ordinal: z.number().int().min(1).max(5).nullable(),
4857
+ flags: z.object({
4858
+ critical: z.boolean().optional(),
4859
+ silent: z.boolean().optional(),
4860
+ noPush: z.boolean().optional()
4861
+ }).optional(),
4862
+ /** e.g. Pushover `emergency` requires `retry` / `expire`. */
4863
+ requires: z.array(z.string()).optional(),
4864
+ description: z.string().optional()
4865
+ });
4866
+ /** Attachment capabilities for a kind (drives the degrade engine + test panel). */
4867
+ var TargetKindAttachmentsCapsSchema = z.object({
4868
+ mediaTypes: z.array(AttachmentMediaTypeSchema),
4869
+ mode: z.enum([
4870
+ "url",
4871
+ "bytes",
4872
+ "both"
4873
+ ]),
4874
+ max: z.number().int().nonnegative(),
4875
+ maxBytes: z.number().int().positive().optional()
4876
+ });
4877
+ /** The full capability block consulted before dispatch. */
4878
+ var TargetKindCapsSchema = z.object({
4879
+ attachments: TargetKindAttachmentsCapsSchema,
4880
+ /** Max action buttons (0 = none). */
4881
+ actions: z.number().int().nonnegative(),
4882
+ /**
4883
+ * Whether this kind renders a per-action ICON.
4884
+ *
4885
+ * `.optional()`, deliberately NOT `.default(false)`: a Zod default does not
4886
+ * run on the addon cap path — three production failures in one day taught
4887
+ * this repo that once. Absent is read as false by the degrade engine, which
4888
+ * is the safe direction: an icon that is not rendered costs nothing, an icon
4889
+ * assumed and dropped costs the operator's trust in the field.
4890
+ */
4891
+ actionIcons: z.boolean().optional(),
4892
+ levels: z.array(TargetKindLevelSchema),
4893
+ format: z.array(NotificationFormatSchema),
4894
+ clickUrl: z.boolean(),
4895
+ sound: z.boolean(),
4896
+ ttl: z.boolean(),
4897
+ bodyMaxLen: z.number().int().positive()
4898
+ });
4899
+ /**
4900
+ * `configSchema` is a `ConfigUISchema` tree passed through to the admin
4901
+ * FormBuilder. Stored as `z.unknown()` at the cap seam (mirrors
4902
+ * `device-provider.getChildCreationSchema` `CreationSchemaOutputSchema`) —
4903
+ * the union is large and not meant for runtime validation here; the exported
4904
+ * `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
4905
+ */
4906
+ var ConfigSchemaPassthrough$1 = z.unknown();
4907
+ var TargetKindSchema = z.object({
4908
+ kind: z.string(),
4909
+ label: z.string(),
4910
+ icon: z.string(),
4911
+ /** Stamped by each provider so the concat-fanned catalog stays routable. */
4912
+ addonId: z.string(),
4913
+ /**
4914
+ * URL of the kind's bundled BRAND icon, served by the providing addon over
4915
+ * its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
4916
+ * when the addon bundles no icon for that kind — the client then falls back
4917
+ * to a neutral glyph rather than rendering the raw `icon` NAME as text.
4918
+ *
4919
+ * Root-relative on purpose: it resolves against whatever origin serves a web
4920
+ * client, and a native client joins it onto its own hub base.
4921
+ *
4922
+ * DECLARED here deliberately. It used to travel as an undeclared passthrough
4923
+ * field that survived only because the runtime cap-router forwards provider
4924
+ * output verbatim — so every consumer had to re-declare it by hand to stop
4925
+ * its own Zod parse from stripping it, and the whole arrangement would have
4926
+ * broken silently the moment output validation was tightened anywhere.
4927
+ */
4928
+ iconUrl: z.string().optional(),
4929
+ /**
4930
+ * Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
4931
+ *
4932
+ * The server knows this and therefore says it, because the client cannot
4933
+ * safely guess: a React-Native client renders SVG and raster through two
4934
+ * DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
4935
+ * not decode SVG on iOS/Android), so without this it silently fell back to a
4936
+ * placeholder glyph for every vector icon while the web build looked fine.
4937
+ *
4938
+ * Absent when {@link iconUrl} is absent, or for a legacy provider that has
4939
+ * not been updated — a client that cannot determine the type should prefer
4940
+ * its raster path, which is the safe default for an unknown image.
4941
+ */
4942
+ iconMediaType: z.string().optional(),
4943
+ configSchema: ConfigSchemaPassthrough$1,
4944
+ supportsDiscovery: z.boolean(),
4945
+ caps: TargetKindCapsSchema
4946
+ });
4947
+ /**
4948
+ * A persisted target. `config` holds secrets; providers REDACT secret fields
4949
+ * (return a presence marker only) when serving `listTargets` — never
4950
+ * round-trip a stored secret to the UI.
4951
+ */
4952
+ var TargetSchema = z.object({
4953
+ id: z.string(),
4954
+ name: z.string(),
4955
+ kind: z.string(),
4956
+ addonId: z.string(),
4957
+ enabled: z.boolean(),
4958
+ config: z.record(z.string(), z.unknown())
4959
+ });
4960
+ /** A discovery-surfaced candidate (config is partial + non-secret). */
4961
+ var DiscoveredTargetSchema = z.object({
4962
+ kind: z.string(),
4963
+ suggestedName: z.string(),
4964
+ config: z.record(z.string(), z.unknown())
4965
+ });
4966
+ /** The degrade engine's report — what was resolved / dropped / degraded. */
4967
+ var RenderedAsSchema = z.object({
4968
+ level: z.string(),
4969
+ format: NotificationFormatSchema,
4970
+ attachmentsSent: z.number().int().nonnegative(),
4971
+ actionsSent: z.number().int().nonnegative(),
4972
+ truncated: z.boolean(),
4973
+ dropped: z.array(z.string())
4974
+ });
4975
+ var SendResultSchema = z.object({
4976
+ success: z.boolean(),
4977
+ error: z.string().optional(),
4978
+ renderedAs: RenderedAsSchema.optional()
4979
+ });
4980
+ /** Same shape as SendResult — kept as a distinct name for the test panel. */
4981
+ var TestResultSchema = SendResultSchema;
4982
+ var notificationOutputCapability = {
4983
+ name: "notification-output",
4984
+ scope: "system",
4985
+ mode: "collection",
4986
+ methods: {
4987
+ listTargetKinds: method(z.object({}), z.array(TargetKindSchema)),
4988
+ listTargets: method(z.object({}), z.array(TargetSchema)),
4989
+ discoverTargets: method(z.object({
4990
+ kind: z.string(),
4991
+ config: z.record(z.string(), z.unknown()).optional()
4992
+ }), z.array(DiscoveredTargetSchema)),
4993
+ send: method(z.object({
4994
+ targetId: z.string(),
4995
+ notification: NotificationSchema
4996
+ }), SendResultSchema, { kind: "mutation" }),
4997
+ testTarget: method(z.object({
4998
+ targetId: z.string(),
4999
+ sample: NotificationSchema.optional()
5000
+ }), TestResultSchema, { kind: "mutation" }),
5001
+ upsertTarget: method(z.object({ target: TargetSchema }), TargetSchema, { kind: "mutation" }),
5002
+ deleteTarget: method(z.object({ targetId: z.string() }), z.void(), { kind: "mutation" }),
5003
+ setTargetEnabled: method(z.object({
5004
+ targetId: z.string(),
5005
+ enabled: z.boolean()
5006
+ }), z.void(), { kind: "mutation" })
5007
+ }
5008
+ };
5009
+ //#endregion
4719
5010
  //#region src/capabilities/notification-rules.cap.ts
4720
5011
  /**
4721
5012
  * notification-rules — the Notification Center rule surface (P1 core).
@@ -4908,6 +5199,28 @@ var NcRuleActionSequenceSchema = z.object({
4908
5199
  actions: z.array(NcRuleActionSchema).min(1)
4909
5200
  });
4910
5201
  /**
5202
+ * One button carried by the notification, running a named sequence on tap.
5203
+ *
5204
+ * **Read this before adding a button that does something physical.** The tap
5205
+ * arrives over a link that travelled through third-party infrastructure — ntfy,
5206
+ * a push relay, whatever forwarded the message — and the callback's ONLY
5207
+ * authority is the token in that link: single-use, short-lived, bound to this
5208
+ * one action of this one notification. It does not identify who tapped.
5209
+ * Whoever holds the notification can run the button, once, inside the window.
5210
+ * That is the operator's explicit choice (2026-08-05), and `destructive` is a
5211
+ * rendering hint, not a second gate. [D47](decisions/adr-0047.md).
5212
+ */
5213
+ var NcRuleNotificationButtonSchema = z.object({
5214
+ /** Stable id — travels in the callback and identifies the button in logs. */
5215
+ id: z.string().min(1).max(64),
5216
+ label: z.string().min(1).max(40),
5217
+ /** Name of a sequence in `onTrigger`. The dispatcher drops a button whose
5218
+ * sequence does not exist rather than minting a token for nothing. */
5219
+ sequence: z.string().min(1).max(120),
5220
+ icon: NotificationActionIconSchema.optional(),
5221
+ destructive: z.boolean().optional()
5222
+ });
5223
+ /**
4911
5224
  * Sequences a rule runs, by hook point.
4912
5225
  *
4913
5226
  * ONLY `onTrigger` is here, deliberately. The reference also has activation /
@@ -4915,9 +5228,26 @@ var NcRuleActionSequenceSchema = z.object({
4915
5228
  * repo's expensive failure mode is declaring a surface nothing produces, so a
4916
5229
  * hook appears here in the same change that produces its edge, never before.
4917
5230
  */
4918
- var NcRuleActionsSchema = z.object({
4919
- /** Runs when the rule MATCHES. */
4920
- onTrigger: z.array(NcRuleActionSequenceSchema).optional() });
5231
+ var NcRuleActionsSchema = z.object({
5232
+ /** Runs when the rule MATCHES. */
5233
+ onTrigger: z.array(NcRuleActionSequenceSchema).optional(),
5234
+ /**
5235
+ * Buttons the NOTIFICATION carries, each running one of this rule's
5236
+ * sequences when tapped.
5237
+ *
5238
+ * Deliberately a REFERENCE to a sequence rather than a second place to
5239
+ * author steps. A button that could define its own actions would be a
5240
+ * parallel actuation vocabulary — the executor's device-scope check, the
5241
+ * stop-at-first-failure rule and the per-sequence throttle all live on
5242
+ * sequences, and a second authoring surface would drift from every one of
5243
+ * them.
5244
+ *
5245
+ * A sequence reachable ONLY by a button simply appears in `onTrigger` with
5246
+ * `enabled: false`: it is then authored, throttled and validated like the
5247
+ * rest, and nothing runs it automatically.
5248
+ */
5249
+ buttons: z.array(NcRuleNotificationButtonSchema).max(8).optional()
5250
+ });
4921
5251
  /**
4922
5252
  * "This rule applies only while `deviceId` is in one of `states`."
4923
5253
  *
@@ -17290,6 +17620,20 @@ var GetInputSchema = z.object({ id: z.string() });
17290
17620
  var AddInputSchema = z.object({
17291
17621
  kind: z.string().min(1),
17292
17622
  name: z.string().min(1),
17623
+ /**
17624
+ * ADOPT an existing id instead of minting a new one.
17625
+ *
17626
+ * Written the day this cost an outage. A broker's id is not a detail: HA
17627
+ * devices carry it inside their `stableId` (`ha:ha_004:dev:…`), so a broker
17628
+ * lost from config and re-added as `ha_001` leaves every one of its devices
17629
+ * bound to a broker that no longer exists. Re-entering the password under the
17630
+ * ORIGINAL id turns a multi-step device migration back into re-entering a
17631
+ * password.
17632
+ *
17633
+ * A provider MUST refuse an id that is already in use — adopting a live
17634
+ * broker's id would silently take it over.
17635
+ */
17636
+ id: z.string().min(1).optional(),
17293
17637
  /** Kind-specific settings (e.g. MQTT `{url,username,password}` or HA
17294
17638
  * `{baseUrl,accessToken}`). Validated by the kind-specific provider
17295
17639
  * branch on receipt — invalid shape rejects the add. */
@@ -19844,14 +20188,14 @@ var LlmProfileSchema = z.object({
19844
20188
  /** ConfigUISchema tree passed through untyped on the wire (the
19845
20189
  * notification-output `ConfigSchemaPassthrough` precedent at
19846
20190
  * notification-output.cap.ts:151); the exported TS type re-tightens it. */
19847
- var ConfigSchemaPassthrough$1 = z.unknown();
20191
+ var ConfigSchemaPassthrough = z.unknown();
19848
20192
  var LlmProfileKindDescriptorSchema = z.object({
19849
20193
  kind: LlmProfileKindSchema,
19850
20194
  label: z.string(),
19851
20195
  icon: z.string(),
19852
20196
  /** Stamped by each provider so the concat-fanned catalog stays routable. */
19853
20197
  addonId: z.string(),
19854
- configSchema: ConfigSchemaPassthrough$1
20198
+ configSchema: ConfigSchemaPassthrough
19855
20199
  });
19856
20200
  var LlmDefaultSelectorSchema = z.union([z.object({ consumer: z.string() }), z.object({ purpose: z.enum(["text", "vision"]) })]);
19857
20201
  var LlmDefaultSchema = z.object({
@@ -20583,246 +20927,6 @@ var networkAccessCapability = {
20583
20927
  }
20584
20928
  };
20585
20929
  //#endregion
20586
- //#region src/capabilities/notification-output.cap.ts
20587
- /**
20588
- * notification-output — canonical, capability-gated notification delivery.
20589
- *
20590
- * Apprise-derived model (see
20591
- * `docs/superpowers/specs/2026-07-03-notification-output-notifier-matrix.md`):
20592
- * callers emit ONE canonical `Notification`; each provider declares a
20593
- * per-kind capability descriptor (`TargetKind`), and the pure degrade
20594
- * engine (`@camstack/types` `prepareNotification`) transcodes / degrades the
20595
- * message to what the kind supports — callers never special-case a service.
20596
- *
20597
- * DESIGN DECISIONS (locked):
20598
- * - Target CRUD lives on THIS cap (`upsertTarget` / `deleteTarget` /
20599
- * `setTargetEnabled`), each provider persisting via the `settings-store`
20600
- * cap. Rationale: the admin UI needs one uniform surface across the
20601
- * notifiers addon AND the HA addon; the addon-`globalSettingsSchema`-array
20602
- * alternative would fork the UI per addon and cannot host the
20603
- * discovery→adopt flow.
20604
- * - `listTargetKinds` / `listTargets` / `discoverTargets` return arrays →
20605
- * the generated cap-mount auto-`concatCollection`-fans them across every
20606
- * registered provider (notifiers addon + HA addon) so one catalog is
20607
- * routable. `send` / `testTarget` / CRUD route to ONE provider by the
20608
- * `addonId` the generated collection router extracts from the call input.
20609
- * - `Attachment.bytes` is `Uint8Array`. Transport-safe: superjson (the tRPC
20610
- * transformer) + UDS MsgPack both round-trip typed arrays — already used by
20611
- * `storage` / `storage-provider` / `recording` caps over the same path. No
20612
- * base64 fallback needed.
20613
- *
20614
- * TODO (deferred, closed-set change — separate decision): add
20615
- * `providerKind: 'notify'` so notification providers surface on the unified
20616
- * admin "Integrations" page.
20617
- */
20618
- /**
20619
- * Zentik-derived typed-media enum — the superset across every kind. Each
20620
- * adapter picks what it supports and the degrade engine filters the rest.
20621
- */
20622
- var AttachmentMediaTypeSchema = z.enum([
20623
- "image",
20624
- "video",
20625
- "gif",
20626
- "audio",
20627
- "icon"
20628
- ]);
20629
- /**
20630
- * A single attachment. Exactly one of `url` (remote source, most adapters
20631
- * prefer this) or `bytes` (inline source; required for Pushover-style
20632
- * bytes-only kinds) MUST be present — the degrade engine expresses a
20633
- * url→bytes fetch as a `needsFetch` directive the adapter executes.
20634
- */
20635
- var AttachmentSchema = z.object({
20636
- mediaType: AttachmentMediaTypeSchema,
20637
- url: z.string().optional(),
20638
- bytes: z.instanceof(Uint8Array).optional(),
20639
- mime: z.string().optional(),
20640
- name: z.string().optional()
20641
- }).refine((a) => a.url !== void 0 || a.bytes !== void 0, { message: "Attachment requires either `url` or `bytes`" });
20642
- var NotificationFormatSchema = z.enum([
20643
- "text",
20644
- "markdown",
20645
- "html"
20646
- ]);
20647
- /** A single tap-through action button. */
20648
- var NotificationActionSchema = z.object({
20649
- id: z.string(),
20650
- label: z.string(),
20651
- url: z.string().optional()
20652
- });
20653
- /**
20654
- * The canonical notification. `body` is the only hard field (Apprise model).
20655
- * `priority` is a 5-level ORDINAL (1=lowest … 3=normal(default) … 5=urgent),
20656
- * NOT a fixed severity enum — each kind declares its own `caps.levels` and
20657
- * the adapter maps this ordinal onto its native level. `level?` is an
20658
- * optional kind-native level id (`emergency`, `silent`, …) that overrides
20659
- * `priority` for that one target.
20660
- */
20661
- var NotificationSchema = z.object({
20662
- body: z.string(),
20663
- title: z.string().optional(),
20664
- format: NotificationFormatSchema.default("text"),
20665
- priority: z.number().int().min(1).max(5).default(3),
20666
- level: z.string().optional(),
20667
- attachments: z.array(AttachmentSchema).optional(),
20668
- clickUrl: z.string().optional(),
20669
- actions: z.array(NotificationActionSchema).optional(),
20670
- sound: z.string().optional(),
20671
- ttl: z.number().optional(),
20672
- tag: z.string().optional(),
20673
- deviceId: z.number().optional(),
20674
- eventId: z.string().optional(),
20675
- metadata: z.record(z.string(), z.unknown()).optional()
20676
- });
20677
- /** One declared native severity/priority level for a kind. */
20678
- var TargetKindLevelSchema = z.object({
20679
- id: z.string(),
20680
- label: z.string(),
20681
- /** Which canonical priority (1..5) this level maps to. `null` = qualitative-only. */
20682
- ordinal: z.number().int().min(1).max(5).nullable(),
20683
- flags: z.object({
20684
- critical: z.boolean().optional(),
20685
- silent: z.boolean().optional(),
20686
- noPush: z.boolean().optional()
20687
- }).optional(),
20688
- /** e.g. Pushover `emergency` requires `retry` / `expire`. */
20689
- requires: z.array(z.string()).optional(),
20690
- description: z.string().optional()
20691
- });
20692
- /** Attachment capabilities for a kind (drives the degrade engine + test panel). */
20693
- var TargetKindAttachmentsCapsSchema = z.object({
20694
- mediaTypes: z.array(AttachmentMediaTypeSchema),
20695
- mode: z.enum([
20696
- "url",
20697
- "bytes",
20698
- "both"
20699
- ]),
20700
- max: z.number().int().nonnegative(),
20701
- maxBytes: z.number().int().positive().optional()
20702
- });
20703
- /** The full capability block consulted before dispatch. */
20704
- var TargetKindCapsSchema = z.object({
20705
- attachments: TargetKindAttachmentsCapsSchema,
20706
- /** Max action buttons (0 = none). */
20707
- actions: z.number().int().nonnegative(),
20708
- levels: z.array(TargetKindLevelSchema),
20709
- format: z.array(NotificationFormatSchema),
20710
- clickUrl: z.boolean(),
20711
- sound: z.boolean(),
20712
- ttl: z.boolean(),
20713
- bodyMaxLen: z.number().int().positive()
20714
- });
20715
- /**
20716
- * `configSchema` is a `ConfigUISchema` tree passed through to the admin
20717
- * FormBuilder. Stored as `z.unknown()` at the cap seam (mirrors
20718
- * `device-provider.getChildCreationSchema` `CreationSchemaOutputSchema`) —
20719
- * the union is large and not meant for runtime validation here; the exported
20720
- * `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
20721
- */
20722
- var ConfigSchemaPassthrough = z.unknown();
20723
- var TargetKindSchema = z.object({
20724
- kind: z.string(),
20725
- label: z.string(),
20726
- icon: z.string(),
20727
- /** Stamped by each provider so the concat-fanned catalog stays routable. */
20728
- addonId: z.string(),
20729
- /**
20730
- * URL of the kind's bundled BRAND icon, served by the providing addon over
20731
- * its own `addon-routes` surface (`/addon/<addonId>/icons/<kind>`). Absent
20732
- * when the addon bundles no icon for that kind — the client then falls back
20733
- * to a neutral glyph rather than rendering the raw `icon` NAME as text.
20734
- *
20735
- * Root-relative on purpose: it resolves against whatever origin serves a web
20736
- * client, and a native client joins it onto its own hub base.
20737
- *
20738
- * DECLARED here deliberately. It used to travel as an undeclared passthrough
20739
- * field that survived only because the runtime cap-router forwards provider
20740
- * output verbatim — so every consumer had to re-declare it by hand to stop
20741
- * its own Zod parse from stripping it, and the whole arrangement would have
20742
- * broken silently the moment output validation was tightened anywhere.
20743
- */
20744
- iconUrl: z.string().optional(),
20745
- /**
20746
- * Media type of {@link iconUrl} (`image/svg+xml`, `image/png`, …).
20747
- *
20748
- * The server knows this and therefore says it, because the client cannot
20749
- * safely guess: a React-Native client renders SVG and raster through two
20750
- * DIFFERENT components (`react-native-svg` vs `expo-image` — expo-image does
20751
- * not decode SVG on iOS/Android), so without this it silently fell back to a
20752
- * placeholder glyph for every vector icon while the web build looked fine.
20753
- *
20754
- * Absent when {@link iconUrl} is absent, or for a legacy provider that has
20755
- * not been updated — a client that cannot determine the type should prefer
20756
- * its raster path, which is the safe default for an unknown image.
20757
- */
20758
- iconMediaType: z.string().optional(),
20759
- configSchema: ConfigSchemaPassthrough,
20760
- supportsDiscovery: z.boolean(),
20761
- caps: TargetKindCapsSchema
20762
- });
20763
- /**
20764
- * A persisted target. `config` holds secrets; providers REDACT secret fields
20765
- * (return a presence marker only) when serving `listTargets` — never
20766
- * round-trip a stored secret to the UI.
20767
- */
20768
- var TargetSchema = z.object({
20769
- id: z.string(),
20770
- name: z.string(),
20771
- kind: z.string(),
20772
- addonId: z.string(),
20773
- enabled: z.boolean(),
20774
- config: z.record(z.string(), z.unknown())
20775
- });
20776
- /** A discovery-surfaced candidate (config is partial + non-secret). */
20777
- var DiscoveredTargetSchema = z.object({
20778
- kind: z.string(),
20779
- suggestedName: z.string(),
20780
- config: z.record(z.string(), z.unknown())
20781
- });
20782
- /** The degrade engine's report — what was resolved / dropped / degraded. */
20783
- var RenderedAsSchema = z.object({
20784
- level: z.string(),
20785
- format: NotificationFormatSchema,
20786
- attachmentsSent: z.number().int().nonnegative(),
20787
- actionsSent: z.number().int().nonnegative(),
20788
- truncated: z.boolean(),
20789
- dropped: z.array(z.string())
20790
- });
20791
- var SendResultSchema = z.object({
20792
- success: z.boolean(),
20793
- error: z.string().optional(),
20794
- renderedAs: RenderedAsSchema.optional()
20795
- });
20796
- /** Same shape as SendResult — kept as a distinct name for the test panel. */
20797
- var TestResultSchema = SendResultSchema;
20798
- var notificationOutputCapability = {
20799
- name: "notification-output",
20800
- scope: "system",
20801
- mode: "collection",
20802
- methods: {
20803
- listTargetKinds: method(z.object({}), z.array(TargetKindSchema)),
20804
- listTargets: method(z.object({}), z.array(TargetSchema)),
20805
- discoverTargets: method(z.object({
20806
- kind: z.string(),
20807
- config: z.record(z.string(), z.unknown()).optional()
20808
- }), z.array(DiscoveredTargetSchema)),
20809
- send: method(z.object({
20810
- targetId: z.string(),
20811
- notification: NotificationSchema
20812
- }), SendResultSchema, { kind: "mutation" }),
20813
- testTarget: method(z.object({
20814
- targetId: z.string(),
20815
- sample: NotificationSchema.optional()
20816
- }), TestResultSchema, { kind: "mutation" }),
20817
- upsertTarget: method(z.object({ target: TargetSchema }), TargetSchema, { kind: "mutation" }),
20818
- deleteTarget: method(z.object({ targetId: z.string() }), z.void(), { kind: "mutation" }),
20819
- setTargetEnabled: method(z.object({
20820
- targetId: z.string(),
20821
- enabled: z.boolean()
20822
- }), z.void(), { kind: "mutation" })
20823
- }
20824
- };
20825
- //#endregion
20826
20930
  //#region src/capabilities/core-blocks.cap.ts
20827
20931
  /**
20828
20932
  * core-blocks — user-authored TypeScript, stored in the kernel and executed in
@@ -34574,4 +34678,4 @@ function enumerateInferenceDevices(hw) {
34574
34678
  return out;
34575
34679
  }
34576
34680
  //#endregion
34577
- export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, 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, 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, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, 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, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, 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, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, 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, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, 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, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, 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, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, 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, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, 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, 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, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, 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, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlocksCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDeviceStateFrom, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
34681
+ export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, 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, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, 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, 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, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, 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, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, 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, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventKindsForDeviceSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, 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, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, 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, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_SNOOZE_MAX_MINUTES, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcDeviceStateConditionSchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleActionSchema, NcRuleActionSequenceSchema, NcRuleActionsSchema, NcRuleInputSchema, NcRuleNotificationButtonSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcSnoozeInputSchema, NcSnoozeSchema, NcSnoozeScopeSchema, NcSnoozeSuppressedSchema, 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, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, 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, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, 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, 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, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, 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, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, coreBlocksCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isDeviceScopedCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readDeviceStateFrom, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, stateVocabularyFor, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };