@camstack/system 1.2.482 → 1.2.484

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 (107) hide show
  1. package/dist/addon-runner.js +2 -2
  2. package/dist/addon-runner.mjs +2 -2
  3. package/dist/{agent-https-o3X-jkS7.js → agent-https-CW8aLMDL.js} +1 -1
  4. package/dist/{agent-https-doVPSeiy.mjs → agent-https-DttPIFry.mjs} +1 -1
  5. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  6. package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  7. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  8. package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  9. package/dist/builtins/alerts/alerts.addon.js +3 -3
  10. package/dist/builtins/alerts/alerts.addon.mjs +3 -3
  11. package/dist/builtins/alerts/device-label.d.ts +2 -2
  12. package/dist/builtins/autotrack/index.js +1 -1
  13. package/dist/builtins/autotrack/index.mjs +1 -1
  14. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
  15. package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
  16. package/dist/builtins/calendars/calendars.addon.js +1 -1
  17. package/dist/builtins/calendars/calendars.addon.mjs +1 -1
  18. package/dist/builtins/camera-grid/acquire-retry.d.ts +1 -1
  19. package/dist/builtins/camera-grid/addon.d.ts +2 -2
  20. package/dist/builtins/camera-grid/grid-profiles.d.ts +1 -1
  21. package/dist/builtins/camera-grid/grid-sentry-sources.d.ts +1 -1
  22. package/dist/builtins/camera-grid/index.js +3 -3
  23. package/dist/builtins/camera-grid/index.mjs +3 -3
  24. package/dist/builtins/composer/composer.addon.js +4 -4
  25. package/dist/builtins/composer/composer.addon.mjs +4 -4
  26. package/dist/builtins/composer/existing-target.d.ts +1 -1
  27. package/dist/builtins/composer/own-field-reads.d.ts +1 -1
  28. package/dist/builtins/console-logging/index.js +2 -2
  29. package/dist/builtins/console-logging/index.mjs +2 -2
  30. package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
  31. package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
  32. package/dist/builtins/device-history/device-history.addon.js +2 -2
  33. package/dist/builtins/device-history/device-history.addon.mjs +2 -2
  34. package/dist/builtins/device-manager/device-aggregation.d.ts +1 -1
  35. package/dist/builtins/device-manager/device-bindings-store.d.ts +3 -3
  36. package/dist/builtins/device-manager/device-manager.addon.js +9 -9
  37. package/dist/builtins/device-manager/device-manager.addon.mjs +9 -9
  38. package/dist/builtins/device-manager/device-meta-types.d.ts +2 -2
  39. package/dist/builtins/device-manager/device-online-fallback.d.ts +1 -1
  40. package/dist/builtins/hub-forwarder/index.js +2 -2
  41. package/dist/builtins/hub-forwarder/index.mjs +2 -2
  42. package/dist/builtins/keychain/index.js +3 -3
  43. package/dist/builtins/keychain/index.mjs +3 -3
  44. package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
  45. package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
  46. package/dist/builtins/local-auth/local-auth.addon.js +2 -2
  47. package/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  48. package/dist/builtins/local-network/local-network.addon.js +2 -2
  49. package/dist/builtins/local-network/local-network.addon.mjs +2 -2
  50. package/dist/builtins/loki-logging/index.js +1 -1
  51. package/dist/builtins/loki-logging/index.mjs +1 -1
  52. package/dist/builtins/native-metrics/native-metrics.addon.d.ts +1 -1
  53. package/dist/builtins/native-metrics/native-metrics.addon.js +3 -3
  54. package/dist/builtins/native-metrics/native-metrics.addon.mjs +3 -3
  55. package/dist/builtins/native-metrics/thread-cpu-sampler.d.ts +1 -1
  56. package/dist/builtins/platform-probe/index.js +1 -1
  57. package/dist/builtins/platform-probe/index.mjs +1 -1
  58. package/dist/builtins/record-entries/index.js +1 -1
  59. package/dist/builtins/record-entries/index.mjs +1 -1
  60. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  61. package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  62. package/dist/builtins/snapshot/index.js +1 -1
  63. package/dist/builtins/snapshot/index.mjs +1 -1
  64. package/dist/builtins/snapshot/snapshot-fatigue.d.ts +1 -1
  65. package/dist/builtins/snapshot/snapshot-link-url.d.ts +1 -1
  66. package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  67. package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  68. package/dist/builtins/sqlite-storage/filter-compiler.d.ts +1 -1
  69. package/dist/builtins/sqlite-storage/index.js +1 -1
  70. package/dist/builtins/sqlite-storage/index.mjs +1 -1
  71. package/dist/builtins/sqlite-storage/prefix-range.d.ts +2 -2
  72. package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +2 -2
  73. package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
  74. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  75. package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  76. package/dist/builtins/system-config/system-config.addon.js +3 -3
  77. package/dist/builtins/system-config/system-config.addon.mjs +3 -3
  78. package/dist/builtins/winston-logging/index.js +2 -2
  79. package/dist/builtins/winston-logging/index.mjs +2 -2
  80. package/dist/{composition-sources-BrDtOpfE.mjs → composition-sources-DEsDonpg.mjs} +1 -1
  81. package/dist/{composition-sources-BmhhDWIc.js → composition-sources-DqRPHdtw.js} +1 -1
  82. package/dist/{constants-BVJrLycr.js → constants-71vf77HY.js} +1 -1
  83. package/dist/{constants-xuLNi4a2.mjs → constants-B3FDrBIq.mjs} +1 -1
  84. package/dist/{device-ca-DgLZPn5R.js → device-ca-BDPYXhkH.js} +1 -1
  85. package/dist/{device-ca-DKOZSFED.mjs → device-ca-bhz04X_N.mjs} +1 -1
  86. package/dist/{dist-BIJXQo_j.mjs → dist-BT_THdzJ.mjs} +2222 -241
  87. package/dist/{dist--v3KMKa1.js → dist-k--OhKkO.js} +2222 -241
  88. package/dist/file-host-worker.js +1 -1
  89. package/dist/file-host-worker.mjs +1 -1
  90. package/dist/{formatter-B7qW8bPJ.mjs → formatter-DkYZ4LXp.mjs} +1 -1
  91. package/dist/{formatter-DqAKDlvN.js → formatter-xbxeV4GD.js} +1 -1
  92. package/dist/{hub-mdns-ciao-C3NJsOvK.js → hub-mdns-ciao-CGXfhvTk.js} +2 -2
  93. package/dist/{hub-mdns-ciao-DMFXIlMY.mjs → hub-mdns-ciao-DDgdvcQw.mjs} +2 -2
  94. package/dist/index.js +12 -12
  95. package/dist/index.mjs +12 -12
  96. package/dist/kernel/addon-installer.d.ts +1 -1
  97. package/dist/kernel/heap-watch.d.ts +1 -1
  98. package/dist/kernel/moleculer/trpc-links.d.ts +1 -1
  99. package/dist/kernel/transport/socket-channel.d.ts +1 -1
  100. package/dist/logging/formatter.d.ts +1 -1
  101. package/dist/{restore-archive-DpkdAuFf.js → restore-archive-B-GiglWt.js} +1 -1
  102. package/dist/{restore-archive-DAEsvFY6.mjs → restore-archive-z0XT2g29.mjs} +1 -1
  103. package/dist/{retention-DbunrLR4.mjs → retention-DFkmhjeH.mjs} +1 -1
  104. package/dist/{retention-C71dNCIh.js → retention-DR0_xRTy.js} +1 -1
  105. package/dist/{wal-maintenance-CsGk4kYn.js → wal-maintenance-C4cma95b.js} +0 -0
  106. package/dist/{wal-maintenance-DYAJwPWu.mjs → wal-maintenance-CVDrL_BD.mjs} +0 -0
  107. package/package.json +7 -2
