@adea-ai/app-framework 0.37.0 → 0.37.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 (192) hide show
  1. package/dist/app/create-application.js +1 -1
  2. package/dist/appearance/appearance-host.js +3 -2
  3. package/dist/appearance/custom-theme-import.js +3 -1
  4. package/dist/appearance/custom-theme-library.d.ts +6 -185
  5. package/dist/appearance/custom-theme-library.js +3 -621
  6. package/dist/appearance/theme-library-mutation.d.ts +42 -0
  7. package/dist/appearance/theme-library-mutation.js +172 -0
  8. package/dist/appearance/theme-library-schema.d.ts +108 -0
  9. package/dist/appearance/theme-library-schema.js +189 -0
  10. package/dist/appearance/theme-library-store.d.ts +61 -0
  11. package/dist/appearance/theme-library-store.js +268 -0
  12. package/dist/appearance/theme-record-adapter.js +3 -1
  13. package/dist/appearance/theme-registry.js +2 -1
  14. package/dist/cli/framework-update-cli.js +1 -1
  15. package/dist/cli/macos-signing-cli.js +1 -1
  16. package/dist/cli/release-assets-plan-cli.js +1 -1
  17. package/dist/cli/release-cut-cli.js +2 -2
  18. package/dist/cli/release-descriptor-staging-cli.js +2 -2
  19. package/dist/cli/release-promote-cli.js +1 -1
  20. package/dist/cli/release-publish-cli.js +1 -1
  21. package/dist/cli/release-sign-cli.js +1 -1
  22. package/dist/cli/release-step-cli.js +1 -1
  23. package/dist/cli/update-helper-cli.js +1 -1
  24. package/dist/cli/windows-installer-build-cli.js +1 -1
  25. package/dist/cli/windows-runtime-patch-cli.js +1 -1
  26. package/dist/desktop/client-assets.js +1 -1
  27. package/dist/desktop/desktop-client.d.ts +1 -1
  28. package/dist/desktop/desktop-gateway.js +2 -2
  29. package/dist/desktop/desktop-host.js +6 -6
  30. package/dist/desktop/desktop-stream.js +1 -1
  31. package/dist/framework-source.json +1 -1
  32. package/dist/installer/command-qualification-command.js +2 -2
  33. package/dist/installer/installed-payload.js +4 -4
  34. package/dist/installer/{installer-archive.js → installer-archive-members.js} +2 -2
  35. package/dist/installer/installer-ci-worker.js +2 -2
  36. package/dist/installer/installer-extraction.js +3 -3
  37. package/dist/installer/installer-fetch-guard.d.ts +1 -1
  38. package/dist/installer/installer-identity.js +2 -2
  39. package/dist/installer/installer-observation.d.ts +1 -1
  40. package/dist/installer/installer-observation.js +5 -5
  41. package/dist/installer/installer-process-cleanup.js +1 -1
  42. package/dist/installer/installer-qualification-command.js +3 -3
  43. package/dist/installer/installer-renderer-evidence.js +1 -1
  44. package/dist/installer/installer-upgrade-command.d.ts +2 -2
  45. package/dist/installer/installer-upgrade-command.js +7 -7
  46. package/dist/installer/linux-process-group.js +1 -1
  47. package/dist/installer/upgrade-asset-download.d.ts +1 -1
  48. package/dist/installer/upgrade-asset-download.js +2 -2
  49. package/dist/native/desktop-build.js +1 -1
  50. package/dist/native/posix-tree-removal.d.ts +1 -1
  51. package/dist/native/secure-window.js +1 -1
  52. package/dist/native/windows-build-hook.js +1 -1
  53. package/dist/native/windows-extractor-build.js +1 -1
  54. package/dist/release/feed-release-cut.d.ts +1 -1
  55. package/dist/release/feed-state.d.ts +2 -2
  56. package/dist/release/feed-state.js +4 -4
  57. package/dist/release/github-release-cut.js +3 -3
  58. package/dist/release/github-release-promotion.js +2 -2
  59. package/dist/release/github-release-publisher.js +1 -1
  60. package/dist/release/github-release-qualification.js +1 -1
  61. package/dist/release/local-release.d.ts +2 -2
  62. package/dist/release/local-release.js +7 -7
  63. package/dist/release/qualification-run.js +1 -1
  64. package/dist/release/release-artifact.d.ts +1 -1
  65. package/dist/release/release-artifact.js +2 -2
  66. package/dist/release/release-assets-plan.js +2 -2
  67. package/dist/release/release-config.d.ts +1 -1
  68. package/dist/release/release-config.js +3 -3
  69. package/dist/release/release-cut-command.js +1 -1
  70. package/dist/release/release-descriptor-staging.js +5 -5
  71. package/dist/release/release-finalize.js +3 -3
  72. package/dist/release/release-promotion-command.js +2 -2
  73. package/dist/release/release-promotion.js +1 -1
  74. package/dist/release/release-publication.d.ts +1 -1
  75. package/dist/release/release-publication.js +3 -3
  76. package/dist/release/release-publish-command.js +4 -4
  77. package/dist/release/release-steps.js +2 -2
  78. package/dist/release/retained-release-build.js +2 -2
  79. package/dist/shell/app-utilities.js +2 -2
  80. package/dist/update-helper.bundle.js +18 -18
  81. package/dist/updates/channel-update-manager.d.ts +3 -3
  82. package/dist/updates/channel-update-manager.js +2 -2
  83. package/dist/updates/desktop-updater.d.ts +10 -83
  84. package/dist/updates/desktop-updater.js +16 -219
  85. package/dist/updates/{packaged-release-config.js → feed/packaged-release-config.js} +5 -5
  86. package/dist/updates/{release-feed.js → feed/release-feed.js} +2 -2
  87. package/dist/updates/{release-location.js → feed/release-location.js} +2 -2
  88. package/dist/updates/{release-version.js → feed/release-version.js} +1 -1
  89. package/dist/updates/{signed-release.js → feed/signed-release.js} +2 -2
  90. package/dist/updates/{update-discovery.js → feed/update-discovery.js} +3 -3
  91. package/dist/updates/helper/launch-gate-recovery.d.ts +8 -0
  92. package/dist/updates/{update-resume.js → helper/launch-gate-recovery.js} +13 -423
  93. package/dist/updates/helper/resume-staging.d.ts +22 -0
  94. package/dist/updates/helper/resume-staging.js +180 -0
  95. package/dist/updates/{update-helper.d.ts → helper/update-helper.d.ts} +1 -1
  96. package/dist/updates/{update-helper.js → helper/update-helper.js} +9 -9
  97. package/dist/updates/{update-resume.d.ts → helper/update-resume.d.ts} +4 -10
  98. package/dist/updates/helper/update-resume.js +252 -0
  99. package/dist/updates/{update-shutdown.js → helper/update-shutdown.js} +2 -2
  100. package/dist/updates/{update-arm.d.ts → install/update-arm.d.ts} +2 -2
  101. package/dist/updates/{update-arm.js → install/update-arm.js} +10 -10
  102. package/dist/updates/{update-download-cleanup.d.ts → install/update-download-cleanup.d.ts} +1 -1
  103. package/dist/updates/{update-download-cleanup.js → install/update-download-cleanup.js} +3 -3
  104. package/dist/updates/{update-download.d.ts → install/update-download.d.ts} +2 -2
  105. package/dist/updates/{update-download.js → install/update-download.js} +3 -3
  106. package/dist/updates/{update-extraction.d.ts → install/update-extraction.d.ts} +2 -2
  107. package/dist/updates/{update-extraction.js → install/update-extraction.js} +6 -6
  108. package/dist/updates/{update-handoff-plan.d.ts → install/update-handoff-plan.d.ts} +2 -2
  109. package/dist/updates/{update-handoff-plan.js → install/update-handoff-plan.js} +5 -5
  110. package/dist/updates/{update-marker.js → install/update-marker.js} +2 -2
  111. package/dist/updates/{update-swap-stage.d.ts → install/update-swap-stage.d.ts} +2 -2
  112. package/dist/updates/{update-swap-stage.js → install/update-swap-stage.js} +7 -6
  113. package/dist/updates/{update-swap.d.ts → install/update-swap.d.ts} +1 -1
  114. package/dist/updates/{update-swap.js → install/update-swap.js} +5 -5
  115. package/dist/updates/install-target.d.ts +8 -0
  116. package/dist/updates/install-target.js +27 -0
  117. package/dist/updates/{launch-environment.js → launch/launch-environment.js} +1 -1
  118. package/dist/updates/{packaged-launch-admission.js → launch/packaged-launch-admission.js} +4 -4
  119. package/dist/updates/{packaged-update-startup.d.ts → launch/packaged-update-startup.d.ts} +3 -3
  120. package/dist/updates/{packaged-update-startup.js → launch/packaged-update-startup.js} +10 -7
  121. package/dist/updates/{update-launch-gate.d.ts → launch/update-launch-gate.d.ts} +1 -1
  122. package/dist/updates/{update-launch-gate.js → launch/update-launch-gate.js} +9 -9
  123. package/dist/updates/{update-launch.d.ts → launch/update-launch.d.ts} +1 -1
  124. package/dist/updates/{update-launch.js → launch/update-launch.js} +2 -2
  125. package/dist/updates/{linux-process-state.js → locks/linux-process-state.js} +1 -1
  126. package/dist/updates/{native-file-lock.js → locks/native-file-lock.js} +1 -1
  127. package/dist/updates/{stable-file.js → locks/stable-file.js} +2 -2
  128. package/dist/updates/{update-download-lock.js → locks/update-download-lock.js} +1 -1
  129. package/dist/updates/{update-generation-lease.js → locks/update-generation-lease.js} +3 -3
  130. package/dist/updates/{update-inherited-launch-lease.d.ts → locks/update-inherited-launch-lease.d.ts} +1 -1
  131. package/dist/updates/{update-inherited-launch-lease.js → locks/update-inherited-launch-lease.js} +2 -2
  132. package/dist/updates/{update-instance-lease.js → locks/update-instance-lease.js} +2 -2
  133. package/dist/updates/{update-lock.js → locks/update-lock.js} +2 -2
  134. package/dist/updates/{update-process-fence.js → locks/update-process-fence.js} +3 -3
  135. package/dist/updates/{update-process-liveness.js → locks/update-process-liveness.js} +2 -2
  136. package/dist/updates/retained-client-assets.d.ts +60 -0
  137. package/dist/updates/retained-client-assets.js +116 -0
  138. package/dist/updates/retention/retention-cleanup.d.ts +103 -0
  139. package/dist/updates/retention/retention-cleanup.js +439 -0
  140. package/dist/updates/retention/retention-prune-progress.d.ts +27 -0
  141. package/dist/updates/retention/retention-prune-progress.js +203 -0
  142. package/dist/updates/retention/retirement-inventory.d.ts +93 -0
  143. package/dist/updates/retention/retirement-inventory.js +373 -0
  144. package/dist/updates/retention/retirement-records.d.ts +75 -0
  145. package/dist/updates/retention/retirement-records.js +309 -0
  146. package/dist/updates/{update-retention-marker.d.ts → retention/update-retention-marker.d.ts} +1 -1
  147. package/dist/updates/{update-retention-marker.js → retention/update-retention-marker.js} +3 -3
  148. package/dist/updates/{update-retention-plan.d.ts → retention/update-retention-plan.d.ts} +1 -1
  149. package/dist/updates/{update-retention-plan.js → retention/update-retention-plan.js} +2 -2
  150. package/dist/updates/{update-retention-sync.d.ts → retention/update-retention-sync.d.ts} +1 -1
  151. package/dist/updates/{update-retention-sync.js → retention/update-retention-sync.js} +2 -2
  152. package/dist/updates/retention/update-retirement.d.ts +26 -0
  153. package/dist/updates/retention/update-retirement.js +205 -0
  154. package/dist/updates/update-adapter.js +1 -1
  155. package/dist/updates/update-channel-store.d.ts +1 -1
  156. package/dist/updates/update-channel-store.js +3 -3
  157. package/dist/updates/update-manager.d.ts +4 -4
  158. package/dist/updates/update-manager.js +5 -5
  159. package/dist/updates/update-services.d.ts +15 -0
  160. package/dist/updates/update-services.js +77 -0
  161. package/dist/updates/update-state-store.d.ts +2 -2
  162. package/dist/updates/update-state-store.js +2 -2
  163. package/dist/views/appearance-surface.js +4 -2
  164. package/package.json +47 -47
  165. package/src/appearance/custom-theme-library.ts +42 -956
  166. package/src/appearance/theme-library-mutation.ts +288 -0
  167. package/src/appearance/theme-library-schema.ts +347 -0
  168. package/src/appearance/theme-library-store.ts +379 -0
  169. package/src/updates/update-adapter.ts +1 -1
  170. package/dist/updates/update-retirement.d.ts +0 -205
  171. package/dist/updates/update-retirement.js +0 -1485
  172. /package/dist/installer/{installer-archive.d.ts → installer-archive-members.d.ts} +0 -0
  173. /package/dist/updates/{packaged-release-config.d.ts → feed/packaged-release-config.d.ts} +0 -0
  174. /package/dist/updates/{release-feed.d.ts → feed/release-feed.d.ts} +0 -0
  175. /package/dist/updates/{release-location.d.ts → feed/release-location.d.ts} +0 -0
  176. /package/dist/updates/{release-version.d.ts → feed/release-version.d.ts} +0 -0
  177. /package/dist/updates/{signed-release.d.ts → feed/signed-release.d.ts} +0 -0
  178. /package/dist/updates/{update-discovery.d.ts → feed/update-discovery.d.ts} +0 -0
  179. /package/dist/updates/{update-shutdown.d.ts → helper/update-shutdown.d.ts} +0 -0
  180. /package/dist/updates/{update-marker.d.ts → install/update-marker.d.ts} +0 -0
  181. /package/dist/updates/{launch-environment.d.ts → launch/launch-environment.d.ts} +0 -0
  182. /package/dist/updates/{packaged-launch-admission.d.ts → launch/packaged-launch-admission.d.ts} +0 -0
  183. /package/dist/updates/{linux-process-state.d.ts → locks/linux-process-state.d.ts} +0 -0
  184. /package/dist/updates/{native-file-lock.d.ts → locks/native-file-lock.d.ts} +0 -0
  185. /package/dist/updates/{stable-file.d.ts → locks/stable-file.d.ts} +0 -0
  186. /package/dist/updates/{update-download-lock.d.ts → locks/update-download-lock.d.ts} +0 -0
  187. /package/dist/updates/{update-generation-lease.d.ts → locks/update-generation-lease.d.ts} +0 -0
  188. /package/dist/updates/{update-instance-lease.d.ts → locks/update-instance-lease.d.ts} +0 -0
  189. /package/dist/updates/{update-lock.d.ts → locks/update-lock.d.ts} +0 -0
  190. /package/dist/updates/{update-process-fence.d.ts → locks/update-process-fence.d.ts} +0 -0
  191. /package/dist/updates/{update-process-liveness.d.ts → locks/update-process-liveness.d.ts} +0 -0
  192. /package/src/updates/{release-version.ts → feed/release-version.ts} +0 -0
