@adea-ai/app-framework 0.36.1 → 0.37.1

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 (175) hide show
  1. package/README.md +2 -0
  2. package/dist/appearance/appearance-host.js +2 -1
  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/appearance/window-surface.d.ts +19 -0
  15. package/dist/appearance/window-surface.js +68 -1
  16. package/dist/cli/update-helper-cli.js +1 -1
  17. package/dist/cli/windows-installer-build-cli.d.ts +2 -0
  18. package/dist/cli/windows-installer-build-cli.js +14 -0
  19. package/dist/desktop/desktop-client.d.ts +1 -1
  20. package/dist/framework-source.json +1 -1
  21. package/dist/installer/installed-payload.js +2 -2
  22. package/dist/installer/{installer-archive.js → installer-archive-members.js} +2 -2
  23. package/dist/installer/installer-extraction.js +2 -2
  24. package/dist/installer/installer-fetch-guard.d.ts +1 -1
  25. package/dist/installer/installer-identity.js +2 -2
  26. package/dist/installer/installer-observation.d.ts +1 -1
  27. package/dist/installer/installer-observation.js +2 -2
  28. package/dist/installer/installer-upgrade-command.d.ts +2 -2
  29. package/dist/installer/installer-upgrade-command.js +5 -5
  30. package/dist/installer/linux-process-group.js +1 -1
  31. package/dist/installer/upgrade-asset-download.d.ts +1 -1
  32. package/dist/installer/upgrade-asset-download.js +2 -2
  33. package/dist/native/installer-archive.d.ts +42 -0
  34. package/dist/native/installer-archive.js +172 -0
  35. package/dist/native/posix-tree-removal.d.ts +1 -1
  36. package/dist/native/window-surface-store.d.ts +16 -0
  37. package/dist/native/window-surface-store.js +69 -0
  38. package/dist/native/windows-extractor-build.d.ts +95 -0
  39. package/dist/native/windows-extractor-build.js +326 -0
  40. package/dist/release/feed-release-cut.d.ts +1 -1
  41. package/dist/release/feed-state.d.ts +2 -2
  42. package/dist/release/feed-state.js +3 -3
  43. package/dist/release/github-release-cut.js +1 -1
  44. package/dist/release/github-release-promotion.js +1 -1
  45. package/dist/release/github-release-publisher.js +1 -1
  46. package/dist/release/github-release-qualification.js +1 -1
  47. package/dist/release/local-release.d.ts +2 -2
  48. package/dist/release/local-release.js +3 -3
  49. package/dist/release/release-artifact.d.ts +1 -1
  50. package/dist/release/release-artifact.js +2 -2
  51. package/dist/release/release-assets-plan.js +1 -1
  52. package/dist/release/release-config.d.ts +1 -1
  53. package/dist/release/release-config.js +1 -1
  54. package/dist/release/release-descriptor-staging.js +3 -3
  55. package/dist/release/release-finalize.js +1 -1
  56. package/dist/release/release-promotion.js +1 -1
  57. package/dist/release/release-publication.d.ts +1 -1
  58. package/dist/release/release-publication.js +2 -2
  59. package/dist/release/release-publish-command.js +2 -2
  60. package/dist/update-helper.bundle.js +18 -18
  61. package/dist/updates/channel-update-manager.d.ts +3 -3
  62. package/dist/updates/channel-update-manager.js +2 -2
  63. package/dist/updates/desktop-updater.d.ts +10 -83
  64. package/dist/updates/desktop-updater.js +14 -217
  65. package/dist/updates/{packaged-release-config.js → feed/packaged-release-config.js} +5 -5
  66. package/dist/updates/{release-feed.js → feed/release-feed.js} +2 -2
  67. package/dist/updates/{release-location.js → feed/release-location.js} +2 -2
  68. package/dist/updates/{release-version.js → feed/release-version.js} +1 -1
  69. package/dist/updates/{signed-release.js → feed/signed-release.js} +2 -2
  70. package/dist/updates/{update-discovery.js → feed/update-discovery.js} +1 -1
  71. package/dist/updates/helper/launch-gate-recovery.d.ts +8 -0
  72. package/dist/updates/{update-resume.js → helper/launch-gate-recovery.js} +13 -423
  73. package/dist/updates/helper/resume-staging.d.ts +22 -0
  74. package/dist/updates/helper/resume-staging.js +180 -0
  75. package/dist/updates/{update-helper.d.ts → helper/update-helper.d.ts} +1 -1
  76. package/dist/updates/{update-helper.js → helper/update-helper.js} +9 -9
  77. package/dist/updates/{update-resume.d.ts → helper/update-resume.d.ts} +4 -10
  78. package/dist/updates/helper/update-resume.js +252 -0
  79. package/dist/updates/{update-shutdown.js → helper/update-shutdown.js} +2 -2
  80. package/dist/updates/{update-arm.d.ts → install/update-arm.d.ts} +2 -2
  81. package/dist/updates/{update-arm.js → install/update-arm.js} +9 -9
  82. package/dist/updates/{update-download-cleanup.d.ts → install/update-download-cleanup.d.ts} +1 -1
  83. package/dist/updates/{update-download-cleanup.js → install/update-download-cleanup.js} +3 -3
  84. package/dist/updates/{update-download.d.ts → install/update-download.d.ts} +2 -2
  85. package/dist/updates/{update-download.js → install/update-download.js} +3 -3
  86. package/dist/updates/{update-extraction.d.ts → install/update-extraction.d.ts} +2 -2
  87. package/dist/updates/{update-extraction.js → install/update-extraction.js} +6 -6
  88. package/dist/updates/{update-handoff-plan.d.ts → install/update-handoff-plan.d.ts} +2 -2
  89. package/dist/updates/{update-handoff-plan.js → install/update-handoff-plan.js} +5 -5
  90. package/dist/updates/{update-marker.js → install/update-marker.js} +2 -2
  91. package/dist/updates/{update-swap-stage.d.ts → install/update-swap-stage.d.ts} +2 -2
  92. package/dist/updates/{update-swap-stage.js → install/update-swap-stage.js} +7 -6
  93. package/dist/updates/{update-swap.d.ts → install/update-swap.d.ts} +1 -1
  94. package/dist/updates/{update-swap.js → install/update-swap.js} +5 -5
  95. package/dist/updates/install-target.d.ts +8 -0
  96. package/dist/updates/install-target.js +27 -0
  97. package/dist/updates/{launch-environment.js → launch/launch-environment.js} +1 -1
  98. package/dist/updates/{packaged-launch-admission.js → launch/packaged-launch-admission.js} +4 -4
  99. package/dist/updates/{packaged-update-startup.d.ts → launch/packaged-update-startup.d.ts} +3 -3
  100. package/dist/updates/{packaged-update-startup.js → launch/packaged-update-startup.js} +10 -7
  101. package/dist/updates/{update-launch-gate.d.ts → launch/update-launch-gate.d.ts} +1 -1
  102. package/dist/updates/{update-launch-gate.js → launch/update-launch-gate.js} +9 -9
  103. package/dist/updates/{update-launch.d.ts → launch/update-launch.d.ts} +1 -1
  104. package/dist/updates/{update-launch.js → launch/update-launch.js} +2 -2
  105. package/dist/updates/{linux-process-state.js → locks/linux-process-state.js} +1 -1
  106. package/dist/updates/{native-file-lock.js → locks/native-file-lock.js} +1 -1
  107. package/dist/updates/{stable-file.js → locks/stable-file.js} +2 -2
  108. package/dist/updates/{update-download-lock.js → locks/update-download-lock.js} +1 -1
  109. package/dist/updates/{update-generation-lease.js → locks/update-generation-lease.js} +3 -3
  110. package/dist/updates/{update-inherited-launch-lease.d.ts → locks/update-inherited-launch-lease.d.ts} +1 -1
  111. package/dist/updates/{update-inherited-launch-lease.js → locks/update-inherited-launch-lease.js} +2 -2
  112. package/dist/updates/{update-instance-lease.js → locks/update-instance-lease.js} +2 -2
  113. package/dist/updates/{update-lock.js → locks/update-lock.js} +2 -2
  114. package/dist/updates/{update-process-fence.js → locks/update-process-fence.js} +3 -3
  115. package/dist/updates/{update-process-liveness.js → locks/update-process-liveness.js} +2 -2
  116. package/dist/updates/retained-client-assets.d.ts +60 -0
  117. package/dist/updates/retained-client-assets.js +116 -0
  118. package/dist/updates/retention/retention-cleanup.d.ts +103 -0
  119. package/dist/updates/retention/retention-cleanup.js +439 -0
  120. package/dist/updates/retention/retention-prune-progress.d.ts +27 -0
  121. package/dist/updates/retention/retention-prune-progress.js +203 -0
  122. package/dist/updates/retention/retirement-inventory.d.ts +93 -0
  123. package/dist/updates/retention/retirement-inventory.js +373 -0
  124. package/dist/updates/retention/retirement-records.d.ts +75 -0
  125. package/dist/updates/retention/retirement-records.js +309 -0
  126. package/dist/updates/{update-retention-marker.d.ts → retention/update-retention-marker.d.ts} +1 -1
  127. package/dist/updates/{update-retention-marker.js → retention/update-retention-marker.js} +3 -3
  128. package/dist/updates/{update-retention-plan.d.ts → retention/update-retention-plan.d.ts} +1 -1
  129. package/dist/updates/{update-retention-plan.js → retention/update-retention-plan.js} +2 -2
  130. package/dist/updates/{update-retention-sync.d.ts → retention/update-retention-sync.d.ts} +1 -1
  131. package/dist/updates/{update-retention-sync.js → retention/update-retention-sync.js} +2 -2
  132. package/dist/updates/retention/update-retirement.d.ts +26 -0
  133. package/dist/updates/retention/update-retirement.js +205 -0
  134. package/dist/updates/update-adapter.js +1 -1
  135. package/dist/updates/update-channel-store.d.ts +1 -1
  136. package/dist/updates/update-channel-store.js +2 -2
  137. package/dist/updates/update-manager.d.ts +4 -4
  138. package/dist/updates/update-manager.js +5 -5
  139. package/dist/updates/update-services.d.ts +15 -0
  140. package/dist/updates/update-services.js +77 -0
  141. package/dist/updates/update-state-store.d.ts +2 -2
  142. package/dist/updates/update-state-store.js +2 -2
  143. package/dist/views/appearance-surface.js +3 -1
  144. package/package.json +42 -29
  145. package/src/appearance/custom-theme-library.ts +42 -956
  146. package/src/appearance/theme-library-mutation.ts +288 -0
  147. package/src/appearance/theme-library-schema.ts +347 -0
  148. package/src/appearance/theme-library-store.ts +379 -0
  149. package/src/appearance/window-surface.ts +91 -5
  150. package/src/updates/update-adapter.ts +1 -1
  151. package/templates/application/src/bun/index.ts +15 -0
  152. package/templates/application/src/web/main.tsx +13 -1
  153. package/dist/updates/update-retirement.d.ts +0 -205
  154. package/dist/updates/update-retirement.js +0 -1485
  155. /package/dist/installer/{installer-archive.d.ts → installer-archive-members.d.ts} +0 -0
  156. /package/dist/updates/{packaged-release-config.d.ts → feed/packaged-release-config.d.ts} +0 -0
  157. /package/dist/updates/{release-feed.d.ts → feed/release-feed.d.ts} +0 -0
  158. /package/dist/updates/{release-location.d.ts → feed/release-location.d.ts} +0 -0
  159. /package/dist/updates/{release-version.d.ts → feed/release-version.d.ts} +0 -0
  160. /package/dist/updates/{signed-release.d.ts → feed/signed-release.d.ts} +0 -0
  161. /package/dist/updates/{update-discovery.d.ts → feed/update-discovery.d.ts} +0 -0
  162. /package/dist/updates/{update-shutdown.d.ts → helper/update-shutdown.d.ts} +0 -0
  163. /package/dist/updates/{update-marker.d.ts → install/update-marker.d.ts} +0 -0
  164. /package/dist/updates/{launch-environment.d.ts → launch/launch-environment.d.ts} +0 -0
  165. /package/dist/updates/{packaged-launch-admission.d.ts → launch/packaged-launch-admission.d.ts} +0 -0
  166. /package/dist/updates/{linux-process-state.d.ts → locks/linux-process-state.d.ts} +0 -0
  167. /package/dist/updates/{native-file-lock.d.ts → locks/native-file-lock.d.ts} +0 -0
  168. /package/dist/updates/{stable-file.d.ts → locks/stable-file.d.ts} +0 -0
  169. /package/dist/updates/{update-download-lock.d.ts → locks/update-download-lock.d.ts} +0 -0
  170. /package/dist/updates/{update-generation-lease.d.ts → locks/update-generation-lease.d.ts} +0 -0
  171. /package/dist/updates/{update-instance-lease.d.ts → locks/update-instance-lease.d.ts} +0 -0
  172. /package/dist/updates/{update-lock.d.ts → locks/update-lock.d.ts} +0 -0
  173. /package/dist/updates/{update-process-fence.d.ts → locks/update-process-fence.d.ts} +0 -0
  174. /package/dist/updates/{update-process-liveness.d.ts → locks/update-process-liveness.d.ts} +0 -0
  175. /package/src/updates/{release-version.ts → feed/release-version.ts} +0 -0
