@camstack/system 1.2.442 → 1.2.443
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-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/block-package.d.ts +4 -2
- package/dist/builtins/core-blocks/block-settings-store.d.ts +65 -19
- package/dist/builtins/core-blocks/core-blocks.addon.js +365 -38
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +365 -38
- 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/local-auth.addon.js +2 -2
- package/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/dist/builtins/local-network/local-network.addon.js +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 +2 -2
- package/dist/builtins/native-metrics/native-metrics.addon.mjs +2 -2
- package/dist/builtins/platform-probe/index.js +2 -2
- package/dist/builtins/platform-probe/index.mjs +2 -2
- 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 +2 -2
- package/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +2 -2
- 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-DmSEMtUD.js → composition-sources-BUXX1e8j.js} +1 -1
- package/dist/{composition-sources-CftPpY4O.mjs → composition-sources-C8tUG2uL.mjs} +1 -1
- package/dist/{constants-2iWQ-Nx-.mjs → constants-CGwVaAV3.mjs} +1 -1
- package/dist/{constants-b7kpjuO4.js → constants-DWmm7_of.js} +1 -1
- package/dist/{device-ca-BJpYTAPg.mjs → device-ca-DBfiJ_SB.mjs} +1 -1
- package/dist/{device-ca-tKY_ZS9H.js → device-ca-DGayRmC0.js} +1 -1
- package/dist/{dist-DsrQYcLm.mjs → dist-Bxt_S-9a.mjs} +59 -36
- package/dist/{dist-CyIHDLCg.js → dist-D9qT3jHr.js} +76 -35
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/{hub-mdns-ciao-Da-0NEyr.js → hub-mdns-ciao-B-wk9nzx.js} +1 -1
- package/dist/{hub-mdns-ciao-BS2akjWx.mjs → hub-mdns-ciao-DpPcQDg-.mjs} +1 -1
- package/dist/index.js +9 -9
- package/dist/index.mjs +9 -9
- package/dist/{restore-archive-RaA3uZ7H.mjs → restore-archive-9CGgeBzD.mjs} +1 -1
- package/dist/{restore-archive-Cdf09dHm.js → restore-archive-BMNXwWWD.js} +1 -1
- package/dist/{wal-maintenance-C-bmkDhm.js → wal-maintenance-cRHR4rUY.js} +0 -0
- package/dist/{wal-maintenance-DE8QrreK.mjs → wal-maintenance-sIB32ONp.mjs} +0 -0
- package/package.json +1 -1
- package/dist/{custom-action-registry-BKmoaqG0.js → custom-action-registry-COyb49zm.js} +1 -1
- package/dist/{custom-action-registry-CyUuhATc.mjs → custom-action-registry-stpC3Zy-.mjs} +1 -1
|
@@ -3,14 +3,14 @@ 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-D9qT3jHr.js");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|
|
8
|
+
let node_util = require("node:util");
|
|
8
9
|
let node_os = require("node:os");
|
|
9
10
|
node_os = require_chunk.__toESM(node_os);
|
|
10
11
|
let node_fs = require("node:fs");
|
|
11
12
|
node_fs = require_chunk.__toESM(node_fs);
|
|
12
13
|
let node_child_process = require("node:child_process");
|
|
13
|
-
let node_util = require("node:util");
|
|
14
14
|
//#region src/builtins/native-metrics/cgroup-memory.ts
|
|
15
15
|
/** `readFileSync`, with every failure flattened to `null`. */
|
|
16
16
|
var nodeCgroupFileReader = { read(path) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Ar as errMsg,
|
|
1
|
+
import { Ar as errMsg, Ei as EventCategory, Fn as reducePoints, Jr as createEvent, Rn as resolveBucketMs, Sn as metricsProviderCapability, Xt as foldSnapshotByFunction, jr as BaseAddon } from "../../dist-Bxt_S-9a.mjs";
|
|
2
2
|
import { access, readFile, readdir } from "node:fs/promises";
|
|
3
|
+
import { promisify } from "node:util";
|
|
3
4
|
import * as os$1 from "node:os";
|
|
4
5
|
import { platform } from "node:os";
|
|
5
6
|
import * as fs from "node:fs";
|
|
6
7
|
import { constants, readFileSync } from "node:fs";
|
|
7
8
|
import { execFile, execFileSync } from "node:child_process";
|
|
8
|
-
import { promisify } from "node:util";
|
|
9
9
|
//#region src/builtins/native-metrics/cgroup-memory.ts
|
|
10
10
|
/** `readFileSync`, with every failure flattened to `null`. */
|
|
11
11
|
var nodeCgroupFileReader = { read(path) {
|
|
@@ -3,13 +3,13 @@ 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-D9qT3jHr.js");
|
|
7
|
+
let node_util = require("node:util");
|
|
7
8
|
let node_os = require("node:os");
|
|
8
9
|
node_os = require_chunk.__toESM(node_os);
|
|
9
10
|
let node_fs = require("node:fs");
|
|
10
11
|
node_fs = require_chunk.__toESM(node_fs);
|
|
11
12
|
let node_child_process = require("node:child_process");
|
|
12
|
-
let node_util = require("node:util");
|
|
13
13
|
//#region src/builtins/platform-probe/coral-accelerators.ts
|
|
14
14
|
/**
|
|
15
15
|
* Coral USB Edge TPU USB identifiers.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll } from "../../chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Ar as errMsg,
|
|
2
|
+
import { Ar as errMsg, Ei as EventCategory, Jn as scoreRuntimes, Mn as platformProbeCapability, Qr as emitReadiness, Vt as enumerateInferenceDevices, jr as BaseAddon } from "../../dist-Bxt_S-9a.mjs";
|
|
3
|
+
import { promisify } from "node:util";
|
|
3
4
|
import * as os$1 from "node:os";
|
|
4
5
|
import * as fs from "node:fs";
|
|
5
6
|
import { execFile } from "node:child_process";
|
|
6
|
-
import { promisify } from "node:util";
|
|
7
7
|
//#region src/builtins/platform-probe/coral-accelerators.ts
|
|
8
8
|
/**
|
|
9
9
|
* Coral USB Edge TPU USB identifiers.
|
|
@@ -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-D9qT3jHr.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 {
|
|
1
|
+
import { Ei as EventCategory, jr as BaseAddon } from "../../dist-Bxt_S-9a.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-D9qT3jHr.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 { Ar as errMsg,
|
|
1
|
+
import { Ar as errMsg, Dr as DeviceFeature, Ei as EventCategory, Pt as deriveBatteryPresence, Qn as snapshotCapability, dt as batteryCapability, jr as BaseAddon, kr as DeviceType, or as streamQualityLabel, s as BatteryStatusSchema, ui as nodePin, ut as bareAddonId, xn as memoizePinnedFfmpeg } from "../../dist-Bxt_S-9a.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-D9qT3jHr.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 { Yt as filesystemBrowseCapability, ir as storageProviderCapability, jr as BaseAddon } from "../../dist-
|
|
1
|
+
import { Yt as filesystemBrowseCapability, ir as storageProviderCapability, jr as BaseAddon } from "../../dist-Bxt_S-9a.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-cRHR4rUY.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_FLOOR_KIB, D as SQLITE_MMAP_CEILING_BYTES, E as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, F as SQLITE_PROFILE_REPORT_INTERVAL_MS, I as SQLITE_PROFILE_TOP_N, L as SQLITE_SLOW_CALL_MS, M as sqlitePageCacheKibFor, N as SQLITE_ENGINE_STORM_WALL_SHARE, O as SQLITE_MMAP_FLOOR_BYTES, P as SQLITE_PROFILE_REPORT_FLOOR_MS, R as SqliteOpProfiler, a as WalMaintenance, c as SqliteSettingsBackend, i as WAL_MAINTENANCE_INTERVAL_MS, j as sqliteMmapSizeFor, k as SQLITE_PAGE_CACHE_CEILING_KIB, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as sqliteEngineStorm } from "../../wal-maintenance-
|
|
2
|
+
import { A as SQLITE_PAGE_CACHE_FLOOR_KIB, D as SQLITE_MMAP_CEILING_BYTES, E as SQLITE_JOURNAL_SIZE_LIMIT_BYTES, F as SQLITE_PROFILE_REPORT_INTERVAL_MS, I as SQLITE_PROFILE_TOP_N, L as SQLITE_SLOW_CALL_MS, M as sqlitePageCacheKibFor, N as SQLITE_ENGINE_STORM_WALL_SHARE, O as SQLITE_MMAP_FLOOR_BYTES, P as SQLITE_PROFILE_REPORT_FLOOR_MS, R as SqliteOpProfiler, a as WalMaintenance, c as SqliteSettingsBackend, i as WAL_MAINTENANCE_INTERVAL_MS, j as sqliteMmapSizeFor, k as SQLITE_PAGE_CACHE_CEILING_KIB, n as WAL_HIGH_WATER_BYTES, r as WAL_IDLE_QUIET_MS, t as WAL_CHECKPOINT_BUSY_TIMEOUT_MS, z as sqliteEngineStorm } from "../../wal-maintenance-sIB32ONp.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-
|
|
6
|
+
const require_dist = require("../../dist-D9qT3jHr.js");
|
|
7
7
|
const require_retired_settings_keys = require("../../retired-settings-keys-D_VwZiDt.js");
|
|
8
|
-
const require_wal_maintenance = require("../../wal-maintenance-
|
|
8
|
+
const require_wal_maintenance = require("../../wal-maintenance-cRHR4rUY.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 { Ar as errMsg, At as databaseSnapshotCapability, Ir as RUNTIME_DEFAULTS, J as STORAGE_ADMIN_SCOPED_BASES, S as DATA_STORE_DATABASES, b as DATABASE_SNAPSHOT_SUFFIX, er as storageAdminCapability, jr as BaseAddon, kt as dataStoreProviderCapability, pr as vectorStoreCapability, q as STORAGE_ADMIN_MOVED_COLLECTIONS, ut as bareAddonId, x as DATABASE_SNAPSHOT_TIMEOUT_MS, y as DATABASE_SNAPSHOT_PARTIAL_SUFFIX } from "../../dist-
|
|
1
|
+
import { Ar as errMsg, At as databaseSnapshotCapability, Ir as RUNTIME_DEFAULTS, J as STORAGE_ADMIN_SCOPED_BASES, S as DATA_STORE_DATABASES, b as DATABASE_SNAPSHOT_SUFFIX, er as storageAdminCapability, jr as BaseAddon, kt as dataStoreProviderCapability, pr as vectorStoreCapability, q as STORAGE_ADMIN_MOVED_COLLECTIONS, ut as bareAddonId, x as DATABASE_SNAPSHOT_TIMEOUT_MS, y as DATABASE_SNAPSHOT_PARTIAL_SUFFIX } from "../../dist-Bxt_S-9a.mjs";
|
|
2
2
|
import { i as retiredKeyStoreOf, n as purgeRetiredSettingsKeys } from "../../retired-settings-keys-Bhwe4ymb.mjs";
|
|
3
|
-
import { C as callData, S as callControl, T as controlTargetOf, _ as isFileHostMessage, a as WalMaintenance, c as SqliteSettingsBackend, d as DatabaseBusyError, f as DuplicatePlacementError, g as collectTransferables, l as CollectionPlacementError, o as createVectorIndex, p as rehydrateError, s as vectorProviderOf, u as CrossDatabaseTransactError, w as callVector, x as trustResult } from "../../wal-maintenance-
|
|
3
|
+
import { C as callData, S as callControl, T as controlTargetOf, _ as isFileHostMessage, a as WalMaintenance, c as SqliteSettingsBackend, d as DatabaseBusyError, f as DuplicatePlacementError, g as collectTransferables, l as CollectionPlacementError, o as createVectorIndex, p as rehydrateError, s as vectorProviderOf, u as CrossDatabaseTransactError, w as callVector, x as trustResult } from "../../wal-maintenance-sIB32ONp.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-D9qT3jHr.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 { $ as StorageCleanupJobSchema, $t as gbToBytes,
|
|
1
|
+
import { $ as StorageCleanupJobSchema, $t as gbToBytes, Cn as modeMayWrite, Ei as EventCategory, Fr as REDACTED_SECRET, Gr as collectSecretConfigKeys, Gt as evictionPolicyOfLocation, Hn as resolveLocationMode, Yn as settingsStoreCapability, _i as resolveSecretMarkers, an as isLocationEnabled, bn as mayWriteToLocation, et as StorageLocationModeSchema, fi as parseJsonObject, fn as legacyModeOf, jr as BaseAddon, mr as withLocationMode, nr as storageMigrationCapability, nt as StorageMigrationJobSchema, oi as isSecretMarker, tr as storageCapability, tt as StorageLocationTypeSchema, wi as transformSecretWrite, yi as secretTreeFromPaths, yn as mayReadLocation, z as LegacyStorageLocationDefaultSchema } from "../../dist-Bxt_S-9a.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { containsOrEquals, physicalRootOf } from "@camstack/types/node";
|
|
@@ -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-D9qT3jHr.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
9
|
const require_agent_https = require("../../agent-https-DlpTMDqA.js");
|
|
10
|
-
const require_constants$8 = require("../../constants-
|
|
10
|
+
const require_constants$8 = require("../../constants-DWmm7_of.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 { Ar as errMsg,
|
|
2
|
+
import { Ar as errMsg, Xn as shortHostname, Xr as defineCustomActions, Yr as customAction, Z as ServerNameSchema, jr as BaseAddon, ti as hydrateSchema } from "../../dist-Bxt_S-9a.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
5
|
import { F as AGENT_HTTPS_NAMES_COLLECTION, I as AGENT_HTTPS_NAMES_COLUMNS, L as AgentHttpsNames, R as getProcessAgentHttpsNames, j as isLocalOnlyHostname, u as isPrivateAddress, z as setProcessAgentHttpsNames } from "../../agent-https-U0d4uvn2.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-
|
|
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-CGwVaAV3.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-D9qT3jHr.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 { gn as logDestinationCapability, jr as BaseAddon } from "../../dist-
|
|
1
|
+
import { gn as logDestinationCapability, jr as BaseAddon } from "../../dist-Bxt_S-9a.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 { Ar as errMsg, Cr as compositionSourceKey } from "./dist-
|
|
1
|
+
import { Ar as errMsg, Cr as compositionSourceKey } from "./dist-Bxt_S-9a.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-D9qT3jHr.js").buildSecretRef({
|
|
3
3
|
owner: "system",
|
|
4
4
|
scope: { kind: "global" },
|
|
5
5
|
fieldPath: "meshCaKey"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DEVICE_SAN_CREDENTIAL_PREFIX, O as DEVICE_SAN_USER_PREFIX, Wr as buildSecretRef } from "./dist-
|
|
1
|
+
import { D as DEVICE_SAN_CREDENTIAL_PREFIX, O as DEVICE_SAN_USER_PREFIX, Wr as buildSecretRef } from "./dist-Bxt_S-9a.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
|
|
@@ -736,7 +736,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
736
736
|
return EventCategory;
|
|
737
737
|
}({});
|
|
738
738
|
//#endregion
|
|
739
|
-
//#region ../types/dist/sleep-
|
|
739
|
+
//#region ../types/dist/sleep-D-Q2_Mcd.mjs
|
|
740
740
|
/**
|
|
741
741
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
742
742
|
* window to float samples (D455).
|
|
@@ -15476,6 +15476,41 @@ function describeComposableCaps(defs, deviceType) {
|
|
|
15476
15476
|
}).toSorted((a, b) => a.cap.localeCompare(b.cap));
|
|
15477
15477
|
}
|
|
15478
15478
|
/**
|
|
15479
|
+
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
15480
|
+
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
15481
|
+
*
|
|
15482
|
+
* The owner runs it on its own rows, through its own write path; an operator
|
|
15483
|
+
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
15484
|
+
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
15485
|
+
*/
|
|
15486
|
+
var RawSecretMigrationInputSchema = z.object({
|
|
15487
|
+
/** `false` (the default of the script) = report only. */
|
|
15488
|
+
apply: z.boolean() });
|
|
15489
|
+
var RawSecretMigrationReportSchema = z.object({
|
|
15490
|
+
apply: z.boolean(),
|
|
15491
|
+
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
15492
|
+
rows: z.number().int(),
|
|
15493
|
+
/** Rows whose secret was plaintext when the run started. */
|
|
15494
|
+
raw: z.number().int(),
|
|
15495
|
+
/** Rows that already held a keychain marker when the run started. */
|
|
15496
|
+
markers: z.number().int(),
|
|
15497
|
+
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
15498
|
+
migrated: z.number().int(),
|
|
15499
|
+
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
15500
|
+
failed: z.number().int(),
|
|
15501
|
+
/** After the run: rows still holding plaintext. */
|
|
15502
|
+
remainingRaw: z.number().int(),
|
|
15503
|
+
/** After the run: markers the keychain could not resolve right now. */
|
|
15504
|
+
unresolvedMarkers: z.number().int(),
|
|
15505
|
+
/**
|
|
15506
|
+
* A second, redundant copy of the secrets' rows that the run found (and, on
|
|
15507
|
+
* `apply`, deleted after verifying the first). Owners with a single copy omit it.
|
|
15508
|
+
*/
|
|
15509
|
+
redundantCopies: z.number().int().optional(),
|
|
15510
|
+
/** True when nothing is raw and every marker resolves. */
|
|
15511
|
+
verified: z.boolean()
|
|
15512
|
+
});
|
|
15513
|
+
/**
|
|
15479
15514
|
* core-blocks — user-authored TypeScript, stored in the kernel and executed in
|
|
15480
15515
|
* its own process.
|
|
15481
15516
|
*
|
|
@@ -15839,14 +15874,16 @@ var coreBlocksCapability = {
|
|
|
15839
15874
|
/**
|
|
15840
15875
|
* Hydrated settings form for one block, or null until a `settingsSchema`
|
|
15841
15876
|
* is known (extracted from the compiled entry's named export, or set on
|
|
15842
|
-
* the block). Values live in the `
|
|
15877
|
+
* the block). Values live in the block addon's `addon-settings` rows (D880);
|
|
15878
|
+
* a password field answers as a "set" view, never the value.
|
|
15843
15879
|
*/
|
|
15844
15880
|
getBlockSettings: method(z.object({ blockId: z.string() }), SettingsSchemaWithValuesSchema.nullable(), { auth: "admin" }),
|
|
15845
15881
|
/**
|
|
15846
15882
|
* Patch persisted preference values for one block. The schema is not
|
|
15847
|
-
* rewritten here — only values. Scripts read the same
|
|
15848
|
-
* `ctx.settings.readAddonStore()
|
|
15849
|
-
* `
|
|
15883
|
+
* rewritten here — only values. Scripts read the same rows via
|
|
15884
|
+
* `ctx.settings.readAddonStore()`. A field the schema declares `password` /
|
|
15885
|
+
* `secret: true` is stored in the keychain (owner = the block's addon id)
|
|
15886
|
+
* and the row holds a marker; a REDACTED or view value keeps the stored one.
|
|
15850
15887
|
*/
|
|
15851
15888
|
updateBlockSettings: method(z.object({
|
|
15852
15889
|
blockId: z.string(),
|
|
@@ -15856,6 +15893,16 @@ var coreBlocksCapability = {
|
|
|
15856
15893
|
auth: "admin"
|
|
15857
15894
|
}),
|
|
15858
15895
|
/**
|
|
15896
|
+
* D880: move every plaintext password a block's `settingsSchema` declares
|
|
15897
|
+
* into the keychain and delete the legacy `core-blocks:settings` copy. Dry
|
|
15898
|
+
* run unless `apply`; idempotent; counts only. A secret is read back from
|
|
15899
|
+
* the keychain before its row is rewritten.
|
|
15900
|
+
*/
|
|
15901
|
+
migrateRawSecrets: method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
|
|
15902
|
+
kind: "mutation",
|
|
15903
|
+
auth: "admin"
|
|
15904
|
+
}),
|
|
15905
|
+
/**
|
|
15859
15906
|
* The declaration files the editor type-checks against.
|
|
15860
15907
|
*
|
|
15861
15908
|
* Served rather than bundled: the graph is 3.4 MB across 344 files, and
|
|
@@ -41064,36 +41111,6 @@ var llmRuntimeCapability = {
|
|
|
41064
41111
|
}
|
|
41065
41112
|
};
|
|
41066
41113
|
/**
|
|
41067
|
-
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
41068
|
-
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
41069
|
-
*
|
|
41070
|
-
* The owner runs it on its own rows, through its own write path; an operator
|
|
41071
|
-
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
41072
|
-
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
41073
|
-
*/
|
|
41074
|
-
var RawSecretMigrationInputSchema = z.object({
|
|
41075
|
-
/** `false` (the default of the script) = report only. */
|
|
41076
|
-
apply: z.boolean() });
|
|
41077
|
-
var RawSecretMigrationReportSchema = z.object({
|
|
41078
|
-
apply: z.boolean(),
|
|
41079
|
-
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
41080
|
-
rows: z.number().int(),
|
|
41081
|
-
/** Rows whose secret was plaintext when the run started. */
|
|
41082
|
-
raw: z.number().int(),
|
|
41083
|
-
/** Rows that already held a keychain marker when the run started. */
|
|
41084
|
-
markers: z.number().int(),
|
|
41085
|
-
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
41086
|
-
migrated: z.number().int(),
|
|
41087
|
-
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
41088
|
-
failed: z.number().int(),
|
|
41089
|
-
/** After the run: rows still holding plaintext. */
|
|
41090
|
-
remainingRaw: z.number().int(),
|
|
41091
|
-
/** After the run: markers the keychain could not resolve right now. */
|
|
41092
|
-
unresolvedMarkers: z.number().int(),
|
|
41093
|
-
/** True when nothing is raw and every marker resolves. */
|
|
41094
|
-
verified: z.boolean()
|
|
41095
|
-
});
|
|
41096
|
-
/**
|
|
41097
41114
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
41098
41115
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
41099
41116
|
* provider by the `addonId` in the call input (the notification-output
|
|
@@ -74755,6 +74772,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
74755
74772
|
addonId: null,
|
|
74756
74773
|
access: "view"
|
|
74757
74774
|
},
|
|
74775
|
+
"coreBlocks.migrateRawSecrets": {
|
|
74776
|
+
capName: "core-blocks",
|
|
74777
|
+
capScope: "system",
|
|
74778
|
+
addonId: null,
|
|
74779
|
+
access: "create"
|
|
74780
|
+
},
|
|
74758
74781
|
"coreBlocks.restart": {
|
|
74759
74782
|
capName: "core-blocks",
|
|
74760
74783
|
capScope: "system",
|
|
@@ -86270,4 +86293,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
86270
86293
|
return out;
|
|
86271
86294
|
}
|
|
86272
86295
|
//#endregion
|
|
86273
|
-
export { StorageCleanupJobSchema as $, splitTranslationRef as $n,
|
|
86296
|
+
export { StorageCleanupJobSchema as $, splitTranslationRef as $n, expandCapMethods as $r, gbToBytes as $t, DeclaredDevices as A, pickAppLinkHub as An, errMsg as Ar, databaseSnapshotCapability as At, METHOD_ACCESS_MAP as B, resolveCoreBlockFiles as Bn, WELL_KNOWN_TAB_MAP as Br, deviceStatusCapability as Bt, DAY_NAMES as C, toSecretFieldView as Ci, modeMayWrite as Cn, compositionSourceKey as Cr, coreBlockAddonId as Ct, DEVICE_SAN_CREDENTIAL_PREFIX as D, objectInputDeclaresAddonId as Dn, DeviceFeature as Dr, coreBlocksCapability as Dt, DEVICE_NONCE_TTL_MS as E, EventCategory as Ei, normalizeUnit as En, toExpressionValue as Er, coreBlockSourceKind as Et, HUB_MDNS_SERVICE_TYPE as F, reducePoints as Fn, REDACTED_SECRET as Fr, describeComposableCaps as Ft, RecordingStatusSchema as G, runtimeStatePolicyFor as Gn, collectSecretConfigKeys as Gr, evictionPolicyOfLocation as Gt, MOTION_CLOSE_AFTER_MS as H, resolveLocationMode as Hn, asNumber as Hr, enumerateItemArrayFields as Ht, HUB_MDNS_TXT_KEYS as I, replacedFieldKeys as In, RUNTIME_DEFAULTS as Ir, deviceCredentialsCapability as It, STORAGE_ADMIN_SCOPED_BASES as J, scoreRuntimes as Jn, createEvent as Jr, extractNestedAddonId as Jt, STORAGE_ACCESS_FALLBACK as K, scopesAllowAddon as Kn, collectSecretMarkerRefs as Kr, expandContainer as Kt, KEYCHAIN_RESET_TRIGGER_ACTOR as L, resolveAppConnections as Ln, ReadinessRegistry as Lr, deviceExtensionCapability as Lt, FIRST_LEVEL_MACRO_CLASSES as M, platformProbeCapability as Mn, DATAPLANE_SECRET_HEADER as Mr, decodeVectorBase64 as Mt, FieldClaimModeSchema as N, procedureAuthKey as Nn, DEVICE_SETTINGS_CONTRIBUTION_METHODS as Nr, defineExtensionSlotProvider as Nt, DEVICE_SAN_USER_PREFIX as O, objectInputDeclaresRequiredDeviceId as On, DeviceRole as Or, createDeviceExtensionProvider as Ot, FieldClaimSchema as P, ptzAutotrackCapability as Pn, DEVICE_STATUS_METHOD as Pr, deriveBatteryPresence as Pt, SsoBridgeClaimsSchema as Q, snapshotCapability as Qn, emitReadiness as Qr, formatMinutes as Qt, LOG_LEVEL_RANK as R, resolveBucketMs as Rn, ReadinessTimeoutError as Rr, deviceManagerCapability as Rt, DATA_STORE_DATABASES as S, toNodeId as Si, metricsProviderCapability as Sn, compositionSliceKey as Sr, compositionSourceRefs as St, DEVICE_ENROLLMENT_TTL_MS as T, userError as Ti, normalizeCoreBlockWrite as Tn, disarmRoseMemory as Tr, coreBlockIdFromAddonId as Tt, NetworkTunnelStartedDataSchema as U, resolveMethodAuth as Un, asString$1 as Ur, enumerateSchemaFields as Ut, MINUTES_PER_DAY as V, resolveHubAddressRoles as Vn, asJsonObject as Vr, enumerateInferenceDevices as Vt, RECORDING_SOURCE_CAMSTACK_ADDON as W, resolveNotificationTapAddress as Wn, buildSecretRef as Wr, evaluateCompositionField as Wt, ScopedTokenSchema as X, shortHostname as Xn, defineCustomActions as Xr, foldSnapshotByFunction as Xt, STREAM_PROFILE_META as Y, settingsStoreCapability as Yn, customAction as Yr, filesystemBrowseCapability as Yt, ServerNameSchema as Z, siteZoneKey as Zn, emitDownForOwnedCaps as Zr, formatDeviceRevoker as Zt, CatalogFileSchema as _, resolveSecretMarkers as _i, logLevelAtMost as _n, cloneStatefulExpressionMemory as _r, cameraGridLayoutCapability as _t, ApiKeyRecordSchema as a, isSecretClear as ai, isLocationEnabled as an, streamCatalogCapability as ar, addonSettingsCapability as at, DATABASE_SNAPSHOT_SUFFIX as b, secretTreeFromSchema as bi, mayWriteToLocation as bn, compositionFeatureEnabled as br, composerCapability as bt, CAMERA_SWITCH_ORDER as c, isSecretRefOwnedBy as ci, kebabToCamel as cn, userManagementCapability as cr, authProviderCapability as ct, CATALOG_LANGS as d, normalizeSecretOwner as di, legacyAutoLinkIds as dn, vectorDimFromBase64 as dr, batteryCapability as dt, formatSecretScope as ei, interpolate as en, storageAdminCapability as er, StorageLocationModeSchema as et, COMPOSED_ITEM_FIXED_FIELDS as f, parseJsonObject as fi, legacyModeOf as fn, vectorIndexDimConflictError as fr, buildCapabilityLookup as ft, CalendarPreferencesSchema as g, resolveCapMount as gi, logDestinationCapability as gn, buildFfmpegArgs as gr, calendarsCapability as gt, CORE_BLOCK_ADDON_PREFIX as h, readinessKey as hi, locationIconKey as hn, COMPOSER_ADDON_ID as hr, buildStreamParamsConfigSchema as ht, AlertSchema as i, isKeychainStoredField as ii, isDefaultAppConnectionEndpoint as in, storageProviderCapability as ir, addonPagesCapability as it, DeviceStatusSchema as j, planComposition as jn, BaseAddon as jr, declarationOwnerNodeId as jt, DEVICE_TOMBSTONE_RETENTION_MS as k, parseStreamParamsFormPatch as kn, DeviceType as kr, dataStoreProviderCapability as kt, CAMSTACK_APP_LINK_ORIGIN as l, makeSecretMarker as li, keychainAdminCapability as ln, validateComposition as lr, backupCapability as lt, CORE_BLOCKS_ADDON_ID as m, parseSecretRef as mi, localNetworkCapability as mn, withLocationMode as mr, buildDeviceSignatureMessage as mt, AGENT_MDNS_TXT_KEYS as n, isDeviceConfigCap as ni, isArrayOutputSchema as nn, storageMigrationCapability as nr, StorageMigrationJobSchema as nt, BaseDevice as o, isSecretMarker as oi, isObjectInput as on, streamQualityLabel as or, addonWidgetsCapability as ot, COMPOSER_RUNNER_ID as p, parseJsonUnknown as pi, lifecycleJobSchema as pn, vectorStoreCapability as pr, buildDeviceEnrollmentLink as pt, STORAGE_ADMIN_MOVED_COLLECTIONS as q, scopesAllowDeviceCap as qn, collectZodSecretPaths as qr, expressionContainsBuiltinCall as qt, ALL_CAPABILITY_DEFINITIONS as r, isEvent as ri, isCollectionArrayMethod as rn, storageOccupancyCapability as rr, UserRecordSchema as rt, BatteryStatusSchema as s, isSecretMarkerLike as si, isVoidInput as sn, supportedRuntimes as sr, alertsCapability as st, AGENT_MDNS_SERVICE_TYPE as t, hydrateSchema as ti, isAppLinkBase as tn, storageCapability as tr, StorageLocationTypeSchema as tt, CAP_NAMES_WITH_STATUS as u, nodePin as ui, keychainCapability as un, validateCustomAddress as ur, bareAddonId as ut, CoreBlockSchema as v, scopeKey as vi, looseSchema as vn, composedDeviceRef as vr, canonicalIconKey as vt, DERIVED_CAMERA_SILENCED_CAP_NAMES as w, transformSecretWrite as wi, motionCapability as wn, createStatefulExpressionMemory as wr, coreBlockComposition as wt, DATABASE_SNAPSHOT_TIMEOUT_MS as x, sleep as xi, memoizePinnedFfmpeg as xn, compositionItemFieldPath as xr, compositionFieldKey as xt, DATABASE_SNAPSHOT_PARTIAL_SUFFIX as y, secretTreeFromPaths as yi, mayReadLocation as yn, composedDeviceStableId as yr, checkRoleAddress as yt, LegacyStorageLocationDefaultSchema as z, resolveCoreBlockEntry as zn, SECRET_CLEAR as zr, deviceStateCapability as zt };
|
|
@@ -736,7 +736,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
736
736
|
return EventCategory;
|
|
737
737
|
}({});
|
|
738
738
|
//#endregion
|
|
739
|
-
//#region ../types/dist/sleep-
|
|
739
|
+
//#region ../types/dist/sleep-D-Q2_Mcd.mjs
|
|
740
740
|
/**
|
|
741
741
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
742
742
|
* window to float samples (D455).
|
|
@@ -15476,6 +15476,41 @@ function describeComposableCaps(defs, deviceType) {
|
|
|
15476
15476
|
}).toSorted((a, b) => a.cap.localeCompare(b.cap));
|
|
15477
15477
|
}
|
|
15478
15478
|
/**
|
|
15479
|
+
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
15480
|
+
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
15481
|
+
*
|
|
15482
|
+
* The owner runs it on its own rows, through its own write path; an operator
|
|
15483
|
+
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
15484
|
+
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
15485
|
+
*/
|
|
15486
|
+
var RawSecretMigrationInputSchema = zod.z.object({
|
|
15487
|
+
/** `false` (the default of the script) = report only. */
|
|
15488
|
+
apply: zod.z.boolean() });
|
|
15489
|
+
var RawSecretMigrationReportSchema = zod.z.object({
|
|
15490
|
+
apply: zod.z.boolean(),
|
|
15491
|
+
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
15492
|
+
rows: zod.z.number().int(),
|
|
15493
|
+
/** Rows whose secret was plaintext when the run started. */
|
|
15494
|
+
raw: zod.z.number().int(),
|
|
15495
|
+
/** Rows that already held a keychain marker when the run started. */
|
|
15496
|
+
markers: zod.z.number().int(),
|
|
15497
|
+
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
15498
|
+
migrated: zod.z.number().int(),
|
|
15499
|
+
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
15500
|
+
failed: zod.z.number().int(),
|
|
15501
|
+
/** After the run: rows still holding plaintext. */
|
|
15502
|
+
remainingRaw: zod.z.number().int(),
|
|
15503
|
+
/** After the run: markers the keychain could not resolve right now. */
|
|
15504
|
+
unresolvedMarkers: zod.z.number().int(),
|
|
15505
|
+
/**
|
|
15506
|
+
* A second, redundant copy of the secrets' rows that the run found (and, on
|
|
15507
|
+
* `apply`, deleted after verifying the first). Owners with a single copy omit it.
|
|
15508
|
+
*/
|
|
15509
|
+
redundantCopies: zod.z.number().int().optional(),
|
|
15510
|
+
/** True when nothing is raw and every marker resolves. */
|
|
15511
|
+
verified: zod.z.boolean()
|
|
15512
|
+
});
|
|
15513
|
+
/**
|
|
15479
15514
|
* core-blocks — user-authored TypeScript, stored in the kernel and executed in
|
|
15480
15515
|
* its own process.
|
|
15481
15516
|
*
|
|
@@ -15839,14 +15874,16 @@ var coreBlocksCapability = {
|
|
|
15839
15874
|
/**
|
|
15840
15875
|
* Hydrated settings form for one block, or null until a `settingsSchema`
|
|
15841
15876
|
* is known (extracted from the compiled entry's named export, or set on
|
|
15842
|
-
* the block). Values live in the `
|
|
15877
|
+
* the block). Values live in the block addon's `addon-settings` rows (D880);
|
|
15878
|
+
* a password field answers as a "set" view, never the value.
|
|
15843
15879
|
*/
|
|
15844
15880
|
getBlockSettings: method(zod.z.object({ blockId: zod.z.string() }), SettingsSchemaWithValuesSchema.nullable(), { auth: "admin" }),
|
|
15845
15881
|
/**
|
|
15846
15882
|
* Patch persisted preference values for one block. The schema is not
|
|
15847
|
-
* rewritten here — only values. Scripts read the same
|
|
15848
|
-
* `ctx.settings.readAddonStore()
|
|
15849
|
-
* `
|
|
15883
|
+
* rewritten here — only values. Scripts read the same rows via
|
|
15884
|
+
* `ctx.settings.readAddonStore()`. A field the schema declares `password` /
|
|
15885
|
+
* `secret: true` is stored in the keychain (owner = the block's addon id)
|
|
15886
|
+
* and the row holds a marker; a REDACTED or view value keeps the stored one.
|
|
15850
15887
|
*/
|
|
15851
15888
|
updateBlockSettings: method(zod.z.object({
|
|
15852
15889
|
blockId: zod.z.string(),
|
|
@@ -15856,6 +15893,16 @@ var coreBlocksCapability = {
|
|
|
15856
15893
|
auth: "admin"
|
|
15857
15894
|
}),
|
|
15858
15895
|
/**
|
|
15896
|
+
* D880: move every plaintext password a block's `settingsSchema` declares
|
|
15897
|
+
* into the keychain and delete the legacy `core-blocks:settings` copy. Dry
|
|
15898
|
+
* run unless `apply`; idempotent; counts only. A secret is read back from
|
|
15899
|
+
* the keychain before its row is rewritten.
|
|
15900
|
+
*/
|
|
15901
|
+
migrateRawSecrets: method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
|
|
15902
|
+
kind: "mutation",
|
|
15903
|
+
auth: "admin"
|
|
15904
|
+
}),
|
|
15905
|
+
/**
|
|
15859
15906
|
* The declaration files the editor type-checks against.
|
|
15860
15907
|
*
|
|
15861
15908
|
* Served rather than bundled: the graph is 3.4 MB across 344 files, and
|
|
@@ -41064,36 +41111,6 @@ var llmRuntimeCapability = {
|
|
|
41064
41111
|
}
|
|
41065
41112
|
};
|
|
41066
41113
|
/**
|
|
41067
|
-
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
41068
|
-
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
41069
|
-
*
|
|
41070
|
-
* The owner runs it on its own rows, through its own write path; an operator
|
|
41071
|
-
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
41072
|
-
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
41073
|
-
*/
|
|
41074
|
-
var RawSecretMigrationInputSchema = zod.z.object({
|
|
41075
|
-
/** `false` (the default of the script) = report only. */
|
|
41076
|
-
apply: zod.z.boolean() });
|
|
41077
|
-
var RawSecretMigrationReportSchema = zod.z.object({
|
|
41078
|
-
apply: zod.z.boolean(),
|
|
41079
|
-
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
41080
|
-
rows: zod.z.number().int(),
|
|
41081
|
-
/** Rows whose secret was plaintext when the run started. */
|
|
41082
|
-
raw: zod.z.number().int(),
|
|
41083
|
-
/** Rows that already held a keychain marker when the run started. */
|
|
41084
|
-
markers: zod.z.number().int(),
|
|
41085
|
-
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
41086
|
-
migrated: zod.z.number().int(),
|
|
41087
|
-
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
41088
|
-
failed: zod.z.number().int(),
|
|
41089
|
-
/** After the run: rows still holding plaintext. */
|
|
41090
|
-
remainingRaw: zod.z.number().int(),
|
|
41091
|
-
/** After the run: markers the keychain could not resolve right now. */
|
|
41092
|
-
unresolvedMarkers: zod.z.number().int(),
|
|
41093
|
-
/** True when nothing is raw and every marker resolves. */
|
|
41094
|
-
verified: zod.z.boolean()
|
|
41095
|
-
});
|
|
41096
|
-
/**
|
|
41097
41114
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
41098
41115
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
41099
41116
|
* provider by the `addonId` in the call input (the notification-output
|
|
@@ -74755,6 +74772,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
74755
74772
|
addonId: null,
|
|
74756
74773
|
access: "view"
|
|
74757
74774
|
},
|
|
74775
|
+
"coreBlocks.migrateRawSecrets": {
|
|
74776
|
+
capName: "core-blocks",
|
|
74777
|
+
capScope: "system",
|
|
74778
|
+
addonId: null,
|
|
74779
|
+
access: "create"
|
|
74780
|
+
},
|
|
74758
74781
|
"coreBlocks.restart": {
|
|
74759
74782
|
capName: "core-blocks",
|
|
74760
74783
|
capScope: "system",
|
|
@@ -86840,6 +86863,12 @@ Object.defineProperty(exports, "collectSecretConfigKeys", {
|
|
|
86840
86863
|
return collectSecretConfigKeys;
|
|
86841
86864
|
}
|
|
86842
86865
|
});
|
|
86866
|
+
Object.defineProperty(exports, "collectSecretMarkerRefs", {
|
|
86867
|
+
enumerable: true,
|
|
86868
|
+
get: function() {
|
|
86869
|
+
return collectSecretMarkerRefs;
|
|
86870
|
+
}
|
|
86871
|
+
});
|
|
86843
86872
|
Object.defineProperty(exports, "collectZodSecretPaths", {
|
|
86844
86873
|
enumerable: true,
|
|
86845
86874
|
get: function() {
|
|
@@ -87230,6 +87259,12 @@ Object.defineProperty(exports, "isSecretMarkerLike", {
|
|
|
87230
87259
|
return isSecretMarkerLike;
|
|
87231
87260
|
}
|
|
87232
87261
|
});
|
|
87262
|
+
Object.defineProperty(exports, "isSecretRefOwnedBy", {
|
|
87263
|
+
enumerable: true,
|
|
87264
|
+
get: function() {
|
|
87265
|
+
return isSecretRefOwnedBy;
|
|
87266
|
+
}
|
|
87267
|
+
});
|
|
87233
87268
|
Object.defineProperty(exports, "isVoidInput", {
|
|
87234
87269
|
enumerable: true,
|
|
87235
87270
|
get: function() {
|
|
@@ -87548,6 +87583,12 @@ Object.defineProperty(exports, "secretTreeFromPaths", {
|
|
|
87548
87583
|
return secretTreeFromPaths;
|
|
87549
87584
|
}
|
|
87550
87585
|
});
|
|
87586
|
+
Object.defineProperty(exports, "secretTreeFromSchema", {
|
|
87587
|
+
enumerable: true,
|
|
87588
|
+
get: function() {
|
|
87589
|
+
return secretTreeFromSchema;
|
|
87590
|
+
}
|
|
87591
|
+
});
|
|
87551
87592
|
Object.defineProperty(exports, "settingsStoreCapability", {
|
|
87552
87593
|
enumerable: true,
|
|
87553
87594
|
get: function() {
|