@camstack/system 1.2.150 → 1.2.151
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/dist/addon-runner.js +1 -1
- package/dist/addon-runner.mjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.mjs +2 -2
- package/dist/kernel/heap-watch.d.ts +71 -0
- package/dist/{manifest-python-deps-BaVekjRY.js → manifest-python-deps-BqWrDjSN.js} +71 -1
- package/dist/{manifest-python-deps-B5rrxUQv.mjs → manifest-python-deps-DuQ3Uqoq.mjs} +60 -2
- package/package.json +1 -1
package/dist/addon-runner.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_manifest_python_deps = require("./manifest-python-deps-
|
|
2
|
+
const require_manifest_python_deps = require("./manifest-python-deps-BqWrDjSN.js");
|
|
3
3
|
const require_custom_action_registry = require("./custom-action-registry-jY0NOZK8.js");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
node_path = require_chunk.__toESM(node_path);
|
package/dist/addon-runner.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as createUdsLoggerWithControl,
|
|
1
|
+
import { F as createUdsLoggerWithControl, I as LocalChildClient, Pt as RUNNER_RSS_BUDGET_ENV, Wt as startRunnerHeapWatch, bt as resolveAddonClass, i as createUdsAddonContext, it as setWorkerNativeCapsChangeListener, nt as getWorkerNativeCapSnapshot, ot as validateProviderRegistrations, t as installManifestPythonDeps, tt as getWorkerNativeCapProvider, yt as installManifestNativeDeps } from "./manifest-python-deps-DuQ3Uqoq.mjs";
|
|
2
2
|
import { t as CustomActionRegistry } from "./custom-action-registry-F__gp_VX.mjs";
|
|
3
3
|
import { register } from "node:module";
|
|
4
4
|
import * as path$1 from "node:path";
|
package/dist/index.d.ts
CHANGED
|
@@ -46,8 +46,8 @@ export { createFileDataPlaneHandler } from './http/file-data-plane.js';
|
|
|
46
46
|
export { allFamiliesListenHost, applyLanHttp, bindPendingLanHttp, closeLanHttp, DEFAULT_LAN_HTTP_PORT, readLanHttpState, registerLanHttpHandler, } from './http/lan-http-bind.js';
|
|
47
47
|
export type { ReverseProxyOptions } from './http/reverse-proxy.js';
|
|
48
48
|
export { proxyToUpstream } from './http/reverse-proxy.js';
|
|
49
|
-
export type { HeapReclaimer, HeapReclaimOptions, HeapSample, HeapWatchSink, RssBreakdown, RssBudgetOptions, RssBudgetState, RssGrowthShape, RunnerHeapWatchOptions, } from './kernel/heap-watch.js';
|
|
50
|
-
export { buildHeapSample, createV8Reclaimer, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, hubMainRssBudget, describeRss, nextRssBudgetState, parseRssBudgetMb, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, shouldReclaim, startHeapWatch, startRunnerHeapWatch, strandedMb, } from './kernel/heap-watch.js';
|
|
49
|
+
export type { DeferredHeapWatchSink, HeapReclaimer, HeapReclaimOptions, HeapSample, HeapWatchSink, RssBreakdown, RssBudgetOptions, RssBudgetState, RssGrowthShape, RunnerHeapWatchOptions, } from './kernel/heap-watch.js';
|
|
50
|
+
export { buildHeapSample, createDeferredHeapWatchSink, createV8Reclaimer, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_MAIN_HEAP_WATCH_LABEL, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, hubMainRssBudget, describeRss, nextRssBudgetState, parseRssBudgetMb, RSS_BUDGET_REANNOUNCE_MIN_MS, RSS_BUDGET_RELEASE_RATIO, RUNNER_HEAP_WATCH_INTERVAL_MS, RUNNER_RSS_BUDGET_ENV, shouldReclaim, startHeapWatch, startRunnerHeapWatch, strandedMb, } from './kernel/heap-watch.js';
|
|
51
51
|
export type { AddonDataPlaneFacility, DataPlaneSink, } from './kernel/moleculer/addon-data-plane-facility.js';
|
|
52
52
|
export { createAddonDataPlaneFacility } from './kernel/moleculer/addon-data-plane-facility.js';
|
|
53
53
|
export type { ElementState, ElementStatus, } from './lifecycle/lifecycle-state-machine.js';
|
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ require("./builtins/system-config/index.js");
|
|
|
26
26
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
27
27
|
const require_file_data_plane = require("./file-data-plane-DO8KbxCe.js");
|
|
28
28
|
const require_tls$1 = require("./tls-u8QCJCFE.js");
|
|
29
|
-
const require_manifest_python_deps = require("./manifest-python-deps-
|
|
29
|
+
const require_manifest_python_deps = require("./manifest-python-deps-BqWrDjSN.js");
|
|
30
30
|
const require_resource_monitor = require("./resource-monitor-CdnzxBLP.js");
|
|
31
31
|
const require_custom_action_registry = require("./custom-action-registry-jY0NOZK8.js");
|
|
32
32
|
let zod = require("zod");
|
|
@@ -95348,6 +95348,7 @@ exports.HEAP_WATCH_INTERVAL_MS = require_manifest_python_deps.HEAP_WATCH_INTERVA
|
|
|
95348
95348
|
exports.HEAP_WATCH_WARN_RATIO = require_manifest_python_deps.HEAP_WATCH_WARN_RATIO;
|
|
95349
95349
|
exports.HUB_CAP_FWD_ACTION = require_manifest_python_deps.HUB_CAP_FWD_ACTION;
|
|
95350
95350
|
exports.HUB_CAP_FWD_SERVICE = require_manifest_python_deps.HUB_CAP_FWD_SERVICE;
|
|
95351
|
+
exports.HUB_MAIN_HEAP_WATCH_LABEL = require_manifest_python_deps.HUB_MAIN_HEAP_WATCH_LABEL;
|
|
95351
95352
|
exports.HUB_MAIN_RSS_BUDGET_MB = require_manifest_python_deps.HUB_MAIN_RSS_BUDGET_MB;
|
|
95352
95353
|
exports.HUB_RSS_BUDGET_ENV = require_manifest_python_deps.HUB_RSS_BUDGET_ENV;
|
|
95353
95354
|
exports.HubForwarderAddon = require_builtins_hub_forwarder_index.HubForwarderAddon$1;
|
|
@@ -95468,6 +95469,7 @@ exports.createAuthenticatedFileServer = require_file_data_plane.createAuthentica
|
|
|
95468
95469
|
exports.createBroker = createBroker;
|
|
95469
95470
|
exports.createBrokerDeviceManagerApi = require_manifest_python_deps.createBrokerDeviceManagerApi;
|
|
95470
95471
|
exports.createCoreCapService = createCoreCapService;
|
|
95472
|
+
exports.createDeferredHeapWatchSink = require_manifest_python_deps.createDeferredHeapWatchSink;
|
|
95471
95473
|
exports.createDoorSettingsView = createDoorSettingsView;
|
|
95472
95474
|
exports.createFileDataPlaneHandler = require_file_data_plane.createFileDataPlaneHandler;
|
|
95473
95475
|
exports.createHubCapForwardService = require_manifest_python_deps.createHubCapForwardService;
|
package/dist/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ import "./builtins/system-config/index.mjs";
|
|
|
25
25
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
26
26
|
import { a as parseTokenizedUrl, c as collectModelFiles, d as downloadModel, f as ensureModel, h as isModelDownloaded, i as parseRangeHeader, l as deleteModelFromDisk, m as getModelFilePath, n as contentTypeFor, o as resolveFilePath, p as fetchJson, r as createAuthenticatedFileServer, s as ModelDownloadService, t as createFileDataPlaneHandler, u as downloadFile } from "./file-data-plane-BhKdxJgf.mjs";
|
|
27
27
|
import { C as registerLanHttpHandler, S as readLanHttpState, _ as DEFAULT_LAN_HTTP_PORT, a as writeTlsMode, b as bindPendingLanHttp, c as loadTlsCert, d as collectCertIdentity, f as CA_VALIDITY_DAYS, g as evaluateExistingCert, h as SERVER_AUTH_OID, i as writeExtraSans, l as reissueTlsLeaf, m as MAX_LEAF_VALIDITY_DAYS, n as readTlsAccessStatus, o as validateUploadedTls, p as LEAF_RENEWAL_WINDOW_DAYS, r as readTlsMode, s as ensureTlsCert, t as readExtraSans, u as CA_COMMON_NAME, v as allFamiliesListenHost, x as closeLanHttp, y as applyLanHttp } from "./tls-CQhPGSJm.mjs";
|
|
28
|
-
import { $ as buildUdsNativeCapProxy, A as createParentUnownedCallHandler, At as
|
|
28
|
+
import { $ as buildUdsNativeCapProxy, A as createParentUnownedCallHandler, At as HUB_RSS_BUDGET_ENV, B as AGENT_CAP_FWD_SERVICE, Bt as nextRssBudgetState, C as brokerTransportLink, Ct as createAddonDataPlaneFacility, D as HUB_CAP_FWD_ACTION, Dt as HEAP_WATCH_WARN_RATIO, E as localProviderLink, Et as HEAP_WATCH_INTERVAL_MS, F as createUdsLoggerWithControl, Ft as buildHeapSample, G as createLocalTransport, Gt as strandedMb, H as CapRouteError, Ht as shouldReclaim, I as LocalChildClient, It as createDeferredHeapWatchSink, J as SocketChannel, K as UdsLocalTransportClient, L as LocalChildRegistry, Lt as createV8Reclaimer, M as createUdsEventBus, Mt as RSS_BUDGET_RELEASE_RATIO, N as udsChildLogToWorkerEntry, Nt as RUNNER_HEAP_WATCH_INTERVAL_MS, O as HUB_CAP_FWD_SERVICE, Ot as HUB_MAIN_HEAP_WATCH_LABEL, P as createUdsLogger, Pt as RUNNER_RSS_BUDGET_ENV, Q as buildNativeCapProxy, R as UDS_NO_ROUTE_PREFIX, Rt as describeRss, S as brokerCallForCap, St as runNpm, T as ipcParentLink, Tt as HEAP_RECLAIM_TRIGGER_MB, U as classifyCapRoute, Ut as startHeapWatch, V as CapRouteResolver, Vt as parseRssBudgetMb, W as callWithServiceDiscovery, Wt as startRunnerHeapWatch, X as FrameDecoder, Y as localEndpointPath, Z as encodeFrame, _ as createKernelHwAccel, _t as CapabilityUnavailableError, a as getWorkerDeviceRegistry, at as createAddonService, b as __resetCapUsageRegistryForTests, bt as resolveAddonClass, c as setHubConnected, ct as capActionName, d as getBrokerEventBus, dt as capServiceName, et as createBrokerDeviceManagerApi, f as getMoleculerEventStats, ft as parseCapAction, g as AddonDepsManager, gt as CapabilityHandle, h as subscribePassthrough, ht as DeviceRegistry, i as createUdsAddonContext, j as createUdsEventBridge, jt as RSS_BUDGET_REANNOUNCE_MIN_MS, k as createHubCapForwardService, kt as HUB_MAIN_RSS_BUDGET_MB, l as EVENT_TOPIC_PREFIX, lt as capActionSuffix, m as setNodeEventInterest, mt as serializeTypedArrays, n as adaptBrokerToCluster, o as getOrInitReadinessRegistry, ot as validateProviderRegistrations, p as registerEventBusService, pt as deserializeTypedArrays, q as UdsLocalTransportServer, r as createAddonContext, rt as mountNativeCapService, s as getOrInitReadinessRegistryForClient, st as NATIVE_PROVIDER_SERVICE_INFIX, t as installManifestPythonDeps, u as clusterEventTopic, ut as capBareAction, v as resolveHwAccel, vt as copyBundledNativeModules, w as buildLinkChain, wt as HEAP_RECLAIM_MIN_INTERVAL_MS, x as getCapUsageRegistry, xt as resolveNpmInvocation, y as CapUsageRegistry, yt as installManifestNativeDeps, z as AGENT_CAP_FWD_ACTION, zt as hubMainRssBudget } from "./manifest-python-deps-DuQ3Uqoq.mjs";
|
|
29
29
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-BWmQ5i-o.mjs";
|
|
30
30
|
import { t as CustomActionRegistry } from "./custom-action-registry-F__gp_VX.mjs";
|
|
31
31
|
import { z } from "zod";
|
|
@@ -95283,4 +95283,4 @@ var LifecycleJobEngine = class {
|
|
|
95283
95283
|
}
|
|
95284
95284
|
};
|
|
95285
95285
|
//#endregion
|
|
95286
|
-
export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_MB, HEAP_WATCH_INTERVAL_MS, HEAP_WATCH_WARN_RATIO, HUB_CAP_FWD_ACTION, HUB_CAP_FWD_SERVICE, HUB_MAIN_RSS_BUDGET_MB, HUB_RSS_BUDGET_ENV, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_LEAF_VALIDITY_DAYS, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, PYTHON_VERSION, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, 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, ReplEngine, RingBuffer, SERVER_AUTH_OID, ScopedLogger, ScopedTokenManager, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, allFamiliesListenHost, applyLanHttp, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildStorageLocationRegistry, buildUdsNativeCapProxy, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonService, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCoreCapService, createDoorSettingsView, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createKernelHwAccel, createLocalTransport, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatLogLine, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readLanHttpState, readPendingRestart, readTlsAccessStatus, readTlsMode, readinessKey, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, serializeTypedArrays, setHubConnected, setNodeEventInterest, shouldReclaim, startHeapWatch, startRunnerHeapWatch, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|
|
95286
|
+
export { AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_READINESS_SERVICE_NAME, ALL_CAPABILITY_DEFINITIONS, AddonApiFactory, AddonDepsManager, AddonEngineManager, AddonHealthMonitor, AddonInstaller, AddonLoader, AddonManifest, AddonRouteRegistry, AlertCenterAddon, ApiKeyManager, AuthManager, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REJECTED_EXIT_CODE, CORE_CAP_SERVICE_NAME, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, ConfigManager, ConfigStore, ConsoleDestination, ConsoleLoggingAddon, CoreBlocksAddon, CustomActionRegistry, DEFAULT_DATA_PATH, DEFAULT_LAN_HTTP_PORT, DEFAULT_LOG_LEVEL, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, DeviceManagerAddon, DeviceRegistry, DeviceStore, EVENT_TOPIC_PREFIX, EngineManagerResolver, EventBus, FeatureManager, FilesystemStorageAddon, FilesystemStorageProvider, FrameDecoder, FsStorageBackend, HEALTH_MONITOR_GRACE_PERIOD_MS, HEALTH_MONITOR_RETRY_INTERVALS_MS, HEALTH_MONITOR_TICK_MS, HEAP_RECLAIM_MIN_INTERVAL_MS, HEAP_RECLAIM_TRIGGER_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, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JobJournal, LEAF_RENEWAL_WINDOW_DAYS, LifecycleJobEngine, LifecycleStateMachine, LivenessMonitorAddon, LocalAuthAddon, LocalChildClient, LocalChildRegistry, LogManager, LogRingBuffer, LoggingGate, LokiDestination, LokiLoggingAddon, MAX_LEAF_VALIDITY_DAYS, METHOD_ACCESS_MAP, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, PYTHON_VERSION, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, 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, ReplEngine, RingBuffer, SERVER_AUTH_OID, ScopedLogger, ScopedTokenManager, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, ToastService, UDS_NO_ROUTE_PREFIX, UdsLocalTransportClient, UdsLocalTransportServer, UserManager, WinstonDestination, WinstonLoggingAddon, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, allFamiliesListenHost, applyLanHttp, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildStorageLocationRegistry, buildUdsNativeCapProxy, builderMountedCapNames, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionName, capActionSuffix, capBareAction, capServiceName, classifyAddonDir, classifyCapRoute, clearPendingRestart, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonService, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createKernelHwAccel, createLocalTransport, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, encodeFrame, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, fetchJson, findInPath, formatLogLine, getBrokerEventBus, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isInfraCapability, isModelDownloaded, isSourceNewer, isolatedBuiltinPhase, loadTlsCert, localEndpointPath, localProviderLink, mountNativeCapService, nextRssBudgetState, parseCapAction, parseRangeHeader, parseRssBudgetMb, parseTokenizedUrl, partitionIsolatedBuiltinIds, proxyToUpstream, quarantineAddonResidue, readExtraSans, readLanHttpState, readPendingRestart, readTlsAccessStatus, readTlsMode, readinessKey, registerEventBusService, registerLanHttpHandler, reissueTlsLeaf, resolveFilePath, resolveHwAccel, resolveNpmInvocation, runHubAddonBoot, runNpm, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, serializeTypedArrays, setHubConnected, setNodeEventInterest, shouldReclaim, startHeapWatch, startRunnerHeapWatch, strandedMb, stripCamstackDeps, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What hub-main calls itself in a `[mem]` line.
|
|
3
|
+
*
|
|
4
|
+
* ## Why not `hub/main`
|
|
5
|
+
*
|
|
6
|
+
* A runner's label is its nodeId, and a nodeId is built in exactly one place as
|
|
7
|
+
* `` `${parentNodeId}/${runnerId}` `` (`kernel/moleculer/addon-runner.ts:222`) —
|
|
8
|
+
* so every runner label contains a `/` and every hub-local one is `hub/<runner>`.
|
|
9
|
+
* A label with NO slash therefore cannot be produced by that rule, which makes
|
|
10
|
+
* `hub-main` unambiguous by construction rather than by convention: no future
|
|
11
|
+
* addon, group or agent can ever claim it.
|
|
12
|
+
*
|
|
13
|
+
* It also sorts where it belongs. `-` (0x2D) precedes `/` (0x2F), so a sorted
|
|
14
|
+
* `[mem]` census puts `hub-main` immediately before `hub/decoder`,
|
|
15
|
+
* `hub/recorder`, `hub/stream-broker` — the composition root first, then the
|
|
16
|
+
* runners it forked. `hub/main` would sort into the middle of its own children
|
|
17
|
+
* and would be one addon id away from a collision.
|
|
18
|
+
*
|
|
19
|
+
* And it is the name the rest of this repository already uses — the docblocks,
|
|
20
|
+
* {@link HUB_MAIN_RSS_BUDGET_MB}, {@link HUB_RSS_BUDGET_ENV}, every ADR. A log
|
|
21
|
+
* label that disagreed with the prose would be a second vocabulary for one
|
|
22
|
+
* process, which is the exact failure this telemetry exists to remove.
|
|
23
|
+
*/
|
|
24
|
+
export declare const HUB_MAIN_HEAP_WATCH_LABEL = "hub-main";
|
|
1
25
|
/** Heartbeat period. Slow enough to be free, fast enough that the sample before
|
|
2
26
|
* a fatal is recent. */
|
|
3
27
|
export declare const HEAP_WATCH_INTERVAL_MS = 60000;
|
|
@@ -201,6 +225,53 @@ export interface HeapWatchSink {
|
|
|
201
225
|
readonly info: (line: string) => void;
|
|
202
226
|
readonly warn: (line: string) => void;
|
|
203
227
|
}
|
|
228
|
+
/**
|
|
229
|
+
* A sink that starts on stdout and is repointed at the real logger the moment
|
|
230
|
+
* one exists.
|
|
231
|
+
*
|
|
232
|
+
* ## The gap this closes
|
|
233
|
+
*
|
|
234
|
+
* hub-main has had this heartbeat since 2026-08-02, started from
|
|
235
|
+
* `server/backend/src/main.ts` as the very first statement of `bootstrap()`.
|
|
236
|
+
* It was never wired to the LOG MANAGER, only to {@link consoleSink} — i.e. to
|
|
237
|
+
* `console.log`, which is not a destination. Every forked runner passes a sink
|
|
238
|
+
* backed by its `IScopedLogger` (`kernel/moleculer/addon-runner.ts:729`), so a
|
|
239
|
+
* runner's `[mem]` line fans out to the buffer, the console destination, the
|
|
240
|
+
* rotated file AND the Loki destination; hub-main's went to a file descriptor
|
|
241
|
+
* and nowhere else. Result: 42 hours of Loki with a `[mem]` line for every
|
|
242
|
+
* runner in the cluster and not one for the largest process in it, whose growth
|
|
243
|
+
* to ~4.8 GB was consequently never trended, only inferred.
|
|
244
|
+
*
|
|
245
|
+
* ## Why late binding rather than moving the call
|
|
246
|
+
*
|
|
247
|
+
* The heartbeat cannot simply be started later. Its whole point is that a
|
|
248
|
+
* process which dies early still leaves samples — the fatal that motivated it
|
|
249
|
+
* landed nine seconds after a viewer connected — and `LoggingService` does not
|
|
250
|
+
* exist until the Fastify app has been booted, hundreds of lines into
|
|
251
|
+
* `bootstrap()`. So the sink is handed over instead of the start being delayed:
|
|
252
|
+
* boot lines keep going to stdout exactly as they do today, and every line from
|
|
253
|
+
* the handover on enters the log manager.
|
|
254
|
+
*
|
|
255
|
+
* Nothing before the handover is lost from Loki by accident, only by design:
|
|
256
|
+
* `LogManager.addDestination` replays its ring buffer into a destination that
|
|
257
|
+
* registers late, so the heartbeat lines emitted between the handover and the
|
|
258
|
+
* Loki addon's own registration still ship.
|
|
259
|
+
*/
|
|
260
|
+
export interface DeferredHeapWatchSink {
|
|
261
|
+
/** Hand this to {@link startHeapWatch}. */
|
|
262
|
+
readonly sink: HeapWatchSink;
|
|
263
|
+
/** Point every SUBSEQUENT line at `target`. Last call wins. */
|
|
264
|
+
readonly attach: (target: HeapWatchSink) => void;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Build a {@link DeferredHeapWatchSink}.
|
|
268
|
+
*
|
|
269
|
+
* The handover announces itself, once, through the NEW target: that line is the
|
|
270
|
+
* only in-band evidence that hub-main's telemetry actually reached the log
|
|
271
|
+
* manager on a given boot. Its absence from Loki means the wiring is broken —
|
|
272
|
+
* which is precisely the state this module was in, undetected, for 42 hours.
|
|
273
|
+
*/
|
|
274
|
+
export declare function createDeferredHeapWatchSink(label?: string, fallback?: HeapWatchSink): DeferredHeapWatchSink;
|
|
204
275
|
/**
|
|
205
276
|
* RSS the process is holding but not using.
|
|
206
277
|
*
|
|
@@ -45,6 +45,13 @@ let _trpc_client = require("@trpc/client");
|
|
|
45
45
|
* `addon-runner.ts`) — hub-main, the one process that actually OOMs, was the
|
|
46
46
|
* one process with no telemetry at all.
|
|
47
47
|
*
|
|
48
|
+
* **And for 27 days after that it still had none where anyone could read it.**
|
|
49
|
+
* The watch was started correctly and passed NO SINK, so it fell back to
|
|
50
|
+
* `console.log`, which is not an `ILogDestination` — 42 hours of Loki carried a
|
|
51
|
+
* line for every runner and none for hub-main. Read
|
|
52
|
+
* {@link createDeferredHeapWatchSink} before trusting anything below: a
|
|
53
|
+
* heartbeat with no destination is indistinguishable from no heartbeat (D285).
|
|
54
|
+
*
|
|
48
55
|
* ## What it gives
|
|
49
56
|
*
|
|
50
57
|
* A heartbeat carrying the numbers that separate the two possible stories, and
|
|
@@ -96,6 +103,30 @@ let _trpc_client = require("@trpc/client");
|
|
|
96
103
|
* `HEAP_RECLAIM_MIN_INTERVAL_MS`. The alternative, measured, is a ratchet to
|
|
97
104
|
* 7.8GB and the OOM that ends it.
|
|
98
105
|
*/
|
|
106
|
+
/**
|
|
107
|
+
* What hub-main calls itself in a `[mem]` line.
|
|
108
|
+
*
|
|
109
|
+
* ## Why not `hub/main`
|
|
110
|
+
*
|
|
111
|
+
* A runner's label is its nodeId, and a nodeId is built in exactly one place as
|
|
112
|
+
* `` `${parentNodeId}/${runnerId}` `` (`kernel/moleculer/addon-runner.ts:222`) —
|
|
113
|
+
* so every runner label contains a `/` and every hub-local one is `hub/<runner>`.
|
|
114
|
+
* A label with NO slash therefore cannot be produced by that rule, which makes
|
|
115
|
+
* `hub-main` unambiguous by construction rather than by convention: no future
|
|
116
|
+
* addon, group or agent can ever claim it.
|
|
117
|
+
*
|
|
118
|
+
* It also sorts where it belongs. `-` (0x2D) precedes `/` (0x2F), so a sorted
|
|
119
|
+
* `[mem]` census puts `hub-main` immediately before `hub/decoder`,
|
|
120
|
+
* `hub/recorder`, `hub/stream-broker` — the composition root first, then the
|
|
121
|
+
* runners it forked. `hub/main` would sort into the middle of its own children
|
|
122
|
+
* and would be one addon id away from a collision.
|
|
123
|
+
*
|
|
124
|
+
* And it is the name the rest of this repository already uses — the docblocks,
|
|
125
|
+
* {@link HUB_MAIN_RSS_BUDGET_MB}, {@link HUB_RSS_BUDGET_ENV}, every ADR. A log
|
|
126
|
+
* label that disagreed with the prose would be a second vocabulary for one
|
|
127
|
+
* process, which is the exact failure this telemetry exists to remove.
|
|
128
|
+
*/
|
|
129
|
+
var HUB_MAIN_HEAP_WATCH_LABEL = "hub-main";
|
|
99
130
|
/** Heartbeat period. Slow enough to be free, fast enough that the sample before
|
|
100
131
|
* a fatal is recent. */
|
|
101
132
|
var HEAP_WATCH_INTERVAL_MS = 6e4;
|
|
@@ -261,6 +292,33 @@ var consoleSink = {
|
|
|
261
292
|
warn: (line) => console.warn(line)
|
|
262
293
|
};
|
|
263
294
|
/**
|
|
295
|
+
* Build a {@link DeferredHeapWatchSink}.
|
|
296
|
+
*
|
|
297
|
+
* The handover announces itself, once, through the NEW target: that line is the
|
|
298
|
+
* only in-band evidence that hub-main's telemetry actually reached the log
|
|
299
|
+
* manager on a given boot. Its absence from Loki means the wiring is broken —
|
|
300
|
+
* which is precisely the state this module was in, undetected, for 42 hours.
|
|
301
|
+
*/
|
|
302
|
+
function createDeferredHeapWatchSink(label = HUB_MAIN_HEAP_WATCH_LABEL, fallback = consoleSink) {
|
|
303
|
+
let target = fallback;
|
|
304
|
+
const sink = {
|
|
305
|
+
info: (line) => {
|
|
306
|
+
target.info(line);
|
|
307
|
+
},
|
|
308
|
+
warn: (line) => {
|
|
309
|
+
target.warn(line);
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
const attach = (next) => {
|
|
313
|
+
target = next;
|
|
314
|
+
next.info(`[mem] ${label} heartbeat attached to the log manager — earlier lines went to stdout only and are not in the log buffer, the rotated file or Loki.`);
|
|
315
|
+
};
|
|
316
|
+
return {
|
|
317
|
+
sink,
|
|
318
|
+
attach
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
264
322
|
* RSS the process is holding but not using.
|
|
265
323
|
*
|
|
266
324
|
* The subtrahend is heapUSED, not heapTotal, deliberately: the pages V8
|
|
@@ -400,7 +458,7 @@ function format(label, s, loop, budgetMb) {
|
|
|
400
458
|
* `unref`ed so it can never hold the process open, and every read is wrapped:
|
|
401
459
|
* a diagnostic that can crash the process it watches is worse than none.
|
|
402
460
|
*/
|
|
403
|
-
function startHeapWatch(label =
|
|
461
|
+
function startHeapWatch(label = HUB_MAIN_HEAP_WATCH_LABEL, sink = consoleSink, intervalMs = HEAP_WATCH_INTERVAL_MS, reclaimOptions, loopDelay = createLoopDelayMeter(), execArgv = process.execArgv, announceCeilingOrigin = true, rssBudget) {
|
|
404
462
|
const readMemory = reclaimOptions?.readMemory ?? (() => process.memoryUsage());
|
|
405
463
|
const now = reclaimOptions?.now ?? (() => Date.now());
|
|
406
464
|
const triggerMb = reclaimOptions?.triggerMb ?? 1024;
|
|
@@ -8688,6 +8746,12 @@ Object.defineProperty(exports, "HUB_CAP_FWD_SERVICE", {
|
|
|
8688
8746
|
return HUB_CAP_FWD_SERVICE;
|
|
8689
8747
|
}
|
|
8690
8748
|
});
|
|
8749
|
+
Object.defineProperty(exports, "HUB_MAIN_HEAP_WATCH_LABEL", {
|
|
8750
|
+
enumerable: true,
|
|
8751
|
+
get: function() {
|
|
8752
|
+
return HUB_MAIN_HEAP_WATCH_LABEL;
|
|
8753
|
+
}
|
|
8754
|
+
});
|
|
8691
8755
|
Object.defineProperty(exports, "HUB_MAIN_RSS_BUDGET_MB", {
|
|
8692
8756
|
enumerable: true,
|
|
8693
8757
|
get: function() {
|
|
@@ -8886,6 +8950,12 @@ Object.defineProperty(exports, "createBrokerDeviceManagerApi", {
|
|
|
8886
8950
|
return createBrokerDeviceManagerApi;
|
|
8887
8951
|
}
|
|
8888
8952
|
});
|
|
8953
|
+
Object.defineProperty(exports, "createDeferredHeapWatchSink", {
|
|
8954
|
+
enumerable: true,
|
|
8955
|
+
get: function() {
|
|
8956
|
+
return createDeferredHeapWatchSink;
|
|
8957
|
+
}
|
|
8958
|
+
});
|
|
8889
8959
|
Object.defineProperty(exports, "createHubCapForwardService", {
|
|
8890
8960
|
enumerable: true,
|
|
8891
8961
|
get: function() {
|
|
@@ -41,6 +41,13 @@ import { TRPCClientError, createTRPCClient } from "@trpc/client";
|
|
|
41
41
|
* `addon-runner.ts`) — hub-main, the one process that actually OOMs, was the
|
|
42
42
|
* one process with no telemetry at all.
|
|
43
43
|
*
|
|
44
|
+
* **And for 27 days after that it still had none where anyone could read it.**
|
|
45
|
+
* The watch was started correctly and passed NO SINK, so it fell back to
|
|
46
|
+
* `console.log`, which is not an `ILogDestination` — 42 hours of Loki carried a
|
|
47
|
+
* line for every runner and none for hub-main. Read
|
|
48
|
+
* {@link createDeferredHeapWatchSink} before trusting anything below: a
|
|
49
|
+
* heartbeat with no destination is indistinguishable from no heartbeat (D285).
|
|
50
|
+
*
|
|
44
51
|
* ## What it gives
|
|
45
52
|
*
|
|
46
53
|
* A heartbeat carrying the numbers that separate the two possible stories, and
|
|
@@ -92,6 +99,30 @@ import { TRPCClientError, createTRPCClient } from "@trpc/client";
|
|
|
92
99
|
* `HEAP_RECLAIM_MIN_INTERVAL_MS`. The alternative, measured, is a ratchet to
|
|
93
100
|
* 7.8GB and the OOM that ends it.
|
|
94
101
|
*/
|
|
102
|
+
/**
|
|
103
|
+
* What hub-main calls itself in a `[mem]` line.
|
|
104
|
+
*
|
|
105
|
+
* ## Why not `hub/main`
|
|
106
|
+
*
|
|
107
|
+
* A runner's label is its nodeId, and a nodeId is built in exactly one place as
|
|
108
|
+
* `` `${parentNodeId}/${runnerId}` `` (`kernel/moleculer/addon-runner.ts:222`) —
|
|
109
|
+
* so every runner label contains a `/` and every hub-local one is `hub/<runner>`.
|
|
110
|
+
* A label with NO slash therefore cannot be produced by that rule, which makes
|
|
111
|
+
* `hub-main` unambiguous by construction rather than by convention: no future
|
|
112
|
+
* addon, group or agent can ever claim it.
|
|
113
|
+
*
|
|
114
|
+
* It also sorts where it belongs. `-` (0x2D) precedes `/` (0x2F), so a sorted
|
|
115
|
+
* `[mem]` census puts `hub-main` immediately before `hub/decoder`,
|
|
116
|
+
* `hub/recorder`, `hub/stream-broker` — the composition root first, then the
|
|
117
|
+
* runners it forked. `hub/main` would sort into the middle of its own children
|
|
118
|
+
* and would be one addon id away from a collision.
|
|
119
|
+
*
|
|
120
|
+
* And it is the name the rest of this repository already uses — the docblocks,
|
|
121
|
+
* {@link HUB_MAIN_RSS_BUDGET_MB}, {@link HUB_RSS_BUDGET_ENV}, every ADR. A log
|
|
122
|
+
* label that disagreed with the prose would be a second vocabulary for one
|
|
123
|
+
* process, which is the exact failure this telemetry exists to remove.
|
|
124
|
+
*/
|
|
125
|
+
var HUB_MAIN_HEAP_WATCH_LABEL = "hub-main";
|
|
95
126
|
/** Heartbeat period. Slow enough to be free, fast enough that the sample before
|
|
96
127
|
* a fatal is recent. */
|
|
97
128
|
var HEAP_WATCH_INTERVAL_MS = 6e4;
|
|
@@ -257,6 +288,33 @@ var consoleSink = {
|
|
|
257
288
|
warn: (line) => console.warn(line)
|
|
258
289
|
};
|
|
259
290
|
/**
|
|
291
|
+
* Build a {@link DeferredHeapWatchSink}.
|
|
292
|
+
*
|
|
293
|
+
* The handover announces itself, once, through the NEW target: that line is the
|
|
294
|
+
* only in-band evidence that hub-main's telemetry actually reached the log
|
|
295
|
+
* manager on a given boot. Its absence from Loki means the wiring is broken —
|
|
296
|
+
* which is precisely the state this module was in, undetected, for 42 hours.
|
|
297
|
+
*/
|
|
298
|
+
function createDeferredHeapWatchSink(label = HUB_MAIN_HEAP_WATCH_LABEL, fallback = consoleSink) {
|
|
299
|
+
let target = fallback;
|
|
300
|
+
const sink = {
|
|
301
|
+
info: (line) => {
|
|
302
|
+
target.info(line);
|
|
303
|
+
},
|
|
304
|
+
warn: (line) => {
|
|
305
|
+
target.warn(line);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
const attach = (next) => {
|
|
309
|
+
target = next;
|
|
310
|
+
next.info(`[mem] ${label} heartbeat attached to the log manager — earlier lines went to stdout only and are not in the log buffer, the rotated file or Loki.`);
|
|
311
|
+
};
|
|
312
|
+
return {
|
|
313
|
+
sink,
|
|
314
|
+
attach
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
260
318
|
* RSS the process is holding but not using.
|
|
261
319
|
*
|
|
262
320
|
* The subtrahend is heapUSED, not heapTotal, deliberately: the pages V8
|
|
@@ -396,7 +454,7 @@ function format(label, s, loop, budgetMb) {
|
|
|
396
454
|
* `unref`ed so it can never hold the process open, and every read is wrapped:
|
|
397
455
|
* a diagnostic that can crash the process it watches is worse than none.
|
|
398
456
|
*/
|
|
399
|
-
function startHeapWatch(label =
|
|
457
|
+
function startHeapWatch(label = HUB_MAIN_HEAP_WATCH_LABEL, sink = consoleSink, intervalMs = HEAP_WATCH_INTERVAL_MS, reclaimOptions, loopDelay = createLoopDelayMeter(), execArgv = process.execArgv, announceCeilingOrigin = true, rssBudget) {
|
|
400
458
|
const readMemory = reclaimOptions?.readMemory ?? (() => process.memoryUsage());
|
|
401
459
|
const now = reclaimOptions?.now ?? (() => Date.now());
|
|
402
460
|
const triggerMb = reclaimOptions?.triggerMb ?? 1024;
|
|
@@ -8582,4 +8640,4 @@ async function installManifestPythonDeps(declaration, addonDir, deps, logger) {
|
|
|
8582
8640
|
await deps.installPythonRequirements(reqAbs);
|
|
8583
8641
|
}
|
|
8584
8642
|
//#endregion
|
|
8585
|
-
export { buildUdsNativeCapProxy as $, createParentUnownedCallHandler as A,
|
|
8643
|
+
export { buildUdsNativeCapProxy as $, createParentUnownedCallHandler as A, HUB_RSS_BUDGET_ENV as At, AGENT_CAP_FWD_SERVICE as B, nextRssBudgetState as Bt, brokerTransportLink as C, createAddonDataPlaneFacility as Ct, HUB_CAP_FWD_ACTION as D, HEAP_WATCH_WARN_RATIO as Dt, localProviderLink as E, HEAP_WATCH_INTERVAL_MS as Et, createUdsLoggerWithControl as F, buildHeapSample as Ft, createLocalTransport as G, strandedMb as Gt, CapRouteError as H, shouldReclaim as Ht, LocalChildClient as I, createDeferredHeapWatchSink as It, SocketChannel as J, UdsLocalTransportClient as K, LocalChildRegistry as L, createV8Reclaimer as Lt, createUdsEventBus as M, RSS_BUDGET_RELEASE_RATIO as Mt, udsChildLogToWorkerEntry as N, RUNNER_HEAP_WATCH_INTERVAL_MS as Nt, HUB_CAP_FWD_SERVICE as O, HUB_MAIN_HEAP_WATCH_LABEL as Ot, createUdsLogger as P, RUNNER_RSS_BUDGET_ENV as Pt, buildNativeCapProxy as Q, UDS_NO_ROUTE_PREFIX as R, describeRss as Rt, brokerCallForCap as S, runNpm as St, ipcParentLink as T, HEAP_RECLAIM_TRIGGER_MB as Tt, classifyCapRoute as U, startHeapWatch as Ut, CapRouteResolver as V, parseRssBudgetMb as Vt, callWithServiceDiscovery as W, startRunnerHeapWatch as Wt, FrameDecoder as X, localEndpointPath as Y, encodeFrame as Z, createKernelHwAccel as _, CapabilityUnavailableError as _t, getWorkerDeviceRegistry as a, createAddonService as at, __resetCapUsageRegistryForTests as b, resolveAddonClass as bt, setHubConnected as c, capActionName as ct, getBrokerEventBus as d, capServiceName as dt, createBrokerDeviceManagerApi as et, getMoleculerEventStats as f, parseCapAction as ft, AddonDepsManager as g, CapabilityHandle as gt, subscribePassthrough as h, DeviceRegistry as ht, createUdsAddonContext as i, setWorkerNativeCapsChangeListener as it, createUdsEventBridge as j, RSS_BUDGET_REANNOUNCE_MIN_MS as jt, createHubCapForwardService as k, HUB_MAIN_RSS_BUDGET_MB as kt, EVENT_TOPIC_PREFIX as l, capActionSuffix as lt, setNodeEventInterest as m, serializeTypedArrays as mt, adaptBrokerToCluster as n, getWorkerNativeCapSnapshot as nt, getOrInitReadinessRegistry as o, validateProviderRegistrations as ot, registerEventBusService as p, deserializeTypedArrays as pt, UdsLocalTransportServer as q, createAddonContext as r, mountNativeCapService as rt, getOrInitReadinessRegistryForClient as s, NATIVE_PROVIDER_SERVICE_INFIX as st, installManifestPythonDeps as t, getWorkerNativeCapProvider as tt, clusterEventTopic as u, capBareAction as ut, resolveHwAccel as v, copyBundledNativeModules as vt, buildLinkChain as w, HEAP_RECLAIM_MIN_INTERVAL_MS as wt, getCapUsageRegistry as x, resolveNpmInvocation as xt, CapUsageRegistry as y, installManifestNativeDeps as yt, AGENT_CAP_FWD_ACTION as z, hubMainRssBudget as zt };
|