@camstack/types 1.2.538 → 1.2.540

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/addon.js +44 -12
  3. package/dist/addon.mjs +44 -12
  4. package/dist/automation/step-runner.d.ts +2 -0
  5. package/dist/capabilities/capability-definition.d.ts +4 -0
  6. package/dist/capabilities/climate-control.cap.d.ts +18 -6
  7. package/dist/capabilities/cover.cap.d.ts +9 -3
  8. package/dist/capabilities/device-manager.cap.d.ts +14 -0
  9. package/dist/capabilities/fan-control.cap.d.ts +12 -4
  10. package/dist/capabilities/index.d.ts +3 -3
  11. package/dist/capabilities/lock-control.cap.d.ts +3 -1
  12. package/dist/capabilities/media-player.cap.d.ts +48 -16
  13. package/dist/capabilities/notification-output.cap.d.ts +40 -0
  14. package/dist/capabilities/notification-rules.cap.d.ts +252 -0
  15. package/dist/capabilities/osd-manager.cap.d.ts +40 -277
  16. package/dist/capabilities/valve.cap.d.ts +3 -1
  17. package/dist/client.js +41 -1
  18. package/dist/client.mjs +41 -1
  19. package/dist/{composed-stable-id-C3J6LxC9.js → composed-stable-id-BtaMj_W7.js} +4 -0
  20. package/dist/{composed-stable-id-DLcPInGv.mjs → composed-stable-id-jnvhwGoH.mjs} +4 -0
  21. package/dist/device/device-binding.d.ts +6 -0
  22. package/dist/device/device-feature-requirements.d.ts +137 -0
  23. package/dist/device/device-type.d.ts +5 -1
  24. package/dist/device/implemented-methods.d.ts +6 -0
  25. package/dist/expression/device-template.d.ts +31 -1
  26. package/dist/generated/addon-api.d.ts +7 -7
  27. package/dist/generated/collection-array-methods.d.ts +1 -1
  28. package/dist/generated/device-proxy.d.ts +1 -1
  29. package/dist/generated/method-access-map.d.ts +1 -1
  30. package/dist/{composition-BcVAbtBc.js → implemented-methods-C_iV6BiP.js} +17 -1
  31. package/dist/{composition-BFJq1Y88.mjs → implemented-methods-OitwyO1Y.mjs} +12 -2
  32. package/dist/index.d.ts +6 -2
  33. package/dist/index.js +733 -426
  34. package/dist/index.mjs +475 -185
  35. package/dist/interfaces/addon.d.ts +7 -0
  36. package/dist/interfaces/event-bus.d.ts +2 -0
  37. package/dist/migrations/api/migration-api.v1.d.ts +11 -0
  38. package/dist/migrations/api/migration-api.v1.schema.d.ts +25 -0
  39. package/dist/node.d.ts +1 -0
  40. package/dist/node.js +26 -25
  41. package/dist/node.mjs +3 -3
  42. package/dist/notification/notification-fields.d.ts +51 -0
  43. package/dist/{sleep-DgCXXFc3.js → sleep-DPMn-Sik.js} +2 -2
  44. package/dist/{sleep-VrfKAAGN.mjs → sleep-Dz1P6--1.mjs} +2 -2
  45. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_sleep = require("./sleep-DgCXXFc3.js");
2
+ const require_sleep = require("./sleep-DPMn-Sik.js");
3
3
  const require_event_category = require("./event-category-BC4RRerT.js");
4
- const require_composed_stable_id = require("./composed-stable-id-C3J6LxC9.js");
5
- const require_composition = require("./composition-BcVAbtBc.js");
4
+ const require_composed_stable_id = require("./composed-stable-id-BtaMj_W7.js");
5
+ const require_implemented_methods = require("./implemented-methods-C_iV6BiP.js");
6
6
  const require_node_color = require("./node-color.js");
7
7
  const require_convert = require("./convert-BmtM6K-5.js");
8
8
  const require_enums = require("./enums.js");
@@ -1127,8 +1127,36 @@ var TargetKindAttachmentsCapsSchema = zod.z.object({
1127
1127
  max: zod.z.number().int().nonnegative(),
1128
1128
  maxBytes: zod.z.number().int().positive().optional()
1129
1129
  });
1130
+ /**
1131
+ * Which TEXT fields a kind delivers (#483). Alexa speaks a title and nothing
1132
+ * else; a push service shows both.
1133
+ *
1134
+ * `.optional()` on the caps block, never defaulted: absent = both, which is
1135
+ * what every kind declared before this field meant (D938's rule for a Zod
1136
+ * default on the addon cap path).
1137
+ */
1138
+ var TargetKindTextCapsSchema = zod.z.object({
1139
+ title: zod.z.boolean(),
1140
+ body: zod.z.boolean()
1141
+ });
1142
+ /**
1143
+ * The message fields a rule can author for a target (#483). Derived from a
1144
+ * kind's caps by `deliverableFields` — the ONE reading of the declaration, used
1145
+ * by the dispatcher (drop), the admin rule editor (show) and the viewer.
1146
+ */
1147
+ var NotificationFieldSchema = zod.z.enum([
1148
+ "title",
1149
+ "body",
1150
+ "attachments",
1151
+ "actions",
1152
+ "priority",
1153
+ "sound",
1154
+ "clickUrl"
1155
+ ]);
1130
1156
  /** The full capability block consulted before dispatch. */