@@ -1,5 +1,5 @@
1
1
  require("./chunk-Cek0wNdY.js");
2
- const require_wal_maintenance = require("./wal-maintenance-CsGk4kYn.js");
2
+ const require_wal_maintenance = require("./wal-maintenance-C4cma95b.js");
3
3
  let node_worker_threads = require("node:worker_threads");
4
4
  //#region src/builtins/sqlite-storage/file-host-worker.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, T as callData, _ as collectTransferables, a as WalMaintenance, b as isFileHostWorkerData, h as serializeError, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, w as callControl, x as trustInput, y as isFileHostRequest } from "./wal-maintenance-DYAJwPWu.mjs";
1
+ import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, T as callData, _ as collectTransferables, a as WalMaintenance, b as isFileHostWorkerData, h as serializeError, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, w as callControl, x as trustInput, y as isFileHostRequest } from "./wal-maintenance-CVDrL_BD.mjs";
2
2
  import { parentPort, threadId, workerData } from "node:worker_threads";
3
3
  //#region src/builtins/sqlite-storage/file-host-worker.ts
4
4
  /**
@@ -81,7 +81,7 @@ function buildBrand(entry) {
81
81
  /**
82
82
  * Build the optional device-context bracket. Returns `null` when the
83
83
  * line doesn't carry a device tag — renders as just the brand + message
84
- * without the second bracket. With a device tag: `salone` / `#42`.
84
+ * without the second bracket. With a device tag: `hall` / `#42`.
85
85
  */
