@camstack/system 1.1.56 → 1.1.58

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 (51) hide show
  1. package/dist/addon-runner.js +2 -2
  2. package/dist/addon-runner.mjs +2 -2
  3. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  4. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  5. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  6. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  7. package/dist/builtins/alerts/alerts.addon.js +1 -1
  8. package/dist/builtins/alerts/alerts.addon.mjs +1 -1
  9. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  10. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  11. package/dist/builtins/console-logging/index.js +1 -1
  12. package/dist/builtins/console-logging/index.mjs +1 -1
  13. package/dist/builtins/device-manager/device-manager.addon.js +1 -1
  14. package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
  15. package/dist/builtins/doorbell/virtual-doorbell.addon.js +1 -1
  16. package/dist/builtins/doorbell/virtual-doorbell.addon.mjs +1 -1
  17. package/dist/builtins/hub-forwarder/index.js +1 -1
  18. package/dist/builtins/hub-forwarder/index.mjs +1 -1
  19. package/dist/builtins/local-auth/local-auth.addon.js +1 -1
  20. package/dist/builtins/local-auth/local-auth.addon.mjs +1 -1
  21. package/dist/builtins/local-network/local-network.addon.js +1 -1
  22. package/dist/builtins/local-network/local-network.addon.mjs +1 -1
  23. package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  24. package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  25. package/dist/builtins/platform-probe/index.js +1 -1
  26. package/dist/builtins/platform-probe/index.mjs +1 -1
  27. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  28. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  29. package/dist/builtins/snapshot/index.js +1 -1
  30. package/dist/builtins/snapshot/index.mjs +1 -1
  31. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  32. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  33. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +1 -1
  34. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +1 -1
  35. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  36. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  37. package/dist/builtins/system-config/system-config.addon.js +1 -1
  38. package/dist/builtins/system-config/system-config.addon.mjs +1 -1
  39. package/dist/builtins/winston-logging/index.js +1 -1
  40. package/dist/builtins/winston-logging/index.mjs +1 -1
  41. package/dist/{dist-JAF9YR1q.mjs → dist-BNevCEAo.mjs} +0 -70
  42. package/dist/{dist-Bg795EQF.js → dist-BY6NWf-c.js} +0 -70
  43. package/dist/index.js +44 -107
  44. package/dist/index.mjs +45 -106
  45. package/dist/kernel/addon-loader.d.ts +7 -2
  46. package/dist/kernel/index.d.ts +1 -3
  47. package/dist/kernel/lifecycle/lifecycle-job-engine.d.ts +21 -26
  48. package/dist/{manifest-python-deps-eI3-3FeW.js → manifest-python-deps-D2G0DFWp.js} +1 -1
  49. package/dist/{manifest-python-deps-9wuRyL-k.mjs → manifest-python-deps-DtCMZhuR.mjs} +1 -1
  50. package/package.json +1 -1
  51. package/dist/kernel/lifecycle/framework-staging.d.ts +0 -15
@@ -1,6 +1,6 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.js");
2
- const require_dist = require("./dist-Bg795EQF.js");
3
- const require_manifest_python_deps = require("./manifest-python-deps-eI3-3FeW.js");
2
+ const require_dist = require("./dist-BY6NWf-c.js");
3
+ const require_manifest_python_deps = require("./manifest-python-deps-D2G0DFWp.js");
4
4
  const require_custom_action_registry = require("./custom-action-registry-vLYEFTtv.js");
5
5
  let node_fs = require("node:fs");
6
6
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,5 +1,5 @@
1
- import { j as isCollectionArrayMethod, t as ALL_CAPABILITY_DEFINITIONS } from "./dist-JAF9YR1q.mjs";
2
- import { F as createUdsLoggerWithControl, I as LocalChildClient, bt as resolveAddonClass, i as createUdsAddonContext, it as setWorkerNativeCapsChangeListener, nt as getWorkerNativeCapSnapshot, ot as validateProviderRegistrations, t as installManifestPythonDeps, tt as getWorkerNativeCapProvider, vt as installManifestNativeDeps } from "./manifest-python-deps-9wuRyL-k.mjs";
1
+ import { j as isCollectionArrayMethod, t as ALL_CAPABILITY_DEFINITIONS } from "./dist-BNevCEAo.mjs";
2
+ import { F as createUdsLoggerWithControl, I as LocalChildClient, bt as resolveAddonClass, i as createUdsAddonContext, it as setWorkerNativeCapsChangeListener, nt as getWorkerNativeCapSnapshot, ot as validateProviderRegistrations, t as installManifestPythonDeps, tt as getWorkerNativeCapProvider, vt as installManifestNativeDeps } from "./manifest-python-deps-DtCMZhuR.mjs";
3
3
  import { t as CustomActionRegistry } from "./custom-action-registry-BEXwC-oo.mjs";