1131
1157
  var TargetKindCapsSchema = zod.z.object({
1158
+ /** Text fields this kind delivers (#483). Absent = title AND body. */
1159
+ text: TargetKindTextCapsSchema.optional(),
1132
1160
  attachments: TargetKindAttachmentsCapsSchema,
1133
1161
  /** Max action buttons (0 = none). */
1134
1162
  actions: zod.z.number().int().nonnegative(),
@@ -2522,7 +2550,7 @@ function canonicalEgressPlan(request, delivery = egressTransportFromRequest(requ
2522
2550
  * every other consumer to 360p.
2523
2551
  */
2524
2552
  function egressTranscodeSharingKey(request, delivery = egressTransportFromRequest(request)) {
2525
- return `egress:${require_composition.canonicalHash(canonicalEgressPlan(request, delivery))}`;
2553
+ return `egress:${require_implemented_methods.canonicalHash(canonicalEgressPlan(request, delivery))}`;
2526
2554
  }
2527
2555
  //#endregion
2528
2556
  //#region src/ffmpeg/pinned-binary.ts
@@ -31129,10 +31157,10 @@ var ExpressionBindingSourceSchema = zod.z.union([
31129
31157
  * Compiles are LRU-cached, so repeated validation of the same string is a hit.
31130
31158
  */
31131
31159
  var ExpressionSourceSchema = zod.z.object({
31132
- expr: zod.z.string().min(1).max(require_composition.MAX_EXPRESSION_SOURCE_LENGTH),
31133
- bindings: zod.z.record(zod.z.string().regex(require_composition.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
31160
+ expr: zod.z.string().min(1).max(require_implemented_methods.MAX_EXPRESSION_SOURCE_LENGTH),
31161
+ bindings: zod.z.record(zod.z.string().regex(require_implemented_methods.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
31134
31162
  }).superRefine((src, ctx) => {
31135
- const err = require_composition.validateExpressionSource(src);
31163
+ const err = require_implemented_methods.validateExpressionSource(src);
31136
31164
  if (err !== null) ctx.addIssue({
31137
31165
  code: "custom",
31138
31166
  message: err,
@@ -32545,10 +32573,10 @@ var StationaryPresentLeafSchema = zod.z.object({
32545
32573
  */
32546
32574
  var ExpressionLeafSchema = zod.z.object({
32547
32575
  kind: zod.z.literal("expression"),
32548
- expr: zod.z.string().min(1).max(require_composition.MAX_EXPRESSION_SOURCE_LENGTH),
32549
- bindings: zod.z.record(zod.z.string().regex(require_composition.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
32576
+ expr: zod.z.string().min(1).max(require_implemented_methods.MAX_EXPRESSION_SOURCE_LENGTH),
32577
+ bindings: zod.z.record(zod.z.string().regex(require_implemented_methods.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
32550
32578
  }).superRefine((src, ctx) => {
32551
- const err = require_composition.validateExpressionSource(src);
32579
+ const err = require_implemented_methods.validateExpressionSource(src);
32552
32580
  if (err !== null) ctx.addIssue({
32553
32581
  code: "custom",
32554
32582
  message: err,
@@ -32779,10 +32807,10 @@ var LegacyStationaryPresentSchema = zod.z.object({
32779
32807
  });
32780
32808
  var LegacyExpressionSchema = zod.z.object({
32781
32809
  kind: zod.z.literal("expression"),
32782
- expr: zod.z.string().min(1).max(require_composition.MAX_EXPRESSION_SOURCE_LENGTH),
32783
- bindings: zod.z.record(zod.z.string().regex(require_composition.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
32810
+ expr: zod.z.string().min(1).max(require_implemented_methods.MAX_EXPRESSION_SOURCE_LENGTH),
32811
+ bindings: zod.z.record(zod.z.string().regex(require_implemented_methods.EXPRESSION_IDENTIFIER_RE), ExpressionBindingSourceSchema)
32784
32812
  }).superRefine((src, ctx) => {
32785
- const err = require_composition.validateExpressionSource(src);
32813
+ const err = require_implemented_methods.validateExpressionSource(src);
32786
32814
  if (err !== null) ctx.addIssue({
32787
32815
  code: "custom",
32788
32816
  message: err,
@@ -34452,7 +34480,7 @@ function evalNode(cond, path, reader, now, out, state) {
34452
34480
  const values = {};
34453
34481
  for (const [alias, binding] of Object.entries(cond.bindings)) {
34454
34482
  if (binding.kind === "literal") {
34455
- values[alias] = require_composition.toExpressionValue(binding.value) ?? null;
34483
+ values[alias] = require_implemented_methods.toExpressionValue(binding.value) ?? null;
34456
34484
  continue;
34457
34485
  }
34458
34486
  const raw = binding.kind === "global" ? reader.readStable(binding.sourceStableId, binding.cap, binding.fieldPath, binding.addonId) : void 0;
@@ -34466,9 +34494,9 @@ function evalNode(cond, path, reader, now, out, state) {
34466
34494
  state.unknown = true;
34467
34495
  return false;
34468
34496
  }
34469
- values[alias] = require_composition.toExpressionValue(raw) ?? null;
34497
+ values[alias] = require_implemented_methods.toExpressionValue(raw) ?? null;
34470
34498
  }
34471
- const result = require_composition.evaluateExpressionSource(cond.expr, values, now);
34499
+ const result = require_implemented_methods.evaluateExpressionSource(cond.expr, values, now);
34472
34500
  if (!result.ok) {
34473
34501
  out.push({
34474
34502
  path,
@@ -35905,6 +35933,10 @@ function newSlotNonce() {
35905
35933
  function slotPattern(nonce) {
35906
35934
  return new RegExp(`${VAR_SLOT_OPEN}${nonce}:([A-Za-z_][A-Za-z0-9_]*)${VAR_SLOT_CLOSE}`, "g");
35907
35935
  }
35936
+ /** `text` with every `{{vars.x}}` slot (the only slot the run-time holds) replaced by `replacement`. */
35937
+ function holdVarSlots(text, replacement) {
35938
+ return text.replace(TEMPLATE_RE, () => replacement);
35939
+ }
35908
35940
  /** True when a string, once its `{{vars.x}}` slots are set aside, still carries template markup. */
35909
35941
  function carriesDeviceTemplate(text) {
35910
35942
  return TEMPLATE_MARKUP_RE.test(text.replace(TEMPLATE_RE, ""));
@@ -42078,14 +42110,14 @@ var climateControlCapability = {
42078
42110
  kind: "mutation",
42079
42111
  auth: "protected"
42080
42112
  }),
42081
- setFanMode: require_sleep.method(zod.z.object({
42113
+ setFanMode: require_sleep.optionalMethod(zod.z.object({
42082
42114
  deviceId: zod.z.number().int().nonnegative(),
42083
42115
  fanMode: zod.z.string().min(1)
42084
42116
  }), zod.z.void(), {
42085
42117
  kind: "mutation",
42086
42118
  auth: "protected"
42087
42119
  }),
42088
- setPreset: require_sleep.method(zod.z.object({
42120
+ setPreset: require_sleep.optionalMethod(zod.z.object({
42089
42121
  deviceId: zod.z.number().int().nonnegative(),
42090
42122
  preset: zod.z.string().min(1)
42091
42123
  }), zod.z.void(), {
@@ -42099,7 +42131,7 @@ var climateControlCapability = {
42099
42131
  kind: "mutation",
42100
42132
  auth: "protected"
42101
42133
  }),
42102
- setTargetRange: require_sleep.method(zod.z.object({
42134
+ setTargetRange: require_sleep.optionalMethod(zod.z.object({
42103
42135
  deviceId: zod.z.number().int().nonnegative(),
42104
42136
  targetLow: zod.z.number(),
42105
42137
  targetHigh: zod.z.number()
@@ -42107,21 +42139,21 @@ var climateControlCapability = {
42107
42139
  kind: "mutation",
42108
42140
  auth: "protected"
42109
42141
  }),
42110
- setTargetHumidity: require_sleep.method(zod.z.object({
42142
+ setTargetHumidity: require_sleep.optionalMethod(zod.z.object({
42111
42143
  deviceId: zod.z.number().int().nonnegative(),
42112
42144
  targetHumidity: zod.z.number().min(0).max(100)
42113
42145
  }), zod.z.void(), {
42114
42146
  kind: "mutation",
42115
42147
  auth: "protected"
42116
42148
  }),
42117
- setSwingVertical: require_sleep.method(zod.z.object({
42149
+ setSwingVertical: require_sleep.optionalMethod(zod.z.object({
42118
42150
  deviceId: zod.z.number().int().nonnegative(),
42119
42151
  on: zod.z.boolean()
42120
42152
  }), zod.z.void(), {
42121
42153
  kind: "mutation",
42122
42154
  auth: "protected"
42123
42155
  }),
42124
- setSwingHorizontal: require_sleep.method(zod.z.object({
42156
+ setSwingHorizontal: require_sleep.optionalMethod(zod.z.object({
42125
42157
  deviceId: zod.z.number().int().nonnegative(),
42126
42158
  on: zod.z.boolean()
42127
42159
  }), zod.z.void(), {
@@ -42537,12 +42569,12 @@ var CompositionFieldPlanSchema = zod.z.object({
42537
42569
  required: zod.z.boolean(),
42538
42570
  unavailable: CompositionUnavailableModeSchema,
42539
42571
  role: CompositionFieldRoleSchema,
42540
- source: require_composition.CompositionFieldSourceSchema,
42541
- reads: zod.z.array(require_composition.CompositionFieldReadSchema)
42572
+ source: require_implemented_methods.CompositionFieldSourceSchema,
42573
+ reads: zod.z.array(require_implemented_methods.CompositionFieldReadSchema)
42542
42574
  });
42543
42575
  /** The key every record map, log line and graph node uses for a planned field. Two items' `status` are two keys. */
42544
42576
  function compositionFieldKey(plan) {
42545
- const path = plan.item === void 0 ? plan.path : require_composition.compositionItemFieldPath(plan.item.arrayPath, plan.item.key, plan.path);
42577
+ const path = plan.item === void 0 ? plan.path : require_implemented_methods.compositionItemFieldPath(plan.item.arrayPath, plan.item.key, plan.path);
42546
42578
  return `${plan.cap}.${path}`;
42547
42579
  }
42548
42580
  /**
@@ -42620,13 +42652,13 @@ var CompositionBlockStateSchema = zod.z.object({
42620
42652
  * and reads their state for the API. Nothing else talks to it.
42621
42653
  */
42622
42654
  /** The composer's runner id, `resolveRunnerId(decl, 'composer')`; pinned by `composer-manifest.spec.ts`. */
42623
- var COMPOSER_RUNNER_ID = require_composition.COMPOSER_ADDON_ID;
42655
+ var COMPOSER_RUNNER_ID = require_implemented_methods.COMPOSER_ADDON_ID;
42624
42656
  var ComposerBlockSchema = zod.z.object({
42625
42657
  id: zod.z.string().min(1),
42626
42658
  name: zod.z.string().min(1).max(120),
42627
42659
  enabled: zod.z.boolean(),
42628
42660
  updatedAt: zod.z.number(),
42629
- composition: require_composition.CompositionSchema
42661
+ composition: require_implemented_methods.CompositionSchema
42630
42662
  });
42631
42663
  /**
42632
42664
  * A stored composition row that no longer PARSES — a schema a release
@@ -43653,27 +43685,27 @@ var mediaPlayerCapability = {
43653
43685
  mode: "singleton",
43654
43686
  deviceTypes: [require_composed_stable_id.DeviceType.MediaPlayer],
43655
43687
  methods: {
43656
- turnOn: require_sleep.method(deviceOnly, zod.z.void(), {
43688
+ turnOn: require_sleep.optionalMethod(deviceOnly, zod.z.void(), {
43657
43689
  kind: "mutation",
43658
43690
  auth: "protected"
43659
43691
  }),
43660
- turnOff: require_sleep.method(deviceOnly, zod.z.void(), {
43692
+ turnOff: require_sleep.optionalMethod(deviceOnly, zod.z.void(), {
43661
43693
  kind: "mutation",
43662
43694
  auth: "protected"
43663
43695
  }),
43664
- volumeUp: require_sleep.method(stepInput, zod.z.void(), {
43696
+ volumeUp: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43665
43697
  kind: "mutation",
43666
43698
  auth: "protected"
43667
43699
  }),
43668
- volumeDown: require_sleep.method(stepInput, zod.z.void(), {
43700
+ volumeDown: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43669
43701
  kind: "mutation",
43670
43702
  auth: "protected"
43671
43703
  }),
43672
- channelUp: require_sleep.method(stepInput, zod.z.void(), {
43704
+ channelUp: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43673
43705
  kind: "mutation",
43674
43706
  auth: "protected"
43675
43707
  }),
43676
- channelDown: require_sleep.method(stepInput, zod.z.void(), {
43708
+ channelDown: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43677
43709
  kind: "mutation",
43678
43710
  auth: "protected"
43679
43711
  }),
@@ -43685,61 +43717,61 @@ var mediaPlayerCapability = {
43685
43717
  kind: "mutation",
43686
43718
  auth: "protected"
43687
43719
  }),
43688
- stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43720
+ stop: require_sleep.optionalMethod(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43689
43721
  kind: "mutation",
43690
43722
  auth: "protected"
43691
43723
  }),
43692
- next: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43724
+ next: require_sleep.optionalMethod(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43693
43725
  kind: "mutation",
43694
43726
  auth: "protected"
43695
43727
  }),
43696
- previous: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43728
+ previous: require_sleep.optionalMethod(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
43697
43729
  kind: "mutation",
43698
43730
  auth: "protected"
43699
43731
  }),
43700
- seek: require_sleep.method(zod.z.object({
43732
+ seek: require_sleep.optionalMethod(zod.z.object({
43701
43733
  deviceId: zod.z.number().int().nonnegative(),
43702
43734
  position: zod.z.number().int().nonnegative()
43703
43735
  }), zod.z.void(), {
43704
43736
  kind: "mutation",
43705
43737
  auth: "protected"
43706
43738
  }),
43707
- setVolume: require_sleep.method(zod.z.object({
43739
+ setVolume: require_sleep.optionalMethod(zod.z.object({
43708
43740
  deviceId: zod.z.number().int().nonnegative(),
43709
43741
  volumeLevel: zod.z.number().min(0).max(100)
43710
43742
  }), zod.z.void(), {
43711
43743
  kind: "mutation",
43712
43744
  auth: "protected"
43713
43745
  }),
43714
- setMute: require_sleep.method(zod.z.object({
43746
+ setMute: require_sleep.optionalMethod(zod.z.object({
43715
43747
  deviceId: zod.z.number().int().nonnegative(),
43716
43748
  muted: zod.z.boolean()
43717
43749
  }), zod.z.void(), {
43718
43750
  kind: "mutation",
43719
43751
  auth: "protected"
43720
43752
  }),
43721
- setShuffle: require_sleep.method(zod.z.object({
43753
+ setShuffle: require_sleep.optionalMethod(zod.z.object({
43722
43754
  deviceId: zod.z.number().int().nonnegative(),
43723
43755
  shuffle: zod.z.boolean()
43724
43756
  }), zod.z.void(), {
43725
43757
  kind: "mutation",
43726
43758
  auth: "protected"
43727
43759
  }),
43728
- setRepeat: require_sleep.method(zod.z.object({
43760
+ setRepeat: require_sleep.optionalMethod(zod.z.object({
43729
43761
  deviceId: zod.z.number().int().nonnegative(),
43730
43762
  repeat: MediaPlayerRepeatSchema
43731
43763
  }), zod.z.void(), {
43732
43764
  kind: "mutation",
43733
43765
  auth: "protected"
43734
43766
  }),
43735
- selectSource: require_sleep.method(zod.z.object({
43767
+ selectSource: require_sleep.optionalMethod(zod.z.object({
43736
43768
  deviceId: zod.z.number().int().nonnegative(),
43737
43769
  source: zod.z.string().min(1)
43738
43770
  }), zod.z.void(), {
43739
43771
  kind: "mutation",
43740
43772
  auth: "protected"
43741
43773
  }),
43742
- playMedia: require_sleep.method(zod.z.object({
43774
+ playMedia: require_sleep.optionalMethod(zod.z.object({
43743
43775
  deviceId: zod.z.number().int().nonnegative(),
43744
43776
  /** Media identifier / URL. */
43745
43777
  mediaId: zod.z.string().min(1),
@@ -44560,7 +44592,7 @@ function arityRange(builtin) {
44560
44592
  return `${builtin.minArgs}–${builtin.maxArgs}`;
44561
44593
  }
44562
44594
  function callKinds(callee, args) {
44563
- const builtin = require_composition.EXPRESSION_BUILTINS[callee];
44595
+ const builtin = require_implemented_methods.EXPRESSION_BUILTINS[callee];
44564
44596
  if (builtin !== void 0 && (args.length < builtin.minArgs || args.length > builtin.maxArgs)) throw new KindInferenceError(`${callee}: wrong number of arguments (${args.length}); expected ${arityRange(builtin)}`);
44565
44597
  const rule = BUILTIN_RESULT_KINDS[callee];
44566
44598
  if (rule === void 0) throw new KindInferenceError(`no result-kind rule for builtin '${callee}'`);
@@ -44596,11 +44628,11 @@ function nodeContainsCall(node, callee) {
44596
44628
  }
44597
44629
  }
44598
44630
  function expressionContainsBuiltinCall(expr, callee) {
44599
- const compiled = require_composition.compileExpressionSafe(expr);
44631
+ const compiled = require_implemented_methods.compileExpressionSafe(expr);
44600
44632
  return compiled.ok && nodeContainsCall(compiled.parsed.ast, callee);
44601
44633
  }
44602
44634
  function inferExpressionKinds(input) {
44603
- const compiled = require_composition.compileExpressionSafe(input.expr);
44635
+ const compiled = require_implemented_methods.compileExpressionSafe(input.expr);
44604
44636
  if (!compiled.ok) return {
44605
44637
  ok: false,
44606
44638
  error: compiled.error
@@ -44735,7 +44767,7 @@ function compatibility(cap, target, kinds, at) {
44735
44767
  */
44736
44768
  function literalStringValue(source) {
44737
44769
  if (source.kind !== "expression") return null;
44738
- const compiled = require_composition.compileExpressionSafe(source.expr);
44770
+ const compiled = require_implemented_methods.compileExpressionSafe(source.expr);
44739
44771
  if (!compiled.ok) return null;
44740
44772
  const ast = compiled.parsed.ast;
44741
44773
  return ast.kind === "literal" && typeof ast.value === "string" ? ast.value : null;
@@ -44756,8 +44788,8 @@ function enumLiteralProblem(cap, target, source, at) {
44756
44788
  function roleOf(source) {
44757
44789
  if (source.kind !== "expression") return "derived";
44758
44790
  if (expressionContainsBuiltinCall(source.expr, "count")) return "accumulator";
44759
- if (require_composition.fieldReads(source).length > 0) return "derived";
44760
- const compiled = require_composition.compileExpressionSafe(source.expr);
44791
+ if (require_implemented_methods.fieldReads(source).length > 0) return "derived";
44792
+ const compiled = require_implemented_methods.compileExpressionSafe(source.expr);
44761
44793
  return compiled.ok && compiled.parsed.identifiers.has("now") ? "clock" : "constant";
44762
44794
  }
44763
44795
  /**
@@ -44847,7 +44879,7 @@ function planItemField(ctx, leaf) {
44847
44879
  unavailable: unavailable.unavailable,
44848
44880
  role,
44849
44881
  source,
44850
- reads: [...require_composition.fieldReads(source)]
44882
+ reads: [...require_implemented_methods.fieldReads(source)]
44851
44883
  };
44852
44884
  const enumProblem = enumLiteralProblem(capName, tf, source, at);
44853
44885
  return {
@@ -44861,7 +44893,7 @@ function planItems(def, feature, featureIndex, lookupCap, mode = "new") {
44861
44893
  const at = `features[${featureIndex}].items`;
44862
44894
  const itemArray = def.status?.itemArray;
44863
44895
  if (itemArray === void 0) return refused(problem("not-item-array", at, `\`${def.name}\` has no item array — it takes no \`items\``));
44864
- if (itemArray.path !== "items") return refused(problem("not-item-array", at, `\`${def.name}\`'s item array is at \`${itemArray.path}\`, not \`${require_composition.COMPOSITION_ITEM_ARRAY_PATH}\` — not composable yet`));
44896
+ if (itemArray.path !== "items") return refused(problem("not-item-array", at, `\`${def.name}\`'s item array is at \`${itemArray.path}\`, not \`${require_implemented_methods.COMPOSITION_ITEM_ARRAY_PATH}\` — not composable yet`));
44865
44897
  const ctx = {
44866
44898
  capName: def.name,
44867
44899
  itemArray,
@@ -44923,8 +44955,8 @@ function featureForwards(feature, featureIndex) {
44923
44955
  }
44924
44956
  /** Every source a forward of an enabled feature calls, once. */
44925
44957
  function forwardSourceRefs(composition) {
44926
- const refs = composition.features.flatMap((feature, index) => feature.kind === "fields" && require_composition.compositionFeatureEnabled(feature) ? featureForwards(feature, index).map((forward) => forward.command.source) : []);
44927
- return [...new Map(refs.map((ref) => [require_composition.compositionSourceKey(ref), ref])).values()];
44958
+ const refs = composition.features.flatMap((feature, index) => feature.kind === "fields" && require_implemented_methods.compositionFeatureEnabled(feature) ? featureForwards(feature, index).map((forward) => forward.command.source) : []);
44959
+ return [...new Map(refs.map((ref) => [require_implemented_methods.compositionSourceKey(ref), ref])).values()];
44928
44960
  }
44929
44961
  /** The methods a BUILT cap must give a command: served, and not answered by the composer itself. */
44930
44962
  function commandedMethods(def) {
@@ -44959,7 +44991,7 @@ function inputFields(def, method) {
44959
44991
  }
44960
44992
  function inputRefs(arg) {
44961
44993
  if (typeof arg !== "object") return [];
44962
- if (require_composition.isForwardInputRef(arg)) return [arg.$input];
44994
+ if (require_implemented_methods.isForwardInputRef(arg)) return [arg.$input];
44963
44995
  return Object.values(arg).flatMap(inputRefs);
44964
44996
  }
44965
44997
  function names(list) {
@@ -45039,9 +45071,9 @@ function commandMethodProblems(built, feature, at) {
45039
45071
  */
45040
45072
  function forwardSourceProblems(composition, sources) {
45041
45073
  return composition.features.flatMap((feature, index) => {
45042
- if (feature.kind !== "fields" || !require_composition.compositionFeatureEnabled(feature)) return [];
45074
+ if (feature.kind !== "fields" || !require_implemented_methods.compositionFeatureEnabled(feature)) return [];
45043
45075
  return featureForwards(feature, index).flatMap((forward) => {
45044
- const key = require_composition.compositionSourceKey(forward.command.source);
45076
+ const key = require_implemented_methods.compositionSourceKey(forward.command.source);
45045
45077
  const desc = sources.get(key);
45046
45078
  const at = `${forward.at}.source`;
45047
45079
  if (desc === void 0 || desc.kind === "unreadable") return [problem("source-unreadable", at, `could not read source \`${key}\` (${desc === void 0 ? "it was not read" : desc.error}) — the save is refused rather than stored unchecked`)];
@@ -45076,7 +45108,7 @@ function numeric(input) {
45076
45108
  activeWhen: void 0,
45077
45109
  commandCaps: [],
45078
45110
  baseUnit: require_sleep.baseUnitOf(input.quantity),
45079
- aggregates: require_composition.NUMERIC_AGGREGATES,
45111
+ aggregates: require_implemented_methods.NUMERIC_AGGREGATES,
45080
45112
  accept: [{
45081
45113
  cap: input.outputCap,
45082
45114
  fieldPath: input.outputField
@@ -45095,7 +45127,7 @@ function binary(input) {
45095
45127
  commandCaps: [],
45096
45128
  quantity: "none",
45097
45129
  baseUnit: void 0,
45098
- aggregates: require_composition.BINARY_AGGREGATES,
45130
+ aggregates: require_implemented_methods.BINARY_AGGREGATES,
45099
45131
  empty: "offline"
45100
45132
  };
45101
45133
  }
@@ -45439,7 +45471,7 @@ function actuator(input) {
45439
45471
  activeWhen: input.activeWhen,
45440
45472
  quantity: "none",
45441
45473
  baseUnit: void 0,
45442
- aggregates: require_composition.BINARY_AGGREGATES,
45474
+ aggregates: require_implemented_methods.BINARY_AGGREGATES,
45443
45475
  defaultAggregate: "any",
45444
45476
  empty: "offline",
45445
45477
  accept: [input.member],
@@ -46138,12 +46170,12 @@ function draft(input) {
46138
46170
  }]
46139
46171
  };
46140
46172
  }
46141
- function statisticDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46173
+ function statisticDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46142
46174
  const problems = [...historyProblems(spec.source)];
46143
46175
  const kind = declaredSeriesKind(spec.source);
46144
46176
  if (kind === "enum") problems.push(problem("kind-mismatch", "helper.source", "a statistic reads a number or a boolean, not a state"));
46145
46177
  if (spec.stat === "sum" && kind !== "counter") problems.push(problem("kind-mismatch", "helper.stat", "a gauge has no sum — that is the integral template"));
46146
- const tier = require_composition.planStatisticTier(spec.window, retention);
46178
+ const tier = require_implemented_methods.planStatisticTier(spec.window, retention);
46147
46179
  if (!tier.ok) problems.push(problem("retention", "helper.window", tier.reason));
46148
46180
  return {
46149
46181
  problems,
@@ -46162,11 +46194,11 @@ function statisticDraft(spec, retention = require_composition.DEFAULT_HISTORY_RE
46162
46194
  * minute or hour. The output is a plain number: a rate of a temperature is not
46163
46195
  * a temperature, so the chart carries no inherited unit.
46164
46196
  */
46165
- function derivativeDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46197
+ function derivativeDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46166
46198
  const problems = [...historyProblems(spec.source)];
46167
46199
  const kind = declaredSeriesKind(spec.source);
46168
46200
  if (kind === "enum" || kind === "boolean") problems.push(problem("kind-mismatch", "helper.source", "a derivative reads a number that moves, not a yes/no or a state"));
46169
- const tier = require_composition.planStatisticTier(spec.window, retention);
46201
+ const tier = require_implemented_methods.planStatisticTier(spec.window, retention);
46170
46202
  if (!tier.ok) problems.push(problem("retention", "helper.window", tier.reason));
46171
46203
  return {
46172
46204
  problems,
@@ -46180,14 +46212,14 @@ function derivativeDraft(spec, retention = require_composition.DEFAULT_HISTORY_R
46180
46212
  })
46181
46213
  };
46182
46214
  }
46183
- function integralDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46215
+ function integralDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46184
46216
  const problems = [...historyProblems(spec.source)];
46185
46217
  const kind = declaredSeriesKind(spec.source);
46186
46218
  const isPower = spec.source.cap === "power-meter" && spec.source.fieldPath === "power";
46187
46219
  if (kind === "counter" || kind === "boolean" || kind === "enum") problems.push(problem("kind-mismatch", "helper.source", "an integral reads an instantaneous gauge, not a counter or a state"));
46188
46220
  if (spec.output === "energy" && !isPower) problems.push(problem("kind-mismatch", "helper.output", "energy is the integral of power-meter.power; another reading uses the meter"));
46189
46221
  if (spec.output === "meter" && isPower) problems.push(problem("kind-mismatch", "helper.output", "power integrates to power-meter.energy, which energy dashboards already read"));
46190
- const tier = require_composition.planResetTier(spec.reset, retention);
46222
+ const tier = require_implemented_methods.planResetTier(spec.reset, retention);
46191
46223
  if (!tier.ok) problems.push(problem("retention", "helper.reset", tier.reason));
46192
46224
  const energy = spec.output === "energy";
46193
46225
  return {
@@ -46455,7 +46487,7 @@ function expressionProblems(spec) {
46455
46487
  });
46456
46488
  if (problems.length > 0) return problems;
46457
46489
  const bindings = Object.fromEntries(spec.inputs.map((input) => [input.name, from$2(input.member)]));
46458
- const message = require_composition.validateExpressionSource({
46490
+ const message = require_implemented_methods.validateExpressionSource({
46459
46491
  expr: spec.expr,
46460
46492
  bindings
46461
46493
  });
@@ -46546,7 +46578,7 @@ function criterionProblems(template, spec) {
46546
46578
  return [];
46547
46579
  }
46548
46580
  function parseDraft(draft) {
46549
- const parsed = require_composition.CompositionSchema.safeParse(draft);
46581
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(draft);
46550
46582
  if (parsed.success) return {
46551
46583
  ok: true,
46552
46584
  composition: parsed.data
@@ -46564,7 +46596,7 @@ function expressionSource(expr, bindings = {}) {
46564
46596
  };
46565
46597
  }
46566
46598
  /** Compile a helper template to a new-device composition. Refusals are named. */
46567
- function compileHelper(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46599
+ function compileHelper(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46568
46600
  switch (spec.kind) {
46569
46601
  case "group": return compileGroup(spec);
46570
46602
  case "statistic": {
@@ -46643,7 +46675,7 @@ function quantityProblems(spec, facts) {
46643
46675
  const template = groupTemplate(spec.templateId);
46644
46676
  if (template === null || template.family !== "numeric") return [];
46645
46677
  const known = spec.members.flatMap((member, index) => {
46646
- const quantity = facts.get(require_composition.compositionSourceKey(member.source))?.quantity;
46678
+ const quantity = facts.get(require_implemented_methods.compositionSourceKey(member.source))?.quantity;
46647
46679
  return quantity === void 0 ? [] : [{
46648
46680
  index,
46649
46681
  quantity
@@ -46659,7 +46691,7 @@ function deviceTypeProblems(spec, facts) {
46659
46691
  const template = groupTemplate(spec.templateId);
46660
46692
  if (template === null) return [];
46661
46693
  return spec.members.flatMap((member, index) => {
46662
- const deviceType = facts.get(require_composition.compositionSourceKey(member.source))?.deviceType;
46694
+ const deviceType = facts.get(require_implemented_methods.compositionSourceKey(member.source))?.deviceType;
46663
46695
  if (deviceType === void 0 || template.memberDeviceTypes.includes(deviceType)) return [];
46664
46696
  return [problem("member-constraint", `helper.members[${index}]`, `a ${template.id} group takes ${template.memberDeviceTypes.join(" or ")} devices; this member is a ${deviceType}`)];
46665
46697
  });
@@ -46686,7 +46718,7 @@ function helperSaveProblems(composition, facts) {
46686
46718
  */
46687
46719
  function arithmeticQuantityProblems(spec, facts) {
46688
46720
  const known = spec.inputs.flatMap((input) => {
46689
- const quantity = facts.get(require_composition.compositionSourceKey(input.source))?.quantity;
46721
+ const quantity = facts.get(require_implemented_methods.compositionSourceKey(input.source))?.quantity;
46690
46722
  return quantity === void 0 ? [] : [quantity];
46691
46723
  });
46692
46724
  const distinct = [...new Set(known)];
@@ -46733,21 +46765,21 @@ function arithmeticQuantityProblems(spec, facts) {
46733
46765
  var CompositionGraphError = class extends Error {};
46734
46766
  /** `"cap.field"` of every field a peer writes — the same spelling as `compositionFieldKey`. */
46735
46767
  function writtenFields(peer) {
46736
- return new Set(peer.composition.features.flatMap((feature) => !require_composition.compositionFeatureEnabled(feature) || feature.kind !== "fields" ? [] : require_composition.featureFieldEntries(feature).map(({ fieldPath }) => `${feature.cap}.${fieldPath}`)));
46768
+ return new Set(peer.composition.features.flatMap((feature) => !require_implemented_methods.compositionFeatureEnabled(feature) || feature.kind !== "fields" ? [] : require_implemented_methods.featureFieldEntries(feature).map(({ fieldPath }) => `${feature.cap}.${fieldPath}`)));
46737
46769
  }
46738
46770
  /** A read of the peer's OWN device is an edge only when it reads the peer's own output (rule 5, D663). */
46739
46771
  function readsComposedValue(peer, written, read) {
46740
- if (require_composition.compositionSourceKey(read.source) !== require_composition.compositionSourceKey(peer.target)) return true;
46772
+ if (require_implemented_methods.compositionSourceKey(read.source) !== require_implemented_methods.compositionSourceKey(peer.target)) return true;
46741
46773
  const field = `${read.cap}.${read.fieldPath}`;
46742
46774
  return written.has(field) && peer.replaced?.has(field) !== true;
46743
46775
  }
46744
46776
  function peerEdges(peer) {
46745
46777
  const written = writtenFields(peer);
46746
- return peer.composition.features.flatMap((feature) => !require_composition.compositionFeatureEnabled(feature) || feature.kind !== "fields" ? [] : require_composition.featureFieldEntries(feature).map(({ fieldPath, source }) => [require_composition.compositionReadKey({
46778
+ return peer.composition.features.flatMap((feature) => !require_implemented_methods.compositionFeatureEnabled(feature) || feature.kind !== "fields" ? [] : require_implemented_methods.featureFieldEntries(feature).map(({ fieldPath, source }) => [require_implemented_methods.compositionReadKey({
46747
46779
  source: peer.target,
46748
46780
  cap: feature.cap,
46749
46781
  fieldPath
46750
- }), require_composition.fieldReads(source).filter((read) => readsComposedValue(peer, written, read)).map(require_composition.compositionReadKey)]));
46782
+ }), require_implemented_methods.fieldReads(source).filter((read) => readsComposedValue(peer, written, read)).map(require_implemented_methods.compositionReadKey)]));
46751
46783
  }
46752
46784
  /**
46753
46785
  * Every peer that actually takes part in the graph: each stored peer minus the
@@ -46757,11 +46789,11 @@ function peerEdges(peer) {
46757
46789
  * block targets the candidate's device, or two stored peers share a device.
46758
46790
  */
46759
46791
  function resolvedPeers(candidate, stored) {
46760
- const candidateKey = require_composition.compositionSourceKey(candidate.target);
46792
+ const candidateKey = require_implemented_methods.compositionSourceKey(candidate.target);
46761
46793
  const survivors = /* @__PURE__ */ new Map();
46762
46794
  for (const peer of stored) {
46763
46795
  if (peer.blockId === candidate.blockId) continue;
46764
- const key = require_composition.compositionSourceKey(peer.target);
46796
+ const key = require_implemented_methods.compositionSourceKey(peer.target);
46765
46797
  if (key === candidateKey) throw new CompositionGraphError(`block \`${peer.blockId}\` and block \`${candidate.blockId}\` both target device \`${key}\` — one composition per device; delete or edit the existing one`);
46766
46798
  const clash = survivors.get(key);
46767
46799
  if (clash !== void 0) throw new CompositionGraphError(`two stored compositions (\`${clash.blockId}\`, \`${peer.blockId}\`) both target device \`${key}\` — refusing to build the field graph`);
@@ -46855,7 +46887,7 @@ function cycleThrough(start, component, edges) {
46855
46887
  */
46856
46888
  function findCandidateCycles(candidate, stored) {
46857
46889
  const edges = compositionEdges(candidate, stored);
46858
- const prefix = `${require_composition.compositionSourceKey(candidate.target)}#`;
46890
+ const prefix = `${require_implemented_methods.compositionSourceKey(candidate.target)}#`;
46859
46891
  return stronglyConnected(edges).flatMap((members) => {
46860
46892
  const start = members.find((n) => n.startsWith(prefix));
46861
46893
  if (start === void 0) return [];
@@ -46877,7 +46909,7 @@ function buildCapabilityLookup(defs) {
46877
46909
  /** Caps every `BaseDevice` registers on itself; a second registration throws. */
46878
46910
  var BASE_DEVICE_CAPS = new Set(["device-status", "feature-probe"]);
46879
46911
  var PENDING_SELF = {
46880
- addonId: require_composition.COMPOSER_ADDON_ID,
46912
+ addonId: require_implemented_methods.COMPOSER_ADDON_ID,
46881
46913
  stableId: `${require_composed_stable_id.COMPOSED_DEVICE_STABLE_ID_PREFIX}(unsaved)`
46882
46914
  };
46883
46915
  /** The candidate's block id before its first save. Stored block ids are `randomUUID()`, so none can carry it. */
@@ -46952,7 +46984,7 @@ function planTopLevelField({ def, fields }, field, mode, lookupCap) {
46952
46984
  unavailable: omitEmpty ? "omit" : unavailable.unavailable,
46953
46985
  role,
46954
46986
  source,
46955
- reads: [...require_composition.fieldReads(source)]
46987
+ reads: [...require_implemented_methods.fieldReads(source)]
46956
46988
  };
46957
46989
  const enumProblem = enumLiteralProblem(def.name, tf, source, fieldAt);
46958
46990
  return {
@@ -47025,7 +47057,7 @@ function planTargetOf(composition, target) {
47025
47057
  kind: "new",
47026
47058
  type: composition.target.type
47027
47059
  };
47028
- const key = require_composition.compositionSourceKey(composition.target.device);
47060
+ const key = require_implemented_methods.compositionSourceKey(composition.target.device);
47029
47061
  if (target === void 0) return problem("target-unreadable", "target", `target device \`${key}\` was not read — the save is refused rather than stored unchecked`);
47030
47062
  if (target.kind === "absent") return problem("target-missing", "target", `target device \`${key}\` does not exist`);
47031
47063
  if (target.kind === "unreadable") return problem("target-unreadable", "target", `could not read target device \`${key}\` (${target.error}) — the save is refused rather than stored unchecked`);
@@ -47098,7 +47130,7 @@ function planComposition(composition, lookupCap, target) {
47098
47130
  if (feature.kind === "passthrough") return refused(problem("reserved-variant", at, `whole-capability passthrough of \`${feature.cap}\` arrives in slice 3`));
47099
47131
  const featureTarget = featureTargetOf(planTarget, feature, at);
47100
47132
  if (isPlanProblem(featureTarget)) {
47101
- if (!require_composition.compositionFeatureEnabled(feature) || planTarget.kind !== "existing") return {
47133
+ if (!require_implemented_methods.compositionFeatureEnabled(feature) || planTarget.kind !== "existing") return {
47102
47134
  problems: [],
47103
47135
  fields: [],
47104
47136
  features: [],
@@ -47110,7 +47142,7 @@ function planComposition(composition, lookupCap, target) {
47110
47142
  }, lookupCap, servedCommands));
47111
47143
  }
47112
47144
  const result = planFeature(feature, index, featureTarget, lookupCap, servedCommands);
47113
- if (require_composition.compositionFeatureEnabled(feature)) return result;
47145
+ if (require_implemented_methods.compositionFeatureEnabled(feature)) return result;
47114
47146
  return {
47115
47147
  problems: Object.keys(feature.fields).length === 0 ? result.problems.filter((p) => p.code !== "missing-field") : result.problems,
47116
47148
  fields: [],
@@ -47126,8 +47158,8 @@ function planComposition(composition, lookupCap, target) {
47126
47158
  };
47127
47159
  }
47128
47160
  function compositionSourceRefs(composition) {
47129
- const refs = composition.features.flatMap((f) => require_composition.compositionFeatureEnabled(f) && f.kind === "fields" ? require_composition.featureSources(f).flatMap(require_composition.fieldReads).map((r) => r.source) : []);
47130
- return [...new Map([...refs, ...forwardSourceRefs(composition)].map((r) => [require_composition.compositionSourceKey(r), r])).values()];
47161
+ const refs = composition.features.flatMap((f) => require_implemented_methods.compositionFeatureEnabled(f) && f.kind === "fields" ? require_implemented_methods.featureSources(f).flatMap(require_implemented_methods.fieldReads).map((r) => r.source) : []);
47162
+ return [...new Map([...refs, ...forwardSourceRefs(composition)].map((r) => [require_implemented_methods.compositionSourceKey(r), r])).values()];
47131
47163
  }
47132
47164
  /**
47133
47165
  * The candidate's device: the existing target itself, else `self`, else a
@@ -47164,10 +47196,10 @@ function selfReadProblems(read, at, fields, self) {
47164
47196
  return [problem("source-capability-missing", at, `the target device (device ${self.native.deviceId}) has no native \`${read.cap}\``)];
47165
47197
  }
47166
47198
  function sourceProblems(fields, ctx, self) {
47167
- const selfKey = require_composition.compositionSourceKey(self.ref);
47199
+ const selfKey = require_implemented_methods.compositionSourceKey(self.ref);
47168
47200
  return fields.flatMap((field) => field.reads.flatMap((read) => {
47169
47201
  const at = compositionFieldAt(field);
47170
- const key = require_composition.compositionSourceKey(read.source);
47202
+ const key = require_implemented_methods.compositionSourceKey(read.source);
47171
47203
  if (key === selfKey) return selfReadProblems(read, at, fields, self);
47172
47204
  const desc = ctx.sources.get(key);
47173
47205
  if (desc === void 0 || desc.kind === "unreadable") return [problem("source-unreadable", at, `could not read source \`${key}\` (${desc === void 0 ? "it was not read" : desc.error}) — the save is refused rather than stored unchecked`)];
@@ -47235,7 +47267,7 @@ function cycleProblems(composition, ctx, fields, self) {
47235
47267
  composition,
47236
47268
  replaced: self.replaced
47237
47269
  };
47238
- const candidateKey = require_composition.compositionSourceKey(candidate.target);
47270
+ const candidateKey = require_implemented_methods.compositionSourceKey(candidate.target);
47239
47271
  const unread = ctx.unreadTargets ?? /* @__PURE__ */ new Map();
47240
47272
  try {
47241
47273
  return findCandidateCycles(candidate, ctx.peers).map((c) => {
@@ -47736,7 +47768,7 @@ var CoreBlockSourceSchema = zod.z.discriminatedUnion("kind", [
47736
47768
  }),
47737
47769
  zod.z.object({
47738
47770
  kind: zod.z.literal("composition"),
47739
- composition: require_composition.CompositionSchema
47771
+ composition: require_implemented_methods.CompositionSchema
47740
47772
  })
47741
47773
  ]);
47742
47774
  /**
@@ -47750,7 +47782,7 @@ var CoreBlockSourceSchema = zod.z.discriminatedUnion("kind", [
47750
47782
  var CompositionBlockInputSchema = zod.z.object({
47751
47783
  name: zod.z.string().min(1).max(120).optional(),
47752
47784
  enabled: zod.z.boolean(),
47753
- composition: require_composition.CompositionSchema
47785
+ composition: require_implemented_methods.CompositionSchema
47754
47786
  });
47755
47787
  /** A stored block. `code` is always present after normalize (derived from files). */
47756
47788
  var CoreBlockSchema = zod.z.object({
@@ -48007,7 +48039,7 @@ var coreBlocksCapability = {
48007
48039
  * for its body size; it writes nothing, so its access is `view`.
48008
48040
  */
48009
48041
  validateComposition: require_sleep.method(zod.z.object({
48010
- composition: require_composition.CompositionSchema,
48042
+ composition: require_implemented_methods.CompositionSchema,
48011
48043
  blockId: zod.z.string().optional()
48012
48044
  }), CompositionValidationSchema, {
48013
48045
  kind: "mutation",
@@ -48110,18 +48142,18 @@ var coverCapability = {
48110
48142
  kind: "mutation",
48111
48143
  auth: "protected"
48112
48144
  }),
48113
- stop: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
48145
+ stop: require_sleep.optionalMethod(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
48114
48146
  kind: "mutation",
48115
48147
  auth: "protected"
48116
48148
  }),
48117
- setPosition: require_sleep.method(zod.z.object({
48149
+ setPosition: require_sleep.optionalMethod(zod.z.object({
48118
48150
  deviceId: zod.z.number().int().nonnegative(),
48119
48151
  position: zod.z.number().min(0).max(100)
48120
48152
  }), zod.z.void(), {
48121
48153
  kind: "mutation",
48122
48154
  auth: "protected"
48123
48155
  }),
48124
- setTiltPosition: require_sleep.method(zod.z.object({
48156
+ setTiltPosition: require_sleep.optionalMethod(zod.z.object({
48125
48157
  deviceId: zod.z.number().int().nonnegative(),
48126
48158
  tiltPosition: zod.z.number().min(0).max(100)
48127
48159
  }), zod.z.void(), {
@@ -49587,7 +49619,8 @@ var RESERVED_ALIASES = new Set([
49587
49619
  "extends",
49588
49620
  "block",
49589
49621
  "macro",
49590
- "now"
49622
+ "now",
49623
+ "camera"
49591
49624
  ]);
49592
49625
  var DeviceAliasSchema = zod.z.string().max(64).regex(DEVICE_ALIAS_PATTERN);
49593
49626
  function isReservedDeviceAlias(alias) {
@@ -49663,10 +49696,41 @@ var DEVICE_TEMPLATE_MAX_OUTPUT = 4096;
49663
49696
  /** What an unknown or unavailable value renders as. */
49664
49697
  var DEVICE_TEMPLATE_UNAVAILABLE = "—";
49665
49698
  var DeviceTemplateSchema = zod.z.string().min(1).max(DEVICE_TEMPLATE_MAX_LENGTH);
49699
+ /**
49700
+ * The clock, as a template value: `{{ now | time('HH:mm') }}` (epoch ms; the
49701
+ * zone is the server's). Reserved: no device alias may be spelled `now`.
49702
+ */
49703
+ var DEVICE_TEMPLATE_NOW_ALIAS = "now";
49704
+ /**
49705
+ * The device a caller renders FOR, as a template name: `{{ camera.temperature }}`.
49706
+ * It resolves only when the call names `thisDevice`, so a template stays copyable
49707
+ * between devices. It shadows a device whose own alias is `camera`.
49708
+ */
49709
+ var DEVICE_TEMPLATE_THIS_ALIAS = "camera";
49710
+ /** One value a caller hands the renderer for `thisDevice`. */
49711
+ var DeviceTemplateValueSchema = zod.z.union([
49712
+ zod.z.string(),
49713
+ zod.z.number(),
49714
+ zod.z.boolean()
49715
+ ]);
49716
+ /**
49717
+ * The device a render is FOR (`camera` in the text) and the values the caller
49718
+ * knows about it that no capability carries, for example `lastPerson` and
49719
+ * `lastPlate`. `values` read as `camera.<name>`; a name a capability also carries
49720
+ * is `ambiguous` and is written `camera.values.<name>`.
49721
+ */
49722
+ var DeviceTemplateThisDeviceSchema = zod.z.object({
49723
+ deviceId: zod.z.number().int(),
49724
+ values: zod.z.record(zod.z.string().min(1).max(64), DeviceTemplateValueSchema).optional()
49725
+ });
49726
+ /** The synthetic slice `thisDevice.values` is exposed under. */
49727
+ var DEVICE_TEMPLATE_VALUES_CAP = "values";
49666
49728
  /** The filters a template may use. Anything else is refused at parse time. */
49667
49729
  var DEVICE_TEMPLATE_FILTERS = [
49668
49730
  "unit",
49669
49731
  "round",
49732
+ "trunc",
49733
+ "onoff",
49670
49734
  "default",
49671
49735
  "since",
49672
49736
  "ago",
@@ -49690,7 +49754,8 @@ var DEVICE_TEMPLATE_FILTERS = [
49690
49754
  "sum",
49691
49755
  "string",
49692
49756
  "list",
49693
- "truncate"
49757
+ "truncate",
49758
+ "time"
49694
49759
  ];
49695
49760
  var DEVICE_TEMPLATE_REFUSAL_REASONS = [
49696
49761
  "too-long",
@@ -50430,7 +50495,9 @@ var DeviceBindingsForDeviceSchema = zod.z.object({
50430
50495
  kind: zod.z.enum(["native", "wrapped"]),
50431
50496
  providerAddonId: zod.z.string(),
50432
50497
  providerNodeId: zod.z.string(),
50433
- nativeAddonId: zod.z.string()
50498
+ nativeAddonId: zod.z.string(),
50499
+ /** The cap's methods the native provider implements; absent = all. */
50500
+ implementedMethods: zod.z.array(zod.z.string()).optional()
50434
50501
  }))
50435
50502
  });
50436
50503
  /**
@@ -50748,7 +50815,9 @@ var deviceManagerCapability = {
50748
50815
  */
50749
50816
  renderDeviceTemplates: require_sleep.method(zod.z.object({
50750
50817
  templates: zod.z.array(DeviceTemplateSchema).max(64),
50751
- allowedDeviceIds: zod.z.array(zod.z.number().int()).optional()
50818
+ allowedDeviceIds: zod.z.array(zod.z.number().int()).optional(),
50819
+ /** The device `camera` names in the texts, and the values the caller knows of it. */
50820
+ thisDevice: DeviceTemplateThisDeviceSchema.optional()
50752
50821
  }), zod.z.object({ results: zod.z.array(DeviceTemplateRenderSchema) }), { auth: "admin" }),
50753
50822
  /**
50754
50823
  * Vet templates without rendering them: the syntax refusal, or the devices
@@ -50757,14 +50826,19 @@ var deviceManagerCapability = {
50757
50826
  */
50758
50827
  checkDeviceTemplates: require_sleep.method(zod.z.object({
50759
50828
  templates: zod.z.array(zod.z.string()).max(64),
50760
- allowedDeviceIds: zod.z.array(zod.z.number().int()).optional()
50829
+ allowedDeviceIds: zod.z.array(zod.z.number().int()).optional(),
50830
+ thisDevice: DeviceTemplateThisDeviceSchema.optional()
50761
50831
  }), zod.z.object({ results: zod.z.array(zod.z.discriminatedUnion("ok", [zod.z.object({
50762
50832
  ok: zod.z.literal(true),
50763
50833
  aliases: zod.z.array(zod.z.object({
50764
50834
  alias: zod.z.string(),
50765
50835
  deviceId: zod.z.number().int().nullable(),
50766
- allowed: zod.z.boolean()
50767
- }))
50836
+ allowed: zod.z.boolean(),
50837
+ /** The fields the text reads on this alias, as written (`temperature`, `cap.field`). */
50838
+ reads: zod.z.array(zod.z.string())
50839
+ })),
50840
+ /** Whether the text reads the clock (`now`): it changes every minute. */
50841
+ readsClock: zod.z.boolean()
50768
50842
  }), zod.z.object({
50769
50843
  ok: zod.z.literal(false),
50770
50844
  refusal: DeviceTemplateRefusalSchema
@@ -54930,28 +55004,28 @@ var fanControlCapability = {
54930
55004
  mode: "singleton",
54931
55005
  deviceTypes: [require_composed_stable_id.DeviceType.Fan],
54932
55006
  methods: {
54933
- setPercentage: require_sleep.method(zod.z.object({
55007
+ setPercentage: require_sleep.optionalMethod(zod.z.object({
54934
55008
  deviceId: zod.z.number().int().nonnegative(),
54935
55009
  speed: zod.z.number().min(0).max(100)
54936
55010
  }), zod.z.void(), {
54937
55011
  kind: "mutation",
54938
55012
  auth: "protected"
54939
55013
  }),
54940
- setPreset: require_sleep.method(zod.z.object({
55014
+ setPreset: require_sleep.optionalMethod(zod.z.object({
54941
55015
  deviceId: zod.z.number().int().nonnegative(),
54942
55016
  preset: zod.z.string().min(1)
54943
55017
  }), zod.z.void(), {
54944
55018
  kind: "mutation",
54945
55019
  auth: "protected"
54946
55020
  }),
54947
- setDirection: require_sleep.method(zod.z.object({
55021
+ setDirection: require_sleep.optionalMethod(zod.z.object({
54948
55022
  deviceId: zod.z.number().int().nonnegative(),
54949
55023
  direction: FanDirectionSchema
54950
55024
  }), zod.z.void(), {
54951
55025
  kind: "mutation",
54952
55026
  auth: "protected"
54953
55027
  }),
54954
- setOscillating: require_sleep.method(zod.z.object({
55028
+ setOscillating: require_sleep.optionalMethod(zod.z.object({
54955
55029
  deviceId: zod.z.number().int().nonnegative(),
54956
55030
  oscillating: zod.z.boolean()
54957
55031
  }), zod.z.void(), {
@@ -60588,7 +60662,7 @@ var lockControlCapability = {
60588
60662
  kind: "mutation",
60589
60663
  auth: "protected"
60590
60664
  }),
60591
- open: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
60665
+ open: require_sleep.optionalMethod(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
60592
60666
  kind: "mutation",
60593
60667
  auth: "protected"
60594
60668
  })
@@ -62115,6 +62189,16 @@ var MIGRATION_API_V1_METHODS = {
62115
62189
  output: zod.z.object({ removed: zod.z.array(zod.z.string()) }),
62116
62190
  behaviours: ["settings.deleteKeys.removes-only-the-named-keys"]
62117
62191
  },
62192
+ "deviceSettings.listIds": {
62193
+ input: zod.z.object({}),
62194
+ output: zod.z.object({ deviceIds: zod.z.array(zod.z.number().int()) }),
62195
+ behaviours: ["deviceSettings.listIds.names-only-the-addons-own-devices"]
62196
+ },
62197
+ "deviceSettings.read": {
62198
+ input: zod.z.object({ deviceIds: zod.z.array(zod.z.number().int()) }),
62199
+ output: zod.z.object({ blobs: zod.z.record(zod.z.string(), Rows) }),
62200
+ behaviours: ["deviceSettings.read.returns-only-the-addons-own-blobs"]
62201
+ },
62118
62202
  "secrets.resolve": {
62119
62203
  input: zod.z.object({ refs: zod.z.array(zod.z.string()) }),
62120
62204
  output: zod.z.object({ values: zod.z.record(zod.z.string(), zod.z.string().nullable()) }),
@@ -62161,6 +62245,11 @@ var MIGRATION_API_V1_METHODS = {
62161
62245
  }).nullable(),
62162
62246
  behaviours: ["devices.get.null-for-an-unknown-id", "devices.get.reports-link-and-config"]
62163
62247
  },
62248
+ "devices.aliases": {
62249
+ input: zod.z.object({ deviceIds: zod.z.array(zod.z.number().int()) }),
62250
+ output: zod.z.object({ aliases: zod.z.record(zod.z.string(), zod.z.string()) }),
62251
+ behaviours: ["devices.aliases.answers-for-the-named-ids-only"]
62252
+ },
62164
62253
  "devices.setIntegrationId": {
62165
62254
  input: zod.z.object({
62166
62255
  deviceId: zod.z.number().int(),
@@ -72131,6 +72220,41 @@ var NcRuleTargetSchema = zod.z.object({
72131
72220
  params: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
72132
72221
  });
72133
72222
  /**
72223
+ * One target's own settings on a rule (#487) — everything about THAT target.
72224
+ *
72225
+ * Every key is optional and ABSENT means "the rule's own value": the rule's
72226
+ * texts, priority and schedule are the defaults every target inherits, so a
72227
+ * rule saved before this field reads exactly as it did, with no migration.
72228
+ *
72229
+ * - `template` — the target's own title / body, the same `{{var}}` template
72230
+ * the rule's texts use. A field the target's kind does not deliver (#483,
72231
+ * `deliverableFields`) is never written by an editor and dropped at send.
72232
+ * - `schedule` — deliver to this target only inside these windows. A target
72233
+ * outside its window gets no outbox row and the skip is logged; the other
72234
+ * targets of the same fire still deliver.
72235
+ * - `priority` — this target's canonical ordinal (1..5).
72236
+ *
72237
+ * The notifier's own declared knobs (D938 `deliveryParams`: sound, critical,
72238
+ * volume…) stay where they already live per target: the rule target's
72239
+ * `params`. One store per fact.
72240
+ */
72241
+ /**
72242
+ * The longest title a rule (or one of its targets) may carry. Also the cut a
72243
+ * title-only target's body falls back to when its rendered title is empty
72244
+ * (D1030).
72245
+ */
72246
+ var NC_TEMPLATE_TITLE_MAX_CHARS = 500;
72247
+ var NcTargetOverrideSchema = zod.z.object({
72248
+ template: zod.z.object({
72249
+ title: zod.z.string().max(500).optional(),
72250
+ body: zod.z.string().max(2e3).optional()
72251
+ }).optional(),
72252
+ schedule: NcScheduleSchema.optional(),
72253
+ priority: zod.z.number().int().min(1).max(5).optional()
72254
+ });
72255
+ /** Per-target settings keyed by target id (#487). */
72256
+ var NcTargetOverridesSchema = zod.z.record(zod.z.string(), NcTargetOverrideSchema);
72257
+ /**
72134
72258
  * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
72135
72259
  *
72136
72260
  * Every mode starts from the same CLEAN source frame of the trigger moment
@@ -72443,6 +72567,13 @@ var NcRuleInputSchema = zod.z.object({
72443
72567
  * targets.
72444
72568
  */
72445
72569
  targetUsers: zod.z.array(zod.z.string()).optional(),
72570
+ /**
72571
+ * Per-target settings keyed by target id (#487): texts, schedule, priority.
72572
+ * Absent (and an absent entry) = the rule's own values. A patch that omits
72573
+ * the key keeps the stored map; a patch that names it REPLACES it whole —
72574
+ * `{}` empties it.
72575
+ */
72576
+ targetOverrides: NcTargetOverridesSchema.optional(),
72446
72577
  /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
72447
72578
  * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
72448
72579
  media: NcMediaPolicySchema.default({}),
@@ -74941,57 +75072,27 @@ setOverlay: require_sleep.method(zod.z.object({
74941
75072
  * fields into one overlay string (plugin catalog OSD Manager parity).
74942
75073
  */
74943
75074
  /**
74944
- * How a parser token expands one binding. Not stored on the binding —
74945
- * the parser picks the mode per insert (`{alias.value}` / `.unit` / `.full`).
74946
- */
74947
- var OsdTemplateTokenKindSchema = zod.z.enum([
74948
- "value",
74949
- "unit",
74950
- "full"
74951
- ]);
74952
- /** @deprecated Use `OsdTemplateTokenKind` — kept for generated import churn. */
74953
- var OsdTemplateFormatSchema = zod.z.enum([
74954
- "value+unit",
74955
- "value",
74956
- "unit"
74957
- ]);
74958
- /**
74959
- * How the operator reached the leaf device. `deviceId` is ALWAYS the
74960
- * OSD-supported leaf that is read; `containerId` is set when the pick
74961
- * went through a container (gateway) first.
74962
- */
74963
- var OsdTemplatePickSchema = zod.z.object({
74964
- containerId: zod.z.number().int().optional(),
74965
- deviceId: zod.z.number().int()
74966
- });
74967
- /**
74968
- * One named binding inside a multi-device template: device path + unit
74969
- * selection + precision. The parser expands `{alias}`, `{alias.value}`,
74970
- * `{alias.unit}`, or `{alias.full}` from the same binding — there is no
74971
- * per-binding format lock.
75075
+ * The text of a named template: a device template (D1021) —
75076
+ * `{{ camera.temperature | round(1) }}`, `{{ now | time('HH:mm') }}`,
75077
+ * `{% if camera.motion %}MOTION{% endif %}` — rendered by the ONE hub renderer
75078
+ * (`device-manager.renderDeviceTemplates`), never by this addon.
75079
+ *
75080
+ * Two names belong to the render rather than to a device:
75081
+ * - `now` is the clock; `time('HH:mm')` prints it in the server's zone.
75082
+ * - `camera` is the camera the overlay is on, so one template serves every
75083
+ * camera. `camera.lastPerson` and `camera.lastPlate` are the most recent
75084
+ * recognition persisted for it (empty text until there is one, with
75085
+ * `| default('')`).
74972
75086
  */
74973
- var OsdTemplateBindingSchema = zod.z.object({
74974
- /** Token stem in the parser, e.g. `t` → `{t}` / `{t.value}`. Unique within the template. */
74975
- alias: zod.z.string().min(1).max(32).regex(/^[A-Za-z][A-Za-z0-9_-]*$/, "alias must start with a letter"),
74976
- pick: OsdTemplatePickSchema,
74977
- capName: zod.z.string().min(1).max(64),
74978
- valuePath: zod.z.string().min(1).max(64),
74979
- /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
74980
- displayUnit: zod.z.string().max(16).optional(),
74981
- maxDecimals: zod.z.number().int().min(0).max(4).default(1),
74982
- /** Raw value → display text (same shape as slot binding). Empty string hides. */
74983
- valueMap: zod.z.record(zod.z.string(), zod.z.string()).optional()
74984
- });
75087
+ var OSD_TEMPLATE_TEXT_MAX = 1024;
74985
75088
  /**
74986
- * A named template: bindings (alias → leaf field) + a parser that
74987
- * references `{alias}` / `{alias.value}` / `{alias.unit}` / `{alias.full}`.
75089
+ * A named template: the unit of reuse. A slot points at one by id; editing it
75090
+ * changes every slot that points at it, on every camera.
74988
75091
  */
74989
75092
  var OsdNamedTemplateSchema = zod.z.object({
74990
75093
  id: zod.z.string().min(1).max(64),
74991
75094
  name: zod.z.string().min(1).max(64),
74992
- bindings: zod.z.array(OsdTemplateBindingSchema).max(32).default([]),
74993
- /** Parser with alias placeholders, e.g. `{t.value} {t.unit} / {h}`. */
74994
- parser: zod.z.string().max(256).default("")
75095
+ text: zod.z.string().max(OSD_TEMPLATE_TEXT_MAX).default("")
74995
75096
  });
74996
75097
  /** Where a slot's value comes from. */
74997
75098
  var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
@@ -75000,26 +75101,6 @@ var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
75000
75101
  kind: zod.z.literal("static"),
75001
75102
  text: zod.z.string().max(64)
75002
75103
  }),
75003
- zod.z.object({
75004
- kind: zod.z.literal("clock"),
75005
- /** Token pattern: `YYYY MM DD HH mm ss`. Everything else is literal. */
75006
- pattern: zod.z.string().min(1).max(32).default("HH:mm"),
75007
- /** IANA zone. Omitted = the server's zone. */
75008
- timezone: zod.z.string().min(1).max(64).optional()
75009
- }),
75010
- zod.z.object({
75011
- kind: zod.z.literal("device-state"),
75012
- deviceId: zod.z.number().int().optional(),
75013
- capName: zod.z.string().min(1).max(64),
75014
- /** Dot path inside the slice, e.g. `detected`, `value`, `mode`. */
75015
- valuePath: zod.z.string().min(1).max(64),
75016
- /** Convert TO this unit at render. Absent = no conversion. */
75017
- displayUnit: zod.z.string().max(16).optional()
75018
- }),
75019
- zod.z.object({
75020
- kind: zod.z.literal("latest-recognition"),
75021
- recognition: zod.z.enum(["person", "plate"])
75022
- }),
75023
75104
  zod.z.object({
75024
75105
  kind: zod.z.literal("template"),
75025
75106
  templateId: zod.z.string().min(1).max(64)
@@ -75029,15 +75110,6 @@ var OsdSlotBindingSchema = zod.z.object({
75029
75110
  /** Off = the manager stops driving this slot. It does NOT clear it. */
75030
75111
  enabled: zod.z.boolean().default(true),
75031
75112
  source: OsdSourceSchema,
75032
- /** `${value}` and `${unit}` are substituted; every occurrence. */
75033
- template: zod.z.string().max(96).default("${value}"),
75034
- /**
75035
- * Decimal places for a numeric value. `0` yields an integer — the
75036
- * documented workaround for firmwares that reject `.` in overlay text.
75037
- */
75038
- maxDecimals: zod.z.number().int().min(0).max(4).default(1),
75039
- /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
75040
- valueMap: zod.z.record(zod.z.string(), zod.z.string()).optional(),
75041
75113
  /** Time windows in which the slot is shown. Absent = always. */
75042
75114
  schedule: NcScheduleSchema.optional(),
75043
75115
  /**
@@ -75079,26 +75151,16 @@ var OsdRenderResultSchema = zod.z.object({
75079
75151
  /** Why, whenever the outcome is not a plain write. Never silent. */
75080
75152
  reason: zod.z.string().optional()
75081
75153
  });
75082
- var OsdSourceValueTypeEnum = zod.z.enum([
75083
- "number",
75084
- "boolean",
75085
- "string",
75086
- "enum"
75087
- ]);
75088
75154
  /**
75089
- * One bindable value, derived from a cap's `runtimeState` schema — never
75090
- * hand-listed. The editor renders from this, so a cap that ships a new
75091
- * state field becomes bindable with no UI change.
75155
+ * A template rendered for one camera without being saved: what the editor
75156
+ * previews. `text` is what the overlay would carry; a refused render has a
75157
+ * `reason` and an empty text.
75092
75158
  */
75093
- var OsdSourceOptionSchema = zod.z.object({
75094
- deviceId: zod.z.number().int(),
75095
- deviceName: zod.z.string(),
75096
- capName: zod.z.string(),
75097
- valuePath: zod.z.string(),
75098
- label: zod.z.string(),
75099
- valueType: OsdSourceValueTypeEnum,
75100
- /** Present for `enum`; the editor offers these as `valueMap` keys. */
75101
- enumValues: zod.z.array(zod.z.string()).readonly().optional()
75159
+ var OsdTemplatePreviewSchema = zod.z.object({
75160
+ ok: zod.z.boolean(),
75161
+ text: zod.z.string(),
75162
+ /** The refusal, or `ref: reason` per value that printed `—`. */
75163
+ notes: zod.z.array(zod.z.string())
75102
75164
  });
75103
75165
  var osdManagerCapability = {
75104
75166
  name: "osd-manager",
@@ -75115,12 +75177,6 @@ var osdManagerCapability = {
75115
75177
  slots: zod.z.array(OsdSlotViewSchema)
75116
75178
  }), { auth: "admin" }),
75117
75179
  /**
75118
- * Every value bindable on this camera: its own state leaves first,
75119
- * then every other device's. Derived from the cap definitions, so it
75120
- * cannot drift from what the resolver can actually read.
75121
- */
75122
- getSourceCatalog: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int() }), zod.z.object({ sources: zod.z.array(OsdSourceOptionSchema) }), { auth: "admin" }),
75123
- /**
75124
75180
  * The condition ids this gate can answer, alongside the FULL notification
75125
75181
  * condition catalog. Both, in one call, on purpose: an editor that showed
75126
75182
  * the catalog without the supported set would offer conditions that
@@ -75195,6 +75251,18 @@ var osdManagerCapability = {
75195
75251
  kind: "mutation",
75196
75252
  auth: "admin"
75197
75253
  }),
75254
+ /**
75255
+ * Render a template text for a camera without saving it, with the same
75256
+ * context a slot gets (`camera`, `now`, the recognitions). The editor's
75257
+ * preview; no side effects.
75258
+ */
75259
+ previewTemplate: require_sleep.method(zod.z.object({
75260
+ deviceId: zod.z.number().int(),
75261
+ text: zod.z.string().max(OSD_TEMPLATE_TEXT_MAX)
75262
+ }), OsdTemplatePreviewSchema, {
75263
+ kind: "mutation",
75264
+ auth: "admin"
75265
+ }),
75198
75266
  /** Force a render pass over one camera now, instead of at the next tick. */
75199
75267
  renderDevice: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int() }), zod.z.object({ results: zod.z.array(OsdRenderResultSchema) }), {
75200
75268
  kind: "mutation",
@@ -75210,7 +75278,7 @@ var osdManagerCapability = {
75210
75278
  kind: "mutation",
75211
75279
  auth: "admin"
75212
75280
  }),
75213
- /** Drop a named template. Bindings that still reference it render unreadable. */
75281
+ /** Drop a named template. Slots that still point at it render unreadable and keep their last text. */
75214
75282
  deleteTemplate: require_sleep.method(zod.z.object({ templateId: zod.z.string().min(1).max(64) }), zod.z.object({ success: zod.z.literal(true) }), {
75215
75283
  kind: "mutation",
75216
75284
  auth: "admin"
@@ -88828,7 +88896,7 @@ var valveCapability = {
88828
88896
  kind: "mutation",
88829
88897
  auth: "protected"
88830
88898
  }),
88831
- setPosition: require_sleep.method(zod.z.object({
88899
+ setPosition: require_sleep.optionalMethod(zod.z.object({
88832
88900
  deviceId: zod.z.number().int().nonnegative(),
88833
88901
  position: zod.z.number().min(0).max(100)
88834
88902
  }), zod.z.void(), {
@@ -91782,7 +91850,7 @@ function normalise(kind, json) {
91782
91850
  return parsed.success ? parsed.data : expanded;
91783
91851
  }
91784
91852
  case "composition": {
91785
- const parsed = require_composition.CompositionSchema.safeParse(expanded);
91853
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(expanded);
91786
91854
  return parsed.success ? parsed.data : expanded;
91787
91855
  }
91788
91856
  }
@@ -92892,7 +92960,7 @@ function validateScheduler(site, json) {
92892
92960
  };
92893
92961
  }
92894
92962
  function validateCompositionDraft(site, json) {
92895
- const parsed = require_composition.CompositionSchema.safeParse(json);
92963
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(json);
92896
92964
  if (!parsed.success) return {
92897
92965
  ok: false,
92898
92966
  issues: zodIssues(parsed.error)
@@ -95400,7 +95468,7 @@ function runDwell(segments, to, threshold, startMs, stopMs) {
95400
95468
  let openAt = null;
95401
95469
  const evaluate = (active, at, timer) => {
95402
95470
  deadline = null;
95403
- const answer = require_composition.evaluateDwell(active, startMs, stopMs, 2, call, at, timer ? timerHooks : hooks);
95471
+ const answer = require_implemented_methods.evaluateDwell(active, startMs, stopMs, 2, call, at, timer ? timerHooks : hooks);
95404
95472
  if (answer === true && openAt === null) openAt = at;
95405
95473
  if (answer !== true && openAt !== null) {
95406
95474
  intervals.push({
@@ -96239,7 +96307,7 @@ function fieldsFeatureOf(composition, cap) {
96239
96307
  /** The device switch the composed `switch.on` reads, when it is one plain `from` of a switch. */
96240
96308
  function actuatorSwitchRead(composition) {
96241
96309
  const feature = fieldsFeatureOf(composition, SWITCH_CAP);
96242
- if (feature === null || !require_composition.compositionFeatureEnabled(feature)) return null;
96310
+ if (feature === null || !require_implemented_methods.compositionFeatureEnabled(feature)) return null;
96243
96311
  const field = feature.fields[ON_FIELD];
96244
96312
  if (field === void 0 || field.kind !== "from" || field.cap !== SWITCH_CAP) return null;
96245
96313
  return {
@@ -96250,7 +96318,7 @@ function actuatorSwitchRead(composition) {
96250
96318
  }
96251
96319
  function hasSupplyRelation(composition) {
96252
96320
  const feature = fieldsFeatureOf(composition, "power-source");
96253
- return feature !== null && require_composition.compositionFeatureEnabled(feature) && feature.fields["switchOn"] !== void 0;
96321
+ return feature !== null && require_implemented_methods.compositionFeatureEnabled(feature) && feature.fields["switchOn"] !== void 0;
96254
96322
  }
96255
96323
  /**
96256
96324
  * "Do not follow the switch": a DISABLED `running-state` feature with no field.
@@ -96310,7 +96378,7 @@ function followSwitchRunningFeature(composition, host) {
96310
96378
  */
96311
96379
  function withDefaultRunning(composition, blockId) {
96312
96380
  if (hasAuthoredRunning(composition) || !actuatorSwitchDrivesRunning(composition)) return composition;
96313
- const feature = followSwitchRunningFeature(composition, require_composition.composedDeviceRef(blockId));
96381
+ const feature = followSwitchRunningFeature(composition, require_implemented_methods.composedDeviceRef(blockId));
96314
96382
  return feature === null ? composition : {
96315
96383
  ...composition,
96316
96384
  features: [...composition.features, feature]
@@ -96370,7 +96438,7 @@ var COMPOSITION_LINK_KINDS = ["lock-door-sensor", "power-source"];
96370
96438
  * source) behind an early return.
96371
96439
  */
96372
96440
  function describeRead(read) {
96373
- return `${require_composition.compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
96441
+ return `${require_implemented_methods.compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
96374
96442
  }
96375
96443
  function isConfirmed(reading) {
96376
96444
  return reading.fatal || reading.confirmed === true;
@@ -96424,7 +96492,7 @@ function expressionOutcome(source, read, now, stateful) {
96424
96492
  if (unavailable !== null) {
96425
96493
  if (stateful !== void 0 && stateful.currentOutput !== void 0 && expressionContainsBuiltinCall(source.expr, "count")) return {
96426
96494
  state: "stale",
96427
- value: require_composition.evaluateCount(null, {
96495
+ value: require_implemented_methods.evaluateCount(null, {
96428
96496
  kind: "count",
96429
96497
  highWater: null,
96430
96498
  primed: false
@@ -96440,9 +96508,9 @@ function expressionOutcome(source, read, now, stateful) {
96440
96508
  ...stateful?.timerDriven === true ? { timerDriven: true } : {},
96441
96509
  convert: (value, from, to) => require_convert.tryConvertUnit(value, normalizeUnit(from) ?? from, normalizeUnit(to) ?? to) ?? null
96442
96510
  };
96443
- const result = require_composition.evaluateExpressionSource(source.expr, values, now, {
96511
+ const result = require_implemented_methods.evaluateExpressionSource(source.expr, values, now, {
96444
96512
  hooks,
96445
- ...stateful === void 0 ? {} : { invokeStateful: (invocation) => require_composition.evaluateStatefulExpressionCall(stateful.callPathPrefix === void 0 ? invocation : {
96513
+ ...stateful === void 0 ? {} : { invokeStateful: (invocation) => require_implemented_methods.evaluateStatefulExpressionCall(stateful.callPathPrefix === void 0 ? invocation : {
96446
96514
  ...invocation,
96447
96515
  path: `${stateful.callPathPrefix}@${invocation.path}`
96448
96516
  }, stateful.expressionMemory, {
@@ -96572,7 +96640,7 @@ function roomCompositionExample(input) {
96572
96640
  const d = named("d", input.motionSources, "motion", "detected");
96573
96641
  const m = named("m", input.motionSources, "motion", "lastDetectedAt");
96574
96642
  const windows = Object.keys(m).map((name) => `within(${name}, ${input.occupancyWindowMs})`);
96575
- return require_composition.CompositionSchema.parse({
96643
+ return require_implemented_methods.CompositionSchema.parse({
96576
96644
  target: {
96577
96645
  kind: "new",
96578
96646
  type: require_composed_stable_id.DeviceType.Sensor,
@@ -96653,7 +96721,7 @@ function feederExampleSources(brokerId) {
96653
96721
  }
96654
96722
  function feederCustomizationExample(sources) {
96655
96723
  const days = { d: from$1(sources.desiccantDays, "enum-sensor", "value") };
96656
- return require_composition.CompositionSchema.parse({
96724
+ return require_implemented_methods.CompositionSchema.parse({
96657
96725
  target: {
96658
96726
  kind: "existing",
96659
96727
  device: sources.feeder
@@ -96777,13 +96845,13 @@ function powerSourceLinkOfComposition(composition, blockId) {
96777
96845
  if (composition === null) return null;
96778
96846
  let device;
96779
96847
  if (composition.target.kind === "existing") device = composition.target.device;
96780
- else if (blockId !== void 0) device = require_composition.composedDeviceRef(blockId);
96848
+ else if (blockId !== void 0) device = require_implemented_methods.composedDeviceRef(blockId);
96781
96849
  else return null;
96782
96850
  const feature = composition.features.find((f) => f.cap === "power-source");
96783
96851
  if (feature === void 0 || feature.kind !== "fields" || feature.enabled === false) return null;
96784
96852
  const field = feature.fields["switchOn"];
96785
96853
  if (field === void 0) return null;
96786
- const read = require_composition.fieldReads(field).find((r) => r.cap === "switch");
96854
+ const read = require_implemented_methods.fieldReads(field).find((r) => r.cap === "switch");
96787
96855
  if (read === void 0) return null;
96788
96856
  return {
96789
96857
  device,
@@ -96800,9 +96868,9 @@ function powerSourceLinkOfComposition(composition, blockId) {
96800
96868
  */
96801
96869
  /** Source caps whose active boolean may be inverted: catalogue minus switch
96802
96870
  * (commands) and motion (event stream, D672). */
96803
- var INVERTIBLE_CAPS = require_composition.SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
96871
+ var INVERTIBLE_CAPS = require_implemented_methods.SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
96804
96872
  function invertPresetFeature(input) {
96805
- const field = require_composition.SOURCE_CAP_ACTIVE_FIELD[input.cap];
96873
+ const field = require_implemented_methods.SOURCE_CAP_ACTIVE_FIELD[input.cap];
96806
96874
  if (field === void 0 || !INVERTIBLE_CAPS.includes(input.cap)) return null;
96807
96875
  const source = {
96808
96876
  kind: "expression",
@@ -96999,7 +97067,7 @@ function pumpCycleFeature(cycle) {
96999
97067
  };
97000
97068
  }
97001
97069
  function petFountainFromEntitiesComposition(sources) {
97002
- return require_composition.CompositionSchema.parse({
97070
+ return require_implemented_methods.CompositionSchema.parse({
97003
97071
  target: {
97004
97072
  kind: "new",
97005
97073
  type: require_composed_stable_id.DeviceType.PetFountain
@@ -97839,7 +97907,7 @@ function catalogTarget$1(cap, targetId) {
97839
97907
  return entry.targets.find((target) => target.id === targetId) ?? null;
97840
97908
  }
97841
97909
  function compileItem(target, item) {
97842
- if (!require_composition.COMPOSITION_ITEM_KEY_RE.test(item.draft.key) || item.draft.label.trim() === "") return fail("key");
97910
+ if (!require_implemented_methods.COMPOSITION_ITEM_KEY_RE.test(item.draft.key) || item.draft.label.trim() === "") return fail("key");
97843
97911
  const field = (target.fields ?? []).find((entry) => entry.path === item.draft.fieldPath);
97844
97912
  if (field === void 0) return fail("field");
97845
97913
  const source = sourceSpec(field, item);
@@ -98443,7 +98511,7 @@ function setFormulaExpr(model, cap, fieldPath, expr) {
98443
98511
  //#endregion
98444
98512
  //#region src/composition/cards/formula-problem.ts
98445
98513
  function formulaProblem(expr, bindings) {
98446
- return require_composition.validateExpressionSource({
98514
+ return require_implemented_methods.validateExpressionSource({
98447
98515
  expr,
98448
98516
  bindings
98449
98517
  });
@@ -110783,13 +110851,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110783
110851
  access: "create",
110784
110852
  role: "admin"
110785
110853
  },
110786
- "notificationRules.createSequence": {
110787
- capName: "notification-rules",
110788
- capScope: "system",
110789
- addonId: null,
110790
- access: "create",
110791
- role: "admin"
110792
- },
110793
110854
  "notificationRules.createSnooze": {
110794
110855
  capName: "notification-rules",
110795
110856
  capScope: "system",
@@ -110811,13 +110872,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110811
110872
  access: "delete",
110812
110873
  role: "admin"
110813
110874
  },
110814
- "notificationRules.deleteSequence": {
110815
- capName: "notification-rules",
110816
- capScope: "system",
110817
- addonId: null,
110818
- access: "delete",
110819
- role: "admin"
110820
- },
110821
110875
  "notificationRules.getAlarmConfig": {
110822
110876
  capName: "notification-rules",
110823
110877
  capScope: "system",
@@ -110867,13 +110921,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110867
110921
  access: "view",
110868
110922
  role: "admin"
110869
110923
  },
110870
- "notificationRules.getSequence": {
110871
- capName: "notification-rules",
110872
- capScope: "system",
110873
- addonId: null,
110874
- access: "view",
110875
- role: "admin"
110876
- },
110877
110924
  "notificationRules.getTemplateCatalog": {
110878
110925
  capName: "notification-rules",
110879
110926
  capScope: "system",
@@ -110895,13 +110942,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110895
110942
  access: "view",
110896
110943
  role: "admin"
110897
110944
  },
110898
- "notificationRules.listSequences": {
110899
- capName: "notification-rules",
110900
- capScope: "system",
110901
- addonId: null,
110902
- access: "view",
110903
- role: "admin"
110904
- },
110905
110945
  "notificationRules.listSnoozes": {
110906
110946
  capName: "notification-rules",
110907
110947
  capScope: "system",
@@ -110972,13 +111012,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110972
111012
  access: "create",
110973
111013
  role: "admin"
110974
111014
  },
110975
- "notificationRules.updateSequence": {
110976
- capName: "notification-rules",
110977
- capScope: "system",
110978
- addonId: null,
110979
- access: "create",
110980
- role: "admin"
110981
- },
110982
111015
  "notifier.cancel": {
110983
111016
  capName: "notifier",
110984
111017
  capScope: "device",
@@ -111063,21 +111096,21 @@ var METHOD_ACCESS_MAP = Object.freeze({
111063
111096
  access: "view",
111064
111097
  role: "admin"
111065
111098
  },
111066
- "osdManager.getSourceCatalog": {
111099
+ "osdManager.listTemplates": {
111067
111100
  capName: "osd-manager",
111068
111101
  capScope: "system",
111069
111102
  addonId: null,
111070
111103
  access: "view",
111071
111104
  role: "admin"
111072
111105
  },
111073
- "osdManager.listTemplates": {
111106
+ "osdManager.previewSlot": {
111074
111107
  capName: "osd-manager",
111075
111108
  capScope: "system",
111076
111109
  addonId: null,
111077
- access: "view",
111110
+ access: "create",
111078
111111
  role: "admin"
111079
111112
  },
111080
- "osdManager.previewSlot": {
111113
+ "osdManager.previewTemplate": {
111081
111114
  capName: "osd-manager",
111082
111115
  capScope: "system",
111083
111116
  addonId: null,
@@ -116797,6 +116830,182 @@ function resolveDeviceProfile(features) {
116797
116830
  return null;
116798
116831
  }
116799
116832
  //#endregion
116833
+ //#region src/device/device-feature-requirements.ts
116834
+ function bound(cap, methods = [], authority = "reported") {
116835
+ return {
116836
+ kind: "cap",
116837
+ cap,
116838
+ methods,
116839
+ authority
116840
+ };
116841
+ }
116842
+ function derived(cap, methods = []) {
116843
+ return bound(cap, methods, "derived");
116844
+ }
116845
+ function reported(reason) {
116846
+ return {
116847
+ kind: "reported",
116848
+ reason
116849
+ };
116850
+ }
116851
+ var SLEEP_PENDING = "splits into a sleeping cap in a later phase of #459";
116852
+ var CAP_PENDING = "becomes a cap or is dropped in a later phase of #459";
116853
+ /** Exhaustive: a new `DeviceFeature` without a row does not compile. */
116854
+ var DEVICE_FEATURE_REQUIREMENTS = {
116855
+ [require_composed_stable_id.DeviceFeature.BatteryOperated]: reported(SLEEP_PENDING),
116856
+ [require_composed_stable_id.DeviceFeature.Rebootable]: derived("reboot", ["reboot"]),
116857
+ [require_composed_stable_id.DeviceFeature.Resyncable]: reported(CAP_PENDING),
116858
+ [require_composed_stable_id.DeviceFeature.NativeSnapshot]: reported(CAP_PENDING),
116859
+ [require_composed_stable_id.DeviceFeature.DoorbellButton]: derived("doorbell"),
116860
+ [require_composed_stable_id.DeviceFeature.TwoWayAudio]: derived("intercom", [
116861
+ "startTalkSession",
116862
+ "pushTalkAudio",
116863
+ "endTalkSession"
116864
+ ]),
116865
+ [require_composed_stable_id.DeviceFeature.PanTiltZoom]: derived("ptz"),
116866
+ [require_composed_stable_id.DeviceFeature.PtzAutotrack]: derived("ptz-autotrack"),
116867
+ [require_composed_stable_id.DeviceFeature.MotionTrigger]: derived("motion-trigger", ["setMotionTrigger"]),
116868
+ [require_composed_stable_id.DeviceFeature.TimedRun]: derived("timed-run", ["runFor"]),
116869
+ [require_composed_stable_id.DeviceFeature.Switch]: bound("switch", ["setState"]),
116870
+ [require_composed_stable_id.DeviceFeature.LightColorRgb]: reported(CAP_PENDING),
116871
+ [require_composed_stable_id.DeviceFeature.LightColorHsv]: reported(CAP_PENDING),
116872
+ [require_composed_stable_id.DeviceFeature.LightColorMired]: reported(CAP_PENDING),
116873
+ [require_composed_stable_id.DeviceFeature.ClimateDualSetpoint]: bound("climate-control", ["setTargetRange"]),
116874
+ [require_composed_stable_id.DeviceFeature.ClimateHumidity]: bound("climate-control", ["setTargetHumidity"]),
116875
+ [require_composed_stable_id.DeviceFeature.ClimateFanMode]: bound("climate-control", ["setFanMode"]),
116876
+ [require_composed_stable_id.DeviceFeature.ClimatePreset]: bound("climate-control", ["setPreset"]),
116877
+ [require_composed_stable_id.DeviceFeature.ClimateSwingVertical]: bound("climate-control", ["setSwingVertical"]),
116878
+ [require_composed_stable_id.DeviceFeature.ClimateSwingHorizontal]: bound("climate-control", ["setSwingHorizontal"]),
116879
+ [require_composed_stable_id.DeviceFeature.CoverPositionable]: bound("cover", ["setPosition"]),
116880
+ [require_composed_stable_id.DeviceFeature.CoverTilt]: bound("cover", ["setTiltPosition"]),
116881
+ [require_composed_stable_id.DeviceFeature.CoverStoppable]: bound("cover", ["stop"]),
116882
+ [require_composed_stable_id.DeviceFeature.ValvePositionable]: bound("valve", ["setPosition"]),
116883
+ [require_composed_stable_id.DeviceFeature.FanSpeed]: bound("fan-control", ["setPercentage"]),
116884
+ [require_composed_stable_id.DeviceFeature.FanPreset]: bound("fan-control", ["setPreset"]),
116885
+ [require_composed_stable_id.DeviceFeature.FanDirection]: bound("fan-control", ["setDirection"]),
116886
+ [require_composed_stable_id.DeviceFeature.FanOscillating]: bound("fan-control", ["setOscillating"]),
116887
+ [require_composed_stable_id.DeviceFeature.LockPinRequired]: reported(CAP_PENDING),
116888
+ [require_composed_stable_id.DeviceFeature.LockOpen]: bound("lock-control", ["open"]),
116889
+ [require_composed_stable_id.DeviceFeature.MediaPlayerSeek]: bound("media-player", ["seek"]),
116890
+ [require_composed_stable_id.DeviceFeature.MediaPlayerVolume]: bound("media-player", ["setVolume"]),
116891
+ [require_composed_stable_id.DeviceFeature.MediaPlayerMute]: bound("media-player", ["setMute"]),
116892
+ [require_composed_stable_id.DeviceFeature.MediaPlayerShuffle]: bound("media-player", ["setShuffle"]),
116893
+ [require_composed_stable_id.DeviceFeature.MediaPlayerRepeat]: bound("media-player", ["setRepeat"]),
116894
+ [require_composed_stable_id.DeviceFeature.MediaPlayerSelectSource]: bound("media-player", ["selectSource"]),
116895
+ [require_composed_stable_id.DeviceFeature.MediaPlayerPlayMedia]: bound("media-player", ["playMedia"]),
116896
+ [require_composed_stable_id.DeviceFeature.MediaPlayerNext]: bound("media-player", ["next"]),
116897
+ [require_composed_stable_id.DeviceFeature.MediaPlayerPrevious]: bound("media-player", ["previous"]),
116898
+ [require_composed_stable_id.DeviceFeature.MediaPlayerStop]: bound("media-player", ["stop"]),
116899
+ [require_composed_stable_id.DeviceFeature.MediaPlayerVolumeStep]: bound("media-player", ["volumeUp", "volumeDown"]),
116900
+ [require_composed_stable_id.DeviceFeature.MediaPlayerChannelStep]: bound("media-player", ["channelUp", "channelDown"]),
116901
+ [require_composed_stable_id.DeviceFeature.MediaPlayerPower]: bound("media-player", ["turnOn", "turnOff"]),
116902
+ [require_composed_stable_id.DeviceFeature.AlarmPinRequired]: reported(CAP_PENDING),
116903
+ [require_composed_stable_id.DeviceFeature.PresenceGps]: reported(CAP_PENDING),
116904
+ [require_composed_stable_id.DeviceFeature.NotifierImage]: reported(CAP_PENDING),
116905
+ [require_composed_stable_id.DeviceFeature.NotifierPriority]: reported(CAP_PENDING),
116906
+ [require_composed_stable_id.DeviceFeature.NotifierData]: reported(CAP_PENDING),
116907
+ [require_composed_stable_id.DeviceFeature.NotifierActions]: reported(CAP_PENDING),
116908
+ [require_composed_stable_id.DeviceFeature.NotifierRecipients]: reported(CAP_PENDING),
116909
+ [require_composed_stable_id.DeviceFeature.ScriptVariables]: reported(CAP_PENDING),
116910
+ [require_composed_stable_id.DeviceFeature.AutomationSkipCondition]: reported(CAP_PENDING),
116911
+ [require_composed_stable_id.DeviceFeature.VacuumHasMap]: reported(CAP_PENDING),
116912
+ [require_composed_stable_id.DeviceFeature.VacuumHasAi]: reported(CAP_PENDING),
116913
+ [require_composed_stable_id.DeviceFeature.MowerHasMap]: reported(CAP_PENDING),
116914
+ [require_composed_stable_id.DeviceFeature.MowerHasTargetedMowing]: reported(CAP_PENDING),
116915
+ [require_composed_stable_id.DeviceFeature.Navigation]: derived("navigation"),
116916
+ [require_composed_stable_id.DeviceFeature.NetworkLink]: derived("network-link")
116917
+ };
116918
+ var ALL_FEATURES = Object.values(require_composed_stable_id.DeviceFeature);
116919
+ function requirementOf(feature) {
116920
+ return DEVICE_FEATURE_REQUIREMENTS[feature];
116921
+ }
116922
+ /**
116923
+ * The provenance of every cap-backed feature, from one device's bindings. The
116924
+ * feature set the kernel persists and the "why is it missing" the device page
116925
+ * shows are the same computation.
116926
+ */
116927
+ function deriveFeatureProvenance(entries) {
116928
+ const out = [];
116929
+ for (const feature of ALL_FEATURES) {
116930
+ const req = requirementOf(feature);
116931
+ if (req.kind !== "cap") continue;
116932
+ const entry = entries.find((candidate) => candidate.capName === req.cap);
116933
+ if (entry === void 0) {
116934
+ out.push({
116935
+ feature,
116936
+ authority: req.authority,
116937
+ present: false,
116938
+ missing: {
116939
+ reason: "cap-not-bound",
116940
+ cap: req.cap
116941
+ }
116942
+ });
116943
+ continue;
116944
+ }
116945
+ const implemented = entry.implementedMethods;
116946
+ const lacking = implemented === void 0 ? [] : req.methods.filter((name) => !implemented.includes(name));
116947
+ if (lacking.length > 0) {
116948
+ out.push({
116949
+ feature,
116950
+ authority: req.authority,
116951
+ present: false,
116952
+ missing: {
116953
+ reason: "methods-not-implemented",
116954
+ cap: req.cap,
116955
+ methods: lacking
116956
+ }
116957
+ });
116958
+ continue;
116959
+ }
116960
+ out.push({
116961
+ feature,
116962
+ authority: req.authority,
116963
+ present: true,
116964
+ supplier: {
116965
+ cap: req.cap,
116966
+ providerAddonId: entry.providerAddonId,
116967
+ providerNodeId: entry.providerNodeId
116968
+ }
116969
+ });
116970
+ }
116971
+ return out;
116972
+ }
116973
+ function isDerivedAuthority(feature) {
116974
+ const req = requirementOf(feature);
116975
+ return req.kind === "cap" && req.authority === "derived";
116976
+ }
116977
+ var FEATURE_VALUES = new Set(ALL_FEATURES);
116978
+ function knownFeature(value) {
116979
+ return FEATURE_VALUES.has(value);
116980
+ }
116981
+ /** True when the kernel, not the driver, decides this feature. */
116982
+ function isKernelDerivedFeature(value) {
116983
+ return knownFeature(value) && isDerivedAuthority(value);
116984
+ }
116985
+ /**
116986
+ * The feature set to persist: the kernel's value for every `derived` feature,
116987
+ * plus the driver's own claim for the rest (`reported`). Unknown strings are
116988
+ * dropped.
116989
+ */
116990
+ function settleDeviceFeatures(entries, reportedByDriver) {
116991
+ const settled = /* @__PURE__ */ new Set();
116992
+ for (const item of deriveFeatureProvenance(entries)) if (item.present && item.authority === "derived") settled.add(item.feature);
116993
+ for (const value of reportedByDriver) if (knownFeature(value) && !isDerivedAuthority(value)) settled.add(value);
116994
+ return ALL_FEATURES.filter((feature) => settled.has(feature));
116995
+ }
116996
+ /**
116997
+ * What `registerDevice` stores. A driver re-registers after every probe with
116998
+ * its own idea of the features; the `derived` ones are the kernel's, so a
116999
+ * re-register keeps what the row already has for them. A first registration
117000
+ * (no row yet) takes the driver's list as a bootstrap until the kernel derives.
117001
+ */
117002
+ function reconcileReportedFeatures(stored, reported) {
117003
+ if (stored === void 0) return [...reported];
117004
+ const kept = stored.filter((value) => knownFeature(value) && isDerivedAuthority(value));
117005
+ const claimed = reported.filter((value) => !(knownFeature(value) && isDerivedAuthority(value)));
117006
+ return [...new Set([...claimed, ...kept])];
117007
+ }
117008
+ //#endregion
116800
117009
  //#region src/device/appliance-export.ts
116801
117010
  /**
116802
117011
  * How a washer, dryer or dishwasher leaves CamStack.
@@ -119659,12 +119868,12 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
119659
119868
  form: "single",
119660
119869
  optional: false
119661
119870
  }],
119662
- "osdManager.getSourceCatalog": [{
119871
+ "osdManager.previewSlot": [{
119663
119872
  name: "deviceId",
119664
119873
  form: "single",
119665
119874
  optional: false
119666
119875
  }],
119667
- "osdManager.previewSlot": [{
119876
+ "osdManager.previewTemplate": [{
119668
119877
  name: "deviceId",
119669
119878
  form: "single",
119670
119879
  optional: false
@@ -121257,8 +121466,8 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
121257
121466
  "osdManager.clearSlotBinding",
121258
121467
  "osdManager.copyDeviceConfiguration",
121259
121468
  "osdManager.getDeviceOsd",
121260
- "osdManager.getSourceCatalog",
121261
121469
  "osdManager.previewSlot",
121470
+ "osdManager.previewTemplate",
121262
121471
  "osdManager.renderDevice",
121263
121472
  "osdManager.setSlotBinding",
121264
121473
  "osdManager.setSlotCameraEnabled",
@@ -123911,7 +124120,12 @@ function prepareNotification(caps, n) {
123911
124120
  if (n.ttl !== void 0) if (caps.ttl) ttl = n.ttl;
123912
124121
  else dropped.push("ttl");
123913
124122
  const tag = n.tag ?? null;
123914
- const bodyParts = splitBody(transcoded, caps.bodyMaxLen);
124123
+ const bodyDelivered = caps.text?.body ?? true;
124124
+ const titleDelivered = caps.text?.title ?? true;
124125
+ if (!bodyDelivered && transcoded.length > 0) dropped.push("body");
124126
+ const title = titleDelivered ? n.title : void 0;
124127
+ if (!titleDelivered && n.title !== void 0) dropped.push("title");
124128
+ const bodyParts = splitBody(bodyDelivered ? transcoded : "", caps.bodyMaxLen);
123915
124129
  const truncated = bodyParts.length > 1;
123916
124130
  const renderedAs = {
123917
124131
  level: level?.id ?? "",
@@ -123923,7 +124137,7 @@ function prepareNotification(caps, n) {
123923
124137
  };
123924
124138
  return {
123925
124139
  body: bodyParts[0] ?? "",
123926
- ...n.title !== void 0 ? { title: n.title } : {},
124140
+ ...title !== void 0 ? { title } : {},
123927
124141
  format,
123928
124142
  level,
123929
124143
  attachments,
@@ -124036,6 +124250,82 @@ function deliveryParamsDeclaredBy(perKind) {
124036
124250
  return out;
124037
124251
  }
124038
124252
  //#endregion
124253
+ //#region src/notification/notification-fields.ts
124254
+ /** Every field, in the order an editor meets them. */
124255
+ var NOTIFICATION_FIELDS = [
124256
+ "title",
124257
+ "body",
124258
+ "attachments",
124259
+ "actions",
124260
+ "priority",
124261
+ "sound",
124262
+ "clickUrl"
124263
+ ];
124264
+ /**
124265
+ * The fields a kind delivers, derived from its caps:
124266
+ * - `title` / `body` — `caps.text`; absent = both (every kind declared before #483);
124267
+ * - `attachments` — at least one slot and one media type;
124268
+ * - `actions` — at least one button;
124269
+ * - `priority` — at least two DISTINCT ordinals to choose between (one level
124270
+ * means the priority changes nothing on that kind);
124271
+ * - `sound`, `clickUrl` — their flags.
124272
+ */
124273
+ function deliverableFields(caps) {
124274
+ const ordinals = new Set(caps.levels.map((level) => level.ordinal).filter((ordinal) => ordinal !== null));
124275
+ const supported = {
124276
+ title: caps.text?.title ?? true,
124277
+ body: caps.text?.body ?? true,
124278
+ attachments: caps.attachments.max > 0 && caps.attachments.mediaTypes.length > 0,
124279
+ actions: caps.actions > 0,
124280
+ priority: ordinals.size >= 2,
124281
+ sound: caps.sound,
124282
+ clickUrl: caps.clickUrl
124283
+ };
124284
+ return NOTIFICATION_FIELDS.filter((field) => supported[field]);
124285
+ }
124286
+ /**
124287
+ * The union of what the selected targets deliver, with the targets that drop
124288
+ * each field. No selection shows every field: a rule that addresses only users
124289
+ * (or nobody yet) has no declaration to narrow on, and not-yet-known must never
124290
+ * look like not-supported (D315).
124291
+ */
124292
+ function fieldSupportForTargets(targets) {
124293
+ return NOTIFICATION_FIELDS.map((field) => {
124294
+ const droppedBy = targets.filter((target) => target.fields !== void 0 && !target.fields.includes(field)).map((target) => target.name);
124295
+ return {
124296
+ field,
124297
+ shown: targets.length === 0 || droppedBy.length < targets.length,
124298
+ droppedBy
124299
+ };
124300
+ });
124301
+ }
124302
+ /**
124303
+ * A target override with every field the target cannot deliver removed — what
124304
+ * an editor may store. `fields` undefined (unknown kind) keeps everything; the
124305
+ * dispatcher still drops at send what the kind turns out not to deliver.
124306
+ * `undefined` when nothing is left, so an empty override is never stored.
124307
+ */
124308
+ function sanitizeTargetOverride(override, fields) {
124309
+ const has = (field) => fields === void 0 || fields.includes(field);
124310
+ const title = has("title") ? nonEmpty(override.template?.title) : void 0;
124311
+ const body = has("body") ? nonEmpty(override.template?.body) : void 0;
124312
+ const template = title !== void 0 || body !== void 0 ? {
124313
+ ...title !== void 0 ? { title } : {},
124314
+ ...body !== void 0 ? { body } : {}
124315
+ } : void 0;
124316
+ const priority = has("priority") ? override.priority : void 0;
124317
+ const next = {
124318
+ ...template !== void 0 ? { template } : {},
124319
+ ...override.schedule !== void 0 && override.schedule.windows.length > 0 ? { schedule: override.schedule } : {},
124320
+ ...priority !== void 0 ? { priority } : {}
124321
+ };
124322
+ return Object.keys(next).length > 0 ? next : void 0;
124323
+ }
124324
+ function nonEmpty(value) {
124325
+ const trimmed = value?.trim();
124326
+ return trimmed === void 0 || trimmed.length === 0 ? void 0 : trimmed;
124327
+ }
124328
+ //#endregion
124039
124329
  //#region src/notification/system-event-filters.ts
124040
124330
  /**
124041
124331
  * WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
@@ -126020,7 +126310,7 @@ var CYCLE_RAISED_FIELD_BY_CAP = { "running-state": "running" };
126020
126310
  var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.entries(EVENT_KIND_BY_CAP).flatMap(([capName, descriptor]) => {
126021
126311
  const cycleField = CYCLE_RAISED_FIELD_BY_CAP[capName];
126022
126312
  if (cycleField !== void 0) return [[descriptor.kind, cycleField]];
126023
- const field = require_composition.SOURCE_CAP_ACTIVE_FIELD[capName];
126313
+ const field = require_implemented_methods.SOURCE_CAP_ACTIVE_FIELD[capName];
126024
126314
  if (field === void 0 || descriptor.category !== "sensor") return [];
126025
126315
  return [[descriptor.kind, field]];
126026
126316
  })));
@@ -134833,14 +135123,14 @@ exports.ACTION_RUN_MAX_MS = ACTION_RUN_MAX_MS;
134833
135123
  exports.ACTION_RUN_TIMEOUT_MS = ACTION_RUN_TIMEOUT_MS;
134834
135124
  exports.ACTION_RUN_TRANSPORT_MARGIN_MS = ACTION_RUN_TRANSPORT_MARGIN_MS;
134835
135125
  exports.ACTION_TARGET_INVALIDATION_EVENTS = ACTION_TARGET_INVALIDATION_EVENTS;
134836
- exports.ACTIVE_CRITERIA = require_composition.ACTIVE_CRITERIA;
135126
+ exports.ACTIVE_CRITERIA = require_implemented_methods.ACTIVE_CRITERIA;
134837
135127
  exports.ACTUATOR_METHODS = ACTUATOR_METHODS;
134838
135128
  exports.ACTUATOR_TEMPLATE_IDS = ACTUATOR_TEMPLATE_IDS;
134839
135129
  exports.ADMIN_SCOPE = ADMIN_SCOPE;
134840
135130
  exports.AGENT_MDNS_QUERY_NAME = AGENT_MDNS_QUERY_NAME;
134841
135131
  exports.AGENT_MDNS_SERVICE_TYPE = AGENT_MDNS_SERVICE_TYPE;
134842
135132
  exports.AGENT_MDNS_TXT_KEYS = AGENT_MDNS_TXT_KEYS;
134843
- exports.AGGREGATE_REDUCERS = require_composition.AGGREGATE_REDUCERS;
135133
+ exports.AGGREGATE_REDUCERS = require_implemented_methods.AGGREGATE_REDUCERS;
134844
135134
  exports.AGGREGATE_THROUGHPUT_BY_KIND = AGGREGATE_THROUGHPUT_BY_KIND;
134845
135135
  exports.ALEXA_EGRESS_PROFILE = ALEXA_EGRESS_PROFILE;
134846
135136
  exports.ALL_CAPABILITY_DEFINITIONS = ALL_CAPABILITY_DEFINITIONS;
@@ -134859,14 +135149,14 @@ exports.APP_FLOW_STATE_PREFIX = APP_FLOW_STATE_PREFIX;
134859
135149
  exports.APP_REFUSED_PATH = APP_REFUSED_PATH;
134860
135150
  exports.APP_START_REFUSAL_MESSAGES = APP_START_REFUSAL_MESSAGES;
134861
135151
  exports.ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT = ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT;
134862
- exports.ARITHMETIC_OPS = require_composition.ARITHMETIC_OPS;
135152
+ exports.ARITHMETIC_OPS = require_implemented_methods.ARITHMETIC_OPS;
134863
135153
  exports.AUDIO_ANALYSIS_CAP_NAME = AUDIO_ANALYSIS_CAP_NAME;
134864
135154
  exports.AUDIO_BACKEND_CHOICES = AUDIO_BACKEND_CHOICES;
134865
135155
  exports.AUDIO_CHUNK_FORMATS = require_sleep.AUDIO_CHUNK_FORMATS;
134866
135156
  exports.AUDIO_GRADIENT_ALPHAS = AUDIO_GRADIENT_ALPHAS;
134867
135157
  exports.AUDIO_MACRO_LABELS = AUDIO_MACRO_LABELS;
134868
135158
  exports.AUDIO_NOT_CLASSIFIED_REASONS = AUDIO_NOT_CLASSIFIED_REASONS;
134869
- exports.AUDIO_PRESETS = require_composition.AUDIO_PRESETS;
135159
+ exports.AUDIO_PRESETS = require_implemented_methods.AUDIO_PRESETS;
134870
135160
  exports.AUDIO_SCALE_EPOCH_ISO = AUDIO_SCALE_EPOCH_ISO;
134871
135161
  exports.AUDIO_SCALE_EPOCH_MS = AUDIO_SCALE_EPOCH_MS;
134872
135162
  exports.AUTOMATIC_HUB_ADDRESS_FLAGS = AUTOMATIC_HUB_ADDRESS_FLAGS;
@@ -134894,7 +135184,7 @@ exports.ActionTargetSchema = ActionTargetSchema;
134894
135184
  exports.ActionVariableSchema = ActionVariableSchema;
134895
135185
  exports.ActionVariableTypeSchema = ActionVariableTypeSchema;
134896
135186
  exports.ActionVariableValueSchema = ActionVariableValueSchema;
134897
- exports.ActiveCriterionSchema = require_composition.ActiveCriterionSchema;
135187
+ exports.ActiveCriterionSchema = require_implemented_methods.ActiveCriterionSchema;
134898
135188
  exports.AddBrokerInputSchema = AddBrokerInputSchema;
134899
135189
  exports.AddRetrainFrameFromRecordingResultSchema = AddRetrainFrameFromRecordingResultSchema;
134900
135190
  exports.AddonAutoUpdateSchema = AddonAutoUpdateSchema;
@@ -134918,7 +135208,7 @@ exports.AdoptionOutcomeSchema = AdoptionOutcomeSchema;
134918
135208
  exports.AdoptionReleaseInputSchema = ReleaseInputSchema;
134919
135209
  exports.AdoptionStatusSchema = AdoptionStatusSchema;
134920
135210
  exports.AgentLoadSummarySchema = AgentLoadSummarySchema;
134921
- exports.AggregateReducerSchema = require_composition.AggregateReducerSchema;
135211
+ exports.AggregateReducerSchema = require_implemented_methods.AggregateReducerSchema;
134922
135212
  exports.AirQualitySensorStatusSchema = AirQualitySensorStatusSchema;
134923
135213
  exports.AlarmArmModeSchema = AlarmArmModeSchema;
134924
135214
  exports.AlarmPanelStatusSchema = AlarmPanelStatusSchema;
@@ -134941,7 +135231,7 @@ exports.ArchiveManifestSchema = ArchiveManifestSchema;
134941
135231
  exports.ArchiveSqliteSnapshotSchema = ArchiveSqliteSnapshotSchema;
134942
135232
  exports.ArchivedDebugNoteQueryInputSchema = ArchivedDebugNoteQueryInputSchema;
134943
135233
  exports.ArchivedDebugNoteSchema = ArchivedDebugNoteSchema;
134944
- exports.ArithmeticHelperSpecSchema = require_composition.ArithmeticHelperSpecSchema;
135234
+ exports.ArithmeticHelperSpecSchema = require_implemented_methods.ArithmeticHelperSpecSchema;
134945
135235
  exports.AttachmentMediaTypeSchema = AttachmentMediaTypeSchema;
134946
135236
  exports.AttachmentSchema = AttachmentSchema;
134947
135237
  exports.AudioAnalysisResultSchema = AudioAnalysisResultSchema;
@@ -134996,7 +135286,7 @@ exports.BASE_LIVE_EGRESS_PROFILE = BASE_LIVE_EGRESS_PROFILE;
134996
135286
  exports.BATTERY_DEVICE_PROFILE = BATTERY_DEVICE_PROFILE;
134997
135287
  exports.BATTERY_UNREACHABLE_AFTER_MS = BATTERY_UNREACHABLE_AFTER_MS;
134998
135288
  exports.BENCH_ROOT_STEP_ID = BENCH_ROOT_STEP_ID;
134999
- exports.BINARY_AGGREGATES = require_composition.BINARY_AGGREGATES;
135289
+ exports.BINARY_AGGREGATES = require_implemented_methods.BINARY_AGGREGATES;
135000
135290
  exports.BIRTH_DECISION_DEFAULT_LIMIT = BIRTH_DECISION_DEFAULT_LIMIT;
135001
135291
  exports.BOOT_RECOVERY_BACKOFF_MS = require_sleep.BOOT_RECOVERY_BACKOFF_MS;
135002
135292
  exports.BUILTIN_REMOTE_COMPONENTS = BUILTIN_REMOTE_COMPONENTS;
@@ -135042,7 +135332,7 @@ exports.BrokerSubscribeResultSchema = SubscribeResultSchema;
135042
135332
  exports.BrokerUnsubscribeInputSchema = UnsubscribeInputSchema;
135043
135333
  exports.BucketAccumulator = BucketAccumulator;
135044
135334
  exports.BulkRecordSchema = BulkRecordSchema;
135045
- exports.CALENDAR_PERIODS = require_composition.CALENDAR_PERIODS;
135335
+ exports.CALENDAR_PERIODS = require_implemented_methods.CALENDAR_PERIODS;
135046
135336
  exports.CALLER_STAMPED_CAPABILITIES = require_sleep.CALLER_STAMPED_CAPABILITIES;
135047
135337
  exports.CALLER_USERNAME_HEADER = require_sleep.CALLER_USERNAME_HEADER;
135048
135338
  exports.CAMERA_SENSORS_NOT_LOADED = CAMERA_SENSORS_NOT_LOADED;
@@ -135087,11 +135377,11 @@ exports.COCO_80_LABELS = COCO_80_LABELS;
135087
135377
  exports.COCO_TO_MACRO = COCO_TO_MACRO;
135088
135378
  exports.COMPOSED_DEVICE_STABLE_ID_PREFIX = require_composed_stable_id.COMPOSED_DEVICE_STABLE_ID_PREFIX;
135089
135379
  exports.COMPOSED_ITEM_FIXED_FIELDS = COMPOSED_ITEM_FIXED_FIELDS;
135090
- exports.COMPOSER_ADDON_ID = require_composition.COMPOSER_ADDON_ID;
135380
+ exports.COMPOSER_ADDON_ID = require_implemented_methods.COMPOSER_ADDON_ID;
135091
135381
  exports.COMPOSER_RUNNER_ID = COMPOSER_RUNNER_ID;
135092
135382
  exports.COMPOSITION_EVENT_CATEGORY = COMPOSITION_EVENT_CATEGORY;
135093
- exports.COMPOSITION_ITEM_ARRAY_PATH = require_composition.COMPOSITION_ITEM_ARRAY_PATH;
135094
- exports.COMPOSITION_ITEM_KEY_RE = require_composition.COMPOSITION_ITEM_KEY_RE;
135383
+ exports.COMPOSITION_ITEM_ARRAY_PATH = require_implemented_methods.COMPOSITION_ITEM_ARRAY_PATH;
135384
+ exports.COMPOSITION_ITEM_KEY_RE = require_implemented_methods.COMPOSITION_ITEM_KEY_RE;
135095
135385
  exports.COMPOSITION_LINK_KINDS = COMPOSITION_LINK_KINDS;
135096
135386
  exports.COMPOSITION_TARGET_CAP_NAMES = COMPOSITION_TARGET_CAP_NAMES;
135097
135387
  exports.CONNECTION_TEST_TIMEOUT_MS = CONNECTION_TEST_TIMEOUT_MS;
@@ -135107,7 +135397,7 @@ exports.CREDENTIAL_TOKEN_KIND = CREDENTIAL_TOKEN_KIND;
135107
135397
  exports.CROP_CLASS_FLOORS = CROP_CLASS_FLOORS;
135108
135398
  exports.CROP_SUPPLY_SOURCES = CROP_SUPPLY_SOURCES;
135109
135399
  exports.CROP_SUPPLY_STEP_IDS = CROP_SUPPLY_STEP_IDS;
135110
- exports.CUSTOMIZATION_BLOCK_NAME_PREFIX = require_composition.CUSTOMIZATION_BLOCK_NAME_PREFIX;
135400
+ exports.CUSTOMIZATION_BLOCK_NAME_PREFIX = require_implemented_methods.CUSTOMIZATION_BLOCK_NAME_PREFIX;
135111
135401
  exports.CUSTOMIZE_APPLY_AUTHORITY_KINDS = CUSTOMIZE_APPLY_AUTHORITY_KINDS;
135112
135402
  exports.CUSTOMIZE_CARDINALITIES = CUSTOMIZE_CARDINALITIES;
135113
135403
  exports.CUSTOMIZE_EVENT_SHAPES = CUSTOMIZE_EVENT_SHAPES;
@@ -135120,7 +135410,7 @@ exports.CalendarPreferenceEntrySchema = CalendarPreferenceEntrySchema;
135120
135410
  exports.CalendarPreferencesSchema = CalendarPreferencesSchema;
135121
135411
  exports.CalendarSetPreferenceInputSchema = CalendarSetPreferenceInputSchema;
135122
135412
  exports.CalendarSourceKindSchema = CalendarSourceKindSchema;
135123
- exports.CalendarWindowSchema = require_composition.CalendarWindowSchema;
135413
+ exports.CalendarWindowSchema = require_implemented_methods.CalendarWindowSchema;
135124
135414
  exports.CamProfileSchema = require_sleep.CamProfileSchema;
135125
135415
  exports.CamStreamDescriptorSchema = CamStreamDescriptorSchema;
135126
135416
  exports.CamStreamKindSchema = require_sleep.CamStreamKindSchema;
@@ -135217,47 +135507,47 @@ exports.ComposerApplyResultSchema = ComposerApplyResultSchema;
135217
135507
  exports.ComposerBlockSchema = ComposerBlockSchema;
135218
135508
  exports.ComposerBlockVerdictSchema = ComposerBlockVerdictSchema;
135219
135509
  exports.ComposerUnreadableBlockSchema = ComposerUnreadableBlockSchema;
135220
- exports.CompositionAggregateSourceSchema = require_composition.CompositionAggregateSourceSchema;
135221
- exports.CompositionBindingSchema = require_composition.CompositionBindingSchema;
135510
+ exports.CompositionAggregateSourceSchema = require_implemented_methods.CompositionAggregateSourceSchema;
135511
+ exports.CompositionBindingSchema = require_implemented_methods.CompositionBindingSchema;
135222
135512
  exports.CompositionBlockInputSchema = CompositionBlockInputSchema;
135223
135513
  exports.CompositionBlockStateSchema = CompositionBlockStateSchema;
135224
- exports.CompositionCodeSourceSchema = require_composition.CompositionCodeSourceSchema;
135225
- exports.CompositionCommandTargetSchema = require_composition.CompositionCommandTargetSchema;
135514
+ exports.CompositionCodeSourceSchema = require_implemented_methods.CompositionCodeSourceSchema;
135515
+ exports.CompositionCommandTargetSchema = require_implemented_methods.CompositionCommandTargetSchema;
135226
135516
  exports.CompositionCustomizationReadSchema = CompositionCustomizationReadSchema;
135227
135517
  exports.CompositionEventPlanSchema = CompositionEventPlanSchema;
135228
- exports.CompositionExistingTargetSchema = require_composition.CompositionExistingTargetSchema;
135229
- exports.CompositionExpressionSourceSchema = require_composition.CompositionExpressionSourceSchema;
135230
- exports.CompositionExtensionCommandSchema = require_composition.CompositionExtensionCommandSchema;
135518
+ exports.CompositionExistingTargetSchema = require_implemented_methods.CompositionExistingTargetSchema;
135519
+ exports.CompositionExpressionSourceSchema = require_implemented_methods.CompositionExpressionSourceSchema;
135520
+ exports.CompositionExtensionCommandSchema = require_implemented_methods.CompositionExtensionCommandSchema;
135231
135521
  exports.CompositionFeatureModeSchema = CompositionFeatureModeSchema;
135232
135522
  exports.CompositionFeaturePlanSchema = CompositionFeaturePlanSchema;
135233
- exports.CompositionFeatureSchema = require_composition.CompositionFeatureSchema;
135523
+ exports.CompositionFeatureSchema = require_implemented_methods.CompositionFeatureSchema;
135234
135524
  exports.CompositionFieldItemSchema = CompositionFieldItemSchema;
135235
135525
  exports.CompositionFieldKindSchema = CompositionFieldKindSchema;
135236
135526
  exports.CompositionFieldPlanSchema = CompositionFieldPlanSchema;
135237
- exports.CompositionFieldReadSchema = require_composition.CompositionFieldReadSchema;
135527
+ exports.CompositionFieldReadSchema = require_implemented_methods.CompositionFieldReadSchema;
135238
135528
  exports.CompositionFieldRoleSchema = CompositionFieldRoleSchema;
135239
- exports.CompositionFieldSourceSchema = require_composition.CompositionFieldSourceSchema;
135529
+ exports.CompositionFieldSourceSchema = require_implemented_methods.CompositionFieldSourceSchema;
135240
135530
  exports.CompositionFieldStateKindSchema = CompositionFieldStateKindSchema;
135241
135531
  exports.CompositionFieldStateSchema = CompositionFieldStateSchema;
135242
- exports.CompositionFieldsFeatureSchema = require_composition.CompositionFieldsFeatureSchema;
135243
- exports.CompositionForwardArgSchema = require_composition.CompositionForwardArgSchema;
135244
- exports.CompositionForwardCommandSchema = require_composition.CompositionForwardCommandSchema;
135245
- exports.CompositionFromSourceSchema = require_composition.CompositionFromSourceSchema;
135532
+ exports.CompositionFieldsFeatureSchema = require_implemented_methods.CompositionFieldsFeatureSchema;
135533
+ exports.CompositionForwardArgSchema = require_implemented_methods.CompositionForwardArgSchema;
135534
+ exports.CompositionForwardCommandSchema = require_implemented_methods.CompositionForwardCommandSchema;
135535
+ exports.CompositionFromSourceSchema = require_implemented_methods.CompositionFromSourceSchema;
135246
135536
  exports.CompositionGetReadSchema = CompositionGetReadSchema;
135247
135537
  exports.CompositionGraphError = CompositionGraphError;
135248
- exports.CompositionItemEntrySchema = require_composition.CompositionItemEntrySchema;
135538
+ exports.CompositionItemEntrySchema = require_implemented_methods.CompositionItemEntrySchema;
135249
135539
  exports.CompositionListReadSchema = CompositionListReadSchema;
135250
- exports.CompositionLiteralBindingSchema = require_composition.CompositionLiteralBindingSchema;
135251
- exports.CompositionNewTargetSchema = require_composition.CompositionNewTargetSchema;
135252
- exports.CompositionPassthroughFeatureSchema = require_composition.CompositionPassthroughFeatureSchema;
135540
+ exports.CompositionLiteralBindingSchema = require_implemented_methods.CompositionLiteralBindingSchema;
135541
+ exports.CompositionNewTargetSchema = require_implemented_methods.CompositionNewTargetSchema;
135542
+ exports.CompositionPassthroughFeatureSchema = require_implemented_methods.CompositionPassthroughFeatureSchema;
135253
135543
  exports.CompositionProblemCodeSchema = CompositionProblemCodeSchema;
135254
135544
  exports.CompositionProblemSchema = CompositionProblemSchema;
135255
135545
  exports.CompositionRunStatusSchema = CompositionRunStatusSchema;
135256
- exports.CompositionSchema = require_composition.CompositionSchema;
135257
- exports.CompositionSeriesSourceSchema = require_composition.CompositionSeriesSourceSchema;
135258
- exports.CompositionSourceRefSchema = require_composition.CompositionSourceRefSchema;
135546
+ exports.CompositionSchema = require_implemented_methods.CompositionSchema;
135547
+ exports.CompositionSeriesSourceSchema = require_implemented_methods.CompositionSeriesSourceSchema;
135548
+ exports.CompositionSourceRefSchema = require_implemented_methods.CompositionSourceRefSchema;
135259
135549
  exports.CompositionStateReadSchema = CompositionStateReadSchema;
135260
- exports.CompositionTargetSchema = require_composition.CompositionTargetSchema;
135550
+ exports.CompositionTargetSchema = require_implemented_methods.CompositionTargetSchema;
135261
135551
  exports.CompositionUnavailableModeSchema = CompositionUnavailableModeSchema;
135262
135552
  exports.CompositionValidationSchema = CompositionValidationSchema;
135263
135553
  exports.CompositionViewSchema = CompositionViewSchema;
@@ -135304,7 +135594,7 @@ exports.DATABASE_SNAPSHOT_TIMEOUT_MS = DATABASE_SNAPSHOT_TIMEOUT_MS;
135304
135594
  exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
135305
135595
  exports.DATA_STORE_DATABASES = DATA_STORE_DATABASES;
135306
135596
  exports.DAYS_PER_WEEK = DAYS_PER_WEEK;
135307
- exports.DAY_MS = require_composition.DAY_MS;
135597
+ exports.DAY_MS = require_implemented_methods.DAY_MS;
135308
135598
  exports.DAY_NAMES = DAY_NAMES;
135309
135599
  exports.DEBUG_CHANNEL_PREFIX = require_sleep.DEBUG_CHANNEL_PREFIX;
135310
135600
  exports.DEBUG_WATCH_HARD_CAP_MS = require_sleep.DEBUG_WATCH_HARD_CAP_MS;
@@ -135326,9 +135616,9 @@ exports.DEFAULT_DISPLAY_PREFERENCE = require_sleep.DEFAULT_DISPLAY_PREFERENCE;
135326
135616
  exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
135327
135617
  exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
135328
135618
  exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
135329
- exports.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS = require_composition.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS;
135619
+ exports.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS = require_implemented_methods.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS;
135330
135620
  exports.DEFAULT_HEADROOM = DEFAULT_HEADROOM;
135331
- exports.DEFAULT_HISTORY_RETENTION = require_composition.DEFAULT_HISTORY_RETENTION;
135621
+ exports.DEFAULT_HISTORY_RETENTION = require_implemented_methods.DEFAULT_HISTORY_RETENTION;
135332
135622
  exports.DEFAULT_HOLD_OVERRIDE = DEFAULT_HOLD_OVERRIDE;
135333
135623
  exports.DEFAULT_MAX_HOLD_ATTEMPTS = DEFAULT_MAX_HOLD_ATTEMPTS;
135334
135624
  exports.DEFAULT_MAX_LATE_MS = DEFAULT_MAX_LATE_MS;
@@ -135348,7 +135638,7 @@ exports.DEFAULT_TOKEN_EXPIRY = require_sleep.DEFAULT_TOKEN_EXPIRY;
135348
135638
  exports.DEFAULT_TRACE_KEEP = DEFAULT_TRACE_KEEP;
135349
135639
  exports.DEFAULT_VIEWER_SCOPE = DEFAULT_VIEWER_SCOPE;
135350
135640
  exports.DEFINITIVE_DEVICE_REFUSALS = DEFINITIVE_DEVICE_REFUSALS;
135351
- exports.DERIVATIVE_UNITS = require_composition.DERIVATIVE_UNITS;
135641
+ exports.DERIVATIVE_UNITS = require_implemented_methods.DERIVATIVE_UNITS;
135352
135642
  exports.DERIVED_CAMERA_SILENCED_CAP_NAMES = DERIVED_CAMERA_SILENCED_CAP_NAMES;
135353
135643
  exports.DETAIL_CROP_PADDING_FIELD = DETAIL_CROP_PADDING_FIELD;
135354
135644
  exports.DETAIL_CROP_PADDING_KEY = DETAIL_CROP_PADDING_KEY;
@@ -135370,6 +135660,7 @@ exports.DEVICE_CHILDREN_BATCH_MAX = require_sleep.DEVICE_CHILDREN_BATCH_MAX;
135370
135660
  exports.DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE = DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE;
135371
135661
  exports.DEVICE_DO_ACTIONS = DEVICE_DO_ACTIONS;
135372
135662
  exports.DEVICE_ENROLLMENT_TTL_MS = DEVICE_ENROLLMENT_TTL_MS;
135663
+ exports.DEVICE_FEATURE_REQUIREMENTS = DEVICE_FEATURE_REQUIREMENTS;
135373
135664
  exports.DEVICE_HISTORY_ENERGY_KEY = DEVICE_HISTORY_ENERGY_KEY;
135374
135665
  exports.DEVICE_HISTORY_ORPHAN_DELETE_MAX = DEVICE_HISTORY_ORPHAN_DELETE_MAX;
135375
135666
  exports.DEVICE_HISTORY_ORPHAN_LIST_MAX = DEVICE_HISTORY_ORPHAN_LIST_MAX;
@@ -135393,9 +135684,12 @@ exports.DEVICE_TEMPLATE_BUDGET_MS = DEVICE_TEMPLATE_BUDGET_MS;
135393
135684
  exports.DEVICE_TEMPLATE_FILTERS = DEVICE_TEMPLATE_FILTERS;
135394
135685
  exports.DEVICE_TEMPLATE_MAX_LENGTH = DEVICE_TEMPLATE_MAX_LENGTH;
135395
135686
  exports.DEVICE_TEMPLATE_MAX_OUTPUT = DEVICE_TEMPLATE_MAX_OUTPUT;
135687
+ exports.DEVICE_TEMPLATE_NOW_ALIAS = DEVICE_TEMPLATE_NOW_ALIAS;
135396
135688
  exports.DEVICE_TEMPLATE_REFUSAL_REASONS = DEVICE_TEMPLATE_REFUSAL_REASONS;
135689
+ exports.DEVICE_TEMPLATE_THIS_ALIAS = DEVICE_TEMPLATE_THIS_ALIAS;
135397
135690
  exports.DEVICE_TEMPLATE_TRACE_REASONS = DEVICE_TEMPLATE_TRACE_REASONS;
135398
135691
  exports.DEVICE_TEMPLATE_UNAVAILABLE = DEVICE_TEMPLATE_UNAVAILABLE;
135692
+ exports.DEVICE_TEMPLATE_VALUES_CAP = DEVICE_TEMPLATE_VALUES_CAP;
135399
135693
  exports.DEVICE_TOMBSTONE_RETENTION_MS = DEVICE_TOMBSTONE_RETENTION_MS;
135400
135694
  exports.DEVICE_TRANSITIONS_MAX_PAGE = DEVICE_TRANSITIONS_MAX_PAGE;
135401
135695
  exports.DEVICE_TRANSITIONS_RECORD_BATCH_MAX = DEVICE_TRANSITIONS_RECORD_BATCH_MAX;
@@ -135427,7 +135721,7 @@ exports.DecodedAudioChunkSchema = require_sleep.DecodedAudioChunkSchema;
135427
135721
  exports.DeleteIntegrationResultSchema = DeleteIntegrationResultSchema;
135428
135722
  exports.DeliveryParamSchema = DeliveryParamSchema;
135429
135723
  exports.DeliveryParamValueSchema = DeliveryParamValueSchema;
135430
- exports.DerivativeHelperSpecSchema = require_composition.DerivativeHelperSpecSchema;
135724
+ exports.DerivativeHelperSpecSchema = require_implemented_methods.DerivativeHelperSpecSchema;
135431
135725
  exports.DesktopAppStatusSchema = DesktopAppStatusSchema;
135432
135726
  exports.DetailCropConventionSchema = DetailCropConventionSchema;
135433
135727
  exports.DetectionCatalogClassMapSchema = DetectionCatalogClassMapSchema;
@@ -135489,7 +135783,9 @@ exports.DeviceStatusSchema = DeviceStatusSchema;
135489
135783
  exports.DeviceTemplateRefusalSchema = DeviceTemplateRefusalSchema;
135490
135784
  exports.DeviceTemplateRenderSchema = DeviceTemplateRenderSchema;
135491
135785
  exports.DeviceTemplateSchema = DeviceTemplateSchema;
135786
+ exports.DeviceTemplateThisDeviceSchema = DeviceTemplateThisDeviceSchema;
135492
135787
  exports.DeviceTemplateTraceEntrySchema = DeviceTemplateTraceEntrySchema;
135788
+ exports.DeviceTemplateValueSchema = DeviceTemplateValueSchema;
135493
135789
  exports.DeviceTombstoneSchema = DeviceTombstoneSchema;
135494
135790
  exports.DeviceTransitionSchema = require_sleep.DeviceTransitionSchema;
135495
135791
  exports.DeviceType = require_composed_stable_id.DeviceType;
@@ -135540,12 +135836,12 @@ exports.EVENT_PAD_MS = EVENT_PAD_MS;
135540
135836
  exports.EVENT_TAXONOMY = EVENT_TAXONOMY;
135541
135837
  exports.EXPORT_DENSE_MAX_RANGES = EXPORT_DENSE_MAX_RANGES;
135542
135838
  exports.EXPORT_INSTANCE_UNKNOWN = EXPORT_INSTANCE_UNKNOWN;
135543
- exports.EXPRESSION_BUILTINS = require_composition.EXPRESSION_BUILTINS;
135544
- exports.EXPRESSION_BUILTIN_NAMES = require_composition.EXPRESSION_BUILTIN_NAMES;
135545
- exports.EXPRESSION_COMPILE_CACHE_CAPACITY = require_composition.EXPRESSION_COMPILE_CACHE_CAPACITY;
135546
- exports.EXPRESSION_IDENTIFIER_RE = require_composition.EXPRESSION_IDENTIFIER_RE;
135547
- exports.EXPRESSION_INJECTED_NOW = require_composition.EXPRESSION_INJECTED_NOW;
135548
- exports.EXPRESSION_OUTPUTS = require_composition.EXPRESSION_OUTPUTS;
135839
+ exports.EXPRESSION_BUILTINS = require_implemented_methods.EXPRESSION_BUILTINS;
135840
+ exports.EXPRESSION_BUILTIN_NAMES = require_implemented_methods.EXPRESSION_BUILTIN_NAMES;
135841
+ exports.EXPRESSION_COMPILE_CACHE_CAPACITY = require_implemented_methods.EXPRESSION_COMPILE_CACHE_CAPACITY;
135842
+ exports.EXPRESSION_IDENTIFIER_RE = require_implemented_methods.EXPRESSION_IDENTIFIER_RE;
135843
+ exports.EXPRESSION_INJECTED_NOW = require_implemented_methods.EXPRESSION_INJECTED_NOW;
135844
+ exports.EXPRESSION_OUTPUTS = require_implemented_methods.EXPRESSION_OUTPUTS;
135549
135845
  exports.EXTENSION_HOST_DEVICE_TYPES = EXTENSION_HOST_DEVICE_TYPES;
135550
135846
  exports.EXTENSION_SLOTS = EXTENSION_SLOTS;
135551
135847
  exports.EXTENSION_SLOT_IDS = EXTENSION_SLOT_IDS;
@@ -135615,12 +135911,12 @@ exports.ExposedDeviceSchema = ExposedDeviceSchema;
135615
135911
  exports.ExposedEntitySchema = ExposedEntitySchema;
135616
135912
  exports.ExposureModeSchema = ExposureModeSchema;
135617
135913
  exports.ExpressionBindingSourceSchema = ExpressionBindingSourceSchema;
135618
- exports.ExpressionEvalError = require_composition.ExpressionEvalError;
135914
+ exports.ExpressionEvalError = require_implemented_methods.ExpressionEvalError;
135619
135915
  exports.ExpressionFieldBindingSchema = ExpressionFieldBindingSchema;
135620
135916
  exports.ExpressionGlobalBindingSchema = ExpressionGlobalBindingSchema;
135621
- exports.ExpressionHelperSpecSchema = require_composition.ExpressionHelperSpecSchema;
135917
+ exports.ExpressionHelperSpecSchema = require_implemented_methods.ExpressionHelperSpecSchema;
135622
135918
  exports.ExpressionLiteralBindingSchema = ExpressionLiteralBindingSchema;
135623
- exports.ExpressionParseError = require_composition.ExpressionParseError;
135919
+ exports.ExpressionParseError = require_implemented_methods.ExpressionParseError;
135624
135920
  exports.ExpressionSourceSchema = ExpressionSourceSchema;
135625
135921
  exports.ExtensionCandidateSchema = ExtensionCandidateSchema;
135626
135922
  exports.ExtensionCandidatesSchema = ExtensionCandidatesSchema;
@@ -135652,10 +135948,10 @@ exports.FAN_PRESET_STEPS_MAX = FAN_PRESET_STEPS_MAX;
135652
135948
  exports.FEEDER_EXAMPLE_ADDON_ID = FEEDER_EXAMPLE_ADDON_ID;
135653
135949
  exports.FEEDER_EXAMPLE_HA_DEVICE_ID = FEEDER_EXAMPLE_HA_DEVICE_ID;
135654
135950
  exports.FEW_SHOT_COUNT = FEW_SHOT_COUNT;
135655
- exports.FFMPEG_PATH_ENV = require_composition.FFMPEG_PATH_ENV;
135951
+ exports.FFMPEG_PATH_ENV = require_implemented_methods.FFMPEG_PATH_ENV;
135656
135952
  exports.FIRST_LEVEL_MACRO_CLASSES = FIRST_LEVEL_MACRO_CLASSES;
135657
135953
  exports.FORBIDDEN_MESSAGE_PREFIX = require_sleep.FORBIDDEN_MESSAGE_PREFIX;
135658
- exports.FORWARD_INPUT_KEY = require_composition.FORWARD_INPUT_KEY;
135954
+ exports.FORWARD_INPUT_KEY = require_implemented_methods.FORWARD_INPUT_KEY;
135659
135955
  exports.FULL_IMAGE_BBOX = FULL_IMAGE_BBOX;
135660
135956
  exports.FailureContributionSchema = FailureContributionSchema;
135661
135957
  exports.FailureCounters = FailureCounters;
@@ -135678,7 +135974,7 @@ exports.FieldClaimModeSchema = FieldClaimModeSchema;
135678
135974
  exports.FieldClaimSchema = FieldClaimSchema;
135679
135975
  exports.FilterRequiredError = require_sleep.FilterRequiredError;
135680
135976
  exports.FloodStatusSchema = FloodStatusSchema;
135681
- exports.Fmp4BoxSplitter = require_composition.Fmp4BoxSplitter;
135977
+ exports.Fmp4BoxSplitter = require_implemented_methods.Fmp4BoxSplitter;
135682
135978
  exports.ForeignSecretMarkerError = require_sleep.ForeignSecretMarkerError;
135683
135979
  exports.FrameHandleSchema = require_sleep.FrameHandleSchema;
135684
135980
  exports.FrameInputSchema = FrameInputSchema;
@@ -135687,7 +135983,7 @@ exports.FrameLazyMetricsSchema = FrameLazyMetricsSchema;
135687
135983
  exports.G711_SCALE_CORRECTION_DB = G711_SCALE_CORRECTION_DB;
135688
135984
  exports.GRAMMAR_MAX_LINES = GRAMMAR_MAX_LINES;
135689
135985
  exports.GROUP_TEMPLATES = GROUP_TEMPLATES;
135690
- exports.GROUP_TEMPLATE_IDS = require_composition.GROUP_TEMPLATE_IDS;
135986
+ exports.GROUP_TEMPLATE_IDS = require_implemented_methods.GROUP_TEMPLATE_IDS;
135691
135987
  exports.GasStatusSchema = GasStatusSchema;
135692
135988
  exports.GetLoggingSettingsInputSchema = GetLoggingSettingsInputSchema;
135693
135989
  exports.GetStreamWithCodecInputSchema = GetStreamWithCodecInputSchema;
@@ -135697,9 +135993,9 @@ exports.GridLayoutViewSchema = GridLayoutViewSchema;
135697
135993
  exports.GroupActiveSchema = GroupActiveSchema;
135698
135994
  exports.GroupCommandResultSchema = GroupCommandResultSchema;
135699
135995
  exports.GroupCommandsSchema = GroupCommandsSchema;
135700
- exports.GroupHelperSpecSchema = require_composition.GroupHelperSpecSchema;
135996
+ exports.GroupHelperSpecSchema = require_implemented_methods.GroupHelperSpecSchema;
135701
135997
  exports.GroupStatusSchema = GroupStatusSchema;
135702
- exports.GroupTemplateIdSchema = require_composition.GroupTemplateIdSchema;
135998
+ exports.GroupTemplateIdSchema = require_implemented_methods.GroupTemplateIdSchema;
135703
135999
  exports.HAP_AUDIO_BASE = HAP_AUDIO_BASE;
135704
136000
  exports.HAP_AUDIO_BITRATE_KBPS = HAP_AUDIO_BITRATE_KBPS;
135705
136001
  exports.HAP_AUDIO_VBV_KBITS = HAP_AUDIO_VBV_KBITS;
@@ -135728,14 +136024,14 @@ exports.HF_REPO = require_sleep.HF_REPO;
135728
136024
  exports.HISTORY_BUCKET_MS = HISTORY_BUCKET_MS;
135729
136025
  exports.HISTORY_CATALOG = HISTORY_CATALOG;
135730
136026
  exports.HISTORY_DEFAULT_MIN_INTERVAL_MS = require_sleep.HISTORY_DEFAULT_MIN_INTERVAL_MS;
135731
- exports.HISTORY_FAST_MS = require_composition.HISTORY_FAST_MS;
136027
+ exports.HISTORY_FAST_MS = require_implemented_methods.HISTORY_FAST_MS;
135732
136028
  exports.HISTORY_ITEM_CATALOG = HISTORY_ITEM_CATALOG;
135733
136029
  exports.HISTORY_NONE_CAPS = HISTORY_NONE_CAPS;
135734
- exports.HISTORY_SLOW_MS = require_composition.HISTORY_SLOW_MS;
135735
- exports.HISTORY_TIERS = require_composition.HISTORY_TIERS;
136030
+ exports.HISTORY_SLOW_MS = require_implemented_methods.HISTORY_SLOW_MS;
136031
+ exports.HISTORY_TIERS = require_implemented_methods.HISTORY_TIERS;
135736
136032
  exports.HISTORY_UNIT_LABELS = require_sleep.HISTORY_UNIT_LABELS;
135737
136033
  exports.HOURS_PER_DAY = HOURS_PER_DAY;
135738
- exports.HOUR_MS = require_composition.HOUR_MS;
136034
+ exports.HOUR_MS = require_implemented_methods.HOUR_MS;
135739
136035
  exports.HUB_ADDRESS_ROLES = HUB_ADDRESS_ROLES;
135740
136036
  exports.HUB_MDNS_QUERY_NAME = HUB_MDNS_QUERY_NAME;
135741
136037
  exports.HUB_MDNS_ROLE = HUB_MDNS_ROLE;
@@ -135755,8 +136051,8 @@ exports.HeatPumpStatusSchema = HeatPumpStatusSchema;
135755
136051
  exports.HeatPumpSystemSchema = HeatPumpSystemSchema;
135756
136052
  exports.HeatPumpTemperaturesSchema = HeatPumpTemperaturesSchema;
135757
136053
  exports.HeatingValveStatusSchema = HeatingValveStatusSchema;
135758
- exports.HelperMemberSchema = require_composition.HelperMemberSchema;
135759
- exports.HelperSpecSchema = require_composition.HelperSpecSchema;
136054
+ exports.HelperMemberSchema = require_implemented_methods.HelperMemberSchema;
136055
+ exports.HelperSpecSchema = require_implemented_methods.HelperSpecSchema;
135760
136056
  exports.HeroLayoutRowsSchema = HeroLayoutRowsSchema;
135761
136057
  exports.HeroRowModelSchema = HeroRowModelSchema;
135762
136058
  exports.HfModelResolutionSchema = HfModelResolutionSchema;
@@ -135778,7 +136074,7 @@ exports.IDLE_ACTION_STATUS = IDLE_ACTION_STATUS;
135778
136074
  exports.INFERENCE_DEVICE_EXCLUSION_REASONS = INFERENCE_DEVICE_EXCLUSION_REASONS;
135779
136075
  exports.INITIAL_PULSE = INITIAL_PULSE;
135780
136076
  exports.INITIAL_SPAN = INITIAL_SPAN;
135781
- exports.INTEGRAL_OUTPUTS = require_composition.INTEGRAL_OUTPUTS;
136077
+ exports.INTEGRAL_OUTPUTS = require_implemented_methods.INTEGRAL_OUTPUTS;
135782
136078
  exports.INTERNAL_ACTION_PREFIX = INTERNAL_ACTION_PREFIX;
135783
136079
  exports.INVERTIBLE_CAPS = INVERTIBLE_CAPS;
135784
136080
  exports.IR_TIMINGS_MAX = IR_TIMINGS_MAX;
@@ -135798,7 +136094,7 @@ exports.InstallDesktopUpdateReasonSchema = InstallDesktopUpdateReasonSchema;
135798
136094
  exports.InstallDesktopUpdateResultSchema = InstallDesktopUpdateResultSchema;
135799
136095
  exports.InstalledPackageSchema = InstalledPackageSchema;
135800
136096
  exports.InstanceInUseError = InstanceInUseError;
135801
- exports.IntegralHelperSpecSchema = require_composition.IntegralHelperSpecSchema;
136097
+ exports.IntegralHelperSpecSchema = require_implemented_methods.IntegralHelperSpecSchema;
135802
136098
  exports.IntegrationInstanceDescriptionSchema = IntegrationInstanceDescriptionSchema;
135803
136099
  exports.IntegrationInstanceDiscoverySchema = IntegrationInstanceDiscoverySchema;
135804
136100
  exports.IntegrationInstanceIdSchema = IntegrationInstanceIdSchema;
@@ -135825,7 +136121,7 @@ exports.KEYCHAIN_MAX_REFS_PER_CALL = KEYCHAIN_MAX_REFS_PER_CALL;
135825
136121
  exports.KEYCHAIN_RESET_CONFIRMATION = KEYCHAIN_RESET_CONFIRMATION;
135826
136122
  exports.KEYCHAIN_RESET_TRIGGER_ACTOR = KEYCHAIN_RESET_TRIGGER_ACTOR;
135827
136123
  exports.KNOWN_CAP_NAMES = KNOWN_CAP_NAMES;
135828
- exports.KWH_PER_WATT_MS = require_composition.KWH_PER_WATT_MS;
136124
+ exports.KWH_PER_WATT_MS = require_implemented_methods.KWH_PER_WATT_MS;
135829
136125
  exports.KeptReasonSchema = KeptReasonSchema;
135830
136126
  exports.KeyEventSchema = KeyEventSchema;
135831
136127
  exports.KeychainAdminSecretSchema = KeychainAdminSecretSchema;
@@ -135957,18 +136253,18 @@ exports.MAX_CAMERA_SENSORS = MAX_CAMERA_SENSORS;
135957
136253
  exports.MAX_CLIP_EVENT_IDS = MAX_CLIP_EVENT_IDS;
135958
136254
  exports.MAX_CLIP_LABELS = MAX_CLIP_LABELS;
135959
136255
  exports.MAX_COMPONENT_BUTTONS = MAX_COMPONENT_BUTTONS;
135960
- exports.MAX_COMPOSITION_CODE_LENGTH = require_composition.MAX_COMPOSITION_CODE_LENGTH;
135961
- exports.MAX_COMPOSITION_FEATURES = require_composition.MAX_COMPOSITION_FEATURES;
135962
- exports.MAX_COMPOSITION_FIELDS_PER_FEATURE = require_composition.MAX_COMPOSITION_FIELDS_PER_FEATURE;
135963
- exports.MAX_COMPOSITION_ITEMS = require_composition.MAX_COMPOSITION_ITEMS;
136256
+ exports.MAX_COMPOSITION_CODE_LENGTH = require_implemented_methods.MAX_COMPOSITION_CODE_LENGTH;
136257
+ exports.MAX_COMPOSITION_FEATURES = require_implemented_methods.MAX_COMPOSITION_FEATURES;
136258
+ exports.MAX_COMPOSITION_FIELDS_PER_FEATURE = require_implemented_methods.MAX_COMPOSITION_FIELDS_PER_FEATURE;
136259
+ exports.MAX_COMPOSITION_ITEMS = require_implemented_methods.MAX_COMPOSITION_ITEMS;
135964
136260
  exports.MAX_CONDITION_DEPTH = MAX_CONDITION_DEPTH;
135965
136261
  exports.MAX_CONDITION_LEAVES = MAX_CONDITION_LEAVES;
135966
- exports.MAX_EXPRESSION_AST_NODES = require_composition.MAX_EXPRESSION_AST_NODES;
135967
- exports.MAX_EXPRESSION_BINDINGS = require_composition.MAX_EXPRESSION_BINDINGS;
135968
- exports.MAX_EXPRESSION_CALL_ARGS = require_composition.MAX_EXPRESSION_CALL_ARGS;
135969
- exports.MAX_EXPRESSION_EVAL_STEPS = require_composition.MAX_EXPRESSION_EVAL_STEPS;
135970
- exports.MAX_EXPRESSION_SOURCE_LENGTH = require_composition.MAX_EXPRESSION_SOURCE_LENGTH;
135971
- exports.MAX_HELPER_MEMBERS = require_composition.MAX_HELPER_MEMBERS;
136262
+ exports.MAX_EXPRESSION_AST_NODES = require_implemented_methods.MAX_EXPRESSION_AST_NODES;
136263
+ exports.MAX_EXPRESSION_BINDINGS = require_implemented_methods.MAX_EXPRESSION_BINDINGS;
136264
+ exports.MAX_EXPRESSION_CALL_ARGS = require_implemented_methods.MAX_EXPRESSION_CALL_ARGS;
136265
+ exports.MAX_EXPRESSION_EVAL_STEPS = require_implemented_methods.MAX_EXPRESSION_EVAL_STEPS;
136266
+ exports.MAX_EXPRESSION_SOURCE_LENGTH = require_implemented_methods.MAX_EXPRESSION_SOURCE_LENGTH;
136267
+ exports.MAX_HELPER_MEMBERS = require_implemented_methods.MAX_HELPER_MEMBERS;
135972
136268
  exports.MAX_HOLD_ATTEMPTS_LIMIT = MAX_HOLD_ATTEMPTS_LIMIT;
135973
136269
  exports.MAX_KEYS = MAX_KEYS;
135974
136270
  exports.MAX_LAYOUT_GROUPS = MAX_LAYOUT_GROUPS;
@@ -135999,8 +136295,8 @@ exports.MIGRATION_API_V1_METHODS = MIGRATION_API_V1_METHODS;
135999
136295
  exports.MIGRATION_API_VERSION = require_sleep.MIGRATION_API_VERSION;
136000
136296
  exports.MIGRATION_ID_PATTERN = MIGRATION_ID_PATTERN;
136001
136297
  exports.MINUTES_PER_DAY = MINUTES_PER_DAY;
136002
- exports.MINUTE_MS = require_composition.MINUTE_MS;
136003
- exports.MIN_CUSTOM_MINUTES = require_composition.MIN_CUSTOM_MINUTES;
136298
+ exports.MINUTE_MS = require_implemented_methods.MINUTE_MS;
136299
+ exports.MIN_CUSTOM_MINUTES = require_implemented_methods.MIN_CUSTOM_MINUTES;
136004
136300
  exports.MIN_RUN_MS = MIN_RUN_MS;
136005
136301
  exports.MIN_SCRUBBED_LENGTH = require_sleep.MIN_SCRUBBED_LENGTH;
136006
136302
  exports.MIN_SESSIONS_PER_DEVICE_RANGE = MIN_SESSIONS_PER_DEVICE_RANGE;
@@ -136201,6 +136497,7 @@ exports.NC_SYSTEM_EVENT_SUMMARY_FAMILIES = NC_SYSTEM_EVENT_SUMMARY_FAMILIES;
136201
136497
  exports.NC_SYSTEM_RULE_KINDS = NC_SYSTEM_RULE_KINDS;
136202
136498
  exports.NC_TAXONOMY = NC_TAXONOMY;
136203
136499
  exports.NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS = NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS;
136500
+ exports.NC_TEMPLATE_TITLE_MAX_CHARS = NC_TEMPLATE_TITLE_MAX_CHARS;
136204
136501
  exports.NC_TEMPLATE_VARS = NC_TEMPLATE_VARS;
136205
136502
  exports.NC_UPDATE_EVENT_PACKAGE_NAMES = NC_UPDATE_EVENT_PACKAGE_NAMES;
136206
136503
  exports.NETWORK_LINK_TYPES = NETWORK_LINK_TYPES;
@@ -136208,10 +136505,11 @@ exports.NETWORK_LINK_UNKNOWN = NETWORK_LINK_UNKNOWN;
136208
136505
  exports.NEXT_OCCURRENCE_HORIZON_DAYS = NEXT_OCCURRENCE_HORIZON_DAYS;
136209
136506
  exports.NODE_BENCHMARK_DEFAULTS = NODE_BENCHMARK_DEFAULTS;
136210
136507
  exports.NODE_COLOR_IDS = require_node_color.NODE_COLOR_IDS;
136508
+ exports.NOTIFICATION_FIELDS = NOTIFICATION_FIELDS;
136211
136509
  exports.NOTIFICATION_OUTPUT_CAP = NOTIFICATION_OUTPUT_CAP;
136212
136510
  exports.NOT_A_HERO_FACT = NOT_A_HERO_FACT;
136213
136511
  exports.NO_MEASURED_CAPACITY = NO_MEASURED_CAPACITY;
136214
- exports.NUMERIC_AGGREGATES = require_composition.NUMERIC_AGGREGATES;
136512
+ exports.NUMERIC_AGGREGATES = require_implemented_methods.NUMERIC_AGGREGATES;
136215
136513
  exports.NativeCropBboxSchema = NativeCropBboxSchema;
136216
136514
  exports.NativeCropRefSchema = NativeCropRefSchema;
136217
136515
  exports.NativeCropResultSchema = NativeCropResultSchema;
@@ -136311,6 +136609,8 @@ exports.NcSystemEventDeliveryModeSchema = NcSystemEventDeliveryModeSchema;
136311
136609
  exports.NcSystemEventDeliverySchema = NcSystemEventDeliverySchema;
136312
136610
  exports.NcSystemEventDeliveryToggleSchema = NcSystemEventDeliveryToggleSchema;
136313
136611
  exports.NcSystemEventKindSchema = NcSystemEventKindSchema;
136612
+ exports.NcTargetOverrideSchema = NcTargetOverrideSchema;
136613
+ exports.NcTargetOverridesSchema = NcTargetOverridesSchema;
136314
136614
  exports.NcTaxonomyEntrySchema = NcTaxonomyEntrySchema;
136315
136615
  exports.NcTaxonomySchema = NcTaxonomySchema;
136316
136616
  exports.NcTemplateDefaultSchema = NcTemplateDefaultSchema;
@@ -136369,6 +136669,7 @@ exports.NodeRemovedInputSchema = NodeRemovedInputSchema;
136369
136669
  exports.NodeRemovedResultSchema = NodeRemovedResultSchema;
136370
136670
  exports.NotificationActionIconSchema = NotificationActionIconSchema;
136371
136671
  exports.NotificationActionSchema = NotificationActionSchema;
136672
+ exports.NotificationFieldSchema = NotificationFieldSchema;
136372
136673
  exports.NotificationFormatSchema = NotificationFormatSchema;
136373
136674
  exports.NotificationSchema = NotificationSchema;
136374
136675
  exports.NotificationTargetStore = NotificationTargetStore;
@@ -136381,6 +136682,7 @@ exports.OPERATOR_WRITTEN_STALE_MS = OPERATOR_WRITTEN_STALE_MS;
136381
136682
  exports.OPS_LOG_DEFAULT_LIMIT = OPS_LOG_DEFAULT_LIMIT;
136382
136683
  exports.OPS_LOG_RING_DEFAULT_MAX = OPS_LOG_RING_DEFAULT_MAX;
136383
136684
  exports.ORPHAN_SWEEP_MIN_INTERVAL_MS = ORPHAN_SWEEP_MIN_INTERVAL_MS;
136685
+ exports.OSD_TEMPLATE_TEXT_MAX = OSD_TEMPLATE_TEXT_MAX;
136384
136686
  exports.OVERFLOW_REASON = OVERFLOW_REASON;
136385
136687
  exports.OVERLAY_LAYERS = OVERLAY_LAYERS;
136386
136688
  exports.OWNER_ONLY_EVENT_CATEGORIES = require_event_category.OWNER_ONLY_EVENT_CATEGORIES;
@@ -136413,14 +136715,9 @@ exports.OsdRenderOutcomeEnum = OsdRenderOutcomeEnum;
136413
136715
  exports.OsdRenderResultSchema = OsdRenderResultSchema;
136414
136716
  exports.OsdSlotBindingSchema = OsdSlotBindingSchema;
136415
136717
  exports.OsdSlotViewSchema = OsdSlotViewSchema;
136416
- exports.OsdSourceOptionSchema = OsdSourceOptionSchema;
136417
136718
  exports.OsdSourceSchema = OsdSourceSchema;
136418
- exports.OsdSourceValueTypeEnum = OsdSourceValueTypeEnum;
136419
136719
  exports.OsdStatusSchema = OsdStatusSchema;
136420
- exports.OsdTemplateBindingSchema = OsdTemplateBindingSchema;
136421
- exports.OsdTemplateFormatSchema = OsdTemplateFormatSchema;
136422
- exports.OsdTemplatePickSchema = OsdTemplatePickSchema;
136423
- exports.OsdTemplateTokenKindSchema = OsdTemplateTokenKindSchema;
136720
+ exports.OsdTemplatePreviewSchema = OsdTemplatePreviewSchema;
136424
136721
  exports.OverrideDraftSchema = OverrideDraftSchema;
136425
136722
  exports.PALETTE_BACKGROUNDS = PALETTE_BACKGROUNDS;
136426
136723
  exports.PALETTE_ENTRY_IDS = PALETTE_ENTRY_IDS;
@@ -136613,17 +136910,17 @@ exports.REMOTE_WIDGET_ROLES = REMOTE_WIDGET_ROLES;
136613
136910
  exports.REMOVAL_RECONCILE_INTERVAL_MS = REMOVAL_RECONCILE_INTERVAL_MS;
136614
136911
  exports.REMOVED_MODEL_IDS = REMOVED_MODEL_IDS;
136615
136912
  exports.REMOVE_LEAF = require_sleep.REMOVE_LEAF;
136616
- exports.RESERVED_BINDING_NAMES = require_composition.RESERVED_BINDING_NAMES;
136913
+ exports.RESERVED_BINDING_NAMES = require_implemented_methods.RESERVED_BINDING_NAMES;
136617
136914
  exports.RESERVED_COLLECTION_SOURCES = RESERVED_COLLECTION_SOURCES;
136618
- exports.RESET_PERIODS = require_composition.RESET_PERIODS;
136915
+ exports.RESET_PERIODS = require_implemented_methods.RESET_PERIODS;
136619
136916
  exports.RESTORED_CAP_NAMES = RESTORED_CAP_NAMES;
136620
- exports.RESTREAM_INPUT_PROBE = require_composition.RESTREAM_INPUT_PROBE;
136917
+ exports.RESTREAM_INPUT_PROBE = require_implemented_methods.RESTREAM_INPUT_PROBE;
136621
136918
  exports.RETRAIN_REVIEW_ADJUSTED_IOU = RETRAIN_REVIEW_ADJUSTED_IOU;
136622
136919
  exports.RETRAIN_REVIEW_MATCH_IOU = RETRAIN_REVIEW_MATCH_IOU;
136623
136920
  exports.RETRAIN_REVIEW_STATUSES = RETRAIN_REVIEW_STATUSES;
136624
136921
  exports.RETRAIN_REVISION_CONFLICT = RETRAIN_REVISION_CONFLICT;
136625
136922
  exports.REVALIDATE_AFTER_MS = require_sleep.REVALIDATE_AFTER_MS;
136626
- exports.ROLLING_SPANS = require_composition.ROLLING_SPANS;
136923
+ exports.ROLLING_SPANS = require_implemented_methods.ROLLING_SPANS;
136627
136924
  exports.ROOM_EXAMPLE_MOTION_SOURCES = ROOM_EXAMPLE_MOTION_SOURCES;
136628
136925
  exports.ROOM_EXAMPLE_TEMPERATURE_SOURCES = ROOM_EXAMPLE_TEMPERATURE_SOURCES;
136629
136926
  exports.ROOM_OCCUPANCY_WINDOW_MS = ROOM_OCCUPANCY_WINDOW_MS;
@@ -136812,7 +137109,7 @@ exports.RetrainVerdictValueSchema = RetrainVerdictValueSchema;
136812
137109
  exports.RevConflictError = require_sleep.RevConflictError;
136813
137110
  exports.RevokeOwnDeviceCertificateResultSchema = RevokeOwnDeviceCertificateResultSchema;
136814
137111
  exports.RingBuffer = RingBuffer;
136815
- exports.RollingWindowSchema = require_composition.RollingWindowSchema;
137112
+ exports.RollingWindowSchema = require_implemented_methods.RollingWindowSchema;
136816
137113
  exports.RootStepSupplySchema = RootStepSupplySchema;
136817
137114
  exports.RtpSourceSchema = RtpSourceSchema;
136818
137115
  exports.RtspRestreamEntrySchema = RtspRestreamEntrySchema;
@@ -136856,7 +137153,7 @@ exports.SECRET_REF_SCHEME = require_sleep.SECRET_REF_SCHEME;
136856
137153
  exports.SENSOR_FEATURES = SENSOR_FEATURES;
136857
137154
  exports.SENSOR_MAP = SENSOR_MAP;
136858
137155
  exports.SERIAL_CAPACITY_CAMERA_FPS = SERIAL_CAPACITY_CAMERA_FPS;
136859
- exports.SERIES_KINDS = require_composition.SERIES_KINDS;
137156
+ exports.SERIES_KINDS = require_implemented_methods.SERIES_KINDS;
136860
137157
  exports.SERVER_NAME_MAX_LENGTH = SERVER_NAME_MAX_LENGTH;
136861
137158
  exports.SERVER_NAME_SETTING_KEY = SERVER_NAME_SETTING_KEY;
136862
137159
  exports.SESSION_LOST_ALERT_CATEGORY = SESSION_LOST_ALERT_CATEGORY;
@@ -136876,17 +137173,17 @@ exports.SMTP_INBOUND_RING_MAX_AGE_MS = SMTP_INBOUND_RING_MAX_AGE_MS;
136876
137173
  exports.SMTP_INBOUND_RING_MAX_MESSAGES = SMTP_INBOUND_RING_MAX_MESSAGES;
136877
137174
  exports.SMTP_INBOUND_TEXT_MAX_CHARS = SMTP_INBOUND_TEXT_MAX_CHARS;
136878
137175
  exports.SMTP_RECIPIENT_CLAIMED = SMTP_RECIPIENT_CLAIMED;
136879
- exports.SOURCE_CAPS = require_composition.SOURCE_CAPS;
136880
- exports.SOURCE_CAP_ACTIVE_FIELD = require_composition.SOURCE_CAP_ACTIVE_FIELD;
136881
- exports.SOURCE_CAP_CHANGED_AT_FIELD = require_composition.SOURCE_CAP_CHANGED_AT_FIELD;
136882
- exports.SOURCE_DEVICE_TYPES = require_composition.SOURCE_DEVICE_TYPES;
137176
+ exports.SOURCE_CAPS = require_implemented_methods.SOURCE_CAPS;
137177
+ exports.SOURCE_CAP_ACTIVE_FIELD = require_implemented_methods.SOURCE_CAP_ACTIVE_FIELD;
137178
+ exports.SOURCE_CAP_CHANGED_AT_FIELD = require_implemented_methods.SOURCE_CAP_CHANGED_AT_FIELD;
137179
+ exports.SOURCE_DEVICE_TYPES = require_implemented_methods.SOURCE_DEVICE_TYPES;
136883
137180
  exports.SOURCE_INFO_METADATA_KEY = SOURCE_INFO_METADATA_KEY;
136884
137181
  exports.SSO_STATE_COOKIE = SSO_STATE_COOKIE;
136885
137182
  exports.SSO_STATE_COOKIE_MAX_AGE_SEC = SSO_STATE_COOKIE_MAX_AGE_SEC;
136886
137183
  exports.STATE_LABELS = STATE_LABELS;
136887
137184
  exports.STATE_LABEL_KEYS = STATE_LABEL_KEYS;
136888
137185
  exports.STATIONARY_OVERLAY_STYLE = STATIONARY_OVERLAY_STYLE;
136889
- exports.STATISTIC_STATS = require_composition.STATISTIC_STATS;
137186
+ exports.STATISTIC_STATS = require_implemented_methods.STATISTIC_STATS;
136890
137187
  exports.STEP_DEVICE_CONCURRENCY = STEP_DEVICE_CONCURRENCY;
136891
137188
  exports.STORAGE_ACCESS_FALLBACK = STORAGE_ACCESS_FALLBACK;
136892
137189
  exports.STORAGE_BYTES_PER_GB = STORAGE_BYTES_PER_GB;
@@ -136985,8 +137282,8 @@ exports.StartEmbeddedInputSchema = StartEmbeddedInputSchema;
136985
137282
  exports.StartEnrollmentOutputSchema = StartEnrollmentOutputSchema;
136986
137283
  exports.StationaryObjectSchema = StationaryObjectSchema;
136987
137284
  exports.StationarySubjectSchema = StationarySubjectSchema;
136988
- exports.StatisticHelperSpecSchema = require_composition.StatisticHelperSpecSchema;
136989
- exports.StatisticWindowSchema = require_composition.StatisticWindowSchema;
137285
+ exports.StatisticHelperSpecSchema = require_implemented_methods.StatisticHelperSpecSchema;
137286
+ exports.StatisticWindowSchema = require_implemented_methods.StatisticWindowSchema;
136990
137287
  exports.StepDeviceTraceSchema = StepDeviceTraceSchema;
136991
137288
  exports.StepTemplateError = StepTemplateError;
136992
137289
  exports.StorageAbortUploadInputSchema = AbortUploadInputSchema;
@@ -137079,6 +137376,7 @@ exports.TamperStatusSchema = TamperStatusSchema;
137079
137376
  exports.TargetKindCapsSchema = TargetKindCapsSchema;
137080
137377
  exports.TargetKindLevelSchema = TargetKindLevelSchema;
137081
137378
  exports.TargetKindSchema = TargetKindSchema;
137379
+ exports.TargetKindTextCapsSchema = TargetKindTextCapsSchema;
137082
137380
  exports.TargetSchema = TargetSchema;
137083
137381
  exports.TemperatureSensorStatusSchema = TemperatureSensorStatusSchema;
137084
137382
  exports.TemplateDeleteResultSchema = TemplateDeleteResultSchema;
@@ -137095,7 +137393,7 @@ exports.TerminalSessionInfoSchema = TerminalSessionInfoSchema;
137095
137393
  exports.TestConnectionResultSchema = TestConnectionResultSchema;
137096
137394
  exports.TestConnectionStatusEnum = TestConnectionStatusEnum;
137097
137395
  exports.TestResultSchema = TestResultSchema;
137098
- exports.ThresholdHelperSpecSchema = require_composition.ThresholdHelperSpecSchema;
137396
+ exports.ThresholdHelperSpecSchema = require_implemented_methods.ThresholdHelperSpecSchema;
137099
137397
  exports.TimeSpecSchema = TimeSpecSchema;
137100
137398
  exports.TimedRunActuatorSchema = TimedRunActuatorSchema;
137101
137399
  exports.TimedRunOptionsSchema = TimedRunOptionsSchema;
@@ -137363,7 +137661,7 @@ exports.audioLabelChoices = audioLabelChoices;
137363
137661
  exports.audioMetricsCapability = audioMetricsCapability;
137364
137662
  exports.audioModeOf = audioModeOf;
137365
137663
  exports.audioOrDefaults = audioOrDefaults;
137366
- exports.audioPlanFromEncodeProfile = require_composition.audioPlanFromEncodeProfile;
137664
+ exports.audioPlanFromEncodeProfile = require_implemented_methods.audioPlanFromEncodeProfile;
137367
137665
  exports.audioScaleEraOf = audioScaleEraOf;
137368
137666
  exports.auditedFields = require_sleep.auditedFields;
137369
137667
  exports.authProviderCapability = authProviderCapability;
@@ -137384,7 +137682,7 @@ exports.brokerLinkPortsOver = brokerLinkPortsOver;
137384
137682
  exports.bucketStartOf = bucketStartOf;
137385
137683
  exports.buildActionSteps = buildActionSteps;
137386
137684
  exports.buildAddonRouteProvider = buildAddonRouteProvider;
137387
- exports.buildAudioArgs = require_composition.buildAudioArgs;
137685
+ exports.buildAudioArgs = require_implemented_methods.buildAudioArgs;
137388
137686
  exports.buildBenchStepTree = buildBenchStepTree;
137389
137687
  exports.buildCapabilityLookup = buildCapabilityLookup;
137390
137688
  exports.buildDeviceAdminUrl = buildDeviceAdminUrl;
@@ -137393,9 +137691,9 @@ exports.buildDeviceSignatureMessage = buildDeviceSignatureMessage;
137393
137691
  exports.buildDraftJsonSchema = buildDraftJsonSchema;
137394
137692
  exports.buildDraftPrompt = buildDraftPrompt;
137395
137693
  exports.buildEventKindDescriptor = buildEventKindDescriptor;
137396
- exports.buildFfmpegArgs = require_composition.buildFfmpegArgs;
137694
+ exports.buildFfmpegArgs = require_implemented_methods.buildFfmpegArgs;
137397
137695
  exports.buildHeroModel = buildHeroModel;
137398
- exports.buildInputArgs = require_composition.buildInputArgs;
137696
+ exports.buildInputArgs = require_implemented_methods.buildInputArgs;
137399
137697
  exports.buildLinkedInstances = buildLinkedInstances;
137400
137698
  exports.buildModelVariantGroups = buildModelVariantGroups;
137401
137699
  exports.buildNcTaxonomy = buildNcTaxonomy;
@@ -137410,7 +137708,7 @@ exports.buildStreamParamsConfigSchema = buildStreamParamsConfigSchema;
137410
137708
  exports.buildSubjectPath = buildSubjectPath;
137411
137709
  exports.buildTriggerTrace = buildTriggerTrace;
137412
137710
  exports.buildUserScopedNotificationTargetInstances = buildUserScopedNotificationTargetInstances;
137413
- exports.buildVideoArgs = require_composition.buildVideoArgs;
137711
+ exports.buildVideoArgs = require_implemented_methods.buildVideoArgs;
137414
137712
  exports.buildViewerLink = buildViewerLink;
137415
137713
  exports.buildVocabularySlice = buildVocabularySlice;
137416
137714
  exports.builtCapabilityBlockers = builtCapabilityBlockers;
@@ -137468,7 +137766,7 @@ exports.clipExportFailureOf = clipExportFailureOf;
137468
137766
  exports.clipLabelsForWindow = clipLabelsForWindow;
137469
137767
  exports.clipReasonHeaderValue = clipReasonHeaderValue;
137470
137768
  exports.cloneAlarmSettings = cloneAlarmSettings;
137471
- exports.cloneStatefulExpressionMemory = require_composition.cloneStatefulExpressionMemory;
137769
+ exports.cloneStatefulExpressionMemory = require_implemented_methods.cloneStatefulExpressionMemory;
137472
137770
  exports.clusterModelSettingKey = clusterModelSettingKey;
137473
137771
  exports.clusterStepSettingFieldsFor = clusterStepSettingFieldsFor;
137474
137772
  exports.clusterStepSettingKey = clusterStepSettingKey;
@@ -137495,8 +137793,8 @@ exports.commitWatchdogRestart = commitWatchdogRestart;
137495
137793
  exports.compareDraft = compareDraft;
137496
137794
  exports.compareToTarget = compareToTarget;
137497
137795
  exports.compareVersions = compareVersions;
137498
- exports.compileExpression = require_composition.compileExpression;
137499
- exports.compileExpressionSafe = require_composition.compileExpressionSafe;
137796
+ exports.compileExpression = require_implemented_methods.compileExpression;
137797
+ exports.compileExpressionSafe = require_implemented_methods.compileExpressionSafe;
137500
137798
  exports.compileHelper = compileHelper;
137501
137799
  exports.compileKeyedArrayOverride = compileKeyedArrayOverride;
137502
137800
  exports.compilePulseOverride = compilePulseOverride;
@@ -137504,17 +137802,17 @@ exports.compileScalarOverride = compileScalarOverride;
137504
137802
  exports.compileSpanOverride = compileSpanOverride;
137505
137803
  exports.composeInstanceKinds = composeInstanceKinds;
137506
137804
  exports.composeSwitchedOff = composeSwitchedOff;
137507
- exports.composedDeviceRef = require_composition.composedDeviceRef;
137508
- exports.composedDeviceStableId = require_composition.composedDeviceStableId;
137805
+ exports.composedDeviceRef = require_implemented_methods.composedDeviceRef;
137806
+ exports.composedDeviceStableId = require_implemented_methods.composedDeviceStableId;
137509
137807
  exports.composerCapability = composerCapability;
137510
137808
  exports.compositionEdges = compositionEdges;
137511
- exports.compositionFeatureEnabled = require_composition.compositionFeatureEnabled;
137809
+ exports.compositionFeatureEnabled = require_implemented_methods.compositionFeatureEnabled;
137512
137810
  exports.compositionFieldKey = compositionFieldKey;
137513
137811
  exports.compositionFillStatus = compositionFillStatus;
137514
- exports.compositionItemFieldPath = require_composition.compositionItemFieldPath;
137515
- exports.compositionReadKey = require_composition.compositionReadKey;
137516
- exports.compositionSliceKey = require_composition.compositionSliceKey;
137517
- exports.compositionSourceKey = require_composition.compositionSourceKey;
137812
+ exports.compositionItemFieldPath = require_implemented_methods.compositionItemFieldPath;
137813
+ exports.compositionReadKey = require_implemented_methods.compositionReadKey;
137814
+ exports.compositionSliceKey = require_implemented_methods.compositionSliceKey;
137815
+ exports.compositionSourceKey = require_implemented_methods.compositionSourceKey;
137518
137816
  exports.compositionSourceRefs = compositionSourceRefs;
137519
137817
  exports.compositionTargetCaps = compositionTargetCaps;
137520
137818
  exports.computeCapacityShares = computeCapacityShares;
@@ -137553,7 +137851,7 @@ exports.createDeviceProxy = require_sleep.createDeviceProxy;
137553
137851
  exports.createDurableState = require_sleep.createDurableState;
137554
137852
  exports.createEvent = require_sleep.createEvent;
137555
137853
  exports.createEventBusSliceSource = require_sleep.createEventBusSliceSource;
137556
- exports.createExpressionScope = require_composition.createExpressionScope;
137854
+ exports.createExpressionScope = require_implemented_methods.createExpressionScope;
137557
137855
  exports.createHwAccelCache = createHwAccelCache;
137558
137856
  exports.createLazyTrpcSource = require_sleep.createLazyTrpcSource;
137559
137857
  exports.createLogChannelsProvider = createLogChannelsProvider;
@@ -137562,7 +137860,7 @@ exports.createRecordsAccess = require_sleep.createRecordsAccess;
137562
137860
  exports.createRuntimeStateBridge = createRuntimeStateBridge;
137563
137861
  exports.createSecretsAccess = require_sleep.createSecretsAccess;
137564
137862
  exports.createSliceHandle = require_sleep.createSliceHandle;
137565
- exports.createStatefulExpressionMemory = require_composition.createStatefulExpressionMemory;
137863
+ exports.createStatefulExpressionMemory = require_implemented_methods.createStatefulExpressionMemory;
137566
137864
  exports.createSystemProxy = createSystemProxy;
137567
137865
  exports.customAction = require_sleep.customAction;
137568
137866
  exports.customKeyOfRole = customKeyOfRole;
@@ -137602,12 +137900,14 @@ exports.defineRecordKinds = require_sleep.defineRecordKinds;
137602
137900
  exports.dehydrateConfigField = require_sleep.dehydrateConfigField;
137603
137901
  exports.dehydrateSchema = require_sleep.dehydrateSchema;
137604
137902
  exports.deleteAlarmProfile = deleteAlarmProfile;
137903
+ exports.deliverableFields = deliverableFields;
137605
137904
  exports.deliveryParamsDeclaredBy = deliveryParamsDeclaredBy;
137606
137905
  exports.derivativeDraft = derivativeDraft;
137607
137906
  exports.derivativeUnitLabel = derivativeUnitLabel;
137608
137907
  exports.deriveBatteryPresence = deriveBatteryPresence;
137609
137908
  exports.deriveCameraSwitches = deriveCameraSwitches;
137610
137909
  exports.deriveDetailCropRect = deriveDetailCropRect;
137910
+ exports.deriveFeatureProvenance = deriveFeatureProvenance;
137611
137911
  exports.deriveMaskSupplies = deriveMaskSupplies;
137612
137912
  exports.deriveMediaPlayerView = deriveMediaPlayerView;
137613
137913
  exports.derivePostTriggeredAction = derivePostTriggeredAction;
@@ -137654,7 +137954,7 @@ exports.deviceStateCapability = deviceStateCapability;
137654
137954
  exports.deviceStatusCapability = deviceStatusCapability;
137655
137955
  exports.deviceTransitionsCapability = deviceTransitionsCapability;
137656
137956
  exports.diffStepSettings = diffStepSettings;
137657
- exports.disarmRoseMemory = require_composition.disarmRoseMemory;
137957
+ exports.disarmRoseMemory = require_implemented_methods.disarmRoseMemory;
137658
137958
  exports.dishwasherCapability = dishwasherCapability;
137659
137959
  exports.displayPaletteCapability = displayPaletteCapability;
137660
137960
  exports.displayUnitFor = require_sleep.displayUnitFor;
@@ -137693,19 +137993,19 @@ exports.enumerateSchemaFields = enumerateSchemaFields;
137693
137993
  exports.errMsg = require_composed_stable_id.errMsg;
137694
137994
  exports.estimateNodeBenchmarkDurationMs = estimateNodeBenchmarkDurationMs;
137695
137995
  exports.evaluateAggregate = evaluateAggregate;
137696
- exports.evaluateAst = require_composition.evaluateAst;
137996
+ exports.evaluateAst = require_implemented_methods.evaluateAst;
137697
137997
  exports.evaluateCompositionField = evaluateCompositionField;
137698
137998
  exports.evaluateConditionTree = evaluateConditionTree;
137699
- exports.evaluateCount = require_composition.evaluateCount;
137700
- exports.evaluateDerivative = require_composition.evaluateDerivative;
137701
- exports.evaluateExpressionSource = require_composition.evaluateExpressionSource;
137999
+ exports.evaluateCount = require_implemented_methods.evaluateCount;
138000
+ exports.evaluateDerivative = require_implemented_methods.evaluateDerivative;
138001
+ exports.evaluateExpressionSource = require_implemented_methods.evaluateExpressionSource;
137702
138002
  exports.evaluatePoolMemory = evaluatePoolMemory;
137703
- exports.evaluateRose = require_composition.evaluateRose;
137704
- exports.evaluateSensorEdge = require_composition.evaluateSensorEdge;
137705
- exports.evaluateSensorLevelEdge = require_composition.evaluateSensorLevelEdge;
137706
- exports.evaluateStatefulExpressionCall = require_composition.evaluateStatefulExpressionCall;
138003
+ exports.evaluateRose = require_implemented_methods.evaluateRose;
138004
+ exports.evaluateSensorEdge = require_implemented_methods.evaluateSensorEdge;
138005
+ exports.evaluateSensorLevelEdge = require_implemented_methods.evaluateSensorLevelEdge;
138006
+ exports.evaluateStatefulExpressionCall = require_implemented_methods.evaluateStatefulExpressionCall;
137707
138007
  exports.evaluateStationaryTrigger = evaluateStationaryTrigger;
137708
- exports.evaluateStatistic = require_composition.evaluateStatistic;
138008
+ exports.evaluateStatistic = require_implemented_methods.evaluateStatistic;
137709
138009
  exports.evaluateStepCondition = evaluateStepCondition;
137710
138010
  exports.evaluateWhenTree = evaluateWhenTree;
137711
138011
  exports.evaluateZoneRules = evaluateZoneRules;
@@ -137733,17 +138033,18 @@ exports.failureRate = failureRate;
137733
138033
  exports.fanControlCapability = fanControlCapability;
137734
138034
  exports.fanOutTargets = fanOutTargets;
137735
138035
  exports.fanPresetsCapability = fanPresetsCapability;
137736
- exports.featureFieldEntries = require_composition.featureFieldEntries;
138036
+ exports.featureFieldEntries = require_implemented_methods.featureFieldEntries;
137737
138037
  exports.featureForwards = featureForwards;
137738
138038
  exports.featureOfRole = featureOfRole;
137739
138039
  exports.featureProbeCapability = featureProbeCapability;
137740
- exports.featureSources = require_composition.featureSources;
138040
+ exports.featureSources = require_implemented_methods.featureSources;
137741
138041
  exports.featuresOfBoundCaps = require_composed_stable_id.featuresOfBoundCaps;
137742
138042
  exports.feederCustomizationExample = feederCustomizationExample;
137743
138043
  exports.feederExampleSources = feederExampleSources;
137744
138044
  exports.ffmpegRate = ffmpegRate;
137745
138045
  exports.fieldEntryToSource = fieldEntryToSource;
137746
- exports.fieldReads = require_composition.fieldReads;
138046
+ exports.fieldReads = require_implemented_methods.fieldReads;
138047
+ exports.fieldSupportForTargets = fieldSupportForTargets;
137747
138048
  exports.fieldUnitKeys = fieldUnitKeys;
137748
138049
  exports.fieldUserFinder = fieldUserFinder;
137749
138050
  exports.fieldsPinnedAtValueBelow = fieldsPinnedAtValueBelow;
@@ -137811,7 +138112,7 @@ exports.heatPumpControlCapability = heatPumpControlCapability;
137811
138112
  exports.heatPumpInstantCop = heatPumpInstantCop;
137812
138113
  exports.heatPumpStatusCapability = heatPumpStatusCapability;
137813
138114
  exports.heatingValveCapability = heatingValveCapability;
137814
- exports.helperMembers = require_composition.helperMembers;
138115
+ exports.helperMembers = require_implemented_methods.helperMembers;
137815
138116
  exports.helperSaveProblems = helperSaveProblems;
137816
138117
  exports.heroArgsWithValue = heroArgsWithValue;
137817
138118
  exports.heroLayoutCapability = heroLayoutCapability;
@@ -137819,9 +138120,10 @@ exports.heroText = require_sleep.t;
137819
138120
  exports.hfModelUrl = require_sleep.hfModelUrl;
137820
138121
  exports.historyFieldsFor = historyFieldsFor;
137821
138122
  exports.historyItemFieldPath = require_sleep.historyItemFieldPath;
137822
- exports.historyRetentionFromSettings = require_composition.historyRetentionFromSettings;
138123
+ exports.historyRetentionFromSettings = require_implemented_methods.historyRetentionFromSettings;
137823
138124
  exports.historyUnitFor = require_sleep.historyUnitFor;
137824
138125
  exports.holdRefusalOf = holdRefusalOf;
138126
+ exports.holdVarSlots = holdVarSlots;
137825
138127
  exports.htmlToText = htmlToText;
137826
138128
  exports.hubAddressHostname = hubAddressHostname;
137827
138129
  exports.hubMotionNativeProvider = hubMotionNativeProvider;
@@ -137834,6 +138136,7 @@ exports.iconsInCategory = iconsInCategory;
137834
138136
  exports.imageCapability = imageCapability;
137835
138137
  exports.imageModesForKind = imageModesForKind;
137836
138138
  exports.imageSettingsCapability = imageSettingsCapability;
138139
+ exports.implementedMethodsOf = require_implemented_methods.implementedMethodsOf;
137837
138140
  exports.inferExpressionKinds = inferExpressionKinds;
137838
138141
  exports.inferModelProvider = inferModelProvider;
137839
138142
  exports.ingestReading = ingestReading;
@@ -137843,9 +138146,9 @@ exports.instanceApiOverTargets = instanceApiOverTargets;
137843
138146
  exports.instanceSourceOverApi = instanceSourceOverApi;
137844
138147
  exports.instancesOfCap = instancesOfCap;
137845
138148
  exports.instantKindsOf = instantKindsOf;
137846
- exports.integralCadenceMs = require_composition.integralCadenceMs;
138149
+ exports.integralCadenceMs = require_implemented_methods.integralCadenceMs;
137847
138150
  exports.integralDraft = integralDraft;
137848
- exports.integrateReading = require_composition.integrateReading;
138151
+ exports.integrateReading = require_implemented_methods.integrateReading;
137849
138152
  exports.integrationBodyFromRows = integrationBodyFromRows;
137850
138153
  exports.integrationInstancesCapability = integrationInstancesCapability;
137851
138154
  exports.integrationRowsApiOver = require_sleep.integrationRowsApiOver;
@@ -137860,7 +138163,7 @@ exports.interpolate = interpolate;
137860
138163
  exports.interpretStoredClusterModel = interpretStoredClusterModel;
137861
138164
  exports.invalidClusterStepModelEntries = invalidClusterStepModelEntries;
137862
138165
  exports.invertPresetFeature = invertPresetFeature;
137863
- exports.invocationFromEncodeProfile = require_composition.invocationFromEncodeProfile;
138166
+ exports.invocationFromEncodeProfile = require_implemented_methods.invocationFromEncodeProfile;
137864
138167
  exports.irSourceProblem = irSourceProblem;
137865
138168
  exports.irTransmitterCapability = irTransmitterCapability;
137866
138169
  exports.isAgentOnlyPlacement = isAgentOnlyPlacement;
@@ -137898,13 +138201,14 @@ exports.isEventKindLabelKey = isEventKindLabelKey;
137898
138201
  exports.isEventLeaf = isEventLeaf;
137899
138202
  exports.isEventOwnerType = isEventOwnerType;
137900
138203
  exports.isFirstLevelMacroClass = isFirstLevelMacroClass;
137901
- exports.isForwardInputRef = require_composition.isForwardInputRef;
138204
+ exports.isForwardInputRef = require_implemented_methods.isForwardInputRef;
137902
138205
  exports.isHeldBackTemplateVar = isHeldBackTemplateVar;
137903
- exports.isHistoryHelper = require_composition.isHistoryHelper;
138206
+ exports.isHistoryHelper = require_implemented_methods.isHistoryHelper;
137904
138207
  exports.isIconKey = isIconKey;
137905
138208
  exports.isInstanceEnabled = require_sleep.isInstanceEnabled;
137906
138209
  exports.isInternalActionId = isInternalActionId;
137907
138210
  exports.isIsolatedBuiltin = isIsolatedBuiltin;
138211
+ exports.isKernelDerivedFeature = isKernelDerivedFeature;
137908
138212
  exports.isKeychainStoredField = require_sleep.isKeychainStoredField;
137909
138213
  exports.isKnownTemplateVar = isKnownTemplateVar;
137910
138214
  exports.isKnownTimeZone = isKnownTimeZone;
@@ -137945,10 +138249,10 @@ exports.isSecretRef = require_sleep.isSecretRef;
137945
138249
  exports.isSecretRefOwnedBy = require_sleep.isSecretRefOwnedBy;
137946
138250
  exports.isSingleHubAddressRole = isSingleHubAddressRole;
137947
138251
  exports.isSkippedTrace = isSkippedTrace;
137948
- exports.isSoftwareDecode = require_composition.isSoftwareDecode;
137949
- exports.isSourceCap = require_composition.isSourceCap;
138252
+ exports.isSoftwareDecode = require_implemented_methods.isSoftwareDecode;
138253
+ exports.isSourceCap = require_implemented_methods.isSourceCap;
137950
138254
  exports.isStateLabelKey = isStateLabelKey;
137951
- exports.isStatefulBuiltin = require_composition.isStatefulBuiltin;
138255
+ exports.isStatefulBuiltin = require_implemented_methods.isStatefulBuiltin;
137952
138256
  exports.isStorageLocationMode = isStorageLocationMode;
137953
138257
  exports.isSystemDelivery = isSystemDelivery;
137954
138258
  exports.isSystemEventFamily = isSystemEventFamily;
@@ -137999,7 +138303,7 @@ exports.locationIconKey = locationIconKey;
137999
138303
  exports.locationSimilarity = locationSimilarity;
138000
138304
  exports.lockControlCapability = lockControlCapability;
138001
138305
  exports.lockDoorLinkOfComposition = lockDoorLinkOfComposition;
138002
- exports.logBannerArgs = require_composition.logBannerArgs;
138306
+ exports.logBannerArgs = require_implemented_methods.logBannerArgs;
138003
138307
  exports.logChannelsCapability = logChannelsCapability;
138004
138308
  exports.logDestinationCapability = logDestinationCapability;
138005
138309
  exports.logLevelAtMost = logLevelAtMost;
@@ -138016,7 +138320,7 @@ exports.markdownToHtmlLite = markdownToHtmlLite;
138016
138320
  exports.markdownToText = markdownToText;
138017
138321
  exports.maskUrlCredentials = require_sleep.maskUrlCredentials;
138018
138322
  exports.matchDoAction = matchDoAction;
138019
- exports.maxDurationMs = require_composition.maxDurationMs;
138323
+ exports.maxDurationMs = require_implemented_methods.maxDurationMs;
138020
138324
  exports.mayReadLocation = mayReadLocation;
138021
138325
  exports.mayWriteToLocation = mayWriteToLocation;
138022
138326
  exports.measuredCapacityFromResults = measuredCapacityFromResults;
@@ -138072,7 +138376,7 @@ exports.ncMediaPolicyError = ncMediaPolicyError;
138072
138376
  exports.networkAccessCapability = networkAccessCapability;
138073
138377
  exports.networkLinkCapability = networkLinkCapability;
138074
138378
  exports.networkQualityCapability = networkQualityCapability;
138075
- exports.nextLocalMidnight = require_composition.nextLocalMidnight;
138379
+ exports.nextLocalMidnight = require_implemented_methods.nextLocalMidnight;
138076
138380
  exports.nextOccurrence = nextOccurrence;
138077
138381
  exports.nodeBenchmarkRefusals = nodeBenchmarkRefusals;
138078
138382
  exports.nodeCertificatesCapability = nodeCertificatesCapability;
@@ -138112,8 +138416,8 @@ exports.objectInputDeclaresRequiredDeviceId = objectInputDeclaresRequiredDeviceI
138112
138416
  exports.occupancyScope = occupancyScope;
138113
138417
  exports.occurrenceOn = occurrenceOn;
138114
138418
  exports.omitTransientConfig = require_sleep.omitTransientConfig;
138115
- exports.openReset = require_composition.openReset;
138116
- exports.openStatistic = require_composition.openStatistic;
138419
+ exports.openReset = require_implemented_methods.openReset;
138420
+ exports.openStatistic = require_implemented_methods.openStatistic;
138117
138421
  exports.optionalAncestors = optionalAncestors;
138118
138422
  exports.optionalLinkField = require_sleep.optionalLinkField;
138119
138423
  exports.optionalMethod = require_sleep.optionalMethod;
@@ -138142,7 +138446,7 @@ exports.parseCameraStreamConfig = parseCameraStreamConfig;
138142
138446
  exports.parseColorInput = parseColorInput;
138143
138447
  exports.parseCredentialScopes = parseCredentialScopes;
138144
138448
  exports.parseDeviceEnrollmentLink = parseDeviceEnrollmentLink;
138145
- exports.parseExpression = require_composition.parseExpression;
138449
+ exports.parseExpression = require_implemented_methods.parseExpression;
138146
138450
  exports.parseFlipperIr = parseFlipperIr;
138147
138451
  exports.parseJsonArray = require_sleep.parseJsonArray;
138148
138452
  exports.parseJsonObject = require_sleep.parseJsonObject;
@@ -138179,7 +138483,7 @@ exports.pickNativeLeaseOverride = pickNativeLeaseOverride;
138179
138483
  exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
138180
138484
  exports.pickRequestOrigin = pickRequestOrigin;
138181
138485
  exports.pickRestartCandidate = pickRestartCandidate;
138182
- exports.pickVideoEncoder = require_composition.pickVideoEncoder;
138486
+ exports.pickVideoEncoder = require_implemented_methods.pickVideoEncoder;
138183
138487
  exports.pickerForCondition = pickerForCondition;
138184
138488
  exports.pickerForRuleClasses = pickerForRuleClasses;
138185
138489
  exports.pinUnderBenchmark = pinUnderBenchmark;
@@ -138193,8 +138497,8 @@ exports.planItems = planItems;
138193
138497
  exports.planMotionCropRegions = planMotionCropRegions;
138194
138498
  exports.planMotionCrops = planMotionCrops;
138195
138499
  exports.planRecoveryCrops = planRecoveryCrops;
138196
- exports.planResetTier = require_composition.planResetTier;
138197
- exports.planStatisticTier = require_composition.planStatisticTier;
138500
+ exports.planResetTier = require_implemented_methods.planResetTier;
138501
+ exports.planStatisticTier = require_implemented_methods.planStatisticTier;
138198
138502
  exports.plateGalleryCapability = plateGalleryCapability;
138199
138503
  exports.platformProbeCapability = platformProbeCapability;
138200
138504
  exports.plusCatalogDefaultClassFloors = plusCatalogDefaultClassFloors;
@@ -138258,6 +138562,7 @@ exports.rebootCapability = rebootCapability;
138258
138562
  exports.recommendNode = recommendNode;
138259
138563
  exports.reconcileBlockDevices = reconcileBlockDevices;
138260
138564
  exports.reconcileRemovedDevices = reconcileRemovedDevices;
138565
+ exports.reconcileReportedFeatures = reconcileReportedFeatures;
138261
138566
  exports.recordArrayItemPath = require_sleep.recordArrayItemPath;
138262
138567
  exports.recordEntriesCapability = recordEntriesCapability;
138263
138568
  exports.recordSecretCollection = require_sleep.recordSecretCollection;
@@ -138350,7 +138655,7 @@ exports.resolveSecretViewsIn = require_sleep.resolveSecretViewsIn;
138350
138655
  exports.resolveServerName = resolveServerName;
138351
138656
  exports.resolveStepArgs = resolveStepArgs;
138352
138657
  exports.resolveStepArgsWithTemplates = resolveStepArgsWithTemplates;
138353
- exports.resolveStreamMaps = require_composition.resolveStreamMaps;
138658
+ exports.resolveStreamMaps = require_implemented_methods.resolveStreamMaps;
138354
138659
  exports.resolveTemplateRef = resolveTemplateRef;
138355
138660
  exports.resolveVariantModelId = resolveVariantModelId;
138356
138661
  exports.resolveViewableDeviceIds = resolveViewableDeviceIds;
@@ -138365,7 +138670,7 @@ exports.rewriteLoginProxyLocation = rewriteLocation;
138365
138670
  exports.rewriteLoginProxyReferer = rewriteReferer;
138366
138671
  exports.rewriteLoginProxySetCookie = rewriteSetCookie;
138367
138672
  exports.roleSpec = roleSpec;
138368
- exports.rollingDurationMs = require_composition.rollingDurationMs;
138673
+ exports.rollingDurationMs = require_implemented_methods.rollingDurationMs;
138369
138674
  exports.roomCompositionExample = roomCompositionExample;
138370
138675
  exports.rootSuppliesOf = rootSuppliesOf;
138371
138676
  exports.rootSupplyServes = rootSupplyServes;
@@ -138405,6 +138710,7 @@ exports.runtimeStatePolicyFor = runtimeStatePolicyFor;
138405
138710
  exports.sameDoFamily = sameDoFamily;
138406
138711
  exports.sameHelperBody = sameHelperBody;
138407
138712
  exports.sameRead = sameRead;
138713
+ exports.sanitizeTargetOverride = sanitizeTargetOverride;
138408
138714
  exports.scalarTargetCount = scalarTargetCount;
138409
138715
  exports.sceneMonitorCapability = sceneMonitorCapability;
138410
138716
  exports.scheduleForSendTimes = scheduleForSendTimes;
@@ -138452,6 +138758,7 @@ exports.setPaletteInputSchema = setPaletteInputSchema;
138452
138758
  exports.settingValuesEqual = settingValuesEqual;
138453
138759
  exports.settingsBelow = settingsBelow;
138454
138760
  exports.settingsStoreCapability = settingsStoreCapability;
138761
+ exports.settleDeviceFeatures = settleDeviceFeatures;
138455
138762
  exports.shareViewGrantOf = shareViewGrantOf;
138456
138763
  exports.sharedActuatorFeatures = sharedActuatorFeatures;
138457
138764
  exports.sharedActuatorMethods = sharedActuatorMethods;
@@ -138466,9 +138773,9 @@ exports.siteZoneKey = siteZoneKey;
138466
138773
  exports.skipSignature = skipSignature;
138467
138774
  exports.sleep = require_sleep.sleep;
138468
138775
  exports.sleepCancellable = require_sleep.sleepCancellable;
138469
- exports.sliceActiveValue = require_composition.sliceActiveValue;
138776
+ exports.sliceActiveValue = require_implemented_methods.sliceActiveValue;
138470
138777
  exports.sliceCapOf = sliceCapOf;
138471
- exports.sliceChangedAt = require_composition.sliceChangedAt;
138778
+ exports.sliceChangedAt = require_implemented_methods.sliceChangedAt;
138472
138779
  exports.slugifyDeviceAlias = slugifyDeviceAlias;
138473
138780
  exports.smartIrDraft = smartIrDraft;
138474
138781
  exports.smokeCapability = smokeCapability;
@@ -138488,7 +138795,7 @@ exports.startMoverUnderClearance = startMoverUnderClearance;
138488
138795
  exports.startReachabilityPoll = startReachabilityPoll;
138489
138796
  exports.stateLabel = stateLabel;
138490
138797
  exports.stateVocabularyFor = stateVocabularyFor;
138491
- exports.statisticCadenceMs = require_composition.statisticCadenceMs;
138798
+ exports.statisticCadenceMs = require_implemented_methods.statisticCadenceMs;
138492
138799
  exports.statisticDraft = statisticDraft;
138493
138800
  exports.statusInstanceOf = statusInstanceOf;
138494
138801
  exports.stepModelRunsOnFormat = stepModelRunsOnFormat;
@@ -138580,7 +138887,7 @@ exports.timedRunRemaining = timedRunRemaining;
138580
138887
  exports.timedRunSeconds = timedRunSeconds;
138581
138888
  exports.toAppLinkHubOrigin = toAppLinkHubOrigin;
138582
138889
  exports.toDeviceSummary = toDeviceSummary;
138583
- exports.toExpressionValue = require_composition.toExpressionValue;
138890
+ exports.toExpressionValue = require_implemented_methods.toExpressionValue;
138584
138891
  exports.toNodeId = require_sleep.toNodeId;
138585
138892
  exports.toPercentShares = toPercentShares;
138586
138893
  exports.toSecretFieldView = require_sleep.toSecretFieldView;
@@ -138588,7 +138895,7 @@ exports.toStreamSourceEntry = toStreamSourceEntry;
138588
138895
  exports.toTimings = toTimings;
138589
138896
  exports.toastCapability = toastCapability;
138590
138897
  exports.toggleAudioLabel = toggleAudioLabel;
138591
- exports.tokenize = require_composition.tokenize;
138898
+ exports.tokenize = require_implemented_methods.tokenize;
138592
138899
  exports.trainingCapability = trainingCapability;
138593
138900
  exports.trainingProviderCapability = trainingProviderCapability;
138594
138901
  exports.transcodeBody = transcodeBody;
@@ -138616,7 +138923,7 @@ exports.vacuumControlCapability = vacuumControlCapability;
138616
138923
  exports.validateComposition = validateComposition;
138617
138924
  exports.validateCustomAddress = validateCustomAddress;
138618
138925
  exports.validateDraft = validateDraft;
138619
- exports.validateExpressionSource = require_composition.validateExpressionSource;
138926
+ exports.validateExpressionSource = require_implemented_methods.validateExpressionSource;
138620
138927
  exports.validatePalette = validatePalette;
138621
138928
  exports.validateRecipeBounds = validateRecipeBounds;
138622
138929
  exports.validateSchedulerInput = validateSchedulerInput;
@@ -138637,7 +138944,7 @@ exports.vocabActionIdFor = require_sleep.vocabActionIdFor;
138637
138944
  exports.vocabularyActionsForDevice = actionsForDevice$1;
138638
138945
  exports.vocabularyTriggersForDevice = triggersForDevice;
138639
138946
  exports.waterHeaterCapability = waterHeaterCapability;
138640
- exports.wattMillisecondsToKwh = require_composition.wattMillisecondsToKwh;
138947
+ exports.wattMillisecondsToKwh = require_implemented_methods.wattMillisecondsToKwh;
138641
138948
  exports.weatherCapability = weatherCapability;
138642
138949
  exports.webrtcClientHintsSchema = webrtcClientHintsSchema;
138643
138950
  exports.webrtcSessionCapability = webrtcSessionCapability;