@camstack/server 1.2.738 → 1.2.740

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 (89) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/api/core/cap-providers.js +14 -16
  3. package/dist/api/trpc/generated-cap-routers.js +10 -6
  4. package/package.json +16 -9
  5. package/system/dist/addon-utils.mjs +1 -1
  6. package/system/dist/{agent-https-Bi3JY1e0.js → agent-https-DXWlu1kP.js} +1 -1
  7. package/system/dist/{agent-https-DiK6iQzW.mjs → agent-https-DcYKH3q_.mjs} +1 -1
  8. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  9. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +4 -4
  10. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  11. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +5 -5
  12. package/system/dist/builtins/alerts/alerts.addon.js +1 -1
  13. package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
  14. package/system/dist/builtins/autotrack/index.js +1 -1
  15. package/system/dist/builtins/autotrack/index.mjs +1 -1
  16. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  17. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +5 -5
  18. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  19. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  20. package/system/dist/builtins/camera-grid/index.js +1 -1
  21. package/system/dist/builtins/camera-grid/index.mjs +1 -1
  22. package/system/dist/builtins/composer/composer.addon.js +3 -3
  23. package/system/dist/builtins/composer/composer.addon.mjs +3 -3
  24. package/system/dist/builtins/console-logging/index.js +1 -1
  25. package/system/dist/builtins/console-logging/index.mjs +1 -1
  26. package/system/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
  27. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
  28. package/system/dist/builtins/device-history/device-history.addon.js +2 -2
  29. package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
  30. package/system/dist/builtins/device-manager/device-manager.addon.js +1 -1
  31. package/system/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
  32. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  33. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  34. package/system/dist/builtins/keychain/index.js +3 -3
  35. package/system/dist/builtins/keychain/index.mjs +3 -3
  36. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  37. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  38. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  39. package/system/dist/builtins/local-auth/local-auth.addon.mjs +5 -5
  40. package/system/dist/builtins/local-network/local-network.addon.js +2 -2
  41. package/system/dist/builtins/local-network/local-network.addon.mjs +2 -2
  42. package/system/dist/builtins/loki-logging/index.js +1 -1
  43. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  44. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  45. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +10 -10
  46. package/system/dist/builtins/platform-probe/index.js +1 -1
  47. package/system/dist/builtins/platform-probe/index.mjs +10 -10
  48. package/system/dist/builtins/record-entries/index.js +1 -1
  49. package/system/dist/builtins/record-entries/index.mjs +1 -1
  50. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  51. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  52. package/system/dist/builtins/snapshot/index.js +3 -3
  53. package/system/dist/builtins/snapshot/index.mjs +3 -3
  54. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  55. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +20 -20
  56. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  57. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  58. package/system/dist/builtins/sqlite-storage/migrations/installed-runner-resolver.d.ts +3 -0
  59. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +59 -3
  60. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +60 -4
  61. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  62. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  63. package/system/dist/builtins/system-config/system-config.addon.js +3 -3
  64. package/system/dist/builtins/system-config/system-config.addon.mjs +115 -115
  65. package/system/dist/builtins/winston-logging/index.js +1 -1
  66. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  67. package/system/dist/{composition-sources-lnsR-YuH.mjs → composition-sources-BNa_vU07.mjs} +1 -1
  68. package/system/dist/{composition-sources-DQLGJMMh.js → composition-sources-BfWnLt2j.js} +1 -1
  69. package/system/dist/{constants-D7I0cM20.mjs → constants-DCYUT12P.mjs} +1 -1
  70. package/system/dist/{constants-DA5jgmYT.js → constants-DugYIgQF.js} +1 -1
  71. package/system/dist/{coral-accelerators-DBlgWB8k.mjs → coral-accelerators-BW3OcrLD.mjs} +6 -6
  72. package/system/dist/{custom-action-registry-oHl1xltx.mjs → custom-action-registry-BIJZBObd.mjs} +37 -37
  73. package/system/dist/{device-ca-Clr2bCe-.mjs → device-ca-BnBFt1ex.mjs} +1 -1
  74. package/system/dist/{device-ca-GPjZE-Mm.js → device-ca-CFs0PY9S.js} +1 -1
  75. package/system/dist/{dist-Cyj93AvD.mjs → dist-BF9MiiHX.mjs} +79 -41
  76. package/system/dist/{dist-Xi7ZQ7UI.js → dist-DwI4ifnv.js} +84 -40
  77. package/system/dist/file-host-worker.js +1 -1
  78. package/system/dist/file-host-worker.mjs +1 -1
  79. package/system/dist/{hub-mdns-ciao-ouzCfqVS.mjs → hub-mdns-ciao-CnSqBHO9.mjs} +2 -2
  80. package/system/dist/{hub-mdns-ciao-BMgUdxgG.js → hub-mdns-ciao-Dsk7HF0G.js} +2 -2
  81. package/system/dist/index.js +7 -7
  82. package/system/dist/index.mjs +218 -218
  83. package/system/dist/{restore-archive-UXCD7JO3.mjs → restore-archive-CDgSTubW.mjs} +94 -94
  84. package/system/dist/{restore-archive-CZozfCX-.js → restore-archive-CnG6nyar.js} +1 -1
  85. package/system/dist/{retention-BfC_C1vy.mjs → retention-csYEu0l3.mjs} +1 -1
  86. package/system/dist/{retention-DCrdPMot.js → retention-voCdtR4h.js} +1 -1
  87. package/system/dist/{wal-maintenance-C2GNRuvy.mjs → wal-maintenance-CTsOr0e7.mjs} +0 -0
  88. package/system/dist/{wal-maintenance-PjOoh6-K.js → wal-maintenance-DrLnLCGO.js} +0 -0
  89. package/system/package.json +1 -1
