@camstack/server 1.2.832 → 1.2.834
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 +12 -0
- package/dist/api/trpc/cap-router-runtime.js +16 -1
- package/dist/api/trpc/generated-cap-mounts.js +1 -2
- package/dist/api/trpc/generated-cap-routers.js +2132 -2183
- package/dist/core/addon/instance-lifecycle.js +21 -3
- package/package.json +8 -7
- package/system/dist/addon-utils.mjs +1 -1
- 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 +4 -4
- 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 +5 -5
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +3 -3
- 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 +5 -5
- 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 +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/capture/device-directory.d.ts +1 -1
- 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 +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- 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 +5 -5
- 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 +10 -10
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +10 -10
- 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 +20 -20
- 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 +115 -115
- 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-D8AiIjQC.mjs → capture-engine-BQjIa865.mjs} +3 -3
- package/system/dist/{capture-engine-CAXBK7ww.js → capture-engine-Bgml6l8Z.js} +3 -3
- package/system/dist/{composition-sources-BunkRPGS.js → composition-sources-C7hUy8w0.js} +1 -1
- package/system/dist/{composition-sources-UhXWDHi8.mjs → composition-sources-CrL4KcSA.mjs} +1 -1
- package/system/dist/{constants-C0KB1WOf.mjs → constants-Bw5qtfbX.mjs} +1 -1
- package/system/dist/{constants-B5QCyskv.js → constants-CUAo3cLm.js} +1 -1
- package/system/dist/{coral-accelerators-BW3OcrLD.mjs → coral-accelerators-DBlgWB8k.mjs} +6 -6
- package/system/dist/{custom-action-registry-N7flBDwT.mjs → custom-action-registry-B9zFBNVa.mjs} +37 -37
- package/system/dist/{device-ca-I_cMOy9W.mjs → device-ca-BDmoMgA3.mjs} +1 -1
- package/system/dist/{device-ca-DJNiUFgb.js → device-ca-YELIR9gF.js} +1 -1
- package/system/dist/{dist-BObCeiJC.js → dist-D3_60xED.js} +48 -232
- package/system/dist/{dist-BkjJt6LD.mjs → dist-yQfQUpYA.mjs} +48 -232
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-Db2RwtZ2.mjs → hub-identity-C8FGw7Mt.mjs} +10 -10
- package/system/dist/{hub-identity-QhEXr2sn.js → hub-identity-c_zPVKOY.js} +1 -1
- package/system/dist/{hub-mdns-ciao-DJYolZOM.mjs → hub-mdns-ciao-CM64AtFQ.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-L9Qt3eVs.js → hub-mdns-ciao-CaWa1FY1.js} +2 -2
- package/system/dist/index.js +12 -10
- package/system/dist/index.mjs +223 -221
- package/system/dist/{legacy-integration-rows-door-4SwHHOO6.js → legacy-integration-rows-door-BnEJMuwz.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-tl15MjSN.mjs → legacy-integration-rows-door-D5Qe0A95.mjs} +1 -1
- package/system/dist/{rename-composition-block-BRlgC6CC.js → rename-composition-block-CbAR4yC9.js} +1 -1
- package/system/dist/{rename-composition-block-DunKva8Y.mjs → rename-composition-block-DXN1dVXs.mjs} +1 -1
- package/system/dist/{restore-archive-WeQO8IMV.mjs → restore-archive-C88Ee7w9.mjs} +94 -94
- package/system/dist/{restore-archive-DDeWKKhR.js → restore-archive-DDzgcjNf.js} +1 -1
- package/system/dist/{wal-maintenance-CXx0PMNE.js → wal-maintenance-BNN52u-q.js} +0 -0
- package/system/dist/{wal-maintenance-7Zug5GTs.mjs → wal-maintenance-EvgkvDZK.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -803,7 +803,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
803
803
|
return EventCategory;
|
|
804
804
|
}({});
|
|
805
805
|
//#endregion
|
|
806
|
-
//#region ../types/dist/composed-stable-id-
|
|
806
|
+
//#region ../types/dist/composed-stable-id-DFNyOFzz.mjs
|
|
807
807
|
/**
|
|
808
808
|
import { errMsg } from '@camstack/types'
|
|
809
809
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -816,6 +816,7 @@ function errMsg(err) {
|
|
|
816
816
|
}
|
|
817
817
|
var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
818
818
|
DeviceType["Camera"] = "camera";
|
|
819
|
+
/** Legacy stored value, read only by the hub-to-integration migrations; no live device carries it. */
|
|
819
820
|
DeviceType["Hub"] = "hub";
|
|
820
821
|
DeviceType["Light"] = "light";
|
|
821
822
|
DeviceType["Siren"] = "siren";
|
|
@@ -1225,7 +1226,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1225
1226
|
*/
|
|
1226
1227
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1227
1228
|
//#endregion
|
|
1228
|
-
//#region ../types/dist/sleep-
|
|
1229
|
+
//#region ../types/dist/sleep-D_NpiLFP.mjs
|
|
1229
1230
|
/**
|
|
1230
1231
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1231
1232
|
* window to float samples (D455).
|
|
@@ -9860,10 +9861,6 @@ var CAMERA_CAP_VOCABULARY = {
|
|
|
9860
9861
|
scope: "device",
|
|
9861
9862
|
noun: t("Admin link", "Link di amministrazione")
|
|
9862
9863
|
},
|
|
9863
|
-
"device-discovery": {
|
|
9864
|
-
scope: "device",
|
|
9865
|
-
noun: t("Discovery", "Rilevamento dispositivi")
|
|
9866
|
-
},
|
|
9867
9864
|
"device-extension": {
|
|
9868
9865
|
scope: "device",
|
|
9869
9866
|
noun: t("Device extension", "Estensione del dispositivo")
|
|
@@ -11641,7 +11638,6 @@ var CAP_NAMES = Object.freeze([
|
|
|
11641
11638
|
"device-admin-link",
|
|
11642
11639
|
"device-adoption",
|
|
11643
11640
|
"device-credentials",
|
|
11644
|
-
"device-discovery",
|
|
11645
11641
|
"device-export",
|
|
11646
11642
|
"device-extension",
|
|
11647
11643
|
"device-history",
|
|
@@ -12263,13 +12259,6 @@ Object.freeze({
|
|
|
12263
12259
|
"valueType": "string"
|
|
12264
12260
|
}
|
|
12265
12261
|
],
|
|
12266
|
-
"device-discovery": [{
|
|
12267
|
-
"path": "lastDiscoveryAt",
|
|
12268
|
-
"valueType": "number"
|
|
12269
|
-
}, {
|
|
12270
|
-
"path": "lastError",
|
|
12271
|
-
"valueType": "string"
|
|
12272
|
-
}],
|
|
12273
12262
|
"device-export": [
|
|
12274
12263
|
{
|
|
12275
12264
|
"path": "linkState",
|
|
@@ -13860,7 +13849,7 @@ function sleep(ms) {
|
|
|
13860
13849
|
return new Promise((resolve) => setTimeout(resolve, Math.max(0, ms)));
|
|
13861
13850
|
}
|
|
13862
13851
|
//#endregion
|
|
13863
|
-
//#region ../types/dist/implemented-methods-
|
|
13852
|
+
//#region ../types/dist/implemented-methods-M5aguGon.mjs
|
|
13864
13853
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
13865
13854
|
opus: "libopus",
|
|
13866
13855
|
aac: "aac",
|
|
@@ -46114,7 +46103,6 @@ var accessoriesCapability = {
|
|
|
46114
46103
|
mode: "singleton",
|
|
46115
46104
|
deviceTypes: [
|
|
46116
46105
|
DeviceType.Camera,
|
|
46117
|
-
DeviceType.Hub,
|
|
46118
46106
|
DeviceType.Switch,
|
|
46119
46107
|
DeviceType.Light,
|
|
46120
46108
|
DeviceType.Sensor,
|
|
@@ -53648,7 +53636,6 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
53648
53636
|
cardinality: "scalar",
|
|
53649
53637
|
deviceTypes: [
|
|
53650
53638
|
DeviceType.Gateway,
|
|
53651
|
-
DeviceType.Hub,
|
|
53652
53639
|
DeviceType.Camera,
|
|
53653
53640
|
DeviceType.Sensor,
|
|
53654
53641
|
DeviceType.MediaPlayer,
|
|
@@ -54859,7 +54846,7 @@ async function runFanOut(calls, invoke) {
|
|
|
54859
54846
|
}
|
|
54860
54847
|
/**
|
|
54861
54848
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
54862
|
-
* 44 caps with series (
|
|
54849
|
+
* 44 caps with series (89 series), 36 caps answered `'none'`.
|
|
54863
54850
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
54864
54851
|
*/
|
|
54865
54852
|
var HISTORY_CATALOG = {
|
|
@@ -55135,6 +55122,8 @@ var HISTORY_CATALOG = {
|
|
|
55135
55122
|
minIntervalMs: 3e4
|
|
55136
55123
|
} },
|
|
55137
55124
|
"pet-feeder": {
|
|
55125
|
+
"feeding": { kind: "boolean" },
|
|
55126
|
+
"eating": { kind: "boolean" },
|
|
55138
55127
|
"foodLevel": { kind: "gauge" },
|
|
55139
55128
|
"bowlFood": { kind: "gauge" },
|
|
55140
55129
|
"food1": { kind: "gauge" },
|
|
@@ -57938,27 +57927,35 @@ var deviceAdminLinkCapability = {
|
|
|
57938
57927
|
getAdminLink: method(z.object({ deviceId: z.number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" }) }
|
|
57939
57928
|
};
|
|
57940
57929
|
/**
|
|
57941
|
-
* device-
|
|
57942
|
-
*
|
|
57943
|
-
*
|
|
57944
|
-
*
|
|
57945
|
-
*
|
|
57946
|
-
*
|
|
57947
|
-
*
|
|
57948
|
-
*
|
|
57949
|
-
*
|
|
57950
|
-
*
|
|
57951
|
-
*
|
|
57952
|
-
*
|
|
57953
|
-
*
|
|
57954
|
-
*
|
|
57955
|
-
*
|
|
57956
|
-
*
|
|
57957
|
-
*
|
|
57958
|
-
|
|
57959
|
-
|
|
57960
|
-
*
|
|
57961
|
-
*
|
|
57930
|
+
* `device-adoption` — generic discovery + adoption surface,
|
|
57931
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
57932
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
57933
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
57934
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
57935
|
+
* successor to `ha-discovery`:
|
|
57936
|
+
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
57937
|
+
* internally) rather than a connection-specific `brokerId`, and it
|
|
57938
|
+
* OWNS the shared `DiscoveredChildDevice` candidate type
|
|
57939
|
+
* (declared below) so a single shared adoption modal renders any integration's
|
|
57940
|
+
* candidate tree.
|
|
57941
|
+
*
|
|
57942
|
+
* UI flow (Integrations page → integration detail):
|
|
57943
|
+
* 1. `listCandidates({integrationId, page, pageSize, filter})` →
|
|
57944
|
+
* paginated candidate list, each row collapsed.
|
|
57945
|
+
* 2. User expands a row → `getCandidate({integrationId,
|
|
57946
|
+
* childNativeId})` returns the single candidate (with its nested
|
|
57947
|
+
* `children`) for the accordion render.
|
|
57948
|
+
* 3. User clicks "Adopt" on one or more candidates →
|
|
57949
|
+
* `adopt({integrationId, childNativeIds, perCandidate?})`
|
|
57950
|
+
* materialises one parent CamStack device per candidate plus its
|
|
57951
|
+
* accessory children. `perCandidate[childNativeId]` carries an
|
|
57952
|
+
* optional display-name override + a `hiddenChildIds` pre-hide set
|
|
57953
|
+
* (the parent's `accessories.hiddenChildIds` gates UI visibility).
|
|
57954
|
+
* 4. User clicks "Release" → `release({integrationId, camDeviceId})`
|
|
57955
|
+
* removes the parent + every child from the kernel registry.
|
|
57956
|
+
*/
|
|
57957
|
+
/**
|
|
57958
|
+
* Status enum for a discovered device. Generic enough for
|
|
57962
57959
|
* battery cams, awake cams, and unreachable cams alike.
|
|
57963
57960
|
*/
|
|
57964
57961
|
var DiscoveredChildStatusSchema = z.enum([
|
|
@@ -57975,12 +57972,12 @@ var DiscoveredChildDeviceSchema = z.lazy(() => z.object({
|
|
|
57975
57972
|
/** DeviceType the child should be created with on adopt. */
|
|
57976
57973
|
type: z.enum(DeviceType),
|
|
57977
57974
|
status: DiscoveredChildStatusSchema,
|
|
57978
|
-
/** Free-form integration-specific metadata surfaced in the
|
|
57975
|
+
/** Free-form integration-specific metadata surfaced in the adoption modal. */
|
|
57979
57976
|
metadata: z.object({
|
|
57980
57977
|
model: z.string().optional(),
|
|
57981
57978
|
serialNumber: z.string().optional(),
|
|
57982
57979
|
uid: z.string().optional(),
|
|
57983
|
-
/** Reolink: 0-based channel index inside the parent NVR
|
|
57980
|
+
/** Reolink: 0-based channel index inside the parent NVR. */
|
|
57984
57981
|
rtspChannel: z.number().int().nonnegative().optional(),
|
|
57985
57982
|
isBattery: z.boolean().optional(),
|
|
57986
57983
|
isDoorbell: z.boolean().optional(),
|
|
@@ -57996,137 +57993,24 @@ var DiscoveredChildDeviceSchema = z.lazy(() => z.object({
|
|
|
57996
57993
|
}).default({}),
|
|
57997
57994
|
/**
|
|
57998
57995
|
* `true` when the framework already created a child device for this
|
|
57999
|
-
* `childNativeId` under the current parent. The
|
|
57996
|
+
* `childNativeId` under the current parent. The adoption modal uses it to
|
|
58000
57997
|
* gate the Add/Remove button and surface the existing `deviceId`.
|
|
58001
57998
|
*/
|
|
58002
57999
|
alreadyAdopted: z.boolean(),
|
|
58003
58000
|
/** When `alreadyAdopted=true`, the framework-assigned child device id. */
|
|
58004
58001
|
adoptedDeviceId: z.number().int().nonnegative().nullable(),
|
|
58005
|
-
/** Capability names the candidate advertises — integrations populate,
|
|
58002
|
+
/** Capability names the candidate advertises — integrations populate, flat enumerations omit. */
|
|
58006
58003
|
capabilities: z.array(z.string()).readonly().optional(),
|
|
58007
|
-
/** Feature flags the candidate advertises — integrations populate,
|
|
58004
|
+
/** Feature flags the candidate advertises — integrations populate, flat enumerations omit. */
|
|
58008
58005
|
features: z.array(z.string()).readonly().optional(),
|
|
58009
58006
|
/** Upstream-system identity + rendering hints for the candidate. */
|
|
58010
58007
|
sourceInfo: SourceInfoSchema.optional(),
|
|
58011
|
-
/** Nested entity-children for accordion preview — integrations populate,
|
|
58008
|
+
/** Nested entity-children for accordion preview — integrations populate, flat enumerations omit. */
|
|
58012
58009
|
children: z.array(DiscoveredChildDeviceSchema).readonly().optional(),
|
|
58013
58010
|
/** `childNativeId` of the gateway candidate in the same list this device sits behind. */
|
|
58014
58011
|
parentStableId: z.string().optional()
|
|
58015
58012
|
}));
|
|
58016
58013
|
/**
|
|
58017
|
-
* Status block — populated by the integration after each
|
|
58018
|
-
* `refreshDiscovery` (or push-driven update). The runtime-state slice
|
|
58019
|
-
* is what the panel reads via the per-device proxy; `getStatus`
|
|
58020
|
-
* returns the same payload via the codegen'd auto-injection.
|
|
58021
|
-
*/
|
|
58022
|
-
var DeviceDiscoveryStatusSchema = z.object({
|
|
58023
|
-
discovered: z.array(DiscoveredChildDeviceSchema),
|
|
58024
|
-
/** Wall-clock ms of the last successful enumeration. */
|
|
58025
|
-
lastDiscoveryAt: z.number().int().nonnegative().nullable(),
|
|
58026
|
-
/** Last error surfaced from the source (rendered as a banner). */
|
|
58027
|
-
lastError: z.string().nullable()
|
|
58028
|
-
});
|
|
58029
|
-
var deviceDiscoveryCapability = {
|
|
58030
|
-
name: "device-discovery",
|
|
58031
|
-
scope: "device",
|
|
58032
|
-
deviceNative: true,
|
|
58033
|
-
mode: "singleton",
|
|
58034
|
-
deviceTypes: [DeviceType.Hub],
|
|
58035
|
-
status: {
|
|
58036
|
-
schema: DeviceDiscoveryStatusSchema,
|
|
58037
|
-
kind: "poll"
|
|
58038
|
-
},
|
|
58039
|
-
runtimeState: DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: z.number().int().nonnegative() }),
|
|
58040
|
-
/**
|
|
58041
|
-
* Runtime-state durability: **session** — 5.7 KB of scan output on the largest device, fully re-derivable by re-scanning.
|
|
58042
|
-
*
|
|
58043
|
-
* See `RuntimeStateDurability`. Enforced by
|
|
58044
|
-
* `scripts/check-runtime-state-durability.ts`.
|
|
58045
|
-
*/
|
|
58046
|
-
durability: "session",
|
|
58047
|
-
/**
|
|
58048
|
-
* History (D850): none — inventory.
|
|
58049
|
-
*/
|
|
58050
|
-
history: "none",
|
|
58051
|
-
methods: {
|
|
58052
|
-
/**
|
|
58053
|
-
* Snapshot of the current `discovered` list. Returns the
|
|
58054
|
-
* runtime-state cache — call `refreshDiscovery` first if a
|
|
58055
|
-
* fresh round-trip to the source is required.
|
|
58056
|
-
*/
|
|
58057
|
-
listDiscovered: method(z.object({ deviceId: z.number().int().nonnegative() }), z.array(DiscoveredChildDeviceSchema).readonly()),
|
|
58058
|
-
/**
|
|
58059
|
-
* Force the integration to re-enumerate and update the
|
|
58060
|
-
* runtime-state slice. Returns the freshly-enumerated list (also
|
|
58061
|
-
* available via `listDiscovered` post-call).
|
|
58062
|
-
*/
|
|
58063
|
-
refreshDiscovery: method(z.object({ deviceId: z.number().int().nonnegative() }), z.array(DiscoveredChildDeviceSchema).readonly(), {
|
|
58064
|
-
kind: "mutation",
|
|
58065
|
-
auth: "admin"
|
|
58066
|
-
}),
|
|
58067
|
-
/**
|
|
58068
|
-
* Promote a discovered entry to a real child device. The framework
|
|
58069
|
-
* creates the child via `kernel.devices.create()` with
|
|
58070
|
-
* `parentDeviceId = parent.id` and seeds the child's config from
|
|
58071
|
-
* `childInitialConfig` (driver-defined; usually carries channel +
|
|
58072
|
-
* uid + parent reference). Returns the kernel-assigned numeric id.
|
|
58073
|
-
*/
|
|
58074
|
-
adoptDevice: method(z.object({
|
|
58075
|
-
deviceId: z.number().int().nonnegative(),
|
|
58076
|
-
childNativeId: z.string(),
|
|
58077
|
-
/** Optional override for the child's display name. */
|
|
58078
|
-
name: z.string().optional()
|
|
58079
|
-
}), z.object({
|
|
58080
|
-
deviceId: z.number().int().nonnegative(),
|
|
58081
|
-
stableId: z.string()
|
|
58082
|
-
}), {
|
|
58083
|
-
kind: "mutation",
|
|
58084
|
-
auth: "admin"
|
|
58085
|
-
}),
|
|
58086
|
-
/**
|
|
58087
|
-
* Inverse of `adoptDevice`: removes the child device from the
|
|
58088
|
-
* kernel registry. The discovered entry remains in the
|
|
58089
|
-
* enumeration (status updates resume) so the operator can re-adopt
|
|
58090
|
-
* it later without a fresh refresh.
|
|
58091
|
-
*/
|
|
58092
|
-
releaseDevice: method(z.object({
|
|
58093
|
-
deviceId: z.number().int().nonnegative(),
|
|
58094
|
-
childDeviceId: z.number().int().nonnegative()
|
|
58095
|
-
}), z.void(), {
|
|
58096
|
-
kind: "mutation",
|
|
58097
|
-
auth: "admin"
|
|
58098
|
-
})
|
|
58099
|
-
}
|
|
58100
|
-
};
|
|
58101
|
-
/**
|
|
58102
|
-
* `device-adoption` — generic discovery + adoption surface,
|
|
58103
|
-
* system-scoped collection (one provider per integration addon), routed
|
|
58104
|
-
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
58105
|
-
* pin model as `connection-test`. The admin UI keeps using
|
|
58106
|
-
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
58107
|
-
* successor to `ha-discovery`:
|
|
58108
|
-
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
58109
|
-
* internally) rather than a connection-specific `brokerId`, and it
|
|
58110
|
-
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
58111
|
-
* `device-discovery.cap.ts` so a single shared adoption panel renders
|
|
58112
|
-
* any integration's candidate tree.
|
|
58113
|
-
*
|
|
58114
|
-
* UI flow (Integrations page → integration detail):
|
|
58115
|
-
* 1. `listCandidates({integrationId, page, pageSize, filter})` →
|
|
58116
|
-
* paginated candidate list, each row collapsed.
|
|
58117
|
-
* 2. User expands a row → `getCandidate({integrationId,
|
|
58118
|
-
* childNativeId})` returns the single candidate (with its nested
|
|
58119
|
-
* `children`) for the accordion render.
|
|
58120
|
-
* 3. User clicks "Adopt" on one or more candidates →
|
|
58121
|
-
* `adopt({integrationId, childNativeIds, perCandidate?})`
|
|
58122
|
-
* materialises one parent CamStack device per candidate plus its
|
|
58123
|
-
* accessory children. `perCandidate[childNativeId]` carries an
|
|
58124
|
-
* optional display-name override + a `hiddenChildIds` pre-hide set
|
|
58125
|
-
* (the parent's `accessories.hiddenChildIds` gates UI visibility).
|
|
58126
|
-
* 4. User clicks "Release" → `release({integrationId, camDeviceId})`
|
|
58127
|
-
* removes the parent + every child from the kernel registry.
|
|
58128
|
-
*/
|
|
58129
|
-
/**
|
|
58130
58014
|
* Provider-declared discovery *granularity* filter (the keystone of the
|
|
58131
58015
|
* single-entity-import design). A provider advertises which discovery
|
|
58132
58016
|
* granularities it supports via `listCandidateFilters`; the operator picks
|
|
@@ -82180,9 +82064,13 @@ var petFeederCapability = {
|
|
|
82180
82064
|
*/
|
|
82181
82065
|
durability: "session",
|
|
82182
82066
|
/**
|
|
82183
|
-
* History (D850): recorded series.
|
|
82067
|
+
* History (D850): recorded series. `feeding` / `eating` are the meals the
|
|
82068
|
+
* device hero's "Meals" button names — change-only booleans, so a dispense
|
|
82069
|
+
* or a pet at the bowl is one span on the history.
|
|
82184
82070
|
*/
|
|
82185
82071
|
history: { fields: {
|
|
82072
|
+
feeding: { kind: "boolean" },
|
|
82073
|
+
eating: { kind: "boolean" },
|
|
82186
82074
|
foodLevel: { kind: "gauge" },
|
|
82187
82075
|
bowlFood: { kind: "gauge" },
|
|
82188
82076
|
food1: { kind: "gauge" },
|
|
@@ -84535,7 +84423,6 @@ var PowerSourceStateSchema = z.object({
|
|
|
84535
84423
|
});
|
|
84536
84424
|
var POWER_SOURCE_DEVICE_TYPES = [
|
|
84537
84425
|
DeviceType.Gateway,
|
|
84538
|
-
DeviceType.Hub,
|
|
84539
84426
|
DeviceType.Camera,
|
|
84540
84427
|
DeviceType.Sensor,
|
|
84541
84428
|
DeviceType.MediaPlayer,
|
|
@@ -95551,7 +95438,6 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
95551
95438
|
deviceAdminLinkCapability,
|
|
95552
95439
|
deviceAdoptionCapability,
|
|
95553
95440
|
deviceCredentialsCapability,
|
|
95554
|
-
deviceDiscoveryCapability,
|
|
95555
95441
|
deviceExportCapability,
|
|
95556
95442
|
deviceExtensionCapability,
|
|
95557
95443
|
deviceHistoryCapability,
|
|
@@ -98120,7 +98006,6 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
98120
98006
|
control: controlCapability,
|
|
98121
98007
|
cover: coverCapability,
|
|
98122
98008
|
dayNight: dayNightCapability,
|
|
98123
|
-
deviceDiscovery: deviceDiscoveryCapability,
|
|
98124
98009
|
deviceStatus: deviceStatusCapability,
|
|
98125
98010
|
dishwasher: dishwasherCapability,
|
|
98126
98011
|
doNotDisturb: doNotDisturbCapability,
|
|
@@ -105067,41 +104952,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
105067
104952
|
access: "create",
|
|
105068
104953
|
role: "admin"
|
|
105069
104954
|
},
|
|
105070
|
-
"deviceDiscovery.adoptDevice": {
|
|
105071
|
-
capName: "device-discovery",
|
|
105072
|
-
capScope: "device",
|
|
105073
|
-
addonId: null,
|
|
105074
|
-
access: "create",
|
|
105075
|
-
role: "admin"
|
|
105076
|
-
},
|
|
105077
|
-
"deviceDiscovery.getStatus": {
|
|
105078
|
-
capName: "device-discovery",
|
|
105079
|
-
capScope: "device",
|
|
105080
|
-
addonId: null,
|
|
105081
|
-
access: "view",
|
|
105082
|
-
role: "viewer"
|
|
105083
|
-
},
|
|
105084
|
-
"deviceDiscovery.listDiscovered": {
|
|
105085
|
-
capName: "device-discovery",
|
|
105086
|
-
capScope: "device",
|
|
105087
|
-
addonId: null,
|
|
105088
|
-
access: "view",
|
|
105089
|
-
role: "viewer"
|
|
105090
|
-
},
|
|
105091
|
-
"deviceDiscovery.refreshDiscovery": {
|
|
105092
|
-
capName: "device-discovery",
|
|
105093
|
-
capScope: "device",
|
|
105094
|
-
addonId: null,
|
|
105095
|
-
access: "create",
|
|
105096
|
-
role: "admin"
|
|
105097
|
-
},
|
|
105098
|
-
"deviceDiscovery.releaseDevice": {
|
|
105099
|
-
capName: "device-discovery",
|
|
105100
|
-
capScope: "device",
|
|
105101
|
-
addonId: null,
|
|
105102
|
-
access: "create",
|
|
105103
|
-
role: "admin"
|
|
105104
|
-
},
|
|
105105
104955
|
"deviceExport.applyDeviceSettingsPatch": {
|
|
105106
104956
|
capName: "device-export",
|
|
105107
104957
|
capScope: "system",
|
|
@@ -113911,7 +113761,6 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
113911
113761
|
"cover",
|
|
113912
113762
|
"day-night",
|
|
113913
113763
|
"device-adoption",
|
|
113914
|
-
"device-discovery",
|
|
113915
113764
|
"device-export",
|
|
113916
113765
|
"device-status",
|
|
113917
113766
|
"dishwasher",
|
|
@@ -114406,35 +114255,6 @@ Object.freeze({
|
|
|
114406
114255
|
form: "single",
|
|
114407
114256
|
optional: false
|
|
114408
114257
|
}],
|
|
114409
|
-
"deviceDiscovery.adoptDevice": [{
|
|
114410
|
-
name: "deviceId",
|
|
114411
|
-
form: "single",
|
|
114412
|
-
optional: false
|
|
114413
|
-
}],
|
|
114414
|
-
"deviceDiscovery.getStatus": [{
|
|
114415
|
-
name: "deviceId",
|
|
114416
|
-
form: "single",
|
|
114417
|
-
optional: false
|
|
114418
|
-
}],
|
|
114419
|
-
"deviceDiscovery.listDiscovered": [{
|
|
114420
|
-
name: "deviceId",
|
|
114421
|
-
form: "single",
|
|
114422
|
-
optional: false
|
|
114423
|
-
}],
|
|
114424
|
-
"deviceDiscovery.refreshDiscovery": [{
|
|
114425
|
-
name: "deviceId",
|
|
114426
|
-
form: "single",
|
|
114427
|
-
optional: false
|
|
114428
|
-
}],
|
|
114429
|
-
"deviceDiscovery.releaseDevice": [{
|
|
114430
|
-
name: "childDeviceId",
|
|
114431
|
-
form: "single",
|
|
114432
|
-
optional: false
|
|
114433
|
-
}, {
|
|
114434
|
-
name: "deviceId",
|
|
114435
|
-
form: "single",
|
|
114436
|
-
optional: false
|
|
114437
|
-
}],
|
|
114438
114258
|
"deviceExport.applyDeviceSettingsPatch": [{
|
|
114439
114259
|
name: "deviceId",
|
|
114440
114260
|
form: "single",
|
|
@@ -117107,7 +116927,7 @@ Object.freeze({
|
|
|
117107
116927
|
});
|
|
117108
116928
|
/**
|
|
117109
116929
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
117110
|
-
* `runtimeState`.
|
|
116930
|
+
* `runtimeState`. 81 caps: 41 `restored`, 40 `session`.
|
|
117111
116931
|
*
|
|
117112
116932
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
117113
116933
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -117186,10 +117006,6 @@ var RUNTIME_STATE_POLICY = {
|
|
|
117186
117006
|
durability: "restored",
|
|
117187
117007
|
volatileFields: ["lastFetchedAt"]
|
|
117188
117008
|
},
|
|
117189
|
-
"device-discovery": {
|
|
117190
|
-
durability: "session",
|
|
117191
|
-
volatileFields: []
|
|
117192
|
-
},
|
|
117193
117009
|
"device-status": {
|
|
117194
117010
|
durability: "restored",
|
|
117195
117011
|
volatileFields: ["lastChangedAt"]
|
|
@@ -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-BNN52u-q.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-EvgkvDZK.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,10 +1,10 @@
|
|
|
1
|
-
import { mc as defineRecordKinds } from "./dist-
|
|
1
|
+
import { mc as defineRecordKinds } from "./dist-yQfQUpYA.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";
|
|
5
5
|
import { writeOwnerOnlyFileSync } from "@camstack/types/node";
|
|
6
6
|
import { isIP } from "node:net";
|
|
7
|
-
import * as fs from "node:fs";
|
|
7
|
+
import * as fs$1 from "node:fs";
|
|
8
8
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
10
10
|
import { join } from "node:path";
|
|
@@ -1067,7 +1067,7 @@ var HUB_IDENTITY_RELATIVE = `tls/${HUB_IDENTITY_FILE}`;
|
|
|
1067
1067
|
function readHubIdFile(file) {
|
|
1068
1068
|
let parsed;
|
|
1069
1069
|
try {
|
|
1070
|
-
parsed = JSON.parse(fs.readFileSync(file, "utf8"));
|
|
1070
|
+
parsed = JSON.parse(fs$1.readFileSync(file, "utf8"));
|
|
1071
1071
|
} catch (err) {
|
|
1072
1072
|
return {
|
|
1073
1073
|
hubId: null,
|
|
@@ -1094,18 +1094,18 @@ function identityPath(dataDir) {
|
|
|
1094
1094
|
function writeHubIdFile(file, hubId) {
|
|
1095
1095
|
const tmp = `${file}.${process.pid}.tmp`;
|
|
1096
1096
|
try {
|
|
1097
|
-
fs.mkdirSync(path$1.dirname(file), { recursive: true });
|
|
1098
|
-
fs.writeFileSync(tmp, `${JSON.stringify({ hubId }, null, 2)}\n`);
|
|
1099
|
-
fs.linkSync(tmp, file);
|
|
1097
|
+
fs$1.mkdirSync(path$1.dirname(file), { recursive: true });
|
|
1098
|
+
fs$1.writeFileSync(tmp, `${JSON.stringify({ hubId }, null, 2)}\n`);
|
|
1099
|
+
fs$1.linkSync(tmp, file);
|
|
1100
1100
|
} catch (err) {
|
|
1101
|
-
if (fs.existsSync(file)) return readHubIdFile(file);
|
|
1101
|
+
if (fs$1.existsSync(file)) return readHubIdFile(file);
|
|
1102
1102
|
return {
|
|
1103
1103
|
hubId: null,
|
|
1104
1104
|
created: false,
|
|
1105
1105
|
problem: `could not write ${file}: ${err instanceof Error ? err.message : String(err)}`
|
|
1106
1106
|
};
|
|
1107
1107
|
} finally {
|
|
1108
|
-
fs.rmSync(tmp, { force: true });
|
|
1108
|
+
fs$1.rmSync(tmp, { force: true });
|
|
1109
1109
|
}
|
|
1110
1110
|
return {
|
|
1111
1111
|
hubId,
|
|
@@ -1119,9 +1119,9 @@ function writeHubIdFile(file, hubId) {
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
function loadOrCreateHubId(dataDir) {
|
|
1121
1121
|
const file = identityPath(dataDir);
|
|
1122
|
-
if (fs.existsSync(file)) return readHubIdFile(file);
|
|
1122
|
+
if (fs$1.existsSync(file)) return readHubIdFile(file);
|
|
1123
1123
|
const legacy = path$1.join(dataDir, HUB_IDENTITY_FILE);
|
|
1124
|
-
if (fs.existsSync(legacy)) {
|
|
1124
|
+
if (fs$1.existsSync(legacy)) {
|
|
1125
1125
|
const read = readHubIdFile(legacy);
|
|
1126
1126
|
if (read.hubId === null) return read;
|
|
1127
1127
|
if (writeHubIdFile(file, read.hubId).hubId === null) return read;
|
|
@@ -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-D3_60xED.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
|
import { o as __toESM } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { il as userError } from "./dist-
|
|
2
|
+
import { il as userError } from "./dist-yQfQUpYA.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-C8FGw7Mt.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";
|
|
@@ -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-D3_60xED.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-c_zPVKOY.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");
|
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-D3_60xED.js");
|
|
4
|
+
const require_device_ca = require("./device-ca-YELIR9gF.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-BNN52u-q.js");
|
|
32
|
+
const require_legacy_integration_rows_door = require("./legacy-integration-rows-door-BnEJMuwz.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-c_zPVKOY.js");
|
|
38
|
+
const require_constants = require("./constants-CUAo3cLm.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-CaWa1FY1.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-DDzgcjNf.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");
|
|
@@ -28126,7 +28126,8 @@ var en_default = {
|
|
|
28126
28126
|
"globalSettings.s_local-access.tlsEnabled.description": "On by default. Turn off only behind a reverse proxy that terminates TLS for you: browsers refuse passkeys, the camera and the microphone over plain HTTP. Applies after the hub restarts.",
|
|
28127
28127
|
"timedRunConfig.timedRun_quickRunDuration.label": "One-tap run",
|
|
28128
28128
|
"section.s_timed-run.title": "One-tap run",
|
|
28129
|
-
"section.s_timed-run.description": "How long the Run button starts this device for. The hub switches it off when the time is up."
|
|
28129
|
+
"section.s_timed-run.description": "How long the Run button starts this device for. The hub switches it off when the time is up.",
|
|
28130
|
+
"integration-instances.addon-not-running": "\"{{addon}}\" is not running: start it first"
|
|
28130
28131
|
};
|
|
28131
28132
|
//#endregion
|
|
28132
28133
|
//#region src/i18n/it.json
|
|
@@ -28388,7 +28389,8 @@ var it_default = {
|
|
|
28388
28389
|
"globalSettings.s_local-access.tlsEnabled.description": "Attivo per impostazione predefinita. Disattivalo solo dietro un reverse proxy che termina il TLS: i browser rifiutano passkey, fotocamera e microfono su HTTP semplice. Si applica al riavvio dell'hub.",
|
|
28389
28390
|
"timedRunConfig.timedRun_quickRunDuration.label": "Avvio rapido",
|
|
28390
28391
|
"section.s_timed-run.title": "Avvio rapido",
|
|
28391
|
-
"section.s_timed-run.description": "Per quanto tempo il pulsante Avvia accende questo dispositivo. L'hub lo spegne allo scadere del tempo."
|
|
28392
|
+
"section.s_timed-run.description": "Per quanto tempo il pulsante Avvia accende questo dispositivo. L'hub lo spegne allo scadere del tempo.",
|
|
28393
|
+
"integration-instances.addon-not-running": "\"{{addon}}\" non è in esecuzione: avvialo prima"
|
|
28392
28394
|
};
|
|
28393
28395
|
//#endregion
|
|
28394
28396
|
//#region src/i18n/catalog-registry.ts
|