@camstack/server 1.2.828 → 1.2.830
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.
- package/CHANGELOG.md +20 -3
- package/dist/agent/agent-boot-mode.js +14 -1
- package/dist/agent/agent-http.js +12 -0
- package/dist/agent/agent-hub-rediscovery.js +205 -0
- package/dist/agent/agent-membership-watch.js +29 -1
- package/dist/agent/agent-pairing-store.js +47 -3
- package/dist/agent/hubs-found.js +1 -0
- package/dist/agent/main.js +64 -6
- package/dist/api/core/agent-pairing.router.js +9 -0
- package/dist/api/core/cluster-update.provider.js +98 -0
- package/dist/api/mesh-membership-routes.js +3 -2
- package/dist/api/trpc/generated-cap-mounts.js +2 -1
- package/dist/api/trpc/generated-cap-routers.js +2339 -2286
- package/dist/api/trpc/server-provided-caps.js +1 -0
- package/dist/api/trpc/trpc.router.js +5 -0
- package/dist/auth/auth-provider-gate.js +6 -2
- package/dist/core/addon/device-meta-mirror.js +1 -0
- package/dist/core/cluster-update/cluster-update-job-store.js +106 -0
- package/dist/core/cluster-update/cluster-update-plan.js +147 -0
- package/dist/core/cluster-update/cluster-update-seams.js +13 -0
- package/dist/core/cluster-update/cluster-update-steps.js +293 -0
- package/dist/core/cluster-update/cluster-update.service.js +319 -0
- package/dist/main.js +3 -0
- package/dist/manual-boot.js +19 -0
- package/package.json +12 -11
- package/system/dist/addon-runner.js +12 -0
- package/system/dist/addon-runner.mjs +12 -0
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-aggregation.d.ts +25 -1
- package/system/dist/builtins/device-manager/device-manager.addon.d.ts +6 -0
- package/system/dist/builtins/device-manager/device-manager.addon.js +354 -7
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +354 -7
- package/system/dist/builtins/device-manager/device-meta-actions.d.ts +6 -0
- package/system/dist/builtins/device-manager/device-meta-types.d.ts +4 -0
- package/system/dist/builtins/device-manager/device-row-store.d.ts +2 -1
- package/system/dist/builtins/device-manager/device-search.d.ts +42 -0
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/hub-mdns.d.ts +5 -1
- package/system/dist/builtins/local-network/local-network.addon.js +24 -13
- package/system/dist/builtins/local-network/local-network.addon.mjs +24 -13
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +59 -20
- package/system/dist/builtins/system-config/system-config.addon.mjs +48 -10
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-1A7HAX3x.js → capture-engine-6_V-PR8O.js} +1 -1
- package/system/dist/{capture-engine-B0yQx6hA.mjs → capture-engine-cp3my4VK.mjs} +1 -1
- package/system/dist/{composition-sources-CyJ0d6Sc.mjs → composition-sources-C-iX_Uuu.mjs} +1 -1
- package/system/dist/{composition-sources-BzM19ASO.js → composition-sources-JwBPIhdO.js} +1 -1
- package/system/dist/{constants-DSO4ZEO3.js → constants-C4V2z-GT.js} +1 -1
- package/system/dist/{constants-B_FLEjP_.mjs → constants-D5oNuYLD.mjs} +1 -1
- package/system/dist/{device-ca-CveuNCHp.mjs → device-ca-CXPTrORC.mjs} +1 -1
- package/system/dist/{device-ca-DLTDsonl.js → device-ca-DAuMNieL.js} +1 -1
- package/system/dist/{dist-CIyyHwVx.mjs → dist-B8dBvJJK.mjs} +469 -27
- package/system/dist/{dist-DhbzVygm.js → dist-DVrLQr6W.js} +469 -27
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{agent-https-BlLVD9hG.js → hub-identity-Cg1_bzoY.js} +120 -1
- package/system/dist/{agent-https-BSxTUzKT.mjs → hub-identity-D2sSTELW.mjs} +97 -2
- package/system/dist/{hub-mdns-ciao-C_ITDs0-.js → hub-mdns-ciao-DCHShuFh.js} +18 -18
- package/system/dist/{hub-mdns-ciao-CQdCUsrI.mjs → hub-mdns-ciao-Twxwj9Vh.mjs} +2 -2
- package/system/dist/index.js +61 -44
- package/system/dist/index.mjs +22 -10
- package/system/dist/kernel/hub-identity.d.ts +17 -0
- package/system/dist/kernel/index.d.ts +2 -0
- package/system/dist/kernel/moleculer/mesh-mtls/mesh-membership.d.ts +7 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/agent-pairing.d.ts +11 -1
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/hub-pairing.d.ts +5 -0
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/index.d.ts +1 -1
- package/system/dist/kernel/moleculer/mesh-mtls/pairing/pairing-protocol.d.ts +2 -0
- package/system/dist/{legacy-integration-rows-door-D_tfRhsx.js → legacy-integration-rows-door-i0gANn4l.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-tX6Qktxd.mjs → legacy-integration-rows-door-lRhfbNBc.mjs} +1 -1
- package/system/dist/{rename-composition-block-DNhbAonr.js → rename-composition-block-BRy-9srI.js} +1 -1
- package/system/dist/{rename-composition-block-COaMxshT.mjs → rename-composition-block-C2IbabFp.mjs} +1 -1
- package/system/dist/{restore-archive-BMqp_hMT.mjs → restore-archive-CkyWtDIi.mjs} +1 -1
- package/system/dist/{restore-archive-Dbzuv5hK.js → restore-archive-_y4JaVgy.js} +1 -1
- package/system/dist/{wal-maintenance-CWODOTsa.js → wal-maintenance-BfkwceLa.js} +0 -0
- package/system/dist/{wal-maintenance-ITsLGvFA.mjs → wal-maintenance-Dn2cx4Km.mjs} +0 -0
- package/system/package.json +1 -1
package/system/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-
|
|
4
|
-
const require_device_ca = require("./device-ca-
|
|
3
|
+
const require_dist = require("./dist-DVrLQr6W.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-DAuMNieL.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_log_redactor = require("./log-redactor-BhIEMaG9.js");
|
|
7
7
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
@@ -28,22 +28,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
28
28
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
29
29
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
30
30
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
31
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
32
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
31
|
+
const require_wal_maintenance = require("./wal-maintenance-BfkwceLa.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-i0gANn4l.js");
|
|
33
33
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
34
34
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
35
35
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
36
36
|
require("./builtins/storage-orchestrator/index.js");
|
|
37
|
-
const
|
|
38
|
-
const require_constants = require("./constants-
|
|
37
|
+
const require_hub_identity = require("./hub-identity-Cg1_bzoY.js");
|
|
38
|
+
const require_constants = require("./constants-C4V2z-GT.js");
|
|
39
39
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
40
40
|
require("./builtins/system-config/index.js");
|
|
41
41
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
42
42
|
const require_custom_action_registry = require("./custom-action-registry-CmWpSeMS.js");
|
|
43
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
43
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-DCHShuFh.js");
|
|
44
44
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
45
45
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
46
|
-
const require_restore_archive = require("./restore-archive-
|
|
46
|
+
const require_restore_archive = require("./restore-archive-_y4JaVgy.js");
|
|
47
47
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
48
48
|
let zod = require("zod");
|
|
49
49
|
let node_crypto = require("node:crypto");
|
|
@@ -17040,6 +17040,18 @@ function createBrokerDeviceManagerApi(opts) {
|
|
|
17040
17040
|
meta: { error: err instanceof Error ? err.message : String(err) }
|
|
17041
17041
|
});
|
|
17042
17042
|
});
|
|
17043
|
+
if (initialMeta.primaryChildPreference !== void 0) await callDeviceManager(api, "setPrimaryChildPreference", {
|
|
17044
|
+
deviceId: id,
|
|
17045
|
+
primaryChildPreference: initialMeta.primaryChildPreference
|
|
17046
|
+
}).catch((err) => {
|
|
17047
|
+
opts.logger.warn("create: setPrimaryChildPreference pre-seed failed", {
|
|
17048
|
+
tags: {
|
|
17049
|
+
stableId,
|
|
17050
|
+
deviceId: id
|
|
17051
|
+
},
|
|
17052
|
+
meta: { error: err instanceof Error ? err.message : String(err) }
|
|
17053
|
+
});
|
|
17054
|
+
});
|
|
17043
17055
|
if (initialMeta.display !== void 0) await callDeviceManager(api, "setDisplay", {
|
|
17044
17056
|
deviceId: id,
|
|
17045
17057
|
display: initialMeta.display
|
|
@@ -28479,8 +28491,8 @@ exports.ADDON_VERSION_REASON_REGISTRY_LATEST = ADDON_VERSION_REASON_REGISTRY_LAT
|
|
|
28479
28491
|
exports.AGENT_CAP_FWD_ACTION = AGENT_CAP_FWD_ACTION;
|
|
28480
28492
|
exports.AGENT_CAP_FWD_SERVICE = AGENT_CAP_FWD_SERVICE;
|
|
28481
28493
|
exports.AGENT_DASHBOARD_ORIGINS_FIELD = require_builtins_system_config_system_config_addon.AGENT_DASHBOARD_ORIGINS_FIELD;
|
|
28482
|
-
exports.AGENT_HTTPS_NAMES_COLLECTION =
|
|
28483
|
-
exports.AGENT_HTTPS_NAMES_COLUMNS =
|
|
28494
|
+
exports.AGENT_HTTPS_NAMES_COLLECTION = require_hub_identity.AGENT_HTTPS_NAMES_COLLECTION;
|
|
28495
|
+
exports.AGENT_HTTPS_NAMES_COLUMNS = require_hub_identity.AGENT_HTTPS_NAMES_COLUMNS;
|
|
28484
28496
|
exports.AGENT_MAIN_HEAP_WATCH_LABEL = AGENT_MAIN_HEAP_WATCH_LABEL;
|
|
28485
28497
|
exports.AGENT_READINESS_SERVICE_NAME = AGENT_READINESS_SERVICE_NAME;
|
|
28486
28498
|
exports.AGENT_UI_UNLOCK_TTL_MS = require_builtins_system_config_system_config_addon.AGENT_UI_UNLOCK_TTL_MS;
|
|
@@ -28501,8 +28513,8 @@ exports.AddonLoader = AddonLoader;
|
|
|
28501
28513
|
exports.AddonManifest = AddonManifest;
|
|
28502
28514
|
exports.AddonRefusedError = AddonRefusedError;
|
|
28503
28515
|
exports.AddonRouteRegistry = AddonRouteRegistry;
|
|
28504
|
-
exports.AgentHttpsInstallError =
|
|
28505
|
-
exports.AgentHttpsNames =
|
|
28516
|
+
exports.AgentHttpsInstallError = require_hub_identity.AgentHttpsInstallError;
|
|
28517
|
+
exports.AgentHttpsNames = require_hub_identity.AgentHttpsNames;
|
|
28506
28518
|
exports.AgentMdnsAdvertiser = AgentMdnsAdvertiser;
|
|
28507
28519
|
exports.AgentMeshIdentityGate = AgentMeshIdentityGate;
|
|
28508
28520
|
exports.AgentPairing = require_builtins_system_config_system_config_addon.AgentPairing;
|
|
@@ -28516,8 +28528,8 @@ exports.BackupKeyRequiredError = require_restore_archive.BackupKeyRequiredError;
|
|
|
28516
28528
|
exports.CAP_ACTION_OVERFLOW_LABEL = CAP_ACTION_OVERFLOW_LABEL;
|
|
28517
28529
|
exports.CAP_ACTION_UNLABELLED = CAP_ACTION_UNLABELLED;
|
|
28518
28530
|
exports.CAP_METHOD_NOT_IMPLEMENTED = CAP_METHOD_NOT_IMPLEMENTED;
|
|
28519
|
-
exports.CA_COMMON_NAME =
|
|
28520
|
-
exports.CA_VALIDITY_DAYS =
|
|
28531
|
+
exports.CA_COMMON_NAME = require_hub_identity.CA_COMMON_NAME;
|
|
28532
|
+
exports.CA_VALIDITY_DAYS = require_hub_identity.CA_VALIDITY_DAYS;
|
|
28521
28533
|
exports.CORE_CAP_SERVICE_NAME = CORE_CAP_SERVICE_NAME;
|
|
28522
28534
|
exports.CalendarsAddon = require_builtins_calendars_calendars_addon.CalendarsAddon;
|
|
28523
28535
|
exports.CapRouteError = CapRouteError;
|
|
@@ -28578,6 +28590,8 @@ exports.HEAP_WATCH_INTERVAL_MS = HEAP_WATCH_INTERVAL_MS;
|
|
|
28578
28590
|
exports.HEAP_WATCH_WARN_RATIO = HEAP_WATCH_WARN_RATIO;
|
|
28579
28591
|
exports.HUB_CAP_FWD_ACTION = require_builtins_storage_orchestrator_storage_orchestrator_addon.HUB_CAP_FWD_ACTION;
|
|
28580
28592
|
exports.HUB_CAP_FWD_SERVICE = require_builtins_storage_orchestrator_storage_orchestrator_addon.HUB_CAP_FWD_SERVICE;
|
|
28593
|
+
exports.HUB_IDENTITY_FILE = require_hub_identity.HUB_IDENTITY_FILE;
|
|
28594
|
+
exports.HUB_IDENTITY_RELATIVE = require_hub_identity.HUB_IDENTITY_RELATIVE;
|
|
28581
28595
|
exports.HUB_MAIN_HEAP_WATCH_LABEL = HUB_MAIN_HEAP_WATCH_LABEL;
|
|
28582
28596
|
exports.HUB_MAIN_RSS_BUDGET_MB = HUB_MAIN_RSS_BUDGET_MB;
|
|
28583
28597
|
exports.HUB_RSS_BUDGET_ENV = HUB_RSS_BUDGET_ENV;
|
|
@@ -28593,7 +28607,7 @@ exports.InvalidCorsOriginError = require_builtins_system_config_system_config_ad
|
|
|
28593
28607
|
exports.JWT_SIGNING_KEY_REF = require_device_ca.JWT_SIGNING_KEY_REF;
|
|
28594
28608
|
exports.JobJournal = JobJournal;
|
|
28595
28609
|
exports.JwtSigningKeyUnavailableError = require_device_ca.JwtSigningKeyUnavailableError;
|
|
28596
|
-
exports.LEAF_RENEWAL_WINDOW_DAYS =
|
|
28610
|
+
exports.LEAF_RENEWAL_WINDOW_DAYS = require_hub_identity.LEAF_RENEWAL_WINDOW_DAYS;
|
|
28597
28611
|
exports.LifecycleJobEngine = LifecycleJobEngine;
|
|
28598
28612
|
exports.LifecycleStateMachine = LifecycleStateMachine;
|
|
28599
28613
|
exports.LivenessMonitorAddon = require_builtins_liveness_monitor_liveness_monitor_addon.LivenessMonitorAddon;
|
|
@@ -28607,7 +28621,7 @@ exports.LoginSessionManager = require_builtins_local_auth_local_auth_addon.Login
|
|
|
28607
28621
|
exports.LokiDestination = require_builtins_loki_logging_index.LokiDestination$1;
|
|
28608
28622
|
exports.LokiLoggingAddon = require_builtins_loki_logging_index.LokiLoggingAddon$1;
|
|
28609
28623
|
exports.MAX_CAP_ACTIONS_PER_PEER = MAX_CAP_ACTIONS_PER_PEER;
|
|
28610
|
-
exports.MAX_LEAF_VALIDITY_DAYS =
|
|
28624
|
+
exports.MAX_LEAF_VALIDITY_DAYS = require_hub_identity.MAX_LEAF_VALIDITY_DAYS;
|
|
28611
28625
|
exports.MEMBERSHIP_PATHS = require_builtins_system_config_system_config_addon.MEMBERSHIP_PATHS;
|
|
28612
28626
|
exports.MESH_ACTION_FORBIDDEN_TYPE = MESH_ACTION_FORBIDDEN_TYPE;
|
|
28613
28627
|
exports.MESH_CA_FIELD = require_constants.MESH_CA_FIELD;
|
|
@@ -28643,8 +28657,8 @@ exports.PAIRING_PIN_DIGITS = require_builtins_system_config_system_config_addon.
|
|
|
28643
28657
|
exports.PAIRING_PROTOCOL = require_builtins_system_config_system_config_addon.PAIRING_PROTOCOL;
|
|
28644
28658
|
exports.PAIRING_TTL_MS = require_builtins_system_config_system_config_addon.PAIRING_TTL_MS;
|
|
28645
28659
|
exports.PARENT_ROUTED_PROVIDER_ADDON_ID = PARENT_ROUTED_PROVIDER_ADDON_ID;
|
|
28646
|
-
exports.PERMITTED_DNS_SUFFIXES =
|
|
28647
|
-
exports.PERMITTED_IP_RANGES =
|
|
28660
|
+
exports.PERMITTED_DNS_SUFFIXES = require_hub_identity.PERMITTED_DNS_SUFFIXES;
|
|
28661
|
+
exports.PERMITTED_IP_RANGES = require_hub_identity.PERMITTED_IP_RANGES;
|
|
28648
28662
|
exports.PREVIOUS_LEAF_GRACE_MS = require_builtins_local_auth_local_auth_addon.PREVIOUS_LEAF_GRACE_MS;
|
|
28649
28663
|
Object.defineProperty(exports, "PYTHON_VERSION", {
|
|
28650
28664
|
enumerable: true,
|
|
@@ -28673,7 +28687,7 @@ exports.RegistryReadError = RegistryReadError;
|
|
|
28673
28687
|
exports.ReplEngine = ReplEngine;
|
|
28674
28688
|
exports.RingBuffer = RingBuffer;
|
|
28675
28689
|
exports.RunnerOfAddon = RunnerOfAddon;
|
|
28676
|
-
exports.SERVER_AUTH_OID =
|
|
28690
|
+
exports.SERVER_AUTH_OID = require_hub_identity.SERVER_AUTH_OID;
|
|
28677
28691
|
exports.SERVER_NAMESPACE = SERVER_NAMESPACE;
|
|
28678
28692
|
exports.SOCKET_PLANE_TOP_N = SOCKET_PLANE_TOP_N;
|
|
28679
28693
|
exports.SOCKET_QUEUE_TOP_N = SOCKET_QUEUE_TOP_N;
|
|
@@ -28713,13 +28727,13 @@ exports.ZERO_LOOP_DELAY = ZERO_LOOP_DELAY;
|
|
|
28713
28727
|
exports.__resetCapUsageRegistryForTests = __resetCapUsageRegistryForTests;
|
|
28714
28728
|
exports.__resetCommandObserverRegistryForTests = require_builtins_device_manager_device_manager_addon.__resetCommandObserverRegistryForTests;
|
|
28715
28729
|
exports.__resetLoggingGateForTests = __resetLoggingGateForTests;
|
|
28716
|
-
exports.acceptAgentSans =
|
|
28730
|
+
exports.acceptAgentSans = require_hub_identity.acceptAgentSans;
|
|
28717
28731
|
exports.adaptBrokerToCluster = adaptBrokerToCluster;
|
|
28718
28732
|
exports.addonCommandActor = require_builtins_device_manager_device_manager_addon.addonCommandActor;
|
|
28719
28733
|
exports.addonSettingsCapability = require_dist.addonSettingsCapability;
|
|
28720
28734
|
exports.adoptModelRevisions = require_custom_action_registry.adoptModelRevisions;
|
|
28721
28735
|
exports.afterWorkerOnlineAnnounce = afterWorkerOnlineAnnounce;
|
|
28722
|
-
exports.agentHttpsPaths =
|
|
28736
|
+
exports.agentHttpsPaths = require_hub_identity.agentHttpsPaths;
|
|
28723
28737
|
exports.allFamiliesListenHost = require_hub_mdns_ciao.allFamiliesListenHost;
|
|
28724
28738
|
exports.answerClaimedGetStatus = answerClaimedGetStatus;
|
|
28725
28739
|
exports.answerDeviceCallRedirect = answerDeviceCallRedirect;
|
|
@@ -28745,7 +28759,7 @@ Object.defineProperty(exports, "buildBinaryPath", {
|
|
|
28745
28759
|
exports.buildCapRouters = buildCapRouters;
|
|
28746
28760
|
exports.buildHeapSample = buildHeapSample;
|
|
28747
28761
|
exports.buildLinkChain = buildLinkChain;
|
|
28748
|
-
exports.buildNameConstraintSet =
|
|
28762
|
+
exports.buildNameConstraintSet = require_hub_identity.buildNameConstraintSet;
|
|
28749
28763
|
exports.buildNativeCapProxy = buildNativeCapProxy;
|
|
28750
28764
|
exports.buildNodeManifest = buildNodeManifest;
|
|
28751
28765
|
exports.buildNpmChildEnv = buildNpmChildEnv;
|
|
@@ -28764,7 +28778,7 @@ exports.capActionSuffix = capActionSuffix;
|
|
|
28764
28778
|
exports.capBareAction = capBareAction;
|
|
28765
28779
|
exports.capServiceName = capServiceName;
|
|
28766
28780
|
exports.catalogNamespaceOf = catalogNamespaceOf;
|
|
28767
|
-
exports.certificateNames =
|
|
28781
|
+
exports.certificateNames = require_hub_identity.certificateNames;
|
|
28768
28782
|
exports.chainsToPublicRoot = require_hub_mdns_ciao.chainsToPublicRoot;
|
|
28769
28783
|
exports.checkUploadedCa = require_hub_mdns_ciao.checkUploadedCa;
|
|
28770
28784
|
exports.classifyAddonDir = classifyAddonDir;
|
|
@@ -28780,8 +28794,8 @@ exports.clusterAgentRecordKinds = clusterAgentRecordKinds;
|
|
|
28780
28794
|
exports.clusterEventTopic = clusterEventTopic;
|
|
28781
28795
|
exports.clusterNodeHistoryRecordKind = clusterNodeHistoryRecordKind;
|
|
28782
28796
|
exports.clusterNodeTombstoneRecordKind = clusterNodeTombstoneRecordKind;
|
|
28783
|
-
exports.collectAgentNames =
|
|
28784
|
-
exports.collectCertIdentity =
|
|
28797
|
+
exports.collectAgentNames = require_hub_identity.collectAgentNames;
|
|
28798
|
+
exports.collectCertIdentity = require_hub_identity.collectCertIdentity;
|
|
28785
28799
|
exports.collectModelFiles = require_custom_action_registry.collectModelFiles;
|
|
28786
28800
|
exports.commandActorFromContext = require_builtins_device_manager_device_manager_addon.commandActorFromContext;
|
|
28787
28801
|
exports.commandObserverLink = require_builtins_device_manager_device_manager_addon.commandObserverLink;
|
|
@@ -28797,7 +28811,7 @@ exports.createAddonDataPlaneFacility = createAddonDataPlaneFacility;
|
|
|
28797
28811
|
exports.createAddonPeerBytesFacility = createAddonPeerBytesFacility;
|
|
28798
28812
|
exports.createAddonService = createAddonService;
|
|
28799
28813
|
exports.createAgentEventScope = createAgentEventScope;
|
|
28800
|
-
exports.createAgentHttpsRequest =
|
|
28814
|
+
exports.createAgentHttpsRequest = require_hub_identity.createAgentHttpsRequest;
|
|
28801
28815
|
exports.createAgentTransport = createAgentTransport;
|
|
28802
28816
|
exports.createArrayBufferCensusGate = createArrayBufferCensusGate;
|
|
28803
28817
|
exports.createAuthenticatedFileServer = require_custom_action_registry.createAuthenticatedFileServer;
|
|
@@ -28848,12 +28862,13 @@ exports.decideAddonVersionMove = decideAddonVersionMove;
|
|
|
28848
28862
|
exports.deleteModelFromDisk = require_custom_action_registry.deleteModelFromDisk;
|
|
28849
28863
|
exports.deriveAgentListenPort = deriveAgentListenPort;
|
|
28850
28864
|
exports.describeCsr = require_builtins_system_config_system_config_addon.describeCsr;
|
|
28851
|
-
exports.describeHttpsLeaf =
|
|
28865
|
+
exports.describeHttpsLeaf = require_hub_identity.describeHttpsLeaf;
|
|
28852
28866
|
exports.describeMeshLeaf = require_builtins_system_config_system_config_addon.describeMeshLeaf;
|
|
28853
28867
|
exports.describeProviderKindDrift = describeProviderKindDrift;
|
|
28854
28868
|
exports.describeRss = describeRss;
|
|
28855
28869
|
exports.deviceCapResolverLink = deviceCapResolverLink;
|
|
28856
28870
|
exports.deviceOfGetStatus = deviceOfGetStatus;
|
|
28871
|
+
exports.dialableHubHost = require_builtins_system_config_system_config_addon.dialableHubHost;
|
|
28857
28872
|
exports.diffCapActionCensus = diffCapActionCensus;
|
|
28858
28873
|
exports.diffEventPlane = diffEventPlane;
|
|
28859
28874
|
exports.diffSocketPlane = diffSocketPlane;
|
|
@@ -28894,7 +28909,7 @@ Object.defineProperty(exports, "ensurePython", {
|
|
|
28894
28909
|
}
|
|
28895
28910
|
});
|
|
28896
28911
|
exports.ensureTlsCert = require_hub_mdns_ciao.ensureTlsCert;
|
|
28897
|
-
exports.evaluateExistingCert =
|
|
28912
|
+
exports.evaluateExistingCert = require_hub_identity.evaluateExistingCert;
|
|
28898
28913
|
exports.expandCapMethods = require_dist.expandCapMethods;
|
|
28899
28914
|
exports.exportMeshPrivateKeyPem = require_builtins_system_config_system_config_addon.exportMeshPrivateKeyPem;
|
|
28900
28915
|
exports.fetchJson = require_custom_action_registry.fetchJson;
|
|
@@ -28942,7 +28957,7 @@ Object.defineProperty(exports, "getPlatformInfo", {
|
|
|
28942
28957
|
}
|
|
28943
28958
|
});
|
|
28944
28959
|
exports.getPlatformKeychainKey = require_platform_key_source.getPlatformKeychainKey;
|
|
28945
|
-
exports.getProcessAgentHttpsNames =
|
|
28960
|
+
exports.getProcessAgentHttpsNames = require_hub_identity.getProcessAgentHttpsNames;
|
|
28946
28961
|
exports.getProcessJwtSigningKeyState = require_device_ca.getProcessJwtSigningKeyState;
|
|
28947
28962
|
exports.getProcessMeshCaState = require_builtins_system_config_system_config_addon.getProcessMeshCaState;
|
|
28948
28963
|
exports.getProcessMeshCertificateRegistry = require_builtins_system_config_system_config_addon.getProcessMeshCertificateRegistry;
|
|
@@ -28965,7 +28980,7 @@ exports.hostNodeIdOf = hostNodeIdOf;
|
|
|
28965
28980
|
exports.hubHostFromMeshAddress = require_builtins_system_config_system_config_addon.hubHostFromMeshAddress;
|
|
28966
28981
|
exports.hubMainRssBudget = hubMainRssBudget;
|
|
28967
28982
|
exports.hubServerVersionOf = hubServerVersionOf;
|
|
28968
|
-
exports.installAgentHttps =
|
|
28983
|
+
exports.installAgentHttps = require_hub_identity.installAgentHttps;
|
|
28969
28984
|
exports.installBrokerTransporter = installBrokerTransporter;
|
|
28970
28985
|
exports.installManifestNativeDeps = installManifestNativeDeps;
|
|
28971
28986
|
exports.installManifestPythonDeps = installManifestPythonDeps;
|
|
@@ -28987,19 +29002,20 @@ exports.integrationRegistryRecordKinds = integrationRegistryRecordKinds;
|
|
|
28987
29002
|
exports.ipcParentLink = ipcParentLink;
|
|
28988
29003
|
exports.isAddonDeploySource = isAddonDeploySource;
|
|
28989
29004
|
exports.isAllowedAgentDashboardReturnTo = require_builtins_system_config_system_config_addon.isAllowedAgentDashboardReturnTo;
|
|
29005
|
+
exports.isAnnouncedHubId = require_hub_identity.isAnnouncedHubId;
|
|
28990
29006
|
exports.isArrayBufferCensusReport = isArrayBufferCensusReport;
|
|
28991
29007
|
exports.isArrayOutputSchema = require_dist.isArrayOutputSchema;
|
|
28992
29008
|
exports.isCollectionArrayMethod = require_dist.isCollectionArrayMethod;
|
|
28993
|
-
exports.isConstrainedCa =
|
|
28994
|
-
exports.isContainerBridgeAddress =
|
|
29009
|
+
exports.isConstrainedCa = require_hub_identity.isConstrainedCa;
|
|
29010
|
+
exports.isContainerBridgeAddress = require_hub_identity.isContainerBridgeAddress;
|
|
28995
29011
|
exports.isCredentialKeyName = require_log_redactor.isCredentialKeyName;
|
|
28996
29012
|
exports.isInfraCapability = isInfraCapability;
|
|
28997
29013
|
exports.isInsecureOrigin = require_builtins_system_config_system_config_addon.isInsecureOrigin;
|
|
28998
29014
|
exports.isInstalledTransporter = isInstalledTransporter;
|
|
28999
|
-
exports.isLocalOnlyHostname =
|
|
29015
|
+
exports.isLocalOnlyHostname = require_hub_identity.isLocalOnlyHostname;
|
|
29000
29016
|
exports.isModelDownloaded = require_custom_action_registry.isModelDownloaded;
|
|
29001
29017
|
exports.isPeerEventPacket = isPeerEventPacket;
|
|
29002
|
-
exports.isPrivateAddress =
|
|
29018
|
+
exports.isPrivateAddress = require_hub_identity.isPrivateAddress;
|
|
29003
29019
|
exports.isProcessVerifiedMeshPeer = require_builtins_system_config_system_config_addon.isProcessVerifiedMeshPeer;
|
|
29004
29020
|
exports.isRemoteForbiddenAction = isRemoteForbiddenAction;
|
|
29005
29021
|
exports.isRemoteForbiddenOnAgent = isRemoteForbiddenOnAgent;
|
|
@@ -29007,7 +29023,7 @@ exports.isSettingsReadUnavailable = require_builtins_local_auth_local_auth_addon
|
|
|
29007
29023
|
exports.isSourceNewer = isSourceNewer;
|
|
29008
29024
|
exports.isValidAgentNodeId = require_builtins_system_config_system_config_addon.isValidAgentNodeId;
|
|
29009
29025
|
exports.isolatedBuiltinPhase = isolatedBuiltinPhase;
|
|
29010
|
-
exports.issueAgentHttpsLeaf =
|
|
29026
|
+
exports.issueAgentHttpsLeaf = require_hub_identity.issueAgentHttpsLeaf;
|
|
29011
29027
|
exports.issueDeviceLeaf = require_device_ca.issueDeviceLeaf;
|
|
29012
29028
|
exports.issueMeshLeafForNode = require_builtins_system_config_system_config_addon.issueMeshLeafForNode;
|
|
29013
29029
|
exports.issueMeshLeafFromCsr = require_builtins_system_config_system_config_addon.issueMeshLeafFromCsr;
|
|
@@ -29017,12 +29033,13 @@ exports.levelRank = require_log_read_filter.levelRank;
|
|
|
29017
29033
|
exports.lineContainsText = require_log_read_filter.lineContainsText;
|
|
29018
29034
|
exports.lineMatches = require_log_read_filter.lineMatches;
|
|
29019
29035
|
exports.listHeldInstalls = listHeldInstalls;
|
|
29020
|
-
exports.loadAgentHttps =
|
|
29036
|
+
exports.loadAgentHttps = require_hub_identity.loadAgentHttps;
|
|
29021
29037
|
exports.loadBootstrapConfig = loadBootstrapConfig;
|
|
29022
29038
|
exports.loadDeviceCa = require_device_ca.loadDeviceCa;
|
|
29023
29039
|
exports.loadMeshCa = require_builtins_system_config_system_config_addon.loadMeshCa;
|
|
29040
|
+
exports.loadOrCreateHubId = require_hub_identity.loadOrCreateHubId;
|
|
29024
29041
|
exports.loadTlsCert = require_hub_mdns_ciao.loadTlsCert;
|
|
29025
|
-
exports.localCaCommonName =
|
|
29042
|
+
exports.localCaCommonName = require_hub_identity.localCaCommonName;
|
|
29026
29043
|
exports.localEndpointPath = localEndpointPath;
|
|
29027
29044
|
exports.localProviderLink = localProviderLink;
|
|
29028
29045
|
exports.localSupportedPythonRuntimes = localSupportedPythonRuntimes;
|
|
@@ -29048,10 +29065,10 @@ exports.parseRssBudgetMb = parseRssBudgetMb;
|
|
|
29048
29065
|
exports.parseTokenExpiry = require_builtins_local_auth_local_auth_addon.parseTokenExpiry;
|
|
29049
29066
|
exports.parseTokenizedUrl = require_custom_action_registry.parseTokenizedUrl;
|
|
29050
29067
|
exports.partitionIsolatedBuiltinIds = partitionIsolatedBuiltinIds;
|
|
29051
|
-
exports.pemDigest =
|
|
29052
|
-
exports.permitsIdentity =
|
|
29053
|
-
exports.permitsName =
|
|
29054
|
-
exports.pinnedHttpsCaFingerprint =
|
|
29068
|
+
exports.pemDigest = require_hub_identity.pemDigest;
|
|
29069
|
+
exports.permitsIdentity = require_hub_identity.permitsIdentity;
|
|
29070
|
+
exports.permitsName = require_hub_identity.permitsName;
|
|
29071
|
+
exports.pinnedHttpsCaFingerprint = require_hub_identity.pinnedHttpsCaFingerprint;
|
|
29055
29072
|
exports.preferencesLimitReasonOf = require_builtins_local_auth_local_auth_addon.preferencesLimitReasonOf;
|
|
29056
29073
|
exports.prepareBootTls = require_hub_mdns_ciao.prepareBootTls;
|
|
29057
29074
|
exports.prepareRestoreArchive = require_restore_archive.prepareRestoreArchive;
|
|
@@ -29072,7 +29089,7 @@ exports.readCurrentCommandOrigin = require_cap_call_scope.readCurrentCommandOrig
|
|
|
29072
29089
|
exports.readExtraSans = require_hub_mdns_ciao.readExtraSans;
|
|
29073
29090
|
exports.readHeapSpaces = readHeapSpaces;
|
|
29074
29091
|
exports.readLanHttpState = require_hub_mdns_ciao.readLanHttpState;
|
|
29075
|
-
exports.readNameConstraints =
|
|
29092
|
+
exports.readNameConstraints = require_hub_identity.readNameConstraints;
|
|
29076
29093
|
exports.readOriginSetting = require_builtins_system_config_system_config_addon.readOriginSetting;
|
|
29077
29094
|
exports.readPendingRestart = readPendingRestart;
|
|
29078
29095
|
exports.readSocketQueues = readSocketQueues;
|
|
@@ -29121,7 +29138,7 @@ exports.setHubConnected = setHubConnected;
|
|
|
29121
29138
|
exports.setHuggingFaceReachabilityObserver = require_custom_action_registry.setHuggingFaceReachabilityObserver;
|
|
29122
29139
|
exports.setNodeEventInterest = setNodeEventInterest;
|
|
29123
29140
|
exports.setPlatformKeychainKey = require_platform_key_source.setPlatformKeychainKey;
|
|
29124
|
-
exports.setProcessAgentHttpsNames =
|
|
29141
|
+
exports.setProcessAgentHttpsNames = require_hub_identity.setProcessAgentHttpsNames;
|
|
29125
29142
|
exports.setProcessMeshCertificateRegistry = require_builtins_system_config_system_config_addon.setProcessMeshCertificateRegistry;
|
|
29126
29143
|
exports.setProcessMeshPeerTransportLookup = require_builtins_system_config_system_config_addon.setProcessMeshPeerTransportLookup;
|
|
29127
29144
|
exports.setProcessMeshTlsEnabler = require_builtins_system_config_system_config_addon.setProcessMeshTlsEnabler;
|
|
@@ -29147,7 +29164,7 @@ exports.stripCamstackDeps = stripCamstackDeps;
|
|
|
29147
29164
|
exports.stripForgedIdentity = stripForgedIdentity;
|
|
29148
29165
|
exports.stripForwardedCaller = require_builtins_storage_orchestrator_storage_orchestrator_addon.stripForwardedCaller;
|
|
29149
29166
|
exports.subscribePassthrough = subscribePassthrough;
|
|
29150
|
-
exports.systemHostFacts =
|
|
29167
|
+
exports.systemHostFacts = require_hub_identity.systemHostFacts;
|
|
29151
29168
|
exports.udsChildLogToWorkerEntry = udsChildLogToWorkerEntry;
|
|
29152
29169
|
exports.useStoredUploadedCertificate = require_hub_mdns_ciao.useStoredUploadedCertificate;
|
|
29153
29170
|
exports.validateProviderRegistrations = validateProviderRegistrations;
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Di as looseSchema, Dt as METHOD_ACCESS_MAP, Ei as logLevelAtMost, Et as LOG_LEVEL_RANK, Fs as ReadinessRegistry, Gc as readinessKey, Gi as objectInputDeclaresAddonId, Ha as scopesAllowDeviceCap, Hc as parseJsonObject, Is as ReadinessTimeoutError, Ki as objectInputDeclaresRequiredDeviceId, Lr as extractNestedAddonId, O as CatalogFileSchema, Ps as RUNTIME_DEFAULTS, Qs as asString$1, Rt as PackageRequiresSchema, Tc as isDebugChannelName, Uc as parseJsonUnknown, Va as scopesAllowAddon, Xc as scopeKey, Xn as compareVersions, Xs as asJsonObject$1, Zs as asNumber, _s as DEVICE_SETTINGS_CONTRIBUTION_METHODS, a as AGENT_MDNS_SERVICE_TYPE, ac as collectSecretMarkerRefs, ai as isCollectionArrayMethod, bc as getDebugInterest, bn as addonSettingsCapability, di as isObjectInput, dl as errMsg$1, ei as interpolate, eo as splitTranslationRef, gs as DATAPLANE_SECRET_HEADER$1, hc as emitDownForOwnedCaps, hs as CALLER_STAMPED_CAPABILITIES$1, ii as isArrayOutputSchema, il as userError, ka as resolveMethodAuth, kn as bareAddonId, lc as createEvent$1, lo as supportedRuntimes, mc as defineRecordKinds, mi as kebabToCamel$1, o as AGENT_MDNS_TXT_KEYS, ol as withoutCallerStamp, pi as isVoidInput, pl as EventCategory$1, qc as resolveCapMount, s as ALL_CAPABILITY_DEFINITIONS, sa as procedureAuthKey, vc as expandCapMethods, vr as describeUnmet, vs as DEVICE_STATUS_METHOD, x as CATALOG_LANGS, yi as lifecycleJobSchema, yo as unmetRequirements } from "./dist-
|
|
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-
|
|
2
|
+
import { Di as looseSchema, Dt as METHOD_ACCESS_MAP, Ei as logLevelAtMost, Et as LOG_LEVEL_RANK, Fs as ReadinessRegistry, Gc as readinessKey, Gi as objectInputDeclaresAddonId, Ha as scopesAllowDeviceCap, Hc as parseJsonObject, Is as ReadinessTimeoutError, Ki as objectInputDeclaresRequiredDeviceId, Lr as extractNestedAddonId, O as CatalogFileSchema, Ps as RUNTIME_DEFAULTS, Qs as asString$1, Rt as PackageRequiresSchema, Tc as isDebugChannelName, Uc as parseJsonUnknown, Va as scopesAllowAddon, Xc as scopeKey, Xn as compareVersions, Xs as asJsonObject$1, Zs as asNumber, _s as DEVICE_SETTINGS_CONTRIBUTION_METHODS, a as AGENT_MDNS_SERVICE_TYPE, ac as collectSecretMarkerRefs, ai as isCollectionArrayMethod, bc as getDebugInterest, bn as addonSettingsCapability, di as isObjectInput, dl as errMsg$1, ei as interpolate, eo as splitTranslationRef, gs as DATAPLANE_SECRET_HEADER$1, hc as emitDownForOwnedCaps, hs as CALLER_STAMPED_CAPABILITIES$1, ii as isArrayOutputSchema, il as userError, ka as resolveMethodAuth, kn as bareAddonId, lc as createEvent$1, lo as supportedRuntimes, mc as defineRecordKinds, mi as kebabToCamel$1, o as AGENT_MDNS_TXT_KEYS, ol as withoutCallerStamp, pi as isVoidInput, pl as EventCategory$1, qc as resolveCapMount, s as ALL_CAPABILITY_DEFINITIONS, sa as procedureAuthKey, vc as expandCapMethods, vr as describeUnmet, vs as DEVICE_STATUS_METHOD, x as CATALOG_LANGS, yi as lifecycleJobSchema, yo as unmetRequirements } from "./dist-B8dBvJJK.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-CXPTrORC.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
|
|
6
6
|
import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
|
|
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
27
27
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
28
28
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
29
29
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
30
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
31
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
30
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-Dn2cx4Km.mjs";
|
|
31
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-lRhfbNBc.mjs";
|
|
32
32
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
33
33
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
34
34
|
import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
35
35
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
36
|
-
import { A as
|
|
37
|
-
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-
|
|
38
|
-
import { $ as
|
|
36
|
+
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-D2sSTELW.mjs";
|
|
37
|
+
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-D5oNuYLD.mjs";
|
|
38
|
+
import { $ as caFingerprint, A as emitProcessNodeRegistered, B as setProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as parseOriginList, D as ServiceBroker, Dt as parseCidrList, E as Errors, Et as normalizeIp, F as setProcessMeshPeerTransportLookup, G as describeMeshLeaf, H as MESH_NODE_CERTIFICATES_COLUMNS, I as renewMeshCertificate, J as MeshCrl, K as getProcessMeshCertificateRegistry, L as revokeMeshCertificate, M as getProcessPeerLeaf, N as isProcessVerifiedMeshPeer, O as setProcessMeshTlsEnabler, Ot as readCidrSetting, P as onProcessNodeRegistered, Q as requireProcessMeshCa, R as getProcessMeshTlsListenerState, S as signMembershipProof, St as normalizeOrigin, SystemConfigAddon, T as TlsTcpTransporter, Tt as createCidrMatcher, U as MeshCertificateRegistry, V as MESH_NODE_CERTIFICATES_COLLECTION, W as RENEWAL_ABANDONED, X as MeshCaKeeper, Y as processMeshCrl, Z as getProcessMeshCaState, _ as keyFingerprintShort, _t as parseAgentDashboardOrigins, a as dialableHubHost, at as isValidAgentNodeId, b as MEMBERSHIP_PATHS, bt as OPAQUE_ORIGIN, c as PAIRING_MAX_CODE_ATTEMPTS, ct as loadMeshCa, d as PAIRING_PIN_DIGITS, dt as AGENT_UI_UNLOCK_TYP, et as caFingerprintCompact, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_USE, g as describeCsr, gt as mintAgentUiUnlockTicket, h as computePairingSas, ht as isAllowedAgentDashboardReturnTo, i as AgentPairing, it as generateMeshKeyPair, j as getProcessNodeMeshTransport, k as dropProcessPeer, l as PAIRING_MAX_SESSIONS, lt as AGENT_DASHBOARD_ORIGINS_FIELD, m as computePairingCommitment, mt as UnlockTicketJtiStore, n as HubPairing, nt as exportMeshPrivateKeyPem, o as hubHostFromMeshAddress, ot as issueMeshLeafForNode, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_VERSION, q as setProcessMeshCertificateRegistry, r as PairingHttpError, rt as generateMeshCa, s as PAIRING_CODE_DIGITS, st as issueMeshLeafFromCsr, tt as createMeshCsrPem, u as PAIRING_PATHS, ut as AGENT_UI_UNLOCK_TTL_MS, v as signPairingProof, vt as verifyAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as readOriginSetting, x as MembershipResponder, xt as isInsecureOrigin, y as verifyPairingProof, yt as InvalidCorsOriginError, z as openMeshTlsWhenRevocationsLoaded } from "./builtins/system-config/system-config.addon.mjs";
|
|
39
39
|
import "./builtins/system-config/index.mjs";
|
|
40
40
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
41
41
|
import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, 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-B9zFBNVa.mjs";
|
|
42
|
-
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, 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 splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-
|
|
42
|
+
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, 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 splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-Twxwj9Vh.mjs";
|
|
43
43
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
44
44
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
45
|
-
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-
|
|
45
|
+
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-CkyWtDIi.mjs";
|
|
46
46
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
47
47
|
import { z } from "zod";
|
|
48
48
|
import * as crypto$1 from "node:crypto";
|
|
@@ -17036,6 +17036,18 @@ function createBrokerDeviceManagerApi(opts) {
|
|
|
17036
17036
|
meta: { error: err instanceof Error ? err.message : String(err) }
|
|
17037
17037
|
});
|
|
17038
17038
|
});
|
|
17039
|
+
if (initialMeta.primaryChildPreference !== void 0) await callDeviceManager(api, "setPrimaryChildPreference", {
|
|
17040
|
+
deviceId: id,
|
|
17041
|
+
primaryChildPreference: initialMeta.primaryChildPreference
|
|
17042
|
+
}).catch((err) => {
|
|
17043
|
+
opts.logger.warn("create: setPrimaryChildPreference pre-seed failed", {
|
|
17044
|
+
tags: {
|
|
17045
|
+
stableId,
|
|
17046
|
+
deviceId: id
|
|
17047
|
+
},
|
|
17048
|
+
meta: { error: err instanceof Error ? err.message : String(err) }
|
|
17049
|
+
});
|
|
17050
|
+
});
|
|
17039
17051
|
if (initialMeta.display !== void 0) await callDeviceManager(api, "setDisplay", {
|
|
17040
17052
|
deviceId: id,
|
|
17041
17053
|
display: initialMeta.display
|
|
@@ -28471,4 +28483,4 @@ function resetCatalogRegistryForTests() {
|
|
|
28471
28483
|
}
|
|
28472
28484
|
//#endregion
|
|
28473
28485
|
var readAllRows = import_read_all_rows.readAllRows;
|
|
28474
|
-
export { ADDON_VERSION_REASON_HUB, ADDON_VERSION_REASON_REGISTRY_LATEST, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_HTTPS_NAMES_COLLECTION, AGENT_HTTPS_NAMES_COLUMNS, AGENT_MAIN_HEAP_WATCH_LABEL, AGENT_READINESS_SERVICE_NAME, AGENT_UI_UNLOCK_TTL_MS, AGENT_UI_UNLOCK_TYP, AGENT_UI_UNLOCK_USE, AGENT_UI_UNLOCK_VERSION, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRefusedError, AddonRouteRegistry, AgentHttpsInstallError, AgentHttpsNames, AgentMdnsAdvertiser, AgentMeshIdentityGate, AgentPairing, AlertCenterAddon, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, CatalogRegistry, ClusterNodeHistoryBodySchema, ClusterNodeTombstoneBodySchema, CommandObserverRegistry, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_HUB_TLS_TCP_PORT, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_CA_KEY_REF, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceCaStore, DeviceCredentialManager, DeviceHistoryAddon, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FIRST_BOOT_ADMIN_PASSWORD, FIRST_BOOT_ADMIN_USERNAME, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HUB_RSS_BUDGET_OVERRIDE_SOURCE, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, HubPairing, INFRA_CAPABILITIES, IntegrationRegistry, InvalidCorsOriginError, JWT_SIGNING_KEY_REF, JobJournal, JwtSigningKeyUnavailableError, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LoginSessionManager, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MEMBERSHIP_PATHS, MESH_ACTION_FORBIDDEN_TYPE, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_NODE_CERTIFICATES_COLLECTION, MESH_NODE_CERTIFICATES_COLUMNS, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, MESH_TLS_PORT_HELLO_FIELD, METHOD_ACCESS_MAP, MembershipResponder, MeshCaKeeper, MeshCertificateRegistry, MeshCrl, MeshIdentityGate, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OPAQUE_ORIGIN, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PAIRING_CODE_DIGITS, PAIRING_MAX_CODE_ATTEMPTS, PAIRING_MAX_SESSIONS, PAIRING_PATHS, PAIRING_PIN_DIGITS, PAIRING_PROTOCOL, PAIRING_TTL_MS, PARENT_ROUTED_PROVIDER_ADDON_ID, PERMITTED_DNS_SUFFIXES, PERMITTED_IP_RANGES, PREVIOUS_LEAF_GRACE_MS, PYTHON_VERSION, PairingHttpError, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, RENEWAL_ABANDONED, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, RecordsEngine, RegistryReadError, ReplEngine, RingBuffer, RunnerOfAddon, SERVER_AUTH_OID, SERVER_NAMESPACE, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UNSUPPORTED_ADDON_SETTLE_MS, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UnsupportedAddonTracker, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetCommandObserverRegistryForTests, __resetLoggingGateForTests, acceptAgentSans, adaptBrokerToCluster, addonCommandActor, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, agentHttpsPaths, allFamiliesListenHost, answerClaimedGetStatus, answerDeviceCallRedirect, applyCertificateToListener, applyLanHttp, asBrokerLike, attachUserManagementInternal, attributeStall, backupOrchestratorRecordKinds, backupRecordStoresOf, bareAddonOf, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildAgentAnnouncement, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNameConstraintSet, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildTransporter, builderMountedCapNames, caFingerprint, caFingerprintCompact, caReplacementMarkerFile, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, catalogNamespaceOf, certificateNames, chainsToPublicRoot, checkUploadedCa, classifyAddonDir, classifyCapRoute, clearHeldInstall, clearHttpsListener, clearIntegrationRows, clearNodeSettings, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterAgentRecordKinds, clusterEventTopic, clusterNodeHistoryRecordKind, clusterNodeTombstoneRecordKind, collectAgentNames, collectCertIdentity, collectModelFiles, commandActorFromContext, commandObserverLink, compileLogFilter, computePairingCommitment, computePairingSas, connectBrokerTransport, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createAgentEventScope, createAgentHttpsRequest, createAgentTransport, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCiaoPublisher, createCidrMatcher, createCoreCapService, createCoreCatalogRegistry, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createMigrationApi, createMigrationApiOverContext, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createRequiresRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, currentBrokerTransporter, currentCapCallContext, decideAddonVersionMove, deleteModelFromDisk, deriveAgentListenPort, describeCsr, describeHttpsLeaf, describeMeshLeaf, describeProviderKindDrift, describeRss, deviceCapResolverLink, deviceOfGetStatus, diffCapActionCensus, diffEventPlane, diffSocketPlane, disconnectBrokerTransport, downloadBinary, downloadFile, downloadModel, dropProcessPeer, emitDownForOwnedCaps, emitHeapDiagnosticReport, emitProcessNodeRegistered, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, filterIsEmpty, findAddonRefusal, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateDeviceCa, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getCatalogRegistry, getCommandObserverRegistry, getFfmpegDownloadUrl, getLocalEventInterest, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessAgentHttpsNames, getProcessJwtSigningKeyState, getProcessMeshCaState, getProcessMeshCertificateRegistry, getProcessMeshTlsListenerState, getProcessNodeMeshTransport, getProcessPeerLeaf, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, heapSpaceField, hostNodeIdOf, hubHostFromMeshAddress, hubMainRssBudget, hubServerVersionOf, installAgentHttps, installBrokerTransporter, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, integrationRegistryRecordKinds, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isArrayBufferCensusReport, isArrayOutputSchema, isCollectionArrayMethod, isConstrainedCa, isContainerBridgeAddress, isCredentialKeyName, isInfraCapability, isInsecureOrigin, isInstalledTransporter, isLocalOnlyHostname, isModelDownloaded, isPeerEventPacket, isPrivateAddress, isProcessVerifiedMeshPeer, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isValidAgentNodeId, isolatedBuiltinPhase, issueAgentHttpsLeaf, issueDeviceLeaf, issueMeshLeafForNode, issueMeshLeafFromCsr, keyFingerprintShort, leafFingerprintOf, levelRank, lineContainsText, lineMatches, listHeldInstalls, loadAgentHttps, loadBootstrapConfig, loadDeviceCa, loadMeshCa, loadTlsCert, localCaCommonName, localEndpointPath, localProviderLink, localSupportedPythonRuntimes, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mountNativeCapService, nextRssBudgetState, normalizeIp, normalizeOrigin, onLocalEventInterestChange, onProcessNodeRegistered, onSessionsRevoked, openMeshTlsWhenRevocationsLoaded, originNodeOf, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseOriginList, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, pemDigest, permitsIdentity, permitsName, pinnedHttpsCaFingerprint, preferencesLimitReasonOf, prepareBootTls, prepareRestoreArchive, probePlatform, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readAllRows, readBackupEncryptionHeader, readCidrSetting, readCurrentCommandOrigin, readExtraSans, readHeapSpaces, readLanHttpState, readNameConstraints, readOriginSetting, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsEnabled, readTlsMode, readinessKey, reclaimIntervalMs, recordHeldInstall, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, renewMeshCertificate, replaceUnconstrainedLocalCa, requireProcessMeshCa, resetCatalogRegistryForTests, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, retirePreviousLocalCa, revertToGeneratedCertificate, revisionWeightUrl, revokeMeshCertificate, runHubAddonBoot, runNpm, runObservedCommand, runWithCapCallContext, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setHuggingFaceReachabilityObserver, setNodeEventInterest, setPlatformKeychainKey, setProcessAgentHttpsNames, setProcessMeshCertificateRegistry, setProcessMeshPeerTransportLookup, setProcessMeshTlsEnabler, setProcessMeshTlsListenerState, setWrapperActive, shouldReclaim, signMembershipProof, signPairingProof, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storageOrchestratorRecordKinds, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, systemHostFacts, udsChildLogToWorkerEntry, useStoredUploadedCertificate, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyDeviceLeaf, verifyDeviceSignature, verifyMembershipAnswer, verifyPairingProof, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsEnabled, writeTlsMode };
|
|
28486
|
+
export { ADDON_VERSION_REASON_HUB, ADDON_VERSION_REASON_REGISTRY_LATEST, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_HTTPS_NAMES_COLLECTION, AGENT_HTTPS_NAMES_COLUMNS, AGENT_MAIN_HEAP_WATCH_LABEL, AGENT_READINESS_SERVICE_NAME, AGENT_UI_UNLOCK_TTL_MS, AGENT_UI_UNLOCK_TYP, AGENT_UI_UNLOCK_USE, AGENT_UI_UNLOCK_VERSION, ALL_CAPABILITY_DEFINITIONS, ARRAY_BUFFER_CENSUS_COOLDOWN_MS, ARRAY_BUFFER_CENSUS_SUSTAIN_MS, ARRAY_BUFFER_CENSUS_THRESHOLD_MB, ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRefusedError, AddonRouteRegistry, AgentHttpsInstallError, AgentHttpsNames, AgentMdnsAdvertiser, AgentMeshIdentityGate, AgentPairing, AlertCenterAddon, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, CatalogRegistry, ClusterNodeHistoryBodySchema, ClusterNodeTombstoneBodySchema, CommandObserverRegistry, ComposerAddon, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DECISIVE_HEAP_SPACES, DEFAULT_DATA_PATH, DEFAULT_HUB_TLS_TCP_PORT, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_CA_KEY_REF, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceCaStore, DeviceCredentialManager, DeviceHistoryAddon, DeviceManagerAddon, DeviceRegistry, DeviceStore, EMPTY_CAP_ACTION_READING, EMPTY_SOCKET_DIRECTION, EMPTY_SOCKET_PLANE_BASELINE, EVENT_PLANE_TOP_N, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FIRST_BOOT_ADMIN_PASSWORD, FIRST_BOOT_ADMIN_USERNAME, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, GET_STATUS_METHOD, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_SPACE_REPORT_MIN_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_IDENTITY_FILE, HUB_IDENTITY_RELATIVE, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HUB_RSS_BUDGET_OVERRIDE_SOURCE, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, HubPairing, INFRA_CAPABILITIES, IntegrationRegistry, InvalidCorsOriginError, JWT_SIGNING_KEY_REF, JobJournal, JwtSigningKeyUnavailableError, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LoginSessionManager, LokiDestination, LokiLoggingAddon, MAX_CAP_ACTIONS_PER_PEER, MAX_LEAF_VALIDITY_DAYS, MEMBERSHIP_PATHS, MESH_ACTION_FORBIDDEN_TYPE, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_NODE_CERTIFICATES_COLLECTION, MESH_NODE_CERTIFICATES_COLUMNS, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, MESH_TLS_PORT_HELLO_FIELD, METHOD_ACCESS_MAP, MembershipResponder, MeshCaKeeper, MeshCertificateRegistry, MeshCrl, MeshIdentityGate, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OPAQUE_ORIGIN, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PAIRING_CODE_DIGITS, PAIRING_MAX_CODE_ATTEMPTS, PAIRING_MAX_SESSIONS, PAIRING_PATHS, PAIRING_PIN_DIGITS, PAIRING_PROTOCOL, PAIRING_TTL_MS, PARENT_ROUTED_PROVIDER_ADDON_ID, PERMITTED_DNS_SUFFIXES, PERMITTED_IP_RANGES, PREVIOUS_LEAF_GRACE_MS, PYTHON_VERSION, PairingHttpError, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, RENEWAL_ABANDONED, RESTART_MARKER_FILE, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, RUNTIME_DEFAULTS, ReadinessRegistry, ReadinessTimeoutError, RecordsEngine, RegistryReadError, ReplEngine, RingBuffer, RunnerOfAddon, SERVER_AUTH_OID, SERVER_NAMESPACE, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UNSUPPORTED_ADDON_SETTLE_MS, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UnsupportedAddonTracker, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetCommandObserverRegistryForTests, __resetLoggingGateForTests, acceptAgentSans, adaptBrokerToCluster, addonCommandActor, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, agentHttpsPaths, allFamiliesListenHost, answerClaimedGetStatus, answerDeviceCallRedirect, applyCertificateToListener, applyLanHttp, asBrokerLike, attachUserManagementInternal, attributeStall, backupOrchestratorRecordKinds, backupRecordStoresOf, bareAddonOf, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildAgentAnnouncement, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNameConstraintSet, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, buildTransporter, builderMountedCapNames, caFingerprint, caFingerprintCompact, caReplacementMarkerFile, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, catalogNamespaceOf, certificateNames, chainsToPublicRoot, checkUploadedCa, classifyAddonDir, classifyCapRoute, clearHeldInstall, clearHttpsListener, clearIntegrationRows, clearNodeSettings, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterAgentRecordKinds, clusterEventTopic, clusterNodeHistoryRecordKind, clusterNodeTombstoneRecordKind, collectAgentNames, collectCertIdentity, collectModelFiles, commandActorFromContext, commandObserverLink, compileLogFilter, computePairingCommitment, computePairingSas, connectBrokerTransport, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createAgentEventScope, createAgentHttpsRequest, createAgentTransport, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCiaoPublisher, createCidrMatcher, createCoreCapService, createCoreCatalogRegistry, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createMigrationApi, createMigrationApiOverContext, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createRequiresRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, currentBrokerTransporter, currentCapCallContext, decideAddonVersionMove, deleteModelFromDisk, deriveAgentListenPort, describeCsr, describeHttpsLeaf, describeMeshLeaf, describeProviderKindDrift, describeRss, deviceCapResolverLink, deviceOfGetStatus, dialableHubHost, diffCapActionCensus, diffEventPlane, diffSocketPlane, disconnectBrokerTransport, downloadBinary, downloadFile, downloadModel, dropProcessPeer, emitDownForOwnedCaps, emitHeapDiagnosticReport, emitProcessNodeRegistered, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, filterIsEmpty, findAddonRefusal, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateDeviceCa, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getCatalogRegistry, getCommandObserverRegistry, getFfmpegDownloadUrl, getLocalEventInterest, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessAgentHttpsNames, getProcessJwtSigningKeyState, getProcessMeshCaState, getProcessMeshCertificateRegistry, getProcessMeshTlsListenerState, getProcessNodeMeshTransport, getProcessPeerLeaf, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, heapSpaceField, hostNodeIdOf, hubHostFromMeshAddress, hubMainRssBudget, hubServerVersionOf, installAgentHttps, installBrokerTransporter, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, integrationRegistryRecordKinds, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isAnnouncedHubId, isArrayBufferCensusReport, isArrayOutputSchema, isCollectionArrayMethod, isConstrainedCa, isContainerBridgeAddress, isCredentialKeyName, isInfraCapability, isInsecureOrigin, isInstalledTransporter, isLocalOnlyHostname, isModelDownloaded, isPeerEventPacket, isPrivateAddress, isProcessVerifiedMeshPeer, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isValidAgentNodeId, isolatedBuiltinPhase, issueAgentHttpsLeaf, issueDeviceLeaf, issueMeshLeafForNode, issueMeshLeafFromCsr, keyFingerprintShort, leafFingerprintOf, levelRank, lineContainsText, lineMatches, listHeldInstalls, loadAgentHttps, loadBootstrapConfig, loadDeviceCa, loadMeshCa, loadOrCreateHubId, loadTlsCert, localCaCommonName, localEndpointPath, localProviderLink, localSupportedPythonRuntimes, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mountNativeCapService, nextRssBudgetState, normalizeIp, normalizeOrigin, onLocalEventInterestChange, onProcessNodeRegistered, onSessionsRevoked, openMeshTlsWhenRevocationsLoaded, originNodeOf, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseOriginList, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, pemDigest, permitsIdentity, permitsName, pinnedHttpsCaFingerprint, preferencesLimitReasonOf, prepareBootTls, prepareRestoreArchive, probePlatform, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readAllRows, readBackupEncryptionHeader, readCidrSetting, readCurrentCommandOrigin, readExtraSans, readHeapSpaces, readLanHttpState, readNameConstraints, readOriginSetting, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsEnabled, readTlsMode, readinessKey, reclaimIntervalMs, recordHeldInstall, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, renewMeshCertificate, replaceUnconstrainedLocalCa, requireProcessMeshCa, resetCatalogRegistryForTests, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, retirePreviousLocalCa, revertToGeneratedCertificate, revisionWeightUrl, revokeMeshCertificate, runHubAddonBoot, runNpm, runObservedCommand, runWithCapCallContext, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setHuggingFaceReachabilityObserver, setNodeEventInterest, setPlatformKeychainKey, setProcessAgentHttpsNames, setProcessMeshCertificateRegistry, setProcessMeshPeerTransportLookup, setProcessMeshTlsEnabler, setProcessMeshTlsListenerState, setWrapperActive, shouldReclaim, signMembershipProof, signPairingProof, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storageOrchestratorRecordKinds, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, systemHostFacts, udsChildLogToWorkerEntry, useStoredUploadedCertificate, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyDeviceLeaf, verifyDeviceSignature, verifyMembershipAnswer, verifyPairingProof, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsEnabled, writeTlsMode };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare function isAnnouncedHubId(value: unknown): value is string;
|
|
2
|
+
export declare const HUB_IDENTITY_FILE: string;
|
|
3
|
+
/** Data-dir-relative path. Beside the mesh CA, so a backup of `tls/` keeps the id. */
|
|
4
|
+
export declare const HUB_IDENTITY_RELATIVE: string;
|
|
5
|
+
export interface HubIdResult {
|
|
6
|
+
/** The hub id, or `null` when the file exists but does not hold one. */
|
|
7
|
+
readonly hubId: string | null;
|
|
8
|
+
/** This call generated the id. */
|
|
9
|
+
readonly created: boolean;
|
|
10
|
+
/** Why there is no id; `null` when there is one. */
|
|
11
|
+
readonly problem: string | null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Read the hub id, generating and persisting it on the first call ever.
|
|
15
|
+
* Never throws. A file at the data root is copied under `tls/` once.
|
|
16
|
+
*/
|
|
17
|
+
export declare function loadOrCreateHubId(dataDir: string): HubIdResult;
|
|
@@ -123,3 +123,5 @@ export { StagingArea } from "./lifecycle/staging-area.js";
|
|
|
123
123
|
export { LifecycleJobEngine } from "./lifecycle/lifecycle-job-engine.js";
|
|
124
124
|
export type { ApplyAddonUpdateFn, EmitFn } from "./lifecycle/lifecycle-job-engine.js";
|
|
125
125
|
export type { TarballFetcher, ExtractFn } from "./lifecycle/staging-area.js";
|
|
126
|
+
export { HUB_IDENTITY_FILE, HUB_IDENTITY_RELATIVE, isAnnouncedHubId, loadOrCreateHubId } from "./hub-identity.js";
|
|
127
|
+
export type { HubIdResult } from "./hub-identity.js";
|
|
@@ -13,6 +13,11 @@ export interface MembershipAnswer {
|
|
|
13
13
|
readonly status: MembershipStatus;
|
|
14
14
|
/** Why the leaf was revoked (`forgotten`, `superseded by pairing`, ...), only when `revoked`. */
|
|
15
15
|
readonly reason?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The hub's announced id, when this hub has one. Signed with the rest of the
|
|
18
|
+
* answer, so an agent paired before the id existed can record it.
|
|
19
|
+
*/
|
|
20
|
+
readonly hubId?: string;
|
|
16
21
|
}
|
|
17
22
|
/** What the agent signs with its leaf key: bound to this node and this nonce only. */
|
|
18
23
|
export declare function membershipProofInput(nodeId: string, nonce: string): Buffer;
|
|
@@ -37,6 +42,8 @@ export interface MembershipResponderDeps {
|
|
|
37
42
|
readonly crl: () => MeshCrl;
|
|
38
43
|
/** The mesh CA's private key (PKCS#8 PEM), `null` while the CA is not ready. */
|
|
39
44
|
readonly caKeyPem: () => string | null;
|
|
45
|
+
/** This hub's announced id, signed into every answer. Absent on a hub that has none. */
|
|
46
|
+
readonly hubId?: () => string | null;
|
|
40
47
|
readonly now?: () => number;
|
|
41
48
|
readonly log?: (message: string, meta: {
|
|
42
49
|
readonly nodeId: string;
|
|
@@ -6,9 +6,11 @@ export interface InstalledPairing {
|
|
|
6
6
|
readonly keyPem: string;
|
|
7
7
|
readonly caCertPem: string;
|
|
8
8
|
};
|
|
9
|
-
/** Host the broker dials (no port: the TLS port is the cluster default). */
|
|
9
|
+
/** Host the broker dials (no port: the TLS port is the cluster default). Never empty. */
|
|
10
10
|
readonly hubAddress: string;
|
|
11
11
|
readonly hubUrl: string;
|
|
12
|
+
/** The hub's announced identity (#494): how this agent finds ITS hub again over mDNS. `null` from a hub that predates it. */
|
|
13
|
+
readonly hubId: string | null;
|
|
12
14
|
}
|
|
13
15
|
/** What the agent's own machine is told, and nobody else (console, 0600 file, local window). */
|
|
14
16
|
export interface LocalPairingSecret {
|
|
@@ -80,6 +82,8 @@ export interface OfferRequest {
|
|
|
80
82
|
readonly commitment: string;
|
|
81
83
|
readonly hubUrl: string;
|
|
82
84
|
readonly hubMeshAddress: string;
|
|
85
|
+
/** The hub's announced identity (#494), covered by the signature; absent from an older hub. */
|
|
86
|
+
readonly hubId?: string;
|
|
83
87
|
/** The offer, signed with the hub CA's KEY: a public CA certificate alone cannot make one. */
|
|
84
88
|
readonly signature: string;
|
|
85
89
|
}
|
|
@@ -131,6 +135,12 @@ export interface AgentPairingPoll {
|
|
|
131
135
|
readonly outcome: PairingOutcome;
|
|
132
136
|
} | null;
|
|
133
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* The host this agent will dial for `address`, or `null` when no other machine could reach it:
|
|
140
|
+
* empty, unspecified (`0.0.0.0`, `::`) or loopback. A pairing that would leave the agent with
|
|
141
|
+
* such an address is refused instead of completing silently (#494).
|
|
142
|
+
*/
|
|
143
|
+
export declare function dialableHubHost(address: string): string | null;
|
|
134
144
|
/** `host:6443` / `[::1]:6443` / `host` → the host, port dropped. */
|
|
135
145
|
export declare function hubHostFromMeshAddress(address: string): string;
|
|
136
146
|
export declare class AgentPairing {
|
|
@@ -63,6 +63,11 @@ export interface HubPairingDeps {
|
|
|
63
63
|
readonly hubNodeId: string;
|
|
64
64
|
readonly hubUrl: () => Promise<string>;
|
|
65
65
|
readonly hubMeshAddress: () => Promise<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The hub's announced identity (`hub-<16 hex>`, #494), given to the agent in the signed offer so
|
|
68
|
+
* it can find this hub again over mDNS. `null` (or absent) offers none.
|
|
69
|
+
*/
|
|
70
|
+
readonly hubId?: () => string | null;
|
|
66
71
|
/** True when `nodeId` is connected to the mesh with a verified certificate. */
|
|
67
72
|
readonly isNodeConnected: (nodeId: string) => boolean;
|
|
68
73
|
/** Node ids the hub already knows (certificates issued, nodes seen), for the case-insensitive collision check. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AgentPairing, hubHostFromMeshAddress, type AgentHello, type AgentPairingDeps, type AgentPairingLocalView, type AgentPairingPoll, type AgentPairingPublicView, type LocalPairingSecret, type PairingRequestContext, type PendingPairingPublic, type InstalledPairing, type OfferAnswer, type OfferRequest, type PairingFailure, type PairingOutcome, type PairingResult } from "./agent-pairing.js";
|
|
1
|
+
export { AgentPairing, dialableHubHost, hubHostFromMeshAddress, type AgentHello, type AgentPairingDeps, type AgentPairingLocalView, type AgentPairingPoll, type AgentPairingPublicView, type LocalPairingSecret, type PairingRequestContext, type PendingPairingPublic, type InstalledPairing, type OfferAnswer, type OfferRequest, type PairingFailure, type PairingOutcome, type PairingResult } from "./agent-pairing.js";
|
|
2
2
|
export { HubPairing, PairingHttpError, type AgentEndpoint, type AgentPairingTransport, type HubPairingDeps, type HubPairingState, type HubPairingView } from "./hub-pairing.js";
|
|
3
3
|
export { computePairingCommitment, computePairingSas, describeCsr, keyFingerprintShort, PAIRING_CODE_DIGITS, isValidAgentNodeId, PAIRING_MAX_CODE_ATTEMPTS, PAIRING_MAX_SESSIONS, PAIRING_PIN_DIGITS, PAIRING_PATHS, PAIRING_PROTOCOL, PAIRING_TTL_MS, signPairingProof, verifyPairingProof, type AgentPairingState, type DescribedCsr, type PairingProofClaims, type PairingSasInput } from "./pairing-protocol.js";
|
|
@@ -100,6 +100,8 @@ export interface PairingOfferClaims {
|
|
|
100
100
|
readonly commitment: string;
|
|
101
101
|
readonly hubUrl: string;
|
|
102
102
|
readonly hubMeshAddress: string;
|
|
103
|
+
/** The hub's announced identity (#494); absent from a hub that predates it. */
|
|
104
|
+
readonly hubId?: string;
|
|
103
105
|
readonly iat: number;
|
|
104
106
|
}
|
|
105
107
|
export declare function signPairingOffer(caKeyPem: string, claims: PairingOfferClaims): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ac as collectSecretMarkerRefs } from "./dist-
|
|
1
|
+
import { ac as collectSecretMarkerRefs } from "./dist-B8dBvJJK.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{rename-composition-block-COaMxshT.mjs → rename-composition-block-C2IbabFp.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dl as errMsg, sl as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-
|
|
1
|
+
import { dl as errMsg, sl as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-B8dBvJJK.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/rename-composition-block.ts
|
|
3
3
|
/**
|
|
4
4
|
* An operator rename of a composed device writes the composition block's
|