@@ -786,7 +786,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
786
786
  return EventCategory;
787
787
  }({});
788
788
  //#endregion
789
- //#region ../types/dist/device-type-BOWLtoOt.mjs
789
+ //#region ../types/dist/device-type-CfHw_quR.mjs
790
790
  /**
791
791
  import { errMsg } from '@camstack/types'
792
792
  * Extract a human-readable message from an unknown error value.
@@ -975,6 +975,9 @@ var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
975
975
  DeviceFeature["CoverPositionable"] = "cover-positionable";
976
976
  /** Cover exposes slat-tilt control. Gates the tilt slider UI. */
977
977
  DeviceFeature["CoverTilt"] = "cover-tilt";
978
+ /** Cover has a real stop: `stop` halts the travel in place. Gates the stop
979
+ * control in exporters; a provider whose `stop` is a no-op never declares it. */
980
+ DeviceFeature["CoverStoppable"] = "cover-stoppable";
978
981
  /** Valve exposes intermediate position control (0..100). Gates the
979
982
  * position slider / drag surface UI. */
980
983
  DeviceFeature["ValvePositionable"] = "valve-positionable";
@@ -1162,7 +1165,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
1162
1165
  return DeviceRole;
1163
1166
  }({});
1164
1167
  //#endregion
1165
- //#region ../types/dist/sleep-CdJHPm-k.mjs
1168
+ //#region ../types/dist/sleep-QsoHs66J.mjs
1166
1169
  /**
1167
1170
  * The audio chunk plane's byte format, and the ONE expansion from a coded
1168
1171
  * window to float samples (D455).
@@ -8172,7 +8175,7 @@ function sleep(ms) {
8172
8175
  return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
8173
8176
  }
8174
8177
  //#endregion
8175
- //#region ../types/dist/composition-BDUoQsw9.mjs
8178
+ //#region ../types/dist/composition-Dh3RfMx5.mjs
8176
8179
  var AUDIO_ENCODER_BY_CODEC = {
8177
8180
  opus: "libopus",
8178
8181
  aac: "aac",
@@ -11286,6 +11289,19 @@ zod.z.object({
11286
11289
  })
11287
11290
  });
11288
11291
  /**
11292
+ * Resolve the runner id an addon belongs to. This is the single
11293
+ * authority for the hub↔runner topology:
11294
+ * - declared `group` present → the runner id is the group name
11295
+ * (shared with every other addon declaring the same group);
11296
+ * - no `group` declared → the runner id is the addon id itself
11297
+ * (its own dedicated runner — one addon, one process).
11298
+ *
11299
+ * The runner's Moleculer nodeID is `${parentNodeId}/${runnerId}`.
11300
+ */
11301
+ function resolveRunnerId(decl, addonId) {
11302
+ return decl.execution?.group ?? addonId;
11303
+ }
11304
+ /**
11289
11305
  * Adoption job — the background form of `device-adoption.adopt`.
11290
11306
  *
11291
11307
  * ## Why this exists
@@ -54808,6 +54824,7 @@ var coreBlocksCapability = {
54808
54824
  * Sub-surface gating paired with `DeviceFeature` flags:
54809
54825
  * - `CoverPositionable` — intermediate `position` slider
54810
54826
  * - `CoverTilt` — slat-tilt slider
54827
+ * - `CoverStoppable` — the `stop` control (a no-op `stop` never declares it)
54811
54828
  */
