@camstack/types 1.2.539 → 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 (44) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/addon.js +44 -12
  3. package/dist/addon.mjs +44 -12
  4. package/dist/capabilities/capability-definition.d.ts +4 -0
  5. package/dist/capabilities/climate-control.cap.d.ts +18 -6
  6. package/dist/capabilities/cover.cap.d.ts +9 -3
  7. package/dist/capabilities/device-manager.cap.d.ts +14 -0
  8. package/dist/capabilities/fan-control.cap.d.ts +12 -4
  9. package/dist/capabilities/index.d.ts +3 -3
  10. package/dist/capabilities/lock-control.cap.d.ts +3 -1
  11. package/dist/capabilities/media-player.cap.d.ts +48 -16
  12. package/dist/capabilities/notification-output.cap.d.ts +40 -0
  13. package/dist/capabilities/notification-rules.cap.d.ts +252 -0
  14. package/dist/capabilities/osd-manager.cap.d.ts +40 -277
  15. package/dist/capabilities/valve.cap.d.ts +3 -1
  16. package/dist/client.js +41 -1
  17. package/dist/client.mjs +41 -1
  18. package/dist/{composed-stable-id-C3J6LxC9.js → composed-stable-id-BtaMj_W7.js} +4 -0
  19. package/dist/{composed-stable-id-DLcPInGv.mjs → composed-stable-id-jnvhwGoH.mjs} +4 -0
  20. package/dist/device/device-binding.d.ts +6 -0
  21. package/dist/device/device-feature-requirements.d.ts +137 -0
  22. package/dist/device/device-type.d.ts +5 -1
  23. package/dist/device/implemented-methods.d.ts +6 -0
  24. package/dist/expression/device-template.d.ts +31 -1
  25. package/dist/generated/addon-api.d.ts +7 -7
  26. package/dist/generated/collection-array-methods.d.ts +1 -1
  27. package/dist/generated/device-proxy.d.ts +1 -1
  28. package/dist/generated/method-access-map.d.ts +1 -1
  29. package/dist/{composition-BcVAbtBc.js → implemented-methods-C_iV6BiP.js} +17 -1
  30. package/dist/{composition-BFJq1Y88.mjs → implemented-methods-OitwyO1Y.mjs} +12 -2
  31. package/dist/index.d.ts +6 -2
  32. package/dist/index.js +728 -426
  33. package/dist/index.mjs +471 -185
  34. package/dist/interfaces/addon.d.ts +7 -0
  35. package/dist/interfaces/event-bus.d.ts +2 -0
  36. package/dist/migrations/api/migration-api.v1.d.ts +11 -0
  37. package/dist/migrations/api/migration-api.v1.schema.d.ts +25 -0
  38. package/dist/node.d.ts +1 -0
  39. package/dist/node.js +26 -25
  40. package/dist/node.mjs +3 -3
  41. package/dist/notification/notification-fields.d.ts +51 -0
  42. package/dist/{sleep-DgCXXFc3.js → sleep-DPMn-Sik.js} +2 -2
  43. package/dist/{sleep-VrfKAAGN.mjs → sleep-Dz1P6--1.mjs} +2 -2
  44. 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,
@@ -42082,14 +42110,14 @@ var climateControlCapability = {
42082
42110
  kind: "mutation",
42083
42111
  auth: "protected"
42084
42112
  }),
