@dominevo/types 0.1.0 → 0.1.2

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 (167) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/addon/base-addon.d.ts +2 -16
  3. package/dist/addon.d.ts +4 -4
  4. package/dist/addon.js +2 -2
  5. package/dist/addon.mjs +2 -2
  6. package/dist/app-bridge.d.ts +16 -16
  7. package/dist/auth/app-callback.d.ts +2 -3
  8. package/dist/auth/credential-scope.d.ts +1 -1
  9. package/dist/auth/device-certificate.d.ts +5 -5
  10. package/dist/auth/sso-state.d.ts +1 -1
  11. package/dist/brokers/smtp-inbound.d.ts +1 -1
  12. package/dist/cap-call-context.d.ts +2 -2
  13. package/dist/capabilities/backup.cap.d.ts +1 -1
  14. package/dist/capabilities/capability-definition.d.ts +1 -1
  15. package/dist/capabilities/custom-model-registry.cap.d.ts +8 -8
  16. package/dist/capabilities/display-palette.cap.d.ts +2 -2
  17. package/dist/capabilities/hub-address.d.ts +5 -5
  18. package/dist/capabilities/index.d.ts +2 -2
  19. package/dist/capabilities/keychain-admin.cap.d.ts +2 -2
  20. package/dist/capabilities/load-contribution.cap.d.ts +1 -1
  21. package/dist/capabilities/local-network.cap.d.ts +2 -2
  22. package/dist/capabilities/metrics-provider.cap.d.ts +1 -1
  23. package/dist/capabilities/migrations.cap.d.ts +1 -1
  24. package/dist/capabilities/model-convert.cap.d.ts +2 -2
  25. package/dist/capabilities/model-distributor.cap.d.ts +4 -4
  26. package/dist/capabilities/notification-rules.cap.d.ts +1 -1
  27. package/dist/capabilities/oauth-integration.cap.d.ts +1 -1
  28. package/dist/capabilities/pipeline-executor.cap.d.ts +5 -5
  29. package/dist/capabilities/pipeline-orchestrator.cap.d.ts +1 -1
  30. package/dist/capabilities/pipeline-runner.cap.d.ts +1 -1
  31. package/dist/capabilities/recording.cap.d.ts +5 -5
  32. package/dist/capabilities/reserved-collection-sources.d.ts +1 -1
  33. package/dist/capabilities/server-management.cap.d.ts +4 -4
  34. package/dist/capabilities/settings-store.cap.d.ts +1 -1
  35. package/dist/capabilities/training.cap.d.ts +1 -1
  36. package/dist/capabilities/user-management.cap.d.ts +8 -2
  37. package/dist/capabilities/videoclips.cap.d.ts +5 -5
  38. package/dist/capabilities/viewer-link-url.d.ts +6 -6
  39. package/dist/catalogs/display-palette-tables.d.ts +2 -2
  40. package/dist/catalogs/display-palette.d.ts +3 -3
  41. package/dist/catalogs/palette-entries.d.ts +1 -1
  42. package/dist/client.d.ts +1 -1
  43. package/dist/client.js +19 -27
  44. package/dist/client.mjs +19 -27
  45. package/dist/constants.d.ts +2 -2
  46. package/dist/deps/edgetpu-delegate.d.ts +4 -4
  47. package/dist/deps/ffmpeg-binary-source.d.ts +2 -2
  48. package/dist/deps/ffmpeg-downloader.d.ts +1 -1
  49. package/dist/device/icon-catalog.generated.d.ts +2 -5
  50. package/dist/enums/event-category.d.ts +2 -2
  51. package/dist/enums.js +1 -1
  52. package/dist/enums.mjs +1 -1
  53. package/dist/esm/addon/base-addon.mjs +2 -22
  54. package/dist/esm/addon/notification-targets.mjs +1 -1
  55. package/dist/esm/addon/record-integration-instances.mjs +2 -2
  56. package/dist/esm/addon.mjs +1 -1
  57. package/dist/esm/app-bridge.mjs +2 -2
  58. package/dist/esm/auth/app-callback.mjs +3 -9
  59. package/dist/esm/auth/credential-scope.mjs +2 -2
  60. package/dist/esm/auth/device-certificate.mjs +6 -11
  61. package/dist/esm/auth/sso-state.mjs +1 -1
  62. package/dist/esm/brokers/smtp-inbound.mjs +1 -1
  63. package/dist/esm/cap-call-context.mjs +2 -2
  64. package/dist/esm/capabilities/backup.cap.mjs +1 -1
  65. package/dist/esm/capabilities/custom-model-registry.cap.mjs +1 -1
  66. package/dist/esm/capabilities/device-export.cap.mjs +1 -1
  67. package/dist/esm/capabilities/face-gallery.cap.mjs +1 -1
  68. package/dist/esm/capabilities/hub-address.mjs +8 -8
  69. package/dist/esm/capabilities/ir-transmitter.cap.mjs +1 -1
  70. package/dist/esm/capabilities/keychain-admin.cap.mjs +2 -2
  71. package/dist/esm/capabilities/load-contribution.cap.mjs +1 -1
  72. package/dist/esm/capabilities/local-network.cap.mjs +3 -3
  73. package/dist/esm/capabilities/mesh-network.cap.mjs +2 -2
  74. package/dist/esm/capabilities/metrics-provider.cap.mjs +2 -2
  75. package/dist/esm/capabilities/migrations.cap.mjs +1 -1
  76. package/dist/esm/capabilities/notification-rules.cap.mjs +1 -1
  77. package/dist/esm/capabilities/oauth-integration.cap.mjs +1 -1
  78. package/dist/esm/capabilities/pipeline-orchestrator.cap.mjs +2 -2
  79. package/dist/esm/capabilities/pipeline-runner.cap.mjs +2 -2
  80. package/dist/esm/capabilities/recording.cap.mjs +7 -7
  81. package/dist/esm/capabilities/reserved-collection-sources.mjs +1 -1
  82. package/dist/esm/capabilities/server-management.cap.mjs +4 -4
  83. package/dist/esm/capabilities/settings-store.cap.mjs +1 -1
  84. package/dist/esm/capabilities/sso-bridge.cap.mjs +1 -1
  85. package/dist/esm/capabilities/training-provider.cap.mjs +1 -1
  86. package/dist/esm/capabilities/user-management.cap.mjs +5 -1
  87. package/dist/esm/capabilities/videoclips.cap.mjs +6 -6
  88. package/dist/esm/capabilities/viewer-link-url.mjs +5 -5
  89. package/dist/esm/catalogs/display-palette-tables.mjs +3 -3
  90. package/dist/esm/catalogs/display-palette.mjs +6 -6
  91. package/dist/esm/catalogs/event-taxonomy.mjs +2 -2
  92. package/dist/esm/catalogs/palette-entries.mjs +1 -1
  93. package/dist/esm/constants.mjs +1 -1
  94. package/dist/esm/deps/binary-downloader.mjs +1 -1
  95. package/dist/esm/deps/edgetpu-delegate.mjs +6 -6
  96. package/dist/esm/deps/ffmpeg-artifacts.mjs +1 -1
  97. package/dist/esm/deps/ffmpeg-binary-source.mjs +2 -2
  98. package/dist/esm/deps/ffmpeg-downloader.mjs +1 -1
  99. package/dist/esm/deps/python-downloader.mjs +1 -1
  100. package/dist/esm/device/icon-catalog.generated.mjs +2 -5
  101. package/dist/esm/enums/event-category.mjs +2 -2
  102. package/dist/esm/ffmpeg/egress-sharing-key.mjs +19 -0
  103. package/dist/esm/ffmpeg/sharing-key.mjs +1 -35
  104. package/dist/esm/generated/method-descriptions.mjs +4 -4
  105. package/dist/esm/generated/scope-presets.mjs +1 -1
  106. package/dist/esm/i18n/{camstack-error.mjs → dominevo-error.mjs} +5 -5
  107. package/dist/esm/index.mjs +7 -8
  108. package/dist/esm/interfaces/addon-data-plane.mjs +2 -2
  109. package/dist/esm/interfaces/config-ui-secrets.mjs +1 -1
  110. package/dist/esm/interfaces/storage-location-declaration.mjs +4 -4
  111. package/dist/esm/keychain/known-secrets.mjs +1 -1
  112. package/dist/esm/keychain/secret-marker.mjs +1 -1
  113. package/dist/esm/node.mjs +5 -2
  114. package/dist/esm/notification/email-mime.mjs +2 -2
  115. package/dist/esm/notification/scope-picker-items.mjs +3 -3
  116. package/dist/esm/pipeline/native-lease.mjs +1 -1
  117. package/dist/esm/pipeline/node-benchmark/schemas.mjs +1 -1
  118. package/dist/esm/records/errors.mjs +1 -1
  119. package/dist/esm/records/in-memory-records-rows.mjs +1 -1
  120. package/dist/esm/records/secret-views.mjs +1 -1
  121. package/dist/esm/storage/atomic-write.mjs +1 -1
  122. package/dist/esm/storage/filesystem-storage-provider.mjs +3 -3
  123. package/dist/esm/template/automation-template.mjs +1 -1
  124. package/dist/esm/training/trainer-contract.mjs +10 -10
  125. package/dist/esm/treeshake-canary.mjs +1 -1
  126. package/dist/esm/types/models.mjs +7 -7
  127. package/dist/esm/util/models-dir.mjs +19 -0
  128. package/dist/esm/utils/pool-memory-watchdog.mjs +8 -8
  129. package/dist/esm/vendor-login-proxy/login-proxy.mjs +1 -1
  130. package/dist/esm/vendor-login-proxy/url-rewrite.mjs +1 -1
  131. package/dist/{event-category-7IiGF_Ui.mjs → event-category-CwprdwEL.mjs} +2 -2
  132. package/dist/{event-category-BJe9O5KZ.js → event-category-DhlUHlM5.js} +2 -2
  133. package/dist/ffmpeg/egress-sharing-key.d.ts +19 -0
  134. package/dist/ffmpeg/sharing-key.d.ts +19 -12
  135. package/dist/generated/addon-api.d.ts +40 -6
  136. package/dist/i18n/{camstack-error.d.ts → dominevo-error.d.ts} +2 -2
  137. package/dist/index.d.ts +3 -4
  138. package/dist/index.js +141 -330
  139. package/dist/index.mjs +134 -320
  140. package/dist/interfaces/addon-data-plane.d.ts +4 -4
  141. package/dist/interfaces/addon.d.ts +11 -11
  142. package/dist/interfaces/analysis.d.ts +2 -2
  143. package/dist/interfaces/capability.d.ts +1 -1
  144. package/dist/interfaces/config-ui-secrets.d.ts +1 -1
  145. package/dist/interfaces/context.d.ts +2 -2
  146. package/dist/interfaces/detection-addon.d.ts +2 -2
  147. package/dist/interfaces/device-provider.d.ts +2 -2
  148. package/dist/interfaces/event-bus.d.ts +1 -1
  149. package/dist/interfaces/kernel-abstractions.d.ts +1 -1
  150. package/dist/interfaces/storage-location-declaration.d.ts +1 -1
  151. package/dist/node.d.ts +3 -0
  152. package/dist/node.js +168 -13
  153. package/dist/node.mjs +164 -13
  154. package/dist/notification/scope-picker-items.d.ts +2 -2
  155. package/dist/{runtime-capabilities-B9CE8DzI.js → runtime-capabilities-Db29ELdy.js} +26 -46
  156. package/dist/{runtime-capabilities-CAGwQ-Ec.mjs → runtime-capabilities-Dg5DXZkO.mjs} +21 -41
  157. package/dist/storage/filesystem-storage-provider.d.ts +1 -1
  158. package/dist/template/automation-template.d.ts +2 -2
  159. package/dist/training/trainer-contract.d.ts +9 -9
  160. package/dist/treeshake-canary.d.ts +3 -3
  161. package/dist/types/agent-pipeline-settings.d.ts +1 -1
  162. package/dist/types/models.d.ts +11 -11
  163. package/dist/util/models-dir.d.ts +10 -0
  164. package/dist/utils/pool-memory-watchdog.d.ts +1 -1
  165. package/dist/{wake-on-lan-BocEJPCO.js → wake-on-lan-CAbNKvo9.js} +62 -34
  166. package/dist/{wake-on-lan-Dm-fxZ7N.mjs → wake-on-lan-DqbzeHhm.mjs} +57 -35
  167. package/package.json +4 -4