54812
54829
  var CoverStateSchema = zod.z.enum([
54813
54830
  "open",
@@ -61595,15 +61612,9 @@ var AvailableIntegrationTypeSchema = zod.z.object({
61595
61612
  * branch on CAP — never on addon name. `device-adoption` integrations
61596
61613
  * (Home Assistant, …) route through the broker step (Approach A);
61597
61614
  * `device-provider` integrations (Reolink/ONVIF) keep the
61598
- * legacy config → discovery flow. `connection` is an addon that only holds a
61599
- * connection as typed records (`integration-instances`, D985): no devices,
61600
- * no discovery.
61615
+ * legacy config → discovery flow.
61601
61616
  */
61602
- kind: zod.z.enum([
61603
- "device-adoption",
61604
- "device-provider",
61605
- "connection"
61606
- ]),
61617
+ kind: zod.z.enum(["device-adoption", "device-provider"]),
61607
61618
  /**
61608
61619
  * For `device-adoption` addons: the broker kind to create/link
61609
61620
  * (e.g. `home-assistant`), declared in the addon manifest. `null` for
@@ -61735,18 +61746,17 @@ var integrationsCapability = {
61735
61746
  };
61736
61747
  /**
61737
61748
  * `integration-instances` - the connection of an addon that holds ONE or SEVERAL
61738
- * (an account, a relay, a destination) as typed records, shown on the
61739
- * Integrations page like every other integration (D985, D986).
61749
+ * (an account, a relay, a destination) as typed records (D985, D986). The addon's
61750
+ * own function page reads and writes them (Logging for Loki); the Integrations
61751
+ * page lists only the integrations that bring devices (D996).
61740
61752
  *
61741
- * A collection of providers: each addon that holds connections registers one
61742
- * and the hub aggregator (`integrations.*`) reaches a provider with the pinned
61743
- * `addonId`. It is internal and has no route: the operator-facing surface is
61744
- * the `integrations` cap, which keeps ONE list.
61753
+ * A collection of providers: each addon that holds connections registers one and a
61754
+ * caller reaches a provider with the pinned `addonId`.
61745
61755
  *
61746
- * Identity: the instance id IS the `integrations` registry id (`int_NNNN`,
61747
- * immutable, already in the `/integrations/<id>` URL). A second operator-chosen
61748
- * slug would be a second authority over one identity (D224). `name` is the
61749
- * editable label.
61756
+ * Identity: the instance id is immutable and opaque to the caller. A record the
61757
+ * Loki migration made keeps the `integrations` registry id it was created under
61758
+ * (`int_NNNN`); a single instance made by its function page takes the addon id.
61759
+ * `name` is the editable label.
61750
61760
  *
61751
61761
  * Secrets: every field the instance kind marks `.meta({ secret: true })` reaches
61752
61762
  * the form as a `SecretFieldView`, never text (D789). A patch value omitted, `''`
@@ -61792,27 +61802,37 @@ var integrationInstancesCapability = {
61792
61802
  name: "integration-instances",
61793
61803
  scope: "system",
61794
61804
  mode: "collection",
61795
- internal: true,
61796
61805
  methods: {
61797
- describe: method(zod.z.void(), IntegrationInstanceDescriptionSchema),
61806
+ describe: method(zod.z.void(), IntegrationInstanceDescriptionSchema, { auth: "admin" }),
61798
61807
  /** The form; `id: null` is the create form. */
61799
- instanceFormSchema: method(zod.z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3),
61800
- listInstances: method(zod.z.void(), zod.z.array(IntegrationInstanceSchema).readonly()),
61801
- getInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable()),
61802
- /** Insert the typed record for a registry row that already exists. */
61808
+ instanceFormSchema: method(zod.z.object({ id: IntegrationInstanceIdSchema.nullable() }), ConfigSchemaPassthrough$3, { auth: "admin" }),
61809
+ listInstances: method(zod.z.void(), zod.z.array(IntegrationInstanceSchema).readonly(), { auth: "admin" }),
61810
+ getInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), IntegrationInstanceSchema.nullable(), { auth: "admin" }),
61811
+ /** Insert the typed record under the given id (a duplicate id is refused). */
61803
61812
  createInstance: method(zod.z.object({
61804
61813
  id: IntegrationInstanceIdSchema,
61805
61814
  name: zod.z.string().min(1)
61806
- }), zod.z.object({ id: zod.z.string() }), { kind: "mutation" }),
61807
- updateInstance: method(IntegrationInstancePatchSchema, zod.z.object({ ok: zod.z.literal(true) }), { kind: "mutation" }),
61815
+ }), zod.z.object({ id: zod.z.string() }), {
61816
+ kind: "mutation",
61817
+ auth: "admin"
61818
+ }),
61819
+ updateInstance: method(IntegrationInstancePatchSchema, zod.z.object({ ok: zod.z.literal(true) }), {
61820
+ kind: "mutation",
61821
+ auth: "admin"
61822
+ }),
61808
61823
  /** Delete the record and its keychain refs together. */
