@camstack/server 1.2.816 → 1.2.818

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 (97) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/api/core/cap-providers.js +2 -43
  3. package/dist/api/trpc/generated-cap-routers.js +14 -17
  4. package/dist/core/addon/addon-registry.service.js +3 -3
  5. package/dist/core/addon/instance-lifecycle.js +79 -4
  6. package/package.json +13 -9
  7. package/system/dist/{agent-https-pirjJaDw.js → agent-https-ChriyNA8.js} +1 -1
  8. package/system/dist/{agent-https-CK_B6QXQ.mjs → agent-https-rhOY61af.mjs} +1 -1
  9. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  10. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  11. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  12. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  13. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  14. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  15. package/system/dist/builtins/autotrack/index.js +1 -1
  16. package/system/dist/builtins/autotrack/index.mjs +1 -1
  17. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  18. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  19. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  20. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  21. package/system/dist/builtins/camera-grid/index.js +8 -4
  22. package/system/dist/builtins/camera-grid/index.mjs +8 -4
  23. package/system/dist/builtins/composer/composer.addon.js +3 -3
  24. package/system/dist/builtins/composer/composer.addon.mjs +3 -3
  25. package/system/dist/builtins/console-logging/index.js +1 -1
  26. package/system/dist/builtins/console-logging/index.mjs +1 -1
  27. package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +1 -0
  28. package/system/dist/builtins/core-blocks/core-blocks.addon.js +357 -19
  29. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +357 -19
  30. package/system/dist/builtins/core-blocks/migrations/index.d.ts +5 -1
  31. package/system/dist/builtins/core-blocks/migrations/remote-config-migrations.d.ts +62 -0
  32. package/system/dist/builtins/core-blocks/remote-service.d.ts +2 -2
  33. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  34. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  35. package/system/dist/builtins/device-manager/device-manager.addon.js +1 -1
  36. package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
  37. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  38. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  39. package/system/dist/builtins/keychain/index.js +4 -4
  40. package/system/dist/builtins/keychain/index.mjs +4 -4
  41. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  42. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  43. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  44. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  45. package/system/dist/builtins/local-network/local-network.addon.js +2 -2
  46. package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
  47. package/system/dist/builtins/loki-logging/index.js +3 -3
  48. package/system/dist/builtins/loki-logging/index.mjs +3 -3
  49. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  50. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  51. package/system/dist/builtins/platform-probe/index.js +1 -1
  52. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  53. package/system/dist/builtins/record-entries/index.js +1 -1
  54. package/system/dist/builtins/record-entries/index.mjs +1 -1
  55. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  56. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  57. package/system/dist/builtins/snapshot/index.js +1 -1
  58. package/system/dist/builtins/snapshot/index.mjs +1 -1
  59. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  60. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  61. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  62. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  63. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  64. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  65. package/system/dist/builtins/storage-orchestrator/location-store.d.ts +5 -14
  66. package/system/dist/builtins/storage-orchestrator/record-kinds.d.ts +0 -1
  67. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +35 -75
  68. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +35 -75
  69. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.service.d.ts +9 -32
  70. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  71. package/system/dist/builtins/system-config/system-config.addon.mjs +284 -284
  72. package/system/dist/builtins/winston-logging/index.js +1 -1
  73. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  74. package/system/dist/{capture-engine-9qCs6J2S.js → capture-engine-Cgt1r0h5.js} +1 -1
  75. package/system/dist/{capture-engine-MPu8CRiM.mjs → capture-engine-CoK1n1F1.mjs} +1 -1
  76. package/system/dist/{composition-sources-CAPpmqL0.mjs → composition-sources-DSU28FFP.mjs} +1 -1
  77. package/system/dist/{composition-sources-N-9OE7DA.js → composition-sources-TkHq8DdF.js} +1 -1
  78. package/system/dist/{constants-D75PEb9b.mjs → constants-CCezBXPq.mjs} +1 -1
  79. package/system/dist/{constants-o31-vUsL.js → constants-D3mNibfv.js} +1 -1
  80. package/system/dist/{device-ca-C3wqsnBw.js → device-ca-CEzeY_zI.js} +1 -1
  81. package/system/dist/{device-ca-D9C75-ee.mjs → device-ca-CjX1tQP7.mjs} +1 -1
  82. package/system/dist/{dist-DBoCrtvm.mjs → dist-BNBgsEk0.mjs} +39 -49
  83. package/system/dist/{dist-BmEptO1d.js → dist-DX1gyM8o.js} +44 -54
  84. package/system/dist/file-host-worker.js +1 -1
  85. package/system/dist/file-host-worker.mjs +1 -1
  86. package/system/dist/{hub-mdns-ciao-ho8U9Zs6.mjs → hub-mdns-ciao-BCfG7mv3.mjs} +2 -2
  87. package/system/dist/{hub-mdns-ciao-B8Lh4Gx1.js → hub-mdns-ciao-DBHvpWvv.js} +2 -2
  88. package/system/dist/index.js +8 -8
  89. package/system/dist/index.mjs +8 -8
  90. package/system/dist/{legacy-integration-rows-door-v-8WFbCS.js → legacy-integration-rows-door-7K4_MoAP.js} +1 -1
  91. package/system/dist/{legacy-integration-rows-door-Cc47aOOP.mjs → legacy-integration-rows-door-C0X4Ijcr.mjs} +1 -1
  92. package/system/dist/migrations/hub/2026-11-08-storage-locations-write-set.d.ts +3 -0
  93. package/system/dist/{restore-archive-BYOda1Dl.js → restore-archive-DXlN0NYx.js} +1 -1
  94. package/system/dist/{restore-archive-DS-Hgq3V.mjs → restore-archive-WBDJlios.mjs} +82 -82
  95. package/system/dist/{wal-maintenance-DtqrYJN3.mjs → wal-maintenance-BJ0vDek1.mjs} +0 -0
  96. package/system/dist/{wal-maintenance-D5CHoEtS.js → wal-maintenance-BPmo2JzY.js} +0 -0
  97. package/system/package.json +1 -1
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-BmEptO1d.js");
6
+ const require_dist = require("../../dist-DX1gyM8o.js");
7
7
  const require_formatter = require("../../formatter-xbxeV4GD.js");
8
8
  const require_log_file_read_protocol = require("../../log-file-read-protocol-DSV_vQRb.js");
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { $o as BaseAddon, Xi as preconditionOf, Zs as defineAddonMigrations, gi as logDestinationCapability } from "../../dist-DBoCrtvm.mjs";
1
+ import { $o as BaseAddon, Xi as preconditionOf, Zs as defineAddonMigrations, gi as logDestinationCapability } from "../../dist-BNBgsEk0.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-DkYZ4LXp.mjs";
3
3
  import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-hTaAsYlX.mjs";
4
4
  import { createRequire } from "node:module";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-BmEptO1d.js");
1
+ const require_dist = require("./dist-DX1gyM8o.js");
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- import { Jc as DeviceType, ls as HISTORY_DEFAULT_MIN_INTERVAL_MS, sc as historyItemFieldPath } from "./dist-DBoCrtvm.mjs";
1
+ import { Jc as DeviceType, ls as HISTORY_DEFAULT_MIN_INTERVAL_MS, sc as historyItemFieldPath } from "./dist-BNBgsEk0.mjs";
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- import { Fo as compositionSourceKey, Yc as errMsg } from "./dist-DBoCrtvm.mjs";
1
+ import { Fo as compositionSourceKey, Yc as errMsg } from "./dist-BNBgsEk0.mjs";
2
2
  //#region src/builtins/shared/device-state-changed.ts
3
3
  /** Structural narrowing helper for untrusted bus payloads. */
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-BmEptO1d.js");
1
+ const require_dist = require("./dist-DX1gyM8o.js");
2
2
  //#region src/builtins/shared/device-state-changed.ts