4
4
  import { register } from "node:module";
5
5
  import * as fs from "node:fs";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_fs = require("node:fs");
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { f as addonPagesCapability, it as BaseAddon, kt as EventCategory, rt as errMsg } from "../../dist-JAF9YR1q.mjs";
1
+ import { f as addonPagesCapability, it as BaseAddon, kt as EventCategory, rt as errMsg } from "../../dist-BNevCEAo.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  const require_settle_sources = require("../../settle-sources-Bhsy57y-.js");
8
8
  let node_fs = require("node:fs");
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { it as BaseAddon, kt as EventCategory, m as addonWidgetsCapability, rt as errMsg } from "../../dist-JAF9YR1q.mjs";
1
+ import { it as BaseAddon, kt as EventCategory, m as addonWidgetsCapability, rt as errMsg } from "../../dist-BNevCEAo.mjs";
2
2
  import { t as settleSourcesWithTimeout } from "../../settle-sources-CDtNC8ub.mjs";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  //#region src/builtins/alerts/alerts.addon.ts
8
8
  var CATEGORY_MAPPINGS = {
9
9
  "addon.crashed": {
@@ -1,4 +1,4 @@
1
- import { _t as createEvent, h as alertsCapability, it as BaseAddon, kt as EventCategory, n as AlertSchema, rt as errMsg } from "../../dist-JAF9YR1q.mjs";
1
+ import { _t as createEvent, h as alertsCapability, it as BaseAddon, kt as EventCategory, n as AlertSchema, rt as errMsg } from "../../dist-BNevCEAo.mjs";
2
2
  //#region src/builtins/alerts/alerts.addon.ts
3
3
  var CATEGORY_MAPPINGS = {
4
4
  "addon.crashed": {
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_fs = require("node:fs");
8
8
  let node_fs$1 = require_chunk.__toESM(node_fs, 1);
9
9
  node_fs = require_chunk.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { it as BaseAddon, kt as EventCategory, v as backupCapability } from "../../dist-JAF9YR1q.mjs";
1
+ import { it as BaseAddon, kt as EventCategory, v as backupCapability } from "../../dist-BNevCEAo.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import Kt from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  //#region src/builtins/console-logging/console-destination.ts
9
9
  var LEVEL_RANK = {
@@ -1,4 +1,4 @@
1
- import { L as logDestinationCapability, it as BaseAddon } from "../../dist-JAF9YR1q.mjs";
1
+ import { L as logDestinationCapability, it as BaseAddon } from "../../dist-BNevCEAo.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  //#region src/builtins/console-logging/console-destination.ts
4
4
  var LEVEL_RANK = {
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let _camstack_types_node = require("@camstack/types/node");
8
8
  let zod = require("zod");
9
9
  let node_crypto = require("node:crypto");
@@ -1,4 +1,4 @@
1
- import { E as evaluateLinkExpression, J as setByPath, Ot as sleep, S as deviceStatusCapability, St as isDeviceConfigCap, T as enumerateSchemaFields, U as parseStreamParamsFormPatch, V as normalizeUnit, a as DeviceStatusSchema, b as deviceManagerCapability, c as STREAM_PROFILE_META, ct as DeviceFeature, et as toExpressionValue, g as applyTransform, i as CAP_NAMES_WITH_STATUS, it as BaseAddon, k as getByPath, kt as EventCategory, lt as DeviceRole, nt as validateExpressionSource, pt as WELL_KNOWN_TAB_MAP, rt as errMsg, t as ALL_CAPABILITY_DEFINITIONS, ut as DeviceType, w as enumerateItemArrayFields, x as deviceStateCapability, y as buildStreamParamsConfigSchema } from "../../dist-JAF9YR1q.mjs";
1
+ import { E as evaluateLinkExpression, J as setByPath, Ot as sleep, S as deviceStatusCapability, St as isDeviceConfigCap, T as enumerateSchemaFields, U as parseStreamParamsFormPatch, V as normalizeUnit, a as DeviceStatusSchema, b as deviceManagerCapability, c as STREAM_PROFILE_META, ct as DeviceFeature, et as toExpressionValue, g as applyTransform, i as CAP_NAMES_WITH_STATUS, it as BaseAddon, k as getByPath, kt as EventCategory, lt as DeviceRole, nt as validateExpressionSource, pt as WELL_KNOWN_TAB_MAP, rt as errMsg, t as ALL_CAPABILITY_DEFINITIONS, ut as DeviceType, w as enumerateItemArrayFields, x as deviceStateCapability, y as buildStreamParamsConfigSchema } from "../../dist-BNevCEAo.mjs";
2
2
  import { canonicalDeviceFingerprint } from "@camstack/types/node";
3
3
  import { z } from "zod";
4
4
  import { randomUUID } from "node:crypto";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  //#region src/builtins/doorbell/trigger-engine.ts
8
8
  /**
9
9
  * Pure trigger logic for the virtual-doorbell builtin — edge detection over
@@ -1,4 +1,4 @@
1
- import { C as doorbellCapability, _t as createEvent, it as BaseAddon, kt as EventCategory, rt as errMsg, ut as DeviceType } from "../../dist-JAF9YR1q.mjs";
1
+ import { C as doorbellCapability, _t as createEvent, it as BaseAddon, kt as EventCategory, rt as errMsg, ut as DeviceType } from "../../dist-BNevCEAo.mjs";
2
2
  //#region src/builtins/doorbell/trigger-engine.ts
3
3
  /**
4
4
  * Pure trigger logic for the virtual-doorbell builtin — edge detection over
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  //#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
9
9
  var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
@@ -1,4 +1,4 @@
1
- import { L as logDestinationCapability, it as BaseAddon } from "../../dist-JAF9YR1q.mjs";
1
+ import { L as logDestinationCapability, it as BaseAddon } from "../../dist-BNevCEAo.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  //#region src/builtins/hub-forwarder/hub-forwarder-destination.ts
4
4
  var DEFAULT_OUTBOUND_BUFFER_SIZE = 500;
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  node_crypto = require_chunk.__toESM(node_crypto);
9
9
  let crypto$1 = require("crypto");
@@ -1,4 +1,4 @@
1
- import { _ as authProviderCapability, d as UserRecordSchema, it as BaseAddon, l as ScopedTokenSchema, r as ApiKeyRecordSchema, tt as userManagementCapability } from "../../dist-JAF9YR1q.mjs";
1
+ import { _ as authProviderCapability, d as UserRecordSchema, it as BaseAddon, l as ScopedTokenSchema, r as ApiKeyRecordSchema, tt as userManagementCapability } from "../../dist-BNevCEAo.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as crypto$1 from "node:crypto";
4
4
  import { randomUUID } from "node:crypto";
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-Cek0wNdY.js");
3
- const require_dist = require("../../dist-Bg795EQF.js");
3
+ const require_dist = require("../../dist-BY6NWf-c.js");
4
4
  let node_os = require("node:os");
5
5
  node_os = require_chunk.__toESM(node_os);
6
6
  //#region src/builtins/local-network/local-network.addon.ts
@@ -1,4 +1,4 @@
1
- import { I as localNetworkCapability, it as BaseAddon, kt as EventCategory } from "../../dist-JAF9YR1q.mjs";
1
+ import { I as localNetworkCapability, it as BaseAddon, kt as EventCategory } from "../../dist-BNevCEAo.mjs";
2
2
  import * as os from "node:os";
3
3
  //#region src/builtins/local-network/local-network.addon.ts
4
4
  /**
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_chunk.__toESM(node_fs);
9
9
  let node_child_process = require("node:child_process");
@@ -1,4 +1,4 @@
1
- import { _t as createEvent, it as BaseAddon, kt as EventCategory, z as metricsProviderCapability } from "../../dist-JAF9YR1q.mjs";
1
+ import { _t as createEvent, it as BaseAddon, kt as EventCategory, z as metricsProviderCapability } from "../../dist-BNevCEAo.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile, execFileSync } from "node:child_process";
4
4
  import { promisify } from "node:util";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_chunk.__toESM(node_fs);
9
9
  let node_child_process = require("node:child_process");
@@ -1,4 +1,4 @@
1
- import { W as platformProbeCapability, it as BaseAddon, kt as EventCategory, q as scoreRuntimes, rt as errMsg, yt as emitReadiness } from "../../dist-JAF9YR1q.mjs";
1
+ import { W as platformProbeCapability, it as BaseAddon, kt as EventCategory, q as scoreRuntimes, rt as errMsg, yt as emitReadiness } from "../../dist-BNevCEAo.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import { execFile } from "node:child_process";
4
4
  import { promisify } from "node:util";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
8
8
  /**
9
9
  * Reconcile the durable `enabledProviders` set against authoritative
@@ -1,4 +1,4 @@
1
- import { it as BaseAddon, kt as EventCategory } from "../../dist-JAF9YR1q.mjs";
1
+ import { it as BaseAddon, kt as EventCategory } from "../../dist-BNevCEAo.mjs";
2
2
  //#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
3
3
  /**
4
4
  * Reconcile the durable `enabledProviders` set against authoritative
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_child_process = require("node:child_process");
8
8
  //#region src/builtins/snapshot/snapshot-coalescing.ts
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { $ as streamQualityLabel, B as nodePin, X as snapshotCapability, ct as DeviceFeature, it as BaseAddon, rt as errMsg, ut as DeviceType } from "../../dist-JAF9YR1q.mjs";
1
+ import { $ as streamQualityLabel, B as nodePin, X as snapshotCapability, ct as DeviceFeature, it as BaseAddon, rt as errMsg, ut as DeviceType } from "../../dist-BNevCEAo.mjs";
2
2
  import { execFile } from "node:child_process";
3
3
  //#region src/builtins/snapshot/snapshot-coalescing.ts
4
4
  /**
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_fs = require("node:fs");
8
8
  node_fs = require_chunk.__toESM(node_fs);
9
9
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { O as filesystemBrowseCapability, Q as storageProviderCapability, it as BaseAddon } from "../../dist-JAF9YR1q.mjs";
1
+ import { O as filesystemBrowseCapability, Q as storageProviderCapability, it as BaseAddon } from "../../dist-BNevCEAo.mjs";
2
2
  import * as fs from "node:fs";
3
3
  import * as path$1 from "node:path";
4
4
  import { basename, dirname, join, resolve, sep } from "node:path";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  let better_sqlite3 = require("better-sqlite3");
9
9
  better_sqlite3 = require_chunk.__toESM(better_sqlite3);
@@ -1,4 +1,4 @@
1
- import { Y as settingsStoreCapability, it as BaseAddon, mt as asJsonObject, rt as errMsg, s as RUNTIME_DEFAULTS, wt as parseJsonUnknown } from "../../dist-JAF9YR1q.mjs";
1
+ import { Y as settingsStoreCapability, it as BaseAddon, mt as asJsonObject, rt as errMsg, s as RUNTIME_DEFAULTS, wt as parseJsonUnknown } from "../../dist-BNevCEAo.mjs";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import Database from "better-sqlite3";
4
4
  //#region src/builtins/sqlite-storage/sqlite-settings-backend.ts
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  let node_path = require("node:path");
8
8
  node_path = require_chunk.__toESM(node_path);
9
9
  let node_fs_promises = require("node:fs/promises");
@@ -1,4 +1,4 @@
1
- import { Ct as parseJsonObject, Z as storageCapability, it as BaseAddon, u as StorageLocationTypeSchema } from "../../dist-JAF9YR1q.mjs";
1
+ import { Ct as parseJsonObject, Z as storageCapability, it as BaseAddon, u as StorageLocationTypeSchema } from "../../dist-BNevCEAo.mjs";
2
2
  import * as path$1 from "node:path";
3
3
  import * as fs from "node:fs/promises";
4
4
  import { buildStorageLocationRegistry } from "@camstack/system";
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  //#region src/builtins/system-config/system-config.addon.ts
8
8
  /**
9
9
  * Built-in `system-config` addon — Phase 4 of the settings redesign.
@@ -1,4 +1,4 @@
1
- import { it as BaseAddon, rt as errMsg, xt as hydrateSchema } from "../../dist-JAF9YR1q.mjs";
1
+ import { it as BaseAddon, rt as errMsg, xt as hydrateSchema } from "../../dist-BNevCEAo.mjs";
2
2
  //#region src/builtins/system-config/system-config.addon.ts
3
3
  /**
4
4
  * Built-in `system-config` addon — Phase 4 of the settings redesign.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../../chunk-Cek0wNdY.js");
6
- const require_dist = require("../../dist-Bg795EQF.js");
6
+ const require_dist = require("../../dist-BY6NWf-c.js");
7
7
  const require_formatter = require("../../formatter-DqAKDlvN.js");
8
8
  let node_path = require("node:path");
9
9
  node_path = require_chunk.__toESM(node_path);
@@ -1,4 +1,4 @@
1
- import { L as logDestinationCapability, it as BaseAddon } from "../../dist-JAF9YR1q.mjs";
1
+ import { L as logDestinationCapability, it as BaseAddon } from "../../dist-BNevCEAo.mjs";
2
2
  import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
3
3
  import * as path$1 from "node:path";
4
4
  import path from "node:path";
@@ -19108,22 +19108,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
19108
19108
  var RestartAddonResultSchema = z.unknown();
19109
19109
  var InstallPackageResultSchema = z.unknown();
19110
19110
  var ReloadPackagesResultSchema = z.unknown();
19111
- /**
19112
- * Result of `updateFrameworkPackage`. The cap method returns BEFORE the
19113
- * server restarts so the admin UI can react to the `restartingAt`
19114
- * timestamp (shows reconnect overlay). The transition from
19115
- * `fromVersion` to `toVersion` will be confirmed by a subsequent
19116
- * `system.restart-completed` event after the new process boots.
19117
- *
19118
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
19119
- */
19120
- var UpdateFrameworkPackageResultSchema = z.object({
19121
- packageName: z.string(),
19122
- fromVersion: z.string(),
19123
- toVersion: z.string(),
19124
- /** Ms-epoch the server scheduled its self-restart. */
19125
- restartingAt: z.number()
19126
- });
19127
19111
  var BulkUpdateItemStatusSchema = z.enum([
19128
19112
  "queued",
19129
19113
  "updating",
@@ -19369,28 +19353,6 @@ var addonsCapability = {
19369
19353
  kind: "mutation",
19370
19354
  auth: "admin"
19371
19355
  }),
19372
- /**
19373
- * Live-update one of the framework packages marked
19374
- * `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
19375
- * Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
19376
- * writes a `.restart-pending` marker, emits `system.restarting`
19377
- * and schedules a graceful process exit. The supervisor (Docker /
19378
- * Electron / systemd) brings the hub back up; on first boot after
19379
- * the restart the marker fires `system.restart-completed`.
19380
- *
19381
- * `version` defaults to `'latest'`. The allow-list of valid
19382
- * `packageName` values is enforced server-side.
19383
- *
19384
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
19385
- */
19386
- updateFrameworkPackage: method(z.object({
19387
- packageName: z.string().min(1),
19388
- version: z.string().optional(),
19389
- deferRestart: z.boolean().optional()
19390
- }), UpdateFrameworkPackageResultSchema, {
19391
- kind: "mutation",
19392
- auth: "admin"
19393
- }),
19394
19356
  getVersions: method(z.object({ name: z.string() }), z.array(PackageVersionInfoSchema).readonly()),
19395
19357
  restartAddon: method(z.object({ addonId: z.string() }), RestartAddonResultSchema, {
19396
19358
  kind: "mutation",
@@ -22682,12 +22644,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
22682
22644
  addonId: null,
22683
22645
  access: "delete"
22684
22646
  },
22685
- "addons.updateFrameworkPackage": {
22686
- capName: "addons",
22687
- capScope: "system",
22688
- addonId: null,
22689
- access: "create"
22690
- },
22691
22647
  "addons.updatePackage": {
22692
22648
  capName: "addons",
22693
22649
  capScope: "system",
@@ -27276,32 +27232,6 @@ Object.freeze({
27276
27232
  "network-access": "ingress",
27277
27233
  "smtp-provider": "email"
27278
27234
  });
27279
- var frameworkSwapPackageSchema = z.object({
27280
- name: z.string(),
27281
- stagedPath: z.string(),
27282
- backupPath: z.string(),
27283
- toVersion: z.string(),
27284
- fromVersion: z.string().nullable()
27285
- });
27286
- z.object({
27287
- jobId: z.string(),
27288
- taskId: z.string(),
27289
- packages: z.array(frameworkSwapPackageSchema),
27290
- requestedAtMs: z.number(),
27291
- schemaVersion: z.literal(1)
27292
- });
27293
- z.object({
27294
- jobId: z.string(),
27295
- taskId: z.string(),
27296
- backups: z.array(z.object({
27297
- name: z.string(),
27298
- backupPath: z.string(),
27299
- livePath: z.string()
27300
- })),
27301
- appliedAtMs: z.number(),
27302
- bootAttempts: z.number(),
27303
- schemaVersion: z.literal(1)
27304
- });
27305
27235
  /**
27306
27236
  * Scores all applicable inference backends for the given hardware.
27307
27237
  *
@@ -19108,22 +19108,6 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
19108
19108
  var RestartAddonResultSchema = zod.z.unknown();
19109
19109
  var InstallPackageResultSchema = zod.z.unknown();
19110
19110
  var ReloadPackagesResultSchema = zod.z.unknown();
19111
- /**
19112
- * Result of `updateFrameworkPackage`. The cap method returns BEFORE the
19113
- * server restarts so the admin UI can react to the `restartingAt`
19114
- * timestamp (shows reconnect overlay). The transition from
19115
- * `fromVersion` to `toVersion` will be confirmed by a subsequent
19116
- * `system.restart-completed` event after the new process boots.
19117
- *
19118
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
19119
- */
19120
- var UpdateFrameworkPackageResultSchema = zod.z.object({
19121
- packageName: zod.z.string(),
19122
- fromVersion: zod.z.string(),
19123
- toVersion: zod.z.string(),
19124
- /** Ms-epoch the server scheduled its self-restart. */
19125
- restartingAt: zod.z.number()
19126
- });
19127
19111
  var BulkUpdateItemStatusSchema = zod.z.enum([
19128
19112
  "queued",
19129
19113
  "updating",
@@ -19369,28 +19353,6 @@ var addonsCapability = {
19369
19353
  kind: "mutation",
19370
19354
  auth: "admin"
19371
19355
  }),
19372
- /**
19373
- * Live-update one of the framework packages marked
19374
- * `camstack.system: true` (`@camstack/types|kernel|core|sdk|ui-library`).
19375
- * Runs `npm install --prefix <appRoot> <name>@<version> --no-save`,
19376
- * writes a `.restart-pending` marker, emits `system.restarting`
19377
- * and schedules a graceful process exit. The supervisor (Docker /
19378
- * Electron / systemd) brings the hub back up; on first boot after
19379
- * the restart the marker fires `system.restart-completed`.
19380
- *
19381
- * `version` defaults to `'latest'`. The allow-list of valid
19382
- * `packageName` values is enforced server-side.
19383
- *
19384
- * Spec: docs/superpowers/specs/2026-05-14-framework-live-update-design.md
19385
- */
19386
- updateFrameworkPackage: method(zod.z.object({
19387
- packageName: zod.z.string().min(1),
19388
- version: zod.z.string().optional(),
19389
- deferRestart: zod.z.boolean().optional()
19390
- }), UpdateFrameworkPackageResultSchema, {
19391
- kind: "mutation",
19392
- auth: "admin"
19393
- }),
19394
19356
  getVersions: method(zod.z.object({ name: zod.z.string() }), zod.z.array(PackageVersionInfoSchema).readonly()),
19395
19357
  restartAddon: method(zod.z.object({ addonId: zod.z.string() }), RestartAddonResultSchema, {
19396
19358
  kind: "mutation",
@@ -22682,12 +22644,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
22682
22644
  addonId: null,
22683
22645
  access: "delete"
22684
22646
  },
22685
- "addons.updateFrameworkPackage": {
22686
- capName: "addons",
22687
- capScope: "system",
22688
- addonId: null,
22689
- access: "create"
22690
- },
22691
22647
  "addons.updatePackage": {
22692
22648
  capName: "addons",
22693
22649
  capScope: "system",
@@ -27276,32 +27232,6 @@ Object.freeze({
27276
27232
  "network-access": "ingress",
27277
27233
  "smtp-provider": "email"
27278
27234
  });
27279
- var frameworkSwapPackageSchema = zod.z.object({
27280
- name: zod.z.string(),
27281
- stagedPath: zod.z.string(),
27282
- backupPath: zod.z.string(),
27283
- toVersion: zod.z.string(),
27284
- fromVersion: zod.z.string().nullable()
27285
- });
27286
- zod.z.object({
27287
- jobId: zod.z.string(),
27288
- taskId: zod.z.string(),
27289
- packages: zod.z.array(frameworkSwapPackageSchema),
27290
- requestedAtMs: zod.z.number(),
27291
- schemaVersion: zod.z.literal(1)
27292
- });
27293
- zod.z.object({
27294
- jobId: zod.z.string(),
27295
- taskId: zod.z.string(),
27296
- backups: zod.z.array(zod.z.object({
27297
- name: zod.z.string(),
27298
- backupPath: zod.z.string(),
27299
- livePath: zod.z.string()
27300
- })),
27301
- appliedAtMs: zod.z.number(),
27302
- bootAttempts: zod.z.number(),
27303
- schemaVersion: zod.z.literal(1)
27304
- });
27305
27235
  /**
27306
27236
  * Scores all applicable inference backends for the given hardware.
27307
27237
  *