61809
- deleteInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), zod.z.object({ ok: zod.z.literal(true) }), { kind: "mutation" }),
61824
+ deleteInstance: method(zod.z.object({ id: IntegrationInstanceIdSchema }), zod.z.object({ ok: zod.z.literal(true) }), {
61825
+ kind: "mutation",
61826
+ auth: "admin"
61827
+ }),
61810
61828
  testInstance: optionalMethod(zod.z.object({
61811
61829
  id: IntegrationInstanceIdSchema.nullable(),
61812
61830
  values: zod.z.record(zod.z.string(), zod.z.unknown())
61813
- }), TestConnectionResultSchema$1, { kind: "mutation" })
61814
- },
61815
- mount: { kind: "skip" }
61831
+ }), TestConnectionResultSchema$1, {
61832
+ kind: "mutation",
61833
+ auth: "admin"
61834
+ })
61835
+ }
61816
61836
  };
61817
61837
  /**
61818
61838
  * Two-way audio / talk-back cap. Clients open a WebRTC audio-only
@@ -75012,7 +75032,14 @@ var NcMediaPolicySchema = zod.z.object({
75012
75032
  */
75013
75033
  profile: CamProfileSchema.optional(),
75014
75034
  /** See {@link NcLinkedCameraModeSchema}. */
