@camstack/system 1.2.425 → 1.2.427
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/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.d.ts +6 -0
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +22 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +22 -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 +10 -10
- package/dist/builtins/device-manager/device-manager.addon.mjs +10 -10
- package/dist/builtins/device-manager/device-meta-actions.d.ts +1 -1
- package/dist/builtins/device-manager/device-meta-types.d.ts +4 -4
- 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/address-book.d.ts +21 -0
- package/dist/builtins/local-network/local-network.addon.d.ts +6 -0
- package/dist/builtins/local-network/local-network.addon.js +48 -7
- package/dist/builtins/local-network/local-network.addon.mjs +48 -7
- 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/index.js +1 -1
- package/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- 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 +2 -2
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{composition-sources-DmzTSy26.mjs → composition-sources-BQNxXQZG.mjs} +1 -1
- package/dist/{composition-sources-197keifF.js → composition-sources-DvCGZEUI.js} +1 -1
- package/dist/{constants-B5Jd8Zch.js → constants-CCSJGnjs.js} +1 -1
- package/dist/{constants-CkNLi-XW.mjs → constants-CR4If_lP.mjs} +1 -1
- package/dist/{dist-DnALrQF-.js → dist-BQG3QFg7.js} +19946 -1357
- package/dist/{dist-DMWeqeTF.mjs → dist-DHSJV4Qc.mjs} +19941 -1352
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/index.js +272 -198
- package/dist/index.mjs +272 -198
- package/dist/{jwt-signing-key-DeqG7LD9.js → jwt-signing-key-BZm055IP.js} +1 -1
- package/dist/{jwt-signing-key-CCHXAtrs.mjs → jwt-signing-key-DL-qk1SM.mjs} +1 -1
- package/dist/kernel/moleculer/process-service.d.ts +1 -110
- package/dist/kernel/moleculer/runner-heap-flags.d.ts +228 -0
- package/dist/{restore-archive-GevpOHw8.mjs → restore-archive-DH1Pxq_1.mjs} +1 -1
- package/dist/{restore-archive-C4UhQOsg.js → restore-archive-Dccm8lkA.js} +1 -1
- package/dist/{retired-settings-keys-0FOsnzIE.js → retired-settings-keys-BfGaSeQI.js} +1 -1
- package/dist/{retired-settings-keys-CdVFl7m2.mjs → retired-settings-keys-CPz7zpza.mjs} +1 -1
- package/dist/{wal-maintenance-DJV1rde2.js → wal-maintenance-DItkuOvu.js} +0 -0
- package/dist/{wal-maintenance-BtfyfuT5.mjs → wal-maintenance-Drqhcjit.mjs} +0 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("../../chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("../../dist-
|
|
3
|
+
const require_dist = require("../../dist-BQG3QFg7.js");
|
|
4
4
|
const require_tls = require("../../tls-BgImdxCO.js");
|
|
5
5
|
let zod = require("zod");
|
|
6
6
|
let node_net = require("node:net");
|
|
@@ -228,9 +228,31 @@ function buildAddressBook(state, inputs) {
|
|
|
228
228
|
...state.custom.filter((c) => !detectedUrls.has(c.baseUrl)).map((c) => row(customEndpoint(c), false))
|
|
229
229
|
],
|
|
230
230
|
roles,
|
|
231
|
-
appLinkHub: inputs.appLinkHub
|
|
231
|
+
appLinkHub: inputs.appLinkHub,
|
|
232
|
+
listenerOrigins: inputs.listenerOrigins
|
|
232
233
|
};
|
|
233
234
|
}
|
|
235
|
+
var ORIGIN_KINDS = new Set([
|
|
236
|
+
"lan-ipv4",
|
|
237
|
+
"lan-ipv6",
|
|
238
|
+
"public"
|
|
239
|
+
]);
|
|
240
|
+
/**
|
|
241
|
+
* Every origin a browser can really reach this hub at: the HTTPS listener's
|
|
242
|
+
* `https://<lan>:<httpsPort>` AND, while the LAN HTTP listener is on,
|
|
243
|
+
* `http://<lan>:<httpPort>`; plus the public and custom addresses. The rows
|
|
244
|
+
* show `http://` only while LAN HTTP is on (native clients skip the private
|
|
245
|
+
* certificate), so the https origin the admin UI is opened at is in no row —
|
|
246
|
+
* a sign-in return (D794) matches against this list instead of falling back
|
|
247
|
+
* to the public endpoint. Never loopback, never the app link.
|
|
248
|
+
*/
|
|
249
|
+
function buildListenerOrigins(inputs) {
|
|
250
|
+
const out = /* @__PURE__ */ new Set();
|
|
251
|
+
for (const e of [...inputs.overHttps, ...inputs.overHttp]) if (ORIGIN_KINDS.has(e.kind)) out.add(e.baseUrl);
|
|
252
|
+
for (const c of inputs.custom) out.add(c.baseUrl);
|
|
253
|
+
for (const o of inputs.localNameOrigins) out.add(o);
|
|
254
|
+
return [...out];
|
|
255
|
+
}
|
|
234
256
|
//#endregion
|
|
235
257
|
//#region src/builtins/local-network/ipv6-lan.ts
|
|
236
258
|
/**
|
|
@@ -616,11 +638,14 @@ var LocalNetworkAddon = class extends require_dist.BaseAddon {
|
|
|
616
638
|
/** `getAddresses`: the Addresses table and every role's answer. */
|
|
617
639
|
async addressBook(scheme) {
|
|
618
640
|
const { http, https } = await this.palettes();
|
|
619
|
-
|
|
641
|
+
const state = this.addressState([...http, ...https]);
|
|
642
|
+
const httpsPort = (await this.resolveAdvertisedListenPort(null)).port;
|
|
643
|
+
return buildAddressBook(state, {
|
|
620
644
|
rowsPalette: scheme === "http" ? http : https,
|
|
621
645
|
httpsPalette: https,
|
|
622
646
|
appLink: appLinkEndpoint(),
|
|
623
|
-
appLinkHub: require_dist.pickAppLinkHub(https)
|
|
647
|
+
appLinkHub: require_dist.pickAppLinkHub(https),
|
|
648
|
+
listenerOrigins: this.listenerOriginsNow(state, http, httpsPort)
|
|
624
649
|
});
|
|
625
650
|
}
|
|
626
651
|
/**
|
|
@@ -711,17 +736,33 @@ var LocalNetworkAddon = class extends require_dist.BaseAddon {
|
|
|
711
736
|
const detected = this.endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort);
|
|
712
737
|
return withAppConnectionCustomEndpoints(detected, this.addressState(detected));
|
|
713
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
* Where the listeners answer, whatever the rows advertise: the HTTPS
|
|
741
|
+
* listener's origin per allowlisted LAN address, the HTTP one while it is
|
|
742
|
+
* on (`http` is the palette that already carries those rows).
|
|
743
|
+
*/
|
|
744
|
+
listenerOriginsNow(state, http, httpsPort) {
|
|
745
|
+
const httpListening = this.config.httpEnabled !== false && require_tls.readLanHttpState().listening;
|
|
746
|
+
const hostname = this.config.localHostname || null;
|
|
747
|
+
const localNameOrigins = hostname === null ? [] : [`https://${hostname}:${httpsPort}`, ...httpListening ? [`http://${hostname}:${this.resolvedHttpPort()}`] : []];
|
|
748
|
+
return buildListenerOrigins({
|
|
749
|
+
overHttps: this.endpointsNow(false, false, "https", httpsPort, false),
|
|
750
|
+
overHttp: httpListening ? http : [],
|
|
751
|
+
custom: state.custom,
|
|
752
|
+
localNameOrigins
|
|
753
|
+
});
|
|
754
|
+
}
|
|
714
755
|
/** The DETECTED palette from the cached interface/tunnel/mesh state. */
|
|
715
|
-
endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort) {
|
|
756
|
+
endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort, advertiseLanHttp = true) {
|
|
716
757
|
const interfaces = applyAllowlist(this.enumerate(), this.config.allowedAddresses);
|
|
717
758
|
const httpState = require_tls.readLanHttpState();
|
|
718
|
-
return buildEndpoints(interfaces, httpsPort, includeLoopback, ipv4Only, this.publicHostname, scheme, this.meshEndpoint, {
|
|
759
|
+
return buildEndpoints(interfaces, httpsPort, includeLoopback, ipv4Only, this.publicHostname, scheme, this.meshEndpoint, advertiseLanHttp ? {
|
|
719
760
|
enabled: this.config.httpEnabled !== false,
|
|
720
761
|
listening: httpState.listening,
|
|
721
762
|
httpPort: this.resolvedHttpPort(),
|
|
722
763
|
httpsPort,
|
|
723
764
|
localHostname: this.config.localHostname || null
|
|
724
|
-
});
|
|
765
|
+
} : null);
|
|
725
766
|
}
|
|
726
767
|
async onInitialize() {
|
|
727
768
|
if (!this.config.bootSeeded) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { D as HUB_MDNS_TXT_KEYS, E as HUB_MDNS_SERVICE_TYPE, Hn as validateCustomAddress, It as isAppLinkBase, Sn as resolveHubAddressRoles, Tn as resolveNotificationTapAddress, Yt as localNetworkCapability, dn as pickAppLinkHub, lr as BaseAddon, rt as checkRoleAddress, s as CAMSTACK_APP_LINK_ORIGIN, ti as EventCategory, vn as resolveAppConnections, zt as isDefaultAppConnectionEndpoint } from "../../dist-
|
|
2
|
+
import { D as HUB_MDNS_TXT_KEYS, E as HUB_MDNS_SERVICE_TYPE, Hn as validateCustomAddress, It as isAppLinkBase, Sn as resolveHubAddressRoles, Tn as resolveNotificationTapAddress, Yt as localNetworkCapability, dn as pickAppLinkHub, lr as BaseAddon, rt as checkRoleAddress, s as CAMSTACK_APP_LINK_ORIGIN, ti as EventCategory, vn as resolveAppConnections, zt as isDefaultAppConnectionEndpoint } from "../../dist-DHSJV4Qc.mjs";
|
|
3
3
|
import { P as readLanHttpState, _ as writeExtraSans, h as readTlsMode, i as storeUploadedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, m as readTlsAccessStatus, n as regenerateCertificate, p as readExtraSans, r as revertToGeneratedCertificate, t as applyCertificateToListener, u as servedHttpsLeafFingerprint, y as ensureTlsCert } from "../../tls-CaOLZ09W.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { isIP } from "node:net";
|
|
@@ -226,9 +226,31 @@ function buildAddressBook(state, inputs) {
|
|
|
226
226
|
...state.custom.filter((c) => !detectedUrls.has(c.baseUrl)).map((c) => row(customEndpoint(c), false))
|
|
227
227
|
],
|
|
228
228
|
roles,
|
|
229
|
-
appLinkHub: inputs.appLinkHub
|
|
229
|
+
appLinkHub: inputs.appLinkHub,
|
|
230
|
+
listenerOrigins: inputs.listenerOrigins
|
|
230
231
|
};
|
|
231
232
|
}
|
|
233
|
+
var ORIGIN_KINDS = new Set([
|
|
234
|
+
"lan-ipv4",
|
|
235
|
+
"lan-ipv6",
|
|
236
|
+
"public"
|
|
237
|
+
]);
|
|
238
|
+
/**
|
|
239
|
+
* Every origin a browser can really reach this hub at: the HTTPS listener's
|
|
240
|
+
* `https://<lan>:<httpsPort>` AND, while the LAN HTTP listener is on,
|
|
241
|
+
* `http://<lan>:<httpPort>`; plus the public and custom addresses. The rows
|
|
242
|
+
* show `http://` only while LAN HTTP is on (native clients skip the private
|
|
243
|
+
* certificate), so the https origin the admin UI is opened at is in no row —
|
|
244
|
+
* a sign-in return (D794) matches against this list instead of falling back
|
|
245
|
+
* to the public endpoint. Never loopback, never the app link.
|
|
246
|
+
*/
|
|
247
|
+
function buildListenerOrigins(inputs) {
|
|
248
|
+
const out = /* @__PURE__ */ new Set();
|
|
249
|
+
for (const e of [...inputs.overHttps, ...inputs.overHttp]) if (ORIGIN_KINDS.has(e.kind)) out.add(e.baseUrl);
|
|
250
|
+
for (const c of inputs.custom) out.add(c.baseUrl);
|
|
251
|
+
for (const o of inputs.localNameOrigins) out.add(o);
|
|
252
|
+
return [...out];
|
|
253
|
+
}
|
|
232
254
|
//#endregion
|
|
233
255
|
//#region src/builtins/local-network/ipv6-lan.ts
|
|
234
256
|
/**
|
|
@@ -614,11 +636,14 @@ var LocalNetworkAddon = class extends BaseAddon {
|
|
|
614
636
|
/** `getAddresses`: the Addresses table and every role's answer. */
|
|
615
637
|
async addressBook(scheme) {
|
|
616
638
|
const { http, https } = await this.palettes();
|
|
617
|
-
|
|
639
|
+
const state = this.addressState([...http, ...https]);
|
|
640
|
+
const httpsPort = (await this.resolveAdvertisedListenPort(null)).port;
|
|
641
|
+
return buildAddressBook(state, {
|
|
618
642
|
rowsPalette: scheme === "http" ? http : https,
|
|
619
643
|
httpsPalette: https,
|
|
620
644
|
appLink: appLinkEndpoint(),
|
|
621
|
-
appLinkHub: pickAppLinkHub(https)
|
|
645
|
+
appLinkHub: pickAppLinkHub(https),
|
|
646
|
+
listenerOrigins: this.listenerOriginsNow(state, http, httpsPort)
|
|
622
647
|
});
|
|
623
648
|
}
|
|
624
649
|
/**
|
|
@@ -709,17 +734,33 @@ var LocalNetworkAddon = class extends BaseAddon {
|
|
|
709
734
|
const detected = this.endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort);
|
|
710
735
|
return withAppConnectionCustomEndpoints(detected, this.addressState(detected));
|
|
711
736
|
}
|
|
737
|
+
/**
|
|
738
|
+
* Where the listeners answer, whatever the rows advertise: the HTTPS
|
|
739
|
+
* listener's origin per allowlisted LAN address, the HTTP one while it is
|
|
740
|
+
* on (`http` is the palette that already carries those rows).
|
|
741
|
+
*/
|
|
742
|
+
listenerOriginsNow(state, http, httpsPort) {
|
|
743
|
+
const httpListening = this.config.httpEnabled !== false && readLanHttpState().listening;
|
|
744
|
+
const hostname = this.config.localHostname || null;
|
|
745
|
+
const localNameOrigins = hostname === null ? [] : [`https://${hostname}:${httpsPort}`, ...httpListening ? [`http://${hostname}:${this.resolvedHttpPort()}`] : []];
|
|
746
|
+
return buildListenerOrigins({
|
|
747
|
+
overHttps: this.endpointsNow(false, false, "https", httpsPort, false),
|
|
748
|
+
overHttp: httpListening ? http : [],
|
|
749
|
+
custom: state.custom,
|
|
750
|
+
localNameOrigins
|
|
751
|
+
});
|
|
752
|
+
}
|
|
712
753
|
/** The DETECTED palette from the cached interface/tunnel/mesh state. */
|
|
713
|
-
endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort) {
|
|
754
|
+
endpointsNow(includeLoopback, ipv4Only, scheme, httpsPort, advertiseLanHttp = true) {
|
|
714
755
|
const interfaces = applyAllowlist(this.enumerate(), this.config.allowedAddresses);
|
|
715
756
|
const httpState = readLanHttpState();
|
|
716
|
-
return buildEndpoints(interfaces, httpsPort, includeLoopback, ipv4Only, this.publicHostname, scheme, this.meshEndpoint, {
|
|
757
|
+
return buildEndpoints(interfaces, httpsPort, includeLoopback, ipv4Only, this.publicHostname, scheme, this.meshEndpoint, advertiseLanHttp ? {
|
|
717
758
|
enabled: this.config.httpEnabled !== false,
|
|
718
759
|
listening: httpState.listening,
|
|
719
760
|
httpPort: this.resolvedHttpPort(),
|
|
720
761
|
httpsPort,
|
|
721
762
|
localHostname: this.config.localHostname || null
|
|
722
|
-
});
|
|
763
|
+
} : null);
|
|
723
764
|
}
|
|
724
765
|
async onInitialize() {
|
|
725
766
|
if (!this.config.bootSeeded) {
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-BQG3QFg7.js");
|
|
7
7
|
//#region src/builtins/loki-logging/loki-payload.ts
|
|
8
8
|
/**
|
|
9
9
|
* Loki rejects a label name that is not a valid Prometheus label
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Zt as logDestinationCapability, lr as BaseAddon } from "../../dist-
|
|
1
|
+
import { Zt as logDestinationCapability, lr as BaseAddon } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
//#region src/builtins/loki-logging/loki-payload.ts
|
|
3
3
|
/**
|
|
4
4
|
* Loki rejects a label name that is not a valid Prometheus label
|
|
@@ -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-BQG3QFg7.js");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|
|
8
8
|
let node_os = require("node:os");
|
|
9
9
|
node_os = require_chunk.__toESM(node_os);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as foldSnapshotByFunction, Tr as createEvent, cr as errMsg, gn as reducePoints, lr as BaseAddon, rn as metricsProviderCapability, ti as EventCategory, yn as resolveBucketMs } from "../../dist-
|
|
1
|
+
import { Nt as foldSnapshotByFunction, Tr as createEvent, cr as errMsg, gn as reducePoints, lr as BaseAddon, rn as metricsProviderCapability, ti as EventCategory, yn as resolveBucketMs } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
import { access, readFile, readdir } from "node:fs/promises";
|
|
3
3
|
import * as os from "node:os";
|
|
4
4
|
import { platform } from "node:os";
|
|
@@ -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-BQG3QFg7.js");
|
|
7
7
|
let node_os = require("node:os");
|
|
8
8
|
node_os = require_chunk.__toESM(node_os);
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { cr as errMsg, kn as scoreRuntimes, kr as emitReadiness, lr as BaseAddon, pn as platformProbeCapability, ti as EventCategory, wt as enumerateInferenceDevices } from "../../dist-
|
|
2
|
+
import { cr as errMsg, kn as scoreRuntimes, kr as emitReadiness, lr as BaseAddon, pn as platformProbeCapability, ti as EventCategory, wt as enumerateInferenceDevices } from "../../dist-DHSJV4Qc.mjs";
|
|
3
3
|
import * as os from "node:os";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import { execFile } from "node:child_process";
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
|
-
const require_dist = require("../../dist-
|
|
6
|
+
const require_dist = require("../../dist-BQG3QFg7.js");
|
|
7
7
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
8
8
|
/**
|
|
9
9
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { lr as BaseAddon, ti as EventCategory } from "../../dist-
|
|
1
|
+
import { lr as BaseAddon, ti as EventCategory } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
//#region src/builtins/remote-access-orchestrator/enabled-providers-reconcile.ts
|
|
3
3
|
/**
|
|
4
4
|
* Reconcile the durable `enabledProviders` set against authoritative
|
|
@@ -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-BQG3QFg7.js");
|
|
7
7
|
const require_snapshot_courtesy = require("../../snapshot-courtesy-D_C5-nC0.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Br as nodePin, Mn as snapshotCapability,
|
|
1
|
+
import { Br as nodePin, Mn as snapshotCapability, Rn as streamQualityLabel, X as bareAddonId, Z as batteryCapability, a as BatteryStatusSchema, ar as DeviceFeature, cr as errMsg, lr as BaseAddon, nn as memoizePinnedFfmpeg, sr as DeviceType, ti as EventCategory, vt as deriveBatteryPresence } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
import { i as renderCourtesyOverlayJpeg, n as courtesyCacheKey, r as renderCourtesyJpeg } from "../../snapshot-courtesy-CyFs1M3I.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -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-BQG3QFg7.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
let node_fs_promises = require("node:fs/promises");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { In as storageProviderCapability, Mt as filesystemBrowseCapability, lr as BaseAddon } from "../../dist-
|
|
1
|
+
import { In as storageProviderCapability, Mt as filesystemBrowseCapability, lr as BaseAddon } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { mkdir, readdir, realpath, statfs } from "node:fs/promises";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -4,7 +4,7 @@ Object.defineProperties(exports, {
|
|
|
4
4
|
});
|
|
5
5
|
require("../../chunk-Cek0wNdY.js");
|
|
6
6
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./filesystem-storage.addon.js");
|
|
7
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
7
|
+
const require_wal_maintenance = require("../../wal-maintenance-DItkuOvu.js");
|
|
8
8
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./sqlite-settings.addon.js");
|
|
9
9
|
//#region src/builtins/sqlite-storage/config-store.ts
|
|
10
10
|
var ConfigStore = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./filesystem-storage.addon.mjs";
|
|
2
|
-
import { A as SQLITE_PAGE_CACHE_CEILING_KIB, B as sqliteEngineStorm, D as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, F as SQLITE_PROFILE_REPORT_FLOOR_MS, I as SQLITE_PROFILE_REPORT_INTERVAL_MS, L as SQLITE_PROFILE_TOP_N, M as sqliteMmapSizeFor, N as sqlitePageCacheKibFor, O as SQLITE_MMAP_CEILING_BYTES, P as SQLITE_ENGINE_STORM_WALL_SHARE, R as SQLITE_SLOW_CALL_MS, a as WalMaintenance, c as SqliteSettingsBackend, i as WAL_MAINTENANCE_INTERVAL_MS, j as SQLITE_PAGE_CACHE_FLOOR_KIB, k as SQLITE_MMAP_FLOOR_BYTES, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as SqliteOpProfiler } from "../../wal-maintenance-
|
|
2
|
+
import { A as SQLITE_PAGE_CACHE_CEILING_KIB, B as sqliteEngineStorm, D as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, F as SQLITE_PROFILE_REPORT_FLOOR_MS, I as SQLITE_PROFILE_REPORT_INTERVAL_MS, L as SQLITE_PROFILE_TOP_N, M as sqliteMmapSizeFor, N as sqlitePageCacheKibFor, O as SQLITE_MMAP_CEILING_BYTES, P as SQLITE_ENGINE_STORM_WALL_SHARE, R as SQLITE_SLOW_CALL_MS, a as WalMaintenance, c as SqliteSettingsBackend, i as WAL_MAINTENANCE_INTERVAL_MS, j as SQLITE_PAGE_CACHE_FLOOR_KIB, k as SQLITE_MMAP_FLOOR_BYTES, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as SqliteOpProfiler } from "../../wal-maintenance-Drqhcjit.mjs";
|
|
3
3
|
import { SqliteSettingsAddon } from "./sqlite-settings.addon.mjs";
|
|
4
4
|
//#region src/builtins/sqlite-storage/config-store.ts
|
|
5
5
|
var ConfigStore = class {
|
|
@@ -3,9 +3,9 @@ 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-
|
|
7
|
-
const require_retired_settings_keys = require("../../retired-settings-keys-
|
|
8
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
6
|
+
const require_dist = require("../../dist-BQG3QFg7.js");
|
|
7
|
+
const require_retired_settings_keys = require("../../retired-settings-keys-BfGaSeQI.js");
|
|
8
|
+
const require_wal_maintenance = require("../../wal-maintenance-DItkuOvu.js");
|
|
9
9
|
const require_sqlite_snapshot_protocol = require("../../sqlite-snapshot-protocol-B9OndqZv.js");
|
|
10
10
|
const require_wal_checkpoint_policy = require("../../wal-checkpoint-policy-d2z2qPqx.js");
|
|
11
11
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Gn as vectorStoreCapability,
|
|
2
|
-
import { r as retiredKeyStoreOf, t as purgeRetiredSettingsKeys } from "../../retired-settings-keys-
|
|
3
|
-
import { C as callControl, E as controlTargetOf, S as trustResult, T as callVector, _ as collectTransferables, a as WalMaintenance, c as SqliteSettingsBackend, d as CrossDatabaseTransactError, f as DatabaseBusyError, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callData } from "../../wal-maintenance-
|
|
1
|
+
import { Gn as vectorStoreCapability, X as bareAddonId, _ as DATABASE_SNAPSHOT_TIMEOUT_MS, cr as errMsg, g as DATABASE_SNAPSHOT_SUFFIX, h as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, lr as BaseAddon, mr as RUNTIME_DEFAULTS, mt as databaseSnapshotCapability, pt as dataStoreProviderCapability, v as DATA_STORE_DATABASES } from "../../dist-DHSJV4Qc.mjs";
|
|
2
|
+
import { r as retiredKeyStoreOf, t as purgeRetiredSettingsKeys } from "../../retired-settings-keys-CPz7zpza.mjs";
|
|
3
|
+
import { C as callControl, E as controlTargetOf, S as trustResult, T as callVector, _ as collectTransferables, a as WalMaintenance, c as SqliteSettingsBackend, d as CrossDatabaseTransactError, f as DatabaseBusyError, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callData } from "../../wal-maintenance-Drqhcjit.mjs";
|
|
4
4
|
import { r as isSnapshotWorkerMessage } from "../../sqlite-snapshot-protocol-2QaTouWV.mjs";
|
|
5
5
|
import { a as isWorkerMessage, t as WAL_CHECKPOINT_LARGE_PASS_FRAMES } from "../../wal-checkpoint-policy-BahrTtyD.mjs";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
@@ -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-BQG3QFg7.js");
|
|
7
7
|
let zod = require("zod");
|
|
8
8
|
let node_crypto = require("node:crypto");
|
|
9
9
|
let _camstack_types_node = require("@camstack/types/node");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as LegacyStorageLocationDefaultSchema, An as settingsStoreCapability, B as
|
|
1
|
+
import { A as LegacyStorageLocationDefaultSchema, An as settingsStoreCapability, B as StorageLocationModeSchema, Bt as isLocationEnabled, Cn as resolveLocationMode, Cr as collectSecretConfigKeys, Ft as gbToBytes, H as StorageMigrationJobSchema, Hr as parseJsonObject, Kn as withLocationMode, Lr as isSecretMarker, Nn as storageCapability, Ot as evictionPolicyOfLocation, Pn as storageMigrationCapability, V as StorageLocationTypeSchema, Yr as secretTreeFromPaths, ei as transformSecretWrite, en as mayReadLocation, in as modeMayWrite, lr as BaseAddon, pr as REDACTED_SECRET, qr as resolveSecretMarkers, qt as legacyModeOf, ti as EventCategory, tn as mayWriteToLocation, z as StorageCleanupJobSchema } from "../../dist-DHSJV4Qc.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { containsOrEquals, physicalRootOf } from "@camstack/types/node";
|
|
@@ -3,9 +3,9 @@ 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-BQG3QFg7.js");
|
|
7
7
|
const require_safe_buffer$1 = require("../../safe-buffer-D3aoa-7X.js");
|
|
8
|
-
const require_constants$8 = require("../../constants-
|
|
8
|
+
const require_constants$8 = require("../../constants-CCSJGnjs.js");
|
|
9
9
|
const require_x509_es = require("../../x509.es-Dzl0BbmG.js");
|
|
10
10
|
const require_src$1 = require("../../src-CnAqG6EF.js");
|
|
11
11
|
let zod = require("zod");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Dr as defineCustomActions, Er as customAction, Ir as isSecretClear, Lr as isSecretMarker, Mr as hydrateSchema, Xr as secretTreeFromSchema, cr as errMsg, ei as transformSecretWrite, lr as BaseAddon, zr as makeSecretMarker } from "../../dist-
|
|
2
|
+
import { Dr as defineCustomActions, Er as customAction, Ir as isSecretClear, Lr as isSecretMarker, Mr as hydrateSchema, Xr as secretTreeFromSchema, cr as errMsg, ei as transformSecretWrite, lr as BaseAddon, zr as makeSecretMarker } from "../../dist-DHSJV4Qc.mjs";
|
|
3
3
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
4
|
-
import { a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, c as MESH_JOIN_TOKEN_MAX_TTL_SEC, d as CLUSTER_SECRET_REF, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID, v as hashClusterSecret } from "../../constants-
|
|
4
|
+
import { a as MESH_CA_KEY_REF, b as setProcessClusterSecretGate, c as MESH_JOIN_TOKEN_MAX_TTL_SEC, d as CLUSTER_SECRET_REF, i as MESH_CA_FIELD, l as SERVER_AUTH_OID, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY, r as MESH_CA_COMMON_NAME, s as MESH_CA_VALIDITY_DAYS, t as CLIENT_AUTH_OID, v as hashClusterSecret } from "../../constants-CR4If_lP.mjs";
|
|
5
5
|
import { a as KeyUsagesExtension, c as Pkcs10CertificateRequestGenerator, d as X509Certificate$1, f as X509CertificateGenerator, i as KeyUsageFlags, n as BasicConstraintsExtension, o as PemConverter, p as cryptoProvider, r as ExtendedKeyUsageExtension, s as Pkcs10CertificateRequest, t as AuthorityKeyIdentifierExtension, u as SubjectKeyIdentifierExtension } from "../../x509.es-CAjSsrkk.mjs";
|
|
6
6
|
import { t as require_src } from "../../src-hG4grMU4.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -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-BQG3QFg7.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 { Zt as logDestinationCapability, lr as BaseAddon } from "../../dist-
|
|
1
|
+
import { Zt as logDestinationCapability, lr as BaseAddon } from "../../dist-DHSJV4Qc.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 { cr as errMsg, tr as compositionSourceKey } from "./dist-
|
|
1
|
+
import { cr as errMsg, tr as compositionSourceKey } from "./dist-DHSJV4Qc.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
|