86
86
  function buildDeviceContext(entry) {
87
87
  return resolveDevice(entry.tags);
@@ -81,7 +81,7 @@ function buildBrand(entry) {
81
81
  /**
82
82
  * Build the optional device-context bracket. Returns `null` when the
83
83
  * line doesn't carry a device tag — renders as just the brand + message
84
- * without the second bracket. With a device tag: `salone` / `#42`.
84
+ * without the second bracket. With a device tag: `hall` / `#42`.
85
85
  */
86
86
  function buildDeviceContext(entry) {
87
87
  return resolveDevice(entry.tags);
@@ -1,7 +1,7 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.js");
2
- const require_dist = require("./dist--v3KMKa1.js");
2
+ const require_dist = require("./dist-k--OhKkO.js");
3
3
  const require_x509_es = require("./x509.es-WtnRNyYS.js");
4
- const require_agent_https = require("./agent-https-o3X-jkS7.js");
4
+ const require_agent_https = require("./agent-https-CW8aLMDL.js");
5
5
  let node_crypto = require("node:crypto");
6
6
  let _camstack_types_node = require("@camstack/types/node");
7
7
  let node_fs_promises = require("node:fs/promises");
@@ -1,7 +1,7 @@
1
1
  import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
2
- import { Da as userError } from "./dist-BIJXQo_j.mjs";
2
+ import { Da as userError } from "./dist-BT_THdzJ.mjs";
3
3
  import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
4
- import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-doVPSeiy.mjs";
4
+ import { D as reasonRequiresNewCa, E as evaluateExistingCert, F as readNameConstraints, N as permitsIdentity, _ as issueLeaf, b as collectCertIdentity, g as generateCa, j as isConstrainedCa, v as loadCa, y as localCaCommonName } from "./agent-https-DttPIFry.mjs";
5
5
  import { X509Certificate, createPrivateKey } from "node:crypto";
6
6
  import { writeOwnerOnlyFileSync } from "@camstack/types/node";
7
7
  import { mkdir, writeFile } from "node:fs/promises";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-Cek0wNdY.js");
3
- const require_dist = require("./dist--v3KMKa1.js");
4
- const require_device_ca = require("./device-ca-DgLZPn5R.js");
3
+ const require_dist = require("./dist-k--OhKkO.js");
4
+ const require_device_ca = require("./device-ca-BDPYXhkH.js");
5
5
  const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
6
6
  const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
7
7
  require("./builtins/alerts/index.js");
@@ -9,7 +9,7 @@ const require_builtins_calendars_calendars_addon = require("./builtins/calendars
9
9
  require("./builtins/calendars/index.js");
10
10
  const require_builtins_composer_composer_addon = require("./builtins/composer/composer.addon.js");
11
11
  require("./builtins/composer/index.js");
12
- const require_formatter = require("./formatter-DqAKDlvN.js");
12
+ const require_formatter = require("./formatter-xbxeV4GD.js");
13
13
  const require_builtins_console_logging_index = require("./builtins/console-logging/index.js");
14
14
  const require_prefix_walk = require("./prefix-walk-Dv6MLZlM.js");
15
15
  const require_builtins_core_blocks_core_blocks_addon = require("./builtins/core-blocks/core-blocks.addon.js");
@@ -26,21 +26,21 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
26
26
  const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
27
27
  const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
28
28
  const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
29
- const require_wal_maintenance = require("./wal-maintenance-CsGk4kYn.js");
29
+ const require_wal_maintenance = require("./wal-maintenance-C4cma95b.js");
30
30
  const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
31
31
  const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
32
32
  const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
33
33
  require("./builtins/storage-orchestrator/index.js");
34
- const require_agent_https = require("./agent-https-o3X-jkS7.js");
35
- const require_constants = require("./constants-BVJrLycr.js");
34
+ const require_agent_https = require("./agent-https-CW8aLMDL.js");
35
+ const require_constants = require("./constants-71vf77HY.js");
36
36
  const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
37
37
  require("./builtins/system-config/index.js");
38
38
  const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
39
39
  const require_custom_action_registry = require("./custom-action-registry-MRyes5j0.js");
40
- const require_hub_mdns_ciao = require("./hub-mdns-ciao-C3NJsOvK.js");
40
+ const require_hub_mdns_ciao = require("./hub-mdns-ciao-CGXfhvTk.js");
41
41
  const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
42
42
  const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
43
- const require_restore_archive = require("./restore-archive-DpkdAuFf.js");
43
+ const require_restore_archive = require("./restore-archive-B-GiglWt.js");
44
44
  const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
45
45
  let zod = require("zod");
46
46
  let node_crypto = require("node:crypto");
@@ -8362,7 +8362,7 @@ var STAGING_RESIDUE_MIN_AGE_MS = 30 * 6e4;
8362
8362
  * npm error path …/.staging/install-14820-2026-08-07T12-28-28-875Z/package/package.json
8363
8363
  *
8364
8364
  * which the propagation then reported as `runtime dependency install failed`.
8365
- * Observed on the Mac desktop agent and on little-unraid on 2026-08-07.
8365
+ * Observed on the Mac desktop agent and on agent-a on 2026-08-07.
8366
8366
  *
8367
8367
  * So a sweep only removes what cannot be live: not a tree this process is
8368
8368
  * building, and not one young enough to belong to anybody's in-flight install.
@@ -9836,7 +9836,7 @@ function isDirEntry(entry, parentDir) {
9836
9836
  *
9837
9837
  * Measured 2026-08-07/08 on the live cluster:
9838
9838
  *
9839
- * little-unraid `@camstack/system.bak-pre-unshadow` — no package.json left,
9839
+ * agent-a `@camstack/system.bak-pre-unshadow` — no package.json left,
9840
9840
  * so not loadable, but the agent main process held five live
9841
9841
  * mappings of `better_sqlite3.node` out of it (D87).
9842
9842
  * macmini `@camstack/system.bak-pre-1272-1786129145` — still declares
@@ -19436,7 +19436,7 @@ var SocketChannel = class {
19436
19436
  * `res` frame, or the socket's `close` (which drains `pending`) — so a peer
19437
19437
  * that receives the request and then neither answers nor closes leaves the
19438
19438
  * caller pending forever. That is a wedged handler, or a half-open socket
19439
- * after a child died without a clean teardown, and it is how camera 615 spent
19439
+ * after a child died without a clean teardown, and it is how camera 101 spent
19440
19440
  * 30+ minutes with every inference permit held by a call that was never
19441
19441
  * coming back.
19442
19442
  */
@@ -22414,7 +22414,7 @@ function buildLinkChain(target, localResolver, hookup) {
22414
22414
  /**
22415
22415
  * Can libva initialise the VA driver on this node's render node? (D926)
22416
22416
  *
22417
- * Measured 2026-10-23 (intel-1.2.509, hub + little-unraid): Intel's iHD 25.2.4
22417
+ * Measured 2026-10-23 (intel-1.2.509, hub + agent-a): Intel's iHD 25.2.4
22418
22418
  * exports only `__vaDriverInit_1_22`, the container's Ubuntu libva 2.20 looks
22419
22419
  * for `_1_20`, and `vaInitialize` failed — while the resolver kept offering
22420
22420
  * `qsv, vaapi`. Every session tried, failed and fell back to software: 722
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as __require } from "./chunk-CNf5ZN-e.mjs";
2
- import { Ci as ReadinessTimeoutError, Cn as isCollectionArrayMethod, Da as userError, Dn as isObjectInput, Fi as asJsonObject$1, Gi as createEvent$1, Ii as asNumber, J as METHOD_ACCESS_MAP, Ji as defineRecordKinds, Jn as objectInputDeclaresAddonId, K as LOG_LEVEL_RANK, Li as asString$1, Mr as supportedRuntimes, Oa as withoutCallerStamp, On as isVoidInput, Pn as lifecycleJobSchema, Rn as logLevelAtMost, Si as ReadinessRegistry, Sn as isArrayOutputSchema, Yi as emitDownForOwnedCaps, Yn as objectInputDeclaresRequiredDeviceId, Zi as expandCapMethods, _ as CatalogFileSchema, _r as scopesAllowAddon, ai as DATAPLANE_SECRET_HEADER$1, ba as scopeKey, fn as extractNestedAddonId, ga as readinessKey, ii as CALLER_STAMPED_CAPABILITIES$1, ka as EventCategory$1, kn as kebabToCamel$1, ma as parseJsonUnknown, mr as resolveMethodAuth, n as AGENT_MDNS_TXT_KEYS, nr as procedureAuthKey, oi as DEVICE_SETTINGS_CONTRIBUTION_METHODS, pa as parseJsonObject, r as ALL_CAPABILITY_DEFINITIONS, si as DEVICE_STATUS_METHOD, t as AGENT_MDNS_SERVICE_TYPE, ti as errMsg$1, u as CATALOG_LANGS, va as resolveCapMount, vn as interpolate, vr as scopesAllowDeviceCap, vt as addonSettingsCapability, wr as splitTranslationRef, xi as RUNTIME_DEFAULTS, zn as looseSchema } from "./dist-BIJXQo_j.mjs";
3
- import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-DKOZSFED.mjs";
2
+ import { Ci as ReadinessTimeoutError, Cn as isCollectionArrayMethod, Da as userError, Dn as isObjectInput, Fi as asJsonObject$1, Gi as createEvent$1, Ii as asNumber, J as METHOD_ACCESS_MAP, Ji as defineRecordKinds, Jn as objectInputDeclaresAddonId, K as LOG_LEVEL_RANK, Li as asString$1, Mr as supportedRuntimes, Oa as withoutCallerStamp, On as isVoidInput, Pn as lifecycleJobSchema, Rn as logLevelAtMost, Si as ReadinessRegistry, Sn as isArrayOutputSchema, Yi as emitDownForOwnedCaps, Yn as objectInputDeclaresRequiredDeviceId, Zi as expandCapMethods, _ as CatalogFileSchema, _r as scopesAllowAddon, ai as DATAPLANE_SECRET_HEADER$1, ba as scopeKey, fn as extractNestedAddonId, ga as readinessKey, ii as CALLER_STAMPED_CAPABILITIES$1, ka as EventCategory$1, kn as kebabToCamel$1, ma as parseJsonUnknown, mr as resolveMethodAuth, n as AGENT_MDNS_TXT_KEYS, nr as procedureAuthKey, oi as DEVICE_SETTINGS_CONTRIBUTION_METHODS, pa as parseJsonObject, r as ALL_CAPABILITY_DEFINITIONS, si as DEVICE_STATUS_METHOD, t as AGENT_MDNS_SERVICE_TYPE, ti as errMsg$1, u as CATALOG_LANGS, va as resolveCapMount, vn as interpolate, vr as scopesAllowDeviceCap, vt as addonSettingsCapability, wr as splitTranslationRef, xi as RUNTIME_DEFAULTS, zn as looseSchema } from "./dist-BT_THdzJ.mjs";
3
+ import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-bhz04X_N.mjs";
4
4
  import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
5
5
  import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
6
6
  import "./builtins/alerts/index.mjs";
@@ -8,7 +8,7 @@ import { CalendarsAddon } from "./builtins/calendars/calendars.addon.mjs";
8
8
  import "./builtins/calendars/index.mjs";
9
9
  import { ComposerAddon } from "./builtins/composer/composer.addon.mjs";
10
10
  import "./builtins/composer/index.mjs";
11
- import { t as formatLogLine } from "./formatter-B7qW8bPJ.mjs";
11
+ import { t as formatLogLine } from "./formatter-DkYZ4LXp.mjs";
12
12
  import { ConsoleDestination, ConsoleLoggingAddon } from "./builtins/console-logging/index.mjs";
13
13
  import { t as loadPrefixed } from "./prefix-walk-DAOBSyH1.mjs";
14
14
  import { CoreBlocksAddon, o as createAddonSettingsStore } from "./builtins/core-blocks/core-blocks.addon.mjs";
@@ -25,21 +25,21 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
25
25
  import NativeMetricsAddon, { a as NativeMetricsProvider, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
26
26
  import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
27
27
  import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
28
- import { C as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-DYAJwPWu.mjs";
28
+ import { C as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-CVDrL_BD.mjs";
29
29
  import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
30
30
  import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
31
31
  import { StorageOrchestratorAddon, a as stripForwardedCaller, i as createHubCapForwardService, l as STORAGE_DRAIN_STATE_LEGACY, n as HUB_CAP_FWD_ACTION, o as buildStorageLocationRegistry, r as HUB_CAP_FWD_SERVICE, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
32
32
  import "./builtins/storage-orchestrator/index.mjs";
33
- import { A as buildNameConstraintSet, B as setProcessAgentHttpsNames, C as LEAF_RENEWAL_WINDOW_DAYS, E as evaluateExistingCert, F as readNameConstraints, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, N as permitsIdentity, O as PERMITTED_DNS_SUFFIXES, P as permitsName, R as AgentHttpsNames, S as CA_VALIDITY_DAYS, T as SERVER_AUTH_OID, a as collectAgentNames, b as collectCertIdentity, c as installAgentHttps, d as issueAgentHttpsLeaf, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isConstrainedCa, k as PERMITTED_IP_RANGES, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, o as createAgentHttpsRequest, p as pemDigest, r as agentHttpsPaths, s as describeHttpsLeaf, t as AgentHttpsInstallError, u as isPrivateAddress, w as MAX_LEAF_VALIDITY_DAYS, x as systemHostFacts, y as localCaCommonName, z as getProcessAgentHttpsNames } from "./agent-https-doVPSeiy.mjs";
34
- import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-xuLNi4a2.mjs";
33
+ import { A as buildNameConstraintSet, B as setProcessAgentHttpsNames, C as LEAF_RENEWAL_WINDOW_DAYS, E as evaluateExistingCert, F as readNameConstraints, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, N as permitsIdentity, O as PERMITTED_DNS_SUFFIXES, P as permitsName, R as AgentHttpsNames, S as CA_VALIDITY_DAYS, T as SERVER_AUTH_OID, a as collectAgentNames, b as collectCertIdentity, c as installAgentHttps, d as issueAgentHttpsLeaf, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isConstrainedCa, k as PERMITTED_IP_RANGES, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, o as createAgentHttpsRequest, p as pemDigest, r as agentHttpsPaths, s as describeHttpsLeaf, t as AgentHttpsInstallError, u as isPrivateAddress, w as MAX_LEAF_VALIDITY_DAYS, x as systemHostFacts, y as localCaCommonName, z as getProcessAgentHttpsNames } from "./agent-https-DttPIFry.mjs";
34
+ import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-B3FDrBIq.mjs";
35
35
  import { $ as generateMeshKeyPair, A as setProcessMeshPeerTransportLookup, B as describeMeshLeaf, C as setProcessMeshTlsEnabler, D as getProcessPeerLeaf, E as getProcessNodeMeshTransport, F as setProcessMeshTlsListenerState, G as MeshCaKeeper, H as setProcessMeshCertificateRegistry, I as MESH_NODE_CERTIFICATES_COLLECTION, J as caFingerprint, K as getProcessMeshCaState, L as MESH_NODE_CERTIFICATES_COLUMNS, M as revokeMeshCertificate, N as getProcessMeshTlsListenerState, O as isProcessVerifiedMeshPeer, P as openMeshTlsWhenRevocationsLoaded, Q as generateMeshCa, R as MeshCertificateRegistry, S as ServiceBroker, SystemConfigAddon, T as emitProcessNodeRegistered, U as MeshCrl, V as getProcessMeshCertificateRegistry, W as processMeshCrl, X as createMeshCsrPem, Y as caFingerprintCompact, Z as exportMeshPrivateKeyPem, _ as signPairingProof, _t as readCidrSetting, a as hubHostFromMeshAddress, at as AGENT_UI_UNLOCK_TTL_MS, b as TlsTcpTransporter, c as PAIRING_MAX_SESSIONS, ct as AGENT_UI_UNLOCK_VERSION, d as PAIRING_PROTOCOL, dt as mintAgentUiUnlockTicket, et as isValidAgentNodeId, f as PAIRING_TTL_MS, ft as parseAgentDashboardOrigins, g as keyFingerprintShort, gt as parseCidrList, h as describeCsr, ht as normalizeIp, i as AgentPairing, it as AGENT_DASHBOARD_ORIGINS_FIELD, j as renewMeshCertificate, k as onProcessNodeRegistered, l as PAIRING_PATHS, lt as UnlockTicketJtiStore, m as computePairingSas, mt as createCidrMatcher, n as HubPairing, nt as issueMeshLeafFromCsr, o as PAIRING_CODE_DIGITS, ot as AGENT_UI_UNLOCK_TYP, p as computePairingCommitment, pt as verifyAgentUiUnlockTicket, q as requireProcessMeshCa, r as PairingHttpError, rt as loadMeshCa, s as PAIRING_MAX_CODE_ATTEMPTS, st as AGENT_UI_UNLOCK_USE, tt as issueMeshLeafForNode, u as PAIRING_PIN_DIGITS, ut as isAllowedAgentDashboardReturnTo, v as verifyPairingProof, w as dropProcessPeer, x as Errors, y as MESH_TLS_PORT_HELLO_FIELD, z as RENEWAL_ABANDONED } from "./builtins/system-config/system-config.addon.mjs";
36
36
  import "./builtins/system-config/index.mjs";
37
37
  import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
38
38
  import { C as isModelDownloaded, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-DZSCLBuT.mjs";
39
- import { A as allFamiliesListenHost, C as caReplacementMarkerFile, D as replaceUnconstrainedLocalCa, E as reissueTlsLeaf, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as retirePreviousLocalCa, P as readLanHttpState, S as validateUploadedTls, T as loadTlsCert, _ as splitPemCertificates, a as storeUploadedCertificate, b as chainsToPublicRoot, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsMode, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as writeExtraSans, w as ensureTlsCert, x as checkUploadedCa, y as writeTlsMode } from "./hub-mdns-ciao-DMFXIlMY.mjs";
39
+ import { A as allFamiliesListenHost, C as caReplacementMarkerFile, D as replaceUnconstrainedLocalCa, E as reissueTlsLeaf, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as retirePreviousLocalCa, P as readLanHttpState, S as validateUploadedTls, T as loadTlsCert, _ as splitPemCertificates, a as storeUploadedCertificate, b as chainsToPublicRoot, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsMode, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as writeExtraSans, w as ensureTlsCert, x as checkUploadedCa, y as writeTlsMode } from "./hub-mdns-ciao-DDgdvcQw.mjs";
40
40
  import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
41
41
  import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
42
- import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-DAEsvFY6.mjs";
42
+ import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-z0XT2g29.mjs";
43
43
  import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
44
44
  import { z } from "zod";
45
45
  import * as crypto$1 from "node:crypto";
@@ -8359,7 +8359,7 @@ var STAGING_RESIDUE_MIN_AGE_MS = 30 * 6e4;
8359
8359
  * npm error path …/.staging/install-14820-2026-08-07T12-28-28-875Z/package/package.json
8360
8360
  *
8361
8361
  * which the propagation then reported as `runtime dependency install failed`.
8362
- * Observed on the Mac desktop agent and on little-unraid on 2026-08-07.
8362
+ * Observed on the Mac desktop agent and on agent-a on 2026-08-07.
8363
8363
  *
8364
8364
  * So a sweep only removes what cannot be live: not a tree this process is
8365
8365
  * building, and not one young enough to belong to anybody's in-flight install.
@@ -9833,7 +9833,7 @@ function isDirEntry(entry, parentDir) {
9833
9833
  *
9834
9834
  * Measured 2026-08-07/08 on the live cluster:
9835
9835
  *
9836
- * little-unraid `@camstack/system.bak-pre-unshadow` — no package.json left,
9836
+ * agent-a `@camstack/system.bak-pre-unshadow` — no package.json left,
9837
9837
  * so not loadable, but the agent main process held five live
9838
9838
  * mappings of `better_sqlite3.node` out of it (D87).
9839
9839
  * macmini `@camstack/system.bak-pre-1272-1786129145` — still declares
@@ -19433,7 +19433,7 @@ var SocketChannel = class {
19433
19433
  * `res` frame, or the socket's `close` (which drains `pending`) — so a peer
19434
19434
  * that receives the request and then neither answers nor closes leaves the
19435
19435
  * caller pending forever. That is a wedged handler, or a half-open socket
19436
- * after a child died without a clean teardown, and it is how camera 615 spent
19436
+ * after a child died without a clean teardown, and it is how camera 101 spent
19437
19437
  * 30+ minutes with every inference permit held by a call that was never
19438
19438
  * coming back.
19439
19439
  */
@@ -22411,7 +22411,7 @@ function buildLinkChain(target, localResolver, hookup) {
22411
22411
  /**
22412
22412
  * Can libva initialise the VA driver on this node's render node? (D926)
22413
22413
  *
22414
- * Measured 2026-10-23 (intel-1.2.509, hub + little-unraid): Intel's iHD 25.2.4
22414
+ * Measured 2026-10-23 (intel-1.2.509, hub + agent-a): Intel's iHD 25.2.4
22415
22415
  * exports only `__vaDriverInit_1_22`, the container's Ubuntu libva 2.20 looks
22416
22416
  * for `_1_20`, and `vaInitialize` failed — while the resolver kept offering
22417
22417
  * `qsv, vaapi`. Every session tried, failed and fell back to software: 722
@@ -114,7 +114,7 @@ export interface StagingEntryAge {
114
114
  * npm error path …/.staging/install-14820-2026-08-07T12-28-28-875Z/package/package.json
115
115
  *
116
116
  * which the propagation then reported as `runtime dependency install failed`.
117
- * Observed on the Mac desktop agent and on little-unraid on 2026-08-07.
117
+ * Observed on the Mac desktop agent and on agent-a on 2026-08-07.
118
118
  *
119
119
  * So a sweep only removes what cannot be live: not a tree this process is
120
120
  * building, and not one young enough to belong to anybody's in-flight install.
@@ -242,7 +242,7 @@ export declare function reclaimIntervalMs(passesAtFloor: number, minIntervalMs?:
242
242
  * every UDS handshake and every cross-runner cap call is served on it, and a
243
243
  * live CPU profile of a boot put `(idle)` at 0.1%). The reclaim pass is a
244
244
  * stop-the-world ON that loop, and `took=` prices the PASS without ever pricing
245
- * what it delays. 590ms against a p99 of 4ms is a visible stall; the same 590ms
245
+ * what it delays. 104ms against a p99 of 4ms is a visible stall; the same 104ms
246
246
  * against a p99 of 900ms is noise inside a queue that was already saturated.
247
247
  * Those are opposite conclusions, and until now the log could not tell them
248
248
  * apart.
@@ -21,7 +21,7 @@ export interface LocalProviderResolver {
21
21
  getByName(capabilityName: string): unknown | null;
22
22
  /**
23
23
  * The node this resolver's providers run on (e.g. `'hub'`, `'hub/model-studio'`,
24
- * `'little-unraid/model-studio'`). When set, {@link localProviderLink} defers a
24
+ * `'agent-a/model-studio'`). When set, {@link localProviderLink} defers a
25
25
  * call carrying an explicit `nodePin` to a DIFFERENT node instead of
26
26
  * short-circuiting to a co-located provider — so the pin routes to the
27
27
  * intended node (parent → `onUnownedCall` → CapRouteResolver). Symmetric to
@@ -45,7 +45,7 @@ export declare class SocketChannel implements LocalChannel {
45
45
  * `res` frame, or the socket's `close` (which drains `pending`) — so a peer
46
46
  * that receives the request and then neither answers nor closes leaves the
47
47
  * caller pending forever. That is a wedged handler, or a half-open socket
48
- * after a child died without a clean teardown, and it is how camera 615 spent
48
+ * after a child died without a clean teardown, and it is how camera 101 spent
49
49
  * 30+ minutes with every inference permit held by a call that was never
50
50
  * coming back.
51
51
  */
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * Rendered examples:
24
24
  * [hub/winston-logging] 71184 - 04/20/2026, 12:45:53 AM INFO Winston logging initialized
25
- * [hub/provider-rtsp] 71184 - 04/20/2026, 12:46:01 AM WARN [salone] probe failed {err="timeout"}
25
+ * [hub/provider-rtsp] 71184 - 04/20/2026, 12:46:01 AM WARN [hall] probe failed {err="timeout"}
26
26
  * [dev-agent-0/detection] 12345 - 04/20/2026, 12:47:15 AM ERROR [cortile] no detector {codec=av1}
27
27
  */
28
28
  import type { LogEntry } from "@camstack/types";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require("./chunk-Cek0wNdY.js");
2
- const require_dist = require("./dist--v3KMKa1.js");
2
+ const require_dist = require("./dist-k--OhKkO.js");
3
3
  let zod = require("zod");
4
4
  let node_crypto = require("node:crypto");
5
5
  let buffer = require("buffer");
@@ -1,4 +1,4 @@
1
- import { Ji as defineRecordKinds, M as DataStoreDatabaseSchema, x as DATABASE_SNAPSHOT_SUFFIX } from "./dist-BIJXQo_j.mjs";
1
+ import { Ji as defineRecordKinds, M as DataStoreDatabaseSchema, x as DATABASE_SNAPSHOT_SUFFIX } from "./dist-BT_THdzJ.mjs";
2
2
  import { z } from "zod";
3
3
  import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
4
4
  import { Buffer as Buffer$1 } from "buffer";
@@ -1,4 +1,4 @@
1
- import { $i as historyItemFieldPath, di as HISTORY_DEFAULT_MIN_INTERVAL_MS, ei as DeviceType } from "./dist-BIJXQo_j.mjs";
1
+ import { $i as historyItemFieldPath, di as HISTORY_DEFAULT_MIN_INTERVAL_MS, ei as DeviceType } from "./dist-BT_THdzJ.mjs";
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist--v3KMKa1.js");
1
+ const require_dist = require("./dist-k--OhKkO.js");
2
2
  //#region src/builtins/device-history/store/series-registry.ts
3
3
  function subjectIdOf(subject) {
4
4
  return subject.kind === "device" ? `d:${subject.deviceId}` : `n:${subject.nodeId}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/system",
3
- "version": "1.2.482",
3
+ "version": "1.2.484",
4
4
  "description": "Core addon for CamStack — builtins, pipeline, process management, auth, logging, events",
5
5
  "keywords": [
6
6
  "camstack",
@@ -12,7 +12,12 @@
12
12
  "license": "MIT",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/camstack/server"
15
+ "url": "https://github.com/camstack/server.git",
16
+ "directory": "packages/system"
17
+ },
18
+ "homepage": "https://camstack-docs.zentik.app",
19
+ "bugs": {
20
+ "url": "https://github.com/camstack/server/issues"
16
21
  },
17
22
  "main": "./dist/index.js",
18
23
  "module": "./dist/index.mjs",