75015
- linkedCameras: NcLinkedCameraModeSchema.optional()
75035
+ linkedCameras: NcLinkedCameraModeSchema.optional(),
75036
+ /**
75037
+ * Sensor rules only: may this rule wake a SLEEPING battery camera to take
75038
+ * the linked still it attaches (D998)? Absent means yes, an explicit `false`
75039
+ * opts out. Deliberately not a Zod default: a rule that never chose keeps
75040
+ * following the hub's. One bounded wake per event; nothing is attached later.
75041
+ */
75042
+ wakeSleepingCamera: zod.z.boolean().optional()
75016
75043
  });
75017
75044
  /**
75018
75045
  * Cooldown GRANULARITY over the subject's class — how much a fired
@@ -85436,7 +85463,16 @@ var smokeCapability = {
85436
85463
  * future fields without breaking the existing call sites.
85437
85464
  */
85438
85465
  var EmailAddressSchema = zod.z.email();
85466
+ /**
85467
+ * Which relay of a multi-relay provider answers (D996). Absent = the provider's first / default
85468
+ * relay, so a caller written before relays existed keeps working unchanged. A provider with one
85469
+ * fixed relay ignores it. This is the integration instance id (`int_NNNN`), NOT the addon id: the
85470
+ * collection pin `addonId` still picks the provider, `instanceId` picks the relay inside it.
85471
+ */
85472
+ var InstanceIdSchema = zod.z.string().min(1).optional();
85473
+ var RelayPinSchema = zod.z.object({ instanceId: InstanceIdSchema });
85439
85474
  var SendEmailInputSchema = zod.z.object({
85475
+ instanceId: InstanceIdSchema,
85440
85476
  to: zod.z.union([EmailAddressSchema, zod.z.array(EmailAddressSchema).min(1)]),
85441
85477
  cc: zod.z.array(EmailAddressSchema).optional(),
85442
85478
  bcc: zod.z.array(EmailAddressSchema).optional(),
@@ -85482,12 +85518,12 @@ var smtpProviderCapability = {
85482
85518
  }),
85483
85519
  /** Round-trip ping against the SMTP relay (EHLO + AUTH if configured).
85484
85520
  * Used by the operator's "Test connection" button. */
85485
- verify: method(zod.z.void(), SmtpStatusSchema, {
85521
+ verify: method(RelayPinSchema, SmtpStatusSchema, {
85486
85522
  kind: "mutation",
85487
85523
  auth: "admin",
85488
85524
  access: "view"
85489
85525
  }),
85490
- getStatus: method(zod.z.void(), SmtpStatusSchema, { auth: "admin" })
85526
+ getStatus: method(RelayPinSchema, SmtpStatusSchema, { auth: "admin" })
85491
85527
  }
85492
85528
  };
85493
85529
  /**
@@ -85557,10 +85593,12 @@ var snapshotCapability = {
85557
85593
  * even when the cache is well within the device's
85558
85594
  * `snapshotMaxAgeS` window.
85559
85595
  *
85560
- * **`force` is an OPERATOR signal, not a freshness preference.** On a
85596
+ * **`force` is a demand with a named principal, not a freshness
85597
+ * preference** — an operator button, the scheduled refresh (D847), or a
85598
+ * notification rule that left the camera's wake allowed (D998). On a
85561
85599
  * battery camera it is the one thing that walks past the wrapper's
85562
- * sleep gate and wakes the camera, so a background caller — a poller,
85563
- * an event handler, a thumbnail — must NEVER set it. Every such caller
85600
+ * sleep gate and wakes the camera, so a poller, a thumbnail or a
85601
+ * prestream must NEVER set it. Every such caller
85564
85602
  * gets the cached frame, which on a sleeping battery camera is the
85565
85603
  * correct answer: stale but honest beats woken.
85566
85604
  */
@@ -92219,7 +92257,7 @@ var ACTUATOR_METHODS = {
92219
92257
  cover: [
92220
92258
  row$1("cover", "open"),
92221
92259
  row$1("cover", "close"),
92222
- row$1("cover", "stop"),
92260
+ row$1("cover", "stop", DeviceFeature.CoverStoppable),
92223
92261
  row$1("cover", "setPosition", DeviceFeature.CoverPositionable),
92224
92262
  row$1("cover", "setTiltPosition", DeviceFeature.CoverTilt)
92225
92263
  ],
@@ -112013,6 +112051,12 @@ Object.defineProperty(exports, "resolveNotificationTapAddress", {
112013
112051
  return resolveNotificationTapAddress;
112014
112052
  }
112015
112053
  });
112054
+ Object.defineProperty(exports, "resolveRunnerId", {
112055
+ enumerable: true,
112056
+ get: function() {
112057
+ return resolveRunnerId;
112058
+ }
112059
+ });
112016
112060
  Object.defineProperty(exports, "resolveSecretMarkers", {
112017
112061
  enumerable: true,
112018
112062
  get: function() {
@@ -1,5 +1,5 @@
1
1
  require("./chunk-Cek0wNdY.js");
2
- const require_wal_maintenance = require("./wal-maintenance-PjOoh6-K.js");
2
+ const require_wal_maintenance = require("./wal-maintenance-DrLnLCGO.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-C2GNRuvy.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-CTsOr0e7.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 { Js as userError } from "./dist-Cyj93AvD.mjs";
2
+ import { Ys as userError } from "./dist-BF9MiiHX.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-DiK6iQzW.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-DcYKH3q_.mjs";
5
5
  import { X509Certificate, createPrivateKey } from "node:crypto";
6
6
  import { writeOwnerOnlyFileSync } from "@camstack/types/node";
7
7
  import { mkdir, writeFile } from "node:fs/promises";
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.js");
2
- const require_dist = require("./dist-Xi7ZQ7UI.js");
2
+ const require_dist = require("./dist-DwI4ifnv.js");
3
3
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
4
- const require_agent_https = require("./agent-https-Bi3JY1e0.js");
4
+ const require_agent_https = require("./agent-https-DXWlu1kP.js");
5
5
  let node_crypto = require("node:crypto");
6
6
  let _camstack_types_node = require("@camstack/types/node");
7
7
  let node_fs_promises = require("node:fs/promises");
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-Cek0wNdY.js");
3
- const require_dist = require("./dist-Xi7ZQ7UI.js");
4
- const require_device_ca = require("./device-ca-GPjZE-Mm.js");
3
+ const require_dist = require("./dist-DwI4ifnv.js");
4
+ const require_device_ca = require("./device-ca-CFs0PY9S.js");
5
5
  const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
6
6
  const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
7
7
  require("./builtins/alerts/index.js");
@@ -26,21 +26,21 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
26
26
  const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
27
27
  const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
28
28
  const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
29
- const require_wal_maintenance = require("./wal-maintenance-PjOoh6-K.js");
29
+ const require_wal_maintenance = require("./wal-maintenance-DrLnLCGO.js");
30
30
  const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
31
31
  const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
32
32
  const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
33
33
  require("./builtins/storage-orchestrator/index.js");
34
- const require_agent_https = require("./agent-https-Bi3JY1e0.js");
35
- const require_constants = require("./constants-DA5jgmYT.js");
34
+ const require_agent_https = require("./agent-https-DXWlu1kP.js");
35
+ const require_constants = require("./constants-DugYIgQF.js");
36
36
  const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
37
37
  require("./builtins/system-config/index.js");
38
38
  const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
39
39
  const require_custom_action_registry = require("./custom-action-registry-JuMHGKEc.js");
40
- const require_hub_mdns_ciao = require("./hub-mdns-ciao-BMgUdxgG.js");
40
+ const require_hub_mdns_ciao = require("./hub-mdns-ciao-Dsk7HF0G.js");
41
41
  const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
42
42
  const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
43
- const require_restore_archive = require("./restore-archive-CZozfCX-.js");
43
+ const require_restore_archive = require("./restore-archive-CnG6nyar.js");
44
44
  const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
45
45
  let zod = require("zod");
46
46
  let node_crypto = require("node:crypto");