@@ -1,8 +1,8 @@
1
- import { versionLessThan } from "./release-version.js";
2
- import { isVerifiedReleaseForTrust } from "./signed-release.js";
3
- import { discoverSignedRelease } from "./update-discovery.js";
4
- import { downloadVerifiedRelease } from "./update-download.js";
5
- import { selectUpdateDownloadDiscard } from "./update-download-cleanup.js";
1
+ import { versionLessThan } from "./feed/release-version.js";
2
+ import { isVerifiedReleaseForTrust } from "./feed/signed-release.js";
3
+ import { discoverSignedRelease } from "./feed/update-discovery.js";
4
+ import { downloadVerifiedRelease } from "./install/update-download.js";
5
+ import { selectUpdateDownloadDiscard } from "./install/update-download-cleanup.js";
6
6
  import { UpdatePreflightError } from "./update-preflight-error.js";
7
7
  // src/updates/update-manager.ts
8
8
  var UPDATE_PREFLIGHT_MESSAGES = {
@@ -0,0 +1,15 @@
1
+ import { type createServiceRegistry } from '../app/service-registry';
2
+ import { type UpdateChannel } from './feed/release-version';
3
+ import type { DesktopUpdater, UpdateInstallRequest } from './desktop-updater';
4
+ type Services<Principal> = ReturnType<typeof createServiceRegistry<Principal>>;
5
+ /** The `desktop_update_channel_save` argument. */
6
+ export declare function parseUpdateChannel(value: unknown): UpdateChannel;
7
+ /** The `desktop_update_install` argument. */
8
+ export declare function parseUpdateInstall(value: unknown): UpdateInstallRequest;
9
+ /** Register the `desktop_update_*` services the web client's update adapter calls. */
10
+ export declare function registerUpdateServices<Principal>(options: {
11
+ services: Services<Principal>;
12
+ updater: DesktopUpdater;
13
+ authorize(principal: Principal): boolean;
14
+ }): () => void;
15
+ export {};
@@ -0,0 +1,77 @@
1
+ import { isUpdateChannel } from "./feed/release-version.js";
2
+ import { ServiceError } from "../app/service-registry.js";
3
+ // src/updates/update-services.ts
4
+ function record(value, keys) {
5
+ if (typeof value !== "object" || value === null || Array.isArray(value) || Object.keys(value).some((key) => !keys.includes(key))) throw new Error("Invalid input");
6
+ return value;
7
+ }
8
+ function parseNone(value) {
9
+ if (value !== void 0 && value !== null) record(value, []);
10
+ return null;
11
+ }
12
+ /** The `desktop_update_channel_save` argument. */
13
+ function parseUpdateChannel(value) {
14
+ const { channel } = record(value, ["channel"]);
15
+ if (!isUpdateChannel(channel)) throw new Error("Invalid input");
16
+ return channel;
17
+ }
18
+ /** The `desktop_update_install` argument. */
19
+ function parseUpdateInstall(value) {
20
+ const { expectedVersion, approved, restart } = record(value, [
21
+ "expectedVersion",
22
+ "approved",
23
+ "restart"
24
+ ]);
25
+ if (typeof expectedVersion !== "string" || expectedVersion.length > 64 || typeof approved !== "boolean" || restart !== void 0 && typeof restart !== "boolean") throw new Error("Invalid input");
26
+ return {
27
+ expectedVersion,
28
+ approved,
29
+ ...restart === void 0 ? {} : { restart }
30
+ };
31
+ }
32
+ /** Pass a service error through; give any other failure the update error code. */
33
+ function failure(error) {
34
+ if (error instanceof ServiceError) throw error;
35
+ throw new ServiceError("update_failed", error instanceof Error ? error.message : String(error));
36
+ }
37
+ /** Register the `desktop_update_*` services the web client's update adapter calls. */
38
+ function registerUpdateServices(options) {
39
+ const { services, updater } = options;
40
+ const authorize = (principal) => options.authorize(principal);
41
+ const unregister = [
42
+ services.register("desktop_update_status", {
43
+ parse: parseNone,
44
+ authorize,
45
+ run: () => updater.status().catch(failure)
46
+ }),
47
+ services.register("desktop_update_channel", {
48
+ parse: parseNone,
49
+ authorize,
50
+ run: () => updater.channel().catch(failure)
51
+ }),
52
+ services.register("desktop_update_channel_save", {
53
+ parse: parseUpdateChannel,
54
+ authorize,
55
+ run: (_principal, channel) => updater.saveChannel(channel).catch(failure)
56
+ }),
57
+ services.register("desktop_update_check", {
58
+ parse: parseNone,
59
+ authorize,
60
+ run: () => updater.check().catch(failure)
61
+ }),
62
+ services.register("desktop_update_install", {
63
+ parse: parseUpdateInstall,
64
+ authorize,
65
+ run: (_principal, request) => updater.install(request).catch(failure)
66
+ }),
67
+ services.register("desktop_update_cancel", {
68
+ parse: parseNone,
69
+ authorize,
70
+ run: () => updater.cancel()
71
+ })
72
+ ];
73
+ return () => {
74
+ for (const remove of unregister) remove();
75
+ };
76
+ }
77
+ export { parseUpdateChannel, parseUpdateInstall, registerUpdateServices };
@@ -1,5 +1,5 @@
1
- import { type UpdateLock } from './update-lock';
2
- import type { SignedRelease } from './signed-release';
1
+ import { type UpdateLock } from './locks/update-lock';
2
+ import type { SignedRelease } from './feed/signed-release';
3
3
  type UpdateStagePhase = 'staged' | 'armed' | 'swapping' | 'completed' | 'retiring' | 'retired' | 'failed';
4
4
  export type UpdateStageState = Readonly<{
5
5
  schema: 1;
@@ -1,6 +1,6 @@
1
1
  import { errorCode, isSha256Hex, isUuid } from "../app/value-guards.js";
2
- import { readSmallStateFile } from "./stable-file.js";
3
- import { tryAcquireUpdateLock } from "./update-lock.js";
2
+ import { readSmallStateFile } from "./locks/stable-file.js";
3
+ import { tryAcquireUpdateLock } from "./locks/update-lock.js";
4
4
  import { open, rename, unlink, writeFile } from "node:fs/promises";
5
5
  import { join } from "node:path";
6
6
  import { randomUUID } from "node:crypto";
@@ -1,5 +1,7 @@
1
1
  import { preferencesFromSelection } from "../appearance/appearance-preferences.js";
2
- import { readCustomThemeLibrary, removeCustomThemeAtomically, subscribeCustomThemes } from "../appearance/custom-theme-library.js";
2
+ import { readCustomThemeLibrary, subscribeCustomThemes } from "../appearance/theme-library-store.js";
3
+ import { removeCustomThemeAtomically } from "../appearance/theme-library-mutation.js";
4
+ import "../appearance/custom-theme-library.js";
3
5
  import { useTheme } from "../appearance/appearance-host.js";
4
6
  import { draftVariants } from "../appearance/composition.js";
5
7
  import { createAppearanceEditor } from "../appearance/editor.js";
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@adea-ai/app-framework",
3
- "version": "0.36.1",
3
+ "version": "0.37.1",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://gitlab.com/adea-ai/ade/app-framework.git"
8
8
  },
9
9
  "bin": {
10
+ "adea-build-windows-installer": "./dist/cli/windows-installer-build-cli.js",
10
11
  "adea-cef-helper": "./dist/cli/cef-helper-cli.js",
11
12
  "adea-cut-release": "./dist/cli/release-cut-cli.js",
12
13
  "adea-desktop-release": "./ci/desktop-release.sh",
@@ -39,7 +40,7 @@
39
40
  "src/native/window-options.ts",
40
41
  "src/shell",
41
42
  "!src/shell/application-menu*.ts",
42
- "src/updates/release-version.ts",
43
+ "src/updates/feed/release-version.ts",
43
44
  "src/updates/update-adapter.ts",
44
45
  "src/updates/update-state.ts",
45
46
  "src/views",
@@ -58,10 +59,10 @@
58
59
  "./update-state": "./src/updates/update-state.ts",
59
60
  "./window-options": "./src/native/window-options.ts",
60
61
  "./release-version": {
61
- "types": "./dist/updates/release-version.d.ts",
62
- "bun": "./src/updates/release-version.ts",
63
- "solid": "./src/updates/release-version.ts",
64
- "import": "./dist/updates/release-version.js"
62
+ "types": "./dist/updates/feed/release-version.d.ts",
63
+ "bun": "./src/updates/feed/release-version.ts",
64
+ "solid": "./src/updates/feed/release-version.ts",
65
+ "import": "./dist/updates/feed/release-version.js"
65
66
  },
66
67
  "./app-shell": {
67
68
  "types": "./dist/shell/app-shell.d.ts",
@@ -181,8 +182,8 @@
181
182
  "import": "./dist/desktop/desktop-stream.js"
182
183
  },
183
184
  "./signed-release": {
184
- "types": "./dist/updates/signed-release.d.ts",
185
- "import": "./dist/updates/signed-release.js"
185
+ "types": "./dist/updates/feed/signed-release.d.ts",
186
+ "import": "./dist/updates/feed/signed-release.js"
186
187
  },
187
188
  "./release-artifact": {
188
189
  "types": "./dist/release/release-artifact.d.ts",
@@ -237,12 +238,12 @@
237
238
  "import": "./dist/release/release-staging.js"
238
239
  },
239
240
  "./update-download": {
240
- "types": "./dist/updates/update-download.d.ts",
241
- "import": "./dist/updates/update-download.js"
241
+ "types": "./dist/updates/install/update-download.d.ts",
242
+ "import": "./dist/updates/install/update-download.js"
242
243
  },
243
244
  "./update-discovery": {
244
- "types": "./dist/updates/update-discovery.d.ts",
245
- "import": "./dist/updates/update-discovery.js"
245
+ "types": "./dist/updates/feed/update-discovery.d.ts",
246
+ "import": "./dist/updates/feed/update-discovery.js"
246
247
  },
247
248
  "./macos-dmg": {
248
249
  "types": "./dist/release/macos-dmg.d.ts",
@@ -269,36 +270,36 @@
269
270
  "import": "./dist/release/release-steps.js"
270
271
  },
271
272
  "./release-feed": {
272
- "types": "./dist/updates/release-feed.d.ts",
273
- "import": "./dist/updates/release-feed.js"
273
+ "types": "./dist/updates/feed/release-feed.d.ts",
274
+ "import": "./dist/updates/feed/release-feed.js"
274
275
  },
275
276
  "./release-location": {
276
- "types": "./dist/updates/release-location.d.ts",
277
- "import": "./dist/updates/release-location.js"
277
+ "types": "./dist/updates/feed/release-location.d.ts",
278
+ "import": "./dist/updates/feed/release-location.js"
278
279
  },
279
280
  "./update-process-liveness": {
280
- "types": "./dist/updates/update-process-liveness.d.ts",
281
- "import": "./dist/updates/update-process-liveness.js"
281
+ "types": "./dist/updates/locks/update-process-liveness.d.ts",
282
+ "import": "./dist/updates/locks/update-process-liveness.js"
282
283
  },
283
284
  "./update-manager": {
284
285
  "types": "./dist/updates/update-manager.d.ts",
285
286
  "import": "./dist/updates/update-manager.js"
286
287
  },
287
288
  "./update-inherited-launch-lease": {
288
- "types": "./dist/updates/update-inherited-launch-lease.d.ts",
289
- "import": "./dist/updates/update-inherited-launch-lease.js"
289
+ "types": "./dist/updates/locks/update-inherited-launch-lease.d.ts",
290
+ "import": "./dist/updates/locks/update-inherited-launch-lease.js"
290
291
  },
291
292
  "./packaged-update-startup": {
292
- "types": "./dist/updates/packaged-update-startup.d.ts",
293
- "import": "./dist/updates/packaged-update-startup.js"
293
+ "types": "./dist/updates/launch/packaged-update-startup.d.ts",
294
+ "import": "./dist/updates/launch/packaged-update-startup.js"
294
295
  },
295
296
  "./packaged-launch-admission": {
296
- "types": "./dist/updates/packaged-launch-admission.d.ts",
297
- "import": "./dist/updates/packaged-launch-admission.js"
297
+ "types": "./dist/updates/launch/packaged-launch-admission.d.ts",
298
+ "import": "./dist/updates/launch/packaged-launch-admission.js"
298
299
  },
299
300
  "./update-resume": {
300
- "types": "./dist/updates/update-resume.d.ts",
301
- "import": "./dist/updates/update-resume.js"
301
+ "types": "./dist/updates/helper/update-resume.d.ts",
302
+ "import": "./dist/updates/helper/update-resume.js"
302
303
  },
303
304
  "./update-channel-store": {
304
305
  "types": "./dist/updates/update-channel-store.d.ts",
@@ -313,8 +314,8 @@
313
314
  "import": "./dist/updates/desktop-updater.js"
314
315
  },
315
316
  "./update-extraction": {
316
- "types": "./dist/updates/update-extraction.d.ts",
317
- "import": "./dist/updates/update-extraction.js"
317
+ "types": "./dist/updates/install/update-extraction.d.ts",
318
+ "import": "./dist/updates/install/update-extraction.js"
318
319
  },
319
320
  "./installer-renderer-evidence": {
320
321
  "types": "./dist/installer/installer-renderer-evidence.d.ts",
@@ -344,6 +345,18 @@
344
345
  "types": "./dist/native/desktop-build.d.ts",
345
346
  "import": "./dist/native/desktop-build.js"
346
347
  },
348
+ "./windows-extractor-build": {
349
+ "types": "./dist/native/windows-extractor-build.d.ts",
350
+ "import": "./dist/native/windows-extractor-build.js"
351
+ },
352
+ "./installer-archive": {
353
+ "types": "./dist/native/installer-archive.d.ts",
354
+ "import": "./dist/native/installer-archive.js"
355
+ },
356
+ "./window-surface-store": {
357
+ "types": "./dist/native/window-surface-store.d.ts",
358
+ "import": "./dist/native/window-surface-store.js"
359
+ },
347
360
  "./electrobun-types": {
348
361
  "types": "./src/native/electrobun-types.d.ts"
349
362
  },
@@ -383,7 +396,7 @@
383
396
  "registry": "https://registry.npmjs.org/"
384
397
  },
385
398
  "scripts": {
386
- "test": "bun test --timeout=$(bun -e \"process.stdout.write(process.env.ADEA_TEST_TIMEOUT_MS || '5000')\") tests/*/*.test.ts && bun run test:ui",
399
+ "test": "bun test --timeout=$(bun -e \"process.stdout.write(process.env.ADEA_TEST_TIMEOUT_MS || '5000')\") tests/*/*.test.ts tests/*/*/*.test.ts && bun run test:ui",
387
400
  "test:ui": "bun test --isolate --timeout=$(bun -e \"process.stdout.write(process.env.ADEA_TEST_TIMEOUT_MS || '5000')\") --conditions=browser --preload @adea-ai/ui/testing/solid-transform tests/*/*.test.tsx",
388
401
  "test:sidebar-responsive-matrix": "bash scripts/test-sidebar-responsive-matrix.sh",
389
402
  "test:theme-browser": "bun scripts/test-theme-library-browser.ts",