3
3
  /** Structural narrowing helper for untrusted bus payloads. */
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- import { Hs as buildSecretRef } from "./dist-DBoCrtvm.mjs";
1
+ import { Hs as buildSecretRef } from "./dist-BNBgsEk0.mjs";
2
2
  /** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
3
3
  var MESH_CA_KEY_REF = buildSecretRef({
4
4
  owner: "system",
@@ -1,5 +1,5 @@
1
1
  /** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
2
- var MESH_CA_KEY_REF = require("./dist-BmEptO1d.js").buildSecretRef({
2
+ var MESH_CA_KEY_REF = require("./dist-DX1gyM8o.js").buildSecretRef({
3
3
  owner: "system",
4
4
  scope: { kind: "global" },
5
5
  fieldPath: "meshCaKey"
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-BmEptO1d.js");
1
+ const require_dist = require("./dist-DX1gyM8o.js");
2
2
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
3
3
  let node_crypto = require("node:crypto");
4
4
  //#region src/auth/jwt-signing-key.ts
@@ -1,4 +1,4 @@
1
- import { G as DEVICE_SAN_USER_PREFIX, Hs as buildSecretRef, W as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-DBoCrtvm.mjs";
1
+ import { G as DEVICE_SAN_USER_PREFIX, Hs as buildSecretRef, W as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-BNBgsEk0.mjs";
2
2
  import { C as backdatedNotBefore, S as withUtcTimeEncoding, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-BRiJgOvu.mjs";
3
3
  import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
4
4
  //#region src/auth/jwt-signing-key.ts
@@ -1211,7 +1211,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
1211
1211
  return DeviceRole;
1212
1212
  }({});
1213
1213
  //#endregion
1214
- //#region ../types/dist/sleep-CfYvHNFz.mjs
1214
+ //#region ../types/dist/sleep-CS5Xp1iQ.mjs
1215
1215
  /**
1216
1216
  * The audio chunk plane's byte format, and the ONE expansion from a coded
1217
1217
  * window to float samples (D455).
@@ -11399,7 +11399,8 @@ var CALLER_STAMPED_CAPABILITIES = [
11399
11399
  "device-manager",
11400
11400
  "core-blocks",
11401
11401
  "migrations",
11402
- "device-transitions"
11402
+ "device-transitions",
11403
+ "integration-instances"
11403
11404
  ];
11404
11405
  /** A copy of `input` without the caller stamp. Anything that is not a plain object passes through. */