@@ -1,13 +1,13 @@
1
- import { versionLessThan } from "../updates/release-version.js";
2
1
  import { errorCode, isRecord } from "../app/value-guards.js";
3
- import { verifyReleaseDescriptor } from "../updates/signed-release.js";
4
- import { feedUrl } from "../updates/release-feed.js";
5
- import { parseReleaseConfig } from "../release/release-config.js";
6
- import { planReleaseAssets } from "../release/release-assets-plan.js";
7
2
  import { observeInstalledApp } from "./installer-observation.js";
8
3
  import { downloadAsset } from "./upgrade-asset-download.js";
9
- import { discoverSignedRelease } from "../updates/update-discovery.js";
10
- import { downloadVerifiedRelease } from "../updates/update-download.js";
4
+ import { planReleaseAssets } from "../release/release-assets-plan.js";
5
+ import { parseReleaseConfig } from "../release/release-config.js";
6
+ import { feedUrl } from "../updates/feed/release-feed.js";
7
+ import { versionLessThan } from "../updates/feed/release-version.js";
8
+ import { discoverSignedRelease } from "../updates/feed/update-discovery.js";
9
+ import { downloadVerifiedRelease } from "../updates/install/update-download.js";
10
+ import { verifyReleaseDescriptor } from "../updates/feed/signed-release.js";
11
11
  import { lstat, mkdir, open, rename, writeFile } from "node:fs/promises";
