@camstack/system 1.2.465 → 1.2.466
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 -0
- package/dist/addon-runner.mjs +1 -0
- package/dist/{agent-https-CPJ7FTs0.mjs → agent-https-DDzIuZY_.mjs} +1 -1
- package/dist/{agent-https-CzA1AmyI.js → agent-https-OIvfjiTx.js} +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-history/device-history.addon.js +1 -1
- package/dist/builtins/device-history/device-history.addon.mjs +1 -1
- package/dist/builtins/device-manager/device-manager.addon.js +1 -1
- package/dist/builtins/device-manager/device-manager.addon.mjs +1 -1
- 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/auth-schema.d.ts +0 -2
- package/dist/builtins/local-auth/local-auth.addon.d.ts +0 -1
- package/dist/builtins/local-auth/local-auth.addon.js +23 -178
- package/dist/builtins/local-auth/local-auth.addon.mjs +24 -178
- package/dist/builtins/local-auth/record-kinds.d.ts +1 -6
- package/dist/builtins/local-network/local-network.addon.js +2 -2
- package/dist/builtins/local-network/local-network.addon.mjs +2 -2
- 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/record-entries/index.js +1 -1
- package/dist/builtins/record-entries/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/records/records-engine.d.ts +11 -0
- package/dist/builtins/sqlite-storage/records/records-provider.d.ts +7 -2
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.js +25 -15
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +25 -15
- 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 +3 -3
- package/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/dist/builtins/winston-logging/index.js +1 -1
- package/dist/builtins/winston-logging/index.mjs +1 -1
- package/dist/{composition-sources-BG0E76VO.js → composition-sources-DqHwltDV.js} +1 -1
- package/dist/{composition-sources-CqRsEC0a.mjs → composition-sources-f74jlgRO.mjs} +1 -1
- package/dist/{constants-BYJ4ni7h.js → constants-CdgJF4V6.js} +1 -1
- package/dist/{constants-CmGw1liQ.mjs → constants-Dknv37yZ.mjs} +1 -1
- package/dist/{device-ca-CQcB6yfj.mjs → device-ca-B16Mr3EY.mjs} +1 -1
- package/dist/{device-ca-B-Txwl4W.js → device-ca-DpvQ5wrb.js} +1 -1
- package/dist/{dist-CR7idLer.mjs → dist-CfjkLTZV.mjs} +158 -66
- package/dist/{dist-Dwi4JA96.js → dist-QyW9hVO2.js} +175 -71
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/{hub-mdns-ciao-3qdHbtyp.js → hub-mdns-ciao-CWkX17zX.js} +2 -2
- package/dist/{hub-mdns-ciao-BlLwL65g.mjs → hub-mdns-ciao-CtHQEnb3.mjs} +2 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +10 -9
- package/dist/{restore-archive-BYL7E5af.mjs → restore-archive-BmHNBgte.mjs} +1 -1
- package/dist/{restore-archive-D1uxP8Eb.js → restore-archive-DMgpNgX5.js} +1 -1
- package/dist/{wal-maintenance-BQlvAduo.js → wal-maintenance-BIpPCYDi.js} +0 -0
- package/dist/{wal-maintenance-BDQT7TIi.mjs → wal-maintenance-Bs_X-di6.mjs} +0 -0
- package/package.json +1 -1
- package/dist/auth/api-key-manager.d.ts +0 -19
|
@@ -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-QyW9hVO2.js");
|
|
7
7
|
const require_retired_settings_keys = require("../../retired-settings-keys-CGUqX-Oz.js");
|
|
8
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
8
|
+
const require_wal_maintenance = require("../../wal-maintenance-BIpPCYDi.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");
|
|
@@ -1245,8 +1245,7 @@ var PlacementRouter = class {
|
|
|
1245
1245
|
* declaration. A kind declared for another file than the one it lives in is
|
|
1246
1246
|
* refused (the engine never moves data, D853).
|
|
1247
1247
|
* - **No adoption** (D900): the records migration is closed. A declaration
|
|
1248
|
-
* reads no legacy table
|
|
1249
|
-
* sends is dropped before the catalog stores the declaration.
|
|
1248
|
+
* reads no legacy table.
|
|
1250
1249
|
*/
|
|
1251
1250
|
/** The caller the transport stamped, or a refusal. */
|
|
1252
1251
|
function recordsCallerOf(input) {
|
|
@@ -1257,16 +1256,6 @@ function recordsCallerOf(input) {
|
|
|
1257
1256
|
function keyOf(owner, kind) {
|
|
1258
1257
|
return `${owner}\u0000${kind}`;
|
|
1259
1258
|
}
|
|
1260
|
-
/**
|
|
1261
|
-
* A declaration as the catalog stores it: the retired `adoptsFrom` (D900) left
|
|
1262
|
-
* out, so the row an older addon's redeclaration writes no longer carries it.
|
|
1263
|
-
*/
|
|
1264
|
-
function withoutRetiredKeys(declaration) {
|
|
1265
|
-
return {
|
|
1266
|
-
...declaration,
|
|
1267
|
-
adoptsFrom: void 0
|
|
1268
|
-
};
|
|
1269
|
-
}
|
|
1270
1259
|
var RecordsProvider = class {
|
|
1271
1260
|
router;
|
|
1272
1261
|
logger;
|
|
@@ -1300,7 +1289,7 @@ var RecordsProvider = class {
|
|
|
1300
1289
|
const owner = recordsCallerOf(input);
|
|
1301
1290
|
const byDatabase = /* @__PURE__ */ new Map();
|
|
1302
1291
|
const parsed = /* @__PURE__ */ new Map();
|
|
1303
|
-
for (const [kind, raw] of Object.entries(input.kinds)) parsed.set(kind,
|
|
1292
|
+
for (const [kind, raw] of Object.entries(input.kinds)) parsed.set(kind, require_dist.RecordKindDeclarationSchema.parse(raw));
|
|
1304
1293
|
await this.assertFamiliesInOneFile(owner, parsed);
|
|
1305
1294
|
for (const [kind, declaration] of parsed) {
|
|
1306
1295
|
const known = this.placement.get(keyOf(owner, kind));
|
|
@@ -1444,6 +1433,27 @@ var RecordsProvider = class {
|
|
|
1444
1433
|
owner
|
|
1445
1434
|
});
|
|
1446
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* All ops must resolve to ONE file (`records/transact-refused` `cross-file`
|
|
1438
|
+
* otherwise); that file's engine then checks the family and runs one SQLite
|
|
1439
|
+
* transaction.
|
|
1440
|
+
*/
|
|
1441
|
+
async transact(input) {
|
|
1442
|
+
const owner = recordsCallerOf(input);
|
|
1443
|
+
const files = /* @__PURE__ */ new Map();
|
|
1444
|
+
for (const op of input.ops) {
|
|
1445
|
+
const database = this.placement.get(keyOf(owner, op.kind));
|
|
1446
|
+
if (database === void 0) throw new require_dist.UnknownRecordKindError(`"${owner}" declared no kind "${op.kind}"`);
|
|
1447
|
+
files.set(database, [...files.get(database) ?? [], op.kind]);
|
|
1448
|
+
}
|
|
1449
|
+
if (files.size > 1) throw new require_dist.TransactRefusedError(`cross-file: the ops span more than one database file (${[...files.entries()].map(([db, kinds]) => `${[...new Set(kinds)].join("+")}@${db}`).join(", ")}); a transaction lives in ONE file`);
|
|
1450
|
+
const first = input.ops[0];
|
|
1451
|
+
if (first === void 0) throw new require_dist.InvalidRecordError("transact: no ops");
|
|
1452
|
+
return (await this.fileOf(owner, first.kind)).records("transact", {
|
|
1453
|
+
...input,
|
|
1454
|
+
owner
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1447
1457
|
async allocateId(input) {
|
|
1448
1458
|
const owner = recordsCallerOf(input);
|
|
1449
1459
|
return (await this.fileOf(owner, input.kind)).records("allocateId", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as BaseAddon, Ai as UnknownRecordKindError, C as DATA_STORE_DATABASES, Fr as vectorStoreCapability, Gt as databaseSnapshotCapability, Oi as TransactRefusedError, Qr as errMsg, S as DATABASE_SNAPSHOT_TIMEOUT_MS, Sr as storageAdminCapability, Tt as bareAddonId, Wt as dataStoreProviderCapability, ai as DeclarationRefusedError, b as DATABASE_SNAPSHOT_PARTIAL_SUFFIX, ca as normalizeSecretOwner, hi as RECORD_SWEEP_INTERVAL_MS, li as InvalidRecordError, nr as recordsCapability, ui as NoCallerError, vi as RUNTIME_DEFAULTS, x as DATABASE_SNAPSHOT_SUFFIX, xi as RecordKindDeclarationSchema } from "../../dist-CfjkLTZV.mjs";
|
|
2
2
|
import { r as retiredKeyStoreOf, t as purgeRetiredSettingsKeys } from "../../retired-settings-keys-C_Kjp-Bj.mjs";
|
|
3
|
-
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, S as trustResult, T as callData, _ as collectTransferables, a as WalMaintenance, c as vectorProviderOfOwnedFile, d as CrossDatabaseTransactError, f as DatabaseBusyError, l as SqliteSettingsBackend, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callControl } from "../../wal-maintenance-
|
|
3
|
+
import { C as RecordsEngine, D as callVector, E as callRecords, O as controlTargetOf, S as trustResult, T as callData, _ as collectTransferables, a as WalMaintenance, c as vectorProviderOfOwnedFile, d as CrossDatabaseTransactError, f as DatabaseBusyError, l as SqliteSettingsBackend, m as rehydrateError, o as createVectorIndex, p as DuplicatePlacementError, s as vectorProviderOf, u as CollectionPlacementError, v as isFileHostMessage, w as callControl } from "../../wal-maintenance-Bs_X-di6.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";
|
|
@@ -1239,8 +1239,7 @@ var PlacementRouter = class {
|
|
|
1239
1239
|
* declaration. A kind declared for another file than the one it lives in is
|
|
1240
1240
|
* refused (the engine never moves data, D853).
|
|
1241
1241
|
* - **No adoption** (D900): the records migration is closed. A declaration
|
|
1242
|
-
* reads no legacy table
|
|
1243
|
-
* sends is dropped before the catalog stores the declaration.
|
|
1242
|
+
* reads no legacy table.
|
|
1244
1243
|
*/
|
|
1245
1244
|
/** The caller the transport stamped, or a refusal. */
|
|
1246
1245
|
function recordsCallerOf(input) {
|
|
@@ -1251,16 +1250,6 @@ function recordsCallerOf(input) {
|
|
|
1251
1250
|
function keyOf(owner, kind) {
|
|
1252
1251
|
return `${owner}\u0000${kind}`;
|
|
1253
1252
|
}
|
|
1254
|
-
/**
|
|
1255
|
-
* A declaration as the catalog stores it: the retired `adoptsFrom` (D900) left
|
|
1256
|
-
* out, so the row an older addon's redeclaration writes no longer carries it.
|
|
1257
|
-
*/
|
|
1258
|
-
function withoutRetiredKeys(declaration) {
|
|
1259
|
-
return {
|
|
1260
|
-
...declaration,
|
|
1261
|
-
adoptsFrom: void 0
|
|
1262
|
-
};
|
|
1263
|
-
}
|
|
1264
1253
|
var RecordsProvider = class {
|
|
1265
1254
|
router;
|
|
1266
1255
|
logger;
|
|
@@ -1294,7 +1283,7 @@ var RecordsProvider = class {
|
|
|
1294
1283
|
const owner = recordsCallerOf(input);
|
|
1295
1284
|
const byDatabase = /* @__PURE__ */ new Map();
|
|
1296
1285
|
const parsed = /* @__PURE__ */ new Map();
|
|
1297
|
-
for (const [kind, raw] of Object.entries(input.kinds)) parsed.set(kind,
|
|
1286
|
+
for (const [kind, raw] of Object.entries(input.kinds)) parsed.set(kind, RecordKindDeclarationSchema.parse(raw));
|
|
1298
1287
|
await this.assertFamiliesInOneFile(owner, parsed);
|
|
1299
1288
|
for (const [kind, declaration] of parsed) {
|
|
1300
1289
|
const known = this.placement.get(keyOf(owner, kind));
|
|
@@ -1438,6 +1427,27 @@ var RecordsProvider = class {
|
|
|
1438
1427
|
owner
|
|
1439
1428
|
});
|
|
1440
1429
|
}
|
|
1430
|
+
/**
|
|
1431
|
+
* All ops must resolve to ONE file (`records/transact-refused` `cross-file`
|
|
1432
|
+
* otherwise); that file's engine then checks the family and runs one SQLite
|
|
1433
|
+
* transaction.
|
|
1434
|
+
*/
|
|
1435
|
+
async transact(input) {
|
|
1436
|
+
const owner = recordsCallerOf(input);
|
|
1437
|
+
const files = /* @__PURE__ */ new Map();
|
|
1438
|
+
for (const op of input.ops) {
|
|
1439
|
+
const database = this.placement.get(keyOf(owner, op.kind));
|
|
1440
|
+
if (database === void 0) throw new UnknownRecordKindError(`"${owner}" declared no kind "${op.kind}"`);
|
|
1441
|
+
files.set(database, [...files.get(database) ?? [], op.kind]);
|
|
1442
|
+
}
|
|
1443
|
+
if (files.size > 1) throw new TransactRefusedError(`cross-file: the ops span more than one database file (${[...files.entries()].map(([db, kinds]) => `${[...new Set(kinds)].join("+")}@${db}`).join(", ")}); a transaction lives in ONE file`);
|
|
1444
|
+
const first = input.ops[0];
|
|
1445
|
+
if (first === void 0) throw new InvalidRecordError("transact: no ops");
|
|
1446
|
+
return (await this.fileOf(owner, first.kind)).records("transact", {
|
|
1447
|
+
...input,
|
|
1448
|
+
owner
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1441
1451
|
async allocateId(input) {
|
|
1442
1452
|
const owner = recordsCallerOf(input);
|
|
1443
1453
|
return (await this.fileOf(owner, input.kind)).records("allocateId", {
|
|
@@ -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-QyW9hVO2.js");
|
|
7
7
|
const require_read_all_rows$1 = require("../../read-all-rows-CVoO1ONM.js");
|
|
8
8
|
let zod = require("zod");
|
|
9
9
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $r as BaseAddon, Bn as mayWriteToLocation, Cr as storageCapability, Gi as defineRecordKinds, Ir as withLocationMode, K as LegacyStorageLocationDefaultSchema, Mn as legacyModeOf, Ri as collectSecretConfigKeys, Sa as transformSecretWrite, Ta as EventCategory, Tn as isLocationEnabled, Un as modeMayWrite, _a as secretTreeFromPaths, _r as settingsStoreCapability, cn as evictionPolicyOfLocation, dt as StorageLocationTypeSchema, ft as StorageMigrationJobSchema, gi as REDACTED_SECRET, gn as gbToBytes, ha as resolveSecretMarkers, la as parseJsonObject, lt as StorageCleanupJobSchema, sa as normalizeNodeId, ta as isSecretMarker, ur as resolveLocationMode, ut as StorageLocationModeSchema, wr as storageMigrationCapability, zn as mayReadLocation } from "../../dist-CfjkLTZV.mjs";
|
|
2
2
|
import { t as require_read_all_rows } from "../../read-all-rows-TaPqdWNF.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,11 +3,11 @@ 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-QyW9hVO2.js");
|
|
7
7
|
const require_safe_buffer$1 = require("../../safe-buffer-D3aoa-7X.js");
|
|
8
8
|
const require_x509_es = require("../../x509.es-C4cOo48M.js");
|
|
9
|
-
const require_agent_https = require("../../agent-https-
|
|
10
|
-
const require_constants$8 = require("../../constants-
|
|
9
|
+
const require_agent_https = require("../../agent-https-OIvfjiTx.js");
|
|
10
|
+
const require_constants$8 = require("../../constants-CdgJF4V6.js");
|
|
11
11
|
const require_src$1 = require("../../src-CnAqG6EF.js");
|
|
12
12
|
let zod = require("zod");
|
|
13
13
|
let node_crypto = require("node:crypto");
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { $r as
|
|
2
|
+
import { $r as BaseAddon, Qr as errMsg, Ui as customAction, Wi as defineCustomActions, Xi as hydrateSchema, st as ServerNameSchema, vr as shortHostname } from "../../dist-CfjkLTZV.mjs";
|
|
3
3
|
import { t as require_safe_buffer } from "../../safe-buffer-B1OjL1I9.mjs";
|
|
4
4
|
import { S as backdatedNotBefore, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension } from "../../x509.es-DK__ETIe.mjs";
|
|
5
|
-
import { B as setProcessAgentHttpsNames, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, R as AgentHttpsNames, V as systemConfigRecordKinds, u as isPrivateAddress, z as getProcessAgentHttpsNames } from "../../agent-https-
|
|
6
|
-
import { a as MESH_CA_KEY_REF, c as SERVER_AUTH_OID, i as MESH_CA_FIELD, 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 } from "../../constants-
|
|
5
|
+
import { B as setProcessAgentHttpsNames, I as AGENT_HTTPS_NAMES_COLLECTION, L as AGENT_HTTPS_NAMES_COLUMNS, M as isLocalOnlyHostname, R as AgentHttpsNames, V as systemConfigRecordKinds, u as isPrivateAddress, z as getProcessAgentHttpsNames } from "../../agent-https-DDzIuZY_.mjs";
|
|
6
|
+
import { a as MESH_CA_KEY_REF, c as SERVER_AUTH_OID, i as MESH_CA_FIELD, 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 } from "../../constants-Dknv37yZ.mjs";
|
|
7
7
|
import { t as require_src } from "../../src-hG4grMU4.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, randomInt, sign, timingSafeEqual, verify, webcrypto } 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-QyW9hVO2.js");
|
|
7
7
|
const require_formatter = require("../../formatter-DqAKDlvN.js");
|
|
8
8
|
const require_log_file_read_protocol = require("../../log-file-read-protocol-D0WcLbIV.js");
|
|
9
9
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as BaseAddon, In as logDestinationCapability } from "../../dist-CfjkLTZV.mjs";
|
|
2
2
|
import { t as formatLogLine } from "../../formatter-B7qW8bPJ.mjs";
|
|
3
3
|
import { a as LogFileIndexStore, i as serveRead, n as isFromReader, t as CancelBook } from "../../log-file-read-protocol-B7M3X3bT.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gr as compositionSourceKey, Qr as errMsg } from "./dist-CfjkLTZV.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,5 +1,5 @@
|
|
|
1
1
|
/** `secret://system/global/meshCaKey` — EC P-256 PKCS#8 PEM of the hub mesh CA. */
|
|
2
|
-
var MESH_CA_KEY_REF = require("./dist-
|
|
2
|
+
var MESH_CA_KEY_REF = require("./dist-QyW9hVO2.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as DEVICE_SAN_USER_PREFIX, Li as buildSecretRef, k as DEVICE_SAN_CREDENTIAL_PREFIX } from "./dist-CfjkLTZV.mjs";
|
|
2
2
|
import { S as backdatedNotBefore, a as KeyUsageFlags, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension } from "./x509.es-DK__ETIe.mjs";
|
|
3
3
|
import { X509Certificate, createPublicKey, randomBytes, verify, webcrypto } from "node:crypto";
|
|
4
4
|
//#region src/auth/jwt-signing-key.ts
|