42085
- setFanMode: require_sleep.method(zod.z.object({
42113
+ setFanMode: require_sleep.optionalMethod(zod.z.object({
42086
42114
  deviceId: zod.z.number().int().nonnegative(),
42087
42115
  fanMode: zod.z.string().min(1)
42088
42116
  }), zod.z.void(), {
42089
42117
  kind: "mutation",
42090
42118
  auth: "protected"
42091
42119
  }),
42092
- setPreset: require_sleep.method(zod.z.object({
42120
+ setPreset: require_sleep.optionalMethod(zod.z.object({
42093
42121
  deviceId: zod.z.number().int().nonnegative(),
42094
42122
  preset: zod.z.string().min(1)
42095
42123
  }), zod.z.void(), {
@@ -42103,7 +42131,7 @@ var climateControlCapability = {
42103
42131
  kind: "mutation",
42104
42132
  auth: "protected"
42105
42133
  }),
42106
- setTargetRange: require_sleep.method(zod.z.object({
42134
+ setTargetRange: require_sleep.optionalMethod(zod.z.object({
42107
42135
  deviceId: zod.z.number().int().nonnegative(),
42108
42136
  targetLow: zod.z.number(),
42109
42137
  targetHigh: zod.z.number()
@@ -42111,21 +42139,21 @@ var climateControlCapability = {
42111
42139
  kind: "mutation",
42112
42140
  auth: "protected"
42113
42141
  }),
42114
- setTargetHumidity: require_sleep.method(zod.z.object({
42142
+ setTargetHumidity: require_sleep.optionalMethod(zod.z.object({
42115
42143
  deviceId: zod.z.number().int().nonnegative(),
42116
42144
  targetHumidity: zod.z.number().min(0).max(100)
42117
42145
  }), zod.z.void(), {
42118
42146
  kind: "mutation",
42119
42147
  auth: "protected"
42120
42148
  }),
42121
- setSwingVertical: require_sleep.method(zod.z.object({
42149
+ setSwingVertical: require_sleep.optionalMethod(zod.z.object({
42122
42150
  deviceId: zod.z.number().int().nonnegative(),
42123
42151
  on: zod.z.boolean()
42124
42152
  }), zod.z.void(), {
42125
42153
  kind: "mutation",
42126
42154
  auth: "protected"
42127
42155
  }),
42128
- setSwingHorizontal: require_sleep.method(zod.z.object({
42156
+ setSwingHorizontal: require_sleep.optionalMethod(zod.z.object({
42129
42157
  deviceId: zod.z.number().int().nonnegative(),
42130
42158
  on: zod.z.boolean()
42131
42159
  }), zod.z.void(), {
@@ -42541,12 +42569,12 @@ var CompositionFieldPlanSchema = zod.z.object({
42541
42569
  required: zod.z.boolean(),
42542
42570
  unavailable: CompositionUnavailableModeSchema,
42543
42571
  role: CompositionFieldRoleSchema,
42544
- source: require_composition.CompositionFieldSourceSchema,
42545
- reads: zod.z.array(require_composition.CompositionFieldReadSchema)
42572
+ source: require_implemented_methods.CompositionFieldSourceSchema,
42573
+ reads: zod.z.array(require_implemented_methods.CompositionFieldReadSchema)
42546
42574
  });
42547
42575
  /** The key every record map, log line and graph node uses for a planned field. Two items' `status` are two keys. */
42548
42576
  function compositionFieldKey(plan) {
42549
- 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);
42550
42578
  return `${plan.cap}.${path}`;
42551
42579
  }
42552
42580
  /**
@@ -42624,13 +42652,13 @@ var CompositionBlockStateSchema = zod.z.object({
42624
42652
  * and reads their state for the API. Nothing else talks to it.
42625
42653
  */
42626
42654
  /** The composer's runner id, `resolveRunnerId(decl, 'composer')`; pinned by `composer-manifest.spec.ts`. */
42627
- var COMPOSER_RUNNER_ID = require_composition.COMPOSER_ADDON_ID;
42655
+ var COMPOSER_RUNNER_ID = require_implemented_methods.COMPOSER_ADDON_ID;
42628
42656
  var ComposerBlockSchema = zod.z.object({
42629
42657
  id: zod.z.string().min(1),
42630
42658
  name: zod.z.string().min(1).max(120),
42631
42659
  enabled: zod.z.boolean(),
42632
42660
  updatedAt: zod.z.number(),
42633
- composition: require_composition.CompositionSchema
42661
+ composition: require_implemented_methods.CompositionSchema
42634
42662
  });
42635
42663
  /**
42636
42664
  * A stored composition row that no longer PARSES — a schema a release
@@ -43657,27 +43685,27 @@ var mediaPlayerCapability = {
43657
43685
  mode: "singleton",
43658
43686
  deviceTypes: [require_composed_stable_id.DeviceType.MediaPlayer],
43659
43687
  methods: {
43660
- turnOn: require_sleep.method(deviceOnly, zod.z.void(), {
43688
+ turnOn: require_sleep.optionalMethod(deviceOnly, zod.z.void(), {
43661
43689
  kind: "mutation",
43662
43690
  auth: "protected"
43663
43691
  }),
43664
- turnOff: require_sleep.method(deviceOnly, zod.z.void(), {
43692
+ turnOff: require_sleep.optionalMethod(deviceOnly, zod.z.void(), {
43665
43693
  kind: "mutation",
43666
43694
  auth: "protected"
43667
43695
  }),
43668
- volumeUp: require_sleep.method(stepInput, zod.z.void(), {
43696
+ volumeUp: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43669
43697
  kind: "mutation",
43670
43698
  auth: "protected"
43671
43699
  }),
43672
- volumeDown: require_sleep.method(stepInput, zod.z.void(), {
43700
+ volumeDown: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43673
43701
  kind: "mutation",
43674
43702
  auth: "protected"
43675
43703
  }),
43676
- channelUp: require_sleep.method(stepInput, zod.z.void(), {
43704
+ channelUp: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43677
43705
  kind: "mutation",
43678
43706
  auth: "protected"
43679
43707
  }),
43680
- channelDown: require_sleep.method(stepInput, zod.z.void(), {
43708
+ channelDown: require_sleep.optionalMethod(stepInput, zod.z.void(), {
43681
43709
  kind: "mutation",
43682
43710
  auth: "protected"
43683
43711
  }),
@@ -43689,61 +43717,61 @@ var mediaPlayerCapability = {
43689
43717
  kind: "mutation",
43690
43718
  auth: "protected"
43691
43719
  }),
43692
- 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(), {
43693
43721
  kind: "mutation",
43694
43722
  auth: "protected"
43695
43723
  }),
43696
- 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(), {
43697
43725
  kind: "mutation",
43698
43726
  auth: "protected"
43699
43727
  }),
43700
- 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(), {
43701
43729
  kind: "mutation",
43702
43730
  auth: "protected"
43703
43731
  }),
43704
- seek: require_sleep.method(zod.z.object({
43732
+ seek: require_sleep.optionalMethod(zod.z.object({
43705
43733
  deviceId: zod.z.number().int().nonnegative(),
43706
43734
  position: zod.z.number().int().nonnegative()
43707
43735
  }), zod.z.void(), {
43708
43736
  kind: "mutation",
43709
43737
  auth: "protected"
43710
43738
  }),
43711
- setVolume: require_sleep.method(zod.z.object({
43739
+ setVolume: require_sleep.optionalMethod(zod.z.object({
43712
43740
  deviceId: zod.z.number().int().nonnegative(),
43713
43741
  volumeLevel: zod.z.number().min(0).max(100)
43714
43742
  }), zod.z.void(), {
43715
43743
  kind: "mutation",
43716
43744
  auth: "protected"
43717
43745
  }),
43718
- setMute: require_sleep.method(zod.z.object({
43746
+ setMute: require_sleep.optionalMethod(zod.z.object({
43719
43747
  deviceId: zod.z.number().int().nonnegative(),
43720
43748
  muted: zod.z.boolean()
43721
43749
  }), zod.z.void(), {
43722
43750
  kind: "mutation",
43723
43751
  auth: "protected"
43724
43752
  }),
43725
- setShuffle: require_sleep.method(zod.z.object({
43753
+ setShuffle: require_sleep.optionalMethod(zod.z.object({
43726
43754
  deviceId: zod.z.number().int().nonnegative(),
43727
43755
  shuffle: zod.z.boolean()
43728
43756
  }), zod.z.void(), {
43729
43757
  kind: "mutation",
43730
43758
  auth: "protected"
43731
43759
  }),
43732
- setRepeat: require_sleep.method(zod.z.object({
43760
+ setRepeat: require_sleep.optionalMethod(zod.z.object({
43733
43761
  deviceId: zod.z.number().int().nonnegative(),
43734
43762
  repeat: MediaPlayerRepeatSchema
43735
43763
  }), zod.z.void(), {
43736
43764
  kind: "mutation",
43737
43765
  auth: "protected"
43738
43766
  }),
43739
- selectSource: require_sleep.method(zod.z.object({
43767
+ selectSource: require_sleep.optionalMethod(zod.z.object({
43740
43768
  deviceId: zod.z.number().int().nonnegative(),
43741
43769
  source: zod.z.string().min(1)
43742
43770
  }), zod.z.void(), {
43743
43771
  kind: "mutation",
43744
43772
  auth: "protected"
43745
43773
  }),
43746
- playMedia: require_sleep.method(zod.z.object({
43774
+ playMedia: require_sleep.optionalMethod(zod.z.object({
43747
43775
  deviceId: zod.z.number().int().nonnegative(),
43748
43776
  /** Media identifier / URL. */
43749
43777
  mediaId: zod.z.string().min(1),
@@ -44564,7 +44592,7 @@ function arityRange(builtin) {
44564
44592
  return `${builtin.minArgs}–${builtin.maxArgs}`;
44565
44593
  }
44566
44594
  function callKinds(callee, args) {
44567
- const builtin = require_composition.EXPRESSION_BUILTINS[callee];
44595
+ const builtin = require_implemented_methods.EXPRESSION_BUILTINS[callee];
44568
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)}`);
44569
44597
  const rule = BUILTIN_RESULT_KINDS[callee];
44570
44598
  if (rule === void 0) throw new KindInferenceError(`no result-kind rule for builtin '${callee}'`);
@@ -44600,11 +44628,11 @@ function nodeContainsCall(node, callee) {
44600
44628
  }
44601
44629
  }
44602
44630
  function expressionContainsBuiltinCall(expr, callee) {
44603
- const compiled = require_composition.compileExpressionSafe(expr);
44631
+ const compiled = require_implemented_methods.compileExpressionSafe(expr);
44604
44632
  return compiled.ok && nodeContainsCall(compiled.parsed.ast, callee);
44605
44633
  }
44606
44634
  function inferExpressionKinds(input) {
44607
- const compiled = require_composition.compileExpressionSafe(input.expr);
44635
+ const compiled = require_implemented_methods.compileExpressionSafe(input.expr);
44608
44636
  if (!compiled.ok) return {
44609
44637
  ok: false,
44610
44638
  error: compiled.error
@@ -44739,7 +44767,7 @@ function compatibility(cap, target, kinds, at) {
44739
44767
  */
44740
44768
  function literalStringValue(source) {
44741
44769
  if (source.kind !== "expression") return null;
44742
- const compiled = require_composition.compileExpressionSafe(source.expr);
44770
+ const compiled = require_implemented_methods.compileExpressionSafe(source.expr);
44743
44771
  if (!compiled.ok) return null;
44744
44772
  const ast = compiled.parsed.ast;
44745
44773
  return ast.kind === "literal" && typeof ast.value === "string" ? ast.value : null;
@@ -44760,8 +44788,8 @@ function enumLiteralProblem(cap, target, source, at) {
44760
44788
  function roleOf(source) {
44761
44789
  if (source.kind !== "expression") return "derived";
44762
44790
  if (expressionContainsBuiltinCall(source.expr, "count")) return "accumulator";
44763
- if (require_composition.fieldReads(source).length > 0) return "derived";
44764
- 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);
44765
44793
  return compiled.ok && compiled.parsed.identifiers.has("now") ? "clock" : "constant";
44766
44794
  }
44767
44795
  /**
@@ -44851,7 +44879,7 @@ function planItemField(ctx, leaf) {
44851
44879
  unavailable: unavailable.unavailable,
44852
44880
  role,
44853
44881
  source,
44854
- reads: [...require_composition.fieldReads(source)]
44882
+ reads: [...require_implemented_methods.fieldReads(source)]
44855
44883
  };
44856
44884
  const enumProblem = enumLiteralProblem(capName, tf, source, at);
44857
44885
  return {
@@ -44865,7 +44893,7 @@ function planItems(def, feature, featureIndex, lookupCap, mode = "new") {
44865
44893
  const at = `features[${featureIndex}].items`;
44866
44894
  const itemArray = def.status?.itemArray;
44867
44895
  if (itemArray === void 0) return refused(problem("not-item-array", at, `\`${def.name}\` has no item array — it takes no \`items\``));
44868
- 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`));
44869
44897
  const ctx = {
44870
44898
  capName: def.name,
44871
44899
  itemArray,
@@ -44927,8 +44955,8 @@ function featureForwards(feature, featureIndex) {
44927
44955
  }
44928
44956
  /** Every source a forward of an enabled feature calls, once. */
44929
44957
  function forwardSourceRefs(composition) {
44930
- const refs = composition.features.flatMap((feature, index) => feature.kind === "fields" && require_composition.compositionFeatureEnabled(feature) ? featureForwards(feature, index).map((forward) => forward.command.source) : []);
44931
- 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()];
44932
44960
  }
44933
44961
  /** The methods a BUILT cap must give a command: served, and not answered by the composer itself. */
44934
44962
  function commandedMethods(def) {
@@ -44963,7 +44991,7 @@ function inputFields(def, method) {
44963
44991
  }
44964
44992
  function inputRefs(arg) {
44965
44993
  if (typeof arg !== "object") return [];
44966
- if (require_composition.isForwardInputRef(arg)) return [arg.$input];
44994
+ if (require_implemented_methods.isForwardInputRef(arg)) return [arg.$input];
44967
44995
  return Object.values(arg).flatMap(inputRefs);
44968
44996
  }
44969
44997
  function names(list) {
@@ -45043,9 +45071,9 @@ function commandMethodProblems(built, feature, at) {
45043
45071
  */
45044
45072
  function forwardSourceProblems(composition, sources) {
45045
45073
  return composition.features.flatMap((feature, index) => {
45046
- if (feature.kind !== "fields" || !require_composition.compositionFeatureEnabled(feature)) return [];
45074
+ if (feature.kind !== "fields" || !require_implemented_methods.compositionFeatureEnabled(feature)) return [];
45047
45075
  return featureForwards(feature, index).flatMap((forward) => {
45048
- const key = require_composition.compositionSourceKey(forward.command.source);
45076
+ const key = require_implemented_methods.compositionSourceKey(forward.command.source);
45049
45077
  const desc = sources.get(key);
45050
45078
  const at = `${forward.at}.source`;
45051
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`)];
@@ -45080,7 +45108,7 @@ function numeric(input) {
45080
45108
  activeWhen: void 0,
45081
45109
  commandCaps: [],
45082
45110
  baseUnit: require_sleep.baseUnitOf(input.quantity),
45083
- aggregates: require_composition.NUMERIC_AGGREGATES,
45111
+ aggregates: require_implemented_methods.NUMERIC_AGGREGATES,
45084
45112
  accept: [{
45085
45113
  cap: input.outputCap,
45086
45114
  fieldPath: input.outputField
@@ -45099,7 +45127,7 @@ function binary(input) {
45099
45127
  commandCaps: [],
45100
45128
  quantity: "none",
45101
45129
  baseUnit: void 0,
45102
- aggregates: require_composition.BINARY_AGGREGATES,
45130
+ aggregates: require_implemented_methods.BINARY_AGGREGATES,
45103
45131
  empty: "offline"
45104
45132
  };
45105
45133
  }
@@ -45443,7 +45471,7 @@ function actuator(input) {
45443
45471
  activeWhen: input.activeWhen,
45444
45472
  quantity: "none",
45445
45473
  baseUnit: void 0,
45446
- aggregates: require_composition.BINARY_AGGREGATES,
45474
+ aggregates: require_implemented_methods.BINARY_AGGREGATES,
45447
45475
  defaultAggregate: "any",
45448
45476
  empty: "offline",
45449
45477
  accept: [input.member],
@@ -46142,12 +46170,12 @@ function draft(input) {
46142
46170
  }]
46143
46171
  };
46144
46172
  }
46145
- function statisticDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46173
+ function statisticDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46146
46174
  const problems = [...historyProblems(spec.source)];
46147
46175
  const kind = declaredSeriesKind(spec.source);
46148
46176
  if (kind === "enum") problems.push(problem("kind-mismatch", "helper.source", "a statistic reads a number or a boolean, not a state"));
46149
46177
  if (spec.stat === "sum" && kind !== "counter") problems.push(problem("kind-mismatch", "helper.stat", "a gauge has no sum — that is the integral template"));
46150
- const tier = require_composition.planStatisticTier(spec.window, retention);
46178
+ const tier = require_implemented_methods.planStatisticTier(spec.window, retention);
46151
46179
  if (!tier.ok) problems.push(problem("retention", "helper.window", tier.reason));
46152
46180
  return {
46153
46181
  problems,
@@ -46166,11 +46194,11 @@ function statisticDraft(spec, retention = require_composition.DEFAULT_HISTORY_RE
46166
46194
  * minute or hour. The output is a plain number: a rate of a temperature is not
46167
46195
  * a temperature, so the chart carries no inherited unit.
46168
46196
  */
46169
- function derivativeDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46197
+ function derivativeDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46170
46198
  const problems = [...historyProblems(spec.source)];
46171
46199
  const kind = declaredSeriesKind(spec.source);
46172
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"));
46173
- const tier = require_composition.planStatisticTier(spec.window, retention);
46201
+ const tier = require_implemented_methods.planStatisticTier(spec.window, retention);
46174
46202
  if (!tier.ok) problems.push(problem("retention", "helper.window", tier.reason));
46175
46203
  return {
46176
46204
  problems,
@@ -46184,14 +46212,14 @@ function derivativeDraft(spec, retention = require_composition.DEFAULT_HISTORY_R
46184
46212
  })
46185
46213
  };
46186
46214
  }
46187
- function integralDraft(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46215
+ function integralDraft(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46188
46216
  const problems = [...historyProblems(spec.source)];
46189
46217
  const kind = declaredSeriesKind(spec.source);
46190
46218
  const isPower = spec.source.cap === "power-meter" && spec.source.fieldPath === "power";
46191
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"));
46192
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"));
46193
46221
  if (spec.output === "meter" && isPower) problems.push(problem("kind-mismatch", "helper.output", "power integrates to power-meter.energy, which energy dashboards already read"));
46194
- const tier = require_composition.planResetTier(spec.reset, retention);
46222
+ const tier = require_implemented_methods.planResetTier(spec.reset, retention);
46195
46223
  if (!tier.ok) problems.push(problem("retention", "helper.reset", tier.reason));
46196
46224
  const energy = spec.output === "energy";
46197
46225
  return {
@@ -46459,7 +46487,7 @@ function expressionProblems(spec) {
46459
46487
  });
46460
46488
  if (problems.length > 0) return problems;
46461
46489
  const bindings = Object.fromEntries(spec.inputs.map((input) => [input.name, from$2(input.member)]));
46462
- const message = require_composition.validateExpressionSource({
46490
+ const message = require_implemented_methods.validateExpressionSource({
46463
46491
  expr: spec.expr,
46464
46492
  bindings
46465
46493
  });
@@ -46550,7 +46578,7 @@ function criterionProblems(template, spec) {
46550
46578
  return [];
46551
46579
  }
46552
46580
  function parseDraft(draft) {
46553
- const parsed = require_composition.CompositionSchema.safeParse(draft);
46581
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(draft);
46554
46582
  if (parsed.success) return {
46555
46583
  ok: true,
46556
46584
  composition: parsed.data
@@ -46568,7 +46596,7 @@ function expressionSource(expr, bindings = {}) {
46568
46596
  };
46569
46597
  }
46570
46598
  /** Compile a helper template to a new-device composition. Refusals are named. */
46571
- function compileHelper(spec, retention = require_composition.DEFAULT_HISTORY_RETENTION) {
46599
+ function compileHelper(spec, retention = require_implemented_methods.DEFAULT_HISTORY_RETENTION) {
46572
46600
  switch (spec.kind) {
46573
46601
  case "group": return compileGroup(spec);
46574
46602
  case "statistic": {
@@ -46647,7 +46675,7 @@ function quantityProblems(spec, facts) {
46647
46675
  const template = groupTemplate(spec.templateId);
46648
46676
  if (template === null || template.family !== "numeric") return [];
46649
46677
  const known = spec.members.flatMap((member, index) => {
46650
- const quantity = facts.get(require_composition.compositionSourceKey(member.source))?.quantity;
46678
+ const quantity = facts.get(require_implemented_methods.compositionSourceKey(member.source))?.quantity;
46651
46679
  return quantity === void 0 ? [] : [{
46652
46680
  index,
46653
46681
  quantity
@@ -46663,7 +46691,7 @@ function deviceTypeProblems(spec, facts) {
46663
46691
  const template = groupTemplate(spec.templateId);
46664
46692
  if (template === null) return [];
46665
46693
  return spec.members.flatMap((member, index) => {
46666
- const deviceType = facts.get(require_composition.compositionSourceKey(member.source))?.deviceType;
46694
+ const deviceType = facts.get(require_implemented_methods.compositionSourceKey(member.source))?.deviceType;
46667
46695
  if (deviceType === void 0 || template.memberDeviceTypes.includes(deviceType)) return [];
46668
46696
  return [problem("member-constraint", `helper.members[${index}]`, `a ${template.id} group takes ${template.memberDeviceTypes.join(" or ")} devices; this member is a ${deviceType}`)];
46669
46697
  });
@@ -46690,7 +46718,7 @@ function helperSaveProblems(composition, facts) {
46690
46718
  */
46691
46719
  function arithmeticQuantityProblems(spec, facts) {
46692
46720
  const known = spec.inputs.flatMap((input) => {
46693
- const quantity = facts.get(require_composition.compositionSourceKey(input.source))?.quantity;
46721
+ const quantity = facts.get(require_implemented_methods.compositionSourceKey(input.source))?.quantity;
46694
46722
  return quantity === void 0 ? [] : [quantity];
46695
46723
  });
46696
46724
  const distinct = [...new Set(known)];
@@ -46737,21 +46765,21 @@ function arithmeticQuantityProblems(spec, facts) {
46737
46765
  var CompositionGraphError = class extends Error {};
46738
46766
  /** `"cap.field"` of every field a peer writes — the same spelling as `compositionFieldKey`. */
46739
46767
  function writtenFields(peer) {
46740
- 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}`)));
46741
46769
  }
46742
46770
  /** A read of the peer's OWN device is an edge only when it reads the peer's own output (rule 5, D663). */
46743
46771
  function readsComposedValue(peer, written, read) {
46744
- 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;
46745
46773
  const field = `${read.cap}.${read.fieldPath}`;
46746
46774
  return written.has(field) && peer.replaced?.has(field) !== true;
46747
46775
  }
46748
46776
  function peerEdges(peer) {
46749
46777
  const written = writtenFields(peer);
46750
- 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({
46751
46779
  source: peer.target,
46752
46780
  cap: feature.cap,
46753
46781
  fieldPath
46754
- }), 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)]));
46755
46783
  }
46756
46784
  /**
46757
46785
  * Every peer that actually takes part in the graph: each stored peer minus the
@@ -46761,11 +46789,11 @@ function peerEdges(peer) {
46761
46789
  * block targets the candidate's device, or two stored peers share a device.
46762
46790
  */
46763
46791
  function resolvedPeers(candidate, stored) {
46764
- const candidateKey = require_composition.compositionSourceKey(candidate.target);
46792
+ const candidateKey = require_implemented_methods.compositionSourceKey(candidate.target);
46765
46793
  const survivors = /* @__PURE__ */ new Map();
46766
46794
  for (const peer of stored) {
46767
46795
  if (peer.blockId === candidate.blockId) continue;
46768
- const key = require_composition.compositionSourceKey(peer.target);
46796
+ const key = require_implemented_methods.compositionSourceKey(peer.target);
46769
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`);
46770
46798
  const clash = survivors.get(key);
46771
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`);
@@ -46859,7 +46887,7 @@ function cycleThrough(start, component, edges) {
46859
46887
  */
46860
46888
  function findCandidateCycles(candidate, stored) {
46861
46889
  const edges = compositionEdges(candidate, stored);
46862
- const prefix = `${require_composition.compositionSourceKey(candidate.target)}#`;
46890
+ const prefix = `${require_implemented_methods.compositionSourceKey(candidate.target)}#`;
46863
46891
  return stronglyConnected(edges).flatMap((members) => {
46864
46892
  const start = members.find((n) => n.startsWith(prefix));
46865
46893
  if (start === void 0) return [];
@@ -46881,7 +46909,7 @@ function buildCapabilityLookup(defs) {
46881
46909
  /** Caps every `BaseDevice` registers on itself; a second registration throws. */
46882
46910
  var BASE_DEVICE_CAPS = new Set(["device-status", "feature-probe"]);
46883
46911
  var PENDING_SELF = {
46884
- addonId: require_composition.COMPOSER_ADDON_ID,
46912
+ addonId: require_implemented_methods.COMPOSER_ADDON_ID,
46885
46913
  stableId: `${require_composed_stable_id.COMPOSED_DEVICE_STABLE_ID_PREFIX}(unsaved)`
46886
46914
  };
46887
46915
  /** The candidate's block id before its first save. Stored block ids are `randomUUID()`, so none can carry it. */
@@ -46956,7 +46984,7 @@ function planTopLevelField({ def, fields }, field, mode, lookupCap) {
46956
46984
  unavailable: omitEmpty ? "omit" : unavailable.unavailable,
46957
46985
  role,
46958
46986
  source,
46959
- reads: [...require_composition.fieldReads(source)]
46987
+ reads: [...require_implemented_methods.fieldReads(source)]
46960
46988
  };
46961
46989
  const enumProblem = enumLiteralProblem(def.name, tf, source, fieldAt);
46962
46990
  return {
@@ -47029,7 +47057,7 @@ function planTargetOf(composition, target) {
47029
47057
  kind: "new",
47030
47058
  type: composition.target.type
47031
47059
  };
47032
- const key = require_composition.compositionSourceKey(composition.target.device);
47060
+ const key = require_implemented_methods.compositionSourceKey(composition.target.device);
47033
47061
  if (target === void 0) return problem("target-unreadable", "target", `target device \`${key}\` was not read — the save is refused rather than stored unchecked`);
47034
47062
  if (target.kind === "absent") return problem("target-missing", "target", `target device \`${key}\` does not exist`);
47035
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`);
@@ -47102,7 +47130,7 @@ function planComposition(composition, lookupCap, target) {
47102
47130
  if (feature.kind === "passthrough") return refused(problem("reserved-variant", at, `whole-capability passthrough of \`${feature.cap}\` arrives in slice 3`));
47103
47131
  const featureTarget = featureTargetOf(planTarget, feature, at);
47104
47132
  if (isPlanProblem(featureTarget)) {
47105
- if (!require_composition.compositionFeatureEnabled(feature) || planTarget.kind !== "existing") return {
47133
+ if (!require_implemented_methods.compositionFeatureEnabled(feature) || planTarget.kind !== "existing") return {
47106
47134
  problems: [],
47107
47135
  fields: [],
47108
47136
  features: [],
@@ -47114,7 +47142,7 @@ function planComposition(composition, lookupCap, target) {
47114
47142
  }, lookupCap, servedCommands));
47115
47143
  }
47116
47144
  const result = planFeature(feature, index, featureTarget, lookupCap, servedCommands);
47117
- if (require_composition.compositionFeatureEnabled(feature)) return result;
47145
+ if (require_implemented_methods.compositionFeatureEnabled(feature)) return result;
47118
47146
  return {
47119
47147
  problems: Object.keys(feature.fields).length === 0 ? result.problems.filter((p) => p.code !== "missing-field") : result.problems,
47120
47148
  fields: [],
@@ -47130,8 +47158,8 @@ function planComposition(composition, lookupCap, target) {
47130
47158
  };
47131
47159
  }
47132
47160
  function compositionSourceRefs(composition) {
47133
- 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) : []);
47134
- 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()];
47135
47163
  }
47136
47164
  /**
47137
47165
  * The candidate's device: the existing target itself, else `self`, else a
@@ -47168,10 +47196,10 @@ function selfReadProblems(read, at, fields, self) {
47168
47196
  return [problem("source-capability-missing", at, `the target device (device ${self.native.deviceId}) has no native \`${read.cap}\``)];
47169
47197
  }
47170
47198
  function sourceProblems(fields, ctx, self) {
47171
- const selfKey = require_composition.compositionSourceKey(self.ref);
47199
+ const selfKey = require_implemented_methods.compositionSourceKey(self.ref);
47172
47200
  return fields.flatMap((field) => field.reads.flatMap((read) => {
47173
47201
  const at = compositionFieldAt(field);
47174
- const key = require_composition.compositionSourceKey(read.source);
47202
+ const key = require_implemented_methods.compositionSourceKey(read.source);
47175
47203
  if (key === selfKey) return selfReadProblems(read, at, fields, self);
47176
47204
  const desc = ctx.sources.get(key);
47177
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`)];
@@ -47239,7 +47267,7 @@ function cycleProblems(composition, ctx, fields, self) {
47239
47267
  composition,
47240
47268
  replaced: self.replaced
47241
47269
  };
47242
- const candidateKey = require_composition.compositionSourceKey(candidate.target);
47270
+ const candidateKey = require_implemented_methods.compositionSourceKey(candidate.target);
47243
47271
  const unread = ctx.unreadTargets ?? /* @__PURE__ */ new Map();
47244
47272
  try {
47245
47273
  return findCandidateCycles(candidate, ctx.peers).map((c) => {
@@ -47740,7 +47768,7 @@ var CoreBlockSourceSchema = zod.z.discriminatedUnion("kind", [
47740
47768
  }),
47741
47769
  zod.z.object({
47742
47770
  kind: zod.z.literal("composition"),
47743
- composition: require_composition.CompositionSchema
47771
+ composition: require_implemented_methods.CompositionSchema
47744
47772
  })
47745
47773
  ]);
47746
47774
  /**
@@ -47754,7 +47782,7 @@ var CoreBlockSourceSchema = zod.z.discriminatedUnion("kind", [
47754
47782
  var CompositionBlockInputSchema = zod.z.object({
47755
47783
  name: zod.z.string().min(1).max(120).optional(),
47756
47784
  enabled: zod.z.boolean(),
47757
- composition: require_composition.CompositionSchema
47785
+ composition: require_implemented_methods.CompositionSchema
47758
47786
  });
47759
47787
  /** A stored block. `code` is always present after normalize (derived from files). */
47760
47788
  var CoreBlockSchema = zod.z.object({
@@ -48011,7 +48039,7 @@ var coreBlocksCapability = {
48011
48039
  * for its body size; it writes nothing, so its access is `view`.
48012
48040
  */
48013
48041
  validateComposition: require_sleep.method(zod.z.object({
48014
- composition: require_composition.CompositionSchema,
48042
+ composition: require_implemented_methods.CompositionSchema,
48015
48043
  blockId: zod.z.string().optional()
48016
48044
  }), CompositionValidationSchema, {
48017
48045
  kind: "mutation",
@@ -48114,18 +48142,18 @@ var coverCapability = {
48114
48142
  kind: "mutation",
48115
48143
  auth: "protected"
48116
48144
  }),
48117
- 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(), {
48118
48146
  kind: "mutation",
48119
48147
  auth: "protected"
48120
48148
  }),
48121
- setPosition: require_sleep.method(zod.z.object({
48149
+ setPosition: require_sleep.optionalMethod(zod.z.object({
48122
48150
  deviceId: zod.z.number().int().nonnegative(),
48123
48151
  position: zod.z.number().min(0).max(100)
48124
48152
  }), zod.z.void(), {
48125
48153
  kind: "mutation",
48126
48154
  auth: "protected"
48127
48155
  }),
48128
- setTiltPosition: require_sleep.method(zod.z.object({
48156
+ setTiltPosition: require_sleep.optionalMethod(zod.z.object({
48129
48157
  deviceId: zod.z.number().int().nonnegative(),
48130
48158
  tiltPosition: zod.z.number().min(0).max(100)
48131
48159
  }), zod.z.void(), {
@@ -49591,7 +49619,8 @@ var RESERVED_ALIASES = new Set([
49591
49619
  "extends",
49592
49620
  "block",
49593
49621
  "macro",
49594
- "now"
49622
+ "now",
49623
+ "camera"
49595
49624
  ]);
49596
49625
  var DeviceAliasSchema = zod.z.string().max(64).regex(DEVICE_ALIAS_PATTERN);
49597
49626
  function isReservedDeviceAlias(alias) {
@@ -49667,10 +49696,41 @@ var DEVICE_TEMPLATE_MAX_OUTPUT = 4096;
49667
49696
  /** What an unknown or unavailable value renders as. */
49668
49697
  var DEVICE_TEMPLATE_UNAVAILABLE = "—";
49669
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";
49670
49728
  /** The filters a template may use. Anything else is refused at parse time. */
49671
49729
  var DEVICE_TEMPLATE_FILTERS = [
49672
49730
  "unit",
49673
49731
  "round",
49732
+ "trunc",
49733
+ "onoff",
49674
49734
  "default",
49675
49735
  "since",
49676
49736
  "ago",
@@ -49694,7 +49754,8 @@ var DEVICE_TEMPLATE_FILTERS = [
49694
49754
  "sum",
49695
49755
  "string",
49696
49756
  "list",
49697
- "truncate"
49757
+ "truncate",
49758
+ "time"
49698
49759
  ];
49699
49760
  var DEVICE_TEMPLATE_REFUSAL_REASONS = [
49700
49761
  "too-long",
@@ -50434,7 +50495,9 @@ var DeviceBindingsForDeviceSchema = zod.z.object({
50434
50495
  kind: zod.z.enum(["native", "wrapped"]),
50435
50496
  providerAddonId: zod.z.string(),
50436
50497
  providerNodeId: zod.z.string(),
50437
- 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()
50438
50501
  }))
50439
50502
  });
50440
50503
  /**
@@ -50752,7 +50815,9 @@ var deviceManagerCapability = {
50752
50815
  */
50753
50816
  renderDeviceTemplates: require_sleep.method(zod.z.object({
50754
50817
  templates: zod.z.array(DeviceTemplateSchema).max(64),
50755
- 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()
50756
50821
  }), zod.z.object({ results: zod.z.array(DeviceTemplateRenderSchema) }), { auth: "admin" }),
50757
50822
  /**
50758
50823
  * Vet templates without rendering them: the syntax refusal, or the devices
@@ -50761,14 +50826,19 @@ var deviceManagerCapability = {
50761
50826
  */
50762
50827
  checkDeviceTemplates: require_sleep.method(zod.z.object({
50763
50828
  templates: zod.z.array(zod.z.string()).max(64),
50764
- allowedDeviceIds: zod.z.array(zod.z.number().int()).optional()
50829
+ allowedDeviceIds: zod.z.array(zod.z.number().int()).optional(),
50830
+ thisDevice: DeviceTemplateThisDeviceSchema.optional()
50765
50831
  }), zod.z.object({ results: zod.z.array(zod.z.discriminatedUnion("ok", [zod.z.object({
50766
50832
  ok: zod.z.literal(true),
50767
50833
  aliases: zod.z.array(zod.z.object({
50768
50834
  alias: zod.z.string(),
50769
50835
  deviceId: zod.z.number().int().nullable(),
50770
- allowed: zod.z.boolean()
50771
- }))
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()
50772
50842
  }), zod.z.object({
50773
50843
  ok: zod.z.literal(false),
50774
50844
  refusal: DeviceTemplateRefusalSchema
@@ -54934,28 +55004,28 @@ var fanControlCapability = {
54934
55004
  mode: "singleton",
54935
55005
  deviceTypes: [require_composed_stable_id.DeviceType.Fan],
54936
55006
  methods: {
54937
- setPercentage: require_sleep.method(zod.z.object({
55007
+ setPercentage: require_sleep.optionalMethod(zod.z.object({
54938
55008
  deviceId: zod.z.number().int().nonnegative(),
54939
55009
  speed: zod.z.number().min(0).max(100)
54940
55010
  }), zod.z.void(), {
54941
55011
  kind: "mutation",
54942
55012
  auth: "protected"
54943
55013
  }),
54944
- setPreset: require_sleep.method(zod.z.object({
55014
+ setPreset: require_sleep.optionalMethod(zod.z.object({
54945
55015
  deviceId: zod.z.number().int().nonnegative(),
54946
55016
  preset: zod.z.string().min(1)
54947
55017
  }), zod.z.void(), {
54948
55018
  kind: "mutation",
54949
55019
  auth: "protected"
54950
55020
  }),
54951
- setDirection: require_sleep.method(zod.z.object({
55021
+ setDirection: require_sleep.optionalMethod(zod.z.object({
54952
55022
  deviceId: zod.z.number().int().nonnegative(),
54953
55023
  direction: FanDirectionSchema
54954
55024
  }), zod.z.void(), {
54955
55025
  kind: "mutation",
54956
55026
  auth: "protected"
54957
55027
  }),
54958
- setOscillating: require_sleep.method(zod.z.object({
55028
+ setOscillating: require_sleep.optionalMethod(zod.z.object({
54959
55029
  deviceId: zod.z.number().int().nonnegative(),
54960
55030
  oscillating: zod.z.boolean()
54961
55031
  }), zod.z.void(), {
@@ -60592,7 +60662,7 @@ var lockControlCapability = {
60592
60662
  kind: "mutation",
60593
60663
  auth: "protected"
60594
60664
  }),
60595
- 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(), {
60596
60666
  kind: "mutation",
60597
60667
  auth: "protected"
60598
60668
  })
@@ -62119,6 +62189,16 @@ var MIGRATION_API_V1_METHODS = {
62119
62189
  output: zod.z.object({ removed: zod.z.array(zod.z.string()) }),
62120
62190
  behaviours: ["settings.deleteKeys.removes-only-the-named-keys"]
62121
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
+ },
62122
62202
  "secrets.resolve": {
62123
62203
  input: zod.z.object({ refs: zod.z.array(zod.z.string()) }),
62124
62204
  output: zod.z.object({ values: zod.z.record(zod.z.string(), zod.z.string().nullable()) }),
@@ -62165,6 +62245,11 @@ var MIGRATION_API_V1_METHODS = {
62165
62245
  }).nullable(),
62166
62246
  behaviours: ["devices.get.null-for-an-unknown-id", "devices.get.reports-link-and-config"]
62167
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
+ },
62168
62253
  "devices.setIntegrationId": {
62169
62254
  input: zod.z.object({
62170
62255
  deviceId: zod.z.number().int(),
@@ -72135,6 +72220,41 @@ var NcRuleTargetSchema = zod.z.object({
72135
72220
  params: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
72136
72221
  });
72137
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
+ /**
72138
72258
  * WHAT THE NOTIFICATION'S PICTURE IS (D897) — the ONE media choice of a rule.
72139
72259
  *
72140
72260
  * Every mode starts from the same CLEAN source frame of the trigger moment
@@ -72447,6 +72567,13 @@ var NcRuleInputSchema = zod.z.object({
72447
72567
  * targets.
72448
72568
  */
72449
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(),
72450
72577
  /** Absent = the kind's default picture (`resolveNcMediaImage`): the subject crop for a
72451
72578
  * detection, the clean scene for a sensor or a sound. Set explicitly on save (D897). */
72452
72579
  media: NcMediaPolicySchema.default({}),
@@ -74945,57 +75072,27 @@ setOverlay: require_sleep.method(zod.z.object({
74945
75072
  * fields into one overlay string (plugin catalog OSD Manager parity).
74946
75073
  */
74947
75074
  /**
74948
- * How a parser token expands one binding. Not stored on the binding —
74949
- * the parser picks the mode per insert (`{alias.value}` / `.unit` / `.full`).
74950
- */
74951
- var OsdTemplateTokenKindSchema = zod.z.enum([
74952
- "value",
74953
- "unit",
74954
- "full"
74955
- ]);
74956
- /** @deprecated Use `OsdTemplateTokenKind` — kept for generated import churn. */
74957
- var OsdTemplateFormatSchema = zod.z.enum([
74958
- "value+unit",
74959
- "value",
74960
- "unit"
74961
- ]);
74962
- /**
74963
- * How the operator reached the leaf device. `deviceId` is ALWAYS the
74964
- * OSD-supported leaf that is read; `containerId` is set when the pick
74965
- * went through a container (gateway) first.
74966
- */
74967
- var OsdTemplatePickSchema = zod.z.object({
74968
- containerId: zod.z.number().int().optional(),
74969
- deviceId: zod.z.number().int()
74970
- });
74971
- /**
74972
- * One named binding inside a multi-device template: device path + unit
74973
- * selection + precision. The parser expands `{alias}`, `{alias.value}`,
74974
- * `{alias.unit}`, or `{alias.full}` from the same binding — there is no
74975
- * 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('')`).
74976
75086
  */
74977
- var OsdTemplateBindingSchema = zod.z.object({
74978
- /** Token stem in the parser, e.g. `t` → `{t}` / `{t.value}`. Unique within the template. */
74979
- alias: zod.z.string().min(1).max(32).regex(/^[A-Za-z][A-Za-z0-9_-]*$/, "alias must start with a letter"),
74980
- pick: OsdTemplatePickSchema,
74981
- capName: zod.z.string().min(1).max(64),
74982
- valuePath: zod.z.string().min(1).max(64),
74983
- /** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
74984
- displayUnit: zod.z.string().max(16).optional(),
74985
- maxDecimals: zod.z.number().int().min(0).max(4).default(1),
74986
- /** Raw value → display text (same shape as slot binding). Empty string hides. */
74987
- valueMap: zod.z.record(zod.z.string(), zod.z.string()).optional()
74988
- });
75087
+ var OSD_TEMPLATE_TEXT_MAX = 1024;
74989
75088
  /**
74990
- * A named template: bindings (alias → leaf field) + a parser that
74991
- * 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.
74992
75091
  */
74993
75092
  var OsdNamedTemplateSchema = zod.z.object({
74994
75093
  id: zod.z.string().min(1).max(64),
74995
75094
  name: zod.z.string().min(1).max(64),
74996
- bindings: zod.z.array(OsdTemplateBindingSchema).max(32).default([]),
74997
- /** Parser with alias placeholders, e.g. `{t.value} {t.unit} / {h}`. */
74998
- parser: zod.z.string().max(256).default("")
75095
+ text: zod.z.string().max(OSD_TEMPLATE_TEXT_MAX).default("")
74999
75096
  });
75000
75097
  /** Where a slot's value comes from. */
75001
75098
  var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
@@ -75004,26 +75101,6 @@ var OsdSourceSchema = zod.z.discriminatedUnion("kind", [
75004
75101
  kind: zod.z.literal("static"),
75005
75102
  text: zod.z.string().max(64)
75006
75103
  }),
75007
- zod.z.object({
75008
- kind: zod.z.literal("clock"),
75009
- /** Token pattern: `YYYY MM DD HH mm ss`. Everything else is literal. */
75010
- pattern: zod.z.string().min(1).max(32).default("HH:mm"),
75011
- /** IANA zone. Omitted = the server's zone. */
75012
- timezone: zod.z.string().min(1).max(64).optional()
75013
- }),
75014
- zod.z.object({
75015
- kind: zod.z.literal("device-state"),
75016
- deviceId: zod.z.number().int().optional(),
75017
- capName: zod.z.string().min(1).max(64),
75018
- /** Dot path inside the slice, e.g. `detected`, `value`, `mode`. */
75019
- valuePath: zod.z.string().min(1).max(64),
75020
- /** Convert TO this unit at render. Absent = no conversion. */
75021
- displayUnit: zod.z.string().max(16).optional()
75022
- }),
75023
- zod.z.object({
75024
- kind: zod.z.literal("latest-recognition"),
75025
- recognition: zod.z.enum(["person", "plate"])
75026
- }),
75027
75104
  zod.z.object({
75028
75105
  kind: zod.z.literal("template"),
75029
75106
  templateId: zod.z.string().min(1).max(64)
@@ -75033,15 +75110,6 @@ var OsdSlotBindingSchema = zod.z.object({
75033
75110
  /** Off = the manager stops driving this slot. It does NOT clear it. */
75034
75111
  enabled: zod.z.boolean().default(true),
75035
75112
  source: OsdSourceSchema,
75036
- /** `${value}` and `${unit}` are substituted; every occurrence. */
75037
- template: zod.z.string().max(96).default("${value}"),
75038
- /**
75039
- * Decimal places for a numeric value. `0` yields an integer — the
75040
- * documented workaround for firmwares that reject `.` in overlay text.
75041
- */
75042
- maxDecimals: zod.z.number().int().min(0).max(4).default(1),
75043
- /** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
75044
- valueMap: zod.z.record(zod.z.string(), zod.z.string()).optional(),
75045
75113
  /** Time windows in which the slot is shown. Absent = always. */
75046
75114
  schedule: NcScheduleSchema.optional(),
75047
75115
  /**
@@ -75083,26 +75151,16 @@ var OsdRenderResultSchema = zod.z.object({
75083
75151
  /** Why, whenever the outcome is not a plain write. Never silent. */
75084
75152
  reason: zod.z.string().optional()
75085
75153
  });
75086
- var OsdSourceValueTypeEnum = zod.z.enum([
75087
- "number",
75088
- "boolean",
75089
- "string",
75090
- "enum"
75091
- ]);
75092
75154
  /**
75093
- * One bindable value, derived from a cap's `runtimeState` schema — never
75094
- * hand-listed. The editor renders from this, so a cap that ships a new
75095
- * 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.
75096
75158
  */
75097
- var OsdSourceOptionSchema = zod.z.object({
75098
- deviceId: zod.z.number().int(),
75099
- deviceName: zod.z.string(),
75100
- capName: zod.z.string(),
75101
- valuePath: zod.z.string(),
75102
- label: zod.z.string(),
75103
- valueType: OsdSourceValueTypeEnum,
75104
- /** Present for `enum`; the editor offers these as `valueMap` keys. */
75105
- 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())
75106
75164
  });
75107
75165
  var osdManagerCapability = {
75108
75166
  name: "osd-manager",
@@ -75119,12 +75177,6 @@ var osdManagerCapability = {
75119
75177
  slots: zod.z.array(OsdSlotViewSchema)
75120
75178
  }), { auth: "admin" }),
75121
75179
  /**
75122
- * Every value bindable on this camera: its own state leaves first,
75123
- * then every other device's. Derived from the cap definitions, so it
75124
- * cannot drift from what the resolver can actually read.
75125
- */
75126
- getSourceCatalog: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int() }), zod.z.object({ sources: zod.z.array(OsdSourceOptionSchema) }), { auth: "admin" }),
75127
- /**
75128
75180
  * The condition ids this gate can answer, alongside the FULL notification
75129
75181
  * condition catalog. Both, in one call, on purpose: an editor that showed
75130
75182
  * the catalog without the supported set would offer conditions that
@@ -75199,6 +75251,18 @@ var osdManagerCapability = {
75199
75251
  kind: "mutation",
75200
75252
  auth: "admin"
75201
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
+ }),
75202
75266
  /** Force a render pass over one camera now, instead of at the next tick. */
75203
75267
  renderDevice: require_sleep.method(zod.z.object({ deviceId: zod.z.number().int() }), zod.z.object({ results: zod.z.array(OsdRenderResultSchema) }), {
75204
75268
  kind: "mutation",
@@ -75214,7 +75278,7 @@ var osdManagerCapability = {
75214
75278
  kind: "mutation",
75215
75279
  auth: "admin"
75216
75280
  }),
75217
- /** 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. */
75218
75282
  deleteTemplate: require_sleep.method(zod.z.object({ templateId: zod.z.string().min(1).max(64) }), zod.z.object({ success: zod.z.literal(true) }), {
75219
75283
  kind: "mutation",
75220
75284
  auth: "admin"
@@ -88832,7 +88896,7 @@ var valveCapability = {
88832
88896
  kind: "mutation",
88833
88897
  auth: "protected"
88834
88898
  }),
88835
- setPosition: require_sleep.method(zod.z.object({
88899
+ setPosition: require_sleep.optionalMethod(zod.z.object({
88836
88900
  deviceId: zod.z.number().int().nonnegative(),
88837
88901
  position: zod.z.number().min(0).max(100)
88838
88902
  }), zod.z.void(), {
@@ -91786,7 +91850,7 @@ function normalise(kind, json) {
91786
91850
  return parsed.success ? parsed.data : expanded;
91787
91851
  }
91788
91852
  case "composition": {
91789
- const parsed = require_composition.CompositionSchema.safeParse(expanded);
91853
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(expanded);
91790
91854
  return parsed.success ? parsed.data : expanded;
91791
91855
  }
91792
91856
  }
@@ -92896,7 +92960,7 @@ function validateScheduler(site, json) {
92896
92960
  };
92897
92961
  }
92898
92962
  function validateCompositionDraft(site, json) {
92899
- const parsed = require_composition.CompositionSchema.safeParse(json);
92963
+ const parsed = require_implemented_methods.CompositionSchema.safeParse(json);
92900
92964
  if (!parsed.success) return {
92901
92965
  ok: false,
92902
92966
  issues: zodIssues(parsed.error)
@@ -95404,7 +95468,7 @@ function runDwell(segments, to, threshold, startMs, stopMs) {
95404
95468
  let openAt = null;
95405
95469
  const evaluate = (active, at, timer) => {
95406
95470
  deadline = null;
95407
- 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);
95408
95472
  if (answer === true && openAt === null) openAt = at;
95409
95473
  if (answer !== true && openAt !== null) {
95410
95474
  intervals.push({
@@ -96243,7 +96307,7 @@ function fieldsFeatureOf(composition, cap) {
96243
96307
  /** The device switch the composed `switch.on` reads, when it is one plain `from` of a switch. */
96244
96308
  function actuatorSwitchRead(composition) {
96245
96309
  const feature = fieldsFeatureOf(composition, SWITCH_CAP);
96246
- if (feature === null || !require_composition.compositionFeatureEnabled(feature)) return null;
96310
+ if (feature === null || !require_implemented_methods.compositionFeatureEnabled(feature)) return null;
96247
96311
  const field = feature.fields[ON_FIELD];
96248
96312
  if (field === void 0 || field.kind !== "from" || field.cap !== SWITCH_CAP) return null;
96249
96313
  return {
@@ -96254,7 +96318,7 @@ function actuatorSwitchRead(composition) {
96254
96318
  }
96255
96319
  function hasSupplyRelation(composition) {
96256
96320
  const feature = fieldsFeatureOf(composition, "power-source");
96257
- 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;
96258
96322
  }
96259
96323
  /**
96260
96324
  * "Do not follow the switch": a DISABLED `running-state` feature with no field.
@@ -96314,7 +96378,7 @@ function followSwitchRunningFeature(composition, host) {
96314
96378
  */
96315
96379
  function withDefaultRunning(composition, blockId) {
96316
96380
  if (hasAuthoredRunning(composition) || !actuatorSwitchDrivesRunning(composition)) return composition;
96317
- const feature = followSwitchRunningFeature(composition, require_composition.composedDeviceRef(blockId));
96381
+ const feature = followSwitchRunningFeature(composition, require_implemented_methods.composedDeviceRef(blockId));
96318
96382
  return feature === null ? composition : {
96319
96383
  ...composition,
96320
96384
  features: [...composition.features, feature]
@@ -96374,7 +96438,7 @@ var COMPOSITION_LINK_KINDS = ["lock-door-sensor", "power-source"];
96374
96438
  * source) behind an early return.
96375
96439
  */
96376
96440
  function describeRead(read) {
96377
- return `${require_composition.compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
96441
+ return `${require_implemented_methods.compositionSourceKey(read.source)} ${read.cap}.${read.fieldPath}`;
96378
96442
  }
96379
96443
  function isConfirmed(reading) {
96380
96444
  return reading.fatal || reading.confirmed === true;
@@ -96428,7 +96492,7 @@ function expressionOutcome(source, read, now, stateful) {
96428
96492
  if (unavailable !== null) {
96429
96493
  if (stateful !== void 0 && stateful.currentOutput !== void 0 && expressionContainsBuiltinCall(source.expr, "count")) return {
96430
96494
  state: "stale",
96431
- value: require_composition.evaluateCount(null, {
96495
+ value: require_implemented_methods.evaluateCount(null, {
96432
96496
  kind: "count",
96433
96497
  highWater: null,
96434
96498
  primed: false
@@ -96444,9 +96508,9 @@ function expressionOutcome(source, read, now, stateful) {
96444
96508
  ...stateful?.timerDriven === true ? { timerDriven: true } : {},
96445
96509
  convert: (value, from, to) => require_convert.tryConvertUnit(value, normalizeUnit(from) ?? from, normalizeUnit(to) ?? to) ?? null
96446
96510
  };
96447
- const result = require_composition.evaluateExpressionSource(source.expr, values, now, {
96511
+ const result = require_implemented_methods.evaluateExpressionSource(source.expr, values, now, {
96448
96512
  hooks,
96449
- ...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 : {
96450
96514
  ...invocation,
96451
96515
  path: `${stateful.callPathPrefix}@${invocation.path}`
96452
96516
  }, stateful.expressionMemory, {
@@ -96576,7 +96640,7 @@ function roomCompositionExample(input) {
96576
96640
  const d = named("d", input.motionSources, "motion", "detected");
96577
96641
  const m = named("m", input.motionSources, "motion", "lastDetectedAt");
96578
96642
  const windows = Object.keys(m).map((name) => `within(${name}, ${input.occupancyWindowMs})`);
96579
- return require_composition.CompositionSchema.parse({
96643
+ return require_implemented_methods.CompositionSchema.parse({
96580
96644
  target: {
96581
96645
  kind: "new",
96582
96646
  type: require_composed_stable_id.DeviceType.Sensor,
@@ -96657,7 +96721,7 @@ function feederExampleSources(brokerId) {
96657
96721
  }
96658
96722
  function feederCustomizationExample(sources) {
96659
96723
  const days = { d: from$1(sources.desiccantDays, "enum-sensor", "value") };
96660
- return require_composition.CompositionSchema.parse({
96724
+ return require_implemented_methods.CompositionSchema.parse({
96661
96725
  target: {
96662
96726
  kind: "existing",
96663
96727
  device: sources.feeder
@@ -96781,13 +96845,13 @@ function powerSourceLinkOfComposition(composition, blockId) {
96781
96845
  if (composition === null) return null;
96782
96846
  let device;
96783
96847
  if (composition.target.kind === "existing") device = composition.target.device;
96784
- else if (blockId !== void 0) device = require_composition.composedDeviceRef(blockId);
96848
+ else if (blockId !== void 0) device = require_implemented_methods.composedDeviceRef(blockId);
96785
96849
  else return null;
96786
96850
  const feature = composition.features.find((f) => f.cap === "power-source");
96787
96851
  if (feature === void 0 || feature.kind !== "fields" || feature.enabled === false) return null;
96788
96852
  const field = feature.fields["switchOn"];
96789
96853
  if (field === void 0) return null;
96790
- const read = require_composition.fieldReads(field).find((r) => r.cap === "switch");
96854
+ const read = require_implemented_methods.fieldReads(field).find((r) => r.cap === "switch");
96791
96855
  if (read === void 0) return null;
96792
96856
  return {
96793
96857
  device,
@@ -96804,9 +96868,9 @@ function powerSourceLinkOfComposition(composition, blockId) {
96804
96868
  */
96805
96869
  /** Source caps whose active boolean may be inverted: catalogue minus switch
96806
96870
  * (commands) and motion (event stream, D672). */
96807
- 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");
96808
96872
  function invertPresetFeature(input) {
96809
- const field = require_composition.SOURCE_CAP_ACTIVE_FIELD[input.cap];
96873
+ const field = require_implemented_methods.SOURCE_CAP_ACTIVE_FIELD[input.cap];
96810
96874
  if (field === void 0 || !INVERTIBLE_CAPS.includes(input.cap)) return null;
96811
96875
  const source = {
96812
96876
  kind: "expression",
@@ -97003,7 +97067,7 @@ function pumpCycleFeature(cycle) {
97003
97067
  };
97004
97068
  }
97005
97069
  function petFountainFromEntitiesComposition(sources) {
97006
- return require_composition.CompositionSchema.parse({
97070
+ return require_implemented_methods.CompositionSchema.parse({
97007
97071
  target: {
97008
97072
  kind: "new",
97009
97073
  type: require_composed_stable_id.DeviceType.PetFountain
@@ -97843,7 +97907,7 @@ function catalogTarget$1(cap, targetId) {
97843
97907
  return entry.targets.find((target) => target.id === targetId) ?? null;
97844
97908
  }
97845
97909
  function compileItem(target, item) {
97846
- 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");
97847
97911
  const field = (target.fields ?? []).find((entry) => entry.path === item.draft.fieldPath);
97848
97912
  if (field === void 0) return fail("field");
97849
97913
  const source = sourceSpec(field, item);
@@ -98447,7 +98511,7 @@ function setFormulaExpr(model, cap, fieldPath, expr) {
98447
98511
  //#endregion
98448
98512
  //#region src/composition/cards/formula-problem.ts
98449
98513
  function formulaProblem(expr, bindings) {
98450
- return require_composition.validateExpressionSource({
98514
+ return require_implemented_methods.validateExpressionSource({
98451
98515
  expr,
98452
98516
  bindings
98453
98517
  });
@@ -110787,13 +110851,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110787
110851
  access: "create",
110788
110852
  role: "admin"
110789
110853
  },
110790
- "notificationRules.createSequence": {
110791
- capName: "notification-rules",
110792
- capScope: "system",
110793
- addonId: null,
110794
- access: "create",
110795
- role: "admin"
110796
- },
110797
110854
  "notificationRules.createSnooze": {
110798
110855
  capName: "notification-rules",
110799
110856
  capScope: "system",
@@ -110815,13 +110872,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110815
110872
  access: "delete",
110816
110873
  role: "admin"
110817
110874
  },
110818
- "notificationRules.deleteSequence": {
110819
- capName: "notification-rules",
110820
- capScope: "system",
110821
- addonId: null,
110822
- access: "delete",
110823
- role: "admin"
110824
- },
110825
110875
  "notificationRules.getAlarmConfig": {
110826
110876
  capName: "notification-rules",
110827
110877
  capScope: "system",
@@ -110871,13 +110921,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110871
110921
  access: "view",
110872
110922
  role: "admin"
110873
110923
  },
110874
- "notificationRules.getSequence": {
110875
- capName: "notification-rules",
110876
- capScope: "system",
110877
- addonId: null,
110878
- access: "view",
110879
- role: "admin"
110880
- },
110881
110924
  "notificationRules.getTemplateCatalog": {
110882
110925
  capName: "notification-rules",
110883
110926
  capScope: "system",
@@ -110899,13 +110942,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110899
110942
  access: "view",
110900
110943
  role: "admin"
110901
110944
  },
110902
- "notificationRules.listSequences": {
110903
- capName: "notification-rules",
110904
- capScope: "system",
110905
- addonId: null,
110906
- access: "view",
110907
- role: "admin"
110908
- },
110909
110945
  "notificationRules.listSnoozes": {
110910
110946
  capName: "notification-rules",
110911
110947
  capScope: "system",
@@ -110976,13 +111012,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
110976
111012
  access: "create",
110977
111013
  role: "admin"
110978
111014
  },
110979
- "notificationRules.updateSequence": {
110980
- capName: "notification-rules",
110981
- capScope: "system",
110982
- addonId: null,
110983
- access: "create",
110984
- role: "admin"
110985
- },
110986
111015
  "notifier.cancel": {
110987
111016
  capName: "notifier",
110988
111017
  capScope: "device",
@@ -111067,21 +111096,21 @@ var METHOD_ACCESS_MAP = Object.freeze({
111067
111096
  access: "view",
111068
111097
  role: "admin"
111069
111098
  },
111070
- "osdManager.getSourceCatalog": {
111099
+ "osdManager.listTemplates": {
111071
111100
  capName: "osd-manager",
111072
111101
  capScope: "system",
111073
111102
  addonId: null,
111074
111103
  access: "view",
111075
111104
  role: "admin"
111076
111105
  },
111077
- "osdManager.listTemplates": {
111106
+ "osdManager.previewSlot": {
111078
111107
  capName: "osd-manager",
111079
111108
  capScope: "system",
111080
111109
  addonId: null,
111081
- access: "view",
111110
+ access: "create",
111082
111111
  role: "admin"
111083
111112
  },
111084
- "osdManager.previewSlot": {
111113
+ "osdManager.previewTemplate": {
111085
111114
  capName: "osd-manager",
111086
111115
  capScope: "system",
111087
111116
  addonId: null,
@@ -116801,6 +116830,182 @@ function resolveDeviceProfile(features) {
116801
116830
  return null;
116802
116831
  }
116803
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
116804
117009
  //#region src/device/appliance-export.ts
116805
117010
  /**
116806
117011
  * How a washer, dryer or dishwasher leaves CamStack.
@@ -119663,12 +119868,12 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
119663
119868
  form: "single",
119664
119869
  optional: false
119665
119870
  }],
119666
- "osdManager.getSourceCatalog": [{
119871
+ "osdManager.previewSlot": [{
119667
119872
  name: "deviceId",
119668
119873
  form: "single",
119669
119874
  optional: false
119670
119875
  }],
119671
- "osdManager.previewSlot": [{
119876
+ "osdManager.previewTemplate": [{
119672
119877
  name: "deviceId",
119673
119878
  form: "single",
119674
119879
  optional: false
@@ -121261,8 +121466,8 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
121261
121466
  "osdManager.clearSlotBinding",
121262
121467
  "osdManager.copyDeviceConfiguration",
121263
121468
  "osdManager.getDeviceOsd",
121264
- "osdManager.getSourceCatalog",
121265
121469
  "osdManager.previewSlot",
121470
+ "osdManager.previewTemplate",
121266
121471
  "osdManager.renderDevice",
121267
121472
  "osdManager.setSlotBinding",
121268
121473
  "osdManager.setSlotCameraEnabled",
@@ -123915,7 +124120,12 @@ function prepareNotification(caps, n) {
123915
124120
  if (n.ttl !== void 0) if (caps.ttl) ttl = n.ttl;
123916
124121
  else dropped.push("ttl");
123917
124122
  const tag = n.tag ?? null;
123918
- 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);
123919
124129
  const truncated = bodyParts.length > 1;
123920
124130
  const renderedAs = {
123921
124131
  level: level?.id ?? "",
@@ -123927,7 +124137,7 @@ function prepareNotification(caps, n) {
123927
124137
  };
123928
124138
  return {
123929
124139
  body: bodyParts[0] ?? "",
123930
- ...n.title !== void 0 ? { title: n.title } : {},
124140
+ ...title !== void 0 ? { title } : {},
123931
124141
  format,
123932
124142
  level,
123933
124143
  attachments,
@@ -124040,6 +124250,82 @@ function deliveryParamsDeclaredBy(perKind) {
124040
124250
  return out;
124041
124251
  }
124042
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
124043
124329
  //#region src/notification/system-event-filters.ts
124044
124330
  /**
124045
124331
  * WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
@@ -126024,7 +126310,7 @@ var CYCLE_RAISED_FIELD_BY_CAP = { "running-state": "running" };
126024
126310
  var NC_SENSOR_RAISED_FIELD_BY_KIND = Object.freeze(Object.fromEntries(Object.entries(EVENT_KIND_BY_CAP).flatMap(([capName, descriptor]) => {
126025
126311
  const cycleField = CYCLE_RAISED_FIELD_BY_CAP[capName];
126026
126312
  if (cycleField !== void 0) return [[descriptor.kind, cycleField]];
126027
- const field = require_composition.SOURCE_CAP_ACTIVE_FIELD[capName];
126313
+ const field = require_implemented_methods.SOURCE_CAP_ACTIVE_FIELD[capName];
126028
126314
  if (field === void 0 || descriptor.category !== "sensor") return [];
126029
126315
  return [[descriptor.kind, field]];
126030
126316
  })));
@@ -134837,14 +135123,14 @@ exports.ACTION_RUN_MAX_MS = ACTION_RUN_MAX_MS;
134837
135123
  exports.ACTION_RUN_TIMEOUT_MS = ACTION_RUN_TIMEOUT_MS;
134838
135124
  exports.ACTION_RUN_TRANSPORT_MARGIN_MS = ACTION_RUN_TRANSPORT_MARGIN_MS;
134839
135125
  exports.ACTION_TARGET_INVALIDATION_EVENTS = ACTION_TARGET_INVALIDATION_EVENTS;
134840
- exports.ACTIVE_CRITERIA = require_composition.ACTIVE_CRITERIA;
135126
+ exports.ACTIVE_CRITERIA = require_implemented_methods.ACTIVE_CRITERIA;
134841
135127
  exports.ACTUATOR_METHODS = ACTUATOR_METHODS;
134842
135128
  exports.ACTUATOR_TEMPLATE_IDS = ACTUATOR_TEMPLATE_IDS;
134843
135129
  exports.ADMIN_SCOPE = ADMIN_SCOPE;
134844
135130
  exports.AGENT_MDNS_QUERY_NAME = AGENT_MDNS_QUERY_NAME;
134845
135131
  exports.AGENT_MDNS_SERVICE_TYPE = AGENT_MDNS_SERVICE_TYPE;
134846
135132
  exports.AGENT_MDNS_TXT_KEYS = AGENT_MDNS_TXT_KEYS;
134847
- exports.AGGREGATE_REDUCERS = require_composition.AGGREGATE_REDUCERS;
135133
+ exports.AGGREGATE_REDUCERS = require_implemented_methods.AGGREGATE_REDUCERS;
134848
135134
  exports.AGGREGATE_THROUGHPUT_BY_KIND = AGGREGATE_THROUGHPUT_BY_KIND;
134849
135135
  exports.ALEXA_EGRESS_PROFILE = ALEXA_EGRESS_PROFILE;
134850
135136
  exports.ALL_CAPABILITY_DEFINITIONS = ALL_CAPABILITY_DEFINITIONS;
@@ -134863,14 +135149,14 @@ exports.APP_FLOW_STATE_PREFIX = APP_FLOW_STATE_PREFIX;
134863
135149
  exports.APP_REFUSED_PATH = APP_REFUSED_PATH;
134864
135150
  exports.APP_START_REFUSAL_MESSAGES = APP_START_REFUSAL_MESSAGES;
134865
135151
  exports.ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT = ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT;
134866
- exports.ARITHMETIC_OPS = require_composition.ARITHMETIC_OPS;
135152
+ exports.ARITHMETIC_OPS = require_implemented_methods.ARITHMETIC_OPS;
134867
135153
  exports.AUDIO_ANALYSIS_CAP_NAME = AUDIO_ANALYSIS_CAP_NAME;
134868
135154
  exports.AUDIO_BACKEND_CHOICES = AUDIO_BACKEND_CHOICES;
134869
135155
  exports.AUDIO_CHUNK_FORMATS = require_sleep.AUDIO_CHUNK_FORMATS;
134870
135156
  exports.AUDIO_GRADIENT_ALPHAS = AUDIO_GRADIENT_ALPHAS;
134871
135157
  exports.AUDIO_MACRO_LABELS = AUDIO_MACRO_LABELS;
134872
135158
  exports.AUDIO_NOT_CLASSIFIED_REASONS = AUDIO_NOT_CLASSIFIED_REASONS;
134873
- exports.AUDIO_PRESETS = require_composition.AUDIO_PRESETS;
135159
+ exports.AUDIO_PRESETS = require_implemented_methods.AUDIO_PRESETS;
134874
135160
  exports.AUDIO_SCALE_EPOCH_ISO = AUDIO_SCALE_EPOCH_ISO;
134875
135161
  exports.AUDIO_SCALE_EPOCH_MS = AUDIO_SCALE_EPOCH_MS;
134876
135162
  exports.AUTOMATIC_HUB_ADDRESS_FLAGS = AUTOMATIC_HUB_ADDRESS_FLAGS;
@@ -134898,7 +135184,7 @@ exports.ActionTargetSchema = ActionTargetSchema;
134898
135184
  exports.ActionVariableSchema = ActionVariableSchema;
134899
135185
  exports.ActionVariableTypeSchema = ActionVariableTypeSchema;
134900
135186
  exports.ActionVariableValueSchema = ActionVariableValueSchema;
134901
- exports.ActiveCriterionSchema = require_composition.ActiveCriterionSchema;
135187
+ exports.ActiveCriterionSchema = require_implemented_methods.ActiveCriterionSchema;
134902
135188
  exports.AddBrokerInputSchema = AddBrokerInputSchema;
134903
135189
  exports.AddRetrainFrameFromRecordingResultSchema = AddRetrainFrameFromRecordingResultSchema;
134904
135190
  exports.AddonAutoUpdateSchema = AddonAutoUpdateSchema;
@@ -134922,7 +135208,7 @@ exports.AdoptionOutcomeSchema = AdoptionOutcomeSchema;
134922
135208
  exports.AdoptionReleaseInputSchema = ReleaseInputSchema;
134923
135209
  exports.AdoptionStatusSchema = AdoptionStatusSchema;
134924
135210
  exports.AgentLoadSummarySchema = AgentLoadSummarySchema;
134925
- exports.AggregateReducerSchema = require_composition.AggregateReducerSchema;
135211
+ exports.AggregateReducerSchema = require_implemented_methods.AggregateReducerSchema;
134926
135212
  exports.AirQualitySensorStatusSchema = AirQualitySensorStatusSchema;
134927
135213
  exports.AlarmArmModeSchema = AlarmArmModeSchema;
134928
135214
  exports.AlarmPanelStatusSchema = AlarmPanelStatusSchema;
@@ -134945,7 +135231,7 @@ exports.ArchiveManifestSchema = ArchiveManifestSchema;
134945
135231
  exports.ArchiveSqliteSnapshotSchema = ArchiveSqliteSnapshotSchema;
134946
135232
  exports.ArchivedDebugNoteQueryInputSchema = ArchivedDebugNoteQueryInputSchema;
134947
135233
  exports.ArchivedDebugNoteSchema = ArchivedDebugNoteSchema;
134948
- exports.ArithmeticHelperSpecSchema = require_composition.ArithmeticHelperSpecSchema;
135234
+ exports.ArithmeticHelperSpecSchema = require_implemented_methods.ArithmeticHelperSpecSchema;
134949
135235
  exports.AttachmentMediaTypeSchema = AttachmentMediaTypeSchema;
134950
135236
  exports.AttachmentSchema = AttachmentSchema;
134951
135237
  exports.AudioAnalysisResultSchema = AudioAnalysisResultSchema;
@@ -135000,7 +135286,7 @@ exports.BASE_LIVE_EGRESS_PROFILE = BASE_LIVE_EGRESS_PROFILE;
135000
135286
  exports.BATTERY_DEVICE_PROFILE = BATTERY_DEVICE_PROFILE;
135001
135287
  exports.BATTERY_UNREACHABLE_AFTER_MS = BATTERY_UNREACHABLE_AFTER_MS;
135002
135288
  exports.BENCH_ROOT_STEP_ID = BENCH_ROOT_STEP_ID;
135003
- exports.BINARY_AGGREGATES = require_composition.BINARY_AGGREGATES;
135289
+ exports.BINARY_AGGREGATES = require_implemented_methods.BINARY_AGGREGATES;
135004
135290
  exports.BIRTH_DECISION_DEFAULT_LIMIT = BIRTH_DECISION_DEFAULT_LIMIT;
135005
135291
  exports.BOOT_RECOVERY_BACKOFF_MS = require_sleep.BOOT_RECOVERY_BACKOFF_MS;
135006
135292
  exports.BUILTIN_REMOTE_COMPONENTS = BUILTIN_REMOTE_COMPONENTS;
@@ -135046,7 +135332,7 @@ exports.BrokerSubscribeResultSchema = SubscribeResultSchema;
135046
135332
  exports.BrokerUnsubscribeInputSchema = UnsubscribeInputSchema;
135047
135333
  exports.BucketAccumulator = BucketAccumulator;
135048
135334
  exports.BulkRecordSchema = BulkRecordSchema;
135049
- exports.CALENDAR_PERIODS = require_composition.CALENDAR_PERIODS;
135335
+ exports.CALENDAR_PERIODS = require_implemented_methods.CALENDAR_PERIODS;
135050
135336
  exports.CALLER_STAMPED_CAPABILITIES = require_sleep.CALLER_STAMPED_CAPABILITIES;
135051
135337
  exports.CALLER_USERNAME_HEADER = require_sleep.CALLER_USERNAME_HEADER;
135052
135338
  exports.CAMERA_SENSORS_NOT_LOADED = CAMERA_SENSORS_NOT_LOADED;
@@ -135091,11 +135377,11 @@ exports.COCO_80_LABELS = COCO_80_LABELS;
135091
135377
  exports.COCO_TO_MACRO = COCO_TO_MACRO;
135092
135378
  exports.COMPOSED_DEVICE_STABLE_ID_PREFIX = require_composed_stable_id.COMPOSED_DEVICE_STABLE_ID_PREFIX;
135093
135379
  exports.COMPOSED_ITEM_FIXED_FIELDS = COMPOSED_ITEM_FIXED_FIELDS;
135094
- exports.COMPOSER_ADDON_ID = require_composition.COMPOSER_ADDON_ID;
135380
+ exports.COMPOSER_ADDON_ID = require_implemented_methods.COMPOSER_ADDON_ID;
135095
135381
  exports.COMPOSER_RUNNER_ID = COMPOSER_RUNNER_ID;
135096
135382
  exports.COMPOSITION_EVENT_CATEGORY = COMPOSITION_EVENT_CATEGORY;
135097
- exports.COMPOSITION_ITEM_ARRAY_PATH = require_composition.COMPOSITION_ITEM_ARRAY_PATH;
135098
- 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;
135099
135385
  exports.COMPOSITION_LINK_KINDS = COMPOSITION_LINK_KINDS;
135100
135386
  exports.COMPOSITION_TARGET_CAP_NAMES = COMPOSITION_TARGET_CAP_NAMES;
135101
135387
  exports.CONNECTION_TEST_TIMEOUT_MS = CONNECTION_TEST_TIMEOUT_MS;
@@ -135111,7 +135397,7 @@ exports.CREDENTIAL_TOKEN_KIND = CREDENTIAL_TOKEN_KIND;
135111
135397
  exports.CROP_CLASS_FLOORS = CROP_CLASS_FLOORS;
135112
135398
  exports.CROP_SUPPLY_SOURCES = CROP_SUPPLY_SOURCES;
135113
135399
  exports.CROP_SUPPLY_STEP_IDS = CROP_SUPPLY_STEP_IDS;
135114
- exports.CUSTOMIZATION_BLOCK_NAME_PREFIX = require_composition.CUSTOMIZATION_BLOCK_NAME_PREFIX;
135400
+ exports.CUSTOMIZATION_BLOCK_NAME_PREFIX = require_implemented_methods.CUSTOMIZATION_BLOCK_NAME_PREFIX;
135115
135401
  exports.CUSTOMIZE_APPLY_AUTHORITY_KINDS = CUSTOMIZE_APPLY_AUTHORITY_KINDS;
135116
135402
  exports.CUSTOMIZE_CARDINALITIES = CUSTOMIZE_CARDINALITIES;
135117
135403
  exports.CUSTOMIZE_EVENT_SHAPES = CUSTOMIZE_EVENT_SHAPES;
@@ -135124,7 +135410,7 @@ exports.CalendarPreferenceEntrySchema = CalendarPreferenceEntrySchema;
135124
135410
  exports.CalendarPreferencesSchema = CalendarPreferencesSchema;
135125
135411
  exports.CalendarSetPreferenceInputSchema = CalendarSetPreferenceInputSchema;
135126
135412
  exports.CalendarSourceKindSchema = CalendarSourceKindSchema;
135127
- exports.CalendarWindowSchema = require_composition.CalendarWindowSchema;
135413
+ exports.CalendarWindowSchema = require_implemented_methods.CalendarWindowSchema;
135128
135414
  exports.CamProfileSchema = require_sleep.CamProfileSchema;
135129
135415
  exports.CamStreamDescriptorSchema = CamStreamDescriptorSchema;
135130
135416
  exports.CamStreamKindSchema = require_sleep.CamStreamKindSchema;
@@ -135221,47 +135507,47 @@ exports.ComposerApplyResultSchema = ComposerApplyResultSchema;
135221
135507
  exports.ComposerBlockSchema = ComposerBlockSchema;
135222
135508
  exports.ComposerBlockVerdictSchema = ComposerBlockVerdictSchema;
135223
135509
  exports.ComposerUnreadableBlockSchema = ComposerUnreadableBlockSchema;
135224
- exports.CompositionAggregateSourceSchema = require_composition.CompositionAggregateSourceSchema;
135225
- exports.CompositionBindingSchema = require_composition.CompositionBindingSchema;
135510
+ exports.CompositionAggregateSourceSchema = require_implemented_methods.CompositionAggregateSourceSchema;
135511
+ exports.CompositionBindingSchema = require_implemented_methods.CompositionBindingSchema;
135226
135512
  exports.CompositionBlockInputSchema = CompositionBlockInputSchema;
135227
135513
  exports.CompositionBlockStateSchema = CompositionBlockStateSchema;
135228
- exports.CompositionCodeSourceSchema = require_composition.CompositionCodeSourceSchema;
135229
- exports.CompositionCommandTargetSchema = require_composition.CompositionCommandTargetSchema;
135514
+ exports.CompositionCodeSourceSchema = require_implemented_methods.CompositionCodeSourceSchema;
135515
+ exports.CompositionCommandTargetSchema = require_implemented_methods.CompositionCommandTargetSchema;
135230
135516
  exports.CompositionCustomizationReadSchema = CompositionCustomizationReadSchema;
135231
135517
  exports.CompositionEventPlanSchema = CompositionEventPlanSchema;
135232
- exports.CompositionExistingTargetSchema = require_composition.CompositionExistingTargetSchema;
135233
- exports.CompositionExpressionSourceSchema = require_composition.CompositionExpressionSourceSchema;
135234
- 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;
135235
135521
  exports.CompositionFeatureModeSchema = CompositionFeatureModeSchema;
135236
135522
  exports.CompositionFeaturePlanSchema = CompositionFeaturePlanSchema;
135237
- exports.CompositionFeatureSchema = require_composition.CompositionFeatureSchema;
135523
+ exports.CompositionFeatureSchema = require_implemented_methods.CompositionFeatureSchema;
135238
135524
  exports.CompositionFieldItemSchema = CompositionFieldItemSchema;
135239
135525
  exports.CompositionFieldKindSchema = CompositionFieldKindSchema;
135240
135526
  exports.CompositionFieldPlanSchema = CompositionFieldPlanSchema;
135241
- exports.CompositionFieldReadSchema = require_composition.CompositionFieldReadSchema;
135527
+ exports.CompositionFieldReadSchema = require_implemented_methods.CompositionFieldReadSchema;
135242
135528
  exports.CompositionFieldRoleSchema = CompositionFieldRoleSchema;
135243
- exports.CompositionFieldSourceSchema = require_composition.CompositionFieldSourceSchema;
135529
+ exports.CompositionFieldSourceSchema = require_implemented_methods.CompositionFieldSourceSchema;
135244
135530
  exports.CompositionFieldStateKindSchema = CompositionFieldStateKindSchema;
135245
135531
  exports.CompositionFieldStateSchema = CompositionFieldStateSchema;
135246
- exports.CompositionFieldsFeatureSchema = require_composition.CompositionFieldsFeatureSchema;
135247
- exports.CompositionForwardArgSchema = require_composition.CompositionForwardArgSchema;
135248
- exports.CompositionForwardCommandSchema = require_composition.CompositionForwardCommandSchema;
135249
- 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;
135250
135536
  exports.CompositionGetReadSchema = CompositionGetReadSchema;
135251
135537
  exports.CompositionGraphError = CompositionGraphError;
135252
- exports.CompositionItemEntrySchema = require_composition.CompositionItemEntrySchema;
135538
+ exports.CompositionItemEntrySchema = require_implemented_methods.CompositionItemEntrySchema;
135253
135539
  exports.CompositionListReadSchema = CompositionListReadSchema;
135254
- exports.CompositionLiteralBindingSchema = require_composition.CompositionLiteralBindingSchema;
135255
- exports.CompositionNewTargetSchema = require_composition.CompositionNewTargetSchema;
135256
- 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;
135257
135543
  exports.CompositionProblemCodeSchema = CompositionProblemCodeSchema;
135258
135544
  exports.CompositionProblemSchema = CompositionProblemSchema;
135259
135545
  exports.CompositionRunStatusSchema = CompositionRunStatusSchema;
135260
- exports.CompositionSchema = require_composition.CompositionSchema;
135261
- exports.CompositionSeriesSourceSchema = require_composition.CompositionSeriesSourceSchema;
135262
- 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;
135263
135549
  exports.CompositionStateReadSchema = CompositionStateReadSchema;
135264
- exports.CompositionTargetSchema = require_composition.CompositionTargetSchema;
135550
+ exports.CompositionTargetSchema = require_implemented_methods.CompositionTargetSchema;
135265
135551
  exports.CompositionUnavailableModeSchema = CompositionUnavailableModeSchema;
135266
135552
  exports.CompositionValidationSchema = CompositionValidationSchema;
135267
135553
  exports.CompositionViewSchema = CompositionViewSchema;
@@ -135308,7 +135594,7 @@ exports.DATABASE_SNAPSHOT_TIMEOUT_MS = DATABASE_SNAPSHOT_TIMEOUT_MS;
135308
135594
  exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
135309
135595
  exports.DATA_STORE_DATABASES = DATA_STORE_DATABASES;
135310
135596
  exports.DAYS_PER_WEEK = DAYS_PER_WEEK;
135311
- exports.DAY_MS = require_composition.DAY_MS;
135597
+ exports.DAY_MS = require_implemented_methods.DAY_MS;
135312
135598
  exports.DAY_NAMES = DAY_NAMES;
135313
135599
  exports.DEBUG_CHANNEL_PREFIX = require_sleep.DEBUG_CHANNEL_PREFIX;
135314
135600
  exports.DEBUG_WATCH_HARD_CAP_MS = require_sleep.DEBUG_WATCH_HARD_CAP_MS;
@@ -135330,9 +135616,9 @@ exports.DEFAULT_DISPLAY_PREFERENCE = require_sleep.DEFAULT_DISPLAY_PREFERENCE;
135330
135616
  exports.DEFAULT_EVENTS_BAND_BUFFER_SEC = DEFAULT_EVENTS_BAND_BUFFER_SEC;
135331
135617
  exports.DEFAULT_EVENT_COLOR = DEFAULT_EVENT_COLOR;
135332
135618
  exports.DEFAULT_FEATURES = DEFAULT_FEATURES;
135333
- 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;
135334
135620
  exports.DEFAULT_HEADROOM = DEFAULT_HEADROOM;
135335
- exports.DEFAULT_HISTORY_RETENTION = require_composition.DEFAULT_HISTORY_RETENTION;
135621
+ exports.DEFAULT_HISTORY_RETENTION = require_implemented_methods.DEFAULT_HISTORY_RETENTION;
135336
135622
  exports.DEFAULT_HOLD_OVERRIDE = DEFAULT_HOLD_OVERRIDE;
135337
135623
  exports.DEFAULT_MAX_HOLD_ATTEMPTS = DEFAULT_MAX_HOLD_ATTEMPTS;
135338
135624
  exports.DEFAULT_MAX_LATE_MS = DEFAULT_MAX_LATE_MS;
@@ -135352,7 +135638,7 @@ exports.DEFAULT_TOKEN_EXPIRY = require_sleep.DEFAULT_TOKEN_EXPIRY;
135352
135638
  exports.DEFAULT_TRACE_KEEP = DEFAULT_TRACE_KEEP;
135353
135639
  exports.DEFAULT_VIEWER_SCOPE = DEFAULT_VIEWER_SCOPE;
135354
135640
  exports.DEFINITIVE_DEVICE_REFUSALS = DEFINITIVE_DEVICE_REFUSALS;
135355
- exports.DERIVATIVE_UNITS = require_composition.DERIVATIVE_UNITS;
135641
+ exports.DERIVATIVE_UNITS = require_implemented_methods.DERIVATIVE_UNITS;
135356
135642
  exports.DERIVED_CAMERA_SILENCED_CAP_NAMES = DERIVED_CAMERA_SILENCED_CAP_NAMES;
135357
135643
  exports.DETAIL_CROP_PADDING_FIELD = DETAIL_CROP_PADDING_FIELD;
135358
135644
  exports.DETAIL_CROP_PADDING_KEY = DETAIL_CROP_PADDING_KEY;
@@ -135374,6 +135660,7 @@ exports.DEVICE_CHILDREN_BATCH_MAX = require_sleep.DEVICE_CHILDREN_BATCH_MAX;
135374
135660
  exports.DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE = DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE;
135375
135661
  exports.DEVICE_DO_ACTIONS = DEVICE_DO_ACTIONS;
135376
135662
  exports.DEVICE_ENROLLMENT_TTL_MS = DEVICE_ENROLLMENT_TTL_MS;
135663
+ exports.DEVICE_FEATURE_REQUIREMENTS = DEVICE_FEATURE_REQUIREMENTS;
135377
135664
  exports.DEVICE_HISTORY_ENERGY_KEY = DEVICE_HISTORY_ENERGY_KEY;
135378
135665
  exports.DEVICE_HISTORY_ORPHAN_DELETE_MAX = DEVICE_HISTORY_ORPHAN_DELETE_MAX;
135379
135666
  exports.DEVICE_HISTORY_ORPHAN_LIST_MAX = DEVICE_HISTORY_ORPHAN_LIST_MAX;
@@ -135397,9 +135684,12 @@ exports.DEVICE_TEMPLATE_BUDGET_MS = DEVICE_TEMPLATE_BUDGET_MS;
135397
135684
  exports.DEVICE_TEMPLATE_FILTERS = DEVICE_TEMPLATE_FILTERS;
135398
135685
  exports.DEVICE_TEMPLATE_MAX_LENGTH = DEVICE_TEMPLATE_MAX_LENGTH;
135399
135686
  exports.DEVICE_TEMPLATE_MAX_OUTPUT = DEVICE_TEMPLATE_MAX_OUTPUT;
135687
+ exports.DEVICE_TEMPLATE_NOW_ALIAS = DEVICE_TEMPLATE_NOW_ALIAS;
135400
135688
  exports.DEVICE_TEMPLATE_REFUSAL_REASONS = DEVICE_TEMPLATE_REFUSAL_REASONS;
135689
+ exports.DEVICE_TEMPLATE_THIS_ALIAS = DEVICE_TEMPLATE_THIS_ALIAS;
135401
135690
  exports.DEVICE_TEMPLATE_TRACE_REASONS = DEVICE_TEMPLATE_TRACE_REASONS;
135402
135691
  exports.DEVICE_TEMPLATE_UNAVAILABLE = DEVICE_TEMPLATE_UNAVAILABLE;
135692
+ exports.DEVICE_TEMPLATE_VALUES_CAP = DEVICE_TEMPLATE_VALUES_CAP;
135403
135693
  exports.DEVICE_TOMBSTONE_RETENTION_MS = DEVICE_TOMBSTONE_RETENTION_MS;
135404
135694
  exports.DEVICE_TRANSITIONS_MAX_PAGE = DEVICE_TRANSITIONS_MAX_PAGE;
135405
135695
  exports.DEVICE_TRANSITIONS_RECORD_BATCH_MAX = DEVICE_TRANSITIONS_RECORD_BATCH_MAX;
@@ -135431,7 +135721,7 @@ exports.DecodedAudioChunkSchema = require_sleep.DecodedAudioChunkSchema;
135431
135721
  exports.DeleteIntegrationResultSchema = DeleteIntegrationResultSchema;
135432
135722
  exports.DeliveryParamSchema = DeliveryParamSchema;
135433
135723
  exports.DeliveryParamValueSchema = DeliveryParamValueSchema;
135434
- exports.DerivativeHelperSpecSchema = require_composition.DerivativeHelperSpecSchema;
135724
+ exports.DerivativeHelperSpecSchema = require_implemented_methods.DerivativeHelperSpecSchema;
135435
135725
  exports.DesktopAppStatusSchema = DesktopAppStatusSchema;
135436
135726
  exports.DetailCropConventionSchema = DetailCropConventionSchema;
135437
135727
  exports.DetectionCatalogClassMapSchema = DetectionCatalogClassMapSchema;
@@ -135493,7 +135783,9 @@ exports.DeviceStatusSchema = DeviceStatusSchema;
135493
135783
  exports.DeviceTemplateRefusalSchema = DeviceTemplateRefusalSchema;
135494
135784
  exports.DeviceTemplateRenderSchema = DeviceTemplateRenderSchema;
135495
135785
  exports.DeviceTemplateSchema = DeviceTemplateSchema;
135786
+ exports.DeviceTemplateThisDeviceSchema = DeviceTemplateThisDeviceSchema;
135496
135787
  exports.DeviceTemplateTraceEntrySchema = DeviceTemplateTraceEntrySchema;
135788
+ exports.DeviceTemplateValueSchema = DeviceTemplateValueSchema;
135497
135789
  exports.DeviceTombstoneSchema = DeviceTombstoneSchema;
135498
135790
  exports.DeviceTransitionSchema = require_sleep.DeviceTransitionSchema;
135499
135791
  exports.DeviceType = require_composed_stable_id.DeviceType;
@@ -135544,12 +135836,12 @@ exports.EVENT_PAD_MS = EVENT_PAD_MS;
135544
135836
  exports.EVENT_TAXONOMY = EVENT_TAXONOMY;
135545
135837
  exports.EXPORT_DENSE_MAX_RANGES = EXPORT_DENSE_MAX_RANGES;
135546
135838
  exports.EXPORT_INSTANCE_UNKNOWN = EXPORT_INSTANCE_UNKNOWN;
135547
- exports.EXPRESSION_BUILTINS = require_composition.EXPRESSION_BUILTINS;
135548
- exports.EXPRESSION_BUILTIN_NAMES = require_composition.EXPRESSION_BUILTIN_NAMES;
135549
- exports.EXPRESSION_COMPILE_CACHE_CAPACITY = require_composition.EXPRESSION_COMPILE_CACHE_CAPACITY;
135550
- exports.EXPRESSION_IDENTIFIER_RE = require_composition.EXPRESSION_IDENTIFIER_RE;
135551
- exports.EXPRESSION_INJECTED_NOW = require_composition.EXPRESSION_INJECTED_NOW;
135552
- 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;
135553
135845
  exports.EXTENSION_HOST_DEVICE_TYPES = EXTENSION_HOST_DEVICE_TYPES;
135554
135846
  exports.EXTENSION_SLOTS = EXTENSION_SLOTS;
135555
135847
  exports.EXTENSION_SLOT_IDS = EXTENSION_SLOT_IDS;
@@ -135619,12 +135911,12 @@ exports.ExposedDeviceSchema = ExposedDeviceSchema;
135619
135911
  exports.ExposedEntitySchema = ExposedEntitySchema;
135620
135912
  exports.ExposureModeSchema = ExposureModeSchema;
135621
135913
  exports.ExpressionBindingSourceSchema = ExpressionBindingSourceSchema;
135622
- exports.ExpressionEvalError = require_composition.ExpressionEvalError;
135914
+ exports.ExpressionEvalError = require_implemented_methods.ExpressionEvalError;
135623
135915
  exports.ExpressionFieldBindingSchema = ExpressionFieldBindingSchema;
135624
135916
  exports.ExpressionGlobalBindingSchema = ExpressionGlobalBindingSchema;
135625
- exports.ExpressionHelperSpecSchema = require_composition.ExpressionHelperSpecSchema;
135917
+ exports.ExpressionHelperSpecSchema = require_implemented_methods.ExpressionHelperSpecSchema;
135626
135918
  exports.ExpressionLiteralBindingSchema = ExpressionLiteralBindingSchema;
135627
- exports.ExpressionParseError = require_composition.ExpressionParseError;
135919
+ exports.ExpressionParseError = require_implemented_methods.ExpressionParseError;
135628
135920
  exports.ExpressionSourceSchema = ExpressionSourceSchema;
135629
135921
  exports.ExtensionCandidateSchema = ExtensionCandidateSchema;
135630
135922
  exports.ExtensionCandidatesSchema = ExtensionCandidatesSchema;
@@ -135656,10 +135948,10 @@ exports.FAN_PRESET_STEPS_MAX = FAN_PRESET_STEPS_MAX;
135656
135948
  exports.FEEDER_EXAMPLE_ADDON_ID = FEEDER_EXAMPLE_ADDON_ID;
135657
135949
  exports.FEEDER_EXAMPLE_HA_DEVICE_ID = FEEDER_EXAMPLE_HA_DEVICE_ID;
135658
135950
  exports.FEW_SHOT_COUNT = FEW_SHOT_COUNT;
135659
- exports.FFMPEG_PATH_ENV = require_composition.FFMPEG_PATH_ENV;
135951
+ exports.FFMPEG_PATH_ENV = require_implemented_methods.FFMPEG_PATH_ENV;
135660
135952
  exports.FIRST_LEVEL_MACRO_CLASSES = FIRST_LEVEL_MACRO_CLASSES;
135661
135953
  exports.FORBIDDEN_MESSAGE_PREFIX = require_sleep.FORBIDDEN_MESSAGE_PREFIX;
135662
- exports.FORWARD_INPUT_KEY = require_composition.FORWARD_INPUT_KEY;
135954
+ exports.FORWARD_INPUT_KEY = require_implemented_methods.FORWARD_INPUT_KEY;
135663
135955
  exports.FULL_IMAGE_BBOX = FULL_IMAGE_BBOX;
135664
135956
  exports.FailureContributionSchema = FailureContributionSchema;
135665
135957
  exports.FailureCounters = FailureCounters;
@@ -135682,7 +135974,7 @@ exports.FieldClaimModeSchema = FieldClaimModeSchema;
135682
135974
  exports.FieldClaimSchema = FieldClaimSchema;
135683
135975
  exports.FilterRequiredError = require_sleep.FilterRequiredError;
135684
135976
  exports.FloodStatusSchema = FloodStatusSchema;
135685
- exports.Fmp4BoxSplitter = require_composition.Fmp4BoxSplitter;
135977
+ exports.Fmp4BoxSplitter = require_implemented_methods.Fmp4BoxSplitter;
135686
135978
  exports.ForeignSecretMarkerError = require_sleep.ForeignSecretMarkerError;
135687
135979
  exports.FrameHandleSchema = require_sleep.FrameHandleSchema;
135688
135980
  exports.FrameInputSchema = FrameInputSchema;
@@ -135691,7 +135983,7 @@ exports.FrameLazyMetricsSchema = FrameLazyMetricsSchema;
135691
135983
  exports.G711_SCALE_CORRECTION_DB = G711_SCALE_CORRECTION_DB;
135692
135984
  exports.GRAMMAR_MAX_LINES = GRAMMAR_MAX_LINES;
135693
135985
  exports.GROUP_TEMPLATES = GROUP_TEMPLATES;
135694
- exports.GROUP_TEMPLATE_IDS = require_composition.GROUP_TEMPLATE_IDS;
135986
+ exports.GROUP_TEMPLATE_IDS = require_implemented_methods.GROUP_TEMPLATE_IDS;
135695
135987
  exports.GasStatusSchema = GasStatusSchema;
135696
135988
  exports.GetLoggingSettingsInputSchema = GetLoggingSettingsInputSchema;
135697
135989
  exports.GetStreamWithCodecInputSchema = GetStreamWithCodecInputSchema;
@@ -135701,9 +135993,9 @@ exports.GridLayoutViewSchema = GridLayoutViewSchema;
135701
135993
  exports.GroupActiveSchema = GroupActiveSchema;
135702
135994
  exports.GroupCommandResultSchema = GroupCommandResultSchema;
135703
135995
  exports.GroupCommandsSchema = GroupCommandsSchema;
135704
- exports.GroupHelperSpecSchema = require_composition.GroupHelperSpecSchema;
135996
+ exports.GroupHelperSpecSchema = require_implemented_methods.GroupHelperSpecSchema;
135705
135997
  exports.GroupStatusSchema = GroupStatusSchema;
135706
- exports.GroupTemplateIdSchema = require_composition.GroupTemplateIdSchema;
135998
+ exports.GroupTemplateIdSchema = require_implemented_methods.GroupTemplateIdSchema;
135707
135999
  exports.HAP_AUDIO_BASE = HAP_AUDIO_BASE;
135708
136000
  exports.HAP_AUDIO_BITRATE_KBPS = HAP_AUDIO_BITRATE_KBPS;
135709
136001
  exports.HAP_AUDIO_VBV_KBITS = HAP_AUDIO_VBV_KBITS;
@@ -135732,14 +136024,14 @@ exports.HF_REPO = require_sleep.HF_REPO;
135732
136024
  exports.HISTORY_BUCKET_MS = HISTORY_BUCKET_MS;
135733
136025
  exports.HISTORY_CATALOG = HISTORY_CATALOG;
135734
136026
  exports.HISTORY_DEFAULT_MIN_INTERVAL_MS = require_sleep.HISTORY_DEFAULT_MIN_INTERVAL_MS;
135735
- exports.HISTORY_FAST_MS = require_composition.HISTORY_FAST_MS;
136027
+ exports.HISTORY_FAST_MS = require_implemented_methods.HISTORY_FAST_MS;
135736
136028
  exports.HISTORY_ITEM_CATALOG = HISTORY_ITEM_CATALOG;
135737
136029
  exports.HISTORY_NONE_CAPS = HISTORY_NONE_CAPS;
135738
- exports.HISTORY_SLOW_MS = require_composition.HISTORY_SLOW_MS;
135739
- 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;
135740
136032
  exports.HISTORY_UNIT_LABELS = require_sleep.HISTORY_UNIT_LABELS;
135741
136033
  exports.HOURS_PER_DAY = HOURS_PER_DAY;
135742
- exports.HOUR_MS = require_composition.HOUR_MS;
136034
+ exports.HOUR_MS = require_implemented_methods.HOUR_MS;
135743
136035
  exports.HUB_ADDRESS_ROLES = HUB_ADDRESS_ROLES;
135744
136036
  exports.HUB_MDNS_QUERY_NAME = HUB_MDNS_QUERY_NAME;
135745
136037
  exports.HUB_MDNS_ROLE = HUB_MDNS_ROLE;
@@ -135759,8 +136051,8 @@ exports.HeatPumpStatusSchema = HeatPumpStatusSchema;
135759
136051
  exports.HeatPumpSystemSchema = HeatPumpSystemSchema;
135760
136052
  exports.HeatPumpTemperaturesSchema = HeatPumpTemperaturesSchema;
135761
136053
  exports.HeatingValveStatusSchema = HeatingValveStatusSchema;
135762
- exports.HelperMemberSchema = require_composition.HelperMemberSchema;
135763
- exports.HelperSpecSchema = require_composition.HelperSpecSchema;
136054
+ exports.HelperMemberSchema = require_implemented_methods.HelperMemberSchema;
136055
+ exports.HelperSpecSchema = require_implemented_methods.HelperSpecSchema;
135764
136056
  exports.HeroLayoutRowsSchema = HeroLayoutRowsSchema;
135765
136057
  exports.HeroRowModelSchema = HeroRowModelSchema;
135766
136058
  exports.HfModelResolutionSchema = HfModelResolutionSchema;
@@ -135782,7 +136074,7 @@ exports.IDLE_ACTION_STATUS = IDLE_ACTION_STATUS;
135782
136074
  exports.INFERENCE_DEVICE_EXCLUSION_REASONS = INFERENCE_DEVICE_EXCLUSION_REASONS;
135783
136075
  exports.INITIAL_PULSE = INITIAL_PULSE;
135784
136076
  exports.INITIAL_SPAN = INITIAL_SPAN;
135785
- exports.INTEGRAL_OUTPUTS = require_composition.INTEGRAL_OUTPUTS;
136077
+ exports.INTEGRAL_OUTPUTS = require_implemented_methods.INTEGRAL_OUTPUTS;
135786
136078
  exports.INTERNAL_ACTION_PREFIX = INTERNAL_ACTION_PREFIX;
135787
136079
  exports.INVERTIBLE_CAPS = INVERTIBLE_CAPS;
135788
136080
  exports.IR_TIMINGS_MAX = IR_TIMINGS_MAX;
@@ -135802,7 +136094,7 @@ exports.InstallDesktopUpdateReasonSchema = InstallDesktopUpdateReasonSchema;
135802
136094
  exports.InstallDesktopUpdateResultSchema = InstallDesktopUpdateResultSchema;
135803
136095
  exports.InstalledPackageSchema = InstalledPackageSchema;
135804
136096
  exports.InstanceInUseError = InstanceInUseError;
135805
- exports.IntegralHelperSpecSchema = require_composition.IntegralHelperSpecSchema;
136097
+ exports.IntegralHelperSpecSchema = require_implemented_methods.IntegralHelperSpecSchema;
135806
136098
  exports.IntegrationInstanceDescriptionSchema = IntegrationInstanceDescriptionSchema;
135807
136099
  exports.IntegrationInstanceDiscoverySchema = IntegrationInstanceDiscoverySchema;
135808
136100
  exports.IntegrationInstanceIdSchema = IntegrationInstanceIdSchema;
@@ -135829,7 +136121,7 @@ exports.KEYCHAIN_MAX_REFS_PER_CALL = KEYCHAIN_MAX_REFS_PER_CALL;
135829
136121
  exports.KEYCHAIN_RESET_CONFIRMATION = KEYCHAIN_RESET_CONFIRMATION;
135830
136122
  exports.KEYCHAIN_RESET_TRIGGER_ACTOR = KEYCHAIN_RESET_TRIGGER_ACTOR;
135831
136123
  exports.KNOWN_CAP_NAMES = KNOWN_CAP_NAMES;
135832
- exports.KWH_PER_WATT_MS = require_composition.KWH_PER_WATT_MS;
136124
+ exports.KWH_PER_WATT_MS = require_implemented_methods.KWH_PER_WATT_MS;
135833
136125
  exports.KeptReasonSchema = KeptReasonSchema;
135834
136126
  exports.KeyEventSchema = KeyEventSchema;
135835
136127
  exports.KeychainAdminSecretSchema = KeychainAdminSecretSchema;
@@ -135961,18 +136253,18 @@ exports.MAX_CAMERA_SENSORS = MAX_CAMERA_SENSORS;
135961
136253
  exports.MAX_CLIP_EVENT_IDS = MAX_CLIP_EVENT_IDS;
135962
136254
  exports.MAX_CLIP_LABELS = MAX_CLIP_LABELS;
135963
136255
  exports.MAX_COMPONENT_BUTTONS = MAX_COMPONENT_BUTTONS;
135964
- exports.MAX_COMPOSITION_CODE_LENGTH = require_composition.MAX_COMPOSITION_CODE_LENGTH;
135965
- exports.MAX_COMPOSITION_FEATURES = require_composition.MAX_COMPOSITION_FEATURES;
135966
- exports.MAX_COMPOSITION_FIELDS_PER_FEATURE = require_composition.MAX_COMPOSITION_FIELDS_PER_FEATURE;
135967
- 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;
135968
136260
  exports.MAX_CONDITION_DEPTH = MAX_CONDITION_DEPTH;
135969
136261
  exports.MAX_CONDITION_LEAVES = MAX_CONDITION_LEAVES;
135970
- exports.MAX_EXPRESSION_AST_NODES = require_composition.MAX_EXPRESSION_AST_NODES;
135971
- exports.MAX_EXPRESSION_BINDINGS = require_composition.MAX_EXPRESSION_BINDINGS;
135972
- exports.MAX_EXPRESSION_CALL_ARGS = require_composition.MAX_EXPRESSION_CALL_ARGS;
135973
- exports.MAX_EXPRESSION_EVAL_STEPS = require_composition.MAX_EXPRESSION_EVAL_STEPS;
135974
- exports.MAX_EXPRESSION_SOURCE_LENGTH = require_composition.MAX_EXPRESSION_SOURCE_LENGTH;
135975
- 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;
135976
136268
  exports.MAX_HOLD_ATTEMPTS_LIMIT = MAX_HOLD_ATTEMPTS_LIMIT;
135977
136269
  exports.MAX_KEYS = MAX_KEYS;
135978
136270
  exports.MAX_LAYOUT_GROUPS = MAX_LAYOUT_GROUPS;
@@ -136003,8 +136295,8 @@ exports.MIGRATION_API_V1_METHODS = MIGRATION_API_V1_METHODS;
136003
136295
  exports.MIGRATION_API_VERSION = require_sleep.MIGRATION_API_VERSION;
136004
136296
  exports.MIGRATION_ID_PATTERN = MIGRATION_ID_PATTERN;
136005
136297
  exports.MINUTES_PER_DAY = MINUTES_PER_DAY;
136006
- exports.MINUTE_MS = require_composition.MINUTE_MS;
136007
- 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;
136008
136300
  exports.MIN_RUN_MS = MIN_RUN_MS;
136009
136301
  exports.MIN_SCRUBBED_LENGTH = require_sleep.MIN_SCRUBBED_LENGTH;
136010
136302
  exports.MIN_SESSIONS_PER_DEVICE_RANGE = MIN_SESSIONS_PER_DEVICE_RANGE;
@@ -136205,6 +136497,7 @@ exports.NC_SYSTEM_EVENT_SUMMARY_FAMILIES = NC_SYSTEM_EVENT_SUMMARY_FAMILIES;
136205
136497
  exports.NC_SYSTEM_RULE_KINDS = NC_SYSTEM_RULE_KINDS;
136206
136498
  exports.NC_TAXONOMY = NC_TAXONOMY;
136207
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;
136208
136501
  exports.NC_TEMPLATE_VARS = NC_TEMPLATE_VARS;
136209
136502
  exports.NC_UPDATE_EVENT_PACKAGE_NAMES = NC_UPDATE_EVENT_PACKAGE_NAMES;
136210
136503
  exports.NETWORK_LINK_TYPES = NETWORK_LINK_TYPES;
@@ -136212,10 +136505,11 @@ exports.NETWORK_LINK_UNKNOWN = NETWORK_LINK_UNKNOWN;
136212
136505
  exports.NEXT_OCCURRENCE_HORIZON_DAYS = NEXT_OCCURRENCE_HORIZON_DAYS;
136213
136506
  exports.NODE_BENCHMARK_DEFAULTS = NODE_BENCHMARK_DEFAULTS;
136214
136507
  exports.NODE_COLOR_IDS = require_node_color.NODE_COLOR_IDS;
136508
+ exports.NOTIFICATION_FIELDS = NOTIFICATION_FIELDS;
136215
136509
  exports.NOTIFICATION_OUTPUT_CAP = NOTIFICATION_OUTPUT_CAP;
136216
136510
  exports.NOT_A_HERO_FACT = NOT_A_HERO_FACT;
136217
136511
  exports.NO_MEASURED_CAPACITY = NO_MEASURED_CAPACITY;
136218
- exports.NUMERIC_AGGREGATES = require_composition.NUMERIC_AGGREGATES;
136512
+ exports.NUMERIC_AGGREGATES = require_implemented_methods.NUMERIC_AGGREGATES;
136219
136513
  exports.NativeCropBboxSchema = NativeCropBboxSchema;
136220
136514
  exports.NativeCropRefSchema = NativeCropRefSchema;
136221
136515
  exports.NativeCropResultSchema = NativeCropResultSchema;
@@ -136315,6 +136609,8 @@ exports.NcSystemEventDeliveryModeSchema = NcSystemEventDeliveryModeSchema;
136315
136609
  exports.NcSystemEventDeliverySchema = NcSystemEventDeliverySchema;
136316
136610
  exports.NcSystemEventDeliveryToggleSchema = NcSystemEventDeliveryToggleSchema;
136317
136611
  exports.NcSystemEventKindSchema = NcSystemEventKindSchema;
136612
+ exports.NcTargetOverrideSchema = NcTargetOverrideSchema;
136613
+ exports.NcTargetOverridesSchema = NcTargetOverridesSchema;
136318
136614
  exports.NcTaxonomyEntrySchema = NcTaxonomyEntrySchema;
136319
136615
  exports.NcTaxonomySchema = NcTaxonomySchema;
136320
136616
  exports.NcTemplateDefaultSchema = NcTemplateDefaultSchema;
@@ -136373,6 +136669,7 @@ exports.NodeRemovedInputSchema = NodeRemovedInputSchema;
136373
136669
  exports.NodeRemovedResultSchema = NodeRemovedResultSchema;
136374
136670
  exports.NotificationActionIconSchema = NotificationActionIconSchema;
136375
136671
  exports.NotificationActionSchema = NotificationActionSchema;
136672
+ exports.NotificationFieldSchema = NotificationFieldSchema;
136376
136673
  exports.NotificationFormatSchema = NotificationFormatSchema;
136377
136674
  exports.NotificationSchema = NotificationSchema;
136378
136675
  exports.NotificationTargetStore = NotificationTargetStore;
@@ -136385,6 +136682,7 @@ exports.OPERATOR_WRITTEN_STALE_MS = OPERATOR_WRITTEN_STALE_MS;
136385
136682
  exports.OPS_LOG_DEFAULT_LIMIT = OPS_LOG_DEFAULT_LIMIT;
136386
136683
  exports.OPS_LOG_RING_DEFAULT_MAX = OPS_LOG_RING_DEFAULT_MAX;
136387
136684
  exports.ORPHAN_SWEEP_MIN_INTERVAL_MS = ORPHAN_SWEEP_MIN_INTERVAL_MS;
136685
+ exports.OSD_TEMPLATE_TEXT_MAX = OSD_TEMPLATE_TEXT_MAX;
136388
136686
  exports.OVERFLOW_REASON = OVERFLOW_REASON;
136389
136687
  exports.OVERLAY_LAYERS = OVERLAY_LAYERS;
136390
136688
  exports.OWNER_ONLY_EVENT_CATEGORIES = require_event_category.OWNER_ONLY_EVENT_CATEGORIES;
@@ -136417,14 +136715,9 @@ exports.OsdRenderOutcomeEnum = OsdRenderOutcomeEnum;
136417
136715
  exports.OsdRenderResultSchema = OsdRenderResultSchema;
136418
136716
  exports.OsdSlotBindingSchema = OsdSlotBindingSchema;
136419
136717
  exports.OsdSlotViewSchema = OsdSlotViewSchema;
136420
- exports.OsdSourceOptionSchema = OsdSourceOptionSchema;
136421
136718
  exports.OsdSourceSchema = OsdSourceSchema;
136422
- exports.OsdSourceValueTypeEnum = OsdSourceValueTypeEnum;
136423
136719
  exports.OsdStatusSchema = OsdStatusSchema;
136424
- exports.OsdTemplateBindingSchema = OsdTemplateBindingSchema;
136425
- exports.OsdTemplateFormatSchema = OsdTemplateFormatSchema;
136426
- exports.OsdTemplatePickSchema = OsdTemplatePickSchema;
136427
- exports.OsdTemplateTokenKindSchema = OsdTemplateTokenKindSchema;
136720
+ exports.OsdTemplatePreviewSchema = OsdTemplatePreviewSchema;
136428
136721
  exports.OverrideDraftSchema = OverrideDraftSchema;
136429
136722
  exports.PALETTE_BACKGROUNDS = PALETTE_BACKGROUNDS;
136430
136723
  exports.PALETTE_ENTRY_IDS = PALETTE_ENTRY_IDS;
@@ -136617,17 +136910,17 @@ exports.REMOTE_WIDGET_ROLES = REMOTE_WIDGET_ROLES;
136617
136910
  exports.REMOVAL_RECONCILE_INTERVAL_MS = REMOVAL_RECONCILE_INTERVAL_MS;
136618
136911
  exports.REMOVED_MODEL_IDS = REMOVED_MODEL_IDS;
136619
136912
  exports.REMOVE_LEAF = require_sleep.REMOVE_LEAF;
136620
- exports.RESERVED_BINDING_NAMES = require_composition.RESERVED_BINDING_NAMES;
136913
+ exports.RESERVED_BINDING_NAMES = require_implemented_methods.RESERVED_BINDING_NAMES;
136621
136914
  exports.RESERVED_COLLECTION_SOURCES = RESERVED_COLLECTION_SOURCES;
136622
- exports.RESET_PERIODS = require_composition.RESET_PERIODS;
136915
+ exports.RESET_PERIODS = require_implemented_methods.RESET_PERIODS;
136623
136916
  exports.RESTORED_CAP_NAMES = RESTORED_CAP_NAMES;
136624
- exports.RESTREAM_INPUT_PROBE = require_composition.RESTREAM_INPUT_PROBE;
136917
+ exports.RESTREAM_INPUT_PROBE = require_implemented_methods.RESTREAM_INPUT_PROBE;
136625
136918
  exports.RETRAIN_REVIEW_ADJUSTED_IOU = RETRAIN_REVIEW_ADJUSTED_IOU;
136626
136919
  exports.RETRAIN_REVIEW_MATCH_IOU = RETRAIN_REVIEW_MATCH_IOU;
136627
136920
  exports.RETRAIN_REVIEW_STATUSES = RETRAIN_REVIEW_STATUSES;
136628
136921
  exports.RETRAIN_REVISION_CONFLICT = RETRAIN_REVISION_CONFLICT;
136629
136922
  exports.REVALIDATE_AFTER_MS = require_sleep.REVALIDATE_AFTER_MS;
136630
- exports.ROLLING_SPANS = require_composition.ROLLING_SPANS;
136923
+ exports.ROLLING_SPANS = require_implemented_methods.ROLLING_SPANS;
136631
136924
  exports.ROOM_EXAMPLE_MOTION_SOURCES = ROOM_EXAMPLE_MOTION_SOURCES;
136632
136925
  exports.ROOM_EXAMPLE_TEMPERATURE_SOURCES = ROOM_EXAMPLE_TEMPERATURE_SOURCES;
136633
136926
  exports.ROOM_OCCUPANCY_WINDOW_MS = ROOM_OCCUPANCY_WINDOW_MS;
@@ -136816,7 +137109,7 @@ exports.RetrainVerdictValueSchema = RetrainVerdictValueSchema;
136816
137109
  exports.RevConflictError = require_sleep.RevConflictError;
136817
137110
  exports.RevokeOwnDeviceCertificateResultSchema = RevokeOwnDeviceCertificateResultSchema;
136818
137111
  exports.RingBuffer = RingBuffer;
136819
- exports.RollingWindowSchema = require_composition.RollingWindowSchema;
137112
+ exports.RollingWindowSchema = require_implemented_methods.RollingWindowSchema;
136820
137113
  exports.RootStepSupplySchema = RootStepSupplySchema;
136821
137114
  exports.RtpSourceSchema = RtpSourceSchema;
136822
137115
  exports.RtspRestreamEntrySchema = RtspRestreamEntrySchema;
@@ -136860,7 +137153,7 @@ exports.SECRET_REF_SCHEME = require_sleep.SECRET_REF_SCHEME;
136860
137153
  exports.SENSOR_FEATURES = SENSOR_FEATURES;
136861
137154
  exports.SENSOR_MAP = SENSOR_MAP;
136862
137155
  exports.SERIAL_CAPACITY_CAMERA_FPS = SERIAL_CAPACITY_CAMERA_FPS;
136863
- exports.SERIES_KINDS = require_composition.SERIES_KINDS;
137156
+ exports.SERIES_KINDS = require_implemented_methods.SERIES_KINDS;
136864
137157
  exports.SERVER_NAME_MAX_LENGTH = SERVER_NAME_MAX_LENGTH;
136865
137158
  exports.SERVER_NAME_SETTING_KEY = SERVER_NAME_SETTING_KEY;
136866
137159
  exports.SESSION_LOST_ALERT_CATEGORY = SESSION_LOST_ALERT_CATEGORY;
@@ -136880,17 +137173,17 @@ exports.SMTP_INBOUND_RING_MAX_AGE_MS = SMTP_INBOUND_RING_MAX_AGE_MS;
136880
137173
  exports.SMTP_INBOUND_RING_MAX_MESSAGES = SMTP_INBOUND_RING_MAX_MESSAGES;
136881
137174
  exports.SMTP_INBOUND_TEXT_MAX_CHARS = SMTP_INBOUND_TEXT_MAX_CHARS;
136882
137175
  exports.SMTP_RECIPIENT_CLAIMED = SMTP_RECIPIENT_CLAIMED;
136883
- exports.SOURCE_CAPS = require_composition.SOURCE_CAPS;
136884
- exports.SOURCE_CAP_ACTIVE_FIELD = require_composition.SOURCE_CAP_ACTIVE_FIELD;
136885
- exports.SOURCE_CAP_CHANGED_AT_FIELD = require_composition.SOURCE_CAP_CHANGED_AT_FIELD;
136886
- 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;
136887
137180
  exports.SOURCE_INFO_METADATA_KEY = SOURCE_INFO_METADATA_KEY;
136888
137181
  exports.SSO_STATE_COOKIE = SSO_STATE_COOKIE;
136889
137182
  exports.SSO_STATE_COOKIE_MAX_AGE_SEC = SSO_STATE_COOKIE_MAX_AGE_SEC;
136890
137183
  exports.STATE_LABELS = STATE_LABELS;
136891
137184
  exports.STATE_LABEL_KEYS = STATE_LABEL_KEYS;
136892
137185
  exports.STATIONARY_OVERLAY_STYLE = STATIONARY_OVERLAY_STYLE;
136893
- exports.STATISTIC_STATS = require_composition.STATISTIC_STATS;
137186
+ exports.STATISTIC_STATS = require_implemented_methods.STATISTIC_STATS;
136894
137187
  exports.STEP_DEVICE_CONCURRENCY = STEP_DEVICE_CONCURRENCY;
136895
137188
  exports.STORAGE_ACCESS_FALLBACK = STORAGE_ACCESS_FALLBACK;
136896
137189
  exports.STORAGE_BYTES_PER_GB = STORAGE_BYTES_PER_GB;
@@ -136989,8 +137282,8 @@ exports.StartEmbeddedInputSchema = StartEmbeddedInputSchema;
136989
137282
  exports.StartEnrollmentOutputSchema = StartEnrollmentOutputSchema;
136990
137283
  exports.StationaryObjectSchema = StationaryObjectSchema;
136991
137284
  exports.StationarySubjectSchema = StationarySubjectSchema;
136992
- exports.StatisticHelperSpecSchema = require_composition.StatisticHelperSpecSchema;
136993
- exports.StatisticWindowSchema = require_composition.StatisticWindowSchema;
137285
+ exports.StatisticHelperSpecSchema = require_implemented_methods.StatisticHelperSpecSchema;
137286
+ exports.StatisticWindowSchema = require_implemented_methods.StatisticWindowSchema;
136994
137287
  exports.StepDeviceTraceSchema = StepDeviceTraceSchema;
136995
137288
  exports.StepTemplateError = StepTemplateError;
136996
137289
  exports.StorageAbortUploadInputSchema = AbortUploadInputSchema;
@@ -137083,6 +137376,7 @@ exports.TamperStatusSchema = TamperStatusSchema;
137083
137376
  exports.TargetKindCapsSchema = TargetKindCapsSchema;
137084
137377
  exports.TargetKindLevelSchema = TargetKindLevelSchema;
137085
137378
  exports.TargetKindSchema = TargetKindSchema;
137379
+ exports.TargetKindTextCapsSchema = TargetKindTextCapsSchema;
137086
137380
  exports.TargetSchema = TargetSchema;
137087
137381
  exports.TemperatureSensorStatusSchema = TemperatureSensorStatusSchema;
137088
137382
  exports.TemplateDeleteResultSchema = TemplateDeleteResultSchema;
@@ -137099,7 +137393,7 @@ exports.TerminalSessionInfoSchema = TerminalSessionInfoSchema;
137099
137393
  exports.TestConnectionResultSchema = TestConnectionResultSchema;
137100
137394
  exports.TestConnectionStatusEnum = TestConnectionStatusEnum;
137101
137395
  exports.TestResultSchema = TestResultSchema;
137102
- exports.ThresholdHelperSpecSchema = require_composition.ThresholdHelperSpecSchema;
137396
+ exports.ThresholdHelperSpecSchema = require_implemented_methods.ThresholdHelperSpecSchema;
137103
137397
  exports.TimeSpecSchema = TimeSpecSchema;
137104
137398
  exports.TimedRunActuatorSchema = TimedRunActuatorSchema;
137105
137399
  exports.TimedRunOptionsSchema = TimedRunOptionsSchema;
@@ -137367,7 +137661,7 @@ exports.audioLabelChoices = audioLabelChoices;
137367
137661
  exports.audioMetricsCapability = audioMetricsCapability;
137368
137662
  exports.audioModeOf = audioModeOf;
137369
137663
  exports.audioOrDefaults = audioOrDefaults;
137370
- exports.audioPlanFromEncodeProfile = require_composition.audioPlanFromEncodeProfile;
137664
+ exports.audioPlanFromEncodeProfile = require_implemented_methods.audioPlanFromEncodeProfile;
137371
137665
  exports.audioScaleEraOf = audioScaleEraOf;
137372
137666
  exports.auditedFields = require_sleep.auditedFields;
137373
137667
  exports.authProviderCapability = authProviderCapability;
@@ -137388,7 +137682,7 @@ exports.brokerLinkPortsOver = brokerLinkPortsOver;
137388
137682
  exports.bucketStartOf = bucketStartOf;
137389
137683
  exports.buildActionSteps = buildActionSteps;
137390
137684
  exports.buildAddonRouteProvider = buildAddonRouteProvider;
137391
- exports.buildAudioArgs = require_composition.buildAudioArgs;
137685
+ exports.buildAudioArgs = require_implemented_methods.buildAudioArgs;
137392
137686
  exports.buildBenchStepTree = buildBenchStepTree;
137393
137687
  exports.buildCapabilityLookup = buildCapabilityLookup;
137394
137688
  exports.buildDeviceAdminUrl = buildDeviceAdminUrl;
@@ -137397,9 +137691,9 @@ exports.buildDeviceSignatureMessage = buildDeviceSignatureMessage;
137397
137691
  exports.buildDraftJsonSchema = buildDraftJsonSchema;
137398
137692
  exports.buildDraftPrompt = buildDraftPrompt;
137399
137693
  exports.buildEventKindDescriptor = buildEventKindDescriptor;
137400
- exports.buildFfmpegArgs = require_composition.buildFfmpegArgs;
137694
+ exports.buildFfmpegArgs = require_implemented_methods.buildFfmpegArgs;
137401
137695
  exports.buildHeroModel = buildHeroModel;
137402
- exports.buildInputArgs = require_composition.buildInputArgs;
137696
+ exports.buildInputArgs = require_implemented_methods.buildInputArgs;
137403
137697
  exports.buildLinkedInstances = buildLinkedInstances;
137404
137698
  exports.buildModelVariantGroups = buildModelVariantGroups;
137405
137699
  exports.buildNcTaxonomy = buildNcTaxonomy;
@@ -137414,7 +137708,7 @@ exports.buildStreamParamsConfigSchema = buildStreamParamsConfigSchema;
137414
137708
  exports.buildSubjectPath = buildSubjectPath;
137415
137709
  exports.buildTriggerTrace = buildTriggerTrace;
137416
137710
  exports.buildUserScopedNotificationTargetInstances = buildUserScopedNotificationTargetInstances;
137417
- exports.buildVideoArgs = require_composition.buildVideoArgs;
137711
+ exports.buildVideoArgs = require_implemented_methods.buildVideoArgs;
137418
137712
  exports.buildViewerLink = buildViewerLink;
137419
137713
  exports.buildVocabularySlice = buildVocabularySlice;
137420
137714
  exports.builtCapabilityBlockers = builtCapabilityBlockers;
@@ -137472,7 +137766,7 @@ exports.clipExportFailureOf = clipExportFailureOf;
137472
137766
  exports.clipLabelsForWindow = clipLabelsForWindow;
137473
137767
  exports.clipReasonHeaderValue = clipReasonHeaderValue;
137474
137768
  exports.cloneAlarmSettings = cloneAlarmSettings;
137475
- exports.cloneStatefulExpressionMemory = require_composition.cloneStatefulExpressionMemory;
137769
+ exports.cloneStatefulExpressionMemory = require_implemented_methods.cloneStatefulExpressionMemory;
137476
137770
  exports.clusterModelSettingKey = clusterModelSettingKey;
137477
137771
  exports.clusterStepSettingFieldsFor = clusterStepSettingFieldsFor;
137478
137772
  exports.clusterStepSettingKey = clusterStepSettingKey;
@@ -137499,8 +137793,8 @@ exports.commitWatchdogRestart = commitWatchdogRestart;
137499
137793
  exports.compareDraft = compareDraft;
137500
137794
  exports.compareToTarget = compareToTarget;
137501
137795
  exports.compareVersions = compareVersions;
137502
- exports.compileExpression = require_composition.compileExpression;
137503
- exports.compileExpressionSafe = require_composition.compileExpressionSafe;
137796
+ exports.compileExpression = require_implemented_methods.compileExpression;
137797
+ exports.compileExpressionSafe = require_implemented_methods.compileExpressionSafe;
137504
137798
  exports.compileHelper = compileHelper;
137505
137799
  exports.compileKeyedArrayOverride = compileKeyedArrayOverride;
137506
137800
  exports.compilePulseOverride = compilePulseOverride;
@@ -137508,17 +137802,17 @@ exports.compileScalarOverride = compileScalarOverride;
137508
137802
  exports.compileSpanOverride = compileSpanOverride;
137509
137803
  exports.composeInstanceKinds = composeInstanceKinds;
137510
137804
  exports.composeSwitchedOff = composeSwitchedOff;
137511
- exports.composedDeviceRef = require_composition.composedDeviceRef;
137512
- exports.composedDeviceStableId = require_composition.composedDeviceStableId;
137805
+ exports.composedDeviceRef = require_implemented_methods.composedDeviceRef;
137806
+ exports.composedDeviceStableId = require_implemented_methods.composedDeviceStableId;
137513
137807
  exports.composerCapability = composerCapability;
137514
137808
  exports.compositionEdges = compositionEdges;
137515
- exports.compositionFeatureEnabled = require_composition.compositionFeatureEnabled;
137809
+ exports.compositionFeatureEnabled = require_implemented_methods.compositionFeatureEnabled;
137516
137810
  exports.compositionFieldKey = compositionFieldKey;
137517
137811
  exports.compositionFillStatus = compositionFillStatus;
137518
- exports.compositionItemFieldPath = require_composition.compositionItemFieldPath;
137519
- exports.compositionReadKey = require_composition.compositionReadKey;
137520
- exports.compositionSliceKey = require_composition.compositionSliceKey;
137521
- 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;
137522
137816
  exports.compositionSourceRefs = compositionSourceRefs;
137523
137817
  exports.compositionTargetCaps = compositionTargetCaps;
137524
137818
  exports.computeCapacityShares = computeCapacityShares;
@@ -137557,7 +137851,7 @@ exports.createDeviceProxy = require_sleep.createDeviceProxy;
137557
137851
  exports.createDurableState = require_sleep.createDurableState;
137558
137852
  exports.createEvent = require_sleep.createEvent;
137559
137853
  exports.createEventBusSliceSource = require_sleep.createEventBusSliceSource;
137560
- exports.createExpressionScope = require_composition.createExpressionScope;
137854
+ exports.createExpressionScope = require_implemented_methods.createExpressionScope;
137561
137855
  exports.createHwAccelCache = createHwAccelCache;
137562
137856
  exports.createLazyTrpcSource = require_sleep.createLazyTrpcSource;
137563
137857
  exports.createLogChannelsProvider = createLogChannelsProvider;
@@ -137566,7 +137860,7 @@ exports.createRecordsAccess = require_sleep.createRecordsAccess;
137566
137860
  exports.createRuntimeStateBridge = createRuntimeStateBridge;
137567
137861
  exports.createSecretsAccess = require_sleep.createSecretsAccess;
137568
137862
  exports.createSliceHandle = require_sleep.createSliceHandle;
137569
- exports.createStatefulExpressionMemory = require_composition.createStatefulExpressionMemory;
137863
+ exports.createStatefulExpressionMemory = require_implemented_methods.createStatefulExpressionMemory;
137570
137864
  exports.createSystemProxy = createSystemProxy;
137571
137865
  exports.customAction = require_sleep.customAction;
137572
137866
  exports.customKeyOfRole = customKeyOfRole;
@@ -137606,12 +137900,14 @@ exports.defineRecordKinds = require_sleep.defineRecordKinds;
137606
137900
  exports.dehydrateConfigField = require_sleep.dehydrateConfigField;
137607
137901
  exports.dehydrateSchema = require_sleep.dehydrateSchema;
137608
137902
  exports.deleteAlarmProfile = deleteAlarmProfile;
137903
+ exports.deliverableFields = deliverableFields;
137609
137904
  exports.deliveryParamsDeclaredBy = deliveryParamsDeclaredBy;
137610
137905
  exports.derivativeDraft = derivativeDraft;
137611
137906
  exports.derivativeUnitLabel = derivativeUnitLabel;
137612
137907
  exports.deriveBatteryPresence = deriveBatteryPresence;
137613
137908
  exports.deriveCameraSwitches = deriveCameraSwitches;
137614
137909
  exports.deriveDetailCropRect = deriveDetailCropRect;
137910
+ exports.deriveFeatureProvenance = deriveFeatureProvenance;
137615
137911
  exports.deriveMaskSupplies = deriveMaskSupplies;
137616
137912
  exports.deriveMediaPlayerView = deriveMediaPlayerView;
137617
137913
  exports.derivePostTriggeredAction = derivePostTriggeredAction;
@@ -137658,7 +137954,7 @@ exports.deviceStateCapability = deviceStateCapability;
137658
137954
  exports.deviceStatusCapability = deviceStatusCapability;
137659
137955
  exports.deviceTransitionsCapability = deviceTransitionsCapability;
137660
137956
  exports.diffStepSettings = diffStepSettings;
137661
- exports.disarmRoseMemory = require_composition.disarmRoseMemory;
137957
+ exports.disarmRoseMemory = require_implemented_methods.disarmRoseMemory;
137662
137958
  exports.dishwasherCapability = dishwasherCapability;
137663
137959
  exports.displayPaletteCapability = displayPaletteCapability;
137664
137960
  exports.displayUnitFor = require_sleep.displayUnitFor;
@@ -137697,19 +137993,19 @@ exports.enumerateSchemaFields = enumerateSchemaFields;
137697
137993
  exports.errMsg = require_composed_stable_id.errMsg;
137698
137994
  exports.estimateNodeBenchmarkDurationMs = estimateNodeBenchmarkDurationMs;
137699
137995
  exports.evaluateAggregate = evaluateAggregate;
137700
- exports.evaluateAst = require_composition.evaluateAst;
137996
+ exports.evaluateAst = require_implemented_methods.evaluateAst;
137701
137997
  exports.evaluateCompositionField = evaluateCompositionField;
137702
137998
  exports.evaluateConditionTree = evaluateConditionTree;
137703
- exports.evaluateCount = require_composition.evaluateCount;
137704
- exports.evaluateDerivative = require_composition.evaluateDerivative;
137705
- 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;
137706
138002
  exports.evaluatePoolMemory = evaluatePoolMemory;
137707
- exports.evaluateRose = require_composition.evaluateRose;
137708
- exports.evaluateSensorEdge = require_composition.evaluateSensorEdge;
137709
- exports.evaluateSensorLevelEdge = require_composition.evaluateSensorLevelEdge;
137710
- 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;
137711
138007
  exports.evaluateStationaryTrigger = evaluateStationaryTrigger;
137712
- exports.evaluateStatistic = require_composition.evaluateStatistic;
138008
+ exports.evaluateStatistic = require_implemented_methods.evaluateStatistic;
137713
138009
  exports.evaluateStepCondition = evaluateStepCondition;
137714
138010
  exports.evaluateWhenTree = evaluateWhenTree;
137715
138011
  exports.evaluateZoneRules = evaluateZoneRules;
@@ -137737,17 +138033,18 @@ exports.failureRate = failureRate;
137737
138033
  exports.fanControlCapability = fanControlCapability;
137738
138034
  exports.fanOutTargets = fanOutTargets;
137739
138035
  exports.fanPresetsCapability = fanPresetsCapability;
137740
- exports.featureFieldEntries = require_composition.featureFieldEntries;
138036
+ exports.featureFieldEntries = require_implemented_methods.featureFieldEntries;
137741
138037
  exports.featureForwards = featureForwards;
137742
138038
  exports.featureOfRole = featureOfRole;
137743
138039
  exports.featureProbeCapability = featureProbeCapability;
137744
- exports.featureSources = require_composition.featureSources;
138040
+ exports.featureSources = require_implemented_methods.featureSources;
137745
138041
  exports.featuresOfBoundCaps = require_composed_stable_id.featuresOfBoundCaps;
137746
138042
  exports.feederCustomizationExample = feederCustomizationExample;
137747
138043
  exports.feederExampleSources = feederExampleSources;
137748
138044
  exports.ffmpegRate = ffmpegRate;
137749
138045
  exports.fieldEntryToSource = fieldEntryToSource;
137750
- exports.fieldReads = require_composition.fieldReads;
138046
+ exports.fieldReads = require_implemented_methods.fieldReads;
138047
+ exports.fieldSupportForTargets = fieldSupportForTargets;
137751
138048
  exports.fieldUnitKeys = fieldUnitKeys;
137752
138049
  exports.fieldUserFinder = fieldUserFinder;
137753
138050
  exports.fieldsPinnedAtValueBelow = fieldsPinnedAtValueBelow;
@@ -137815,7 +138112,7 @@ exports.heatPumpControlCapability = heatPumpControlCapability;
137815
138112
  exports.heatPumpInstantCop = heatPumpInstantCop;
137816
138113
  exports.heatPumpStatusCapability = heatPumpStatusCapability;
137817
138114
  exports.heatingValveCapability = heatingValveCapability;
137818
- exports.helperMembers = require_composition.helperMembers;
138115
+ exports.helperMembers = require_implemented_methods.helperMembers;
137819
138116
  exports.helperSaveProblems = helperSaveProblems;
137820
138117
  exports.heroArgsWithValue = heroArgsWithValue;
137821
138118
  exports.heroLayoutCapability = heroLayoutCapability;
@@ -137823,7 +138120,7 @@ exports.heroText = require_sleep.t;
137823
138120
  exports.hfModelUrl = require_sleep.hfModelUrl;
137824
138121
  exports.historyFieldsFor = historyFieldsFor;
137825
138122
  exports.historyItemFieldPath = require_sleep.historyItemFieldPath;
137826
- exports.historyRetentionFromSettings = require_composition.historyRetentionFromSettings;
138123
+ exports.historyRetentionFromSettings = require_implemented_methods.historyRetentionFromSettings;
137827
138124
  exports.historyUnitFor = require_sleep.historyUnitFor;
137828
138125
  exports.holdRefusalOf = holdRefusalOf;
137829
138126
  exports.holdVarSlots = holdVarSlots;
@@ -137839,6 +138136,7 @@ exports.iconsInCategory = iconsInCategory;
137839
138136
  exports.imageCapability = imageCapability;
137840
138137
  exports.imageModesForKind = imageModesForKind;
137841
138138
  exports.imageSettingsCapability = imageSettingsCapability;
138139
+ exports.implementedMethodsOf = require_implemented_methods.implementedMethodsOf;
137842
138140
  exports.inferExpressionKinds = inferExpressionKinds;
137843
138141
  exports.inferModelProvider = inferModelProvider;
137844
138142
  exports.ingestReading = ingestReading;
@@ -137848,9 +138146,9 @@ exports.instanceApiOverTargets = instanceApiOverTargets;
137848
138146
  exports.instanceSourceOverApi = instanceSourceOverApi;
137849
138147
  exports.instancesOfCap = instancesOfCap;
137850
138148
  exports.instantKindsOf = instantKindsOf;
137851
- exports.integralCadenceMs = require_composition.integralCadenceMs;
138149
+ exports.integralCadenceMs = require_implemented_methods.integralCadenceMs;
137852
138150
  exports.integralDraft = integralDraft;
137853
- exports.integrateReading = require_composition.integrateReading;
138151
+ exports.integrateReading = require_implemented_methods.integrateReading;
137854
138152
  exports.integrationBodyFromRows = integrationBodyFromRows;
137855
138153
  exports.integrationInstancesCapability = integrationInstancesCapability;
137856
138154
  exports.integrationRowsApiOver = require_sleep.integrationRowsApiOver;
@@ -137865,7 +138163,7 @@ exports.interpolate = interpolate;
137865
138163
  exports.interpretStoredClusterModel = interpretStoredClusterModel;
137866
138164
  exports.invalidClusterStepModelEntries = invalidClusterStepModelEntries;
137867
138165
  exports.invertPresetFeature = invertPresetFeature;
137868
- exports.invocationFromEncodeProfile = require_composition.invocationFromEncodeProfile;
138166
+ exports.invocationFromEncodeProfile = require_implemented_methods.invocationFromEncodeProfile;
137869
138167
  exports.irSourceProblem = irSourceProblem;
137870
138168
  exports.irTransmitterCapability = irTransmitterCapability;
137871
138169
  exports.isAgentOnlyPlacement = isAgentOnlyPlacement;
@@ -137903,13 +138201,14 @@ exports.isEventKindLabelKey = isEventKindLabelKey;
137903
138201
  exports.isEventLeaf = isEventLeaf;
137904
138202
  exports.isEventOwnerType = isEventOwnerType;
137905
138203
  exports.isFirstLevelMacroClass = isFirstLevelMacroClass;
137906
- exports.isForwardInputRef = require_composition.isForwardInputRef;
138204
+ exports.isForwardInputRef = require_implemented_methods.isForwardInputRef;
137907
138205
  exports.isHeldBackTemplateVar = isHeldBackTemplateVar;
137908
- exports.isHistoryHelper = require_composition.isHistoryHelper;
138206
+ exports.isHistoryHelper = require_implemented_methods.isHistoryHelper;
137909
138207
  exports.isIconKey = isIconKey;
137910
138208
  exports.isInstanceEnabled = require_sleep.isInstanceEnabled;
137911
138209
  exports.isInternalActionId = isInternalActionId;
137912
138210
  exports.isIsolatedBuiltin = isIsolatedBuiltin;
138211
+ exports.isKernelDerivedFeature = isKernelDerivedFeature;
137913
138212
  exports.isKeychainStoredField = require_sleep.isKeychainStoredField;
137914
138213
  exports.isKnownTemplateVar = isKnownTemplateVar;
137915
138214
  exports.isKnownTimeZone = isKnownTimeZone;
@@ -137950,10 +138249,10 @@ exports.isSecretRef = require_sleep.isSecretRef;
137950
138249
  exports.isSecretRefOwnedBy = require_sleep.isSecretRefOwnedBy;
137951
138250
  exports.isSingleHubAddressRole = isSingleHubAddressRole;
137952
138251
  exports.isSkippedTrace = isSkippedTrace;
137953
- exports.isSoftwareDecode = require_composition.isSoftwareDecode;
137954
- exports.isSourceCap = require_composition.isSourceCap;
138252
+ exports.isSoftwareDecode = require_implemented_methods.isSoftwareDecode;
138253
+ exports.isSourceCap = require_implemented_methods.isSourceCap;
137955
138254
  exports.isStateLabelKey = isStateLabelKey;
137956
- exports.isStatefulBuiltin = require_composition.isStatefulBuiltin;
138255
+ exports.isStatefulBuiltin = require_implemented_methods.isStatefulBuiltin;
137957
138256
  exports.isStorageLocationMode = isStorageLocationMode;
137958
138257
  exports.isSystemDelivery = isSystemDelivery;
137959
138258
  exports.isSystemEventFamily = isSystemEventFamily;
@@ -138004,7 +138303,7 @@ exports.locationIconKey = locationIconKey;
138004
138303
  exports.locationSimilarity = locationSimilarity;
138005
138304
  exports.lockControlCapability = lockControlCapability;
138006
138305
  exports.lockDoorLinkOfComposition = lockDoorLinkOfComposition;
138007
- exports.logBannerArgs = require_composition.logBannerArgs;
138306
+ exports.logBannerArgs = require_implemented_methods.logBannerArgs;
138008
138307
  exports.logChannelsCapability = logChannelsCapability;
138009
138308
  exports.logDestinationCapability = logDestinationCapability;
138010
138309
  exports.logLevelAtMost = logLevelAtMost;
@@ -138021,7 +138320,7 @@ exports.markdownToHtmlLite = markdownToHtmlLite;
138021
138320
  exports.markdownToText = markdownToText;
138022
138321
  exports.maskUrlCredentials = require_sleep.maskUrlCredentials;
138023
138322
  exports.matchDoAction = matchDoAction;
138024
- exports.maxDurationMs = require_composition.maxDurationMs;
138323
+ exports.maxDurationMs = require_implemented_methods.maxDurationMs;
138025
138324
  exports.mayReadLocation = mayReadLocation;
138026
138325
  exports.mayWriteToLocation = mayWriteToLocation;
138027
138326
  exports.measuredCapacityFromResults = measuredCapacityFromResults;
@@ -138077,7 +138376,7 @@ exports.ncMediaPolicyError = ncMediaPolicyError;
138077
138376
  exports.networkAccessCapability = networkAccessCapability;
138078
138377
  exports.networkLinkCapability = networkLinkCapability;
138079
138378
  exports.networkQualityCapability = networkQualityCapability;
138080
- exports.nextLocalMidnight = require_composition.nextLocalMidnight;
138379
+ exports.nextLocalMidnight = require_implemented_methods.nextLocalMidnight;
138081
138380
  exports.nextOccurrence = nextOccurrence;
138082
138381
  exports.nodeBenchmarkRefusals = nodeBenchmarkRefusals;
138083
138382
  exports.nodeCertificatesCapability = nodeCertificatesCapability;
@@ -138117,8 +138416,8 @@ exports.objectInputDeclaresRequiredDeviceId = objectInputDeclaresRequiredDeviceI
138117
138416
  exports.occupancyScope = occupancyScope;
138118
138417
  exports.occurrenceOn = occurrenceOn;
138119
138418
  exports.omitTransientConfig = require_sleep.omitTransientConfig;
138120
- exports.openReset = require_composition.openReset;
138121
- exports.openStatistic = require_composition.openStatistic;
138419
+ exports.openReset = require_implemented_methods.openReset;
138420
+ exports.openStatistic = require_implemented_methods.openStatistic;
138122
138421
  exports.optionalAncestors = optionalAncestors;
138123
138422
  exports.optionalLinkField = require_sleep.optionalLinkField;
138124
138423
  exports.optionalMethod = require_sleep.optionalMethod;
@@ -138147,7 +138446,7 @@ exports.parseCameraStreamConfig = parseCameraStreamConfig;
138147
138446
  exports.parseColorInput = parseColorInput;
138148
138447
  exports.parseCredentialScopes = parseCredentialScopes;
138149
138448
  exports.parseDeviceEnrollmentLink = parseDeviceEnrollmentLink;
138150
- exports.parseExpression = require_composition.parseExpression;
138449
+ exports.parseExpression = require_implemented_methods.parseExpression;
138151
138450
  exports.parseFlipperIr = parseFlipperIr;
138152
138451
  exports.parseJsonArray = require_sleep.parseJsonArray;
138153
138452
  exports.parseJsonObject = require_sleep.parseJsonObject;
@@ -138184,7 +138483,7 @@ exports.pickNativeLeaseOverride = pickNativeLeaseOverride;
138184
138483
  exports.pickPreferredRtspEntry = pickPreferredRtspEntry;
138185
138484
  exports.pickRequestOrigin = pickRequestOrigin;
138186
138485
  exports.pickRestartCandidate = pickRestartCandidate;
138187
- exports.pickVideoEncoder = require_composition.pickVideoEncoder;
138486
+ exports.pickVideoEncoder = require_implemented_methods.pickVideoEncoder;
138188
138487
  exports.pickerForCondition = pickerForCondition;
138189
138488
  exports.pickerForRuleClasses = pickerForRuleClasses;
138190
138489
  exports.pinUnderBenchmark = pinUnderBenchmark;
@@ -138198,8 +138497,8 @@ exports.planItems = planItems;
138198
138497
  exports.planMotionCropRegions = planMotionCropRegions;
138199
138498
  exports.planMotionCrops = planMotionCrops;
138200
138499
  exports.planRecoveryCrops = planRecoveryCrops;
138201
- exports.planResetTier = require_composition.planResetTier;
138202
- exports.planStatisticTier = require_composition.planStatisticTier;
138500
+ exports.planResetTier = require_implemented_methods.planResetTier;
138501
+ exports.planStatisticTier = require_implemented_methods.planStatisticTier;
138203
138502
  exports.plateGalleryCapability = plateGalleryCapability;
138204
138503
  exports.platformProbeCapability = platformProbeCapability;
138205
138504
  exports.plusCatalogDefaultClassFloors = plusCatalogDefaultClassFloors;
@@ -138263,6 +138562,7 @@ exports.rebootCapability = rebootCapability;
138263
138562
  exports.recommendNode = recommendNode;
138264
138563
  exports.reconcileBlockDevices = reconcileBlockDevices;
138265
138564
  exports.reconcileRemovedDevices = reconcileRemovedDevices;
138565
+ exports.reconcileReportedFeatures = reconcileReportedFeatures;
138266
138566
  exports.recordArrayItemPath = require_sleep.recordArrayItemPath;
138267
138567
  exports.recordEntriesCapability = recordEntriesCapability;
138268
138568
  exports.recordSecretCollection = require_sleep.recordSecretCollection;
@@ -138355,7 +138655,7 @@ exports.resolveSecretViewsIn = require_sleep.resolveSecretViewsIn;
138355
138655
  exports.resolveServerName = resolveServerName;
138356
138656
  exports.resolveStepArgs = resolveStepArgs;
138357
138657
  exports.resolveStepArgsWithTemplates = resolveStepArgsWithTemplates;
138358
- exports.resolveStreamMaps = require_composition.resolveStreamMaps;
138658
+ exports.resolveStreamMaps = require_implemented_methods.resolveStreamMaps;
138359
138659
  exports.resolveTemplateRef = resolveTemplateRef;
138360
138660
  exports.resolveVariantModelId = resolveVariantModelId;
138361
138661
  exports.resolveViewableDeviceIds = resolveViewableDeviceIds;
@@ -138370,7 +138670,7 @@ exports.rewriteLoginProxyLocation = rewriteLocation;
138370
138670
  exports.rewriteLoginProxyReferer = rewriteReferer;
138371
138671
  exports.rewriteLoginProxySetCookie = rewriteSetCookie;
138372
138672
  exports.roleSpec = roleSpec;
138373
- exports.rollingDurationMs = require_composition.rollingDurationMs;
138673
+ exports.rollingDurationMs = require_implemented_methods.rollingDurationMs;
138374
138674
  exports.roomCompositionExample = roomCompositionExample;
138375
138675
  exports.rootSuppliesOf = rootSuppliesOf;
138376
138676
  exports.rootSupplyServes = rootSupplyServes;
@@ -138410,6 +138710,7 @@ exports.runtimeStatePolicyFor = runtimeStatePolicyFor;
138410
138710
  exports.sameDoFamily = sameDoFamily;
138411
138711
  exports.sameHelperBody = sameHelperBody;
138412
138712
  exports.sameRead = sameRead;
138713
+ exports.sanitizeTargetOverride = sanitizeTargetOverride;
138413
138714
  exports.scalarTargetCount = scalarTargetCount;
138414
138715
  exports.sceneMonitorCapability = sceneMonitorCapability;
138415
138716
  exports.scheduleForSendTimes = scheduleForSendTimes;
@@ -138457,6 +138758,7 @@ exports.setPaletteInputSchema = setPaletteInputSchema;
138457
138758
  exports.settingValuesEqual = settingValuesEqual;
138458
138759
  exports.settingsBelow = settingsBelow;
138459
138760
  exports.settingsStoreCapability = settingsStoreCapability;
138761
+ exports.settleDeviceFeatures = settleDeviceFeatures;
138460
138762
  exports.shareViewGrantOf = shareViewGrantOf;
138461
138763
  exports.sharedActuatorFeatures = sharedActuatorFeatures;
138462
138764
  exports.sharedActuatorMethods = sharedActuatorMethods;
@@ -138471,9 +138773,9 @@ exports.siteZoneKey = siteZoneKey;
138471
138773
  exports.skipSignature = skipSignature;
138472
138774
  exports.sleep = require_sleep.sleep;
138473
138775
  exports.sleepCancellable = require_sleep.sleepCancellable;
138474
- exports.sliceActiveValue = require_composition.sliceActiveValue;
138776
+ exports.sliceActiveValue = require_implemented_methods.sliceActiveValue;
138475
138777
  exports.sliceCapOf = sliceCapOf;
138476
- exports.sliceChangedAt = require_composition.sliceChangedAt;
138778
+ exports.sliceChangedAt = require_implemented_methods.sliceChangedAt;
138477
138779
  exports.slugifyDeviceAlias = slugifyDeviceAlias;
138478
138780
  exports.smartIrDraft = smartIrDraft;
138479
138781
  exports.smokeCapability = smokeCapability;
@@ -138493,7 +138795,7 @@ exports.startMoverUnderClearance = startMoverUnderClearance;
138493
138795
  exports.startReachabilityPoll = startReachabilityPoll;
138494
138796
  exports.stateLabel = stateLabel;
138495
138797
  exports.stateVocabularyFor = stateVocabularyFor;
138496
- exports.statisticCadenceMs = require_composition.statisticCadenceMs;
138798
+ exports.statisticCadenceMs = require_implemented_methods.statisticCadenceMs;
138497
138799
  exports.statisticDraft = statisticDraft;
138498
138800
  exports.statusInstanceOf = statusInstanceOf;
138499
138801
  exports.stepModelRunsOnFormat = stepModelRunsOnFormat;
@@ -138585,7 +138887,7 @@ exports.timedRunRemaining = timedRunRemaining;
138585
138887
  exports.timedRunSeconds = timedRunSeconds;
138586
138888
  exports.toAppLinkHubOrigin = toAppLinkHubOrigin;
138587
138889
  exports.toDeviceSummary = toDeviceSummary;
138588
- exports.toExpressionValue = require_composition.toExpressionValue;
138890
+ exports.toExpressionValue = require_implemented_methods.toExpressionValue;
138589
138891
  exports.toNodeId = require_sleep.toNodeId;
138590
138892
  exports.toPercentShares = toPercentShares;
138591
138893
  exports.toSecretFieldView = require_sleep.toSecretFieldView;
@@ -138593,7 +138895,7 @@ exports.toStreamSourceEntry = toStreamSourceEntry;
138593
138895
  exports.toTimings = toTimings;
138594
138896
  exports.toastCapability = toastCapability;
138595
138897
  exports.toggleAudioLabel = toggleAudioLabel;
138596
- exports.tokenize = require_composition.tokenize;
138898
+ exports.tokenize = require_implemented_methods.tokenize;
138597
138899
  exports.trainingCapability = trainingCapability;
138598
138900
  exports.trainingProviderCapability = trainingProviderCapability;
138599
138901
  exports.transcodeBody = transcodeBody;
@@ -138621,7 +138923,7 @@ exports.vacuumControlCapability = vacuumControlCapability;
138621
138923
  exports.validateComposition = validateComposition;
138622
138924
  exports.validateCustomAddress = validateCustomAddress;
138623
138925
  exports.validateDraft = validateDraft;
138624
- exports.validateExpressionSource = require_composition.validateExpressionSource;
138926
+ exports.validateExpressionSource = require_implemented_methods.validateExpressionSource;
138625
138927
  exports.validatePalette = validatePalette;
138626
138928
  exports.validateRecipeBounds = validateRecipeBounds;
138627
138929
  exports.validateSchedulerInput = validateSchedulerInput;
@@ -138642,7 +138944,7 @@ exports.vocabActionIdFor = require_sleep.vocabActionIdFor;
138642
138944
  exports.vocabularyActionsForDevice = actionsForDevice$1;
138643
138945
  exports.vocabularyTriggersForDevice = triggersForDevice;
138644
138946
  exports.waterHeaterCapability = waterHeaterCapability;
138645
- exports.wattMillisecondsToKwh = require_composition.wattMillisecondsToKwh;
138947
+ exports.wattMillisecondsToKwh = require_implemented_methods.wattMillisecondsToKwh;
138646
138948
  exports.weatherCapability = weatherCapability;
138647
138949
  exports.webrtcClientHintsSchema = webrtcClientHintsSchema;
138648
138950
  exports.webrtcSessionCapability = webrtcSessionCapability;