@camstack/system 1.2.445 → 1.2.446
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/{agent-https-CiOW0-sj.js → agent-https-5DYAOJMO.js} +2 -2
- package/dist/{agent-https-D4Q8iFNd.mjs → agent-https-BWUEf6ev.mjs} +2 -2
- 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 +86 -6
- package/dist/builtins/alerts/alerts.addon.mjs +86 -6
- package/dist/builtins/alerts/critical-push.d.ts +4 -0
- package/dist/builtins/alerts/emit-alert-policy.d.ts +28 -0
- package/dist/builtins/autotrack/index.js +1 -1
- package/dist/builtins/autotrack/index.mjs +1 -1
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/dist/builtins/calendars/calendars.addon.js +1 -1
- package/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/dist/builtins/camera-grid/index.js +1 -1
- package/dist/builtins/camera-grid/index.mjs +1 -1
- package/dist/builtins/composer/composer.addon.js +2 -2
- package/dist/builtins/composer/composer.addon.mjs +2 -2
- package/dist/builtins/console-logging/index.js +1 -1
- package/dist/builtins/console-logging/index.mjs +1 -1
- package/dist/builtins/core-blocks/core-blocks.addon.js +2 -2
- package/dist/builtins/core-blocks/core-blocks.addon.mjs +2 -2
- package/dist/builtins/device-manager/device-manager.addon.js +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 +4 -4
- package/dist/builtins/keychain/index.mjs +4 -4
- 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 +3 -3
- package/dist/builtins/local-auth/local-auth.addon.mjs +3 -3
- 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/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 +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-BMt5cFYb.mjs → composition-sources-BmC5jAUv.mjs} +1 -1
- package/dist/{composition-sources-D3fi9Xns.js → composition-sources-BwIIltnZ.js} +1 -1
- package/dist/{constants-BMHCxRzb.mjs → constants-6XHGmEUF.mjs} +1 -1
- package/dist/{constants-Br879Axi.js → constants-DA_tjzIk.js} +1 -1
- package/dist/{device-ca-T8osSMos.mjs → device-ca-Bh_ClxMO.mjs} +1 -1
- package/dist/{device-ca-CnJ_va7i.js → device-ca-CnbrgfmW.js} +1 -1
- package/dist/{dist-DgOG8flk.js → dist-BkNfEJKa.js} +292 -11
- package/dist/{dist-BNunRyXT.mjs → dist-CkZIrsAP.mjs} +292 -11
- package/dist/file-host-worker.js +1 -1
- package/dist/file-host-worker.mjs +1 -1
- package/dist/{hub-mdns-ciao-D16oRQ9K.mjs → hub-mdns-ciao-CoyIUWHC.mjs} +2 -2
- package/dist/{hub-mdns-ciao-BIkTHq-n.js → hub-mdns-ciao-m5LIr4oA.js} +2 -2
- package/dist/index.js +9 -8
- package/dist/index.mjs +9 -8
- package/dist/{phase6-declare-gate-tkKOEitw.mjs → phase6-declare-gate-BDWZuB2n.mjs} +1 -1
- package/dist/{phase6-declare-gate-Ci1-8uUn.js → phase6-declare-gate-Bl7KocEs.js} +1 -1
- package/dist/{restore-archive-DjJnCgap.js → restore-archive-B57xI5Ue.js} +1 -1
- package/dist/{restore-archive-DR9MtO7J.mjs → restore-archive-CMr4V7Fi.mjs} +1 -1
- package/dist/{wal-maintenance-CfvgtQ7C.mjs → wal-maintenance-Bqm4zrNA.mjs} +0 -0
- package/dist/{wal-maintenance-CODGqhKY.js → wal-maintenance-CuG1DUca.js} +0 -0
- package/package.json +1 -1
|
@@ -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-BOjuyoPC.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).
|
|
@@ -4772,9 +4772,10 @@ function customAction(input, output, options) {
|
|
|
4772
4772
|
* owner check, device-history's `not-owner`, records' owner).
|
|
4773
4773
|
*
|
|
4774
4774
|
* The stamp is set ONLY by the transport (`stampCallerAddonId`, or stated by a
|
|
4775
|
-
* hub in-process caller).
|
|
4776
|
-
*
|
|
4777
|
-
*
|
|
4775
|
+
* hub in-process caller). HTTP/WS mounts parse input with `.loose()`, so a
|
|
4776
|
+
* session could add the key itself and act as another addon — those procedures
|
|
4777
|
+
* strip it when `ctx.req` is present. Mesh / `$core-caps` calls have no request;
|
|
4778
|
+
* the transport stamp must survive to the provider.
|
|
4778
4779
|
*/
|
|
4779
4780
|
var CALLER_STAMPED_CAPABILITIES = [
|
|
4780
4781
|
"keychain",
|
|
@@ -5076,7 +5077,7 @@ function sleep(ms) {
|
|
|
5076
5077
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
5077
5078
|
}
|
|
5078
5079
|
//#endregion
|
|
5079
|
-
//#region ../types/dist/err-msg
|
|
5080
|
+
//#region ../types/dist/err-msg-BXKzRBwg.mjs
|
|
5080
5081
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
5081
5082
|
DeviceType["Camera"] = "camera";
|
|
5082
5083
|
DeviceType["Hub"] = "hub";
|
|
@@ -5168,6 +5169,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
5168
5169
|
* native PetKit (`nodepetkit` `FeederDevice`), reusable by other feeder
|
|
5169
5170
|
* integrations sharing the same food/desiccant/hopper surface. */
|
|
5170
5171
|
DeviceType["PetFeeder"] = "pet-feeder";
|
|
5172
|
+
/** Built-in dishwasher — program lifecycle, door / remote-start gates,
|
|
5173
|
+
* salt and rinse-aid levels. Installed with the `dishwasher` cap.
|
|
5174
|
+
* Sources: native Bosch Home Connect, reusable by similar integrations. */
|
|
5175
|
+
DeviceType["Dishwasher"] = "dishwasher";
|
|
5171
5176
|
return DeviceType;
|
|
5172
5177
|
}({});
|
|
5173
5178
|
var DeviceFeature = /* @__PURE__ */ function(DeviceFeature) {
|
|
@@ -5425,7 +5430,7 @@ function errMsg(err) {
|
|
|
5425
5430
|
return String(err);
|
|
5426
5431
|
}
|
|
5427
5432
|
//#endregion
|
|
5428
|
-
//#region ../types/dist/composition-
|
|
5433
|
+
//#region ../types/dist/composition-CB6PMT9p.mjs
|
|
5429
5434
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
5430
5435
|
opus: "libopus",
|
|
5431
5436
|
aac: "aac",
|
|
@@ -11255,8 +11260,13 @@ var AlertSeveritySchema = z.enum([
|
|
|
11255
11260
|
"info",
|
|
11256
11261
|
"success",
|
|
11257
11262
|
"warning",
|
|
11258
|
-
"error"
|
|
11263
|
+
"error",
|
|
11264
|
+
"critical"
|
|
11259
11265
|
]);
|
|
11266
|
+
var AlertActionSchema = z.object({
|
|
11267
|
+
label: z.string(),
|
|
11268
|
+
href: z.string().optional()
|
|
11269
|
+
});
|
|
11260
11270
|
var AlertStatusSchema = z.enum([
|
|
11261
11271
|
"active",
|
|
11262
11272
|
"in-progress",
|
|
@@ -11274,6 +11284,7 @@ var AlertSchema = z.object({
|
|
|
11274
11284
|
severity: AlertSeveritySchema,
|
|
11275
11285
|
title: z.string(),
|
|
11276
11286
|
message: z.string(),
|
|
11287
|
+
action: AlertActionSchema.optional(),
|
|
11277
11288
|
status: AlertStatusSchema,
|
|
11278
11289
|
progress: z.number().optional(),
|
|
11279
11290
|
read: z.boolean(),
|
|
@@ -59452,7 +59463,8 @@ var batteryCapability = {
|
|
|
59452
59463
|
DeviceType.Button,
|
|
59453
59464
|
DeviceType.Switch,
|
|
59454
59465
|
DeviceType.PetFeeder,
|
|
59455
|
-
DeviceType.Container
|
|
59466
|
+
DeviceType.Container,
|
|
59467
|
+
DeviceType.Thermostat
|
|
59456
59468
|
],
|
|
59457
59469
|
methods: {
|
|
59458
59470
|
/**
|
|
@@ -61076,6 +61088,125 @@ onStatusChanged: { data: z.object({
|
|
|
61076
61088
|
* whether persisting is worth a SQLite commit. */
|
|
61077
61089
|
volatileStateFields: ["lastChangedAt"]
|
|
61078
61090
|
};
|
|
61091
|
+
/**
|
|
61092
|
+
* Smart-dishwasher cap — program lifecycle, door / remote-start gates,
|
|
61093
|
+
* consumable levels (salt, rinse aid) and common program options.
|
|
61094
|
+
*
|
|
61095
|
+
* Sources: native Bosch Home Connect (`dishwasher` device type). Reusable
|
|
61096
|
+
* by any integration that exposes the same program / option surface.
|
|
61097
|
+
*
|
|
61098
|
+
* `kind: 'poll'` — cloud REST APIs typically have no push channel; the
|
|
61099
|
+
* provider refreshes the slice on an interval and eagerly after commands.
|
|
61100
|
+
*/
|
|
61101
|
+
var DishwasherStateSchema = z.enum([
|
|
61102
|
+
"idle",
|
|
61103
|
+
"running",
|
|
61104
|
+
"paused",
|
|
61105
|
+
"finished",
|
|
61106
|
+
"error",
|
|
61107
|
+
"unavailable"
|
|
61108
|
+
]);
|
|
61109
|
+
var DishwasherConsumableLevelSchema = z.enum([
|
|
61110
|
+
"ok",
|
|
61111
|
+
"low",
|
|
61112
|
+
"empty"
|
|
61113
|
+
]);
|
|
61114
|
+
var DishwasherStatusSchema = z.object({
|
|
61115
|
+
state: DishwasherStateSchema,
|
|
61116
|
+
/** Active program id/name, or null when none selected / unknown. */
|
|
61117
|
+
program: z.string().nullable(),
|
|
61118
|
+
/** Program tokens the hardware accepts — drives the UI selector. */
|
|
61119
|
+
availablePrograms: z.array(z.string()),
|
|
61120
|
+
/** Minutes remaining on the active cycle, or null when not running. */
|
|
61121
|
+
remainingMinutes: z.number().int().nonnegative().nullable(),
|
|
61122
|
+
/** Cycle completion 0..100, or null when not applicable. */
|
|
61123
|
+
progressPercent: z.number().min(0).max(100).nullable(),
|
|
61124
|
+
/** True when the door is reported open. */
|
|
61125
|
+
doorOpen: z.boolean(),
|
|
61126
|
+
/** True when remote start is allowed (door closed, power on, etc.). */
|
|
61127
|
+
remoteStartAllowed: z.boolean(),
|
|
61128
|
+
/** Main power / switched-on state. */
|
|
61129
|
+
powerOn: z.boolean(),
|
|
61130
|
+
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
61131
|
+
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
61132
|
+
halfLoad: z.boolean(),
|
|
61133
|
+
hygienePlus: z.boolean(),
|
|
61134
|
+
errorCode: z.number().nullable(),
|
|
61135
|
+
errorLabel: z.string().nullable(),
|
|
61136
|
+
lastFetchedAt: z.number()
|
|
61137
|
+
});
|
|
61138
|
+
var dishwasherCapability = {
|
|
61139
|
+
name: "dishwasher",
|
|
61140
|
+
scope: "device",
|
|
61141
|
+
deviceNative: true,
|
|
61142
|
+
mode: "singleton",
|
|
61143
|
+
deviceTypes: [DeviceType.Dishwasher],
|
|
61144
|
+
methods: {
|
|
61145
|
+
start: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
61146
|
+
kind: "mutation",
|
|
61147
|
+
auth: "protected"
|
|
61148
|
+
}),
|
|
61149
|
+
pause: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
61150
|
+
kind: "mutation",
|
|
61151
|
+
auth: "protected"
|
|
61152
|
+
}),
|
|
61153
|
+
stop: method(z.object({ deviceId: z.number().int().nonnegative() }), z.void(), {
|
|
61154
|
+
kind: "mutation",
|
|
61155
|
+
auth: "protected"
|
|
61156
|
+
}),
|
|
61157
|
+
setProgram: method(z.object({
|
|
61158
|
+
deviceId: z.number().int().nonnegative(),
|
|
61159
|
+
program: z.string().min(1)
|
|
61160
|
+
}), z.void(), {
|
|
61161
|
+
kind: "mutation",
|
|
61162
|
+
auth: "protected"
|
|
61163
|
+
}),
|
|
61164
|
+
setPower: method(z.object({
|
|
61165
|
+
deviceId: z.number().int().nonnegative(),
|
|
61166
|
+
on: z.boolean()
|
|
61167
|
+
}), z.void(), {
|
|
61168
|
+
kind: "mutation",
|
|
61169
|
+
auth: "protected"
|
|
61170
|
+
}),
|
|
61171
|
+
setHalfLoad: method(z.object({
|
|
61172
|
+
deviceId: z.number().int().nonnegative(),
|
|
61173
|
+
on: z.boolean()
|
|
61174
|
+
}), z.void(), {
|
|
61175
|
+
kind: "mutation",
|
|
61176
|
+
auth: "protected"
|
|
61177
|
+
}),
|
|
61178
|
+
setHygienePlus: method(z.object({
|
|
61179
|
+
deviceId: z.number().int().nonnegative(),
|
|
61180
|
+
on: z.boolean()
|
|
61181
|
+
}), z.void(), {
|
|
61182
|
+
kind: "mutation",
|
|
61183
|
+
auth: "protected"
|
|
61184
|
+
}),
|
|
61185
|
+
setOption: method(z.object({
|
|
61186
|
+
deviceId: z.number().int().nonnegative(),
|
|
61187
|
+
key: z.string().min(1),
|
|
61188
|
+
value: z.union([
|
|
61189
|
+
z.boolean(),
|
|
61190
|
+
z.string(),
|
|
61191
|
+
z.number()
|
|
61192
|
+
])
|
|
61193
|
+
}), z.void(), {
|
|
61194
|
+
kind: "mutation",
|
|
61195
|
+
auth: "protected"
|
|
61196
|
+
})
|
|
61197
|
+
},
|
|
61198
|
+
status: {
|
|
61199
|
+
schema: DishwasherStatusSchema,
|
|
61200
|
+
kind: "poll"
|
|
61201
|
+
},
|
|
61202
|
+
runtimeState: DishwasherStatusSchema,
|
|
61203
|
+
durability: "session",
|
|
61204
|
+
history: { fields: { progressPercent: {
|
|
61205
|
+
kind: "gauge",
|
|
61206
|
+
unit: "%",
|
|
61207
|
+
deadband: 2
|
|
61208
|
+
} } }
|
|
61209
|
+
};
|
|
61079
61210
|
var DoorbellStatusSchema = z.object({
|
|
61080
61211
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
61081
61212
|
lastPressedAt: z.number().nullable(),
|
|
@@ -61917,6 +62048,32 @@ var gasCapability = {
|
|
|
61917
62048
|
* whether persisting is worth a SQLite commit. */
|
|
61918
62049
|
volatileStateFields: ["lastChangedAt"]
|
|
61919
62050
|
};
|
|
62051
|
+
var HeatingValveStatusSchema = z.object({
|
|
62052
|
+
/** Radiator valve opening 0 (closed) .. 100 (open). Null = not yet known. */
|
|
62053
|
+
position: z.number().min(0).max(100).nullable(),
|
|
62054
|
+
/** Ms epoch when the slice was last updated (push or poll). */
|
|
62055
|
+
lastFetchedAt: z.number()
|
|
62056
|
+
});
|
|
62057
|
+
var heatingValveCapability = {
|
|
62058
|
+
name: "heating-valve",
|
|
62059
|
+
scope: "device",
|
|
62060
|
+
deviceNative: true,
|
|
62061
|
+
mode: "singleton",
|
|
62062
|
+
deviceTypes: [DeviceType.Thermostat],
|
|
62063
|
+
methods: {},
|
|
62064
|
+
status: {
|
|
62065
|
+
schema: HeatingValveStatusSchema,
|
|
62066
|
+
kind: "push"
|
|
62067
|
+
},
|
|
62068
|
+
runtimeState: HeatingValveStatusSchema,
|
|
62069
|
+
durability: "session",
|
|
62070
|
+
history: { fields: { position: {
|
|
62071
|
+
kind: "gauge",
|
|
62072
|
+
unit: "%",
|
|
62073
|
+
deadband: 1
|
|
62074
|
+
} } },
|
|
62075
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
62076
|
+
};
|
|
61920
62077
|
/**
|
|
61921
62078
|
* Humidifier / dehumidifier cap. Models HA `humidifier.*` entities —
|
|
61922
62079
|
* an on/off actuator with an optional target-humidity setpoint and an
|
|
@@ -73428,6 +73585,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
73428
73585
|
dayNight: dayNightCapability,
|
|
73429
73586
|
deviceDiscovery: deviceDiscoveryCapability,
|
|
73430
73587
|
deviceStatus: deviceStatusCapability,
|
|
73588
|
+
dishwasher: dishwasherCapability,
|
|
73431
73589
|
doorbell: doorbellCapability,
|
|
73432
73590
|
enumSensor: enumSensorCapability,
|
|
73433
73591
|
eventEmitter: eventEmitterCapability,
|
|
@@ -73435,6 +73593,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
73435
73593
|
featureProbe: featureProbeCapability,
|
|
73436
73594
|
flood: floodCapability,
|
|
73437
73595
|
gas: gasCapability,
|
|
73596
|
+
heatingValve: heatingValveCapability,
|
|
73438
73597
|
humidifier: humidifierCapability,
|
|
73439
73598
|
humiditySensor: humiditySensorCapability,
|
|
73440
73599
|
image: imageCapability,
|
|
@@ -74469,7 +74628,7 @@ var DeclaredDevices = class {
|
|
|
74469
74628
|
return removed;
|
|
74470
74629
|
}
|
|
74471
74630
|
};
|
|
74472
|
-
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
74631
|
+
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
|
|
74473
74632
|
new Set(Object.values(DeviceType));
|
|
74474
74633
|
var METHOD_ACCESS_MAP = Object.freeze({
|
|
74475
74634
|
"accessories.getStatus": {
|
|
@@ -76890,6 +77049,60 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
76890
77049
|
addonId: null,
|
|
76891
77050
|
access: "view"
|
|
76892
77051
|
},
|
|
77052
|
+
"dishwasher.getStatus": {
|
|
77053
|
+
capName: "dishwasher",
|
|
77054
|
+
capScope: "device",
|
|
77055
|
+
addonId: null,
|
|
77056
|
+
access: "view"
|
|
77057
|
+
},
|
|
77058
|
+
"dishwasher.pause": {
|
|
77059
|
+
capName: "dishwasher",
|
|
77060
|
+
capScope: "device",
|
|
77061
|
+
addonId: null,
|
|
77062
|
+
access: "create"
|
|
77063
|
+
},
|
|
77064
|
+
"dishwasher.setHalfLoad": {
|
|
77065
|
+
capName: "dishwasher",
|
|
77066
|
+
capScope: "device",
|
|
77067
|
+
addonId: null,
|
|
77068
|
+
access: "create"
|
|
77069
|
+
},
|
|
77070
|
+
"dishwasher.setHygienePlus": {
|
|
77071
|
+
capName: "dishwasher",
|
|
77072
|
+
capScope: "device",
|
|
77073
|
+
addonId: null,
|
|
77074
|
+
access: "create"
|
|
77075
|
+
},
|
|
77076
|
+
"dishwasher.setOption": {
|
|
77077
|
+
capName: "dishwasher",
|
|
77078
|
+
capScope: "device",
|
|
77079
|
+
addonId: null,
|
|
77080
|
+
access: "create"
|
|
77081
|
+
},
|
|
77082
|
+
"dishwasher.setPower": {
|
|
77083
|
+
capName: "dishwasher",
|
|
77084
|
+
capScope: "device",
|
|
77085
|
+
addonId: null,
|
|
77086
|
+
access: "create"
|
|
77087
|
+
},
|
|
77088
|
+
"dishwasher.setProgram": {
|
|
77089
|
+
capName: "dishwasher",
|
|
77090
|
+
capScope: "device",
|
|
77091
|
+
addonId: null,
|
|
77092
|
+
access: "create"
|
|
77093
|
+
},
|
|
77094
|
+
"dishwasher.start": {
|
|
77095
|
+
capName: "dishwasher",
|
|
77096
|
+
capScope: "device",
|
|
77097
|
+
addonId: null,
|
|
77098
|
+
access: "create"
|
|
77099
|
+
},
|
|
77100
|
+
"dishwasher.stop": {
|
|
77101
|
+
capName: "dishwasher",
|
|
77102
|
+
capScope: "device",
|
|
77103
|
+
addonId: null,
|
|
77104
|
+
access: "create"
|
|
77105
|
+
},
|
|
76893
77106
|
"doorbell.getStatus": {
|
|
76894
77107
|
capName: "doorbell",
|
|
76895
77108
|
capScope: "device",
|
|
@@ -77100,6 +77313,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
77100
77313
|
addonId: null,
|
|
77101
77314
|
access: "view"
|
|
77102
77315
|
},
|
|
77316
|
+
"heatingValve.getStatus": {
|
|
77317
|
+
capName: "heating-valve",
|
|
77318
|
+
capScope: "device",
|
|
77319
|
+
addonId: null,
|
|
77320
|
+
access: "view"
|
|
77321
|
+
},
|
|
77103
77322
|
"humidifier.getStatus": {
|
|
77104
77323
|
capName: "humidifier",
|
|
77105
77324
|
capScope: "device",
|
|
@@ -82687,7 +82906,7 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82687
82906
|
access: "create"
|
|
82688
82907
|
}
|
|
82689
82908
|
});
|
|
82690
|
-
DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder;
|
|
82909
|
+
DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher;
|
|
82691
82910
|
DeviceFeature.BatteryOperated;
|
|
82692
82911
|
/**
|
|
82693
82912
|
* Runtime list of cap names with status. Used by the settings
|
|
@@ -82718,6 +82937,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
82718
82937
|
"device-discovery",
|
|
82719
82938
|
"device-export",
|
|
82720
82939
|
"device-status",
|
|
82940
|
+
"dishwasher",
|
|
82721
82941
|
"doorbell",
|
|
82722
82942
|
"enum-sensor",
|
|
82723
82943
|
"event-emitter",
|
|
@@ -82725,6 +82945,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
82725
82945
|
"feature-probe",
|
|
82726
82946
|
"flood",
|
|
82727
82947
|
"gas",
|
|
82948
|
+
"heating-valve",
|
|
82728
82949
|
"humidifier",
|
|
82729
82950
|
"humidity-sensor",
|
|
82730
82951
|
"image",
|
|
@@ -82839,6 +83060,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
82839
83060
|
deviceRemovalHookCapability,
|
|
82840
83061
|
deviceStateCapability,
|
|
82841
83062
|
deviceStatusCapability,
|
|
83063
|
+
dishwasherCapability,
|
|
82842
83064
|
doorbellCapability,
|
|
82843
83065
|
embeddingEncoderCapability,
|
|
82844
83066
|
enumSensorCapability,
|
|
@@ -82850,6 +83072,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
82850
83072
|
filesystemBrowseCapability,
|
|
82851
83073
|
floodCapability,
|
|
82852
83074
|
gasCapability,
|
|
83075
|
+
heatingValveCapability,
|
|
82853
83076
|
humidifierCapability,
|
|
82854
83077
|
humiditySensorCapability,
|
|
82855
83078
|
imageCapability,
|
|
@@ -83778,6 +84001,51 @@ Object.freeze({
|
|
|
83778
84001
|
form: "single",
|
|
83779
84002
|
optional: false
|
|
83780
84003
|
}],
|
|
84004
|
+
"dishwasher.getStatus": [{
|
|
84005
|
+
name: "deviceId",
|
|
84006
|
+
form: "single",
|
|
84007
|
+
optional: false
|
|
84008
|
+
}],
|
|
84009
|
+
"dishwasher.pause": [{
|
|
84010
|
+
name: "deviceId",
|
|
84011
|
+
form: "single",
|
|
84012
|
+
optional: false
|
|
84013
|
+
}],
|
|
84014
|
+
"dishwasher.setHalfLoad": [{
|
|
84015
|
+
name: "deviceId",
|
|
84016
|
+
form: "single",
|
|
84017
|
+
optional: false
|
|
84018
|
+
}],
|
|
84019
|
+
"dishwasher.setHygienePlus": [{
|
|
84020
|
+
name: "deviceId",
|
|
84021
|
+
form: "single",
|
|
84022
|
+
optional: false
|
|
84023
|
+
}],
|
|
84024
|
+
"dishwasher.setOption": [{
|
|
84025
|
+
name: "deviceId",
|
|
84026
|
+
form: "single",
|
|
84027
|
+
optional: false
|
|
84028
|
+
}],
|
|
84029
|
+
"dishwasher.setPower": [{
|
|
84030
|
+
name: "deviceId",
|
|
84031
|
+
form: "single",
|
|
84032
|
+
optional: false
|
|
84033
|
+
}],
|
|
84034
|
+
"dishwasher.setProgram": [{
|
|
84035
|
+
name: "deviceId",
|
|
84036
|
+
form: "single",
|
|
84037
|
+
optional: false
|
|
84038
|
+
}],
|
|
84039
|
+
"dishwasher.start": [{
|
|
84040
|
+
name: "deviceId",
|
|
84041
|
+
form: "single",
|
|
84042
|
+
optional: false
|
|
84043
|
+
}],
|
|
84044
|
+
"dishwasher.stop": [{
|
|
84045
|
+
name: "deviceId",
|
|
84046
|
+
form: "single",
|
|
84047
|
+
optional: false
|
|
84048
|
+
}],
|
|
83781
84049
|
"doorbell.getStatus": [{
|
|
83782
84050
|
name: "deviceId",
|
|
83783
84051
|
form: "single",
|
|
@@ -83847,6 +84115,11 @@ Object.freeze({
|
|
|
83847
84115
|
form: "single",
|
|
83848
84116
|
optional: false
|
|
83849
84117
|
}],
|
|
84118
|
+
"heatingValve.getStatus": [{
|
|
84119
|
+
name: "deviceId",
|
|
84120
|
+
form: "single",
|
|
84121
|
+
optional: false
|
|
84122
|
+
}],
|
|
83850
84123
|
"humidifier.getStatus": [{
|
|
83851
84124
|
name: "deviceId",
|
|
83852
84125
|
form: "single",
|
|
@@ -85672,7 +85945,7 @@ Object.freeze({
|
|
|
85672
85945
|
});
|
|
85673
85946
|
/**
|
|
85674
85947
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
85675
|
-
* `runtimeState`.
|
|
85948
|
+
* `runtimeState`. 71 caps: 37 `restored`, 34 `session`.
|
|
85676
85949
|
*
|
|
85677
85950
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
85678
85951
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -85758,6 +86031,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
85758
86031
|
durability: "restored",
|
|
85759
86032
|
volatileFields: ["lastChangedAt"]
|
|
85760
86033
|
},
|
|
86034
|
+
"dishwasher": {
|
|
86035
|
+
durability: "session",
|
|
86036
|
+
volatileFields: []
|
|
86037
|
+
},
|
|
85761
86038
|
"doorbell": {
|
|
85762
86039
|
durability: "restored",
|
|
85763
86040
|
volatileFields: []
|
|
@@ -85786,6 +86063,10 @@ var RUNTIME_STATE_POLICY = {
|
|
|
85786
86063
|
durability: "restored",
|
|
85787
86064
|
volatileFields: ["lastChangedAt"]
|
|
85788
86065
|
},
|
|
86066
|
+
"heating-valve": {
|
|
86067
|
+
durability: "session",
|
|
86068
|
+
volatileFields: ["lastFetchedAt"]
|
|
86069
|
+
},
|
|
85789
86070
|
"humidifier": {
|
|
85790
86071
|
durability: "session",
|
|
85791
86072
|
volatileFields: []
|
package/dist/file-host-worker.js
CHANGED
|
@@ -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-CuG1DUca.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 { C as callControl, D as controlTargetOf, E as callVector, S as RecordsEngine, T as callRecords, a as WalMaintenance, b as trustInput, c as SqliteSettingsBackend, g as collectTransferables, m as serializeError, o as createVectorIndex, s as vectorProviderOf, v as isFileHostRequest, w as callData, y as isFileHostWorkerData } from "./wal-maintenance-
|
|
1
|
+
import { C as callControl, D as controlTargetOf, E as callVector, S as RecordsEngine, T as callRecords, a as WalMaintenance, b as trustInput, c as SqliteSettingsBackend, g as collectTransferables, m as serializeError, o as createVectorIndex, s as vectorProviderOf, v as isFileHostRequest, w as callData, y as isFileHostWorkerData } from "./wal-maintenance-Bqm4zrNA.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,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { sa as userError } from "./dist-
|
|
2
|
+
import { sa as userError } from "./dist-CkZIrsAP.mjs";
|
|
3
3
|
import { f as X509Certificate$1 } from "./x509.es-DK__ETIe.mjs";
|
|
4
|
-
import { A as isConstrainedCa, E as reasonRequiresNewCa, M as permitsIdentity, P as readNameConstraints, T as evaluateExistingCert, _ as issueLeaf, g as generateCa, v as loadCa, y as collectCertIdentity } from "./agent-https-
|
|
4
|
+
import { A as isConstrainedCa, E as reasonRequiresNewCa, M as permitsIdentity, P as readNameConstraints, T as evaluateExistingCert, _ as issueLeaf, g as generateCa, v as loadCa, y as collectCertIdentity } from "./agent-https-BWUEf6ev.mjs";
|
|
5
5
|
import { X509Certificate, createPrivateKey } from "node:crypto";
|
|
6
6
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -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-BkNfEJKa.js");
|
|
3
3
|
const require_x509_es = require("./x509.es-C4cOo48M.js");
|
|
4
|
-
const require_agent_https = require("./agent-https-
|
|
4
|
+
const require_agent_https = require("./agent-https-5DYAOJMO.js");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let _camstack_types_node = require("@camstack/types/node");
|
|
7
7
|
let node_fs_promises = require("node:fs/promises");
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
3
|
-
const require_dist = require("./dist-
|
|
3
|
+
const require_dist = require("./dist-BkNfEJKa.js");
|
|
4
4
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
5
|
-
const require_device_ca = require("./device-ca-
|
|
5
|
+
const require_device_ca = require("./device-ca-CnbrgfmW.js");
|
|
6
6
|
const require_builtins_alerts_alerts_addon = require("./builtins/alerts/alerts.addon.js");
|
|
7
7
|
require("./builtins/alerts/index.js");
|
|
8
8
|
const require_builtins_calendars_calendars_addon = require("./builtins/calendars/calendars.addon.js");
|
|
@@ -26,21 +26,21 @@ require("./builtins/local-auth/index.js");
|
|
|
26
26
|
const require_builtins_loki_logging_index = require("./builtins/loki-logging/index.js");
|
|
27
27
|
const require_builtins_native_metrics_native_metrics_addon = require("./builtins/native-metrics/native-metrics.addon.js");
|
|
28
28
|
const require_builtins_sqlite_storage_filesystem_storage_addon = require("./builtins/sqlite-storage/filesystem-storage.addon.js");
|
|
29
|
-
const require_wal_maintenance = require("./wal-maintenance-
|
|
29
|
+
const require_wal_maintenance = require("./wal-maintenance-CuG1DUca.js");
|
|
30
30
|
const require_builtins_sqlite_storage_sqlite_settings_addon = require("./builtins/sqlite-storage/sqlite-settings.addon.js");
|
|
31
31
|
const require_builtins_sqlite_storage_index = require("./builtins/sqlite-storage/index.js");
|
|
32
32
|
const require_builtins_storage_orchestrator_storage_orchestrator_addon = require("./builtins/storage-orchestrator/storage-orchestrator.addon.js");
|
|
33
33
|
require("./builtins/storage-orchestrator/index.js");
|
|
34
|
-
const require_constants = require("./constants-
|
|
35
|
-
const require_agent_https = require("./agent-https-
|
|
34
|
+
const require_constants = require("./constants-DA_tjzIk.js");
|
|
35
|
+
const require_agent_https = require("./agent-https-5DYAOJMO.js");
|
|
36
36
|
const require_builtins_system_config_system_config_addon = require("./builtins/system-config/system-config.addon.js");
|
|
37
37
|
require("./builtins/system-config/index.js");
|
|
38
38
|
const require_builtins_winston_logging_index = require("./builtins/winston-logging/index.js");
|
|
39
39
|
const require_custom_action_registry = require("./custom-action-registry-COyb49zm.js");
|
|
40
|
-
const require_hub_mdns_ciao = require("./hub-mdns-ciao-
|
|
40
|
+
const require_hub_mdns_ciao = require("./hub-mdns-ciao-m5LIr4oA.js");
|
|
41
41
|
const require_platform_key_source = require("./platform-key-source-Di7HrlGR.js");
|
|
42
42
|
const require_resource_monitor = require("./resource-monitor-mio9dSCT.js");
|
|
43
|
-
const require_restore_archive = require("./restore-archive-
|
|
43
|
+
const require_restore_archive = require("./restore-archive-B57xI5Ue.js");
|
|
44
44
|
let zod = require("zod");
|
|
45
45
|
let node_crypto = require("node:crypto");
|
|
46
46
|
node_crypto = require_chunk.__toESM(node_crypto);
|
|
@@ -11600,7 +11600,8 @@ function buildOneCapRouter(def, primitives, services) {
|
|
|
11600
11600
|
const stampedCap = require_dist.CALLER_STAMPED_CAPABILITIES.includes(capName);
|
|
11601
11601
|
const schema = nodeIdData ? inputSchema : require_dist.looseSchema(inputSchema);
|
|
11602
11602
|
procedures[method.name] = base.input(schema)[procKind](({ input: wireInput, ctx }) => {
|
|
11603
|
-
const
|
|
11603
|
+
const hasHttpReq = typeof ctx === "object" && ctx !== null && "req" in ctx && ctx.req !== void 0;
|
|
11604
|
+
const input = stampedCap && hasHttpReq ? require_dist.withoutCallerStamp(wireInput) : wireInput;
|
|
11604
11605
|
if (nodeIdData) return invokeCapMethod(requireLocal(capName, () => getLocal(ctx), services), method, method.callerRequired ? injectCaller(stripKeys(input, []).rest, ctx, capName, method.name, services) : input, capName, isCollection, services);
|
|
11605
11606
|
if (isCollection) {
|
|
11606
11607
|
const { rest, picked } = stripKeys(input, ["nodeId", "addonId"]);
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { $n as scopesAllowAddon, $t as extractNestedAddonId, Ai as expandCapMethods, Br as CALLER_STAMPED_CAPABILITIES$1, Ci as createEvent$1, Cn as looseSchema, Di as defineRecordKinds, Gi as parseJsonObject, H as LOG_LEVEL_RANK, Hr as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ki as parseJsonUnknown, Lr as errMsg$1, Mn as objectInputDeclaresAddonId, Nn as objectInputDeclaresRequiredDeviceId, Oi as emitDownForOwnedCaps, Qi as resolveCapMount, Rn as procedureAuthKey, Sn as logLevelAtMost, Ur as DEVICE_STATUS_METHOD, Vr as DATAPLANE_SECRET_HEADER$1, W as METHOD_ACCESS_MAP, Xi as readinessKey, Xn as resolveMethodAuth, _ as CatalogFileSchema, an as interpolate, ca as withoutCallerStamp, cn as isCollectionArrayMethod, d as CATALOG_LANGS, dn as isObjectInput, ea as scopeKey, er as scopesAllowDeviceCap, fn as isVoidInput, gi as asString$1, hi as asNumber, ii as ReadinessTimeoutError, la as EventCategory$1, mi as asJsonObject$1, mr as supportedRuntimes, n as AGENT_MDNS_TXT_KEYS, ni as RUNTIME_DEFAULTS, or as splitTranslationRef, pn as kebabToCamel$1, r as ALL_CAPABILITY_DEFINITIONS, ri as ReadinessRegistry, sa as userError, sn as isArrayOutputSchema, t as AGENT_MDNS_SERVICE_TYPE, ut as addonSettingsCapability, vn as lifecycleJobSchema } from "./dist-
|
|
2
|
+
import { $n as scopesAllowAddon, $t as extractNestedAddonId, Ai as expandCapMethods, Br as CALLER_STAMPED_CAPABILITIES$1, Ci as createEvent$1, Cn as looseSchema, Di as defineRecordKinds, Gi as parseJsonObject, H as LOG_LEVEL_RANK, Hr as DEVICE_SETTINGS_CONTRIBUTION_METHODS, Ki as parseJsonUnknown, Lr as errMsg$1, Mn as objectInputDeclaresAddonId, Nn as objectInputDeclaresRequiredDeviceId, Oi as emitDownForOwnedCaps, Qi as resolveCapMount, Rn as procedureAuthKey, Sn as logLevelAtMost, Ur as DEVICE_STATUS_METHOD, Vr as DATAPLANE_SECRET_HEADER$1, W as METHOD_ACCESS_MAP, Xi as readinessKey, Xn as resolveMethodAuth, _ as CatalogFileSchema, an as interpolate, ca as withoutCallerStamp, cn as isCollectionArrayMethod, d as CATALOG_LANGS, dn as isObjectInput, ea as scopeKey, er as scopesAllowDeviceCap, fn as isVoidInput, gi as asString$1, hi as asNumber, ii as ReadinessTimeoutError, la as EventCategory$1, mi as asJsonObject$1, mr as supportedRuntimes, n as AGENT_MDNS_TXT_KEYS, ni as RUNTIME_DEFAULTS, or as splitTranslationRef, pn as kebabToCamel$1, r as ALL_CAPABILITY_DEFINITIONS, ri as ReadinessRegistry, sa as userError, sn as isArrayOutputSchema, t as AGENT_MDNS_SERVICE_TYPE, ut as addonSettingsCapability, vn as lifecycleJobSchema } from "./dist-CkZIrsAP.mjs";
|
|
3
3
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
4
|
-
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-
|
|
4
|
+
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-Bh_ClxMO.mjs";
|
|
5
5
|
import { AlertCenterAddon } from "./builtins/alerts/alerts.addon.mjs";
|
|
6
6
|
import "./builtins/alerts/index.mjs";
|
|
7
7
|
import { CalendarsAddon } from "./builtins/calendars/calendars.addon.mjs";
|
|
@@ -25,21 +25,21 @@ import "./builtins/local-auth/index.mjs";
|
|
|
25
25
|
import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index.mjs";
|
|
26
26
|
import NativeMetricsAddon, { a as NativeMetricsProvider, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
27
27
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
28
|
-
import { c as SqliteSettingsBackend } from "./wal-maintenance-
|
|
28
|
+
import { c as SqliteSettingsBackend } from "./wal-maintenance-Bqm4zrNA.mjs";
|
|
29
29
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
30
30
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
31
31
|
import { StorageOrchestratorAddon, a as stripForwardedCaller, i as createHubCapForwardService, l as STORAGE_DRAIN_STATE_LEGACY, n as HUB_CAP_FWD_ACTION, o as buildStorageLocationRegistry, r as HUB_CAP_FWD_SERVICE, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
32
32
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
33
|
-
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-
|
|
34
|
-
import { $ as generateMeshKeyPair, A as isConstrainedCa, C as MAX_LEAF_VALIDITY_DAYS, D as PERMITTED_DNS_SUFFIXES, F as AGENT_HTTPS_NAMES_COLLECTION, G as describeMeshLeaf, H as MESH_NODE_CERTIFICATES_COLUMNS, I as AGENT_HTTPS_NAMES_COLUMNS, J as caFingerprint, K as getProcessMeshCertificateRegistry, L as AgentHttpsNames, M as permitsIdentity, N as permitsName, O as PERMITTED_IP_RANGES, P as readNameConstraints, Q as generateMeshCa, R as getProcessAgentHttpsNames, S as LEAF_RENEWAL_WINDOW_DAYS, T as evaluateExistingCert, U as MeshCertificateRegistry, V as MESH_NODE_CERTIFICATES_COLLECTION, W as RENEWAL_ABANDONED, X as createMeshCsrPem, Y as caFingerprintCompact, Z as exportMeshPrivateKeyPem, a as collectAgentNames, b as systemHostFacts, c as installAgentHttps, d as issueAgentHttpsLeaf, et as isValidAgentNodeId, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isLocalOnlyHostname, k as buildNameConstraintSet, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, nt as issueMeshLeafFromCsr, o as createAgentHttpsRequest, p as pemDigest, q as setProcessMeshCertificateRegistry, r as agentHttpsPaths, rt as loadMeshCa, s as describeHttpsLeaf, t as AgentHttpsInstallError, tt as issueMeshLeafForNode, u as isPrivateAddress, w as SERVER_AUTH_OID, x as CA_VALIDITY_DAYS, y as collectCertIdentity, z as setProcessAgentHttpsNames } from "./agent-https-
|
|
33
|
+
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-6XHGmEUF.mjs";
|
|
34
|
+
import { $ as generateMeshKeyPair, A as isConstrainedCa, C as MAX_LEAF_VALIDITY_DAYS, D as PERMITTED_DNS_SUFFIXES, F as AGENT_HTTPS_NAMES_COLLECTION, G as describeMeshLeaf, H as MESH_NODE_CERTIFICATES_COLUMNS, I as AGENT_HTTPS_NAMES_COLUMNS, J as caFingerprint, K as getProcessMeshCertificateRegistry, L as AgentHttpsNames, M as permitsIdentity, N as permitsName, O as PERMITTED_IP_RANGES, P as readNameConstraints, Q as generateMeshCa, R as getProcessAgentHttpsNames, S as LEAF_RENEWAL_WINDOW_DAYS, T as evaluateExistingCert, U as MeshCertificateRegistry, V as MESH_NODE_CERTIFICATES_COLLECTION, W as RENEWAL_ABANDONED, X as createMeshCsrPem, Y as caFingerprintCompact, Z as exportMeshPrivateKeyPem, a as collectAgentNames, b as systemHostFacts, c as installAgentHttps, d as issueAgentHttpsLeaf, et as isValidAgentNodeId, f as loadAgentHttps, h as CA_COMMON_NAME, i as certificateNames, j as isLocalOnlyHostname, k as buildNameConstraintSet, l as isContainerBridgeAddress, m as pinnedHttpsCaFingerprint, n as acceptAgentSans, nt as issueMeshLeafFromCsr, o as createAgentHttpsRequest, p as pemDigest, q as setProcessMeshCertificateRegistry, r as agentHttpsPaths, rt as loadMeshCa, s as describeHttpsLeaf, t as AgentHttpsInstallError, tt as issueMeshLeafForNode, u as isPrivateAddress, w as SERVER_AUTH_OID, x as CA_VALIDITY_DAYS, y as collectCertIdentity, z as setProcessAgentHttpsNames } from "./agent-https-BWUEf6ev.mjs";
|
|
35
35
|
import { $ as parseCidrList, A as setProcessMeshPeerTransportLookup, B as requireProcessMeshCa, C as setProcessMeshTlsEnabler, D as getProcessPeerLeaf, E as getProcessNodeMeshTransport, F as setProcessMeshTlsListenerState, G as AGENT_UI_UNLOCK_VERSION, H as AGENT_UI_UNLOCK_TTL_MS, I as MeshCrl, J as mintAgentUiUnlockTicket, K as UnlockTicketJtiStore, L as processMeshCrl, M as revokeMeshCertificate, N as getProcessMeshTlsListenerState, O as isProcessVerifiedMeshPeer, P as openMeshTlsWhenRevocationsLoaded, Q as normalizeIp, R as MeshCaKeeper, S as ServiceBroker, SystemConfigAddon, T as emitProcessNodeRegistered, U as AGENT_UI_UNLOCK_TYP, V as AGENT_DASHBOARD_ORIGINS_FIELD, W as AGENT_UI_UNLOCK_USE, X as verifyAgentUiUnlockTicket, Y as parseAgentDashboardOrigins, Z as createCidrMatcher, _ as signPairingProof, a as hubHostFromMeshAddress, b as TlsTcpTransporter, c as PAIRING_MAX_SESSIONS, d as PAIRING_PROTOCOL, et as readCidrSetting, f as PAIRING_TTL_MS, g as keyFingerprintShort, h as describeCsr, i as AgentPairing, j as renewMeshCertificate, k as onProcessNodeRegistered, l as PAIRING_PATHS, m as computePairingSas, n as HubPairing, o as PAIRING_CODE_DIGITS, p as computePairingCommitment, q as isAllowedAgentDashboardReturnTo, r as PairingHttpError, s as PAIRING_MAX_CODE_ATTEMPTS, u as PAIRING_PIN_DIGITS, v as verifyPairingProof, w as dropProcessPeer, x as Errors, y as MESH_TLS_PORT_HELLO_FIELD, z as getProcessMeshCaState } from "./builtins/system-config/system-config.addon.mjs";
|
|
36
36
|
import "./builtins/system-config/index.mjs";
|
|
37
37
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
38
38
|
import { C as isModelDownloaded, 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-stpC3Zy-.mjs";
|
|
39
|
-
import { A as allFamiliesListenHost, C as caReplacementMarkerFile, D as replaceUnconstrainedLocalCa, E as reissueTlsLeaf, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as retirePreviousLocalCa, P as readLanHttpState, S as validateUploadedTls, T as loadTlsCert, _ as splitPemCertificates, a as storeUploadedCertificate, b as chainsToPublicRoot, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsMode, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, 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 writeExtraSans, w as ensureTlsCert, x as checkUploadedCa, y as writeTlsMode } from "./hub-mdns-ciao-
|
|
39
|
+
import { A as allFamiliesListenHost, C as caReplacementMarkerFile, D as replaceUnconstrainedLocalCa, E as reissueTlsLeaf, F as registerLanHttpHandler, M as bindPendingLanHttp, N as closeLanHttp, O as retirePreviousLocalCa, P as readLanHttpState, S as validateUploadedTls, T as loadTlsCert, _ as splitPemCertificates, a as storeUploadedCertificate, b as chainsToPublicRoot, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsMode, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as applyLanHttp, k as DEFAULT_LAN_HTTP_PORT, 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 writeExtraSans, w as ensureTlsCert, x as checkUploadedCa, y as writeTlsMode } from "./hub-mdns-ciao-CoyIUWHC.mjs";
|
|
40
40
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
41
41
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
42
|
-
import { c as backupOrchestratorRecordKinds, f as BackupDecryptError, g as generateBackupKeyPair, l as backupRecordStoresOf, m as BackupKeyMismatchError, p as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, v as readBackupEncryptionHeader } from "./restore-archive-
|
|
42
|
+
import { c as backupOrchestratorRecordKinds, f as BackupDecryptError, g as generateBackupKeyPair, l as backupRecordStoresOf, m as BackupKeyMismatchError, p as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, v as readBackupEncryptionHeader } from "./restore-archive-CMr4V7Fi.mjs";
|
|
43
43
|
import { z } from "zod";
|
|
44
44
|
import * as crypto$1 from "node:crypto";
|
|
45
45
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -11597,7 +11597,8 @@ function buildOneCapRouter(def, primitives, services) {
|
|
|
11597
11597
|
const stampedCap = CALLER_STAMPED_CAPABILITIES$1.includes(capName);
|
|
11598
11598
|
const schema = nodeIdData ? inputSchema : looseSchema(inputSchema);
|
|
11599
11599
|
procedures[method.name] = base.input(schema)[procKind](({ input: wireInput, ctx }) => {
|
|
11600
|
-
const
|
|
11600
|
+
const hasHttpReq = typeof ctx === "object" && ctx !== null && "req" in ctx && ctx.req !== void 0;
|
|
11601
|
+
const input = stampedCap && hasHttpReq ? withoutCallerStamp(wireInput) : wireInput;
|
|
11601
11602
|
if (nodeIdData) return invokeCapMethod(requireLocal(capName, () => getLocal(ctx), services), method, method.callerRequired ? injectCaller(stripKeys(input, []).rest, ctx, capName, method.name, services) : input, capName, isCollection, services);
|
|
11602
11603
|
if (isCollection) {
|
|
11603
11604
|
const { rest, picked } = stripKeys(input, ["nodeId", "addonId"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ti as declarationsOf } from "./dist-
|
|
1
|
+
import { Ti as declarationsOf } from "./dist-CkZIrsAP.mjs";
|
|
2
2
|
//#region src/builtins/records/legacy-table-row-count.ts
|
|
3
3
|
/** Row count for a physical settings-db table (matches the records engine `legacyRowCount`). */
|
|
4
4
|
function legacyTableRowCountFromList(tables, collection) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
1
|
+
const require_dist = require("./dist-BkNfEJKa.js");
|
|
2
2
|
//#region src/builtins/records/legacy-table-row-count.ts
|
|
3
3
|
/** Row count for a physical settings-db table (matches the records engine `legacyRowCount`). */
|
|
4
4
|
function legacyTableRowCountFromList(tables, collection) {
|
|
@@ -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-BkNfEJKa.js");
|
|
3
3
|
const require_read_all_rows$1 = require("./read-all-rows-CVoO1ONM.js");
|
|
4
4
|
let zod = require("zod");
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DataStoreDatabaseSchema, Di as defineRecordKinds, b as DATABASE_SNAPSHOT_SUFFIX } from "./dist-
|
|
1
|
+
import { A as DataStoreDatabaseSchema, Di as defineRecordKinds, b as DATABASE_SNAPSHOT_SUFFIX } from "./dist-CkZIrsAP.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 { createCipheriv, createDecipheriv, createHash, createPrivateKey, createPublicKey, diffieHellman, generateKeyPairSync, hkdfSync, randomBytes } from "node:crypto";
|
|
Binary file
|
|
Binary file
|