@camstack/server 1.2.862 → 1.2.863
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/CHANGELOG.md +8 -0
- package/package.json +13 -8
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +25 -49
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +25 -49
- package/system/dist/builtins/core-blocks/hero-layout-service.d.ts +3 -1
- package/system/dist/builtins/core-blocks/remote-service.d.ts +10 -10
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +29 -5
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +29 -5
- package/system/dist/builtins/device-manager/device-projection.d.ts +8 -0
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-B5OYzCH1.mjs → capture-engine-CK9f9H7b.mjs} +1 -1
- package/system/dist/{capture-engine-BManwD48.js → capture-engine-Cofev-f3.js} +1 -1
- package/system/dist/{composition-sources-B8hoUx1K.mjs → composition-sources-Cah5d873.mjs} +1 -1
- package/system/dist/{composition-sources-DWu-IL2w.js → composition-sources-Pqrpujem.js} +1 -1
- package/system/dist/{constants-qDKQ7NaY.mjs → constants-BKiAEgH1.mjs} +1 -1
- package/system/dist/{constants-CUAopsxj.js → constants-DzdeUhhD.js} +1 -1
- package/system/dist/{device-ca-DNrM4Ao-.js → device-ca-DfFm8dSR.js} +1 -1
- package/system/dist/{device-ca-BOUTrISA.mjs → device-ca-MvTMcE3C.mjs} +1 -1
- package/system/dist/{dist-3MQdfUTG.mjs → dist-BDIq20ng.mjs} +76 -16
- package/system/dist/{dist-B9Kzw974.js → dist-BJBp-Cna.js} +81 -15
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-DEbxcoVh.mjs → hub-identity-DErvD_Y9.mjs} +1 -1
- package/system/dist/{hub-identity-BQIE6w3g.js → hub-identity-DZw5bjVe.js} +1 -1
- package/system/dist/{hub-mdns-ciao-Bj_RdJiH.js → hub-mdns-ciao-Cn4CZvKD.js} +2 -2
- package/system/dist/{hub-mdns-ciao-BzKGywE2.mjs → hub-mdns-ciao-DBtitWew.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-rgL9olef.mjs → legacy-integration-rows-door-CT9d6do5.mjs} +1 -1
- package/system/dist/{legacy-integration-rows-door-CRfEC_HP.js → legacy-integration-rows-door-Dm8DXrzQ.js} +1 -1
- package/system/dist/{rename-composition-block-DlgSgxch.mjs → rename-composition-block-BgjpGf0d.mjs} +1 -1
- package/system/dist/{rename-composition-block-Bbt43q6n.js → rename-composition-block-CMrV8Rou.js} +1 -1
- package/system/dist/{restore-archive-DJBACMC0.js → restore-archive-BRIGjOQv.js} +1 -1
- package/system/dist/{restore-archive-Ct-H3qLw.mjs → restore-archive-BTpU7KMz.mjs} +1 -1
- package/system/dist/{wal-maintenance-Bu6vjJlR.mjs → wal-maintenance-BsgOZJxC.mjs} +0 -0
- package/system/dist/{wal-maintenance-BvIEU1r1.js → wal-maintenance-DAzeawfH.js} +0 -0
- package/system/package.json +1 -1
|
@@ -1261,7 +1261,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1261
1261
|
*/
|
|
1262
1262
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1263
1263
|
//#endregion
|
|
1264
|
-
//#region ../types/dist/sleep-
|
|
1264
|
+
//#region ../types/dist/sleep-D7hCDd7y.mjs
|
|
1265
1265
|
/**
|
|
1266
1266
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1267
1267
|
* window to float samples (D455).
|
|
@@ -5837,6 +5837,8 @@ var READING_QUANTITIES = [
|
|
|
5837
5837
|
"information",
|
|
5838
5838
|
"sound-level",
|
|
5839
5839
|
"signal-level",
|
|
5840
|
+
"signal-ratio",
|
|
5841
|
+
"frequency",
|
|
5840
5842
|
"colour-temperature",
|
|
5841
5843
|
"angle",
|
|
5842
5844
|
"bitrate",
|
|
@@ -5883,6 +5885,8 @@ var QUANTITY_BASE = {
|
|
|
5883
5885
|
information: "B",
|
|
5884
5886
|
"sound-level": "dBFS",
|
|
5885
5887
|
"signal-level": "dBm",
|
|
5888
|
+
"signal-ratio": "dB",
|
|
5889
|
+
frequency: "Hz",
|
|
5886
5890
|
"colour-temperature": "mired",
|
|
5887
5891
|
angle: "°",
|
|
5888
5892
|
bitrate: "kbps",
|
|
@@ -16663,6 +16667,10 @@ Object.freeze({
|
|
|
16663
16667
|
{
|
|
16664
16668
|
"path": "storage.dischargedTodayKwh",
|
|
16665
16669
|
"valueType": "number"
|
|
16670
|
+
},
|
|
16671
|
+
{
|
|
16672
|
+
"path": "storage.healthPct",
|
|
16673
|
+
"valueType": "number"
|
|
16666
16674
|
}
|
|
16667
16675
|
],
|
|
16668
16676
|
"enum-sensor": [{
|
|
@@ -17043,6 +17051,10 @@ Object.freeze({
|
|
|
17043
17051
|
"path": "isMuted",
|
|
17044
17052
|
"valueType": "boolean"
|
|
17045
17053
|
},
|
|
17054
|
+
{
|
|
17055
|
+
"path": "muteReadback",
|
|
17056
|
+
"valueType": "boolean"
|
|
17057
|
+
},
|
|
17046
17058
|
{
|
|
17047
17059
|
"path": "source",
|
|
17048
17060
|
"valueType": "string"
|
|
@@ -20934,7 +20946,7 @@ var NodeColorIdSchema = zod.z.enum([
|
|
|
20934
20946
|
"node-h"
|
|
20935
20947
|
]);
|
|
20936
20948
|
//#endregion
|
|
20937
|
-
//#region ../types/dist/convert-
|
|
20949
|
+
//#region ../types/dist/convert-BwMfbk5b.mjs
|
|
20938
20950
|
/**
|
|
20939
20951
|
* Frozen unit → spec table. `•` in the doc marks each dimension's canonical
|
|
20940
20952
|
* unit (`factor: 1, offset: 0`). °F derives from `°C = (°F − 32) × 5/9` ⇒
|
|
@@ -21267,6 +21279,21 @@ var UNIT_TABLE = {
|
|
|
21267
21279
|
factor: 1,
|
|
21268
21280
|
offset: 0
|
|
21269
21281
|
},
|
|
21282
|
+
dB: {
|
|
21283
|
+
dimension: "signal-ratio",
|
|
21284
|
+
factor: 1,
|
|
21285
|
+
offset: 0
|
|
21286
|
+
},
|
|
21287
|
+
Hz: {
|
|
21288
|
+
dimension: "frequency",
|
|
21289
|
+
factor: 1,
|
|
21290
|
+
offset: 0
|
|
21291
|
+
},
|
|
21292
|
+
kHz: {
|
|
21293
|
+
dimension: "frequency",
|
|
21294
|
+
factor: 1e3,
|
|
21295
|
+
offset: 0
|
|
21296
|
+
},
|
|
21270
21297
|
mired: {
|
|
21271
21298
|
dimension: "colour-temperature",
|
|
21272
21299
|
factor: 1,
|
|
@@ -61549,6 +61576,12 @@ var MediaPlayerStatusSchema = zod.z.object({
|
|
|
61549
61576
|
/** Mute toggle distinct from volume=0. Null when no mute surface.
|
|
61550
61577
|
* Pair with `DeviceFeature.MediaPlayerMute`. */
|
|
61551
61578
|
isMuted: zod.z.boolean().nullable(),
|
|
61579
|
+
/**
|
|
61580
|
+
* True only when the provider READS the mute state back from the device.
|
|
61581
|
+
* Absent or false: mute is a momentary key. A non-null `isMuted` is not a
|
|
61582
|
+
* reading on its own — an infrared send can leave a value without this flag.
|
|
61583
|
+
*/
|
|
61584
|
+
muteReadback: zod.z.boolean().optional(),
|
|
61552
61585
|
/** Active source / input. Empty when no source surface. */
|
|
61553
61586
|
source: zod.z.string(),
|
|
61554
61587
|
/** Selectable sources. Empty when no source surface.
|
|
@@ -63899,7 +63932,7 @@ function groupTemplate(id) {
|
|
|
63899
63932
|
}
|
|
63900
63933
|
/**
|
|
63901
63934
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
63902
|
-
* 45 caps with series (
|
|
63935
|
+
* 45 caps with series (104 series), 37 caps answered `'none'`.
|
|
63903
63936
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
63904
63937
|
*/
|
|
63905
63938
|
var HISTORY_CATALOG = {
|
|
@@ -64120,6 +64153,12 @@ var HISTORY_CATALOG = {
|
|
|
64120
64153
|
kind: "counter",
|
|
64121
64154
|
unit: "kWh",
|
|
64122
64155
|
displayName: "Storage discharged"
|
|
64156
|
+
},
|
|
64157
|
+
"storage.healthPct": {
|
|
64158
|
+
kind: "gauge",
|
|
64159
|
+
unit: "%",
|
|
64160
|
+
deadband: 1,
|
|
64161
|
+
displayName: "Storage health"
|
|
64123
64162
|
}
|
|
64124
64163
|
},
|
|
64125
64164
|
"enum-sensor": { "value": {
|
|
@@ -72726,7 +72765,9 @@ var EnergyStorageSchema = zod.z.object({
|
|
|
72726
72765
|
/** Lifetime discharged, kWh. */
|
|
72727
72766
|
dischargedKwh: zod.z.number().nullable().meta(readingMeta("energy")),
|
|
72728
72767
|
chargedTodayKwh: zod.z.number().nullable().meta(readingMeta("energy")),
|
|
72729
|
-
dischargedTodayKwh: zod.z.number().nullable().meta(readingMeta("energy"))
|
|
72768
|
+
dischargedTodayKwh: zod.z.number().nullable().meta(readingMeta("energy")),
|
|
72769
|
+
/** State of health, 0..100. Null when the system did not report it. */
|
|
72770
|
+
healthPct: zod.z.number().nullable().meta(readingMeta("percentage"))
|
|
72730
72771
|
});
|
|
72731
72772
|
var EnergySystemStatusSchema = zod.z.object({
|
|
72732
72773
|
solar: EnergySolarSchema.nullable(),
|
|
@@ -72838,6 +72879,12 @@ var energySystemCapability = {
|
|
|
72838
72879
|
kind: "counter",
|
|
72839
72880
|
unit: "kWh",
|
|
72840
72881
|
displayName: "Storage discharged"
|
|
72882
|
+
},
|
|
72883
|
+
"storage.healthPct": {
|
|
72884
|
+
kind: "gauge",
|
|
72885
|
+
unit: "%",
|
|
72886
|
+
deadband: 1,
|
|
72887
|
+
displayName: "Storage health"
|
|
72841
72888
|
}
|
|
72842
72889
|
} },
|
|
72843
72890
|
volatileStateFields: ["lastFetchedAt"],
|
|
@@ -76125,7 +76172,7 @@ var HeroModelSchema = zod.z.object({
|
|
|
76125
76172
|
*
|
|
76126
76173
|
* - `extras` are the further inline controls of the types that carry more than one
|
|
76127
76174
|
* ({@link ROW_EXTRAS_BY_TYPE}): climate setpoint, a robot's return to base,
|
|
76128
|
-
* a player's volume and remote. Each is a control the model already has, named by id,
|
|
76175
|
+
* a player's volume and remote, an automation's enabled switch. Each is a control the model already has, named by id,
|
|
76129
76176
|
* in that order and at most {@link ROW_EXTRAS_MAX}; one the model lacks, or lists in
|
|
76130
76177
|
* `gated`, is absent, and the one `primary` already is never repeats. Empty = the
|
|
76131
76178
|
* row of an older server: `primary` alone.
|
|
@@ -76241,7 +76288,8 @@ var ROW_EXTRAS_BY_TYPE = {
|
|
|
76241
76288
|
[DeviceType.Climate]: ["climate.target"],
|
|
76242
76289
|
[DeviceType.Vacuum]: ["vacuum.base"],
|
|
76243
76290
|
[DeviceType.LawnMower]: ["mower.dock"],
|
|
76244
|
-
[DeviceType.MediaPlayer]: ["volume.level", REMOTE_OPEN_ACTION_ID]
|
|
76291
|
+
[DeviceType.MediaPlayer]: ["volume.level", REMOTE_OPEN_ACTION_ID],
|
|
76292
|
+
[DeviceType.Automation]: ["automation.enabled"]
|
|
76245
76293
|
};
|
|
76246
76294
|
var controlId = (c) => c.kind === "action" ? c.action.id : c.id;
|
|
76247
76295
|
function extraOf(model, id) {
|
|
@@ -114799,7 +114847,11 @@ var temperatureContribution = contribution("temperature-sensor", TemperatureSens
|
|
|
114799
114847
|
var humidityContribution = contribution("humidity-sensor", HumiditySensorStatusSchema, (slice) => measured(sensorFragment(slice?.humidity ?? null, "humidity", "droplets", "Humidity", "Umidità", `${Math.round(slice?.humidity ?? 0)}%`), slice?.humidity == null ? emptyMeasurement("humidity") : humidityMeasurement(slice.humidity, slice.lastFetchedAt)));
|
|
114800
114848
|
var pressureContribution = contribution("pressure-sensor", PressureSensorStatusSchema, (slice) => sensorFragment(slice?.pressure ?? null, "pressure", "gauge", "Pressure", "Pressione", `${Math.round(slice?.pressure ?? 0)} hPa`));
|
|
114801
114849
|
var illuminanceContribution = contribution("ambient-light-sensor", AmbientLightSensorStatusSchema, (slice) => sensorFragment(slice?.illuminance ?? null, "illuminance", "sun", "Light", "Luce", `${Math.round(slice?.illuminance ?? 0)} lx`));
|
|
114802
|
-
var numericContribution = contribution("numeric-sensor", NumericSensorStatusSchema, (slice) =>
|
|
114850
|
+
var numericContribution = contribution("numeric-sensor", NumericSensorStatusSchema, (slice, ctx) => {
|
|
114851
|
+
const unit = ctx.quantity == null ? void 0 : baseUnitOf(ctx.quantity);
|
|
114852
|
+
const text = String(Number((slice?.value ?? 0).toFixed(2)));
|
|
114853
|
+
return sensorFragment(slice?.value ?? null, "reading", "gauge", "Value", "Valore", unit === void 0 ? text : `${text} ${unit}`);
|
|
114854
|
+
});
|
|
114803
114855
|
var enumContribution = contribution("enum-sensor", EnumSensorStatusSchema, (slice) => {
|
|
114804
114856
|
if (slice === void 0 || slice.value === "") return measured({ reading: reading("sensor", "unknown") }, emptyMeasurement("text"));
|
|
114805
114857
|
if (slice.timestamp === true) return { reading: reading("sensor", "on") };
|
|
@@ -115281,7 +115333,7 @@ function deriveFromStatus(status, features) {
|
|
|
115281
115333
|
volume,
|
|
115282
115334
|
mute: has(DeviceFeature.MediaPlayerMute) || volume === "slider" && status.isMuted !== null,
|
|
115283
115335
|
volumeKnown: status.volumeLevel !== null,
|
|
115284
|
-
muteKnown: status.
|
|
115336
|
+
muteKnown: status.muteReadback === true,
|
|
115285
115337
|
artworkUrl: artworkOf(status),
|
|
115286
115338
|
source: hasSource ? {
|
|
115287
115339
|
current: sourceName,
|
|
@@ -115693,11 +115745,15 @@ function volumeControls(view, volumeLevel, muted) {
|
|
|
115693
115745
|
valueArg: "volumeLevel"
|
|
115694
115746
|
});
|
|
115695
115747
|
if (view.volume === "steps") controls.push(asAction(action("volume.down", t("Volume down", "Volume giù"), "volume-1", "media-player", "volumeDown")), asAction(action("volume.up", t("Volume up", "Volume su"), "volume-2", "media-player", "volumeUp")));
|
|
115696
|
-
if (view.mute) controls.push({
|
|
115748
|
+
if (view.mute && !view.muteKnown) controls.push({
|
|
115749
|
+
kind: "action",
|
|
115750
|
+
action: action("volume.mute", t("Mute", "Muto"), "volume-x", "media-player", "setMute", { muted: true })
|
|
115751
|
+
});
|
|
115752
|
+
else if (view.mute) controls.push({
|
|
115697
115753
|
kind: "toggle",
|
|
115698
115754
|
id: "volume.mute",
|
|
115699
115755
|
label: t("Mute", "Muto"),
|
|
115700
|
-
on:
|
|
115756
|
+
on: muted,
|
|
115701
115757
|
turnOn: action("volume.mute", t("Mute", "Muto"), "volume-x", "media-player", "setMute", { muted: true }),
|
|
115702
115758
|
turnOff: action("volume.unmute", t("Unmute", "Riattiva"), "volume-2", "media-player", "setMute", { muted: false })
|
|
115703
115759
|
});
|
|
@@ -116937,14 +116993,17 @@ function historyLabelOf(type) {
|
|
|
116937
116993
|
}
|
|
116938
116994
|
/**
|
|
116939
116995
|
* A sensor that measures exactly ONE thing is drawn as that reading. Two measuring
|
|
116940
|
-
* caps (a temperature and a humidity on one device) keep today's card
|
|
116941
|
-
*
|
|
116996
|
+
* caps (a temperature and a humidity on one device) keep today's card. An offline
|
|
116997
|
+
* device keeps the measurement but with NO value: its last reading is no longer
|
|
116998
|
+
* current, so the card draws its normal self with an empty "—" (D393), never a
|
|
116999
|
+
* stale number and never a 0.
|
|
116942
117000
|
*/
|
|
116943
117001
|
function measurementOf(input, fragments) {
|
|
116944
|
-
if (input.device.type !== DeviceType.Sensor
|
|
117002
|
+
if (input.device.type !== DeviceType.Sensor) return void 0;
|
|
116945
117003
|
const measured = fragments.flatMap((f) => f.measurement === void 0 ? [] : [f.measurement]);
|
|
116946
117004
|
const only = measured.length === 1 ? measured[0] : void 0;
|
|
116947
|
-
|
|
117005
|
+
if (only === void 0 || !measurementFitsRole(only, input.device.role)) return void 0;
|
|
117006
|
+
return input.device.online ? only : emptyMeasurement(only.quantity);
|
|
116948
117007
|
}
|
|
116949
117008
|
function sceneOf(role, type, fragments) {
|
|
116950
117009
|
const parts = fragments.flatMap((f) => f.scene === void 0 ? [] : [f.scene]);
|
|
@@ -116964,7 +117023,8 @@ function buildHeroModel(input) {
|
|
|
116964
117023
|
now: input.now,
|
|
116965
117024
|
running: runningOf(input),
|
|
116966
117025
|
remoteCommands: input.remoteCommands,
|
|
116967
|
-
caps: input.caps
|
|
117026
|
+
caps: input.caps,
|
|
117027
|
+
quantity: device.quantity ?? null
|
|
116968
117028
|
};
|
|
116969
117029
|
const contributed = HERO_CAP_CONTRIBUTIONS.filter((c) => input.caps.includes(c.cap)).map((c) => ({
|
|
116970
117030
|
cap: c.cap,
|
|
@@ -134986,6 +135046,12 @@ Object.defineProperty(exports, "extractNestedAddonId", {
|
|
|
134986
135046
|
return extractNestedAddonId;
|
|
134987
135047
|
}
|
|
134988
135048
|
});
|
|
135049
|
+
Object.defineProperty(exports, "extractSourceInfoFromMetadata", {
|
|
135050
|
+
enumerable: true,
|
|
135051
|
+
get: function() {
|
|
135052
|
+
return extractSourceInfoFromMetadata;
|
|
135053
|
+
}
|
|
135054
|
+
});
|
|
134989
135055
|
Object.defineProperty(exports, "fanAxisPath", {
|
|
134990
135056
|
enumerable: true,
|
|
134991
135057
|
get: function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
2
|
+
const require_wal_maintenance = require("./wal-maintenance-DAzeawfH.js");
|
|
3
3
|
let node_worker_threads = require("node:worker_threads");
|
|
4
4
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-
|
|
1
|
+
import { A as callRecords, C as isFileHostWorkerData, D as RecordsEngine, M as controlTargetOf, O as callControl, S as isFileHostRequest, a as WalMaintenance, b as collectTransferables, d as callMigrate, f as migrateTargetOf, j as callVector, k as callData, l as SqliteSettingsBackend, o as createVectorIndex, s as vectorProviderOf, u as HUB_MIGRATIONS, v as serializeError, w as trustInput } from "./wal-maintenance-BsgOZJxC.mjs";
|
|
2
2
|
import { parentPort, threadId, workerData } from "node:worker_threads";
|
|
3
3
|
//#region src/builtins/sqlite-storage/file-host-worker.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Rc as defineRecordKinds } from "./dist-BDIq20ng.mjs";
|
|
2
2
|
import { C as backdatedNotBefore, S as withUtcTimeEncoding, _ as NameConstraints, a as KeyUsageFlags, c as Pkcs10CertificateRequest, d as SubjectKeyIdentifierExtension, f as X509Certificate$1, g as GeneralSubtrees, h as GeneralSubtree, i as Extension, l as Pkcs10CertificateRequestGenerator, m as cryptoProvider, n as BasicConstraintsExtension, o as KeyUsagesExtension, p as X509CertificateGenerator, r as ExtendedKeyUsageExtension, s as PemConverter, t as AuthorityKeyIdentifierExtension, u as SubjectAlternativeNameExtension, v as GeneralName, x as AsnConvert } from "./x509.es-BRiJgOvu.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { X509Certificate, createHash, createPrivateKey, randomBytes, webcrypto } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-BJBp-Cna.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
|
-
const require_dist = require("./dist-
|
|
2
|
+
const require_dist = require("./dist-BJBp-Cna.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-WtnRNyYS.js");
|
|
4
|
-
const require_hub_identity = require("./hub-identity-
|
|
4
|
+
const require_hub_identity = require("./hub-identity-DZw5bjVe.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Ol as userError } from "./dist-BDIq20ng.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-BRiJgOvu.mjs";
|
|
4
|
-
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-
|
|
4
|
+
import { A as evaluateExistingCert, C as localCaCommonName, F as isConstrainedCa, L as permitsIdentity, S as loadCa, b as generateCa, j as reasonRequiresNewCa, w as collectCertIdentity, x as issueLeaf, z as readNameConstraints } from "./hub-identity-DErvD_Y9.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { copyFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
package/system/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
4
|
-
const require_device_ca = require("./device-ca-
|
|
3
|
+
const require_dist = require("./dist-BJBp-Cna.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-DfFm8dSR.js");
|
|
5
5
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
6
6
|
const require_log_redactor = require("./log-redactor-BhIEMaG9.js");
|
|
7
7
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
@@ -28,22 +28,22 @@ const require_builtins_loki_logging_index = require("./builtins/loki-logging/ind
|
|
|
28
28
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
29
29
|
const require_builtins_device_history_device_history_addon = require("./builtins/device-history/device-history.addon.js");
|
|
30
30
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
31
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
32
|
-
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-
|
|
31
|
+
const require_wal_maintenance = require("./wal-maintenance-DAzeawfH.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-Dm8DXrzQ.js");
|
|
33
33
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
34
34
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
35
35
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
36
36
|
require("./builtins/storage-orchestrator/index.js");
|
|
37
|
-
const require_hub_identity = require("./hub-identity-
|
|
38
|
-
const require_constants = require("./constants-
|
|
37
|
+
const require_hub_identity = require("./hub-identity-DZw5bjVe.js");
|
|
38
|
+
const require_constants = require("./constants-DzdeUhhD.js");
|
|
39
39
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
40
40
|
require("./builtins/system-config/index.js");
|
|
41
41
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
42
42
|
const require_custom_action_registry = require("./custom-action-registry-CmWpSeMS.js");
|
|
43
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
43
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-Cn4CZvKD.js");
|
|
44
44
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
45
45
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
46
|
-
const require_restore_archive = require("./restore-archive-
|
|
46
|
+
const require_restore_archive = require("./restore-archive-BRIGjOQv.js");
|
|
47
47
|
const require_coral_accelerators = require("./coral-accelerators-BSVsBVzt.js");
|
|
48
48
|
let zod = require("zod");
|
|
49
49
|
let node_crypto = require("node:crypto");
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { A as CatalogFileSchema,
|
|
3
|
-
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-
|
|
2
|
+
import { A as CatalogFileSchema, Ai as kebabToCamel$1, At as LOG_LEVEL_RANK, Bs as DEVICE_SETTINGS_CONTRIBUTION_METHODS, C as CATALOG_LANGS, Di as isObjectInput, Er as describeUnmet, Fi as lifecycleJobSchema, Hc as expandCapMethods, Hi as logLevelAtMost, Ht as PackageRequiresSchema, Il as errMsg$1, Kr as extractNestedAddonId, Nc as createEvent$1, Ol as userError, Pn as bareAddonId, Rc as defineRecordKinds, Rl as EventCategory$1, Rs as CALLER_STAMPED_CAPABILITIES$1, Sc as asString$1, Ui as looseSchema, Vs as DEVICE_STATUS_METHOD, Wc as getDebugInterest, Ya as resolveMethodAuth, Yc as isDebugChannelName, _l as resolveCapMount, a as AGENT_MDNS_SERVICE_TYPE, ac as ReadinessTimeoutError, bc as asJsonObject$1, bl as scopeKey, bo as splitTranslationRef, co as scopesAllowDeviceCap, fl as parseJsonObject, hi as isAddonInstanceId, hl as readinessKey, ic as ReadinessRegistry, jl as withoutCallerStamp, jt as METHOD_ACCESS_MAP, kc as collectSecretMarkerRefs, ki as isVoidInput, ko as supportedRuntimes, mi as interpolate, o as AGENT_MDNS_TXT_KEYS, oa as objectInputDeclaresAddonId, pl as parseJsonUnknown, rc as RUNTIME_DEFAULTS, rr as compareVersions, s as ALL_CAPABILITY_DEFINITIONS, sa as objectInputDeclaresRequiredDeviceId, so as scopesAllowAddon, wa as procedureAuthKey, wn as addonSettingsCapability, xc as asNumber, xi as isCollectionArrayMethod, yi as isArrayOutputSchema, zc as emitDownForOwnedCaps, zo as unmetRequirements, zs as DATAPLANE_SECRET_HEADER$1 } from "./dist-BDIq20ng.mjs";
|
|
3
|
+
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-MvTMcE3C.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
|
|
6
6
|
import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
|
|
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
27
27
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
28
28
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
29
29
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
30
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
31
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
30
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-BsgOZJxC.mjs";
|
|
31
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-CT9d6do5.mjs";
|
|
32
32
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
33
33
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
34
34
|
import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
35
35
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
36
|
-
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-
|
|
37
|
-
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-
|
|
36
|
+
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-DErvD_Y9.mjs";
|
|
37
|
+
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-BKiAEgH1.mjs";
|
|
38
38
|
import { $ as caFingerprint, A as emitProcessNodeRegistered, B as setProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as parseOriginList, D as ServiceBroker, Dt as parseCidrList, E as Errors, Et as normalizeIp, F as setProcessMeshPeerTransportLookup, G as describeMeshLeaf, H as MESH_NODE_CERTIFICATES_COLUMNS, I as renewMeshCertificate, J as MeshCrl, K as getProcessMeshCertificateRegistry, L as revokeMeshCertificate, M as getProcessPeerLeaf, N as isProcessVerifiedMeshPeer, O as setProcessMeshTlsEnabler, Ot as readCidrSetting, P as onProcessNodeRegistered, Q as requireProcessMeshCa, R as getProcessMeshTlsListenerState, S as signMembershipProof, St as normalizeOrigin, SystemConfigAddon, T as TlsTcpTransporter, Tt as createCidrMatcher, U as MeshCertificateRegistry, V as MESH_NODE_CERTIFICATES_COLLECTION, W as RENEWAL_ABANDONED, X as MeshCaKeeper, Y as processMeshCrl, Z as getProcessMeshCaState, _ as keyFingerprintShort, _t as parseAgentDashboardOrigins, a as dialableHubHost, at as isValidAgentNodeId, b as MEMBERSHIP_PATHS, bt as OPAQUE_ORIGIN, c as PAIRING_MAX_CODE_ATTEMPTS, ct as loadMeshCa, d as PAIRING_PIN_DIGITS, dt as AGENT_UI_UNLOCK_TYP, et as caFingerprintCompact, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_USE, g as describeCsr, gt as mintAgentUiUnlockTicket, h as computePairingSas, ht as isAllowedAgentDashboardReturnTo, i as AgentPairing, it as generateMeshKeyPair, j as getProcessNodeMeshTransport, k as dropProcessPeer, l as PAIRING_MAX_SESSIONS, lt as AGENT_DASHBOARD_ORIGINS_FIELD, m as computePairingCommitment, mt as UnlockTicketJtiStore, n as HubPairing, nt as exportMeshPrivateKeyPem, o as hubHostFromMeshAddress, ot as issueMeshLeafForNode, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_VERSION, q as setProcessMeshCertificateRegistry, r as PairingHttpError, rt as generateMeshCa, s as PAIRING_CODE_DIGITS, st as issueMeshLeafFromCsr, tt as createMeshCsrPem, u as PAIRING_PATHS, ut as AGENT_UI_UNLOCK_TTL_MS, v as signPairingProof, vt as verifyAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as readOriginSetting, x as MembershipResponder, xt as isInsecureOrigin, y as verifyPairingProof, yt as InvalidCorsOriginError, z as openMeshTlsWhenRevocationsLoaded } from "./builtins/system-config/system-config.addon.mjs";
|
|
39
39
|
import "./builtins/system-config/index.mjs";
|
|
40
40
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
41
41
|
import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-B9zFBNVa.mjs";
|
|
42
|
-
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-
|
|
42
|
+
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-DBtitWew.mjs";
|
|
43
43
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
44
44
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
45
|
-
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-
|
|
45
|
+
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-BTpU7KMz.mjs";
|
|
46
46
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
47
47
|
import { z } from "zod";
|
|
48
48
|
import * as crypto$1 from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { kc as collectSecretMarkerRefs } from "./dist-BDIq20ng.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{rename-composition-block-DlgSgxch.mjs → rename-composition-block-BgjpGf0d.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Il as errMsg, Ml as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-BDIq20ng.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/rename-composition-block.ts
|
|
3
3
|
/**
|
|
4
4
|
* An operator rename of a composed device writes the composition block's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as DATABASE_SNAPSHOT_SUFFIX,
|
|
1
|
+
import { I as DATABASE_SNAPSHOT_SUFFIX, Rc as defineRecordKinds, et as DataStoreDatabaseSchema } from "./dist-BDIq20ng.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
4
4
|
import { Buffer as Buffer$1 } from "buffer";
|
|
Binary file
|
|
Binary file
|