@@ -38,7 +38,7 @@ import { z } from "zod";
38
38
  *
39
39
  * ## The external observer still has a job
40
40
  *
41
- * `metrics.node-processes-snapshot` measures every camstack-shaped process on
41
+ * `metrics.node-processes-snapshot` measures every dominevo-shaped process on
42
42
  * the node whether or not anybody claims it. Contributions cover what the
43
43
  * addons know about; the snapshot covers what is actually running. **The
44
44
  * difference is the finding** — a process nobody claims is either a leak or a
@@ -182,7 +182,7 @@ var NotificationEndpointSchema = /* @__PURE__ */ z.object({
182
182
  baseUrl: /* @__PURE__ */ z.string().nullable(),
183
183
  /**
184
184
  * The effective flagged address: the explicit choice, else (AUTO) the
185
- * Dominevo app link `https://camstack.zentik.app` (D709). A pre-D709 hub
185
+ * Dominevo app link `https://viewer.dominevo.app` (D709). A pre-D709 hub
186
186
  * answered the public tunnel / mesh here, or null.
187
187
  */
188
188
  resolved: /* @__PURE__ */ z.string().nullable(),
@@ -390,7 +390,7 @@ var localNetworkCapability = {
390
390
  * belongs to whoever already owns it). This method used to take a `port`
391
391
  * and echo it onto every LAN and loopback URL it advertised, which made
392
392
  * every client a second authority on a socket only the hub binds. A viewer
393
- * configured with a port-less public URL (`https://camstack.example.top`)
393
+ * configured with a port-less public URL (`https://dominevo.example.top`)
394
394
  * infers 443 from the scheme, asks with 443, and was handed
395
395
  * `https://192.168.10.9:443` for a hub listening on 4443. That candidate
396
396
  * cannot ever answer, and losing its race reads in the log exactly like
@@ -434,7 +434,7 @@ var localNetworkCapability = {
434
434
  /**
435
435
  * The `notificationTaps` role (D734): where TAPPING a notification opens.
436
436
  * `baseUrl: null` means AUTO, which is the Dominevo app link (D709): taps
437
- * go through `https://camstack.zentik.app/…?hub=<appLinkHub>` and open the
437
+ * go through `https://viewer.dominevo.app/…?hub=<appLinkHub>` and open the
438
438
  * app. Any hub address the palette lists can be flagged instead; then a
439
439
  * tap opens that address. Only the tap: action buttons, attachment /
440
440
  * media links and admin links follow the `publicEndpoint` role
@@ -36,7 +36,7 @@ var MeshEndpointSchema = /* @__PURE__ */ z.object({
36
36
  * - `public`: open internet (Funnel, public-tunnel pass-through)
37
37
  */
38
38
  scope: /* @__PURE__ */ z.enum(["mesh", "public"]),
39
- /** Full base URL (e.g. `https://camstack.tail-abc.ts.net`). */
39
+ /** Full base URL (e.g. `https://dominevo.tail-abc.ts.net`). */
40
40
  url: /* @__PURE__ */ z.string(),
41
41
  /** Hostname portion (for SAN cert checks + display). */
42
42
  hostname: /* @__PURE__ */ z.string(),
@@ -97,7 +97,7 @@ var MeshStatusSchema = /* @__PURE__ */ z.object({
97
97
  joined: /* @__PURE__ */ z.boolean(),
98
98
  /** Local mesh IPv4 (e.g. `100.x.x.x` for Tailscale). Empty when not joined. */
99
99
  meshIp: /* @__PURE__ */ z.string(),
100
- /** MagicDNS / mesh hostname (e.g. `camstack.tail-abc.ts.net`). Empty if not configured. */
100
+ /** MagicDNS / mesh hostname (e.g. `dominevo.tail-abc.ts.net`). Empty if not configured. */
101
101
  magicDnsHostname: /* @__PURE__ */ z.string(),
102
102
  /** Number of peers visible to this host (excluding self). */
103
103
  peerCount: /* @__PURE__ */ z.number(),
@@ -203,7 +203,7 @@ var ContainerMemoryPointSchema = /* @__PURE__ */ (/* @__PURE__ */ z.object({
203
203
  * component of `currentBytes` and must not be subtracted from it; it says
204
204
  * what put the shmem there, where `shmemBytes` only says how much.
205
205
  *
206
- * `null` wherever debugfs is not mounted — which is inside every camstack
206
+ * `null` wherever debugfs is not mounted — which is inside every dominevo
207
207
  * container today — and on any node with no Intel GPU.
208
208
  */
209
209
  gpuShmemBytes: /* @__PURE__ */ z.number().nullable()
@@ -366,7 +366,7 @@ var metricsProviderCapability = {
366
366
  */
367
367
  getAddonStats: /* @__PURE__ */ method(/* @__PURE__ */ z.object({ addonId: /* @__PURE__ */ z.string() }), /* @__PURE__ */ PidResourceStatsSchema.nullable()),
368
368
  /**
369
- * Snapshot of every camstack-related process on this node with a
369
+ * Snapshot of every dominevo-related process on this node with a
370
370
  * root/managed/system classification. Powers the Cluster → Agent →
371
371
  * Processes tab: cross-references `$process.list` against a `ps` scan so
372
372
  * per-addon CPU and RSS can be attributed, and so a process the cluster
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  /**
9
9
  * migrations — the ledger and the controls of the boot-time migration engine
10
10
  * (D987). Hub-only and internal: `sqlite-settings` is the registrant, because the
11
- * ledger lives INSIDE the database files it serves (`camstack.db`, `events.db`,
11
+ * ledger lives INSIDE the database files it serves (`dominevo.db`, `events.db`,
12
12
  * `history.db`) and only its connection or worker may touch them (D679).
13
13
  *
14
14
  * The engine itself runs in the owner's `afterOpen`, before any provider is
@@ -1480,7 +1480,7 @@ var NcRulePatchSchema = /* @__PURE__ */ NcRuleInputSchema.partial().extend({
1480
1480
  * Keys an older client may still name in `clear` (D692 §2.3). Accepted so its saves are never
1481
1481
  * refused. They are no longer rule fields: `NcRuleStore.update` only strips them from the
1482
1482
  * STORED row, and `NcRuleStore.load` projects what a stored row still carries (D692 §9).
1483
- * Removed one release after the viewer pin in camstack-server stops sending them.
1483
+ * Removed one release after the viewer pin in dominevo-server stops sending them.
1484
1484
  */
1485
1485
  var NC_RULE_RETIRED_CLEAR_KEYS = ["waitForEnhancement", "groupIdleSec"];
1486
1486
  /**
@@ -18,7 +18,7 @@ import { z } from "zod";
18
18
  * `oauth2-routes.ts` ([D101](../../../../docs/decisions/adr-0101.md)). Three
19
19
  * steps, no others:
20
20
  *
21
- * 1. Add `{ "name": "oauth-integration" }` to the addon's `camstack.addons[]`
21
+ * 1. Add `{ "name": "oauth-integration" }` to the addon's `dominevo.addons[]`
22
22
  * manifest entry. This is also what tells the hub, at addon-LOAD time, that
23
23
  * a descriptor is owed — see "the boot window" below.
24
24
  * 2. Return a provider from `onInitialize()`:
@@ -78,7 +78,7 @@ var AgentPipelineSettingsSchema = /* @__PURE__ */ z.object({
78
78
  /**
79
79
  * Operator override for the LAN host a cross-node decoder dials to reach
80
80
  * THIS node's restream (Cluster UI). Absent → auto-detect: a remote runner
81
- * falls back to its `CAMSTACK_HUB_URL`-derived host (the Moleculer address
81
+ * falls back to its `DOMINEVO_HUB_URL`-derived host (the Moleculer address
82
82
  * it already uses to reach the hub). Set this only when the auto-detected
83
83
  * address is wrong (multi-homed host, NAT, custom interface).
84
84
  */
@@ -953,7 +953,7 @@ var pipelineOrchestratorCapability = {
953
953
  /**
954
954
  * Set (or clear) the operator override for the LAN host a cross-node
955
955
  * decoder dials to reach this node's restream. Pass a non-empty string to
956
- * override the auto-detected address (the runner's `CAMSTACK_HUB_URL`
956
+ * override the auto-detected address (the runner's `DOMINEVO_HUB_URL`
957
957
  * default); pass `null` or an empty string to clear it and revert to
958
958
  * auto-detect. Applied on the next dispatch cycle — takes effect for new
959
959
  * cross-node attaches; existing attaches keep their current host until
@@ -483,7 +483,7 @@ var ReportMotionInputSchema = /* @__PURE__ */ z.object({
483
483
  * pull-mode decoder session pinned to its own node. The shm ring stays
484
484
  * node-local; only H.264/H.265 packets cross the wire.
485
485
  * `hubHostnameOverride` mirrors the recorder's `recordingHubHostname`:
486
- * when set it overrides the `CAMSTACK_HUB_URL`-derived host the runner
486
+ * when set it overrides the `DOMINEVO_HUB_URL`-derived host the runner
487
487
  * dials for the owner's restream.
488
488
  */
489
489
  var RunnerFrameSourceSchema = /* @__PURE__ */ z.discriminatedUnion("kind", [/* @__PURE__ */ z.object({ kind: /* @__PURE__ */ z.literal("local-broker") }), /* @__PURE__ */ z.object({
@@ -494,7 +494,7 @@ var RunnerFrameSourceSchema = /* @__PURE__ */ z.discriminatedUnion("kind", [/* @
494
494
  * The owner's LAN-reachable host, resolved by the orchestrator from the
495
495
  * per-node `reachableHost` override (Cluster UI). When present the runner
496
496
  * dials THIS host for the owner's restream, in preference to the
497
- * `CAMSTACK_HUB_URL`-derived default. Absent → auto-detect fallback.
497
+ * `DOMINEVO_HUB_URL`-derived default. Absent → auto-detect fallback.
498
498
  */
499
499
  ownerReachableHost: /* @__PURE__ */ z.string().optional(),
500
500
  /** Operator override for the owner host the runner dials. */
@@ -28,7 +28,7 @@ import { z } from "zod";
28
28
  *
29
29
  * ## The default is OURS, and there is nowhere to say otherwise
30
30
  *
31
- * {@link RECORDING_SOURCE_CAMSTACK} is RESERVED. The absence of an operator
31
+ * {@link RECORDING_SOURCE_DOMINEVO} is RESERVED. The absence of an operator
32
32
  * choice MEANS that value; it is not a row that happened to sort first. Clips
33
33
  * end their resolver with `?? sources[0]` and that is right for clips — a
34
34
  * camera full of onboard clips that says "no clips" is the defect that work
@@ -54,15 +54,15 @@ import { z } from "zod";
54
54
  * `listSources`, and the absence of an operator choice MEANS this value.
55
55
  *
56
56
  * Reserved is ENFORCED, not requested — `device-collection-dispatch.ts` drops a
57
- * row spelling it from any addon but {@link RECORDING_SOURCE_CAMSTACK_ADDON},
57
+ * row spelling it from any addon but {@link RECORDING_SOURCE_DOMINEVO_ADDON},
58
58
  * naming the impostor, and `scripts/check-reserved-collection-sources.ts`
59
59
  * fails CI on a provider package that spells it at all. A rule nothing checks
60
60
  * has already been broken somewhere.
61
61
  */
62
- var RECORDING_SOURCE_CAMSTACK = "camstack";
63
- /** The one addon allowed to serve {@link RECORDING_SOURCE_CAMSTACK}: the
62
+ var RECORDING_SOURCE_DOMINEVO = "dominevo";
63
+ /** The one addon allowed to serve {@link RECORDING_SOURCE_DOMINEVO}: the
64
64
  * recorder, which is the addon that writes the footage (D560). */
65
- var RECORDING_SOURCE_CAMSTACK_ADDON = "recorder";
65
+ var RECORDING_SOURCE_DOMINEVO_ADDON = "recorder";
66
66
  var RecordingRangeSchema = /* @__PURE__ */ z.object({
67
67
  profile: /* @__PURE__ */ z.string(),
68
68
  startMs: /* @__PURE__ */ z.number(),
@@ -160,7 +160,7 @@ var RecordingSourceAvailabilitySchema = /* @__PURE__ */ z.object({
160
160
  * particular is what stops a battery camera being woken to paint a bar.
161
161
  */
162
162
  var RecordingSourceSchema = /* @__PURE__ */ z.object({
163
- /** The source id. {@link RECORDING_SOURCE_CAMSTACK} for ours (RESERVED), a
163
+ /** The source id. {@link RECORDING_SOURCE_DOMINEVO} for ours (RESERVED), a
164
164
  * vendor namespace (`native:reolink:onboard`, …) for a camera's own store. */
165
165
  source: /* @__PURE__ */ z.string(),
166
166
  /** Operator-facing name of the source ("Dominevo recordings", "SD card"). */
@@ -389,4 +389,4 @@ var recordingCapability = {
389
389
  }
390
390
  };
391
391
  //#endregion
392
- export { RECORDING_SOURCE_CAMSTACK, RECORDING_SOURCE_CAMSTACK_ADDON, RecordingAvailabilitySchema, RecordingDaysSchema, RecordingManifestSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, recordingCapability };
392
+ export { RECORDING_SOURCE_DOMINEVO, RECORDING_SOURCE_DOMINEVO_ADDON, RecordingAvailabilitySchema, RecordingDaysSchema, RecordingManifestSchema, RecordingPlaybackSchema, RecordingRangeSchema, RecordingReadSchema, RecordingSourceAvailabilitySchema, RecordingSourceOptionsSchema, RecordingSourceSchema, recordingCapability };
@@ -9,7 +9,7 @@
9
9
  */
10
10
  var RESERVED_COLLECTION_SOURCES = [{
11
11
  capName: "recording",
12
- sourceId: "camstack",
12
+ sourceId: "dominevo",
13
13
  addonId: "recorder"
14
14
  }];
15
15
  /**
@@ -63,7 +63,7 @@ var ServerUpdateStateSchema = /* @__PURE__ */ z.enum([
63
63
  * deliver today. `applyServerUpdate` swaps the data-root closure and NEVER
64
64
  * touches the image, so `runningVersion` can be perfectly current while the
65
65
  * container is weeks old, from a renamed repository nothing rebuilds — which
66
- * is exactly what happened on 2026-08-02 (hub on `camstack-server:intel-1.1.74`
66
+ * is exactly what happened on 2026-08-02 (hub on `dominevo-server:intel-1.1.74`
67
67
  * while every existing surface said "up to date"). The seed version is the one
68
68
  * image fingerprint a container can see from inside (no docker socket).
69
69
  *
@@ -111,16 +111,16 @@ var ImageContractSchema = /* @__PURE__ */ z.object({
111
111
  *
112
112
  * On 2026-08-02 `check-deployment-templates.ts` proved every day that the
113
113
  * templates declared `ghcr.io/dominevo/dominevo:intel-latest` while the hub
114
- * actually ran `camstack-server:intel-1.1.74` from a repository that had been
114
+ * actually ran `dominevo-server:intel-1.1.74` from a repository that had been
115
115
  * renamed and received no builds. The declaration was right; reality was not;
116
- * nothing compared them. A `CAMSTACK_WRAPPER=docker` written into a template
116
+ * nothing compared them. A `DOMINEVO_WRAPPER=docker` written into a template
117
117
  * would be exactly that same declaration, so `kind` is NEVER an env var.
118
118
  *
119
119
  * What can honestly be observed from inside: `/.dockerenv` and `/proc/1/cgroup`
120
120
  * (a container), and the platform (a Linux container cannot exist on darwin or
121
121
  * win32). What cannot: that the node is a CHILD of an Electron main process —
122
122
  * `process.versions.electron` is `undefined` in the child, so the only channel
123
- * is `CAMSTACK_AGENT_APP_VERSION`, which the main process already writes
123
+ * is `DOMINEVO_AGENT_APP_VERSION`, which the main process already writes
124
124
  * (`packages/desktop/src/main.ts`). That one declaration is unavoidable, and it
125
125
  * is marked as such on every row of {@link WrapperEvidenceSchema}.
126
126
  *
@@ -88,7 +88,7 @@ var BulkRecordSchema = /* @__PURE__ */ z.object({
88
88
  * The database FILES one `sqlite-settings` engine process owns (D851).
89
89
  * Closed on purpose: a file is a thing the engine opens, backs up and gives a
90
90
  * serving thread, so a new one is a code change, never a string a caller
91
- * invents. `settings` is `camstack.db` and the default for every collection
91
+ * invents. `settings` is `dominevo.db` and the default for every collection
92
92
  * that names no file.
93
93
  */
94
94
  var DataStoreDatabaseSchema = /* @__PURE__ */ z.enum([
@@ -77,7 +77,7 @@ var SsoBridgeClaimsSchema = /* @__PURE__ */ z.object({
77
77
  */
78
78
  issuer: /* @__PURE__ */ z.string().optional(),
79
79
  /**
80
- * SHA-256 (hex) of the `camstack_sso_state` cookie the IdP `/start` set in
80
+ * SHA-256 (hex) of the `dominevo_sso_state` cookie the IdP `/start` set in
81
81
  * the browser that began this sign-in. `/api/auth/sso/finish` requires the
82
82
  * request to present the matching cookie — a login bridge is useless in
83
83
  * any other browser.
@@ -142,7 +142,7 @@ var ProviderJobStatusSchema = /* @__PURE__ */ z.object({
142
142
  * in `result.json`.
143
143
  */
144
144
  var TrainerSourceRefSchema = /* @__PURE__ */ z.object({
145
- /** Hugging Face repo id, e.g. `camstack/camstack-trainer`. */
145
+ /** Hugging Face repo id, e.g. `Dominevo/dominevo-trainer`. */
146
146
  repo: /* @__PURE__ */ z.string().min(1),
147
147
  /** A commit sha (never a branch) — the job must be reproducible. */
148
148
  revision: /* @__PURE__ */ z.string().regex(/^[0-9a-f]{7,64}$/)
@@ -46,7 +46,11 @@ var OauthSessionSummarySchema = /* @__PURE__ */ z.object({
46
46
  instanceId: /* @__PURE__ */ z.string().nullable().optional(),
47
47
  scopes: /* @__PURE__ */ z.array(TokenScopeSchema),
48
48
  createdAt: /* @__PURE__ */ z.number(),
49
- lastUsedAt: /* @__PURE__ */ z.number(),
49
+ /** The last real use of an access token of this link; `null` = never used. A refresh is not a use. */
50
+ lastUsedAt: /* @__PURE__ */ z.number().nullable(),
51
+ lastUsedFrom: /* @__PURE__ */ z.string().nullable(),
52
+ lastUsedClient: /* @__PURE__ */ z.string().nullable(),
53
+ useCount: /* @__PURE__ */ z.number().int().nonnegative(),
50
54
  revokedAt: /* @__PURE__ */ z.number().nullable()
51
55
  });
52
56
  var TotpSetupResultSchema = /* @__PURE__ */ z.object({
@@ -56,7 +56,7 @@ var MAX_CLIP_LABELS = 3;
56
56
  /**
57
57
  * Every reason a still-mint route may refuse, as a TOKEN — never prose.
58
58
  *
59
- * The route also sends the prose (`x-camstack-reason`), because a firmware's
59
+ * The route also sends the prose (`x-dominevo-reason`), because a firmware's
60
60
  * own words are the only thing that explains a `camera-refused`. But the token
61
61
  * is what a surface may key a table on, and the code and the prose are
62
62
  * separate headers precisely because they had been the same one: the route
@@ -90,7 +90,7 @@ var ClipStillRefusalCodeSchema = /* @__PURE__ */ z.enum([
90
90
  */
91
91
  var ClipStillDispositionSchema = /* @__PURE__ */ z.enum(["deferred", "final"]);
92
92
  /** The camera's / provider's own words. Kept verbatim, never parsed. */
93
- var CLIP_STILL_REASON_HEADER = "x-camstack-reason";
93
+ var CLIP_STILL_REASON_HEADER = "x-dominevo-reason";
94
94
  /** Longest reason a header carries. Beyond this the sentence is cut. */
95
95
  var CLIP_REASON_HEADER_MAX = 500;
96
96
  /**
@@ -127,9 +127,9 @@ function clipReasonHeaderValue(reason) {
127
127
  return out.slice(0, 500).trim();
128
128
  }
129
129
  /** One {@link ClipStillRefusalCodeSchema} token, alone. */
130
- var CLIP_STILL_REASON_CODE_HEADER = "x-camstack-reason-code";
130
+ var CLIP_STILL_REASON_CODE_HEADER = "x-dominevo-reason-code";
131
131
  /** One {@link ClipStillDispositionSchema} token, alone. */
132
- var CLIP_STILL_DISPOSITION_HEADER = "x-camstack-disposition";
132
+ var CLIP_STILL_DISPOSITION_HEADER = "x-dominevo-disposition";
133
133
  /**
134
134
  * The clip STREAM route's own statement of what it is (D597): the value is
135
135
  * `forward-only`. A producer writes it on the 200; a consumer that dials a
@@ -138,7 +138,7 @@ var CLIP_STILL_DISPOSITION_HEADER = "x-camstack-disposition";
138
138
  * Named here because BOTH the provider and the broker spell it, and two
139
139
  * copies of a header name is how one of them stops being checked.
140
140
  */
141
- var CLIP_STREAM_TRANSPORT_HEADER = "x-camstack-clip-transport";
141
+ var CLIP_STREAM_TRANSPORT_HEADER = "x-dominevo-clip-transport";
142
142
  var ClipSchema = /* @__PURE__ */ z.object({
143
143
  /** Opaque, provider-namespaced id. The default provider encodes the time
144
144
  * window so `getClipPlayback` is self-contained (no event re-query). */
@@ -218,7 +218,7 @@ var ClipSchema = /* @__PURE__ */ z.object({
218
218
  * A URL that MAY produce this clip's still, asked only for rows actually on
219
219
  * screen. The opposite of {@link ClipSchema.thumbnail}: that one is VOUCHED
220
220
  * (a JPEG is already on disk), this one is an offer. The route answers 200
221
- * with the image, or 204 with `x-camstack-reason` when it could not mint one
221
+ * with the image, or 204 with `x-dominevo-reason` when it could not mint one
222
222
  * — a surface latches that refusal to the instant rather than retrying.
223
223
  *
224
224
  * Never both: a clip with a vouched `thumbnail` needs no mint.
@@ -1,13 +1,13 @@
1
1
  //#region src/capabilities/viewer-link-url.ts
2
2
  /** The central link domain the viewer app claims (Universal Links / App Links). */
3
- var CAMSTACK_APP_LINK_ORIGIN = "https://camstack.zentik.app";
3
+ var DOMINEVO_APP_LINK_ORIGIN = "https://viewer.dominevo.app";
4
4
  /** Where the hub serves the viewer SPA. */
5
- var HUB_VIEWER_MOUNT = "/viewer/camstack";
5
+ var HUB_VIEWER_MOUNT = "/viewer/dominevo";
6
6
  /** True when `baseUrl` names the Dominevo app link rather than a hub address. */
7
7
  function isAppLinkBase(baseUrl) {
8
8
  if (baseUrl === null || baseUrl === void 0 || baseUrl === "") return false;
9
9
  try {
10
- return new URL(baseUrl).origin === CAMSTACK_APP_LINK_ORIGIN;
10
+ return new URL(baseUrl).origin === DOMINEVO_APP_LINK_ORIGIN;
11
11
  } catch {
12
12
  return false;
13
13
  }
@@ -108,10 +108,10 @@ function buildViewerLink(input) {
108
108
  if (input.base.form === "app") {
109
109
  const origin = base === "" ? null : toAppLinkHubOrigin(base);
110
110
  const query = origin === null ? route.query : [...route.query, ["hub", origin]];
111
- return `${CAMSTACK_APP_LINK_ORIGIN}${route.path}${encodeQuery(query)}`;
111
+ return `${DOMINEVO_APP_LINK_ORIGIN}${route.path}${encodeQuery(query)}`;
112
112
  }
113
113
  if (base === "" || isAppLinkBase(base)) return null;
114
114
  return `${base}${HUB_VIEWER_MOUNT}${route.path}${encodeQuery(route.query)}`;
115
115
  }
116
116
  //#endregion
117
- export { CAMSTACK_APP_LINK_ORIGIN, HUB_VIEWER_MOUNT, buildViewerLink, isAppLinkBase, pickAppLinkHub, toAppLinkHubOrigin, viewerLinkBaseOf };
117
+ export { DOMINEVO_APP_LINK_ORIGIN, HUB_VIEWER_MOUNT, buildViewerLink, isAppLinkBase, pickAppLinkHub, toAppLinkHubOrigin, viewerLinkBaseOf };
@@ -1,6 +1,6 @@
1
1
  //#region src/catalogs/display-palette-tables.ts
2
2
  /** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
3
- var CAMSTACK_HEX = {
3
+ var DOMINEVO_HEX = {
4
4
  motion: "#d946ef",
5
5
  audio: "#059eb8",
6
6
  recording: "#ef4444",
@@ -56,7 +56,7 @@ var CAMSTACK_HEX = {
56
56
  doorbell: "#0087ab",
57
57
  "appliance-cycle": "#2a8c8c"
58
58
  };
59
- var CAMSTACK_FALLBACK = [
59
+ var DOMINEVO_FALLBACK = [
60
60
  "#b34dc7",
61
61
  "#1d7d34",
62
62
  "#db6b6c",
@@ -199,4 +199,4 @@ var OKABE_ITO_FALLBACK = [
199
199
  "#4b6628"
200
200
  ];
201
201
  //#endregion
202
- export { CAMSTACK_FALLBACK, CAMSTACK_HEX, HIGH_CONTRAST_FALLBACK, HIGH_CONTRAST_HEX, OKABE_ITO_FALLBACK, OKABE_ITO_HEX };
202
+ export { DOMINEVO_FALLBACK, DOMINEVO_HEX, HIGH_CONTRAST_FALLBACK, HIGH_CONTRAST_HEX, OKABE_ITO_FALLBACK, OKABE_ITO_HEX };
@@ -1,6 +1,6 @@
1
1
  import { AUDIO_ENTRY_ID, AUDIO_GRADIENT_ALPHAS, PALETTE_ENTRY_IDS, PALETTE_PRESET_IDS, isPaletteEntryId, isPalettePresetId } from "./palette-entries.mjs";
2
2
  import { PALETTE_BACKGROUNDS, PALETTE_MARK_PAIR, contrastRatio, deltaE00 } from "./palette-cie.mjs";
3
- import { CAMSTACK_FALLBACK, CAMSTACK_HEX, HIGH_CONTRAST_FALLBACK, HIGH_CONTRAST_HEX, OKABE_ITO_FALLBACK, OKABE_ITO_HEX } from "./display-palette-tables.mjs";
3
+ import { DOMINEVO_FALLBACK, DOMINEVO_HEX, HIGH_CONTRAST_FALLBACK, HIGH_CONTRAST_HEX, OKABE_ITO_FALLBACK, OKABE_ITO_HEX } from "./display-palette-tables.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/catalogs/display-palette.ts
6
6
  /**
@@ -71,15 +71,15 @@ function preset(id, name, hexes, fallbacks) {
71
71
  };
72
72
  }
73
73
  var DISPLAY_PRESETS = [
74
- /* @__PURE__ */ preset("camstack", "Dominevo", CAMSTACK_HEX, CAMSTACK_FALLBACK),
74
+ /* @__PURE__ */ preset("dominevo", "Dominevo", DOMINEVO_HEX, DOMINEVO_FALLBACK),
75
75
  /* @__PURE__ */ preset("high-contrast", "High contrast", HIGH_CONTRAST_HEX, HIGH_CONTRAST_FALLBACK),
76
76
  /* @__PURE__ */ preset("okabe-ito", "Colour-blind safe", OKABE_ITO_HEX, OKABE_ITO_FALLBACK)
77
77
  ];
78
78
  function presetById(id) {
79
79
  return DISPLAY_PRESETS.find((item) => item.id === id);
80
80
  }
81
- function bundledCamstack() {
82
- const presetRow = presetById("camstack");
81
+ function bundledDominevo() {
82
+ const presetRow = presetById("dominevo");
83
83
  if (presetRow === void 0) throw new Error("Dominevo preset missing");
84
84
  return readyOf(presetRow, "unconfigured", false);
85
85
  }
@@ -248,7 +248,7 @@ function isEmptyRecord(value) {
248
248
  * `unknown` — never the default wearing the stored preset's name.
249
249
  */
250
250
  function paletteFromStored(value) {
251
- if (value === void 0 || value === null || isEmptyRecord(value)) return bundledCamstack();
251
+ if (value === void 0 || value === null || isEmptyRecord(value)) return bundledDominevo();
252
252
  const parsed = storedPaletteSchema.safeParse(value);
253
253
  if (!parsed.success) return {
254
254
  status: "unknown",
@@ -282,4 +282,4 @@ function storedFromReady(ready, overrides) {
282
282
  };
283
283
  }
284
284
  //#endregion
285
- export { DISPLAY_PRESETS, PaletteRejectedError, bundledCamstack, formatPaletteViolations, mergeOverrides, paintHex, paletteFromInput, paletteFromStored, paletteReadySchema, paletteResultSchema, paletteSwatchSchema, presetById, setPaletteInputSchema, storedFromReady, storedPaletteSchema, swatchHex, validatePalette };
285
+ export { DISPLAY_PRESETS, PaletteRejectedError, bundledDominevo, formatPaletteViolations, mergeOverrides, paintHex, paletteFromInput, paletteFromStored, paletteReadySchema, paletteResultSchema, paletteSwatchSchema, presetById, setPaletteInputSchema, storedFromReady, storedPaletteSchema, swatchHex, validatePalette };
@@ -1,5 +1,5 @@
1
1
  import { COCO_TO_MACRO } from "./coco-classmap.mjs";
2
- import { bundledCamstack, paintHex } from "./display-palette.mjs";
2
+ import { bundledDominevo, paintHex } from "./display-palette.mjs";
3
3
  import { AUDIO_MACRO_LABELS } from "./audio-classmap.mjs";
4
4
  //#region src/catalogs/event-taxonomy.ts
5
5
  /**
@@ -24,7 +24,7 @@ import { AUDIO_MACRO_LABELS } from "./audio-classmap.mjs";
24
24
  *
25
25
  * Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
26
26
  */
27
- var BUNDLED_PALETTE = /* @__PURE__ */ bundledCamstack();
27
+ var BUNDLED_PALETTE = /* @__PURE__ */ bundledDominevo();
28
28
  function kindColor(kind) {
29
29
  return paintHex(BUNDLED_PALETTE.swatches, BUNDLED_PALETTE.fallbacks, kind);
30
30
  }
@@ -71,7 +71,7 @@ var AUDIO_GRADIENT_ALPHAS = [
71
71
  1
72
72
  ];
73
73
  var PALETTE_PRESET_IDS = [
74
- "camstack",
74
+ "dominevo",
75
75
  "high-contrast",
76
76
  "okabe-ito"
77
77
  ];
@@ -1,5 +1,5 @@
1
1
  //#region src/constants.ts
2
- var HF_REPO = "camstack/camstack-models";
2
+ var HF_REPO = "Dominevo/dominevo-models";
3
3
  var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
4
4
  /**
5
5
  * The ONE default session-JWT lifetime.
@@ -1,10 +1,10 @@
1
1
  import { extractArchive } from "./archive-extract.mjs";
2
- import { createHash } from "node:crypto";
3
2
  import { chmodSync, createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, unlinkSync } from "node:fs";
4
3
  import { join } from "node:path";
5
4
  import { pipeline } from "node:stream/promises";
6
5
  import { Readable } from "node:stream";
7
6
  import { execFileSync } from "node:child_process";
7
+ import { createHash } from "node:crypto";
8
8
  //#region src/deps/binary-downloader.ts
9
9
  /**
10
10
  * Recursively find the first file named exactly `name` under `dir`. Used as the
@@ -27,14 +27,14 @@ import { join } from "node:path";
27
27
  * Windows delegate is built for a TFLite ai-edge-litert 2.1.6 cannot load.
28
28
  *
29
29
  * Resolution order, mirrored by `edgetpu_device.edgetpu_library_path` in the
30
- * Python pool: the `CAMSTACK_EDGETPU_LIB` path override → the copy staged
31
- * under `<CAMSTACK_DATA>/deps/edgetpu/lib/` → the hub's historical
30
+ * Python pool: the `DOMINEVO_EDGETPU_LIB` path override → the copy staged
31
+ * under `<DOMINEVO_DATA>/deps/edgetpu/lib/` → the hub's historical
32
32
  * `/data/deps/edgetpu/lib/libedgetpu.so.1`. On the hub image
33
- * `CAMSTACK_DATA=/data`, so the staged path and the historical one are the
33
+ * `DOMINEVO_DATA=/data`, so the staged path and the historical one are the
34
34
  * same file and nothing moves.
35
35
  */
36
36
  /** The path override (a library PATH, never a secret). */
37
- var EDGETPU_LIB_ENV = "CAMSTACK_EDGETPU_LIB";
37
+ var EDGETPU_LIB_ENV = "DOMINEVO_EDGETPU_LIB";
38
38
  /** The pinned feranick release. Changing it is the delegate version change. */
39
39
  var EDGETPU_DELEGATE_RELEASE = "16.0TF2.17.1-1";
40
40
  /** Where the hub image's installer has always put the delegate. */
@@ -122,7 +122,7 @@ function chooseEdgetpuDelegate(lookup) {
122
122
  }
123
123
  /** The node data root the way every node process names it. */
124
124
  function nodeDataRootFromEnv(env) {
125
- return env["CAMSTACK_DATA"] ?? env["CAMSTACK_DATA_DIR"];
125
+ return env["DOMINEVO_DATA"] ?? env["DOMINEVO_DATA_DIR"];
126
126
  }
127
127
  /** Under 1 MB each: held whole, written once, hashed from disk before use. */
128
128
  async function download(url, target) {
@@ -168,7 +168,7 @@ async function stageFile(file, libDir, workRoot) {
168
168
  * without on this line; `installPythonRequirements` stages it after pip.
169
169
  * (`ai-edge-litert` imports without the delegate and is useless without it.)
170
170
  */
171
- var EDGETPU_DELEGATE_DIRECTIVE = "# camstack-native-dep: edgetpu-delegate";
171
+ var EDGETPU_DELEGATE_DIRECTIVE = "# dominevo-native-dep: edgetpu-delegate";
172
172
  function declaresEdgetpuDelegate(requirementsText) {
173
173
  return requirementsText.split(/\r?\n/).some((line) => line.trim() === EDGETPU_DELEGATE_DIRECTIVE);
174
174
  }
@@ -123,7 +123,7 @@ var FFMPEG_ARTIFACTS = {
123
123
  /** The artifact for this node, or a refusal naming what was asked for. */
124
124
  function getFfmpegArtifact(platform, arch) {
125
125
  const artifact = FFMPEG_ARTIFACTS[`${platform}-${arch}`];
126
- if (!artifact) throw new Error(`Unsupported platform/architecture for ffmpeg: ${platform}-${arch}. Point CAMSTACK_FFMPEG_PATH at a binary this node can run.`);
126
+ if (!artifact) throw new Error(`Unsupported platform/architecture for ffmpeg: ${platform}-${arch}. Point DOMINEVO_FFMPEG_PATH at a binary this node can run.`);
127
127
  return artifact;
128
128
  }
129
129
  /** The URL alone, for a caller that wants nothing else. */
@@ -5,7 +5,7 @@ import { FFMPEG_RELEASE } from "./ffmpeg-artifacts.mjs";
5
5
  *
6
6
  * ## The rule
7
7
  *
8
- * 1. `CAMSTACK_FFMPEG_PATH`, when the operator set it and it exists. Pointing
8
+ * 1. `DOMINEVO_FFMPEG_PATH`, when the operator set it and it exists. Pointing
9
9
  * at your own build is a deliberate act and it wins over everything.
10
10
  * 2. The pinned build this node has already downloaded, named by release
11
11
  * (`ffmpeg-<release>`), in `<dataDir>/deps`.
@@ -41,7 +41,7 @@ import { FFMPEG_RELEASE } from "./ffmpeg-artifacts.mjs";
41
41
  * rollback is a file that is already on disk rather than a download.
42
42
  */
43
43
  /** Operator override. Unset on every node unless a human deliberately set it. */
44
- var FFMPEG_PATH_ENV = "CAMSTACK_FFMPEG_PATH";
44
+ var FFMPEG_PATH_ENV = "DOMINEVO_FFMPEG_PATH";
45
45
  /**
46
46
  * The file name the pinned build is stored under.
47
47
  *
@@ -17,7 +17,7 @@ import { join } from "node:path";
17
17
  * The ffmpeg this node runs, downloading the pinned build if it is not here
18
18
  * yet, and reporting what it got.
19
19
  *
20
- * Order: the operator's `CAMSTACK_FFMPEG_PATH` → the pinned build already on
20
+ * Order: the operator's `DOMINEVO_FFMPEG_PATH` → the pinned build already on
21
21
  * disk → download it. No PATH, no image copy, no per-platform special case —
22
22
  * see `ffmpeg-binary-source.ts` for why the image stopped being special after
23
23
  * exactly one day.
@@ -1,12 +1,12 @@
1
1
  import { errMsg } from "../utils/err-msg.mjs";
2
2
  import { extractArchive } from "./archive-extract.mjs";
3
3
  import { verifySha256 } from "./binary-downloader.mjs";
4
- import { createHash } from "node:crypto";
5
4
  import { chmodSync, createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
6
5
  import { basename, join } from "node:path";
7
6
  import { pipeline } from "node:stream/promises";
8
7
  import { Readable } from "node:stream";
9
8
  import { execFileSync } from "node:child_process";
9
+ import { createHash } from "node:crypto";
10
10
  //#region src/deps/python-downloader.ts
11
11
  /**
12
12
  * Download portable Python (headless) from bjia56/portable-python.
@@ -1,7 +1,7 @@
1
1
  //#region src/device/icon-catalog.generated.ts
2
2
  var ICON_CATALOG_SOURCE = {
3
3
  lucideReact: "0.576.0",
4
- lucideReactNative: "1.24.0",
4
+ lucideReactNative: "1.83.0",
5
5
  metadata: "lucide-icons/lucide@0.576.0 icons/*.json"
6
6
  };
7
7
  /** Lucide category ids, alphabetical. `ICON_META` indexes into this. */
@@ -18910,10 +18910,7 @@ var ICON_META = [
18910
18910
  ], ["magnifying glass", "plus"]]
18911
18911
  ];
18912
18912
  /** Keys whose viewer module (`lucide-react-native/icons/<module>`) is not the key. */
18913
- var ICON_VIEWER_MODULES = {
18914
- "text-select": "square-dashed-text",
18915
- "waves": "waves-horizontal"
18916
- };
18913
+ var ICON_VIEWER_MODULES = {};
18917
18914
  /** Old spelling → canonical key, for ids both packages still accept. */
18918
18915
  var ICON_ALIASES = {
18919
18916
  "activity-square": "square-activity",
@@ -120,7 +120,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
120
120
  EventCategory["AddonLoadRecovered"] = "addon.load-recovered";
121
121
  /**
122
122
  * An addon is RUNNING although its installed package is below what the
123
- * running server requires (`camstack.requires.addons` of the server, or the
123
+ * running server requires (`dominevo.requires.addons` of the server, or the
124
124
  * addon's own `requires.server`). Raised once per streak by the unsupported-
125
125
  * addon tracker, on the hub and on agents; AlertCenter turns it into one
126
126
  * operator alert per node and package. The addon is never held back for it.
@@ -608,7 +608,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
608
608
  */
609
609
  EventCategory["MetricsNodeResourcesSnapshot"] = "metrics.node-resources-snapshot";
610
610
  /**
611
- * Periodic per-node process-tree snapshot (camstack-related pids
611
+ * Periodic per-node process-tree snapshot (dominevo-related pids
612
612
  * with root / managed / system classification). Emitted ~0.2 Hz by
613
613
  * the metrics-provider addon. Drives the Cluster → Processes tab
614
614
  * without polling `metricsProvider.listNodeProcesses`.
@@ -0,0 +1,19 @@
1
+ import { canonicalEgressPlan, egressTransportFromRequest } from "./sharing-key.mjs";
2
+ import { canonicalHash } from "../utils/canonical-hash.mjs";
3
+ //#region src/ffmpeg/egress-sharing-key.ts
4
+ /**
5
+ * The refcount / dedup key. `canonicalHash` sorts object keys at every depth,
6
+ * so a request built with a different field order produces the same digest.
7
+ *
8
+ * The handle this keys is IMMUTABLE: there is no `reconfigure`. A consumer
9
+ * whose requirements change RELEASES and re-acquires; the refcount does the
10
+ * rest. That is what stops co-tenants disturbing each other — the co-tenant
11
+ * hazard that made Alexa's shared `derived:alexa-<id>` stream a hazard was
12
+ * exactly a mutable shared object, where one consumer's downgrade dragged
13
+ * every other consumer to 360p.
14
+ */
15
+ function egressTranscodeSharingKey(request, delivery = egressTransportFromRequest(request)) {
16
+ return `egress:${canonicalHash(canonicalEgressPlan(request, delivery))}`;
17
+ }
18
+ //#endregion
19
+ export { egressTranscodeSharingKey };