@camstack/system 1.2.414 → 1.2.416
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 +9 -8
- package/dist/builtins/local-auth/local-auth.addon.mjs +4 -3
- package/dist/builtins/local-network/hub-mdns-ciao.d.ts +7 -0
- package/dist/builtins/local-network/hub-mdns.d.ts +58 -0
- package/dist/builtins/local-network/local-network.addon.d.ts +11 -0
- package/dist/builtins/local-network/local-network.addon.js +194 -3
- package/dist/builtins/local-network/local-network.addon.mjs +195 -3
- 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-location-band-monitor.d.ts +43 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.d.ts +6 -0
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +112 -1
- package/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +112 -1
- package/dist/builtins/system-config/system-config.addon.js +80 -785
- package/dist/builtins/system-config/system-config.addon.mjs +52 -757
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{child-cap-dispatch-fnYkJDjG.js → child-cap-dispatch-B87B0FrC.js} +1 -1
- package/dist/{child-cap-dispatch-CpYnlLNt.mjs → child-cap-dispatch-CmfT-OR2.mjs} +1 -1
- package/dist/{composition-sources-BX6Caql_.js → composition-sources-DBcOVpGn.js} +1 -1
- package/dist/{composition-sources-QndhKNb5.mjs → composition-sources-DEZqZLPT.mjs} +1 -1
- package/dist/{constants-vMEWqCqG.mjs → constants-BSBtmzm3.mjs} +1 -1
- package/dist/{constants-CMXQ1QIC.js → constants-C4jZO_qO.js} +1 -1
- package/dist/{dist-ItJ3qAAA.mjs → dist-DwE9yHdk.mjs} +67 -3
- package/dist/{dist-BcnmH70Z.js → dist-DxiDI8hZ.js} +78 -2
- package/dist/{event-loop-stall-monitor-DoFaUgFf.js → event-loop-stall-monitor-E2hFvhDg.js} +1 -1
- package/dist/{event-loop-stall-monitor-CogzcENb.mjs → event-loop-stall-monitor-LBZskC1S.mjs} +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/dist/{jwt-signing-key-CST1LdM6.js → jwt-signing-key-CsC-FxSm.js} +1 -1
- package/dist/{jwt-signing-key-CpMSrZuI.mjs → jwt-signing-key-DLbjTIuA.mjs} +1 -1
- package/dist/lib-B_R6sPC3.mjs +7106 -0
- package/dist/lib-DOJ5yyWA.js +7110 -0
- package/dist/{ms-DlIWNkkk.mjs → ms-CgH2OFlD.mjs} +2 -42
- package/dist/{ms-t68_FaqE.js → ms-LB3giGoU.js} +1 -48
- package/dist/{restore-archive-pSlTKRgU.js → restore-archive-BtKjaVua.js} +1 -1
- package/dist/{restore-archive-8F_M_wW0.mjs → restore-archive-CImzbuRo.mjs} +1 -1
- package/dist/{retired-settings-keys-D3E47aR_.js → retired-settings-keys-Cl1tnkmq.js} +1 -1
- package/dist/{retired-settings-keys-CbkMnFXg.mjs → retired-settings-keys-D1WsCdUY.mjs} +1 -1
- package/dist/safe-buffer-B1OjL1I9.mjs +42 -0
- package/dist/safe-buffer-D3aoa-7X.js +46 -0
- package/dist/src-CnAqG6EF.js +714 -0
- package/dist/src-hG4grMU4.mjs +709 -0
- package/dist/{tls-BWpwU-d5.js → tls-C0TRPfqc.js} +1 -1
- package/dist/{tls-C2NT-Orr.mjs → tls-D-2dPY-5.mjs} +1 -1
- package/dist/{x509.es-Xf3K_brW.mjs → x509.es-CAjSsrkk.mjs} +643 -2
- package/dist/{x509.es-BhTzcFhZ.js → x509.es-Dzl0BbmG.js} +653 -0
- package/package.json +2 -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-DxiDI8hZ.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 {
|
|
1
|
+
import { en as logDestinationCapability, pr as BaseAddon } from "../../dist-DwE9yHdk.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,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-DxiDI8hZ.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");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Or as createEvent, Qr as scrubKnownSecrets, ai as EventCategory$1, rn as maskUrlCredentials } from "./dist-DwE9yHdk.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ar as compositionSourceKey, fr as errMsg } from "./dist-DwE9yHdk.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import "node:crypto";
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-C4hVnRo8.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -219,7 +219,17 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
219
219
|
EventCategory["RecordingStopped"] = "recording.stopped";
|
|
220
220
|
EventCategory["RecordingError"] = "recording.error";
|
|
221
221
|
EventCategory["RecordingHealthDegraded"] = "recording.health.degraded";
|
|
222
|
+
/** Recording enabled but no segment finalized for the NC stall window. */
|
|
223
|
+
EventCategory["RecordingHealthStalled"] = "recording.health.stalled";
|
|
224
|
+
/** Recovery from {@link RecordingHealthStalled}. */
|
|
225
|
+
EventCategory["RecordingHealthOk"] = "recording.health.ok";
|
|
222
226
|
EventCategory["RecordingStorageCritical"] = "recording.storage.critical";
|
|
227
|
+
/** Free space on a storage location crossed the warn bar. */
|
|
228
|
+
EventCategory["StorageLocationLow"] = "storage.location.low";
|
|
229
|
+
/** Free space at/under the critical bar, or capacity probe failed (`null`). */
|
|
230
|
+
EventCategory["StorageLocationCritical"] = "storage.location.critical";
|
|
231
|
+
/** Recovery from low/critical on a storage location. */
|
|
232
|
+
EventCategory["StorageLocationOk"] = "storage.location.ok";
|
|
223
233
|
EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
|
|
224
234
|
EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
|
|
225
235
|
EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
|
|
@@ -708,7 +718,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
708
718
|
return EventCategory;
|
|
709
719
|
}({});
|
|
710
720
|
//#endregion
|
|
711
|
-
//#region ../types/dist/sleep-
|
|
721
|
+
//#region ../types/dist/sleep-Tkp9dHXv.mjs
|
|
712
722
|
/**
|
|
713
723
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
714
724
|
* window to float samples (D455).
|
|
@@ -19375,6 +19385,20 @@ function resolveHubAddressRoles(appPalette, hubPalette, flags) {
|
|
|
19375
19385
|
};
|
|
19376
19386
|
}
|
|
19377
19387
|
/**
|
|
19388
|
+
* How a client finds a hub on the LAN (D838): the hub publishes ONE mDNS
|
|
19389
|
+
* service for its HTTPS endpoint. `_camstack._tcp` carries the hub's `internal`
|
|
19390
|
+
* address in `url`, and nothing secret — finding a hub grants nothing, every
|
|
19391
|
+
* client still signs in. The mesh channel stays retired (D826).
|
|
19392
|
+
*/
|
|
19393
|
+
var HUB_MDNS_SERVICE_TYPE = "camstack";
|
|
19394
|
+
/** The TXT keys of the advertisement. Every value is public. */
|
|
19395
|
+
var HUB_MDNS_TXT_KEYS = {
|
|
19396
|
+
nodeId: "nodeId",
|
|
19397
|
+
version: "version",
|
|
19398
|
+
role: "role",
|
|
19399
|
+
url: "url"
|
|
19400
|
+
};
|
|
19401
|
+
/**
|
|
19378
19402
|
* Transport bounds for AI capability methods.
|
|
19379
19403
|
*
|
|
19380
19404
|
* Its own module because `llm.cap.ts` and `llm-runtime.cap.ts` already import
|
|
@@ -22309,6 +22333,12 @@ var NcSystemEventKindSchema = z.enum([
|
|
|
22309
22333
|
"node-updating",
|
|
22310
22334
|
"node-inference-unavailable",
|
|
22311
22335
|
"detection-blind",
|
|
22336
|
+
"recording-stalled",
|
|
22337
|
+
"recording-healthy",
|
|
22338
|
+
"recording-degraded",
|
|
22339
|
+
"storage-location-low",
|
|
22340
|
+
"storage-location-critical",
|
|
22341
|
+
"storage-location-ok",
|
|
22312
22342
|
"addon-crash-loop",
|
|
22313
22343
|
"addon-update-available",
|
|
22314
22344
|
"server-update-available",
|
|
@@ -63878,6 +63908,9 @@ new Map(Object.entries({
|
|
|
63878
63908
|
"stream-online": "device-events",
|
|
63879
63909
|
"stream-offline": "device-events",
|
|
63880
63910
|
"detection-blind": "device-events",
|
|
63911
|
+
"recording-stalled": "device-events",
|
|
63912
|
+
"recording-healthy": "device-events",
|
|
63913
|
+
"recording-degraded": "device-events",
|
|
63881
63914
|
"node-online": "system",
|
|
63882
63915
|
"node-offline": "system",
|
|
63883
63916
|
"node-restarting": "system",
|
|
@@ -63891,6 +63924,9 @@ new Map(Object.entries({
|
|
|
63891
63924
|
"wrapper-update-available": "system",
|
|
63892
63925
|
"backup-completed": "system",
|
|
63893
63926
|
"export-completed": "system",
|
|
63927
|
+
"storage-location-low": "system",
|
|
63928
|
+
"storage-location-critical": "system",
|
|
63929
|
+
"storage-location-ok": "system",
|
|
63894
63930
|
"alarm-triggered": "alarm",
|
|
63895
63931
|
"alarm-armed": "alarm",
|
|
63896
63932
|
"alarm-disarmed": "alarm",
|
|
@@ -63952,6 +63988,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
63952
63988
|
label: "Detecting nothing",
|
|
63953
63989
|
kinds: ["detection-blind"]
|
|
63954
63990
|
},
|
|
63991
|
+
{
|
|
63992
|
+
id: "recording",
|
|
63993
|
+
family: "device-events",
|
|
63994
|
+
label: "Recording",
|
|
63995
|
+
kinds: [
|
|
63996
|
+
"recording-stalled",
|
|
63997
|
+
"recording-healthy",
|
|
63998
|
+
"recording-degraded"
|
|
63999
|
+
]
|
|
64000
|
+
},
|
|
63955
64001
|
{
|
|
63956
64002
|
id: "nodes",
|
|
63957
64003
|
family: "system",
|
|
@@ -63992,6 +64038,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
63992
64038
|
label: "Backups & exports",
|
|
63993
64039
|
kinds: ["backup-completed", "export-completed"]
|
|
63994
64040
|
},
|
|
64041
|
+
{
|
|
64042
|
+
id: "storage",
|
|
64043
|
+
family: "system",
|
|
64044
|
+
label: "Storage locations",
|
|
64045
|
+
kinds: [
|
|
64046
|
+
"storage-location-low",
|
|
64047
|
+
"storage-location-critical",
|
|
64048
|
+
"storage-location-ok"
|
|
64049
|
+
]
|
|
64050
|
+
},
|
|
63995
64051
|
{
|
|
63996
64052
|
id: "alarm",
|
|
63997
64053
|
family: "alarm",
|
|
@@ -64074,6 +64130,9 @@ var DEVICE_EVENTS = [
|
|
|
64074
64130
|
"stream-online",
|
|
64075
64131
|
"stream-offline",
|
|
64076
64132
|
"detection-blind",
|
|
64133
|
+
"recording-stalled",
|
|
64134
|
+
"recording-healthy",
|
|
64135
|
+
"recording-degraded",
|
|
64077
64136
|
...ALARM
|
|
64078
64137
|
];
|
|
64079
64138
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -64241,6 +64300,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
64241
64300
|
[...RULE_TEXT],
|
|
64242
64301
|
[...RULE_TEXT],
|
|
64243
64302
|
[...RULE_TEXT],
|
|
64303
|
+
[...RULE_TEXT],
|
|
64304
|
+
[...RULE_TEXT],
|
|
64305
|
+
[...RULE_TEXT],
|
|
64306
|
+
[...RULE_TEXT],
|
|
64307
|
+
[...RULE_TEXT],
|
|
64244
64308
|
([...RULE_TEXT], [...UPDATES]),
|
|
64245
64309
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
64246
64310
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -65145,4 +65209,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
65145
65209
|
return out;
|
|
65146
65210
|
}
|
|
65147
65211
|
//#endregion
|
|
65148
|
-
export {
|
|
65212
|
+
export { bareAddonId as $, cloneStatefulExpressionMemory as $n, secretTreeFromPaths as $r, locationIconKey as $t, LegacyStorageLocationDefaultSchema as A, runtimeStatePolicyFor as An, defineCustomActions as Ar, evictionPolicyOfLocation as At, STREAM_PROFILE_META as B, storageProviderCapability as Bn, isSecretMarker as Br, isArrayOutputSchema as Bt, FieldClaimModeSchema as C, resolveBucketMs as Cn, asNumber as Cr, deviceManagerCapability as Ct, HUB_MDNS_TXT_KEYS as D, resolveLocationMode as Dn, collectZodSecretPaths as Dr, enumerateItemArrayFields as Dt, HUB_MDNS_SERVICE_TYPE as E, resolveHubAddressRoles as En, collectSecretConfigKeys as Er, enumerateInferenceDevices as Et, MOTION_CLOSE_AFTER_MS as F, siteZoneKey as Fn, hydrateSchema as Fr, foldSnapshotByFunction as Ft, StorageMigrationJobSchema as G, validateComposition as Gn, parseJsonObject as Gr, isVoidInput as Gt, StorageCleanupJobSchema as H, streamQualityLabel as Hn, makeSecretMarker as Hr, isDefaultAppConnectionEndpoint as Ht, RECORDING_SOURCE_CAMSTACK_ADDON as I, snapshotCapability as In, isDeviceConfigCap as Ir, formatMinutes as It, addonSettingsCapability as J, vectorIndexDimConflictError as Jn, readinessKey as Jr, keychainCapability as Jt, UserRecordSchema as K, validateCustomAddress as Kn, parseJsonUnknown as Kr, kebabToCamel as Kt, RUNTIME_DEFAULTS as L, storageCapability as Ln, isEvent as Lr, gbToBytes as Lt, METHOD_ACCESS_MAP as M, scopesAllowDeviceCap as Mn, emitReadiness as Mr, expressionContainsBuiltinCall as Mt, MINUTES_PER_DAY as N, scoreRuntimes as Nn, expandCapMethods as Nr, extractNestedAddonId as Nt, KEYCHAIN_RESET_TRIGGER_ACTOR as O, resolveMethodAuth as On, createEvent as Or, enumerateSchemaFields as Ot, MODEL_FORMATS as P, settingsStoreCapability as Pn, formatSecretScope as Pr, filesystemBrowseCapability as Pt, backupCapability as Q, buildFfmpegArgs as Qn, scrubKnownSecrets as Qr, localNetworkCapability as Qt, RecordingStatusSchema as R, storageMigrationCapability as Rn, isKeychainStoredField as Rr, hfModelUrl as Rt, FIRST_LEVEL_MACRO_CLASSES as S, resolveAppConnections as Sn, asJsonObject as Sr, deviceExtensionCapability as St, HF_REPO as T, resolveCoreBlockFiles as Tn, buildSecretRef as Tr, deviceStatusCapability as Tt, StorageLocationModeSchema as U, supportedRuntimes as Un, nodePin as Ur, isLocationEnabled as Ut, ScopedTokenSchema as V, streamCatalogCapability as Vn, isSecretMarkerLike as Vr, isCollectionArrayMethod as Vt, StorageLocationTypeSchema as W, userManagementCapability as Wn, normalizeSecretOwner as Wr, isObjectInput as Wt, alertsCapability as X, withLocationMode as Xn, resolveSecretMarkers as Xr, legacyModeOf as Xt, addonWidgetsCapability as Y, vectorStoreCapability as Yn, resolveCapMount as Yr, legacyAutoLinkIds as Yt, authProviderCapability as Z, COMPOSER_ADDON_ID as Zn, scopeKey as Zr, lifecycleJobSchema as Zt, DATABASE_SNAPSHOT_TIMEOUT_MS as _, platformProbeCapability as _n, REDACTED_SECRET as _r, declarationOwnerNodeId as _t, BatteryStatusSchema as a, EventCategory as ai, mayWriteToLocation as an, compositionSourceKey as ar, checkRoleAddress as at, DeclaredDevices as b, reducePoints as bn, SECRET_CLEAR as br, deriveBatteryPresence as bt, CAP_NAMES_WITH_STATUS as c, modeMayWrite as cn, toExpressionValue as cr, compositionSourceRefs as ct, CORE_BLOCKS_ADDON_ID as d, normalizeUnit as dn, DeviceType as dr, coreBlockIdFromAddonId as dt, secretTreeFromSchema as ei, logDestinationCapability as en, composedDeviceRef as er, batteryCapability as et, CORE_BLOCK_ADDON_PREFIX as f, objectInputDeclaresAddonId as fn, errMsg as fr, coreBlockSourceKind as ft, DATABASE_SNAPSHOT_SUFFIX as g, planComposition as gn, DEVICE_STATUS_METHOD as gr, databaseSnapshotCapability as gt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as h, pickAppLinkHub as hn, DEVICE_SETTINGS_CONTRIBUTION_METHODS as hr, dataStoreProviderCapability as ht, BaseDevice as i, transformSecretWrite as ii, mayReadLocation as in, compositionSliceKey as ir, cameraGridLayoutCapability as it, LocationIconIdSchema as j, scopesAllowAddon as jn, emitDownForOwnedCaps as jr, expandContainer as jt, LOG_LEVEL_RANK as k, resolveNotificationTapAddress as kn, customAction as kr, evaluateCompositionField as kt, COMPOSED_ITEM_FIXED_FIELDS as l, motionCapability as ln, DeviceFeature as lr, coreBlockAddonId as lt, CoreBlockSchema as m, parseStreamParamsFormPatch as mn, DATAPLANE_SECRET_HEADER as mr, createDeviceExtensionProvider as mt, AlertSchema as n, toNodeId as ni, looseSchema as nn, compositionFeatureEnabled as nr, buildStreamParamsConfigSchema as nt, CAMERA_SWITCH_ORDER as o, memoizePinnedFfmpeg as on, createStatefulExpressionMemory as or, composerCapability as ot, CalendarPreferencesSchema as p, objectInputDeclaresRequiredDeviceId as pn, BaseAddon as pr, coreBlocksCapability as pt, addonPagesCapability as q, vectorDimFromBase64 as qn, parseSecretRef as qr, keychainAdminCapability as qt, ApiKeyRecordSchema as r, toSecretFieldView as ri, maskUrlCredentials as rn, compositionItemFieldPath as rr, calendarsCapability as rt, CAMSTACK_APP_LINK_ORIGIN as s, metricsProviderCapability as sn, disarmRoseMemory as sr, compositionFieldKey as st, ALL_CAPABILITY_DEFINITIONS as t, sleep as ti, logLevelAtMost as tn, composedDeviceStableId as tr, buildCapabilityLookup as tt, COMPOSER_RUNNER_ID as u, normalizeCoreBlockWrite as un, DeviceRole as ur, coreBlockComposition as ut, DAY_NAMES as v, procedureAuthKey as vn, ReadinessRegistry as vr, decodeVectorBase64 as vt, FieldClaimSchema as w, resolveCoreBlockEntry as wn, asString$1 as wr, deviceStateCapability as wt, DeviceStatusSchema as x, replacedFieldKeys as xn, WELL_KNOWN_TAB_MAP as xr, describeComposableCaps as xt, DERIVED_CAMERA_SILENCED_CAP_NAMES as y, ptzAutotrackCapability as yn, ReadinessTimeoutError as yr, defineExtensionSlotProvider as yt, STORAGE_ACCESS_FALLBACK as z, storageOccupancyCapability as zn, isSecretClear as zr, isAppLinkBase as zt };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let zod = require("zod");
|
|
2
2
|
require("node:crypto");
|
|
3
|
-
//#region ../types/dist/event-category-
|
|
3
|
+
//#region ../types/dist/event-category-C4hVnRo8.mjs
|
|
4
4
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
5
5
|
EventCategory["SystemBoot"] = "system.boot";
|
|
6
6
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -219,7 +219,17 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
219
219
|
EventCategory["RecordingStopped"] = "recording.stopped";
|
|
220
220
|
EventCategory["RecordingError"] = "recording.error";
|
|
221
221
|
EventCategory["RecordingHealthDegraded"] = "recording.health.degraded";
|
|
222
|
+
/** Recording enabled but no segment finalized for the NC stall window. */
|
|
223
|
+
EventCategory["RecordingHealthStalled"] = "recording.health.stalled";
|
|
224
|
+
/** Recovery from {@link RecordingHealthStalled}. */
|
|
225
|
+
EventCategory["RecordingHealthOk"] = "recording.health.ok";
|
|
222
226
|
EventCategory["RecordingStorageCritical"] = "recording.storage.critical";
|
|
227
|
+
/** Free space on a storage location crossed the warn bar. */
|
|
228
|
+
EventCategory["StorageLocationLow"] = "storage.location.low";
|
|
229
|
+
/** Free space at/under the critical bar, or capacity probe failed (`null`). */
|
|
230
|
+
EventCategory["StorageLocationCritical"] = "storage.location.critical";
|
|
231
|
+
/** Recovery from low/critical on a storage location. */
|
|
232
|
+
EventCategory["StorageLocationOk"] = "storage.location.ok";
|
|
223
233
|
EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
|
|
224
234
|
EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
|
|
225
235
|
EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
|
|
@@ -708,7 +718,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
708
718
|
return EventCategory;
|
|
709
719
|
}({});
|
|
710
720
|
//#endregion
|
|
711
|
-
//#region ../types/dist/sleep-
|
|
721
|
+
//#region ../types/dist/sleep-Tkp9dHXv.mjs
|
|
712
722
|
/**
|
|
713
723
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
714
724
|
* window to float samples (D455).
|
|
@@ -19375,6 +19385,20 @@ function resolveHubAddressRoles(appPalette, hubPalette, flags) {
|
|
|
19375
19385
|
};
|
|
19376
19386
|
}
|
|
19377
19387
|
/**
|
|
19388
|
+
* How a client finds a hub on the LAN (D838): the hub publishes ONE mDNS
|
|
19389
|
+
* service for its HTTPS endpoint. `_camstack._tcp` carries the hub's `internal`
|
|
19390
|
+
* address in `url`, and nothing secret — finding a hub grants nothing, every
|
|
19391
|
+
* client still signs in. The mesh channel stays retired (D826).
|
|
19392
|
+
*/
|
|
19393
|
+
var HUB_MDNS_SERVICE_TYPE = "camstack";
|
|
19394
|
+
/** The TXT keys of the advertisement. Every value is public. */
|
|
19395
|
+
var HUB_MDNS_TXT_KEYS = {
|
|
19396
|
+
nodeId: "nodeId",
|
|
19397
|
+
version: "version",
|
|
19398
|
+
role: "role",
|
|
19399
|
+
url: "url"
|
|
19400
|
+
};
|
|
19401
|
+
/**
|
|
19378
19402
|
* Transport bounds for AI capability methods.
|
|
19379
19403
|
*
|
|
19380
19404
|
* Its own module because `llm.cap.ts` and `llm-runtime.cap.ts` already import
|
|
@@ -22309,6 +22333,12 @@ var NcSystemEventKindSchema = zod.z.enum([
|
|
|
22309
22333
|
"node-updating",
|
|
22310
22334
|
"node-inference-unavailable",
|
|
22311
22335
|
"detection-blind",
|
|
22336
|
+
"recording-stalled",
|
|
22337
|
+
"recording-healthy",
|
|
22338
|
+
"recording-degraded",
|
|
22339
|
+
"storage-location-low",
|
|
22340
|
+
"storage-location-critical",
|
|
22341
|
+
"storage-location-ok",
|
|
22312
22342
|
"addon-crash-loop",
|
|
22313
22343
|
"addon-update-available",
|
|
22314
22344
|
"server-update-available",
|
|
@@ -63878,6 +63908,9 @@ new Map(Object.entries({
|
|
|
63878
63908
|
"stream-online": "device-events",
|
|
63879
63909
|
"stream-offline": "device-events",
|
|
63880
63910
|
"detection-blind": "device-events",
|
|
63911
|
+
"recording-stalled": "device-events",
|
|
63912
|
+
"recording-healthy": "device-events",
|
|
63913
|
+
"recording-degraded": "device-events",
|
|
63881
63914
|
"node-online": "system",
|
|
63882
63915
|
"node-offline": "system",
|
|
63883
63916
|
"node-restarting": "system",
|
|
@@ -63891,6 +63924,9 @@ new Map(Object.entries({
|
|
|
63891
63924
|
"wrapper-update-available": "system",
|
|
63892
63925
|
"backup-completed": "system",
|
|
63893
63926
|
"export-completed": "system",
|
|
63927
|
+
"storage-location-low": "system",
|
|
63928
|
+
"storage-location-critical": "system",
|
|
63929
|
+
"storage-location-ok": "system",
|
|
63894
63930
|
"alarm-triggered": "alarm",
|
|
63895
63931
|
"alarm-armed": "alarm",
|
|
63896
63932
|
"alarm-disarmed": "alarm",
|
|
@@ -63952,6 +63988,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
63952
63988
|
label: "Detecting nothing",
|
|
63953
63989
|
kinds: ["detection-blind"]
|
|
63954
63990
|
},
|
|
63991
|
+
{
|
|
63992
|
+
id: "recording",
|
|
63993
|
+
family: "device-events",
|
|
63994
|
+
label: "Recording",
|
|
63995
|
+
kinds: [
|
|
63996
|
+
"recording-stalled",
|
|
63997
|
+
"recording-healthy",
|
|
63998
|
+
"recording-degraded"
|
|
63999
|
+
]
|
|
64000
|
+
},
|
|
63955
64001
|
{
|
|
63956
64002
|
id: "nodes",
|
|
63957
64003
|
family: "system",
|
|
@@ -63992,6 +64038,16 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
63992
64038
|
label: "Backups & exports",
|
|
63993
64039
|
kinds: ["backup-completed", "export-completed"]
|
|
63994
64040
|
},
|
|
64041
|
+
{
|
|
64042
|
+
id: "storage",
|
|
64043
|
+
family: "system",
|
|
64044
|
+
label: "Storage locations",
|
|
64045
|
+
kinds: [
|
|
64046
|
+
"storage-location-low",
|
|
64047
|
+
"storage-location-critical",
|
|
64048
|
+
"storage-location-ok"
|
|
64049
|
+
]
|
|
64050
|
+
},
|
|
63995
64051
|
{
|
|
63996
64052
|
id: "alarm",
|
|
63997
64053
|
family: "alarm",
|
|
@@ -64074,6 +64130,9 @@ var DEVICE_EVENTS = [
|
|
|
64074
64130
|
"stream-online",
|
|
64075
64131
|
"stream-offline",
|
|
64076
64132
|
"detection-blind",
|
|
64133
|
+
"recording-stalled",
|
|
64134
|
+
"recording-healthy",
|
|
64135
|
+
"recording-degraded",
|
|
64077
64136
|
...ALARM
|
|
64078
64137
|
];
|
|
64079
64138
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -64241,6 +64300,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
64241
64300
|
[...RULE_TEXT],
|
|
64242
64301
|
[...RULE_TEXT],
|
|
64243
64302
|
[...RULE_TEXT],
|
|
64303
|
+
[...RULE_TEXT],
|
|
64304
|
+
[...RULE_TEXT],
|
|
64305
|
+
[...RULE_TEXT],
|
|
64306
|
+
[...RULE_TEXT],
|
|
64307
|
+
[...RULE_TEXT],
|
|
64244
64308
|
([...RULE_TEXT], [...UPDATES]),
|
|
64245
64309
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
64246
64310
|
([...RULE_TEXT], [...PACKAGE_UPDATES]),
|
|
@@ -65349,6 +65413,18 @@ Object.defineProperty(exports, "HF_REPO", {
|
|
|
65349
65413
|
return HF_REPO;
|
|
65350
65414
|
}
|
|
65351
65415
|
});
|
|
65416
|
+
Object.defineProperty(exports, "HUB_MDNS_SERVICE_TYPE", {
|
|
65417
|
+
enumerable: true,
|
|
65418
|
+
get: function() {
|
|
65419
|
+
return HUB_MDNS_SERVICE_TYPE;
|
|
65420
|
+
}
|
|
65421
|
+
});
|
|
65422
|
+
Object.defineProperty(exports, "HUB_MDNS_TXT_KEYS", {
|
|
65423
|
+
enumerable: true,
|
|
65424
|
+
get: function() {
|
|
65425
|
+
return HUB_MDNS_TXT_KEYS;
|
|
65426
|
+
}
|
|
65427
|
+
});
|
|
65352
65428
|
Object.defineProperty(exports, "KEYCHAIN_RESET_TRIGGER_ACTOR", {
|
|
65353
65429
|
enumerable: true,
|
|
65354
65430
|
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-DxiDI8hZ.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-CogzcENb.mjs → event-loop-stall-monitor-LBZskC1S.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as MODEL_FORMATS, Rt as hfModelUrl, T as HF_REPO } from "./dist-DwE9yHdk.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-DxiDI8hZ.js");
|
|
4
|
+
const require_jwt_signing_key = require("./jwt-signing-key-CsC-FxSm.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-C4jZO_qO.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-
|
|
35
|
-
const require_tls = require("./tls-
|
|
36
|
-
const require_child_cap_dispatch = require("./child-cap-dispatch-
|
|
34
|
+
const require_event_loop_stall_monitor = require("./event-loop-stall-monitor-E2hFvhDg.js");
|
|
35
|
+
const require_tls = require("./tls-C0TRPfqc.js");
|
|
36
|
+
const require_child_cap_dispatch = require("./child-cap-dispatch-B87B0FrC.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-BtKjaVua.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");
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
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 { Bt as isArrayOutputSchema, Cr as asNumber, Gr as parseJsonObject, Gt as isVoidInput, J as addonSettingsCapability, Jr as readinessKey, Kr as parseJsonUnknown, Kt as kebabToCamel, L as RUNTIME_DEFAULTS, M as METHOD_ACCESS_MAP, Mn as scopesAllowDeviceCap, Nr as expandCapMethods, Nt as extractNestedAddonId, On as resolveMethodAuth, Or as createEvent, Sr as asJsonObject$1, Un as supportedRuntimes, Vt as isCollectionArrayMethod, Wt as isObjectInput, Yr as resolveCapMount, Zr as scopeKey, Zt as lifecycleJobSchema, ai as EventCategory$1, fn as objectInputDeclaresAddonId, fr as errMsg$1, gr as DEVICE_STATUS_METHOD, hr as DEVICE_SETTINGS_CONTRIBUTION_METHODS, jn as scopesAllowAddon, jr as emitDownForOwnedCaps, k as LOG_LEVEL_RANK, mr as DATAPLANE_SECRET_HEADER$1, nn as looseSchema, pn as objectInputDeclaresRequiredDeviceId, t as ALL_CAPABILITY_DEFINITIONS, tn as logLevelAtMost, vn as procedureAuthKey, vr as ReadinessRegistry, wr as asString$1, yr as ReadinessTimeoutError } from "./dist-DwE9yHdk.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-DLbjTIuA.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 getProcessClusterSecretGate, a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, d as CLUSTER_SECRET_REF, f as CLUSTER_SECRET_REJECTED_EXIT_CODE, g as clusterSecretMatches, h as checkClusterSecret, i as MESH_CA_FIELD, m as CLUSTER_SECRET_UNAVAILABLE_TYPE, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, p as CLUSTER_SECRET_SETTINGS_KEY, u as CLUSTER_SECRET_MISMATCH_TYPE, v as hashClusterSecret, y as isClusterSecretMismatchError } from "./constants-
|
|
29
|
+
import { _ as getProcessClusterSecretGate, a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, d as CLUSTER_SECRET_REF, f as CLUSTER_SECRET_REJECTED_EXIT_CODE, g as clusterSecretMatches, h as checkClusterSecret, i as MESH_CA_FIELD, m as CLUSTER_SECRET_UNAVAILABLE_TYPE, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, p as CLUSTER_SECRET_SETTINGS_KEY, u as CLUSTER_SECRET_MISMATCH_TYPE, v as hashClusterSecret, y as isClusterSecretMismatchError } from "./constants-BSBtmzm3.mjs";
|
|
30
30
|
import { A as AGENT_UI_UNLOCK_VERSION, B as parseMeshAuthMode, C as generateMeshKeyPair, D as AGENT_DASHBOARD_ORIGINS_FIELD, E as loadMeshCa, F as verifyAgentUiUnlockTicket, G as createCidrMatcher, H as setProcessMeshAuthMode, I as MESH_AUTH_MODE_FIELD, J as readCidrSetting, K as normalizeIp, L as getProcessMeshAuthMode, M as isAllowedAgentDashboardReturnTo, N as mintAgentUiUnlockTicket, O as AGENT_UI_UNLOCK_DOMAIN, P as parseAgentDashboardOrigins, R as getProcessMeshAuthStatus, S as generateMeshCa, SystemConfigAddon, T as issueMeshLeafFromCsr, U as setProcessMeshAuthStatusSource, V as requestProcessMeshEnforcement, W as setProcessMeshEnforcer, _ as requireProcessMeshCa, a as setProcessMeshTlsEnabler, b as createMeshCsrPem, c as mintMeshJoinToken, d as getProcessNodeMeshTransport, f as setProcessMeshPeerTransportLookup, g as getProcessMeshCaState, h as MeshCaKeeper, i as ServiceBroker, j as UnlockTicketJtiStore, k as AGENT_UI_UNLOCK_TTL_MS, l as processJoinTokenJtiStore, m as processMeshCrl, n as TlsTcpTransporter, o as enrollMeshNode, p as MeshCrl, q as parseCidrList, r as Errors, s as JoinTokenJtiStore, u as verifyMeshJoinToken, v as caFingerprint, w as issueMeshLeafForNode, x as exportMeshPrivateKeyPem, y as caFingerprintCompact, z as isMeshAuthMode } 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-
|
|
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-
|
|
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-
|
|
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-LBZskC1S.mjs";
|
|
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-D-2dPY-5.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-CmfT-OR2.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-CImzbuRo.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";
|