12
12
  import { join, resolve } from "node:path";
13
13
  // src/installer/installer-upgrade-command.ts
@@ -1,4 +1,4 @@
1
- import { linuxProcessIsExited } from "../updates/linux-process-state.js";
1
+ import { linuxProcessIsExited } from "../updates/locks/linux-process-state.js";
2
2
  import { readFile, readdir, readlink } from "node:fs/promises";
3
3
  // src/installer/linux-process-group.ts
4
4
  var proc = {
@@ -1,5 +1,5 @@
1
1
  import { open } from 'node:fs/promises';
2
- import { type FetchFunction } from '../updates/release-location';
2
+ import { type FetchFunction } from '../updates/feed/release-location';
3
3
  /** Download one published release asset and check it against its release.json inventory. */
4
4
  export declare function downloadAsset(options: {
5
5
  /** The app's feed URL, ending in `/`. */
@@ -1,6 +1,6 @@
1
- import { isFeedAssetName, isFeedTag, parseFeedRelease } from "../updates/release-feed.js";
2
1
  import { discardStream } from "../shared/discard-stream.js";
3
- import { fetchReleaseLocation, readReleaseJson } from "../updates/release-location.js";
2
+ import { isFeedAssetName, isFeedTag, parseFeedRelease } from "../updates/feed/release-feed.js";
3
+ import { fetchReleaseLocation, readReleaseJson } from "../updates/feed/release-location.js";
4
4
  import { writeAll } from "./write-all.js";
5
5
  import { open, unlink } from "node:fs/promises";
6
6
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
- import "./posix-launcher-build.js";
2
1
  import { createMacosDmg } from "../release/macos-dmg.js";
2
+ import "./posix-launcher-build.js";
3
3
  import { join, resolve } from "node:path";
4
4
  import { copyFileSync, mkdirSync } from "node:fs";
5
5
  import { spawn, spawnSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- import type { UpdateTreeIdentity } from '../updates/update-swap';
1
+ import type { UpdateTreeIdentity } from '../updates/install/update-swap';
2
2
  export type PosixTreeRemovalResult = Readonly<{
3
3
  status: 'more' | 'empty';
4
4
  removed: number;
@@ -1,5 +1,5 @@
1
- import { createRendererProfile } from "./renderer-profile.js";
2
1
  import { createLoopbackPolicy } from "../desktop/loopback-policy.js";
2
+ import { createRendererProfile } from "./renderer-profile.js";
3
3
  import { createWindowOptions } from "./window-options.js";
4
4
  // src/native/secure-window.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { patchPinnedWindowsRuntime } from "./windows-runtime-patch.js";
2
1
  import { patchWindowsBuildForTest } from "./windows-build-hook-internal.js";
2
+ import { patchPinnedWindowsRuntime } from "./windows-runtime-patch.js";
3
3
  import { createHash } from "node:crypto";
4
4
  // src/native/windows-build-hook.ts
5
5
  /** Electrobun postBuild hook; runs before release hashing, packaging and signing. */
@@ -1,5 +1,5 @@
1
- import { ELECTROBUN_COMMIT, PINNED_SHORTCUT_PATCH, SHORTCUT_PATCH_PATH, applyElectrobunPatch } from "./electrobun-source-patch.js";
2
1
  import { electrobunArtifacts } from "../release/release-steps.js";
2
+ import { ELECTROBUN_COMMIT, PINNED_SHORTCUT_PATCH, SHORTCUT_PATCH_PATH, applyElectrobunPatch } from "./electrobun-source-patch.js";
3
3
  import { join, resolve } from "node:path";
4
4
  import { createHash } from "node:crypto";
5
5
  import { copyFileSync, createReadStream, createWriteStream, existsSync, linkSync, lstatSync, mkdirSync, mkdtempSync, readFileSync, readdirSync, rmSync, statSync, unlinkSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import type { FeedRelease, ReleaseLedger } from '../updates/release-feed';
1
+ import type { FeedRelease, ReleaseLedger } from '../updates/feed/release-feed';
2
2
  import { type GitRun } from './local-provenance';
3
3
  import type { ReleaseCutProvider } from './release-cut';
4
4
  import type { HistoryRewrite } from './release-config';
@@ -1,5 +1,5 @@
1
- import { type FeedChannel, type FeedRelease, type ReleaseFeed, type ReleaseLedger } from '../updates/release-feed';
2
- import { type FetchFunction } from '../updates/release-location';
1
+ import { type FeedChannel, type FeedRelease, type ReleaseFeed, type ReleaseLedger } from '../updates/feed/release-feed';
2
+ import { type FetchFunction } from '../updates/feed/release-location';
3
3
  /** The published ledger, or an empty one before the app's first release. */
4
4
  export declare function readFeedLedger(feed: ReleaseFeed, fetcher: FetchFunction): Promise<ReleaseLedger>;
5
5
  /** A tag's published release.json, or null when none is published. */
@@ -1,8 +1,8 @@
1
- import { verifyReleaseDescriptor, verifyReleaseStream } from "../updates/signed-release.js";
2
- import { feedUrl, parseFeedRelease, parseReleaseLedger } from "../updates/release-feed.js";
3
- import { discoveryPolicies } from "./release-config.js";
4
1
  import { discardStream } from "../shared/discard-stream.js";
5
- import { fetchReleaseLocation, readReleaseBytes } from "../updates/release-location.js";
2
+ import { feedUrl, parseFeedRelease, parseReleaseLedger } from "../updates/feed/release-feed.js";
3
+ import { fetchReleaseLocation, readReleaseBytes } from "../updates/feed/release-location.js";
4
+ import { verifyReleaseDescriptor, verifyReleaseStream } from "../updates/feed/signed-release.js";
5
+ import { discoveryPolicies } from "./release-config.js";
6
6
  import { createHash } from "node:crypto";
7
7
  // src/release/feed-state.ts
8
8
  var MAX_LEDGER_BYTES = 1048576;
@@ -1,11 +1,11 @@
1
1
  import { isGitSha } from "../app/value-guards.js";
2
- import { containsAsciiControl } from "../desktop/string-policy.js";
3
2
  import { githubCli } from "./github-cli.js";
3
+ import { qualifyGitHubRelease } from "./github-release-qualification.js";
4
4
  import { verifyReleaseProvenance } from "./github-release-provenance.js";
5
5
  import { lookupRelease } from "./github-release-lookup.js";
6
- import { isRepositorySlug } from "../updates/signed-release.js";
7
- import { qualifyGitHubRelease } from "./github-release-qualification.js";
8
6
  import { workflowFile } from "./release-config.js";
7
+ import { containsAsciiControl } from "../desktop/string-policy.js";
8
+ import { isRepositorySlug } from "../updates/feed/signed-release.js";
9
9
  // src/release/github-release-cut.ts
10
10
  /** GitHub adapter for immutable release cuts from a trusted main workflow. */
11
11
  function createGitHubReleaseCutProvider(options) {
@@ -1,6 +1,6 @@
1
- import { githubCli } from "./github-cli.js";
2
- import { assertRepositorySlug } from "../updates/signed-release.js";
3
1
  import { qualifyGitHubRelease } from "./github-release-qualification.js";
2
+ import { githubCli } from "./github-cli.js";
3
+ import { assertRepositorySlug } from "../updates/feed/signed-release.js";
4
4
  // src/release/github-release-promotion.ts
5
5
  function normalizePromotionRelease(value) {
6
6
  if (typeof value !== "object" || value === null) throw new Error("Invalid GitHub release");
@@ -3,7 +3,7 @@ import { githubCli } from "./github-cli.js";
3
3
  import { listGitHubReleaseAssets } from "./github-release-assets.js";
4
4
  import { verifyReleaseProvenance } from "./github-release-provenance.js";
5
5
  import { lookupRelease } from "./github-release-lookup.js";
6
- import { isRepositorySlug } from "../updates/signed-release.js";
6
+ import { isRepositorySlug } from "../updates/feed/signed-release.js";
7
7
  // src/release/github-release-publisher.ts
8
8
  /** GitHub adapter; callers must run it in a trusted release job with GH_TOKEN. */
9
9
  function createGitHubReleasePublisher(options) {
@@ -3,7 +3,7 @@ import { validateQualificationRun, validateReleaseQualification } from "./releas
3
3
  import { listGitHubReleaseAssets } from "./github-release-assets.js";
4
4
  import { verifyReleaseProvenance } from "./github-release-provenance.js";
5
5
  import { lookupRelease } from "./github-release-lookup.js";
6
- import { isRepositorySlug } from "../updates/signed-release.js";
6
+ import { isRepositorySlug } from "../updates/feed/signed-release.js";
7
7
  import { createHash } from "node:crypto";
8
8
  // src/release/github-release-qualification.ts
9
9
  /** Verify immutable GitHub release assets and the exact successful workflow attempt. */
@@ -5,8 +5,8 @@
5
5
  * object keys and an ordered upload plan; the caller uploads it with its own credentials.
6
6
  */
7
7
  import { type KeyObject } from 'node:crypto';
8
- import { type FeedChannel } from '../updates/release-feed';
9
- import type { FetchFunction } from '../updates/release-location';
8
+ import { type FeedChannel } from '../updates/feed/release-feed';
9
+ import type { FetchFunction } from '../updates/feed/release-location';
10
10
  import { type GitRun } from './local-provenance';
11
11
  import { type ReleasePlatform } from './release-config';
12
12
  /** One object to upload, in plan order; the staged file is `<out>/<key>`. */
@@ -1,15 +1,15 @@
1
- import { versionLessThan } from "../updates/release-version.js";
2
1
  import { errorCode, isGitSha, isRecord } from "../app/value-guards.js";
3
2
  import { renameExclusive } from "../native/native-rename.js";
4
- import { verifyReleaseDescriptor } from "../updates/signed-release.js";
5
- import { feedAssetKey, feedChannelKey, feedIndexKey, feedReleaseKey, feedUrl, parseReleaseLedger } from "../updates/release-feed.js";
6
- import { discoveryPolicies, parseReleaseConfig, platformPayloads, platformTargets } from "./release-config.js";
7
- import { cutRelease, nextDevVersion } from "./release-cut.js";
8
- import { resolveLocalProvenance } from "./local-provenance.js";
3
+ import { feedAssetKey, feedChannelKey, feedIndexKey, feedReleaseKey, feedUrl, parseReleaseLedger } from "../updates/feed/release-feed.js";
4
+ import { versionLessThan } from "../updates/feed/release-version.js";
5
+ import { verifyReleaseDescriptor } from "../updates/feed/signed-release.js";
9
6
  import { createFeedReleaseCutProvider } from "./feed-release-cut.js";
10
7
  import { ReleaseFeedSnapshotChanged, readFeedLedger, readFeedRelease, verifyFeedRelease } from "./feed-state.js";
11
- import { fileIdentity } from "./release-publication.js";
8
+ import { resolveLocalProvenance } from "./local-provenance.js";
9
+ import { discoveryPolicies, parseReleaseConfig, platformPayloads, platformTargets } from "./release-config.js";
10
+ import { cutRelease, nextDevVersion } from "./release-cut.js";
12
11
  import { configuredSigningKey, signDiscoveryDescriptors, writeDescriptors } from "./release-descriptor-staging.js";
12
+ import { fileIdentity } from "./release-publication.js";
13
13
  import { promoteDailyRelease } from "./release-promotion.js";
14
14
  import { constants, copyFile, lstat, mkdir, mkdtemp, readFile, readdir, rm, writeFile } from "node:fs/promises";
15
15
  import { dirname, join, resolve } from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { isGitSha } from "../app/value-guards.js";
2
- import { planReleaseAssets } from "./release-assets-plan.js";
3
2
  import { gitCli } from "./local-provenance.js";
4
3
  import { localTagProvenance } from "./local-release.js";
4
+ import { planReleaseAssets } from "./release-assets-plan.js";
5
5
  // src/release/qualification-run.ts
6
6
  /**
7
7
  * Resolve the run a platform qualification job belongs to.
@@ -1,5 +1,5 @@
1
1
  import { type KeyObject } from 'node:crypto';
2
- import { type ReleaseDescriptor, type SignedRelease } from '../updates/signed-release';
2
+ import { type ReleaseDescriptor, type SignedRelease } from '../updates/feed/signed-release';
3
3
  export type ReleaseArtifactIdentity = Omit<ReleaseDescriptor, 'schema' | 'asset'>;
4
4
  /** Hash the actual staged archive without buffering it, then sign its provenance and its
5
5
  * URL in the app's release feed (`feed` ends in `/`). */
@@ -1,5 +1,5 @@
1
- import { signReleaseDescriptor } from "../updates/signed-release.js";
2
- import { hashUnchangedFile } from "../updates/stable-file.js";
1
+ import { hashUnchangedFile } from "../updates/locks/stable-file.js";
2
+ import { signReleaseDescriptor } from "../updates/feed/signed-release.js";
3
3
  import { open } from "node:fs/promises";
4
4
  import { basename } from "node:path";
5
5
  // src/release/release-artifact.ts
@@ -1,8 +1,8 @@
1
1
  import { isGitSha } from "../app/value-guards.js";
2
2
  import { githubCli, verifyWorkflowAttempt } from "./github-cli.js";
3
- import { isRepositorySlug } from "../updates/signed-release.js";
4
- import { hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
5
3
  import { createGitHubReleaseCutProvider } from "./github-release-cut.js";
4
+ import { hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
5
+ import { isRepositorySlug } from "../updates/feed/signed-release.js";
6
6
  // src/release/release-assets-plan.ts
7
7
  /** GitHub reads need credentials but must not inherit release signing keys. */
8
8
  function releasePlanGitHubEnvironment(env) {
@@ -1,5 +1,5 @@
1
1
  import { type Requirements } from './release-qualification';
2
- import { type ReleaseFeed } from '../updates/release-feed';
2
+ import { type ReleaseFeed } from '../updates/feed/release-feed';
3
3
  /** The descriptor target each release platform publishes for. */
4
4
  export declare const platformTargets: {
5
5
  readonly 'macos-arm64': readonly ['darwin', 'arm64'];
@@ -1,8 +1,8 @@
1
1
  import { isGitSha, isRecord } from "../app/value-guards.js";
2
- import { containsAsciiControl } from "../desktop/string-policy.js";
3
- import { assertSidecarNames } from "../native/app-bundle.js";
4
2
  import { parseOfflinePolicy } from "./release-qualification.js";
5
- import { parseReleaseFeed } from "../updates/release-feed.js";
3
+ import { assertSidecarNames } from "../native/app-bundle.js";
4
+ import { containsAsciiControl } from "../desktop/string-policy.js";
5
+ import { parseReleaseFeed } from "../updates/feed/release-feed.js";
6
6
  // src/release/release-config.ts
7
7
  var strings = (value) => Array.isArray(value) && value.length > 0 && value.every((item) => typeof item === "string" && item.length <= 200 && /^[A-Za-z0-9][A-Za-z0-9._{}-]*$/.test(item) && !item.replaceAll("{tag}", "").includes("{") && !item.replaceAll("{tag}", "").includes("}")) && new Set(value).size === value.length;
8
8
  var appIdPattern = /^[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+$/;
@@ -1,8 +1,8 @@
1
1
  import { isGitSha } from "../app/value-guards.js";
2
2
  import { githubCli, verifyWorkflowAttempt } from "./github-cli.js";
3
- import { hostedReleaseWorkflows, parseReleaseConfig, workflowFile } from "./release-config.js";
4
3
  import { createGitHubReleaseCutProvider } from "./github-release-cut.js";
5
4
  import { cutRelease } from "./release-cut.js";
5
+ import { hostedReleaseWorkflows, parseReleaseConfig, workflowFile } from "./release-config.js";
6
6
  import { readSourceVersion } from "./local-provenance.js";
7
7
  import { execFile } from "node:child_process";
8
8
  import { promisify } from "node:util";
@@ -1,11 +1,11 @@
1
1
  import { errorCode, isRecord } from "../app/value-guards.js";
2
- import { validateCommandReceipts, validateInstallerReceipt } from "./release-qualification.js";
3
- import { signReleaseDescriptor, verifyReleaseDescriptor } from "../updates/signed-release.js";
4
- import { feedUrl } from "../updates/release-feed.js";
5
- import { discoveryPolicies, parseReleaseConfig, platformPayloads, platformTargets } from "./release-config.js";
2
+ import { hashFileAt } from "../updates/locks/stable-file.js";
6
3
  import { planReleaseAssets } from "./release-assets-plan.js";
7
- import { hashFileAt } from "../updates/stable-file.js";
8
4
  import { commandReceiptName } from "../installer/command-qualification-command.js";
5
+ import { discoveryPolicies, parseReleaseConfig, platformPayloads, platformTargets } from "./release-config.js";
6
+ import { validateCommandReceipts, validateInstallerReceipt } from "./release-qualification.js";
7
+ import { feedUrl } from "../updates/feed/release-feed.js";
8
+ import { signReleaseDescriptor, verifyReleaseDescriptor } from "../updates/feed/signed-release.js";
9
9
  import { lstat, readFile, writeFile } from "node:fs/promises";
10
10
  import { join, resolve } from "node:path";
11
11
  import { createPublicKey } from "node:crypto";
@@ -1,10 +1,10 @@
1
1
  import { isGitSha } from "../app/value-guards.js";
2
2
  import { githubCli } from "./github-cli.js";
3
- import { lookupRelease } from "./github-release-lookup.js";
4
- import { isRepositorySlug } from "../updates/signed-release.js";
3
+ import { createGitHubReleaseCutProvider } from "./github-release-cut.js";
5
4
  import { qualifyGitHubRelease } from "./github-release-qualification.js";
6
5
  import { hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
7
- import { createGitHubReleaseCutProvider } from "./github-release-cut.js";
6
+ import { lookupRelease } from "./github-release-lookup.js";
7
+ import { isRepositorySlug } from "../updates/feed/signed-release.js";
8
8
  // src/release/release-finalize.ts
9
9
  /** Treat event payloads as hints; qualification independently checks the GitHub run. */
10
10
  function parseFinalizationEvent(event, repository, eventName = "workflow_run") {
@@ -1,6 +1,6 @@
1
- import { hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
2
- import { promoteDailyRelease } from "./release-promotion.js";
3
1
  import { createGitHubPromotionProvider } from "./github-release-promotion.js";
2
+ import { promoteDailyRelease } from "./release-promotion.js";
3
+ import { hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
4
4
  // src/release/release-promotion-command.ts
5
5
  /** Execute promotion only from a trusted main-branch GitHub release job. */
6
6
  async function runPromotionCommand(options) {
@@ -1,4 +1,4 @@
1
- import { versionLessThan } from "../updates/release-version.js";
1
+ import { versionLessThan } from "../updates/feed/release-version.js";
2
2
  // src/release/release-promotion.ts
3
3
  function order(a, b) {
4
4
  return Date.parse(a.publishedAt) - Date.parse(b.publishedAt) || a.id - b.id;
@@ -1,4 +1,4 @@
1
- import { type ReleaseTrust } from '../updates/signed-release';
1
+ import { type ReleaseTrust } from '../updates/feed/signed-release';
2
2
  import { type Artifact, type CommandReceipt, type InstallerReceipt, type Qualification, type ReleaseIdentity, type Requirements } from './release-qualification';
3
3
  export type RemoteReleaseState = {
4
4
  tag: string;
@@ -1,7 +1,7 @@
1
- import { validateReleaseQualification } from "./release-qualification.js";
2
- import { verifyReleaseDescriptor } from "../updates/signed-release.js";
1
+ import { hashUnchangedFile, openUnchangedFile } from "../updates/locks/stable-file.js";
2
+ import { verifyReleaseDescriptor } from "../updates/feed/signed-release.js";
3
3
  import { releaseAssetNames } from "./release-config.js";
4
- import { hashUnchangedFile, openUnchangedFile } from "../updates/stable-file.js";
4
+ import { validateReleaseQualification } from "./release-qualification.js";
5
5
  import { lstat, mkdtemp, open, rm, writeFile } from "node:fs/promises";
6
6
  import { join, resolve } from "node:path";
7
7
  import { createHash } from "node:crypto";
@@ -1,11 +1,11 @@
1
1
  import { isGitSha, isRecord } from "../app/value-guards.js";
2
2
  import { githubCli, verifyWorkflowAttempt } from "./github-cli.js";
3
- import { assertRepositorySlug } from "../updates/signed-release.js";
4
- import { feedUrl } from "../updates/release-feed.js";
5
- import { discoveryPolicies, hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
3
+ import { createGitHubReleasePublisher } from "./github-release-publisher.js";
6
4
  import { publishQualifiedRelease } from "./release-publication.js";
5
+ import { discoveryPolicies, hostedReleaseWorkflows, parseReleaseConfig } from "./release-config.js";
7
6
  import { commandReceiptName } from "../installer/command-qualification-command.js";
8
- import { createGitHubReleasePublisher } from "./github-release-publisher.js";
7
+ import { feedUrl } from "../updates/feed/release-feed.js";
8
+ import { assertRepositorySlug } from "../updates/feed/signed-release.js";
9
9
  import { open } from "node:fs/promises";
10
10
  import { join, resolve } from "node:path";
11
11
  // src/release/release-publish-command.ts
@@ -1,10 +1,10 @@
1
- import { assertPortableAppName } from "../installer/installer-layout.js";
2
- import { parseReleaseConfig, platformPayloads } from "./release-config.js";
3
1
  import { packCommandArtifact, readCommandArtifact } from "../installer/command-artifact.js";
4
2
  import { qualifyCommandArtifactsCommand } from "../installer/command-qualification-command.js";
5
3
  import { verifyInstallerPayload } from "../installer/installer-identity.js";
4
+ import { assertPortableAppName } from "../installer/installer-layout.js";
6
5
  import { qualifyInstallerCommand } from "../installer/installer-qualification-command.js";
7
6
  import { qualifyUpgradeCommand } from "../installer/installer-upgrade-command.js";
7
+ import { parseReleaseConfig, platformPayloads } from "./release-config.js";
8
8
  import { stagePlatformArtifacts } from "./release-staging.js";
9
9
  import { selectRetainedReleaseBuild } from "./retained-release-build.js";
10
10
  import { appendFile, mkdir, mkdtemp, readdir, rm } from "node:fs/promises";
@@ -1,9 +1,9 @@
1
1
  import { isGitSha, isRecord } from "../app/value-guards.js";
2
2
  import { githubCli } from "./github-cli.js";
3
- import { lookupRelease } from "./github-release-lookup.js";
4
- import { hostedReleaseWorkflows, parseReleaseConfig, platformPayloads, workflowFile } from "./release-config.js";
5
3
  import { createGitHubReleaseCutProvider } from "./github-release-cut.js";
4
+ import { hostedReleaseWorkflows, parseReleaseConfig, platformPayloads, workflowFile } from "./release-config.js";
6
5
  import { planReleaseAssets, releasePlanGitHubEnvironment } from "./release-assets-plan.js";
6
+ import { lookupRelease } from "./github-release-lookup.js";
7
7
  // src/release/retained-release-build.ts
8
8
  var id = (value) => {
9
9
  if (typeof value === "number" && !Number.isSafeInteger(value)) throw new Error("Invalid GitHub identity");
@@ -1,7 +1,7 @@
1
- import { hasEditableKeyboardTarget } from "./keyboard-target.js";
2
- import { detectShortcutPlatform, resolveShortcutPlatform, settingsShortcutLabel, shortcutModifierKey } from "./shortcut-platform.js";
3
1
  import { matchesSettingsKeyshortcuts, parseSettingsKeyshortcuts } from "./settings-shortcuts.js";
4
2
  import { defineSettingsSections, settingsSectionFromHash } from "./settings-sections.js";
3
+ import { detectShortcutPlatform, resolveShortcutPlatform, settingsShortcutLabel, shortcutModifierKey } from "./shortcut-platform.js";
4
+ import { hasEditableKeyboardTarget } from "./keyboard-target.js";
5
5
  import { browserUpdateAdapter } from "../updates/update-adapter.js";
6
6
  import { DEFAULT_NARROW_QUERY, createMediaQuery } from "./media-query.js";
7
7
  import { createComponent, memo, mergeProps, template } from "solid-js/web";
@@ -16,12 +16,12 @@ function errorCode(error) {
16
16
  return typeof code === "string" ? code : undefined;
17
17
  }
18
18
 
19
- // src/updates/update-helper.ts
19
+ // src/updates/helper/update-helper.ts
20
20
  import { constants as constants7 } from "fs";
21
21
  import { lstat as lstat3, open as open7, realpath as realpath2 } from "fs/promises";
22
22
  import { join as join9 } from "path";
23
23
 
24
- // src/updates/update-marker.ts
24
+ // src/updates/install/update-marker.ts
25
25
  import { randomUUID } from "crypto";
26
26
  import { closeSync, constants, linkSync, openSync, unlinkSync, writeFileSync } from "fs";
27
27
  import { link, open, unlink, writeFile } from "fs/promises";
@@ -82,11 +82,11 @@ async function readUpdateMarker(staging, name) {
82
82
  }
83
83
  }
84
84
 
85
- // src/updates/update-launch.ts
85
+ // src/updates/launch/update-launch.ts
86
86
  import { spawn } from "child_process";
87
87
  import { dirname, join as join2 } from "path";
88
88
 
89
- // src/updates/launch-environment.ts
89
+ // src/updates/launch/launch-environment.ts
90
90
  var INHERITED_LAUNCH_LEASE_ENV = "ADEA_INHERITED_LAUNCH_LEASE_FD";
91
91
 
92
92
  // src/native/canonical-path.ts
@@ -95,7 +95,7 @@ function isCanonicalPath(value) {
95
95
  return typeof value === "string" && isAbsolute(value) && resolve(value) === value && !value.includes("\x00");
96
96
  }
97
97
 
98
- // src/updates/update-launch.ts
98
+ // src/updates/launch/update-launch.ts
99
99
  function updateLauncherPath(platform, target) {
100
100
  if (!isCanonicalPath(target))
101
101
  throw new Error("Invalid update target");
@@ -123,7 +123,7 @@ async function launchInstalledApp(platform, target, env = process.env) {
123
123
  child.unref();
124
124
  }
125
125
 
126
- // src/updates/update-process-fence.ts
126
+ // src/updates/locks/update-process-fence.ts
127
127
  import { dlopen as dlopen2, FFIType as FFIType2, ptr as ptr2 } from "bun:ffi";
128
128
  import { readFile, realpath } from "fs/promises";
129
129
  import { isAbsolute as isAbsolute2 } from "path";
@@ -169,7 +169,7 @@ function windowsProcessImage(pid, options) {
169
169
  }
170
170
  }
171
171
 
172
- // src/updates/linux-process-state.ts
172
+ // src/updates/locks/linux-process-state.ts
173
173
  function linuxProcessIsExited(stat, pid) {
174
174
  const prefix = `${pid} (`;
175
175
  const end = stat.lastIndexOf(")");
@@ -184,7 +184,7 @@ function linuxProcessIsExited(stat, pid) {
184
184
  return fields[0] === "Z" && threads === 1;
185
185
  }
186
186
 
187
- // src/updates/update-process-fence.ts
187
+ // src/updates/locks/update-process-fence.ts
188
188
  class UpdateProcessFenceCancelledError extends Error {
189
189
  constructor() {
190
190
  super("Update helper cancellation was requested");
@@ -306,7 +306,7 @@ async function waitForUpdateProcesses(options) {
306
306
  }
307
307
  }
308
308
 
309
- // src/updates/update-swap.ts
309
+ // src/updates/install/update-swap.ts
310
310
  import { createHash } from "crypto";
311
311
  import { constants as constants5 } from "fs";
312
312
  import { lstat as lstat2, open as open5, readdir, readFile as readFile3, readlink } from "fs/promises";
@@ -409,10 +409,10 @@ import { constants as constants4 } from "fs";
409
409
  import { open as open4, rename, unlink as unlink2, writeFile as writeFile3 } from "fs/promises";
410
410
  import { join as join5 } from "path";
411
411
 
412
- // src/updates/update-lock.ts
412
+ // src/updates/locks/update-lock.ts
413
413
  import { basename, dirname as dirname2, join as join4 } from "path";
414
414
 
415
- // src/updates/native-file-lock.ts
415
+ // src/updates/locks/native-file-lock.ts
416
416
  import { constants as constants2 } from "fs";
417
417
  import { open as open2 } from "fs/promises";
418
418
  import { dlopen as dlopen4, FFIType as FFIType4, ptr as ptr4, read } from "bun:ffi";
@@ -574,7 +574,7 @@ async function tryAcquireWindows(path, mode) {
574
574
  };
575
575
  }
576
576
 
577
- // src/updates/update-lock.ts
577
+ // src/updates/locks/update-lock.ts
578
578
  function updateLockPath(target) {
579
579
  if (!isCanonicalPath(target))
580
580
  throw new Error("Invalid update lock target");
@@ -584,7 +584,7 @@ async function tryAcquireUpdateLock(target) {
584
584
  return tryAcquireNativeFileLock(updateLockPath(target), "exclusive");
585
585
  }
586
586
 
587
- // src/updates/stable-file.ts
587
+ // src/updates/locks/stable-file.ts
588
588
  import { constants as constants3 } from "fs";
589
589
  import { lstat, open as open3 } from "fs/promises";
590
590
  async function readSmallStateFile(path, maximum, message) {
@@ -718,7 +718,7 @@ async function replaceUpdateStageState(staging, state, durable) {
718
718
  }
719
719
  }
720
720
 
721
- // src/updates/update-swap.ts
721
+ // src/updates/install/update-swap.ts
722
722
  function updateStagingFor(target) {
723
723
  if (!isCanonicalPath(target))
724
724
  throw new Error("Invalid update target");
@@ -935,13 +935,13 @@ async function swapUpdateTreeWhileLocked(options, exchangeOperation = exchangeDi
935
935
  throw new Error("Atomic update exchange did not preserve both app trees");
936
936
  }
937
937
 
938
- // src/updates/update-launch-gate.ts
938
+ // src/updates/launch/update-launch-gate.ts
939
939
  import { randomUUID as randomUUID4 } from "crypto";
940
940
  import { constants as constants6 } from "fs";
941
941
  import { open as open6, rename as rename2, unlink as unlink3 } from "fs/promises";
942
942
  import { basename as basename4, dirname as dirname5, join as join8 } from "path";
943
943
 
944
- // src/updates/update-instance-lease.ts
944
+ // src/updates/locks/update-instance-lease.ts
945
945
  import { basename as basename3, dirname as dirname4, join as join7 } from "path";
946
946
  function updateInstanceLeasePath(target) {
947
947
  if (!isCanonicalPath(target))
@@ -957,7 +957,7 @@ async function tryAcquireUpdateInstanceLease(target, mode) {
957
957
  return { mode, release: lock.release };
958
958
  }
959
959
 
960
- // src/updates/update-launch-gate.ts
960
+ // src/updates/launch/update-launch-gate.ts
961
961
  var VERSION = /^\d+\.\d+\.\d+(?:-dev\.\d+)?$/;
962
962
  var MAX_GATE_BYTES = 1024;
963
963
  function validateTarget(target) {
@@ -1353,7 +1353,7 @@ async function waitForUpdateLaunchGateWriter(target, expected, options) {
1353
1353
  }
1354
1354
  }
1355
1355
 
1356
- // src/updates/update-helper.ts
1356
+ // src/updates/helper/update-helper.ts
1357
1357
  function parseUpdateHelperRequest(value) {
1358
1358
  const data = value;
1359
1359
  if (typeof value !== "object" || value === null || Array.isArray(value) || data.schema !== 1 && data.schema !== 2 && data.schema !== 3 || !isCanonicalPath(data.target) || !["macos-arm64", "windows-x64", "linux-x64", "linux-arm64"].includes(data.platform) || typeof data.version !== "string" || !/^\d+\.\d+\.\d+(?:-dev\.\d+)?$/.test(data.version) || !Array.isArray(data.processes) || data.schema === 2 && (typeof data.generation !== "string" || !/^[0-9a-f-]{36}$/i.test(data.generation) || data.helperOwner !== undefined && (typeof data.helperOwner !== "string" || !/^[0-9a-f-]{36}$/i.test(data.helperOwner))) || data.schema === 3 && (typeof data.generation !== "string" || !isUuid(data.generation) || typeof data.helperOwner !== "string" || !isUuid(data.helperOwner)) || !Number.isSafeInteger(data.processTimeoutMs) || data.processTimeoutMs < 1 || data.processTimeoutMs > 120000)
@@ -1,7 +1,7 @@
1
1
  import { createUpdateManager } from './update-manager';
2
- import { type UpdateChannel } from './release-version';
3
- import type { ReleaseTrust } from './signed-release';
4
- import type { FetchFunction } from './release-location';
2
+ import { type UpdateChannel } from './feed/release-version';
3
+ import type { ReleaseTrust } from './feed/signed-release';
4
+ import type { FetchFunction } from './feed/release-location';
5
5
  type ManagerOptions = Parameters<typeof createUpdateManager>[0];
6
6
  /** Re-read the persisted channel for every check and bind an approval to that choice. */
7
7
  export declare function createChannelUpdateManager(options: {
@@ -1,6 +1,6 @@
1
- import { isUpdateChannel } from "./release-version.js";
2
- import { selectUpdateDownloadDiscard } from "./update-download-cleanup.js";
3
1
  import { createUpdateManager } from "./update-manager.js";
2
+ import { selectUpdateDownloadDiscard } from "./install/update-download-cleanup.js";
3
+ import { isUpdateChannel } from "./feed/release-version.js";
4
4
  import { releaseChannelForUpdate } from "./update-channel-store.js";
5
5
  // src/updates/channel-update-manager.ts
6
6
  /** Re-read the persisted channel for every check and bind an approval to that choice. */