@camstack/system 1.2.392 → 1.2.393
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/addon-utils.js +1 -1
- package/dist/addon-utils.mjs +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/dist/builtins/alerts/alerts.addon.js +1 -1
- package/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/dist/builtins/calendars/calendars.addon.js +1 -1
- package/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/dist/builtins/hub-forwarder/index.js +1 -1
- package/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/dist/builtins/keychain/index.js +3 -3
- package/dist/builtins/keychain/index.mjs +3 -3
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/dist/builtins/local-network/local-network.addon.js +1 -1
- package/dist/builtins/local-network/local-network.addon.mjs +1 -1
- package/dist/builtins/loki-logging/index.js +1 -1
- package/dist/builtins/loki-logging/index.mjs +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/dist/builtins/platform-probe/index.js +1 -1
- package/dist/builtins/platform-probe/index.mjs +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/dist/builtins/snapshot/index.js +1 -1
- package/dist/builtins/snapshot/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +0 -0
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +0 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/dist/builtins/system-config/system-config.addon.js +2 -2
- package/dist/builtins/system-config/system-config.addon.mjs +283 -283
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{child-cap-dispatch-x-onDDiV.mjs → child-cap-dispatch-BmNpRe0Y.mjs} +12 -7
- package/dist/{child-cap-dispatch-Nx-lrlHR.js → child-cap-dispatch-jQ61bSnU.js} +12 -7
- package/dist/{composition-sources-R8TskGSV.mjs → composition-sources-CmcKAYMz.mjs} +1 -1
- package/dist/{composition-sources-LUJsW0AQ.js → composition-sources-YkkhpPDx.js} +1 -1
- package/dist/{constants-DMvAcbbP.mjs → constants-Ca1v1Sdn.mjs} +1 -1
- package/dist/{constants-D4lxxip7.js → constants-DyC3WyXE.js} +1 -1
- package/dist/{dist-byg8IP4Q.mjs → dist-BIc6o_mz.mjs} +91 -1
- package/dist/{dist-XTkzsnz-.js → dist-D_jdr1G9.js} +96 -0
- package/dist/{event-loop-stall-monitor-DPFghEFw.js → event-loop-stall-monitor-DXZb28pF.js} +1 -1
- package/dist/{event-loop-stall-monitor-TG8UcdY2.mjs → event-loop-stall-monitor-r2ZBISpC.mjs} +1 -1
- package/dist/index.js +54 -6
- package/dist/index.mjs +54 -7
- package/dist/{jwt-signing-key-DNBxSN5p.mjs → jwt-signing-key-BtfOMVyB.mjs} +1 -1
- package/dist/{jwt-signing-key-CD87HrHH.js → jwt-signing-key-CQHHsrOf.js} +1 -1
- package/dist/kernel/index.d.ts +1 -0
- package/dist/kernel/inference/inference-resolver.d.ts +10 -5
- package/dist/kernel/inference/local-python-runtimes.d.ts +2 -0
- package/dist/{restore-archive-bvYTsnvp.js → restore-archive-BQSveGIo.js} +1 -1
- package/dist/{restore-archive-Bmmmyp1M.mjs → restore-archive-CKcdqHk5.mjs} +81 -81
- package/dist/{retired-settings-keys-R9CBo2lY.mjs → retired-settings-keys-5x91Vz3i.mjs} +1 -1
- package/dist/{retired-settings-keys-V0yq5Bm6.js → retired-settings-keys-DoY1sb0U.js} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-D_jdr1G9.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
let node_path = require("node:path");
|
|
9
9
|
node_path = require_chunk.__toESM(node_path);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as logDestinationCapability,
|
|
1
|
+
import { Qt as logDestinationCapability, dr as BaseAddon } from "../../dist-BIc6o_mz.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Er as createEvent, Xr as scrubKnownSecrets, ri as EventCategory$1, tn as maskUrlCredentials } from "./dist-BIc6o_mz.mjs";
|
|
2
2
|
import { a as parseProcStat, i as nodeProcReader } from "./proc-stat-CbC55Kqi.mjs";
|
|
3
3
|
import "./hub-cap-forward-CDiN1p98.mjs";
|
|
4
4
|
import * as crypto$1 from "node:crypto";
|
|
@@ -10821,15 +10821,20 @@ function createKernelHwAccel() {
|
|
|
10821
10821
|
//#region src/kernel/inference/inference-resolver.ts
|
|
10822
10822
|
/**
|
|
10823
10823
|
* Map the shared platform GPU-vendor probe into the inference `gpu`/`npu` types
|
|
10824
|
-
* the runtime scorer understands. NVIDIA → cuda;
|
|
10825
|
-
* node) → openvino; Apple Silicon
|
|
10826
|
-
* intel-npu. The NPU only bumps the
|
|
10827
|
-
*
|
|
10828
|
-
*
|
|
10824
|
+
* the runtime scorer understands. NVIDIA → cuda; AMD iGPU → WebGPU/OV-CPU;
|
|
10825
|
+
* Intel iGPU (or a bare unknown-vendor render node) → openvino; Apple Silicon
|
|
10826
|
+
* → CoreML/ANE; Intel NPU ("AI Boost") → intel-npu. The NPU only bumps the
|
|
10827
|
+
* score, never changes the openvino winner, but surfacing it lets the TS
|
|
10828
|
+
* hint/UI reflect the accelerator the python pool actually compiles onto
|
|
10829
|
+
* (NPU>GPU>CPU). PURE — unit-tested.
|
|
10830
|
+
*
|
|
10831
|
+
* AMD must win over the `hasRenderNode` fallback: a Phoenix box has a render
|
|
10832
|
+
* node AND `hasAmdGpu`, and classifying it as Intel would offer
|
|
10833
|
+
* `openvino:gpu`/`npu` that do not exist on the host.
|
|
10829
10834
|
*/
|
|
10830
10835
|
function mapSignalsToInferenceHardware(signals) {
|
|
10831
10836
|
return {
|
|
10832
|
-
gpu: signals.hasNvidiaGpu ? { type: "nvidia" } : signals.hasIntelGpu
|
|
10837
|
+
gpu: signals.hasNvidiaGpu ? { type: "nvidia" } : signals.hasAmdGpu ? { type: "amd" } : signals.hasIntelGpu ? { type: "intel" } : signals.hasRenderNode ? { type: "intel" } : null,
|
|
10833
10838
|
npu: signals.platform === "darwin" && signals.arch === "arm64" ? { type: "apple-ane" } : signals.hasIntelNpu ? { type: "intel-npu" } : null,
|
|
10834
10839
|
coral: signals.hasCoral ? { type: "coral-edgetpu" } : null
|
|
10835
10840
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D_jdr1G9.js");
|
|
3
3
|
const require_proc_stat = require("./proc-stat-DL-WUOhl.js");
|
|
4
4
|
require("./hub-cap-forward-W8oEm4ME.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -10824,15 +10824,20 @@ function createKernelHwAccel() {
|
|
|
10824
10824
|
//#region src/kernel/inference/inference-resolver.ts
|
|
10825
10825
|
/**
|
|
10826
10826
|
* Map the shared platform GPU-vendor probe into the inference `gpu`/`npu` types
|
|
10827
|
-
* the runtime scorer understands. NVIDIA → cuda;
|
|
10828
|
-
* node) → openvino; Apple Silicon
|
|
10829
|
-
* intel-npu. The NPU only bumps the
|
|
10830
|
-
*
|
|
10831
|
-
*
|
|
10827
|
+
* the runtime scorer understands. NVIDIA → cuda; AMD iGPU → WebGPU/OV-CPU;
|
|
10828
|
+
* Intel iGPU (or a bare unknown-vendor render node) → openvino; Apple Silicon
|
|
10829
|
+
* → CoreML/ANE; Intel NPU ("AI Boost") → intel-npu. The NPU only bumps the
|
|
10830
|
+
* score, never changes the openvino winner, but surfacing it lets the TS
|
|
10831
|
+
* hint/UI reflect the accelerator the python pool actually compiles onto
|
|
10832
|
+
* (NPU>GPU>CPU). PURE — unit-tested.
|
|
10833
|
+
*
|
|
10834
|
+
* AMD must win over the `hasRenderNode` fallback: a Phoenix box has a render
|
|
10835
|
+
* node AND `hasAmdGpu`, and classifying it as Intel would offer
|
|
10836
|
+
* `openvino:gpu`/`npu` that do not exist on the host.
|
|
10832
10837
|
*/
|
|
10833
10838
|
function mapSignalsToInferenceHardware(signals) {
|
|
10834
10839
|
return {
|
|
10835
|
-
gpu: signals.hasNvidiaGpu ? { type: "nvidia" } : signals.hasIntelGpu
|
|
10840
|
+
gpu: signals.hasNvidiaGpu ? { type: "nvidia" } : signals.hasAmdGpu ? { type: "amd" } : signals.hasIntelGpu ? { type: "intel" } : signals.hasRenderNode ? { type: "intel" } : null,
|
|
10836
10841
|
npu: signals.platform === "darwin" && signals.arch === "arm64" ? { type: "apple-ane" } : signals.hasIntelNpu ? { type: "intel-npu" } : null,
|
|
10837
10842
|
coral: signals.hasCoral ? { type: "coral-edgetpu" } : null
|
|
10838
10843
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { rr as compositionSourceKey, ur as errMsg } from "./dist-BIc6o_mz.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/composition-sources.ts
|
|
3
3
|
/**
|
|
4
4
|
* Describe what a composition reads and writes for SAVE-time validation
|
|
@@ -64588,6 +64588,96 @@ function decodeVectorBase64(encoded) {
|
|
|
64588
64588
|
function vectorDimFromBase64(encoded) {
|
|
64589
64589
|
return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
|
|
64590
64590
|
}
|
|
64591
|
+
var AUTO = {
|
|
64592
|
+
value: "auto",
|
|
64593
|
+
label: "Auto"
|
|
64594
|
+
};
|
|
64595
|
+
var CPU = {
|
|
64596
|
+
value: "cpu",
|
|
64597
|
+
label: "CPU"
|
|
64598
|
+
};
|
|
64599
|
+
var USB = {
|
|
64600
|
+
value: "usb",
|
|
64601
|
+
label: "Coral USB"
|
|
64602
|
+
};
|
|
64603
|
+
var RUNTIMES = [
|
|
64604
|
+
{
|
|
64605
|
+
id: "onnx",
|
|
64606
|
+
supports: () => true,
|
|
64607
|
+
devices: (hw) => {
|
|
64608
|
+
if (!hw) return [CPU];
|
|
64609
|
+
const out = [CPU];
|
|
64610
|
+
if (hw.gpu?.type === "nvidia") out.push({
|
|
64611
|
+
value: "cuda",
|
|
64612
|
+
label: "CUDA"
|
|
64613
|
+
});
|
|
64614
|
+
if (hw.gpu?.type === "amd") out.push({
|
|
64615
|
+
value: "webgpu",
|
|
64616
|
+
label: "WebGPU (AMD iGPU)"
|
|
64617
|
+
});
|
|
64618
|
+
if (hw.npu?.type === "apple-ane") out.push({
|
|
64619
|
+
value: "coreml",
|
|
64620
|
+
label: "CoreML EP"
|
|
64621
|
+
});
|
|
64622
|
+
return out;
|
|
64623
|
+
},
|
|
64624
|
+
defaultDevice: "cpu"
|
|
64625
|
+
},
|
|
64626
|
+
{
|
|
64627
|
+
id: "openvino",
|
|
64628
|
+
supports: (hw) => hw?.arch === "x64" && hw.platform !== "darwin" && (hw.gpu?.type === "intel" || hw.gpu?.type === "amd"),
|
|
64629
|
+
devices: (hw) => {
|
|
64630
|
+
if (!hw) return [AUTO];
|
|
64631
|
+
if (hw.gpu?.type === "amd") return [CPU];
|
|
64632
|
+
const out = [AUTO, CPU];
|
|
64633
|
+
if (hw.gpu?.type === "intel") out.push({
|
|
64634
|
+
value: "gpu",
|
|
64635
|
+
label: "GPU"
|
|
64636
|
+
});
|
|
64637
|
+
if (hw.npu?.type === "intel-npu") out.push({
|
|
64638
|
+
value: "npu",
|
|
64639
|
+
label: "NPU"
|
|
64640
|
+
});
|
|
64641
|
+
return out;
|
|
64642
|
+
},
|
|
64643
|
+
defaultDevice: "auto"
|
|
64644
|
+
},
|
|
64645
|
+
{
|
|
64646
|
+
id: "coreml",
|
|
64647
|
+
supports: (hw) => hw?.platform === "darwin",
|
|
64648
|
+
devices: (hw) => {
|
|
64649
|
+
const all = {
|
|
64650
|
+
value: "all",
|
|
64651
|
+
label: "All (ANE + GPU + CPU)"
|
|
64652
|
+
};
|
|
64653
|
+
if (!hw) return [all];
|
|
64654
|
+
const out = [all];
|
|
64655
|
+
if (hw.npu?.type === "apple-ane") out.push({
|
|
64656
|
+
value: "ane",
|
|
64657
|
+
label: "Apple Neural Engine"
|
|
64658
|
+
});
|
|
64659
|
+
out.push({
|
|
64660
|
+
value: "gpu",
|
|
64661
|
+
label: "GPU"
|
|
64662
|
+
}, CPU);
|
|
64663
|
+
return out;
|
|
64664
|
+
},
|
|
64665
|
+
defaultDevice: "all"
|
|
64666
|
+
},
|
|
64667
|
+
{
|
|
64668
|
+
id: "edgetpu",
|
|
64669
|
+
supports: (hw) => hw?.coral != null,
|
|
64670
|
+
devices: () => [USB],
|
|
64671
|
+
defaultDevice: "usb"
|
|
64672
|
+
}
|
|
64673
|
+
];
|
|
64674
|
+
/**
|
|
64675
|
+
* Returns the list of supported runtime IDs for given hardware.
|
|
64676
|
+
* onnx is always included (universal floor); accelerators added when hw matches.
|
|
64677
|
+
*/
|
|
64678
|
+
function supportedRuntimes(hw) {
|
|
64679
|
+
return RUNTIMES.filter((r) => r.supports(hw)).map((r) => r.id);
|
|
64680
|
+
}
|
|
64591
64681
|
/**
|
|
64592
64682
|
* Scores all applicable inference backends for the given hardware.
|
|
64593
64683
|
*
|
|
@@ -64725,4 +64815,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
64725
64815
|
return out;
|
|
64726
64816
|
}
|
|
64727
64817
|
//#endregion
|
|
64728
|
-
export { buildCapabilityLookup as $,
|
|
64818
|
+
export { buildCapabilityLookup as $, composedDeviceStableId as $n, sleep as $r, logLevelAtMost as $t, METHOD_ACCESS_MAP as A, scopesAllowDeviceCap as An, emitReadiness as Ar, expressionContainsBuiltinCall as At, StorageCleanupJobSchema as B, streamQualityLabel as Bn, makeSecretMarker as Br, isDefaultAppConnectionEndpoint as Bt, FieldClaimModeSchema as C, resolveCoreBlockFiles as Cn, buildSecretRef as Cr, deviceStatusCapability as Ct, LOG_LEVEL_RANK as D, resolveNotificationTapAddress as Dn, customAction as Dr, evaluateCompositionField as Dt, KEYCHAIN_RESET_TRIGGER_ACTOR as E, resolveMethodAuth as En, createEvent as Er, enumerateSchemaFields as Et, RUNTIME_DEFAULTS as F, storageCapability as Fn, isEvent as Fr, gbToBytes as Ft, addonPagesCapability as G, vectorDimFromBase64 as Gn, parseSecretRef as Gr, keychainAdminCapability as Gt, StorageLocationTypeSchema as H, userManagementCapability as Hn, normalizeSecretOwner as Hr, isObjectInput as Ht, RecordingStatusSchema as I, storageMigrationCapability as In, isKeychainStoredField as Ir, hfModelUrl as It, alertsCapability as J, withLocationMode as Jn, resolveSecretMarkers as Jr, legacyModeOf as Jt, addonSettingsCapability as K, vectorIndexDimConflictError as Kn, readinessKey as Kr, keychainCapability as Kt, STORAGE_ACCESS_FALLBACK as L, storageOccupancyCapability as Ln, isSecretClear as Lr, isAppLinkBase as Lt, MODEL_FORMATS as M, settingsStoreCapability as Mn, formatSecretScope as Mr, filesystemBrowseCapability as Mt, MOTION_CLOSE_AFTER_MS as N, siteZoneKey as Nn, hydrateSchema as Nr, foldSnapshotByFunction as Nt, LegacyStorageLocationDefaultSchema as O, runtimeStatePolicyFor as On, defineCustomActions as Or, evictionPolicyOfLocation as Ot, RECORDING_SOURCE_CAMSTACK_ADDON as P, snapshotCapability as Pn, isDeviceConfigCap as Pr, formatMinutes as Pt, batteryCapability as Q, composedDeviceRef as Qn, secretTreeFromSchema as Qr, logDestinationCapability as Qt, STREAM_PROFILE_META as R, storageProviderCapability as Rn, isSecretMarker as Rr, isArrayOutputSchema as Rt, FIRST_LEVEL_MACRO_CLASSES as S, resolveCoreBlockEntry as Sn, asString$1 as Sr, deviceStateCapability as St, HF_REPO as T, resolveLocationMode as Tn, collectZodSecretPaths as Tr, enumerateItemArrayFields as Tt, StorageMigrationJobSchema as U, validateComposition as Un, parseJsonObject as Ur, isVoidInput as Ut, StorageLocationModeSchema as V, supportedRuntimes as Vn, nodePin as Vr, isLocationEnabled as Vt, UserRecordSchema as W, validateCustomAddress as Wn, parseJsonUnknown as Wr, kebabToCamel as Wt, backupCapability as X, buildFfmpegArgs as Xn, scrubKnownSecrets as Xr, localNetworkCapability as Xt, authProviderCapability as Y, COMPOSER_ADDON_ID as Yn, scopeKey as Yr, lifecycleJobSchema as Yt, bareAddonId as Z, cloneStatefulExpressionMemory as Zn, secretTreeFromPaths as Zr, locationIconKey as Zt, DATABASE_SNAPSHOT_TIMEOUT_MS as _, ptzAutotrackCapability as _n, ReadinessTimeoutError as _r, defineExtensionSlotProvider as _t, BatteryStatusSchema as a, metricsProviderCapability as an, disarmRoseMemory as ar, compositionFieldKey as at, DeclaredDevices as b, resolveAppConnections as bn, asJsonObject as br, deviceExtensionCapability as bt, CAP_NAMES_WITH_STATUS as c, normalizeCoreBlockWrite as cn, DeviceRole as cr, coreBlockComposition as ct, CORE_BLOCKS_ADDON_ID as d, objectInputDeclaresRequiredDeviceId as dn, BaseAddon as dr, coreBlocksCapability as dt, toNodeId as ei, looseSchema as en, compositionFeatureEnabled as er, buildStreamParamsConfigSchema as et, CORE_BLOCK_ADDON_PREFIX as f, parseStreamParamsFormPatch as fn, DATAPLANE_SECRET_HEADER as fr, createDeviceExtensionProvider as ft, DATABASE_SNAPSHOT_SUFFIX as g, procedureAuthKey as gn, ReadinessRegistry as gr, decodeVectorBase64 as gt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as h, platformProbeCapability as hn, REDACTED_SECRET as hr, declarationOwnerNodeId as ht, BaseDevice as i, memoizePinnedFfmpeg as in, createStatefulExpressionMemory as ir, composerCapability as it, MINUTES_PER_DAY as j, scoreRuntimes as jn, expandCapMethods as jr, extractNestedAddonId as jt, LocationIconIdSchema as k, scopesAllowAddon as kn, emitDownForOwnedCaps as kr, expandContainer as kt, COMPOSED_ITEM_FIXED_FIELDS as l, normalizeUnit as ln, DeviceType as lr, coreBlockIdFromAddonId as lt, CoreBlockSchema as m, planComposition as mn, DEVICE_STATUS_METHOD as mr, databaseSnapshotCapability as mt, AlertSchema as n, transformSecretWrite as ni, mayReadLocation as nn, compositionSliceKey as nr, cameraGridLayoutCapability as nt, CAMERA_SWITCH_ORDER as o, modeMayWrite as on, toExpressionValue as or, compositionSourceRefs as ot, CalendarPreferencesSchema as p, pickAppLinkHub as pn, DEVICE_SETTINGS_CONTRIBUTION_METHODS as pr, dataStoreProviderCapability as pt, addonWidgetsCapability as q, vectorStoreCapability as qn, resolveCapMount as qr, legacyAutoLinkIds as qt, ApiKeyRecordSchema as r, EventCategory as ri, mayWriteToLocation as rn, compositionSourceKey as rr, checkRoleAddress as rt, CAMSTACK_APP_LINK_ORIGIN as s, motionCapability as sn, DeviceFeature as sr, coreBlockAddonId as st, ALL_CAPABILITY_DEFINITIONS as t, toSecretFieldView as ti, maskUrlCredentials as tn, compositionItemFieldPath as tr, calendarsCapability as tt, COMPOSER_RUNNER_ID as u, objectInputDeclaresAddonId as un, errMsg as ur, coreBlockSourceKind as ut, DAY_NAMES as v, reducePoints as vn, SECRET_CLEAR as vr, deriveBatteryPresence as vt, FieldClaimSchema as w, resolveHubAddressRoles as wn, collectSecretConfigKeys as wr, enumerateInferenceDevices as wt, DeviceStatusSchema as x, resolveBucketMs as xn, asNumber as xr, deviceManagerCapability as xt, DERIVED_CAMERA_SILENCED_CAP_NAMES as y, replacedFieldKeys as yn, WELL_KNOWN_TAB_MAP as yr, describeComposableCaps as yt, ScopedTokenSchema as z, streamCatalogCapability as zn, isSecretMarkerLike as zr, isCollectionArrayMethod as zt };
|
|
@@ -64588,6 +64588,96 @@ function decodeVectorBase64(encoded) {
|
|
|
64588
64588
|
function vectorDimFromBase64(encoded) {
|
|
64589
64589
|
return Math.floor(Buffer.from(encoded, "base64").byteLength / 4);
|
|
64590
64590
|
}
|
|
64591
|
+
var AUTO = {
|
|
64592
|
+
value: "auto",
|
|
64593
|
+
label: "Auto"
|
|
64594
|
+
};
|
|
64595
|
+
var CPU = {
|
|
64596
|
+
value: "cpu",
|
|
64597
|
+
label: "CPU"
|
|
64598
|
+
};
|
|
64599
|
+
var USB = {
|
|
64600
|
+
value: "usb",
|
|
64601
|
+
label: "Coral USB"
|
|
64602
|
+
};
|
|
64603
|
+
var RUNTIMES = [
|
|
64604
|
+
{
|
|
64605
|
+
id: "onnx",
|
|
64606
|
+
supports: () => true,
|
|
64607
|
+
devices: (hw) => {
|
|
64608
|
+
if (!hw) return [CPU];
|
|
64609
|
+
const out = [CPU];
|
|
64610
|
+
if (hw.gpu?.type === "nvidia") out.push({
|
|
64611
|
+
value: "cuda",
|
|
64612
|
+
label: "CUDA"
|
|
64613
|
+
});
|
|
64614
|
+
if (hw.gpu?.type === "amd") out.push({
|
|
64615
|
+
value: "webgpu",
|
|
64616
|
+
label: "WebGPU (AMD iGPU)"
|
|
64617
|
+
});
|
|
64618
|
+
if (hw.npu?.type === "apple-ane") out.push({
|
|
64619
|
+
value: "coreml",
|
|
64620
|
+
label: "CoreML EP"
|
|
64621
|
+
});
|
|
64622
|
+
return out;
|
|
64623
|
+
},
|
|
64624
|
+
defaultDevice: "cpu"
|
|
64625
|
+
},
|
|
64626
|
+
{
|
|
64627
|
+
id: "openvino",
|
|
64628
|
+
supports: (hw) => hw?.arch === "x64" && hw.platform !== "darwin" && (hw.gpu?.type === "intel" || hw.gpu?.type === "amd"),
|
|
64629
|
+
devices: (hw) => {
|
|
64630
|
+
if (!hw) return [AUTO];
|
|
64631
|
+
if (hw.gpu?.type === "amd") return [CPU];
|
|
64632
|
+
const out = [AUTO, CPU];
|
|
64633
|
+
if (hw.gpu?.type === "intel") out.push({
|
|
64634
|
+
value: "gpu",
|
|
64635
|
+
label: "GPU"
|
|
64636
|
+
});
|
|
64637
|
+
if (hw.npu?.type === "intel-npu") out.push({
|
|
64638
|
+
value: "npu",
|
|
64639
|
+
label: "NPU"
|
|
64640
|
+
});
|
|
64641
|
+
return out;
|
|
64642
|
+
},
|
|
64643
|
+
defaultDevice: "auto"
|
|
64644
|
+
},
|
|
64645
|
+
{
|
|
64646
|
+
id: "coreml",
|
|
64647
|
+
supports: (hw) => hw?.platform === "darwin",
|
|
64648
|
+
devices: (hw) => {
|
|
64649
|
+
const all = {
|
|
64650
|
+
value: "all",
|
|
64651
|
+
label: "All (ANE + GPU + CPU)"
|
|
64652
|
+
};
|
|
64653
|
+
if (!hw) return [all];
|
|
64654
|
+
const out = [all];
|
|
64655
|
+
if (hw.npu?.type === "apple-ane") out.push({
|
|
64656
|
+
value: "ane",
|
|
64657
|
+
label: "Apple Neural Engine"
|
|
64658
|
+
});
|
|
64659
|
+
out.push({
|
|
64660
|
+
value: "gpu",
|
|
64661
|
+
label: "GPU"
|
|
64662
|
+
}, CPU);
|
|
64663
|
+
return out;
|
|
64664
|
+
},
|
|
64665
|
+
defaultDevice: "all"
|
|
64666
|
+
},
|
|
64667
|
+
{
|
|
64668
|
+
id: "edgetpu",
|
|
64669
|
+
supports: (hw) => hw?.coral != null,
|
|
64670
|
+
devices: () => [USB],
|
|
64671
|
+
defaultDevice: "usb"
|
|
64672
|
+
}
|
|
64673
|
+
];
|
|
64674
|
+
/**
|
|
64675
|
+
* Returns the list of supported runtime IDs for given hardware.
|
|
64676
|
+
* onnx is always included (universal floor); accelerators added when hw matches.
|
|
64677
|
+
*/
|
|
64678
|
+
function supportedRuntimes(hw) {
|
|
64679
|
+
return RUNTIMES.filter((r) => r.supports(hw)).map((r) => r.id);
|
|
64680
|
+
}
|
|
64591
64681
|
/**
|
|
64592
64682
|
* Scores all applicable inference backends for the given hardware.
|
|
64593
64683
|
*
|
|
@@ -65967,6 +66057,12 @@ Object.defineProperty(exports, "streamQualityLabel", {
|
|
|
65967
66057
|
return streamQualityLabel;
|
|
65968
66058
|
}
|
|
65969
66059
|
});
|
|
66060
|
+
Object.defineProperty(exports, "supportedRuntimes", {
|
|
66061
|
+
enumerable: true,
|
|
66062
|
+
get: function() {
|
|
66063
|
+
return supportedRuntimes;
|
|
66064
|
+
}
|
|
66065
|
+
});
|
|
65970
66066
|
Object.defineProperty(exports, "toExpressionValue", {
|
|
65971
66067
|
enumerable: true,
|
|
65972
66068
|
get: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-D_jdr1G9.js");
|
|
3
3
|
let node_crypto = require("node:crypto");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
node_path = require_chunk.__toESM(node_path);
|
package/dist/{event-loop-stall-monitor-TG8UcdY2.mjs → event-loop-stall-monitor-r2ZBISpC.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { It as hfModelUrl, M as MODEL_FORMATS, T as HF_REPO } from "./dist-
|
|
1
|
+
import { It as hfModelUrl, M as MODEL_FORMATS, T as HF_REPO } from "./dist-BIc6o_mz.mjs";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
import * as path$1 from "node:path";
|
|
4
4
|
import path from "node:path";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
4
|
-
const require_jwt_signing_key = require("./jwt-signing-key-
|
|
3
|
+
const require_dist = require("./dist-D_jdr1G9.js");
|
|
4
|
+
const require_jwt_signing_key = require("./jwt-signing-key-CQHHsrOf.js");
|
|
5
5
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
6
6
|
require("./builtins/alerts/index.js");
|
|
7
7
|
const require_builtins_calendars_calendars_addon = require("./builtins/calendars/calendars.addon.js");
|
|
@@ -27,17 +27,17 @@ const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage
|
|
|
27
27
|
const require_hub_cap_forward = require("./hub-cap-forward-W8oEm4ME.js");
|
|
28
28
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
29
29
|
require("./builtins/storage-orchestrator/index.js");
|
|
30
|
-
const require_constants = require("./constants-
|
|
30
|
+
const require_constants = require("./constants-DyC3WyXE.js");
|
|
31
31
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
32
32
|
require("./builtins/system-config/index.js");
|
|
33
33
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
34
|
-
const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-
|
|
34
|
+
const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-DXZb28pF.js");
|
|
35
35
|
const require_tls = require("./tls-BWpwU-d5.js");
|
|
36
|
-
const require_child_cap_dispatch = require("./child-cap-dispatch-
|
|
36
|
+
const require_child_cap_dispatch = require("./child-cap-dispatch-jQ61bSnU.js");
|
|
37
37
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
38
38
|
const require_resource_monitor = require("./resource-monitor-BgWGRxN5.js");
|
|
39
39
|
const require_custom_action_registry = require("./custom-action-registry-acBY3mHA.js");
|
|
40
|
-
const require_restore_archive = require("./restore-archive-
|
|
40
|
+
const require_restore_archive = require("./restore-archive-BQSveGIo.js");
|
|
41
41
|
let zod = require("zod");
|
|
42
42
|
let node_crypto = require("node:crypto");
|
|
43
43
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -12344,6 +12344,53 @@ function createStreamProbeBrokerService(deps) {
|
|
|
12344
12344
|
};
|
|
12345
12345
|
}
|
|
12346
12346
|
//#endregion
|
|
12347
|
+
//#region src/kernel/inference/local-python-runtimes.ts
|
|
12348
|
+
/**
|
|
12349
|
+
* Cheap local answer to "which python inference runtimes does THIS host
|
|
12350
|
+
* support?" — the Cluster page's `engines` badges and the durable node
|
|
12351
|
+
* history row. Pure over `probePlatform` + `supportedRuntimes`; no Python
|
|
12352
|
+
* import, no platform-probe capability round-trip (those are the heavier
|
|
12353
|
+
* path used by the detection pipeline itself).
|
|
12354
|
+
*
|
|
12355
|
+
* Historically `AgentInfo.pythonRuntimes` was declared and projected into
|
|
12356
|
+
* topology `engines`, but nothing ever filled it — every node rendered "—".
|
|
12357
|
+
*/
|
|
12358
|
+
function asGpuType(type) {
|
|
12359
|
+
if (type === "nvidia" || type === "amd" || type === "intel" || type === "apple") return type;
|
|
12360
|
+
return null;
|
|
12361
|
+
}
|
|
12362
|
+
function asNpuType(type) {
|
|
12363
|
+
if (type === "apple-ane" || type === "intel-npu" || type === "amd-xdna") return type;
|
|
12364
|
+
return null;
|
|
12365
|
+
}
|
|
12366
|
+
function localHardwareInfo() {
|
|
12367
|
+
const platform = node_os.platform();
|
|
12368
|
+
if (platform !== "darwin" && platform !== "linux" && platform !== "win32") return null;
|
|
12369
|
+
const arch = node_os.arch() === "arm64" ? "arm64" : "x64";
|
|
12370
|
+
const inference = require_child_cap_dispatch.mapSignalsToInferenceHardware(require_child_cap_dispatch.probePlatform());
|
|
12371
|
+
const gpuType = inference.gpu ? asGpuType(inference.gpu.type) : null;
|
|
12372
|
+
const npuType = inference.npu ? asNpuType(inference.npu.type) : null;
|
|
12373
|
+
const cpus = node_os.cpus();
|
|
12374
|
+
return {
|
|
12375
|
+
platform,
|
|
12376
|
+
arch,
|
|
12377
|
+
cpuModel: cpus[0]?.model ?? "unknown",
|
|
12378
|
+
cpuCores: cpus.length,
|
|
12379
|
+
totalRAM_MB: Math.round(node_os.totalmem() / 1024 / 1024),
|
|
12380
|
+
availableRAM_MB: Math.round(node_os.freemem() / 1024 / 1024),
|
|
12381
|
+
gpu: gpuType !== null ? {
|
|
12382
|
+
type: gpuType,
|
|
12383
|
+
name: gpuType
|
|
12384
|
+
} : null,
|
|
12385
|
+
npu: npuType !== null ? { type: npuType } : null,
|
|
12386
|
+
coral: inference.coral != null ? { type: "coral-edgetpu" } : null
|
|
12387
|
+
};
|
|
12388
|
+
}
|
|
12389
|
+
/** Runtime ids offered on this host (`onnx`, `openvino`, `coreml`, `edgetpu`). */
|
|
12390
|
+
function localSupportedPythonRuntimes() {
|
|
12391
|
+
return require_dist.supportedRuntimes(localHardwareInfo());
|
|
12392
|
+
}
|
|
12393
|
+
//#endregion
|
|
12347
12394
|
//#region src/kernel/addon-health-monitor.ts
|
|
12348
12395
|
/**
|
|
12349
12396
|
* Kernel-level addon health monitor.
|
|
@@ -14318,6 +14365,7 @@ exports.loadMeshCa = require_builtins_system_config_system_config_addon.loadMesh
|
|
|
14318
14365
|
exports.loadTlsCert = require_tls.loadTlsCert;
|
|
14319
14366
|
exports.localEndpointPath = require_child_cap_dispatch.localEndpointPath;
|
|
14320
14367
|
exports.localProviderLink = require_child_cap_dispatch.localProviderLink;
|
|
14368
|
+
exports.localSupportedPythonRuntimes = localSupportedPythonRuntimes;
|
|
14321
14369
|
exports.mapSignalsToInferenceHardware = require_child_cap_dispatch.mapSignalsToInferenceHardware;
|
|
14322
14370
|
exports.meshErrorType = meshErrorType;
|
|
14323
14371
|
exports.mintAgentUiUnlockTicket = require_builtins_system_config_system_config_addon.mintAgentUiUnlockTicket;
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $t as logLevelAtMost, A as METHOD_ACCESS_MAP, An as scopesAllowDeviceCap,
|
|
3
|
-
import { c as staticJwtSigningKey, i as getProcessJwtSigningKeyState, n as JwtSigningKeyUnavailableError, o as processJwtSigningKey, r as SYSTEM_SECRET_OWNER, t as JWT_SIGNING_KEY_REF } from "./jwt-signing-key-
|
|
2
|
+
import { $t as logLevelAtMost, A as METHOD_ACCESS_MAP, An as scopesAllowDeviceCap, D as LOG_LEVEL_RANK, En as resolveMethodAuth, Er as createEvent, F as RUNTIME_DEFAULTS, Ht as isObjectInput, K as addonSettingsCapability, Kr as readinessKey, Rt as isArrayOutputSchema, Sr as asString$1, Ur as parseJsonObject, Ut as isVoidInput, Vn as supportedRuntimes, Wr as parseJsonUnknown, Wt as kebabToCamel, Yr as scopeKey, Yt as lifecycleJobSchema, _r as ReadinessTimeoutError, br as asJsonObject$1, dn as objectInputDeclaresRequiredDeviceId, en as looseSchema, fr as DATAPLANE_SECRET_HEADER$1, gn as procedureAuthKey, gr as ReadinessRegistry, jr as expandCapMethods, jt as extractNestedAddonId, kn as scopesAllowAddon, kr as emitDownForOwnedCaps, mr as DEVICE_STATUS_METHOD, pr as DEVICE_SETTINGS_CONTRIBUTION_METHODS, qr as resolveCapMount, ri as EventCategory$1, t as ALL_CAPABILITY_DEFINITIONS, un as objectInputDeclaresAddonId, ur as errMsg$1, xr as asNumber, zt as isCollectionArrayMethod } from "./dist-BIc6o_mz.mjs";
|
|
3
|
+
import { c as staticJwtSigningKey, i as getProcessJwtSigningKeyState, n as JwtSigningKeyUnavailableError, o as processJwtSigningKey, r as SYSTEM_SECRET_OWNER, t as JWT_SIGNING_KEY_REF } from "./jwt-signing-key-BtfOMVyB.mjs";
|
|
4
4
|
import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
|
|
5
5
|
import "./builtins/alerts/index.mjs";
|
|
6
6
|
import { CalendarsAddon } from "./builtins/calendars/calendars.addon.mjs";
|
|
@@ -26,17 +26,17 @@ import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
|
26
26
|
import { i as stripForwardedCaller, n as HUB_CAP_FWD_SERVICE, r as createHubCapForwardService, t as HUB_CAP_FWD_ACTION } from "./hub-cap-forward-CDiN1p98.mjs";
|
|
27
27
|
import { StorageOrchestratorAddon, n as buildStorageLocationRegistry, t as StorageOrchestratorService } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
28
28
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
29
|
-
import { _ as clusterSecretMatches, a as MESH_CA_FIELD, b as isClusterSecretMismatchError, d as CLUSTER_SECRET_MISMATCH_TYPE, f as CLUSTER_SECRET_REF, g as checkClusterSecret, h as CLUSTER_SECRET_UNAVAILABLE_TYPE, m as CLUSTER_SECRET_SETTINGS_KEY, o as MESH_CA_KEY_REF, p as CLUSTER_SECRET_REJECTED_EXIT_CODE, r as DEFAULT_HUB_TLS_TCP_PORT, s as MESH_CA_SETTINGS_KEY, v as getProcessClusterSecretGate, x as setProcessClusterSecretGate, y as hashClusterSecret } from "./constants-
|
|
29
|
+
import { _ as clusterSecretMatches, a as MESH_CA_FIELD, b as isClusterSecretMismatchError, d as CLUSTER_SECRET_MISMATCH_TYPE, f as CLUSTER_SECRET_REF, g as checkClusterSecret, h as CLUSTER_SECRET_UNAVAILABLE_TYPE, m as CLUSTER_SECRET_SETTINGS_KEY, o as MESH_CA_KEY_REF, p as CLUSTER_SECRET_REJECTED_EXIT_CODE, r as DEFAULT_HUB_TLS_TCP_PORT, s as MESH_CA_SETTINGS_KEY, v as getProcessClusterSecretGate, x as setProcessClusterSecretGate, y as hashClusterSecret } from "./constants-Ca1v1Sdn.mjs";
|
|
30
30
|
import { A as loadMeshCa, B as MESH_AUTH_MODE_FIELD, C as caFingerprintCompact, D as generateMeshKeyPair, E as generateMeshCa, F as UnlockTicketJtiStore, G as requestProcessMeshEnforcement, H as getProcessMeshAuthStatus, I as isAllowedAgentDashboardReturnTo, J as setProcessMeshEnforcer, K as setProcessMeshAuthMode, L as mintAgentUiUnlockTicket, M as AGENT_UI_UNLOCK_DOMAIN, N as AGENT_UI_UNLOCK_TTL_MS, O as issueMeshLeafForNode, P as AGENT_UI_UNLOCK_VERSION, Q as readCidrSetting, R as parseAgentDashboardOrigins, S as caFingerprint, SystemConfigAddon, T as exportMeshPrivateKeyPem, U as isMeshAuthMode, V as getProcessMeshAuthMode, W as parseMeshAuthMode, X as normalizeIp, Y as createCidrMatcher, Z as parseCidrList, _ as MeshCrl, a as setProcessMeshTlsEnabler, b as getProcessMeshCaState, c as mintMeshJoinToken, d as MESH_CLEAR_PORT_FIELD, f as applyProcessMeshClearPort, g as setProcessMeshClearPortControl, h as getProcessNodeMeshTransport, i as ServiceBroker, j as AGENT_DASHBOARD_ORIGINS_FIELD, k as issueMeshLeafFromCsr, l as processJoinTokenJtiStore, m as decideMeshClearPortOff, n as TlsTcpTransporter, o as enrollMeshNode, p as checkProcessMeshClearPort, q as setProcessMeshAuthStatusSource, r as Errors, s as JoinTokenJtiStore, u as verifyMeshJoinToken, v as processMeshCrl, w as createMeshCsrPem, x as requireProcessMeshCa, y as MeshCaKeeper, z as verifyAgentUiUnlockTicket } from "./builtins/system-config/system-config.addon.mjs";
|
|
31
31
|
import "./builtins/system-config/index.mjs";
|
|
32
32
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
33
|
-
import { C as resolveFormatRevision, S as isModelDownloaded, _ as downloadModel, a as createFileDataPlaneHandler, b as getModelFilePath, c as parseRangeHeader, d as ModelDownloadService, g as downloadFile, h as deleteModelFromDisk, i as startEventLoopStallMonitor, l as parseTokenizedUrl, m as collectModelFiles, n as STALL_TICK_MS, o as contentTypeFor, p as adoptModelRevisions, r as attributeStall, s as createAuthenticatedFileServer, t as STALL_REPORT_MS, u as resolveFilePath, v as ensureModel, w as revisionWeightUrl, y as fetchJson } from "./event-loop-stall-monitor-
|
|
33
|
+
import { C as resolveFormatRevision, S as isModelDownloaded, _ as downloadModel, a as createFileDataPlaneHandler, b as getModelFilePath, c as parseRangeHeader, d as ModelDownloadService, g as downloadFile, h as deleteModelFromDisk, i as startEventLoopStallMonitor, l as parseTokenizedUrl, m as collectModelFiles, n as STALL_TICK_MS, o as contentTypeFor, p as adoptModelRevisions, r as attributeStall, s as createAuthenticatedFileServer, t as STALL_REPORT_MS, u as resolveFilePath, v as ensureModel, w as revisionWeightUrl, y as fetchJson } from "./event-loop-stall-monitor-r2ZBISpC.mjs";
|
|
34
34
|
import { A as allFamiliesListenHost, C as collectCertIdentity, D as SERVER_AUTH_OID, E as MAX_LEAF_VALIDITY_DAYS, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as evaluateExistingCert, P as readLanHttpState, S as CA_COMMON_NAME, T as LEAF_RENEWAL_WINDOW_DAYS, _ as writeExtraSans, a as validateUploadedTls, b as loadTlsCert, c as registerHttpsListener, d as prepareBootTls, f as UPLOADED_CA_FILE, g as splitPemCertificates, h as readTlsMode, i as storeUploadedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, l as reloadHttpsListener, m as readTlsAccessStatus, n as regenerateCertificate, o as clearHttpsListener, p as readExtraSans, r as revertToGeneratedCertificate, s as leafFingerprintOf, t as applyCertificateToListener, u as servedHttpsLeafFingerprint, v as writeTlsMode, w as CA_VALIDITY_DAYS, x as reissueTlsLeaf, y as ensureTlsCert } from "./tls-C2NT-Orr.mjs";
|
|
35
|
-
import { $ as AGENT_CAP_FWD_ACTION, $n as EMPTY_SOCKET_DIRECTION, $t as HEAP_WATCH_INTERVAL_MS, A as mapSignalsToInferenceHardware, An as DECISIVE_HEAP_SPACES, At as capServiceName, B as createParentUnownedCallHandler, Bn as createOutboundQueueGate, Bt as buildNpmChildEnv, C as getBrokerEventBus, Cn as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, D as subscribePassthrough, Dn as createInspectorArrayBufferCensus, Dt as capActionName, E as setNodeEventInterest, En as createArrayBufferCensusGate, Et as NATIVE_PROVIDER_SERVICE_INFIX, F as brokerTransportLink, Fn as readHeapSpaces, Ft as CapabilityHandle, G as createUdsLoggerWithControl, Gn as EMPTY_SOCKET_PLANE_BASELINE, Gt as redactLogMeta, H as createUdsEventBus, Hn as MESH_QUEUE_TOP_N, Ht as runNpm, I as buildLinkChain, In as selectReportedSpaces, It as CapabilityUnavailableError, J as UDS_NO_ROUTE_PREFIX, Jn as createSocketPlaneMeter, Jt as hostNodeIdOf, K as LocalChildClient, Kn as SOCKET_PLANE_TOP_N, Kt as redactLogText, L as deviceCapResolverLink, Ln as OUTBOUND_QUEUE_COOLDOWN_MS, Lt as copyBundledNativeModules, M as probePlatform, Mn as emitHeapDiagnosticReport, Mt as deserializeTypedArrays, N as resolveHwAccel, Nn as formatHeapSpaces, Nt as serializeTypedArrays, O as AddonDepsManager, On as formatArrayBufferCensus, Ot as capActionSuffix, P as brokerCallForCap, Pn as heapSpaceField, Pt as DeviceRegistry, Q as deviceOfGetStatus, Qn as readSocketQueues, Qt as HEAP_RECLAIM_TRIGGER_MB, R as ipcParentLink, Rn as OUTBOUND_QUEUE_SUSTAIN_MS, Rt as installManifestNativeDeps, S as clusterEventTopic, Sn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, St as mountNativeCapService, T as registerEventBusService, Tn as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, Tt as validateProviderRegistrations, U as udsChildLogToWorkerEntry, Un as createMeshQueueReader, Ut as isCredentialKeyName, V as createUdsEventBridge, Vn as formatOutboundQueueVerdict, Vt as resolveNpmInvocation, W as createUdsLogger, Wn as formatMeshQueue, Wt as redactLogEntry, X as GET_STATUS_METHOD, Xn as diffSocketPlane, Xt as HEAP_RECLAIM_MIN_INTERVAL_MS, Y as afterWorkerOnlineAnnounce, Yn as createSocketPlaneReader, Yt as createAddonDataPlaneFacility, Z as answerClaimedGetStatus, Zn as formatSocketPlane, Zt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, _ as getWorkerDeviceRegistry, _n as reclaimIntervalMs, _t as encodeFrame, a as reapProcessGroup, an as RSS_BUDGET_RELEASE_RATIO, ar as CAP_ACTION_OVERFLOW_LABEL, at as callWithServiceDiscovery, b as setHubConnected, bn as startRunnerHeapWatch, c as runnerOwnsProcessGroup, cn as ZERO_LOOP_DELAY, cr as MAX_CAP_ACTIONS_PER_PEER, ct as __resetCapUsageRegistryForTests, d as summarizeMembers, dn as createLoopDelayMeter, dr as diffCapActionCensus, dt as UdsLocalTransportClient, en as HEAP_WATCH_WARN_RATIO, er as createSocketDirectionCounters, et as AGENT_CAP_FWD_SERVICE, f as installManifestSystemDeps, fn as createV8Reclaimer, fr as EVENT_PLANE_TOP_N, ft as UdsLocalTransportServer, g as createUdsAddonContext, gn as parseRssBudgetMb, gr as formatEventPlane, gt as FrameDecoder, h as createAddonContext, hn as nextRssBudgetState, hr as diffEventPlane, ht as localEndpointPath, in as RSS_BUDGET_REANNOUNCE_MIN_MS, ir as socketDirectionMessages, it as classifyCapRoute, j as createKernelHwAccel, jn as HEAP_SPACE_REPORT_MIN_MB, jt as parseCapAction, k as createKernelInferenceEngine, kn as isArrayBufferCensusReport, kt as capBareAction, l as signalAllRunnerGroups, ln as buildHeapSample, lr as capActionLabel, lt as getCapUsageRegistry, m as adaptBrokerToCluster, mn as hubMainRssBudget, mr as createEventPlaneReader, mt as PeerAnsweredError, nn as HUB_MAIN_RSS_BUDGET_MB, nr as sampleSocketDirection, nt as stampCallerAddonId, o as registerRunnerGroup, on as RUNNER_HEAP_WATCH_INTERVAL_MS, or as CAP_ACTION_UNLABELLED, ot as CapUsageRegistry, p as installManifestPythonDeps, pn as describeRss, pr as createEventPlaneMeter, pt as SocketChannel, q as LocalChildRegistry, qn as SOCKET_QUEUE_TOP_N, qt as createAddonPeerBytesFacility, r as defaultProcessGroupOps, rn as HUB_RSS_BUDGET_ENV, rr as socketDirectionBytes, rt as CapRouteError, s as releaseRunnerGroup, sn as RUNNER_RSS_BUDGET_ENV, sr as EMPTY_CAP_ACTION_READING, st as PARENT_ROUTED_PROVIDER_ADDON_ID, t as CAP_METHOD_NOT_IMPLEMENTED, tn as HUB_MAIN_HEAP_WATCH_LABEL, tr as recordSocketFrame, tt as CapRouteResolver, un as createDeferredHeapWatchSink, ur as createCapActionCensus, ut as createLocalTransport, v as getOrInitReadinessRegistry, vn as shouldReclaim, vt as buildNativeCapProxy, w as getMoleculerEventStats, wn as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, wt as createAddonService, x as EVENT_TOPIC_PREFIX, xn as strandedMb, y as getOrInitReadinessRegistryForClient, yn as startHeapWatch, yt as createBrokerDeviceManagerApi, z as localProviderLink, zn as OUTBOUND_QUEUE_THRESHOLD_BYTES, zt as resolveAddonClass } from "./child-cap-dispatch-
|
|
35
|
+
import { $ as AGENT_CAP_FWD_ACTION, $n as EMPTY_SOCKET_DIRECTION, $t as HEAP_WATCH_INTERVAL_MS, A as mapSignalsToInferenceHardware, An as DECISIVE_HEAP_SPACES, At as capServiceName, B as createParentUnownedCallHandler, Bn as createOutboundQueueGate, Bt as buildNpmChildEnv, C as getBrokerEventBus, Cn as ARRAY_BUFFER_CENSUS_SUSTAIN_MS, D as subscribePassthrough, Dn as createInspectorArrayBufferCensus, Dt as capActionName, E as setNodeEventInterest, En as createArrayBufferCensusGate, Et as NATIVE_PROVIDER_SERVICE_INFIX, F as brokerTransportLink, Fn as readHeapSpaces, Ft as CapabilityHandle, G as createUdsLoggerWithControl, Gn as EMPTY_SOCKET_PLANE_BASELINE, Gt as redactLogMeta, H as createUdsEventBus, Hn as MESH_QUEUE_TOP_N, Ht as runNpm, I as buildLinkChain, In as selectReportedSpaces, It as CapabilityUnavailableError, J as UDS_NO_ROUTE_PREFIX, Jn as createSocketPlaneMeter, Jt as hostNodeIdOf, K as LocalChildClient, Kn as SOCKET_PLANE_TOP_N, Kt as redactLogText, L as deviceCapResolverLink, Ln as OUTBOUND_QUEUE_COOLDOWN_MS, Lt as copyBundledNativeModules, M as probePlatform, Mn as emitHeapDiagnosticReport, Mt as deserializeTypedArrays, N as resolveHwAccel, Nn as formatHeapSpaces, Nt as serializeTypedArrays, O as AddonDepsManager, On as formatArrayBufferCensus, Ot as capActionSuffix, P as brokerCallForCap, Pn as heapSpaceField, Pt as DeviceRegistry, Q as deviceOfGetStatus, Qn as readSocketQueues, Qt as HEAP_RECLAIM_TRIGGER_MB, R as ipcParentLink, Rn as OUTBOUND_QUEUE_SUSTAIN_MS, Rt as installManifestNativeDeps, S as clusterEventTopic, Sn as ARRAY_BUFFER_CENSUS_COOLDOWN_MS, St as mountNativeCapService, T as registerEventBusService, Tn as ARRAY_BUFFER_RELEASE_MIN_DROP_RATIO, Tt as validateProviderRegistrations, U as udsChildLogToWorkerEntry, Un as createMeshQueueReader, Ut as isCredentialKeyName, V as createUdsEventBridge, Vn as formatOutboundQueueVerdict, Vt as resolveNpmInvocation, W as createUdsLogger, Wn as formatMeshQueue, Wt as redactLogEntry, X as GET_STATUS_METHOD, Xn as diffSocketPlane, Xt as HEAP_RECLAIM_MIN_INTERVAL_MS, Y as afterWorkerOnlineAnnounce, Yn as createSocketPlaneReader, Yt as createAddonDataPlaneFacility, Z as answerClaimedGetStatus, Zn as formatSocketPlane, Zt as HEAP_RECLAIM_STEADY_STATE_INTERVAL_MS, _ as getWorkerDeviceRegistry, _n as reclaimIntervalMs, _t as encodeFrame, a as reapProcessGroup, an as RSS_BUDGET_RELEASE_RATIO, ar as CAP_ACTION_OVERFLOW_LABEL, at as callWithServiceDiscovery, b as setHubConnected, bn as startRunnerHeapWatch, c as runnerOwnsProcessGroup, cn as ZERO_LOOP_DELAY, cr as MAX_CAP_ACTIONS_PER_PEER, ct as __resetCapUsageRegistryForTests, d as summarizeMembers, dn as createLoopDelayMeter, dr as diffCapActionCensus, dt as UdsLocalTransportClient, en as HEAP_WATCH_WARN_RATIO, er as createSocketDirectionCounters, et as AGENT_CAP_FWD_SERVICE, f as installManifestSystemDeps, fn as createV8Reclaimer, fr as EVENT_PLANE_TOP_N, ft as UdsLocalTransportServer, g as createUdsAddonContext, gn as parseRssBudgetMb, gr as formatEventPlane, gt as FrameDecoder, h as createAddonContext, hn as nextRssBudgetState, hr as diffEventPlane, ht as localEndpointPath, in as RSS_BUDGET_REANNOUNCE_MIN_MS, ir as socketDirectionMessages, it as classifyCapRoute, j as createKernelHwAccel, jn as HEAP_SPACE_REPORT_MIN_MB, jt as parseCapAction, k as createKernelInferenceEngine, kn as isArrayBufferCensusReport, kt as capBareAction, l as signalAllRunnerGroups, ln as buildHeapSample, lr as capActionLabel, lt as getCapUsageRegistry, m as adaptBrokerToCluster, mn as hubMainRssBudget, mr as createEventPlaneReader, mt as PeerAnsweredError, nn as HUB_MAIN_RSS_BUDGET_MB, nr as sampleSocketDirection, nt as stampCallerAddonId, o as registerRunnerGroup, on as RUNNER_HEAP_WATCH_INTERVAL_MS, or as CAP_ACTION_UNLABELLED, ot as CapUsageRegistry, p as installManifestPythonDeps, pn as describeRss, pr as createEventPlaneMeter, pt as SocketChannel, q as LocalChildRegistry, qn as SOCKET_QUEUE_TOP_N, qt as createAddonPeerBytesFacility, r as defaultProcessGroupOps, rn as HUB_RSS_BUDGET_ENV, rr as socketDirectionBytes, rt as CapRouteError, s as releaseRunnerGroup, sn as RUNNER_RSS_BUDGET_ENV, sr as EMPTY_CAP_ACTION_READING, st as PARENT_ROUTED_PROVIDER_ADDON_ID, t as CAP_METHOD_NOT_IMPLEMENTED, tn as HUB_MAIN_HEAP_WATCH_LABEL, tr as recordSocketFrame, tt as CapRouteResolver, un as createDeferredHeapWatchSink, ur as createCapActionCensus, ut as createLocalTransport, v as getOrInitReadinessRegistry, vn as shouldReclaim, vt as buildNativeCapProxy, w as getMoleculerEventStats, wn as ARRAY_BUFFER_CENSUS_THRESHOLD_MB, wt as createAddonService, x as EVENT_TOPIC_PREFIX, xn as strandedMb, y as getOrInitReadinessRegistryForClient, yn as startHeapWatch, yt as createBrokerDeviceManagerApi, z as localProviderLink, zn as OUTBOUND_QUEUE_THRESHOLD_BYTES, zt as resolveAddonClass } from "./child-cap-dispatch-BmNpRe0Y.mjs";
|
|
36
36
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
37
37
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-B2WZ8_q9.mjs";
|
|
38
38
|
import { t as CustomActionRegistry } from "./custom-action-registry-B4Cf4O_X.mjs";
|
|
39
|
-
import { c as BackupKeyFormatError, d as generateBackupKeyPair, l as BackupKeyMismatchError, m as readBackupEncryptionHeader, o as SystemBackupService, r as prepareRestoreArchive, s as BackupDecryptError, t as BackupKeyRequiredError } from "./restore-archive-
|
|
39
|
+
import { c as BackupKeyFormatError, d as generateBackupKeyPair, l as BackupKeyMismatchError, m as readBackupEncryptionHeader, o as SystemBackupService, r as prepareRestoreArchive, s as BackupDecryptError, t as BackupKeyRequiredError } from "./restore-archive-CKcdqHk5.mjs";
|
|
40
40
|
import { z } from "zod";
|
|
41
41
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
42
42
|
import { PYTHON_VERSION, buildBinaryPath, downloadBinary, ensureBinary, ensureFfmpeg, ensurePython, findInPath, getFfmpegDownloadUrl, getPlatformInfo, getPythonDownloadUrl, installPythonPackages, installPythonRequirements } from "@camstack/types/node";
|
|
@@ -12341,6 +12341,53 @@ function createStreamProbeBrokerService(deps) {
|
|
|
12341
12341
|
};
|
|
12342
12342
|
}
|
|
12343
12343
|
//#endregion
|
|
12344
|
+
//#region src/kernel/inference/local-python-runtimes.ts
|
|
12345
|
+
/**
|
|
12346
|
+
* Cheap local answer to "which python inference runtimes does THIS host
|
|
12347
|
+
* support?" — the Cluster page's `engines` badges and the durable node
|
|
12348
|
+
* history row. Pure over `probePlatform` + `supportedRuntimes`; no Python
|
|
12349
|
+
* import, no platform-probe capability round-trip (those are the heavier
|
|
12350
|
+
* path used by the detection pipeline itself).
|
|
12351
|
+
*
|
|
12352
|
+
* Historically `AgentInfo.pythonRuntimes` was declared and projected into
|
|
12353
|
+
* topology `engines`, but nothing ever filled it — every node rendered "—".
|
|
12354
|
+
*/
|
|
12355
|
+
function asGpuType(type) {
|
|
12356
|
+
if (type === "nvidia" || type === "amd" || type === "intel" || type === "apple") return type;
|
|
12357
|
+
return null;
|
|
12358
|
+
}
|
|
12359
|
+
function asNpuType(type) {
|
|
12360
|
+
if (type === "apple-ane" || type === "intel-npu" || type === "amd-xdna") return type;
|
|
12361
|
+
return null;
|
|
12362
|
+
}
|
|
12363
|
+
function localHardwareInfo() {
|
|
12364
|
+
const platform = os.platform();
|
|
12365
|
+
if (platform !== "darwin" && platform !== "linux" && platform !== "win32") return null;
|
|
12366
|
+
const arch = os.arch() === "arm64" ? "arm64" : "x64";
|
|
12367
|
+
const inference = mapSignalsToInferenceHardware(probePlatform());
|
|
12368
|
+
const gpuType = inference.gpu ? asGpuType(inference.gpu.type) : null;
|
|
12369
|
+
const npuType = inference.npu ? asNpuType(inference.npu.type) : null;
|
|
12370
|
+
const cpus = os.cpus();
|
|
12371
|
+
return {
|
|
12372
|
+
platform,
|
|
12373
|
+
arch,
|
|
12374
|
+
cpuModel: cpus[0]?.model ?? "unknown",
|
|
12375
|
+
cpuCores: cpus.length,
|
|
12376
|
+
totalRAM_MB: Math.round(os.totalmem() / 1024 / 1024),
|
|
12377
|
+
availableRAM_MB: Math.round(os.freemem() / 1024 / 1024),
|
|
12378
|
+
gpu: gpuType !== null ? {
|
|
12379
|
+
type: gpuType,
|
|
12380
|
+
name: gpuType
|
|
12381
|
+
} : null,
|
|
12382
|
+
npu: npuType !== null ? { type: npuType } : null,
|
|
12383
|
+
coral: inference.coral != null ? { type: "coral-edgetpu" } : null
|
|
12384
|
+
};
|
|
12385
|
+
}
|
|
12386
|
+
/** Runtime ids offered on this host (`onnx`, `openvino`, `coreml`, `edgetpu`). */
|
|
12387
|
+
function localSupportedPythonRuntimes() {
|
|
12388
|
+
return supportedRuntimes(localHardwareInfo());
|
|
12389
|
+
}
|
|
12390
|
+
//#endregion
|
|
12344
12391
|
//#region src/kernel/addon-health-monitor.ts
|
|
12345
12392
|
/**
|
|
12346
12393
|
* Kernel-level addon health monitor.
|
|
@@ -13854,4 +13901,4 @@ var LifecycleJobEngine = class {
|
|
|
13854
13901
|
}
|
|
13855
13902
|
};
|
|
13856
13903
|
//#endregion
|
|
13857
|
-
export { ADMIN_TOKEN_MAX_LIFETIME_MS, ADMIN_TOKEN_PREFIX, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_READINESS_SERVICE_NAME, AGENT_REGISTER_NODE_ACTION, AGENT_UI_UNLOCK_DOMAIN, AGENT_UI_UNLOCK_TTL_MS, 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, AddonRouteRegistry, AdminTokenManager, AgentMeshAuthenticator, AlertCenterAddon, ApiKeyManager, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REF, CLUSTER_SECRET_REJECTED_EXIT_CODE, CLUSTER_SECRET_SETTINGS_KEY, CLUSTER_SECRET_UNAVAILABLE_TYPE, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, 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_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, 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, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JWT_SIGNING_KEY_REF, JobJournal, JoinTokenJtiStore, 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, MESH_ACTION_FORBIDDEN_TYPE, MESH_AUTH_MODE_FIELD, MESH_AUTO_ENFORCE_GRACE_MS, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_CLEAR_PORT_FIELD, MESH_JOIN_AUTHENTICATE_ACTION, MESH_JOIN_CHALLENGE_ACTION, MESH_JOIN_CHALLENGE_INVALID_TYPE, MESH_JOIN_CHALLENGE_TTL_MS, MESH_JOIN_PROTOCOL, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, MeshAuthenticator, MeshCaKeeper, MeshCrl, MeshJoinClient, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, 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, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, ScopedTokenManager, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, allFamiliesListenHost, answerClaimedGetStatus, applyCertificateToListener, applyLanHttp, applyProcessMeshClearPort, attachUserManagementInternal, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, builderMountedCapNames, caFingerprint, caFingerprintCompact, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, checkClusterSecret, checkProcessMeshClearPort, classifyAddonDir, classifyCapRoute, clearHttpsListener, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, computeHubJoinProof, computeNodeJoinProof, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCidrMatcher, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, decideMeshAutoEnforce, decideMeshClearPortOff, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, deviceOfGetStatus, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, enrollMeshNode, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessClusterSecretGate, getProcessJwtSigningKeyState, getProcessMeshAuthMode, getProcessMeshAuthStatus, getProcessMeshCaState, getProcessNodeMeshTransport, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isCredentialKeyName, isInfraCapability, isMeshAuthMode, isModelDownloaded, isOwnChildNodeId, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isolatedBuiltinPhase, issueMeshLeafForNode, issueMeshLeafFromCsr, leafFingerprintOf, loadMeshCa, loadTlsCert, localEndpointPath, localProviderLink, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mintMeshJoinToken, mountNativeCapService, nextRssBudgetState, normalizeIp, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseMeshAuthMode, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, prepareBootTls, prepareRestoreArchive, probePlatform, processJoinTokenJtiStore, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readBackupEncryptionHeader, readCidrSetting, readExtraSans, readHeapSpaces, readLanHttpState, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, requestProcessMeshEnforcement, requireProcessMeshCa, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, revertToGeneratedCertificate, revisionWeightUrl, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setNodeEventInterest, setPlatformKeychainKey, setProcessClusterSecretGate, setProcessMeshAuthMode, setProcessMeshAuthStatusSource, setProcessMeshClearPortControl, setProcessMeshEnforcer, setProcessMeshTlsEnabler, setWrapperActive, shouldReclaim, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyMeshJoinToken, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|
|
13904
|
+
export { ADMIN_TOKEN_MAX_LIFETIME_MS, ADMIN_TOKEN_PREFIX, AGENT_CAP_FWD_ACTION, AGENT_CAP_FWD_SERVICE, AGENT_DASHBOARD_ORIGINS_FIELD, AGENT_READINESS_SERVICE_NAME, AGENT_REGISTER_NODE_ACTION, AGENT_UI_UNLOCK_DOMAIN, AGENT_UI_UNLOCK_TTL_MS, 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, AddonRouteRegistry, AdminTokenManager, AgentMeshAuthenticator, AlertCenterAddon, ApiKeyManager, AuthAuditLog, AuthManager, BackupDecryptError, BackupKeyFormatError, BackupKeyMismatchError, BackupKeyRequiredError, CAP_ACTION_OVERFLOW_LABEL, CAP_ACTION_UNLABELLED, CAP_METHOD_NOT_IMPLEMENTED, CA_COMMON_NAME, CA_VALIDITY_DAYS, CLUSTER_SECRET_MISMATCH_TYPE, CLUSTER_SECRET_REF, CLUSTER_SECRET_REJECTED_EXIT_CODE, CLUSTER_SECRET_SETTINGS_KEY, CLUSTER_SECRET_UNAVAILABLE_TYPE, CORE_CAP_SERVICE_NAME, CalendarsAddon, CapRouteError, CapRouteResolver, CapUsageRegistry, CapabilityHandle, CapabilityRegistry, CapabilityUnavailableError, 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_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DataPlaneRegistry, 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, HubForwarderAddon, HubForwarderDestination, HubLogForwarder, HubNodeRegistry, INFRA_CAPABILITIES, IntegrationRegistry, JWT_SIGNING_KEY_REF, JobJournal, JoinTokenJtiStore, 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, MESH_ACTION_FORBIDDEN_TYPE, MESH_AUTH_MODE_FIELD, MESH_AUTO_ENFORCE_GRACE_MS, MESH_CA_FIELD, MESH_CA_KEY_REF, MESH_CA_SETTINGS_KEY, MESH_CLEAR_PORT_FIELD, MESH_JOIN_AUTHENTICATE_ACTION, MESH_JOIN_CHALLENGE_ACTION, MESH_JOIN_CHALLENGE_INVALID_TYPE, MESH_JOIN_CHALLENGE_TTL_MS, MESH_JOIN_PROTOCOL, MESH_NODE_UNAUTHENTICATED_TYPE, MESH_QUEUE_TOP_N, METHOD_ACCESS_MAP, MeshAuthenticator, MeshCaKeeper, MeshCrl, MeshJoinClient, ModelDownloadService, NATIVE_PROVIDER_SERVICE_INFIX, NATIVE_SCAN_DEPTH, NativeMetricsAddon, NativeMetricsProvider, NetworkQualityTracker, NotificationService, OUTBOUND_QUEUE_COOLDOWN_MS, OUTBOUND_QUEUE_SUSTAIN_MS, OUTBOUND_QUEUE_THRESHOLD_BYTES, PARENT_ROUTED_PROVIDER_ADDON_ID, PYTHON_VERSION, PeerAnsweredError, PipelineRunner, PipelineValidator, PythonEnvManager, QUARANTINE_DIRNAME, REFRESH_TOKEN_PREFIX, 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, SOCKET_PLANE_TOP_N, SOCKET_QUEUE_TOP_N, STALL_REPORT_MS, STALL_TICK_MS, STORE_READABLE_BOOTSTRAP_KEYS, SYSTEM_SECRET_OWNER, ScopedLogger, ScopedTokenManager, SettingsReadUnavailableError, SocketChannel, SqliteSettingsAddon, SqliteSettingsBackend, StagingArea, StorageLocationManager, StorageManager, StorageOrchestratorAddon, StorageOrchestratorService, SystemBackupService, SystemConfigAddon, SystemEventBus, TRADITIONAL_NATIVE_PACKAGES, TlsTcpTransporter, ToastService, UDS_NO_ROUTE_PREFIX, UNCLAIMED, UPLOADED_CA_FILE, USER_MANAGEMENT_INTERNAL, UdsLocalTransportClient, UdsLocalTransportServer, UnlockTicketJtiStore, UserManager, WinstonDestination, WinstonLoggingAddon, ZERO_LOOP_DELAY, __resetCapUsageRegistryForTests, __resetLoggingGateForTests, adaptBrokerToCluster, addonSettingsCapability, adoptModelRevisions, afterWorkerOnlineAnnounce, allFamiliesListenHost, answerClaimedGetStatus, applyCertificateToListener, applyLanHttp, applyProcessMeshClearPort, attachUserManagementInternal, attributeStall, bindPendingLanHttp, bootstrapSchema, brokerCallForCap, brokerTransportLink, buildBinaryPath, buildCapRouters, buildHeapSample, buildLinkChain, buildNativeCapProxy, buildNodeManifest, buildNpmChildEnv, buildStorageLocationRegistry, builderMountedCapNames, caFingerprint, caFingerprintCompact, callRegisterNodeWithRetry, callWithServiceDiscovery, canServeDataPlane, capActionLabel, capActionName, capActionSuffix, capBareAction, capServiceName, checkClusterSecret, checkProcessMeshClearPort, classifyAddonDir, classifyCapRoute, clearHttpsListener, clearPendingRestart, clearPlatformKeychainKey, closeLanHttp, clusterEventTopic, clusterSecretMatches, collectCertIdentity, collectModelFiles, computeHubJoinProof, computeNodeJoinProof, contentTypeFor, copyDirRecursive, copyExtraFileDirs, createAddonContext, createAddonDataPlaneFacility, createAddonPeerBytesFacility, createAddonService, createArrayBufferCensusGate, createAuthenticatedFileServer, createBroker, createBrokerDeviceManagerApi, createCapActionCensus, createCidrMatcher, createCoreCapService, createDeferredHeapWatchSink, createDoorSettingsView, createEventPlaneMeter, createEventPlaneReader, createFileDataPlaneHandler, createHubCapForwardService, createHubService, createInspectorArrayBufferCensus, createKernelHwAccel, createKernelInferenceEngine, createLocalTransport, createLoopDelayMeter, createMeshAccessMiddleware, createMeshCsrPem, createMeshQueueReader, createOutboundQueueGate, createParentUnownedCallHandler, createProcessService, createReadinessService, createReadinessServiceForRegistry, createScopedProcessManager, createSocketDirectionCounters, createSocketPlaneMeter, createSocketPlaneReader, createStreamProbeBrokerService, createUdsAddonContext, createUdsEventBridge, createUdsEventBus, createUdsLogger, createUdsLoggerWithControl, createV8Reclaimer, decideMeshAutoEnforce, decideMeshClearPortOff, deleteModelFromDisk, deriveAgentListenPort, describeProviderKindDrift, describeRss, detectWorkspacePackagesDir, deviceCapResolverLink, deviceOfGetStatus, diffCapActionCensus, diffEventPlane, diffSocketPlane, downloadBinary, downloadFile, downloadModel, emitDownForOwnedCaps, emitHeapDiagnosticReport, encodeFrame, enrollMeshNode, ensureAddonNativePrebuilds, ensureBinary, ensureDir, ensureFfmpeg, ensureLibraryBuilt, ensureModel, ensureNativePrebuilds, ensurePython, ensureTlsCert, evaluateExistingCert, expandCapMethods, exportMeshPrivateKeyPem, fetchJson, findInPath, formatArrayBufferCensus, formatEventPlane, formatHeapSpaces, formatLogLine, formatMeshQueue, formatOutboundQueueVerdict, formatSocketPlane, generateBackupKeyPair, generateMeshCa, generateMeshKeyPair, getBrokerEventBus, getBrokerTlsTransporter, getCapUsageRegistry, getFfmpegDownloadUrl, getLoggingGate, getModelFilePath, getMoleculerEventStats, getOrInitReadinessRegistry, getOrInitReadinessRegistryForClient, getPidStats, getPlatformInfo, getPlatformKeychainKey, getProcessClusterSecretGate, getProcessJwtSigningKeyState, getProcessMeshAuthMode, getProcessMeshAuthStatus, getProcessMeshCaState, getProcessNodeMeshTransport, getPythonDownloadUrl, getRestartMarkerPath, getSinglePidStats, getUserManagementInternal, getWorkerDeviceRegistry, hasDotNode, hashClusterSecret, heapSpaceField, hostNodeIdOf, hubMainRssBudget, installManifestNativeDeps, installManifestPythonDeps, installManifestSystemDeps, installPackageFromNpm, installPythonPackages, installPythonRequirements, ipcParentLink, isAddonDeploySource, isAllowedAgentDashboardReturnTo, isArrayBufferCensusReport, isArrayOutputSchema, isClusterSecretMismatchError, isCollectionArrayMethod, isCredentialKeyName, isInfraCapability, isMeshAuthMode, isModelDownloaded, isOwnChildNodeId, isRemoteForbiddenAction, isRemoteForbiddenOnAgent, isSettingsReadUnavailable, isSourceNewer, isolatedBuiltinPhase, issueMeshLeafForNode, issueMeshLeafFromCsr, leafFingerprintOf, loadMeshCa, loadTlsCert, localEndpointPath, localProviderLink, localSupportedPythonRuntimes, mapSignalsToInferenceHardware, meshErrorType, mintAgentUiUnlockTicket, mintMeshJoinToken, mountNativeCapService, nextRssBudgetState, normalizeIp, overlayGetStatus, parseAgentDashboardOrigins, parseCapAction, parseCidrList, parseMeshAuthMode, parseRangeHeader, parseRssBudgetMb, parseTokenExpiry, parseTokenizedUrl, partitionIsolatedBuiltinIds, prepareBootTls, prepareRestoreArchive, probePlatform, processJoinTokenJtiStore, processJwtSigningKey, processMeshCrl, proxyToUpstream, quarantineAddonResidue, readBackupEncryptionHeader, readCidrSetting, readExtraSans, readHeapSpaces, readLanHttpState, readPendingRestart, readSocketQueues, readTlsAccessStatus, readTlsMode, readinessKey, reclaimIntervalMs, recordSocketFrame, redactLogEntry, redactLogMeta, redactLogText, regenerateCertificate, registerEventBusService, registerHttpsListener, registerLanHttpHandler, reissueTlsLeaf, reloadHttpsListener, requestProcessMeshEnforcement, requireProcessMeshCa, resolveFilePath, resolveFormatRevision, resolveHwAccel, resolveNpmInvocation, revertToGeneratedCertificate, revisionWeightUrl, runHubAddonBoot, runNpm, sampleSocketDirection, scheduleSelfRestart, scopeKey, scopesAllowAddon, scopesAllowDeviceCap, selectAddonResidue, selectReportedSpaces, serializeTypedArrays, servedHttpsLeafFingerprint, setHubConnected, setNodeEventInterest, setPlatformKeychainKey, setProcessClusterSecretGate, setProcessMeshAuthMode, setProcessMeshAuthStatusSource, setProcessMeshClearPortControl, setProcessMeshEnforcer, setProcessMeshTlsEnabler, setWrapperActive, shouldReclaim, signalAllRunnerGroups, socketDirectionBytes, socketDirectionMessages, splitPemCertificates, stampCallerAddonId, startEventLoopStallMonitor, startHeapWatch, startRunnerHeapWatch, staticJwtSigningKey, storeMayAnswer, storeUploadedCertificate, strandedMb, stripCamstackDeps, stripForgedIdentity, stripForwardedCaller, subscribePassthrough, udsChildLogToWorkerEntry, validateProviderRegistrations, validateUploadedTls, verifyAgentUiUnlockTicket, verifyMeshJoinToken, waitUntilReady, writeExtraSans, writePendingRestart, writeTlsMode };
|