11405
11406
  function withoutCallerStamp(input) {
@@ -20760,18 +20761,6 @@ var StorageLocationSchema = z.object({
20760
20761
  createdAt: z.number(),
20761
20762
  updatedAt: z.number()
20762
20763
  });
20763
- /**
20764
- * The retired `isDefault` key, DECLARED rather than dropped.
20765
- *
20766
- * A key removed from a non-strict `z.object` is stripped in silence (D380,
20767
- * D381): a reader that still needs the old value gets `undefined` and cannot
20768
- * tell "absent" from "never sent". The one reader that legitimately needs it —
20769
- * the location store's boot migration, which turns the old default flag into
20770
- * the `enabled` write set — parses THIS schema against the raw row instead, so
20771
- * the migration is explicit and the live schema stays clean. Nothing else in
20772
- * the repo may read it; `scripts/check-no-storage-default.ts` enforces that.
20773
- */
20774
- var LegacyStorageLocationDefaultSchema = z.object({ isDefault: z.boolean().optional() });
20775
20764
  function isLocationEnabled(location) {
20776
20765
  return mayWriteToLocation({
20777
20766
  ...location,
@@ -48954,7 +48943,14 @@ var CalendarInfoSchema = z.object({
48954
48943
  id: z.string().min(1),
48955
48944
  name: z.string().min(1),
48956
48945
  source: CalendarSourceKindSchema,
48957
- enabled: z.boolean()
48946
+ enabled: z.boolean(),
48947
+ /**
48948
+ * The `integration-instances` record that owns this calendar (the record the switch writes).
48949
+ * Every source stamps it from the record it read the calendar from, so a consumer joins on
48950
+ * it instead of rebuilding an id from form values. Optional on the wire so a source addon
48951
+ * that predates the field still lists its calendars: such a row simply has no switch.
48952
+ */
48953
+ instanceId: z.string().min(1).optional()
48958
48954
  });
48959
48955
  /**
48960
48956
  * Time contract of {@link CalendarEvent}.
@@ -52038,8 +52034,12 @@ var RemoteSequenceSourceSchema = z.object({
52038
52034
  var RemoteIrSourceSchema = z.object({
52039
52035
  ...sourceBase,
52040
52036
  kind: z.literal("ir"),
52041
- /** The `ir-transmitter` device the code is sent through. */
52042
- transmitterId: z.number().int().nonnegative(),
52037
+ /**
52038
+ * The `ir-transmitter` device the code is sent through. Absent = the remote's
52039
+ * `defaultTransmitterId` at run time (a source stored before this field was
52040
+ * optional keeps the emitter it names).
52041
+ */
52042
+ transmitterId: z.number().int().nonnegative().optional(),
52043
52043
  /** The code itself; whether a transmitter could send it is `irSourceProblem`. */
52044
52044
  payload: IrPayloadSchema
52045
52045
  });
@@ -64083,7 +64083,7 @@ var imageSettingsCapability = {
64083
64083
  *
64084
64084
  * Phase E of the API consolidation: previously a hand-written core
64085
64085
  * router. Cap conversion lets `useIntegrationsList`,
64086
- * `useIntegrationsCreate`, `useIntegrationsTestConnection` and
64086
+ * `useIntegrationsTestConnection` and
64087
64087
  * friends flow through the same codegen pipeline as every other cap.
64088
64088
  */
64089
64089
  var IntegrationWithStateSchema = z.object({
@@ -64169,7 +64169,7 @@ var AvailableIntegrationTypeSchema = z.object({
64169
64169
  *
64170
64170
  * - `validated` — a provider-declared test ran and the remote ACCEPTED.
64171
64171
  * - `rejected` — a provider-declared test ran and the remote REFUSED.
64172
- * The only status that blocks `integrations.create`.
64172
+ * The only status that blocks `integrationInstances.createInstance`.
64173
64173
  * - `inconclusive` — a test IS declared but could not complete (timeout,
64174
64174
  * DNS, 5xx). Nothing was observed; not a failure.
64175
64175
  * - `unsupported` — this integration declares NO test. Nothing was
@@ -64199,16 +64199,6 @@ var TestConnectionResultSchema = z.object({
64199
64199
  /** Human detail from a `validated` result ("3 devices on this account"). */
64200
64200
  detail: z.string().optional()
64201
64201
  });
64202
- var CreateIntegrationInputSchema = z.object({
64203
- addonId: z.string(),
64204
- name: z.string(),
64205
- info: z.record(z.string(), z.unknown()).optional(),
64206
- /** `stableId` of the discovery candidate the form was seeded from (D984). */
64207
- originStableId: z.string().optional(),
64208
- settings: z.record(z.string(), z.unknown()).optional(),
64209
- /** The instance kind being created, for a provider with several; omitted = its only testable kind. */
64210
- kind: z.string().min(1).optional()
64211
- });
64212
64202
  var UpdateIntegrationInputSchema = z.object({
64213
64203
  id: z.string(),
64214
64204
  name: z.string().optional(),
@@ -64232,10 +64222,6 @@ var integrationsCapability = {
64232
64222
  list: method(z.void(), z.array(IntegrationWithStateSchema)),
64233
64223
  get: method(z.object({ id: z.string() }), IntegrationWithStateSchema),
64234
64224
  getByAddonId: method(z.object({ addonId: z.string() }), IntegrationLiteSchema.nullable()),
64235
- create: method(CreateIntegrationInputSchema, IntegrationLiteSchema, {
64236
- kind: "mutation",
64237
- auth: "admin"
64238
- }),
64239
64225
  update: method(UpdateIntegrationInputSchema, IntegrationLiteSchema, {
64240
64226
  kind: "mutation",
64241
64227
  auth: "admin"
@@ -64461,7 +64447,15 @@ var integrationInstancesCapability = {
64461
64447
  * registry row of an instance that brings devices, so discovery stops offering a candidate
64462
64448
  * that already has its integration (D984). Ignored by an instance with no registry row.
64463
64449
  */
64464
- originStableId: z.string().min(1).optional()
64450
+ originStableId: z.string().min(1).optional(),
64451
+ /**
64452
+ * The seed variant: the HUB or an addon states the integration it owns (a fixed builtin's
64453
+ * row, a migration's row), not an operator creating one. It brings the registry `info`
64454
+ * (`{ fixed: true }`), makes the row whatever the kind's role, and is accepted only from a
64455
+ * caller the transport stamped as the addon itself (`callerAddonId`): an admin session
64456
+ * cannot send it, and the wizard never does. `values` are the settings it is seeded with.
64457
+ */
64458
+ seed: z.object({ info: z.record(z.string(), z.unknown()) }).optional()
64465
64459
  }), z.object({ id: z.string() }), {
64466
64460
  kind: "mutation",
64467
64461
  auth: "admin"
@@ -86581,7 +86575,6 @@ var RemoteCustomButtonSchema = z.object({
86581
86575
  /** What the operator calls it, and what a voice command may name. */
86582
86576
  name: z.string().min(1).max(60)
86583
86577
  });
86584
- var RemotePowerModeSchema = z.enum(["toggle", "discrete"]);
86585
86578
  /**
86586
86579
  * The source rules: every step role is bound, ids and names are unique, a
86587
86580
  * channel number belongs to one `digits` source, and no name or id is another
@@ -86662,7 +86655,6 @@ var RemoteConfigSchema = z.object({
86662
86655
  sources: z.array(RemoteSourceSchema).max(200).default([]),
86663
86656
  /** The pause between two steps of a source: the television's receiver, not a repeat. */
86664
86657
  stepDelayMs: z.number().int().min(100).max(REMOTE_STEP_DELAY_MAX_MS).default(500),
86665
- power: z.object({ mode: RemotePowerModeSchema }),
86666
86658
  /**
86667
86659
  * READ-ONLY: sources a stored configuration carries that no longer parse,
86668
86660
  * left out of `sources` with the reason (`readStoredRemoteConfig`). Never
@@ -86769,8 +86761,7 @@ var EMPTY_REMOTE_CONFIG = {
86769
86761
  bindings: {},
86770
86762
  customButtons: [],
86771
86763
  sources: [],
86772
- stepDelayMs: 500,
86773
- power: { mode: "discrete" }
86764
+ stepDelayMs: 500
86774
86765
  };
86775
86766
  /**
86776
86767
  * What the remote last SENT and therefore guesses about a device that does not
@@ -86835,6 +86826,11 @@ var RemoteLayoutButtonSchema = z.object({
86835
86826
  /** Absent = the plain rendering every layout had before shapes existed. */
86836
86827
  shape: RemoteButtonShapeSchema.optional(),
86837
86828
  tone: RemoteButtonToneSchema.optional(),
86829
+ /**
86830
+ * Draw the label on a colour-toned key. A colour key shows only its colour
86831
+ * by default; a remote whose plastic prints letters on them (A B C D) sets it.
86832
+ */
86833
+ showLegend: z.boolean().optional(),
86838
86834
  /** The group this button belongs to; it must lie inside that group's rectangle. */
86839
86835
  groupId: z.string().min(1).max(40).optional()
86840
86836
  });
@@ -86972,7 +86968,6 @@ var RemoteBoundCommandSchema = z.object({
86972
86968
  });
86973
86969
  var RemoteCommandListSchema = z.object({
86974
86970
  layoutTemplateId: z.string().nullable(),
86975
- power: z.object({ mode: RemotePowerModeSchema }),
86976
86971
  /** Only the roles that are BOUND — the ones a press can reach. */
86977
86972
  commands: z.array(RemoteBoundCommandSchema),
86978
86973
  /** The sources the operator declared; empty when none (planning#460). */
@@ -86985,7 +86980,8 @@ var RemoteRefusalReasonSchema = z.enum([
86985
86980
  "unknown-source",
86986
86981
  "unbound-step",
86987
86982
  "undeclared-channel",
86988
- "press-timeout"
86983
+ "press-timeout",
86984
+ "no-transmitter"
86989
86985
  ]);
86990
86986
  var RemoteSendResultSchema = z.discriminatedUnion("status", [
86991
86987
  z.object({
@@ -87115,7 +87111,8 @@ var RemoteComponentButtonSchema = z.object({
87115
87111
  icon: z.string().min(1).max(60).optional(),
87116
87112
  label: z.string().min(1).max(40).optional(),
87117
87113
  shape: RemoteButtonShapeSchema.optional(),
87118
- tone: RemoteButtonToneSchema.optional()
87114
+ tone: RemoteButtonToneSchema.optional(),
87115
+ showLegend: z.boolean().optional()
87119
87116
  });
87120
87117
  var RemoteLayoutComponentSchema = z.object({
87121
87118
  id: z.string().max(80).regex(COMPONENT_ID_RE, { message: "<namespace>:<name>, lowercase" }),
@@ -104606,13 +104603,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
104606
104603
  access: "create",
104607
104604
  role: "admin"
104608
104605
  },
104609
- "integrations.create": {
104610
- capName: "integrations",
104611
- capScope: "system",
104612
- addonId: null,
104613
- access: "create",
104614
- role: "admin"
104615
- },
104616
104606
  "integrations.delete": {
104617
104607
  capName: "integrations",
104618
104608
  capScope: "system",
@@ -116646,4 +116636,4 @@ z.object({
116646
116636
  commands: z.record(z.string(), z.unknown())
116647
116637
  });
116648
116638
  //#endregion
116649
- export { EMPTY_AUTOMATION_STATE as $, templateCapability as $a, processTimeZoneOr as $i, coreBlocksCapability as $n, BaseAddon as $o, isDefaultAppConnectionEndpoint as $r, defineEntryKind as $s, SsoBridgeClaimsSchema as $t, ControlStatusSchema as A, scopesAllowDeviceCap as Aa, parseSecretRef as Ac, nextOccurrence as Ai, buildHeroModel as An, composedDeviceRef as Ao, fanControlCapability as Ar, StoredRecordKindDeclarationSchema as As, PET_FOUNTAIN_WATER_KEY as At, DEVICE_ENROLLMENT_TTL_MS as B, snapshotCapability as Ba, toNodeId as Bc, parseAcceleratorFactsJson as Bi, climateControlCapability as Bn, helperMembers as Bo, generateDeviceAlias as Br, assertValidDeclaration as Bs, RECORDING_SOURCE_CAMSTACK_ADDON as Bt, CORE_BLOCKS_ADDON_ID as C, resolveRunnerId as Ca, mapSecretLeaves as Cc, memoizePinnedFfmpeg as Ci, bareAddonId as Cn, HISTORY_FAST_MS as Co, enumerateSchemaFields as Cr, RecordIntegrationInstances as Cs, MIGRATION_API_V1_METHODS as Ct, CatalogFileSchema as D, runtimeStatePolicyFor as Da, normalizeSecretOwner as Dc, modeForSwitch as Di, buildCapabilityLookup as Dn, MINUTE_MS as Do, expandContainer as Dr, RecordUniqueViolationError as Ds, MigrationLedgerEntrySchema as Dt, CalendarPreferencesSchema as E, runSteps as Ea, normalizeNodeId as Ec, migrationsCapability as Ei, buildActionSteps as En, HelperMemberSchema as Eo, evictionPolicyOfLocation as Er, RecordTooLargeError as Es, MediaPlayerStatusSchema as Et, DATABASE_SNAPSHOT_TIMEOUT_MS as F, sharedActuatorMethods as Fa, scopeKey as Fc, normalizeUnit as Fi, capUnitResolver as Fn, compositionSourceKey as Fo, findChannelSource as Fr, actionEffect as Fs, PowerSourceInfoSchema as Ft, DEVICE_SAN_USER_PREFIX as G, storageMigrationCapability as Ga, withoutCallerStamp as Gc, pickAppLinkHub as Gi, composerCapability as Gn, nextLocalMidnight as Go, internalActionId as Gr, collectSecretMarkerRefs as Gs, RunningStateStatusSchema as Gt, DEVICE_ID_FIELD as H, stableIdMapOf as Ha, transformSecretWrite as Hc, parseStreamParamsFormPatch as Hi, colorCapability as Hn, integrateReading as Ho, groupTemplate as Hr, buildSecretRef as Hs, ROOT_BUCKET_KEY as Ht, DATA_STORE_DATABASES as I, sharedColorModes as Ia, secretTreeFromPaths as Ic, objectInputDeclaresAddonId as Ii, catalogueIssues as In, createStatefulExpressionMemory as Io, foldSnapshotByFunction as Ir, asJsonObject as Is, PreferenceDeviceIdSchema as It, DeclaredDevices as J, streamCatalogCapability as Ja, DeviceType as Jc, powerSourceCapability as Ji, consumablesCapability as Jn, planResetTier as Jo, isAlertEpisodeSeverity as Jr, commandOrigin as Js, STREAM_PROFILE_META as Jt, DEVICE_TOMBSTONE_RETENTION_MS as K, storageOccupancyCapability as Ka, DeviceFeature as Kc, planComposition as Ki, compositionFieldKey as Kn, openReset as Ko, interpolate as Kr, collectZodSecretPaths as Ks, STORAGE_ACCESS_FALLBACK as Kt, DAY_NAMES as L, shortHostname as La, secretTreeFromSchema as Lc, objectInputDeclaresRequiredDeviceId as Li, checkDeviceAlias as Ln, disarmRoseMemory as Lo, formatDeviceRevoker as Lr, asNumber as Ls, PreferenceNamespaceSchema as Lt, CredentialTokenClaimsSchema as M, seedInstanceOnce as Ma, recordSecretRef as Mc, normalizeCapStep as Mi, calendarsCapability as Mn, compositionFeatureEnabled as Mo, fanPresetsCapability as Mr, UnindexedFilterError as Ms, PROPOSAL_MIN_SPAN_MS as Mt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as N, settingsStoreCapability as Na, resolveCapMount as Nc, normalizeCoreBlockWrite as Ni, cameraGridLayoutCapability as Nn, compositionItemFieldPath as No, featureForwards as Nr, UnknownRecordKindError as Ns, PackageRequiresSchema as Nt, ConditionMirror as O, schedulersCapability as Oa, parseJsonObject as Oc, modeMayWrite as Oi, buildDeviceEnrollmentLink as On, buildFfmpegArgs as Oo, expressionContainsBuiltinCall as Or, RevConflictError as Os, MigrationMetaSchema as Ot, DATABASE_SNAPSHOT_SUFFIX as P, sharedActuatorFeatures as Pa, resolveSecretMarkers as Pc, normalizeStepTargets as Pi, canonicalIconKey as Pn, compositionSliceKey as Po, filesystemBrowseCapability as Pr, WELL_KNOWN_TAB_MAP as Ps, PetFountainStatusSchema as Pt, DiscoveryProposalBodySchema as Q, switchStateOfMode as Qa, procedureAuthKey as Qi, coreBlockSourceKind as Qn, wattMillisecondsToKwh as Qo, isCredentialTokenPayload as Qr, defineCustomActions as Qs, ServerNameSchema as Qt, DEFAULT_HOLD_OVERRIDE as R, siteFor as Ra, secretViewsOf as Rc, occurrenceOn as Ri, checkRoleAddress as Rn, evaluateDerivative as Ro, formatMinutes as Rr, asString$1 as Rs, PreferenceValueSchema as Rt, COMPOSER_RUNNER_ID as S, resolveRemoteSource as Sa, makeSecretMarker as Sc, mediaPlayerFeaturesOfRoles as Si, backupCapability as Sn, DEFAULT_HISTORY_RETENTION as So, enumerateItemArrayFields as Sr, ReadinessTimeoutError as Ss, METHOD_ACCESS_MAP as St, CREDENTIAL_TOKEN_AUDIENCE as T, runFanOut as Ta, nodePin as Tc, metricsProviderCapability as Ti, brightnessCapability as Tn, HOUR_MS as To, evaluateWhenTree as Tr, RecordNotFoundError as Ts, MOTION_CLOSE_AFTER_MS as Tt, DEVICE_NONCE_TTL_MS as U, storageAdminCapability as Ua, userError as Uc, petFountainCapability as Ui, compareVersions as Un, isForwardInputRef as Uo, heroLayoutCapability as Ur, collectSecretConfigKeys as Us, RecordingStatusSchema as Ut, DEVICE_HISTORY_ENERGY_KEY as V, splitTranslationRef as Va, toSecretFieldView as Vc, parseColorInput as Vi, collectWhenMirrorSources as Vn, historyRetentionFromSettings as Vo, groupCommandsCapability as Vr, auditedFields as Vs, REMOTE_MEDIA_COMMANDS as Vt, DEVICE_SAN_CREDENTIAL_PREFIX as W, storageCapability as Wa, vocabActionIdFor as Wc, petFountainWaterItem as Wi, compileScalarOverride as Wn, isHistoryHelper as Wo, integrationInstancesCapability as Wr, collectSecretLeaves as Ws, RemoteAssumedStateSchema as Wt, DeviceStatusSchema as X, supportedRuntimes as Xa, featuresOfBoundCaps as Xc, preconditionOf as Xi, coreBlockComposition as Xn, statisticCadenceMs as Xo, isArrayOutputSchema as Xr, customAction as Xs, SchedulerSchema as Xt, DeviceRunSchema as Y, streamQualityLabel as Ya, errMsg as Yc, powerSourceLinkOfComposition as Yi, coreBlockAddonId as Yn, planStatisticTier as Yo, isAppLinkBase as Yr, createEvent as Ys, SchedulerError as Yt, DeviceTombstoneSchema as Z, switchCapability as Za, EventCategory as Zc, problemsBlockSave as Zi, coreBlockIdFromAddonId as Zn, toExpressionValue as Zo, isCollectionArrayMethod as Zr, defineAddonMigrations as Zs, ScopedTokenSchema as Zt, CAMERA_SWITCH_ORDER as _, resolveHubAddressRoles as _a, isSecretClear as _c, logLevelAtMost as _i, alertEpisodePayload as _n, withLocationMode as _o, deviceRunsCapability as _r, RECORD_SWEEP_INTERVAL_MS as _s, KEYCHAIN_RESET_TRIGGER_ACTOR as _t, AGENT_MDNS_SERVICE_TYPE as a, recordsCapability as aa, formatSecretScope as ac, kebabToCamel as ai, TemplateKindSchema as an, toTimings as ao, declarationOwnerNodeId as ar, DeclarationRefusedError as as, FanDirectionSchema as at, CATALOG_LANGS as b, resolveMutate as ba, isSecretMarkerLike as bc, mayWriteToLocation as bi, armRemovalReconcile as bn, CompositionSchema as bo, deviceTransitionsCapability as br, RUNTIME_DEFAULTS as bs, LOG_LEVEL_RANK as bt, ActionError as c, remoteLayoutComponentsCapability as ca, historyUnitFor as cc, legacyAutoLinkIds as ci, UserRecordSchema as cn, validateComposition as co, defineExtensionSlotProvider as cr, ForeignSecretMarkerError as cs, FieldClaimSchema as ct, ActionVariableSchema as d, resolveActionVariables as da, isDebugChannelName as dc, localDateOf as di, actionsCapability as dn, valveCapability as do, describeUnmet as dr, NoCallerError as ds, HISTORY_ITEM_CATALOG as dt, projectDeviceRow as ea, defineRecordKinds as ec, isInternalActionId as ei, StorageCleanupJobSchema as en, timedRunCapability as eo, coverCapability as er, BatchTooLargeError as es, EMPTY_REMOTE_ASSUMED_STATE as et, AlertSchema as f, resolveAppConnections as fa, isDeviceConfigCap as fc, localNetworkCapability as fi, addonIdOfActionId as fn, vectorDimFromBase64 as fo, deviceCredentialsCapability as fr, PlaintextSecretError as fs, HUB_MDNS_SERVICE_TYPE as ft, BatteryStatusSchema as g, resolveHeroLayout as ga, isReadingQuantity as gc, logDestinationCapability as gi, alertEpisodeId as gn, withDefaultRunning as go, deviceRemovalHookCapability as gr, RECORD_SECRET_COLLECTION_PREFIX as gs, INTERNAL_ACTION_PREFIX as gt, BaseDevice as h, resolveCoreBlockFiles as ha, isKeychainStoredField as hc, lockDoorLinkOfComposition as hi, addonWidgetsCapability as hn, weekdayOfLocalDate as ho, deviceManagerCapability as hr, RECORD_DELETE_BATCH as hs, IDLE_ACTION_STATUS as ht, ACTUATOR_TEMPLATE_IDS as i, recordEntriesCapability as ia, expandCapMethods as ic, isVoidInput as ii, SwitchStatusSchema as in, timedRunSeconds as io, databaseSnapshotCapability as ir, DEVICE_STATUS_METHOD as is, FanControlStatusSchema as it, CoreBlockSchema as j, scoreRuntimes as ja, readinessKey as jc, normalizeActionUnits as ji, buildStreamParamsConfigSchema as jn, composedDeviceStableId as jo, fanOutTargets as jr, TransactRefusedError as js, PREFERENCES_MAX_VALUE_BYTES as jt, ConsumableItemSchema as k, scopesAllowAddon as ka, parseJsonUnknown as kc, motionCapability as ki, buildDeviceSignatureMessage as kn, cloneStatefulExpressionMemory as ko, extractNestedAddonId as kr, SECRET_CLEAR as ks, NetworkTunnelStartedDataSchema as kt, ActionStepSchema as l, remoteSourceSteps as la, hydrateSchema as lc, legacyModeOf as li, actionSourceCapability as ln, validateCustomAddress as lo, deriveBatteryPresence as lr, HISTORY_DEFAULT_MIN_INTERVAL_MS as ls, GroupCommandResultSchema as lt, BUILTIN_REMOTE_COMPONENTS as m, resolveCoreBlockEntry as ma, isInstanceEnabled as mc, lockControlCapability as mi, addonSettingsCapability as mn, vectorStoreCapability as mo, deviceHistoryCapability as mr, RECORD_BATCH_MAX_BYTES as ms, HvacModeSchema as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, ptzAutotrackCapability as na, emitReadiness as nc, isObjectInput as ni, StorageLocationTypeSchema as nn, timedRunMaxIn as no, customKeyOfRole as nr, DATAPLANE_SECRET_HEADER as ns, FAN_CAPTURE_FIELDS as nt, AGENT_MDNS_TXT_KEYS as o, reducePoints as oa, getDebugInterest as oc, keychainAdminCapability as oi, TokenScopeSchema as on, unmetRequirements as oo, declaredSeriesKind as or, DeviceTransitionSchema as os, FanPresetSchema as ot, AutomationStateDocSchema as p, resolveBucketMs as pa, isEvent as pc, locationIconKey as pi, addonPagesCapability as pn, vectorIndexDimConflictError as po, deviceExtensionCapability as pr, RECORD_BATCH_MAX as ps, HUB_MDNS_TXT_KEYS as pt, DataStoreDatabaseSchema as q, storageProviderCapability as qa, DeviceRole as qc, platformProbeCapability as qi, compositionSourceRefs as qn, openStatistic as qo, isAlertEpisodeOpen as qr, commandEffect as qs, STORAGE_LOCATION_MODES as qt, ACTUATOR_METHODS as r, readStoredRemoteConfig as ra, entryBody as rc, isSameAddonId as ri, StorageMigrationJobSchema as rn, timedRunQuickRun as ro, dataStoreProviderCapability as rr, DEVICE_SETTINGS_CONTRIBUTION_METHODS as rs, FIRST_LEVEL_MACRO_CLASSES as rt, ALL_CAPABILITY_DEFINITIONS as s, remoteCapability as sa, historyItemFieldPath as sc, keychainCapability as si, UNATTRIBUTED_BUCKET_KEY as sn, userManagementCapability as so, decodeVectorBase64 as sr, FilterRequiredError as ss, FieldClaimModeSchema as st, ACTION_RUN_MAX_MS as t, proposeRunningThreshold as ta, emitDownForOwnedCaps as tc, isLocationEnabled as ti, StorageLocationModeSchema as tn, timedRunLimitOf as to, createDeviceExtensionProvider as tr, CALLER_STAMPED_CAPABILITIES as ts, EMPTY_REMOTE_CONFIG as tt, ActionTargetResolver as u, replacedFieldKeys as ua, isCommand as uc, lifecycleJobSchema as ui, actionWaitTotalMs as un, validateSchedulerInput as uo, describeComposableCaps as ur, InvalidRecordError as us, HISTORY_CATALOG as ut, CAMSTACK_APP_LINK_ORIGIN as v, resolveLocationMode as va, isSecretFieldView as vc, looseSchema as vi, alertsCapability as vn, zoneOnlySite as vo, deviceStateCapability as vr, REDACTED_SECRET as vs, KeychainAuditEntrySchema as vt, CORE_BLOCK_ADDON_PREFIX as w, resolveStepArgs as wa, nodeIdOfScopedKey as wc, methodRefusal as wi, batteryCapability as wn, HISTORY_SLOW_MS as wo, evaluateCompositionField as wr, RecordKindDeclarationSchema as ws, MINUTES_PER_DAY as wt, COMPOSED_ITEM_FIXED_FIELDS as x, resolveNotificationTapAddress as xa, isSecretRefOwnedBy as xc, mediaPlayerCapability as xi, authProviderCapability as xn, DAY_MS as xo, enumerateInferenceDevices as xr, ReadinessRegistry as xs, LegacyStorageLocationDefaultSchema as xt, CAP_NAMES_WITH_STATUS as y, resolveMethodAuth as ya, isSecretMarker as yc, mayReadLocation as yi, appendTrace as yn, COMPOSER_ADDON_ID as yo, deviceStatusCapability as yr, REMOVE_LEAF as ys, KeychainResetRecordSchema as yt, DERIVED_CAMERA_SILENCED_CAP_NAMES as z, siteZoneKey as za, sleep as zc, orderMigrations as zi, checkTemplatePayload as zn, evaluateStatistic as zo, gbToBytes as zr, assertTransactScope as zs, QuantityUnitError as zt };
116639
+ export { EMPTY_AUTOMATION_STATE as $, templateCapability as $a, processTimeZoneOr as $i, coreBlocksCapability as $n, BaseAddon as $o, isDefaultAppConnectionEndpoint as $r, defineEntryKind as $s, SsoBridgeClaimsSchema as $t, ControlStatusSchema as A, scopesAllowDeviceCap as Aa, parseSecretRef as Ac, nextOccurrence as Ai, buildHeroModel as An, composedDeviceRef as Ao, fanControlCapability as Ar, StoredRecordKindDeclarationSchema as As, PREFERENCES_MAX_VALUE_BYTES as At, DEVICE_ENROLLMENT_TTL_MS as B, snapshotCapability as Ba, toNodeId as Bc, parseAcceleratorFactsJson as Bi, climateControlCapability as Bn, helperMembers as Bo, generateDeviceAlias as Br, assertValidDeclaration as Bs, REMOTE_MEDIA_COMMANDS as Bt, CORE_BLOCKS_ADDON_ID as C, resolveRunnerId as Ca, mapSecretLeaves as Cc, memoizePinnedFfmpeg as Ci, bareAddonId as Cn, HISTORY_FAST_MS as Co, enumerateSchemaFields as Cr, RecordIntegrationInstances as Cs, MINUTES_PER_DAY as Ct, CatalogFileSchema as D, runtimeStatePolicyFor as Da, normalizeSecretOwner as Dc, modeForSwitch as Di, buildCapabilityLookup as Dn, MINUTE_MS as Do, expandContainer as Dr, RecordUniqueViolationError as Ds, MigrationMetaSchema as Dt, CalendarPreferencesSchema as E, runSteps as Ea, normalizeNodeId as Ec, migrationsCapability as Ei, buildActionSteps as En, HelperMemberSchema as Eo, evictionPolicyOfLocation as Er, RecordTooLargeError as Es, MigrationLedgerEntrySchema as Et, DATABASE_SNAPSHOT_TIMEOUT_MS as F, sharedActuatorMethods as Fa, scopeKey as Fc, normalizeUnit as Fi, capUnitResolver as Fn, compositionSourceKey as Fo, findChannelSource as Fr, actionEffect as Fs, PreferenceDeviceIdSchema as Ft, DEVICE_SAN_USER_PREFIX as G, storageMigrationCapability as Ga, withoutCallerStamp as Gc, pickAppLinkHub as Gi, composerCapability as Gn, nextLocalMidnight as Go, internalActionId as Gr, collectSecretMarkerRefs as Gs, RunningStateStatusSchema as Gt, DEVICE_ID_FIELD as H, stableIdMapOf as Ha, transformSecretWrite as Hc, parseStreamParamsFormPatch as Hi, colorCapability as Hn, integrateReading as Ho, groupTemplate as Hr, buildSecretRef as Hs, RecordingStatusSchema as Ht, DATA_STORE_DATABASES as I, sharedColorModes as Ia, secretTreeFromPaths as Ic, objectInputDeclaresAddonId as Ii, catalogueIssues as In, createStatefulExpressionMemory as Io, foldSnapshotByFunction as Ir, asJsonObject as Is, PreferenceNamespaceSchema as It, DeclaredDevices as J, streamCatalogCapability as Ja, DeviceType as Jc, powerSourceCapability as Ji, consumablesCapability as Jn, planResetTier as Jo, isAlertEpisodeSeverity as Jr, commandOrigin as Js, STREAM_PROFILE_META as Jt, DEVICE_TOMBSTONE_RETENTION_MS as K, storageOccupancyCapability as Ka, DeviceFeature as Kc, planComposition as Ki, compositionFieldKey as Kn, openReset as Ko, interpolate as Kr, collectZodSecretPaths as Ks, STORAGE_ACCESS_FALLBACK as Kt, DAY_NAMES as L, shortHostname as La, secretTreeFromSchema as Lc, objectInputDeclaresRequiredDeviceId as Li, checkDeviceAlias as Ln, disarmRoseMemory as Lo, formatDeviceRevoker as Lr, asNumber as Ls, PreferenceValueSchema as Lt, CredentialTokenClaimsSchema as M, seedInstanceOnce as Ma, recordSecretRef as Mc, normalizeCapStep as Mi, calendarsCapability as Mn, compositionFeatureEnabled as Mo, fanPresetsCapability as Mr, UnindexedFilterError as Ms, PackageRequiresSchema as Mt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as N, settingsStoreCapability as Na, resolveCapMount as Nc, normalizeCoreBlockWrite as Ni, cameraGridLayoutCapability as Nn, compositionItemFieldPath as No, featureForwards as Nr, UnknownRecordKindError as Ns, PetFountainStatusSchema as Nt, ConditionMirror as O, schedulersCapability as Oa, parseJsonObject as Oc, modeMayWrite as Oi, buildDeviceEnrollmentLink as On, buildFfmpegArgs as Oo, expressionContainsBuiltinCall as Or, RevConflictError as Os, NetworkTunnelStartedDataSchema as Ot, DATABASE_SNAPSHOT_SUFFIX as P, sharedActuatorFeatures as Pa, resolveSecretMarkers as Pc, normalizeStepTargets as Pi, canonicalIconKey as Pn, compositionSliceKey as Po, filesystemBrowseCapability as Pr, WELL_KNOWN_TAB_MAP as Ps, PowerSourceInfoSchema as Pt, DiscoveryProposalBodySchema as Q, switchStateOfMode as Qa, procedureAuthKey as Qi, coreBlockSourceKind as Qn, wattMillisecondsToKwh as Qo, isCredentialTokenPayload as Qr, defineCustomActions as Qs, ServerNameSchema as Qt, DEFAULT_HOLD_OVERRIDE as R, siteFor as Ra, secretViewsOf as Rc, occurrenceOn as Ri, checkRoleAddress as Rn, evaluateDerivative as Ro, formatMinutes as Rr, asString$1 as Rs, QuantityUnitError as Rt, COMPOSER_RUNNER_ID as S, resolveRemoteSource as Sa, makeSecretMarker as Sc, mediaPlayerFeaturesOfRoles as Si, backupCapability as Sn, DEFAULT_HISTORY_RETENTION as So, enumerateItemArrayFields as Sr, ReadinessTimeoutError as Ss, MIGRATION_API_V1_METHODS as St, CREDENTIAL_TOKEN_AUDIENCE as T, runFanOut as Ta, nodePin as Tc, metricsProviderCapability as Ti, brightnessCapability as Tn, HOUR_MS as To, evaluateWhenTree as Tr, RecordNotFoundError as Ts, MediaPlayerStatusSchema as Tt, DEVICE_NONCE_TTL_MS as U, storageAdminCapability as Ua, userError as Uc, petFountainCapability as Ui, compareVersions as Un, isForwardInputRef as Uo, heroLayoutCapability as Ur, collectSecretConfigKeys as Us, RemoteAssumedStateSchema as Ut, DEVICE_HISTORY_ENERGY_KEY as V, splitTranslationRef as Va, toSecretFieldView as Vc, parseColorInput as Vi, collectWhenMirrorSources as Vn, historyRetentionFromSettings as Vo, groupCommandsCapability as Vr, auditedFields as Vs, ROOT_BUCKET_KEY as Vt, DEVICE_SAN_CREDENTIAL_PREFIX as W, storageCapability as Wa, vocabActionIdFor as Wc, petFountainWaterItem as Wi, compileScalarOverride as Wn, isHistoryHelper as Wo, integrationInstancesCapability as Wr, collectSecretLeaves as Ws, RemoteLayoutPayloadSchema as Wt, DeviceStatusSchema as X, supportedRuntimes as Xa, featuresOfBoundCaps as Xc, preconditionOf as Xi, coreBlockComposition as Xn, statisticCadenceMs as Xo, isArrayOutputSchema as Xr, customAction as Xs, SchedulerSchema as Xt, DeviceRunSchema as Y, streamQualityLabel as Ya, errMsg as Yc, powerSourceLinkOfComposition as Yi, coreBlockAddonId as Yn, planStatisticTier as Yo, isAppLinkBase as Yr, createEvent as Ys, SchedulerError as Yt, DeviceTombstoneSchema as Z, switchCapability as Za, EventCategory as Zc, problemsBlockSave as Zi, coreBlockIdFromAddonId as Zn, toExpressionValue as Zo, isCollectionArrayMethod as Zr, defineAddonMigrations as Zs, ScopedTokenSchema as Zt, CAMERA_SWITCH_ORDER as _, resolveHubAddressRoles as _a, isSecretClear as _c, logLevelAtMost as _i, alertEpisodePayload as _n, withLocationMode as _o, deviceRunsCapability as _r, RECORD_SWEEP_INTERVAL_MS as _s, KEYCHAIN_RESET_TRIGGER_ACTOR as _t, AGENT_MDNS_SERVICE_TYPE as a, recordsCapability as aa, formatSecretScope as ac, kebabToCamel as ai, TemplateKindSchema as an, toTimings as ao, declarationOwnerNodeId as ar, DeclarationRefusedError as as, FanDirectionSchema as at, CATALOG_LANGS as b, resolveMutate as ba, isSecretMarkerLike as bc, mayWriteToLocation as bi, armRemovalReconcile as bn, CompositionSchema as bo, deviceTransitionsCapability as br, RUNTIME_DEFAULTS as bs, LOG_LEVEL_RANK as bt, ActionError as c, remoteLayoutComponentsCapability as ca, historyUnitFor as cc, legacyAutoLinkIds as ci, UserRecordSchema as cn, validateComposition as co, defineExtensionSlotProvider as cr, ForeignSecretMarkerError as cs, FieldClaimSchema as ct, ActionVariableSchema as d, resolveActionVariables as da, isDebugChannelName as dc, localDateOf as di, actionsCapability as dn, valveCapability as do, describeUnmet as dr, NoCallerError as ds, HISTORY_ITEM_CATALOG as dt, projectDeviceRow as ea, defineRecordKinds as ec, isInternalActionId as ei, StorageCleanupJobSchema as en, timedRunCapability as eo, coverCapability as er, BatchTooLargeError as es, EMPTY_REMOTE_ASSUMED_STATE as et, AlertSchema as f, resolveAppConnections as fa, isDeviceConfigCap as fc, localNetworkCapability as fi, addonIdOfActionId as fn, vectorDimFromBase64 as fo, deviceCredentialsCapability as fr, PlaintextSecretError as fs, HUB_MDNS_SERVICE_TYPE as ft, BatteryStatusSchema as g, resolveHeroLayout as ga, isReadingQuantity as gc, logDestinationCapability as gi, alertEpisodeId as gn, withDefaultRunning as go, deviceRemovalHookCapability as gr, RECORD_SECRET_COLLECTION_PREFIX as gs, INTERNAL_ACTION_PREFIX as gt, BaseDevice as h, resolveCoreBlockFiles as ha, isKeychainStoredField as hc, lockDoorLinkOfComposition as hi, addonWidgetsCapability as hn, weekdayOfLocalDate as ho, deviceManagerCapability as hr, RECORD_DELETE_BATCH as hs, IDLE_ACTION_STATUS as ht, ACTUATOR_TEMPLATE_IDS as i, recordEntriesCapability as ia, expandCapMethods as ic, isVoidInput as ii, SwitchStatusSchema as in, timedRunSeconds as io, databaseSnapshotCapability as ir, DEVICE_STATUS_METHOD as is, FanControlStatusSchema as it, CoreBlockSchema as j, scoreRuntimes as ja, readinessKey as jc, normalizeActionUnits as ji, buildStreamParamsConfigSchema as jn, composedDeviceStableId as jo, fanOutTargets as jr, TransactRefusedError as js, PROPOSAL_MIN_SPAN_MS as jt, ConsumableItemSchema as k, scopesAllowAddon as ka, parseJsonUnknown as kc, motionCapability as ki, buildDeviceSignatureMessage as kn, cloneStatefulExpressionMemory as ko, extractNestedAddonId as kr, SECRET_CLEAR as ks, PET_FOUNTAIN_WATER_KEY as kt, ActionStepSchema as l, remoteSourceSteps as la, hydrateSchema as lc, legacyModeOf as li, actionSourceCapability as ln, validateCustomAddress as lo, deriveBatteryPresence as lr, HISTORY_DEFAULT_MIN_INTERVAL_MS as ls, GroupCommandResultSchema as lt, BUILTIN_REMOTE_COMPONENTS as m, resolveCoreBlockEntry as ma, isInstanceEnabled as mc, lockControlCapability as mi, addonSettingsCapability as mn, vectorStoreCapability as mo, deviceHistoryCapability as mr, RECORD_BATCH_MAX_BYTES as ms, HvacModeSchema as mt, ACTION_TARGET_INVALIDATION_EVENTS as n, ptzAutotrackCapability as na, emitReadiness as nc, isObjectInput as ni, StorageLocationTypeSchema as nn, timedRunMaxIn as no, customKeyOfRole as nr, DATAPLANE_SECRET_HEADER as ns, FAN_CAPTURE_FIELDS as nt, AGENT_MDNS_TXT_KEYS as o, reducePoints as oa, getDebugInterest as oc, keychainAdminCapability as oi, TokenScopeSchema as on, unmetRequirements as oo, declaredSeriesKind as or, DeviceTransitionSchema as os, FanPresetSchema as ot, AutomationStateDocSchema as p, resolveBucketMs as pa, isEvent as pc, locationIconKey as pi, addonPagesCapability as pn, vectorIndexDimConflictError as po, deviceExtensionCapability as pr, RECORD_BATCH_MAX as ps, HUB_MDNS_TXT_KEYS as pt, DataStoreDatabaseSchema as q, storageProviderCapability as qa, DeviceRole as qc, platformProbeCapability as qi, compositionSourceRefs as qn, openStatistic as qo, isAlertEpisodeOpen as qr, commandEffect as qs, STORAGE_LOCATION_MODES as qt, ACTUATOR_METHODS as r, readStoredRemoteConfig as ra, entryBody as rc, isSameAddonId as ri, StorageMigrationJobSchema as rn, timedRunQuickRun as ro, dataStoreProviderCapability as rr, DEVICE_SETTINGS_CONTRIBUTION_METHODS as rs, FIRST_LEVEL_MACRO_CLASSES as rt, ALL_CAPABILITY_DEFINITIONS as s, remoteCapability as sa, historyItemFieldPath as sc, keychainCapability as si, UNATTRIBUTED_BUCKET_KEY as sn, userManagementCapability as so, decodeVectorBase64 as sr, FilterRequiredError as ss, FieldClaimModeSchema as st, ACTION_RUN_MAX_MS as t, proposeRunningThreshold as ta, emitDownForOwnedCaps as tc, isLocationEnabled as ti, StorageLocationModeSchema as tn, timedRunLimitOf as to, createDeviceExtensionProvider as tr, CALLER_STAMPED_CAPABILITIES as ts, EMPTY_REMOTE_CONFIG as tt, ActionTargetResolver as u, replacedFieldKeys as ua, isCommand as uc, lifecycleJobSchema as ui, actionWaitTotalMs as un, validateSchedulerInput as uo, describeComposableCaps as ur, InvalidRecordError as us, HISTORY_CATALOG as ut, CAMSTACK_APP_LINK_ORIGIN as v, resolveLocationMode as va, isSecretFieldView as vc, looseSchema as vi, alertsCapability as vn, zoneOnlySite as vo, deviceStateCapability as vr, REDACTED_SECRET as vs, KeychainAuditEntrySchema as vt, CORE_BLOCK_ADDON_PREFIX as w, resolveStepArgs as wa, nodeIdOfScopedKey as wc, methodRefusal as wi, batteryCapability as wn, HISTORY_SLOW_MS as wo, evaluateCompositionField as wr, RecordKindDeclarationSchema as ws, MOTION_CLOSE_AFTER_MS as wt, COMPOSED_ITEM_FIXED_FIELDS as x, resolveNotificationTapAddress as xa, isSecretRefOwnedBy as xc, mediaPlayerCapability as xi, authProviderCapability as xn, DAY_MS as xo, enumerateInferenceDevices as xr, ReadinessRegistry as xs, METHOD_ACCESS_MAP as xt, CAP_NAMES_WITH_STATUS as y, resolveMethodAuth as ya, isSecretMarker as yc, mayReadLocation as yi, appendTrace as yn, COMPOSER_ADDON_ID as yo, deviceStatusCapability as yr, REMOVE_LEAF as ys, KeychainResetRecordSchema as yt, DERIVED_CAMERA_SILENCED_CAP_NAMES as z, siteZoneKey as za, sleep as zc, orderMigrations as zi, checkTemplatePayload as zn, evaluateStatistic as zo, gbToBytes as zr, assertTransactScope as zs, RECORDING_SOURCE_CAMSTACK_ADDON as zt };
@@ -1211,7 +1211,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
1211
1211
  return DeviceRole;
1212
1212
  }({});
1213
1213
  //#endregion
1214
- //#region ../types/dist/sleep-CfYvHNFz.mjs
1214
+ //#region ../types/dist/sleep-CS5Xp1iQ.mjs
1215
1215
  /**
1216
1216
  * The audio chunk plane's byte format, and the ONE expansion from a coded
1217
1217
  * window to float samples (D455).
@@ -11399,7 +11399,8 @@ var CALLER_STAMPED_CAPABILITIES = [
11399
11399
  "device-manager",
11400
11400
  "core-blocks",
11401
11401
  "migrations",
11402
- "device-transitions"
11402
+ "device-transitions",
11403
+ "integration-instances"
11403
11404
  ];
11404
11405
  /** A copy of `input` without the caller stamp. Anything that is not a plain object passes through. */
11405
11406
  function withoutCallerStamp(input) {
@@ -20760,18 +20761,6 @@ var StorageLocationSchema = zod.z.object({
20760
20761
  createdAt: zod.z.number(),
20761
20762
  updatedAt: zod.z.number()
20762
20763
  });
20763
- /**
20764
- * The retired `isDefault` key, DECLARED rather than dropped.
20765
- *
20766
- * A key removed from a non-strict `z.object` is stripped in silence (D380,
20767
- * D381): a reader that still needs the old value gets `undefined` and cannot
20768
- * tell "absent" from "never sent". The one reader that legitimately needs it —
20769
- * the location store's boot migration, which turns the old default flag into
20770
- * the `enabled` write set — parses THIS schema against the raw row instead, so
20771
- * the migration is explicit and the live schema stays clean. Nothing else in
20772
- * the repo may read it; `scripts/check-no-storage-default.ts` enforces that.
20773
- */
20774
- var LegacyStorageLocationDefaultSchema = zod.z.object({ isDefault: zod.z.boolean().optional() });
20775
20764
  function isLocationEnabled(location) {
20776
20765
  return mayWriteToLocation({
20777
20766
  ...location,
@@ -48954,7 +48943,14 @@ var CalendarInfoSchema = zod.z.object({
48954
48943
  id: zod.z.string().min(1),
48955
48944
  name: zod.z.string().min(1),
48956
48945
  source: CalendarSourceKindSchema,
48957
- enabled: zod.z.boolean()
48946
+ enabled: zod.z.boolean(),
48947
+ /**
48948
+ * The `integration-instances` record that owns this calendar (the record the switch writes).
48949
+ * Every source stamps it from the record it read the calendar from, so a consumer joins on
48950
+ * it instead of rebuilding an id from form values. Optional on the wire so a source addon
48951
+ * that predates the field still lists its calendars: such a row simply has no switch.
48952
+ */
48953
+ instanceId: zod.z.string().min(1).optional()
48958
48954
  });
48959
48955
  /**
48960
48956
  * Time contract of {@link CalendarEvent}.
@@ -52038,8 +52034,12 @@ var RemoteSequenceSourceSchema = zod.z.object({
52038
52034
  var RemoteIrSourceSchema = zod.z.object({
52039
52035
  ...sourceBase,
52040
52036
  kind: zod.z.literal("ir"),
52041
- /** The `ir-transmitter` device the code is sent through. */
52042
- transmitterId: zod.z.number().int().nonnegative(),
52037
+ /**
52038
+ * The `ir-transmitter` device the code is sent through. Absent = the remote's
52039
+ * `defaultTransmitterId` at run time (a source stored before this field was
52040
+ * optional keeps the emitter it names).
52041
+ */
52042
+ transmitterId: zod.z.number().int().nonnegative().optional(),
52043
52043
  /** The code itself; whether a transmitter could send it is `irSourceProblem`. */
52044
52044
  payload: IrPayloadSchema
52045
52045
  });
@@ -64083,7 +64083,7 @@ var imageSettingsCapability = {
64083
64083
  *
64084
64084
  * Phase E of the API consolidation: previously a hand-written core
64085
64085
  * router. Cap conversion lets `useIntegrationsList`,
64086
- * `useIntegrationsCreate`, `useIntegrationsTestConnection` and
64086
+ * `useIntegrationsTestConnection` and
64087
64087
  * friends flow through the same codegen pipeline as every other cap.
64088
64088
  */
64089
64089
  var IntegrationWithStateSchema = zod.z.object({
@@ -64169,7 +64169,7 @@ var AvailableIntegrationTypeSchema = zod.z.object({
64169
64169
  *
64170
64170
  * - `validated` — a provider-declared test ran and the remote ACCEPTED.
64171
64171
  * - `rejected` — a provider-declared test ran and the remote REFUSED.
64172
- * The only status that blocks `integrations.create`.
64172
+ * The only status that blocks `integrationInstances.createInstance`.
64173
64173
  * - `inconclusive` — a test IS declared but could not complete (timeout,
64174
64174
  * DNS, 5xx). Nothing was observed; not a failure.
64175
64175
  * - `unsupported` — this integration declares NO test. Nothing was
@@ -64199,16 +64199,6 @@ var TestConnectionResultSchema = zod.z.object({
64199
64199
  /** Human detail from a `validated` result ("3 devices on this account"). */
64200
64200
  detail: zod.z.string().optional()
64201
64201
  });
64202
- var CreateIntegrationInputSchema = zod.z.object({
64203
- addonId: zod.z.string(),
64204
- name: zod.z.string(),
64205
- info: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
64206
- /** `stableId` of the discovery candidate the form was seeded from (D984). */
64207
- originStableId: zod.z.string().optional(),
64208
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
64209
- /** The instance kind being created, for a provider with several; omitted = its only testable kind. */
64210
- kind: zod.z.string().min(1).optional()
64211
- });
64212
64202
  var UpdateIntegrationInputSchema = zod.z.object({
64213
64203
  id: zod.z.string(),
64214
64204
  name: zod.z.string().optional(),
@@ -64232,10 +64222,6 @@ var integrationsCapability = {
64232
64222
  list: method(zod.z.void(), zod.z.array(IntegrationWithStateSchema)),
64233
64223
  get: method(zod.z.object({ id: zod.z.string() }), IntegrationWithStateSchema),
64234
64224
  getByAddonId: method(zod.z.object({ addonId: zod.z.string() }), IntegrationLiteSchema.nullable()),
64235
- create: method(CreateIntegrationInputSchema, IntegrationLiteSchema, {
64236
- kind: "mutation",
64237
- auth: "admin"
64238
- }),
64239
64225
  update: method(UpdateIntegrationInputSchema, IntegrationLiteSchema, {
64240
64226
  kind: "mutation",
64241
64227
  auth: "admin"
@@ -64461,7 +64447,15 @@ var integrationInstancesCapability = {
64461
64447
  * registry row of an instance that brings devices, so discovery stops offering a candidate
64462
64448
  * that already has its integration (D984). Ignored by an instance with no registry row.
64463
64449
  */
64464
- originStableId: zod.z.string().min(1).optional()
64450
+ originStableId: zod.z.string().min(1).optional(),
64451
+ /**
64452
+ * The seed variant: the HUB or an addon states the integration it owns (a fixed builtin's
64453
+ * row, a migration's row), not an operator creating one. It brings the registry `info`
64454
+ * (`{ fixed: true }`), makes the row whatever the kind's role, and is accepted only from a
64455
+ * caller the transport stamped as the addon itself (`callerAddonId`): an admin session
64456
+ * cannot send it, and the wizard never does. `values` are the settings it is seeded with.
64457
+ */
64458
+ seed: zod.z.object({ info: zod.z.record(zod.z.string(), zod.z.unknown()) }).optional()
64465
64459
  }), zod.z.object({ id: zod.z.string() }), {
64466
64460
  kind: "mutation",
64467
64461
  auth: "admin"
@@ -86581,7 +86575,6 @@ var RemoteCustomButtonSchema = zod.z.object({
86581
86575
  /** What the operator calls it, and what a voice command may name. */
86582
86576
  name: zod.z.string().min(1).max(60)
86583
86577
  });
86584
- var RemotePowerModeSchema = zod.z.enum(["toggle", "discrete"]);
86585
86578
  /**
86586
86579
  * The source rules: every step role is bound, ids and names are unique, a
86587
86580
  * channel number belongs to one `digits` source, and no name or id is another
@@ -86662,7 +86655,6 @@ var RemoteConfigSchema = zod.z.object({
86662
86655
  sources: zod.z.array(RemoteSourceSchema).max(200).default([]),
86663
86656
  /** The pause between two steps of a source: the television's receiver, not a repeat. */
86664
86657
  stepDelayMs: zod.z.number().int().min(100).max(REMOTE_STEP_DELAY_MAX_MS).default(500),
86665
- power: zod.z.object({ mode: RemotePowerModeSchema }),
86666
86658
  /**
86667
86659
  * READ-ONLY: sources a stored configuration carries that no longer parse,
86668
86660
  * left out of `sources` with the reason (`readStoredRemoteConfig`). Never
@@ -86769,8 +86761,7 @@ var EMPTY_REMOTE_CONFIG = {
86769
86761
  bindings: {},
86770
86762
  customButtons: [],
86771
86763
  sources: [],
86772
- stepDelayMs: 500,
86773
- power: { mode: "discrete" }
86764
+ stepDelayMs: 500
86774
86765
  };
86775
86766
  /**
86776
86767
  * What the remote last SENT and therefore guesses about a device that does not
@@ -86835,6 +86826,11 @@ var RemoteLayoutButtonSchema = zod.z.object({
86835
86826
  /** Absent = the plain rendering every layout had before shapes existed. */
86836
86827
  shape: RemoteButtonShapeSchema.optional(),
86837
86828
  tone: RemoteButtonToneSchema.optional(),
86829
+ /**
86830
+ * Draw the label on a colour-toned key. A colour key shows only its colour
86831
+ * by default; a remote whose plastic prints letters on them (A B C D) sets it.
86832
+ */
86833
+ showLegend: zod.z.boolean().optional(),
86838
86834
  /** The group this button belongs to; it must lie inside that group's rectangle. */
86839
86835
  groupId: zod.z.string().min(1).max(40).optional()
86840
86836
  });
@@ -86972,7 +86968,6 @@ var RemoteBoundCommandSchema = zod.z.object({
86972
86968
  });
86973
86969
  var RemoteCommandListSchema = zod.z.object({
86974
86970
  layoutTemplateId: zod.z.string().nullable(),
86975
- power: zod.z.object({ mode: RemotePowerModeSchema }),
86976
86971
  /** Only the roles that are BOUND — the ones a press can reach. */
86977
86972
  commands: zod.z.array(RemoteBoundCommandSchema),
86978
86973
  /** The sources the operator declared; empty when none (planning#460). */
@@ -86985,7 +86980,8 @@ var RemoteRefusalReasonSchema = zod.z.enum([
86985
86980
  "unknown-source",
86986
86981
  "unbound-step",
86987
86982
  "undeclared-channel",
86988
- "press-timeout"
86983
+ "press-timeout",
86984
+ "no-transmitter"
86989
86985
  ]);
86990
86986
  var RemoteSendResultSchema = zod.z.discriminatedUnion("status", [
86991
86987
  zod.z.object({
@@ -87115,7 +87111,8 @@ var RemoteComponentButtonSchema = zod.z.object({
87115
87111
  icon: zod.z.string().min(1).max(60).optional(),
87116
87112
  label: zod.z.string().min(1).max(40).optional(),
87117
87113
  shape: RemoteButtonShapeSchema.optional(),
87118
- tone: RemoteButtonToneSchema.optional()
87114
+ tone: RemoteButtonToneSchema.optional(),
87115
+ showLegend: zod.z.boolean().optional()
87119
87116
  });
87120
87117
  var RemoteLayoutComponentSchema = zod.z.object({
87121
87118
  id: zod.z.string().max(80).regex(COMPONENT_ID_RE, { message: "<namespace>:<name>, lowercase" }),
@@ -104606,13 +104603,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
104606
104603
  access: "create",
104607
104604
  role: "admin"
104608
104605
  },
104609
- "integrations.create": {
104610
- capName: "integrations",
104611
- capScope: "system",
104612
- addonId: null,
104613
- access: "create",
104614
- role: "admin"
104615
- },
104616
104606
  "integrations.delete": {
104617
104607
  capName: "integrations",
104618
104608
  capScope: "system",
@@ -117234,12 +117224,6 @@ Object.defineProperty(exports, "LOG_LEVEL_RANK", {
117234
117224
  return LOG_LEVEL_RANK;
117235
117225
  }
117236
117226
  });
117237
- Object.defineProperty(exports, "LegacyStorageLocationDefaultSchema", {
117238
- enumerable: true,
117239
- get: function() {
117240
- return LegacyStorageLocationDefaultSchema;
117241
- }
117242
- });
117243
117227
  Object.defineProperty(exports, "METHOD_ACCESS_MAP", {
117244
117228
  enumerable: true,
117245
117229
  get: function() {
@@ -117486,6 +117470,12 @@ Object.defineProperty(exports, "RemoteAssumedStateSchema", {
117486
117470
  return RemoteAssumedStateSchema;
117487
117471
  }
117488
117472
  });
117473
+ Object.defineProperty(exports, "RemoteLayoutPayloadSchema", {
117474
+ enumerable: true,
117475
+ get: function() {
117476
+ return RemoteLayoutPayloadSchema;
117477
+ }
117478
+ });
117489
117479
  Object.defineProperty(exports, "RevConflictError", {
117490
117480
  enumerable: true,
117491
117481
  get: function() {
@@ -1,5 +1,5 @@
1
1
  require("./chunk-Cek0wNdY.js");
2
- const require_wal_maintenance = require("./wal-maintenance-D5CHoEtS.js");
2
+ const require_wal_maintenance = require("./wal-maintenance-BPmo2JzY.js");
3
3
  let node_worker_threads = require("node:worker_threads");
4
4
  //#region src/builtins/sqlite-storage/file-host-worker.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-DtqrYJN3.mjs";
1
+ import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-BJ0vDek1.mjs";
2
2
  import { parentPort, threadId, workerData } from "node:worker_threads";
3
3
  //#region src/builtins/sqlite-storage/file-host-worker.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
2
- import { Uc as userError } from "./dist-DBoCrtvm.mjs";
2
+ import { Uc as userError } from "./dist-BNBgsEk0.mjs";
3
3
  import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
4
- import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-CK_B6QXQ.mjs";
4
+ import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-rhOY61af.mjs";
5
5
  import { X509Certificate, createPrivateKey } from "node:crypto";
6
6
  import { writeOwnerOnlyFileSync } from "@camstack/types/node";
7
7
  import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.js");
2
- const require_dist = require("./dist-BmEptO1d.js");
2
+ const require_dist = require("./dist-DX1gyM8o.js");
3
3
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
4
- const require_agent_https = require("./agent-https-pirjJaDw.js");
4
+ const require_agent_https = require("./agent-https-ChriyNA8.js");
5
5
  let node_crypto = require("node:crypto");
6
6
  let _camstack_types_node = require("@camstack/types/node");
7
7
  let node_fs = require("node:fs");