@camstack/server 1.2.833 → 1.2.835
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/generated-cap-mounts.js +1 -2
- package/dist/api/trpc/generated-cap-routers.js +2132 -2183
- package/package.json +8 -10
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- 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 +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +284 -284
- 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-BnQYMCQT.mjs → capture-engine-BQjIa865.mjs} +1 -1
- package/system/dist/{capture-engine-QAaTt-RB.js → capture-engine-Bgml6l8Z.js} +1 -1
- package/system/dist/{composition-sources-DL_XMI5X.js → composition-sources-C7hUy8w0.js} +1 -1
- package/system/dist/{composition-sources-aphHy_eT.mjs → composition-sources-CrL4KcSA.mjs} +1 -1
- package/system/dist/{constants-nurshA1U.mjs → constants-Bw5qtfbX.mjs} +1 -1
- package/system/dist/{constants-Dllt-yz2.js → constants-CUAo3cLm.js} +1 -1
- package/system/dist/{device-ca-CP5rY7a1.mjs → device-ca-BDmoMgA3.mjs} +1 -1
- package/system/dist/{device-ca-BHNUqWMN.js → device-ca-YELIR9gF.js} +1 -1
- package/system/dist/{dist-W4xwc-0l.js → dist-D3_60xED.js} +45 -227
- package/system/dist/{dist-CUZDSzYY.mjs → dist-yQfQUpYA.mjs} +45 -227
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-B8povG_-.mjs → hub-identity-C8FGw7Mt.mjs} +1 -1
- package/system/dist/{hub-identity-BbkNBvA7.js → hub-identity-c_zPVKOY.js} +1 -1
- package/system/dist/{hub-mdns-ciao-BD_M2oW7.mjs → hub-mdns-ciao-CM64AtFQ.mjs} +2 -2
- package/system/dist/{hub-mdns-ciao-Bmf1EWr6.js → hub-mdns-ciao-CaWa1FY1.js} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-DIpSGnWC.js → legacy-integration-rows-door-BnEJMuwz.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-cWLmWyXj.mjs → legacy-integration-rows-door-D5Qe0A95.mjs} +1 -1
- package/system/dist/{rename-composition-block-CripLozx.js → rename-composition-block-CbAR4yC9.js} +1 -1
- package/system/dist/{rename-composition-block-DC8ek_Th.mjs → rename-composition-block-DXN1dVXs.mjs} +1 -1
- package/system/dist/{restore-archive-qWt4ZEYX.mjs → restore-archive-C88Ee7w9.mjs} +82 -82
- package/system/dist/{restore-archive-CWNal4aD.js → restore-archive-DDzgcjNf.js} +1 -1
- package/system/dist/{wal-maintenance-4f8BxPMi.js → wal-maintenance-BNN52u-q.js} +0 -0
- package/system/dist/{wal-maintenance-CcSj6-fH.mjs → wal-maintenance-EvgkvDZK.mjs} +0 -0
- package/system/package.json +1 -1
|
@@ -1226,7 +1226,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1226
1226
|
*/
|
|
1227
1227
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1228
1228
|
//#endregion
|
|
1229
|
-
//#region ../types/dist/sleep-
|
|
1229
|
+
//#region ../types/dist/sleep-D_NpiLFP.mjs
|
|
1230
1230
|
/**
|
|
1231
1231
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1232
1232
|
* window to float samples (D455).
|
|
@@ -9861,10 +9861,6 @@ var CAMERA_CAP_VOCABULARY = {
|
|
|
9861
9861
|
scope: "device",
|
|
9862
9862
|
noun: t("Admin link", "Link di amministrazione")
|
|
9863
9863
|
},
|
|
9864
|
-
"device-discovery": {
|
|
9865
|
-
scope: "device",
|
|
9866
|
-
noun: t("Discovery", "Rilevamento dispositivi")
|
|
9867
|
-
},
|
|
9868
9864
|
"device-extension": {
|
|
9869
9865
|
scope: "device",
|
|
9870
9866
|
noun: t("Device extension", "Estensione del dispositivo")
|
|
@@ -11642,7 +11638,6 @@ var CAP_NAMES = Object.freeze([
|
|
|
11642
11638
|
"device-admin-link",
|
|
11643
11639
|
"device-adoption",
|
|
11644
11640
|
"device-credentials",
|
|
11645
|
-
"device-discovery",
|
|
11646
11641
|
"device-export",
|
|
11647
11642
|
"device-extension",
|
|
11648
11643
|
"device-history",
|
|
@@ -12264,13 +12259,6 @@ Object.freeze({
|
|
|
12264
12259
|
"valueType": "string"
|
|
12265
12260
|
}
|
|
12266
12261
|
],
|
|
12267
|
-
"device-discovery": [{
|
|
12268
|
-
"path": "lastDiscoveryAt",
|
|
12269
|
-
"valueType": "number"
|
|
12270
|
-
}, {
|
|
12271
|
-
"path": "lastError",
|
|
12272
|
-
"valueType": "string"
|
|
12273
|
-
}],
|
|
12274
12262
|
"device-export": [
|
|
12275
12263
|
{
|
|
12276
12264
|
"path": "linkState",
|
|
@@ -54858,7 +54846,7 @@ async function runFanOut(calls, invoke) {
|
|
|
54858
54846
|
}
|
|
54859
54847
|
/**
|
|
54860
54848
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
54861
|
-
* 44 caps with series (
|
|
54849
|
+
* 44 caps with series (89 series), 36 caps answered `'none'`.
|
|
54862
54850
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
54863
54851
|
*/
|
|
54864
54852
|
var HISTORY_CATALOG = {
|
|
@@ -55134,6 +55122,8 @@ var HISTORY_CATALOG = {
|
|
|
55134
55122
|
minIntervalMs: 3e4
|
|
55135
55123
|
} },
|
|
55136
55124
|
"pet-feeder": {
|
|
55125
|
+
"feeding": { kind: "boolean" },
|
|
55126
|
+
"eating": { kind: "boolean" },
|
|
55137
55127
|
"foodLevel": { kind: "gauge" },
|
|
55138
55128
|
"bowlFood": { kind: "gauge" },
|
|
55139
55129
|
"food1": { kind: "gauge" },
|
|
@@ -57937,27 +57927,35 @@ var deviceAdminLinkCapability = {
|
|
|
57937
57927
|
getAdminLink: method(z.object({ deviceId: z.number().int().nonnegative() }), DeviceAdminLinkSchema.nullable(), { auth: "admin" }) }
|
|
57938
57928
|
};
|
|
57939
57929
|
/**
|
|
57940
|
-
* device-
|
|
57941
|
-
*
|
|
57942
|
-
*
|
|
57943
|
-
*
|
|
57944
|
-
*
|
|
57945
|
-
*
|
|
57946
|
-
*
|
|
57947
|
-
*
|
|
57948
|
-
*
|
|
57949
|
-
*
|
|
57950
|
-
*
|
|
57951
|
-
*
|
|
57952
|
-
*
|
|
57953
|
-
*
|
|
57954
|
-
*
|
|
57955
|
-
*
|
|
57956
|
-
*
|
|
57957
|
-
|
|
57958
|
-
|
|
57959
|
-
*
|
|
57960
|
-
*
|
|
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
|
|
57961
57959
|
* battery cams, awake cams, and unreachable cams alike.
|
|
57962
57960
|
*/
|
|
57963
57961
|
var DiscoveredChildStatusSchema = z.enum([
|
|
@@ -57974,12 +57972,12 @@ var DiscoveredChildDeviceSchema = z.lazy(() => z.object({
|
|
|
57974
57972
|
/** DeviceType the child should be created with on adopt. */
|
|
57975
57973
|
type: z.enum(DeviceType),
|
|
57976
57974
|
status: DiscoveredChildStatusSchema,
|
|
57977
|
-
/** Free-form integration-specific metadata surfaced in the
|
|
57975
|
+
/** Free-form integration-specific metadata surfaced in the adoption modal. */
|
|
57978
57976
|
metadata: z.object({
|
|
57979
57977
|
model: z.string().optional(),
|
|
57980
57978
|
serialNumber: z.string().optional(),
|
|
57981
57979
|
uid: z.string().optional(),
|
|
57982
|
-
/** Reolink: 0-based channel index inside the parent NVR
|
|
57980
|
+
/** Reolink: 0-based channel index inside the parent NVR. */
|
|
57983
57981
|
rtspChannel: z.number().int().nonnegative().optional(),
|
|
57984
57982
|
isBattery: z.boolean().optional(),
|
|
57985
57983
|
isDoorbell: z.boolean().optional(),
|
|
@@ -57995,137 +57993,24 @@ var DiscoveredChildDeviceSchema = z.lazy(() => z.object({
|
|
|
57995
57993
|
}).default({}),
|
|
57996
57994
|
/**
|
|
57997
57995
|
* `true` when the framework already created a child device for this
|
|
57998
|
-
* `childNativeId` under the current parent. The
|
|
57996
|
+
* `childNativeId` under the current parent. The adoption modal uses it to
|
|
57999
57997
|
* gate the Add/Remove button and surface the existing `deviceId`.
|
|
58000
57998
|
*/
|
|
58001
57999
|
alreadyAdopted: z.boolean(),
|
|
58002
58000
|
/** When `alreadyAdopted=true`, the framework-assigned child device id. */
|
|
58003
58001
|
adoptedDeviceId: z.number().int().nonnegative().nullable(),
|
|
58004
|
-
/** Capability names the candidate advertises — integrations populate,
|
|
58002
|
+
/** Capability names the candidate advertises — integrations populate, flat enumerations omit. */
|
|
58005
58003
|
capabilities: z.array(z.string()).readonly().optional(),
|
|
58006
|
-
/** Feature flags the candidate advertises — integrations populate,
|
|
58004
|
+
/** Feature flags the candidate advertises — integrations populate, flat enumerations omit. */
|
|
58007
58005
|
features: z.array(z.string()).readonly().optional(),
|
|
58008
58006
|
/** Upstream-system identity + rendering hints for the candidate. */
|
|
58009
58007
|
sourceInfo: SourceInfoSchema.optional(),
|
|
58010
|
-
/** Nested entity-children for accordion preview — integrations populate,
|
|
58008
|
+
/** Nested entity-children for accordion preview — integrations populate, flat enumerations omit. */
|
|
58011
58009
|
children: z.array(DiscoveredChildDeviceSchema).readonly().optional(),
|
|
58012
58010
|
/** `childNativeId` of the gateway candidate in the same list this device sits behind. */
|
|
58013
58011
|
parentStableId: z.string().optional()
|
|
58014
58012
|
}));
|
|
58015
58013
|
/**
|
|
58016
|
-
* Status block — populated by the integration after each
|
|
58017
|
-
* `refreshDiscovery` (or push-driven update). The runtime-state slice
|
|
58018
|
-
* is what the panel reads via the per-device proxy; `getStatus`
|
|
58019
|
-
* returns the same payload via the codegen'd auto-injection.
|
|
58020
|
-
*/
|
|
58021
|
-
var DeviceDiscoveryStatusSchema = z.object({
|
|
58022
|
-
discovered: z.array(DiscoveredChildDeviceSchema),
|
|
58023
|
-
/** Wall-clock ms of the last successful enumeration. */
|
|
58024
|
-
lastDiscoveryAt: z.number().int().nonnegative().nullable(),
|
|
58025
|
-
/** Last error surfaced from the source (rendered as a banner). */
|
|
58026
|
-
lastError: z.string().nullable()
|
|
58027
|
-
});
|
|
58028
|
-
var deviceDiscoveryCapability = {
|
|
58029
|
-
name: "device-discovery",
|
|
58030
|
-
scope: "device",
|
|
58031
|
-
deviceNative: true,
|
|
58032
|
-
mode: "singleton",
|
|
58033
|
-
deviceTypes: [DeviceType.Hub],
|
|
58034
|
-
status: {
|
|
58035
|
-
schema: DeviceDiscoveryStatusSchema,
|
|
58036
|
-
kind: "poll"
|
|
58037
|
-
},
|
|
58038
|
-
runtimeState: DeviceDiscoveryStatusSchema.extend({ lastFetchedAt: z.number().int().nonnegative() }),
|
|
58039
|
-
/**
|
|
58040
|
-
* Runtime-state durability: **session** — 5.7 KB of scan output on the largest device, fully re-derivable by re-scanning.
|
|
58041
|
-
*
|
|
58042
|
-
* See `RuntimeStateDurability`. Enforced by
|
|
58043
|
-
* `scripts/check-runtime-state-durability.ts`.
|
|
58044
|
-
*/
|
|
58045
|
-
durability: "session",
|
|
58046
|
-
/**
|
|
58047
|
-
* History (D850): none — inventory.
|
|
58048
|
-
*/
|
|
58049
|
-
history: "none",
|
|
58050
|
-
methods: {
|
|
58051
|
-
/**
|
|
58052
|
-
* Snapshot of the current `discovered` list. Returns the
|
|
58053
|
-
* runtime-state cache — call `refreshDiscovery` first if a
|
|
58054
|
-
* fresh round-trip to the source is required.
|
|
58055
|
-
*/
|
|
58056
|
-
listDiscovered: method(z.object({ deviceId: z.number().int().nonnegative() }), z.array(DiscoveredChildDeviceSchema).readonly()),
|
|
58057
|
-
/**
|
|
58058
|
-
* Force the integration to re-enumerate and update the
|
|
58059
|
-
* runtime-state slice. Returns the freshly-enumerated list (also
|
|
58060
|
-
* available via `listDiscovered` post-call).
|
|
58061
|
-
*/
|
|
58062
|
-
refreshDiscovery: method(z.object({ deviceId: z.number().int().nonnegative() }), z.array(DiscoveredChildDeviceSchema).readonly(), {
|
|
58063
|
-
kind: "mutation",
|
|
58064
|
-
auth: "admin"
|
|
58065
|
-
}),
|
|
58066
|
-
/**
|
|
58067
|
-
* Promote a discovered entry to a real child device. The framework
|
|
58068
|
-
* creates the child via `kernel.devices.create()` with
|
|
58069
|
-
* `parentDeviceId = parent.id` and seeds the child's config from
|
|
58070
|
-
* `childInitialConfig` (driver-defined; usually carries channel +
|
|
58071
|
-
* uid + parent reference). Returns the kernel-assigned numeric id.
|
|
58072
|
-
*/
|
|
58073
|
-
adoptDevice: method(z.object({
|
|
58074
|
-
deviceId: z.number().int().nonnegative(),
|
|
58075
|
-
childNativeId: z.string(),
|
|
58076
|
-
/** Optional override for the child's display name. */
|
|
58077
|
-
name: z.string().optional()
|
|
58078
|
-
}), z.object({
|
|
58079
|
-
deviceId: z.number().int().nonnegative(),
|
|
58080
|
-
stableId: z.string()
|
|
58081
|
-
}), {
|
|
58082
|
-
kind: "mutation",
|
|
58083
|
-
auth: "admin"
|
|
58084
|
-
}),
|
|
58085
|
-
/**
|
|
58086
|
-
* Inverse of `adoptDevice`: removes the child device from the
|
|
58087
|
-
* kernel registry. The discovered entry remains in the
|
|
58088
|
-
* enumeration (status updates resume) so the operator can re-adopt
|
|
58089
|
-
* it later without a fresh refresh.
|
|
58090
|
-
*/
|
|
58091
|
-
releaseDevice: method(z.object({
|
|
58092
|
-
deviceId: z.number().int().nonnegative(),
|
|
58093
|
-
childDeviceId: z.number().int().nonnegative()
|
|
58094
|
-
}), z.void(), {
|
|
58095
|
-
kind: "mutation",
|
|
58096
|
-
auth: "admin"
|
|
58097
|
-
})
|
|
58098
|
-
}
|
|
58099
|
-
};
|
|
58100
|
-
/**
|
|
58101
|
-
* `device-adoption` — generic discovery + adoption surface,
|
|
58102
|
-
* system-scoped collection (one provider per integration addon), routed
|
|
58103
|
-
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
58104
|
-
* pin model as `connection-test`. The admin UI keeps using
|
|
58105
|
-
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
58106
|
-
* successor to `ha-discovery`:
|
|
58107
|
-
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
58108
|
-
* internally) rather than a connection-specific `brokerId`, and it
|
|
58109
|
-
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
58110
|
-
* `device-discovery.cap.ts` so a single shared adoption panel renders
|
|
58111
|
-
* any integration's candidate tree.
|
|
58112
|
-
*
|
|
58113
|
-
* UI flow (Integrations page → integration detail):
|
|
58114
|
-
* 1. `listCandidates({integrationId, page, pageSize, filter})` →
|
|
58115
|
-
* paginated candidate list, each row collapsed.
|
|
58116
|
-
* 2. User expands a row → `getCandidate({integrationId,
|
|
58117
|
-
* childNativeId})` returns the single candidate (with its nested
|
|
58118
|
-
* `children`) for the accordion render.
|
|
58119
|
-
* 3. User clicks "Adopt" on one or more candidates →
|
|
58120
|
-
* `adopt({integrationId, childNativeIds, perCandidate?})`
|
|
58121
|
-
* materialises one parent CamStack device per candidate plus its
|
|
58122
|
-
* accessory children. `perCandidate[childNativeId]` carries an
|
|
58123
|
-
* optional display-name override + a `hiddenChildIds` pre-hide set
|
|
58124
|
-
* (the parent's `accessories.hiddenChildIds` gates UI visibility).
|
|
58125
|
-
* 4. User clicks "Release" → `release({integrationId, camDeviceId})`
|
|
58126
|
-
* removes the parent + every child from the kernel registry.
|
|
58127
|
-
*/
|
|
58128
|
-
/**
|
|
58129
58014
|
* Provider-declared discovery *granularity* filter (the keystone of the
|
|
58130
58015
|
* single-entity-import design). A provider advertises which discovery
|
|
58131
58016
|
* granularities it supports via `listCandidateFilters`; the operator picks
|
|
@@ -82179,9 +82064,13 @@ var petFeederCapability = {
|
|
|
82179
82064
|
*/
|
|
82180
82065
|
durability: "session",
|
|
82181
82066
|
/**
|
|
82182
|
-
* 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.
|
|
82183
82070
|
*/
|
|
82184
82071
|
history: { fields: {
|
|
82072
|
+
feeding: { kind: "boolean" },
|
|
82073
|
+
eating: { kind: "boolean" },
|
|
82185
82074
|
foodLevel: { kind: "gauge" },
|
|
82186
82075
|
bowlFood: { kind: "gauge" },
|
|
82187
82076
|
food1: { kind: "gauge" },
|
|
@@ -95549,7 +95438,6 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
95549
95438
|
deviceAdminLinkCapability,
|
|
95550
95439
|
deviceAdoptionCapability,
|
|
95551
95440
|
deviceCredentialsCapability,
|
|
95552
|
-
deviceDiscoveryCapability,
|
|
95553
95441
|
deviceExportCapability,
|
|
95554
95442
|
deviceExtensionCapability,
|
|
95555
95443
|
deviceHistoryCapability,
|
|
@@ -98118,7 +98006,6 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
98118
98006
|
control: controlCapability,
|
|
98119
98007
|
cover: coverCapability,
|
|
98120
98008
|
dayNight: dayNightCapability,
|
|
98121
|
-
deviceDiscovery: deviceDiscoveryCapability,
|
|
98122
98009
|
deviceStatus: deviceStatusCapability,
|
|
98123
98010
|
dishwasher: dishwasherCapability,
|
|
98124
98011
|
doNotDisturb: doNotDisturbCapability,
|
|
@@ -105065,41 +104952,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
105065
104952
|
access: "create",
|
|
105066
104953
|
role: "admin"
|
|
105067
104954
|
},
|
|
105068
|
-
"deviceDiscovery.adoptDevice": {
|
|
105069
|
-
capName: "device-discovery",
|
|
105070
|
-
capScope: "device",
|
|
105071
|
-
addonId: null,
|
|
105072
|
-
access: "create",
|
|
105073
|
-
role: "admin"
|
|
105074
|
-
},
|
|
105075
|
-
"deviceDiscovery.getStatus": {
|
|
105076
|
-
capName: "device-discovery",
|
|
105077
|
-
capScope: "device",
|
|
105078
|
-
addonId: null,
|
|
105079
|
-
access: "view",
|
|
105080
|
-
role: "viewer"
|
|
105081
|
-
},
|
|
105082
|
-
"deviceDiscovery.listDiscovered": {
|
|
105083
|
-
capName: "device-discovery",
|
|
105084
|
-
capScope: "device",
|
|
105085
|
-
addonId: null,
|
|
105086
|
-
access: "view",
|
|
105087
|
-
role: "viewer"
|
|
105088
|
-
},
|
|
105089
|
-
"deviceDiscovery.refreshDiscovery": {
|
|
105090
|
-
capName: "device-discovery",
|
|
105091
|
-
capScope: "device",
|
|
105092
|
-
addonId: null,
|
|
105093
|
-
access: "create",
|
|
105094
|
-
role: "admin"
|
|
105095
|
-
},
|
|
105096
|
-
"deviceDiscovery.releaseDevice": {
|
|
105097
|
-
capName: "device-discovery",
|
|
105098
|
-
capScope: "device",
|
|
105099
|
-
addonId: null,
|
|
105100
|
-
access: "create",
|
|
105101
|
-
role: "admin"
|
|
105102
|
-
},
|
|
105103
104955
|
"deviceExport.applyDeviceSettingsPatch": {
|
|
105104
104956
|
capName: "device-export",
|
|
105105
104957
|
capScope: "system",
|
|
@@ -113909,7 +113761,6 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
113909
113761
|
"cover",
|
|
113910
113762
|
"day-night",
|
|
113911
113763
|
"device-adoption",
|
|
113912
|
-
"device-discovery",
|
|
113913
113764
|
"device-export",
|
|
113914
113765
|
"device-status",
|
|
113915
113766
|
"dishwasher",
|
|
@@ -114404,35 +114255,6 @@ Object.freeze({
|
|
|
114404
114255
|
form: "single",
|
|
114405
114256
|
optional: false
|
|
114406
114257
|
}],
|
|
114407
|
-
"deviceDiscovery.adoptDevice": [{
|
|
114408
|
-
name: "deviceId",
|
|
114409
|
-
form: "single",
|
|
114410
|
-
optional: false
|
|
114411
|
-
}],
|
|
114412
|
-
"deviceDiscovery.getStatus": [{
|
|
114413
|
-
name: "deviceId",
|
|
114414
|
-
form: "single",
|
|
114415
|
-
optional: false
|
|
114416
|
-
}],
|
|
114417
|
-
"deviceDiscovery.listDiscovered": [{
|
|
114418
|
-
name: "deviceId",
|
|
114419
|
-
form: "single",
|
|
114420
|
-
optional: false
|
|
114421
|
-
}],
|
|
114422
|
-
"deviceDiscovery.refreshDiscovery": [{
|
|
114423
|
-
name: "deviceId",
|
|
114424
|
-
form: "single",
|
|
114425
|
-
optional: false
|
|
114426
|
-
}],
|
|
114427
|
-
"deviceDiscovery.releaseDevice": [{
|
|
114428
|
-
name: "childDeviceId",
|
|
114429
|
-
form: "single",
|
|
114430
|
-
optional: false
|
|
114431
|
-
}, {
|
|
114432
|
-
name: "deviceId",
|
|
114433
|
-
form: "single",
|
|
114434
|
-
optional: false
|
|
114435
|
-
}],
|
|
114436
114258
|
"deviceExport.applyDeviceSettingsPatch": [{
|
|
114437
114259
|
name: "deviceId",
|
|
114438
114260
|
form: "single",
|
|
@@ -117105,7 +116927,7 @@ Object.freeze({
|
|
|
117105
116927
|
});
|
|
117106
116928
|
/**
|
|
117107
116929
|
* Per-cap runtime-state policy, projected from every `*.cap.ts` that declares
|
|
117108
|
-
* `runtimeState`.
|
|
116930
|
+
* `runtimeState`. 81 caps: 41 `restored`, 40 `session`.
|
|
117109
116931
|
*
|
|
117110
116932
|
* A cap absent from this map has no runtime-state slice at all. A cap PRESENT
|
|
117111
116933
|
* with `durability: 'session'` has one and has decided not to keep it.
|
|
@@ -117184,10 +117006,6 @@ var RUNTIME_STATE_POLICY = {
|
|
|
117184
117006
|
durability: "restored",
|
|
117185
117007
|
volatileFields: ["lastFetchedAt"]
|
|
117186
117008
|
},
|
|
117187
|
-
"device-discovery": {
|
|
117188
|
-
durability: "session",
|
|
117189
|
-
volatileFields: []
|
|
117190
|
-
},
|
|
117191
117009
|
"device-status": {
|
|
117192
117010
|
durability: "restored",
|
|
117193
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,4 +1,4 @@
|
|
|
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";
|
|
@@ -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");
|
package/system/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as __require } from "./chunk-CNf5ZN-e.mjs";
|
|
2
|
-
import { Di as looseSchema, Dt as METHOD_ACCESS_MAP, Ei as logLevelAtMost, Et as LOG_LEVEL_RANK, Fs as ReadinessRegistry, Gc as readinessKey, Gi as objectInputDeclaresAddonId, Ha as scopesAllowDeviceCap, Hc as parseJsonObject, Is as ReadinessTimeoutError, Ki as objectInputDeclaresRequiredDeviceId, Lr as extractNestedAddonId, O as CatalogFileSchema, Ps as RUNTIME_DEFAULTS, Qs as asString$1, Rt as PackageRequiresSchema, Tc as isDebugChannelName, Uc as parseJsonUnknown, Va as scopesAllowAddon, Xc as scopeKey, Xn as compareVersions, Xs as asJsonObject$1, Zs as asNumber, _s as DEVICE_SETTINGS_CONTRIBUTION_METHODS, a as AGENT_MDNS_SERVICE_TYPE, ac as collectSecretMarkerRefs, ai as isCollectionArrayMethod, bc as getDebugInterest, bn as addonSettingsCapability, di as isObjectInput, dl as errMsg$1, ei as interpolate, eo as splitTranslationRef, gs as DATAPLANE_SECRET_HEADER$1, hc as emitDownForOwnedCaps, hs as CALLER_STAMPED_CAPABILITIES$1, ii as isArrayOutputSchema, il as userError, ka as resolveMethodAuth, kn as bareAddonId, lc as createEvent$1, lo as supportedRuntimes, mc as defineRecordKinds, mi as kebabToCamel$1, o as AGENT_MDNS_TXT_KEYS, ol as withoutCallerStamp, pi as isVoidInput, pl as EventCategory$1, qc as resolveCapMount, s as ALL_CAPABILITY_DEFINITIONS, sa as procedureAuthKey, vc as expandCapMethods, vr as describeUnmet, vs as DEVICE_STATUS_METHOD, x as CATALOG_LANGS, yi as lifecycleJobSchema, yo as unmetRequirements } from "./dist-
|
|
3
|
-
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-
|
|
2
|
+
import { Di as looseSchema, Dt as METHOD_ACCESS_MAP, Ei as logLevelAtMost, Et as LOG_LEVEL_RANK, Fs as ReadinessRegistry, Gc as readinessKey, Gi as objectInputDeclaresAddonId, Ha as scopesAllowDeviceCap, Hc as parseJsonObject, Is as ReadinessTimeoutError, Ki as objectInputDeclaresRequiredDeviceId, Lr as extractNestedAddonId, O as CatalogFileSchema, Ps as RUNTIME_DEFAULTS, Qs as asString$1, Rt as PackageRequiresSchema, Tc as isDebugChannelName, Uc as parseJsonUnknown, Va as scopesAllowAddon, Xc as scopeKey, Xn as compareVersions, Xs as asJsonObject$1, Zs as asNumber, _s as DEVICE_SETTINGS_CONTRIBUTION_METHODS, a as AGENT_MDNS_SERVICE_TYPE, ac as collectSecretMarkerRefs, ai as isCollectionArrayMethod, bc as getDebugInterest, bn as addonSettingsCapability, di as isObjectInput, dl as errMsg$1, ei as interpolate, eo as splitTranslationRef, gs as DATAPLANE_SECRET_HEADER$1, hc as emitDownForOwnedCaps, hs as CALLER_STAMPED_CAPABILITIES$1, ii as isArrayOutputSchema, il as userError, ka as resolveMethodAuth, kn as bareAddonId, lc as createEvent$1, lo as supportedRuntimes, mc as defineRecordKinds, mi as kebabToCamel$1, o as AGENT_MDNS_TXT_KEYS, ol as withoutCallerStamp, pi as isVoidInput, pl as EventCategory$1, qc as resolveCapMount, s as ALL_CAPABILITY_DEFINITIONS, sa as procedureAuthKey, vc as expandCapMethods, vr as describeUnmet, vs as DEVICE_STATUS_METHOD, x as CATALOG_LANGS, yi as lifecycleJobSchema, yo as unmetRequirements } from "./dist-yQfQUpYA.mjs";
|
|
3
|
+
import { d as JWT_SIGNING_KEY_REF, f as JwtSigningKeyUnavailableError, g as processJwtSigningKey, i as generateDeviceCa, l as verifyDeviceLeaf, m as getProcessJwtSigningKeyState, n as DEVICE_CA_KEY_REF, o as issueDeviceLeaf, p as SYSTEM_SECRET_OWNER, s as loadDeviceCa, u as verifyDeviceSignature, v as staticJwtSigningKey } from "./device-ca-BDmoMgA3.mjs";
|
|
4
4
|
import { t as require_read_all_rows } from "./read-all-rows-TaPqdWNF.mjs";
|
|
5
5
|
import { a as redactLogText, i as redactLogMeta, r as redactLogEntry, t as isCredentialKeyName } from "./log-redactor-XLDrPzOi.mjs";
|
|
6
6
|
import { AlertCenterAddon, n as lastCauseAfterChunk, r as readRunnerDisplayName, t as CRASH_BREAKER_ERROR_PREFIX } from "./builtins/alerts/alerts.addon.mjs";
|
|
@@ -27,22 +27,22 @@ import { LokiDestination, LokiLoggingAddon } from "./builtins/loki-logging/index
|
|
|
27
27
|
import NativeMetricsAddon, { a as NativeMetricsProvider, i as parseProcStatusRss, n as nodeProcReader, r as parseProcStat } from "./builtins/native-metrics/native-metrics.addon.mjs";
|
|
28
28
|
import { DeviceHistoryAddon } from "./builtins/device-history/device-history.addon.mjs";
|
|
29
29
|
import { FilesystemStorageAddon, t as FilesystemStorageProvider } from "./builtins/sqlite-storage/filesystem-storage.addon.mjs";
|
|
30
|
-
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-
|
|
31
|
-
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-
|
|
30
|
+
import { D as RecordsEngine, l as SqliteSettingsBackend } from "./wal-maintenance-EvgkvDZK.mjs";
|
|
31
|
+
import { n as clearLegacyIntegrationRows, o as readLegacyIntegrationRows } from "./legacy-integration-rows-door-D5Qe0A95.mjs";
|
|
32
32
|
import { SqliteSettingsAddon } from "./builtins/sqlite-storage/sqlite-settings.addon.mjs";
|
|
33
33
|
import { ConfigStore, DeviceStore } from "./builtins/sqlite-storage/index.mjs";
|
|
34
34
|
import { StorageOrchestratorAddon, a as createHubCapForwardService, i as HUB_CAP_FWD_SERVICE, o as stripForwardedCaller, r as HUB_CAP_FWD_ACTION, s as buildStorageLocationRegistry, t as StorageOrchestratorService, u as storageOrchestratorRecordKinds } from "./builtins/storage-orchestrator/storage-orchestrator.addon.mjs";
|
|
35
35
|
import "./builtins/storage-orchestrator/index.mjs";
|
|
36
|
-
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-
|
|
37
|
-
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-
|
|
36
|
+
import { A as evaluateExistingCert, B as AGENT_HTTPS_NAMES_COLLECTION, C as localCaCommonName, D as LEAF_RENEWAL_WINDOW_DAYS, E as CA_VALIDITY_DAYS, F as isConstrainedCa, H as AgentHttpsNames, I as isLocalOnlyHostname, L as permitsIdentity, M as PERMITTED_DNS_SUFFIXES, N as PERMITTED_IP_RANGES, O as MAX_LEAF_VALIDITY_DAYS, P as buildNameConstraintSet, R as permitsName, T as systemHostFacts, U as getProcessAgentHttpsNames, V as AGENT_HTTPS_NAMES_COLUMNS, W as setProcessAgentHttpsNames, _ as pemDigest, a as AgentHttpsInstallError, c as certificateNames, d as describeHttpsLeaf, f as installAgentHttps, g as loadAgentHttps, h as issueAgentHttpsLeaf, i as loadOrCreateHubId, k as SERVER_AUTH_OID, l as collectAgentNames, m as isPrivateAddress, n as HUB_IDENTITY_RELATIVE, o as acceptAgentSans, p as isContainerBridgeAddress, r as isAnnouncedHubId, s as agentHttpsPaths, t as HUB_IDENTITY_FILE, u as createAgentHttpsRequest, v as pinnedHttpsCaFingerprint, w as collectCertIdentity, y as CA_COMMON_NAME, z as readNameConstraints } from "./hub-identity-C8FGw7Mt.mjs";
|
|
37
|
+
import { a as MESH_CA_KEY_REF, i as MESH_CA_FIELD, n as DEFAULT_HUB_TLS_TCP_PORT, o as MESH_CA_SETTINGS_KEY } from "./constants-Bw5qtfbX.mjs";
|
|
38
38
|
import { $ as caFingerprint, A as emitProcessNodeRegistered, B as setProcessMeshTlsListenerState, C as verifyMembershipAnswer, Ct as parseOriginList, D as ServiceBroker, Dt as parseCidrList, E as Errors, Et as normalizeIp, F as setProcessMeshPeerTransportLookup, G as describeMeshLeaf, H as MESH_NODE_CERTIFICATES_COLUMNS, I as renewMeshCertificate, J as MeshCrl, K as getProcessMeshCertificateRegistry, L as revokeMeshCertificate, M as getProcessPeerLeaf, N as isProcessVerifiedMeshPeer, O as setProcessMeshTlsEnabler, Ot as readCidrSetting, P as onProcessNodeRegistered, Q as requireProcessMeshCa, R as getProcessMeshTlsListenerState, S as signMembershipProof, St as normalizeOrigin, SystemConfigAddon, T as TlsTcpTransporter, Tt as createCidrMatcher, U as MeshCertificateRegistry, V as MESH_NODE_CERTIFICATES_COLLECTION, W as RENEWAL_ABANDONED, X as MeshCaKeeper, Y as processMeshCrl, Z as getProcessMeshCaState, _ as keyFingerprintShort, _t as parseAgentDashboardOrigins, a as dialableHubHost, at as isValidAgentNodeId, b as MEMBERSHIP_PATHS, bt as OPAQUE_ORIGIN, c as PAIRING_MAX_CODE_ATTEMPTS, ct as loadMeshCa, d as PAIRING_PIN_DIGITS, dt as AGENT_UI_UNLOCK_TYP, et as caFingerprintCompact, f as PAIRING_PROTOCOL, ft as AGENT_UI_UNLOCK_USE, g as describeCsr, gt as mintAgentUiUnlockTicket, h as computePairingSas, ht as isAllowedAgentDashboardReturnTo, i as AgentPairing, it as generateMeshKeyPair, j as getProcessNodeMeshTransport, k as dropProcessPeer, l as PAIRING_MAX_SESSIONS, lt as AGENT_DASHBOARD_ORIGINS_FIELD, m as computePairingCommitment, mt as UnlockTicketJtiStore, n as HubPairing, nt as exportMeshPrivateKeyPem, o as hubHostFromMeshAddress, ot as issueMeshLeafForNode, p as PAIRING_TTL_MS, pt as AGENT_UI_UNLOCK_VERSION, q as setProcessMeshCertificateRegistry, r as PairingHttpError, rt as generateMeshCa, s as PAIRING_CODE_DIGITS, st as issueMeshLeafFromCsr, tt as createMeshCsrPem, u as PAIRING_PATHS, ut as AGENT_UI_UNLOCK_TTL_MS, v as signPairingProof, vt as verifyAgentUiUnlockTicket, w as MESH_TLS_PORT_HELLO_FIELD, wt as readOriginSetting, x as MembershipResponder, xt as isInsecureOrigin, y as verifyPairingProof, yt as InvalidCorsOriginError, z as openMeshTlsWhenRevocationsLoaded } from "./builtins/system-config/system-config.addon.mjs";
|
|
39
39
|
import "./builtins/system-config/index.mjs";
|
|
40
40
|
import { WinstonDestination, WinstonLoggingAddon } from "./builtins/winston-logging/index.mjs";
|
|
41
41
|
import { C as isModelDownloaded, E as setHuggingFaceReachabilityObserver, T as revisionWeightUrl, _ as downloadFile, a as startEventLoopStallMonitor, b as fetchJson, c as createAuthenticatedFileServer, d as resolveFilePath, f as ModelDownloadService, g as deleteModelFromDisk, h as collectModelFiles, i as attributeStall, l as parseRangeHeader, m as adoptModelRevisions, n as STALL_REPORT_MS, o as createFileDataPlaneHandler, r as STALL_TICK_MS, s as contentTypeFor, t as CustomActionRegistry, u as parseTokenizedUrl, v as downloadModel, w as resolveFormatRevision, x as getModelFilePath, y as ensureModel } from "./custom-action-registry-B9zFBNVa.mjs";
|
|
42
|
-
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-
|
|
42
|
+
import { A as retirePreviousLocalCa, C as checkUploadedCa, D as loadTlsCert, E as ensureTlsCert, F as closeLanHttp, I as readLanHttpState, L as registerLanHttpHandler, M as allFamiliesListenHost, N as applyLanHttp, O as reissueTlsLeaf, P as bindPendingLanHttp, S as chainsToPublicRoot, T as caReplacementMarkerFile, _ as readTlsMode, a as storeUploadedCertificate, b as writeTlsEnabled, c as leafFingerprintOf, d as servedHttpsLeafFingerprint, f as prepareBootTls, g as readTlsEnabled, h as readTlsAccessStatus, i as revertToGeneratedCertificate, j as DEFAULT_LAN_HTTP_PORT, k as replaceUnconstrainedLocalCa, l as registerHttpsListener, m as readExtraSans, n as applyCertificateToListener, o as useStoredUploadedCertificate, p as UPLOADED_CA_FILE, r as regenerateCertificate, s as clearHttpsListener, t as createCiaoPublisher, u as reloadHttpsListener, v as splitPemCertificates, w as validateUploadedTls, x as writeTlsMode, y as writeExtraSans } from "./hub-mdns-ciao-CM64AtFQ.mjs";
|
|
43
43
|
import { n as getPlatformKeychainKey, r as setPlatformKeychainKey, t as clearPlatformKeychainKey } from "./platform-key-source-BWlq0jjn.mjs";
|
|
44
44
|
import { n as getSinglePidStats, t as getPidStats } from "./resource-monitor-Di9daRwI.mjs";
|
|
45
|
-
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-
|
|
45
|
+
import { _ as backupRecordStoresOf, c as BackupDecryptError, f as generateBackupKeyPair, g as backupOrchestratorRecordKinds, h as readBackupEncryptionHeader, l as BackupKeyFormatError, r as prepareRestoreArchive, s as SystemBackupService, t as BackupKeyRequiredError, u as BackupKeyMismatchError } from "./restore-archive-C88Ee7w9.mjs";
|
|
46
46
|
import { r as nodeCoralFs, t as classifyCoralAccelerator } from "./coral-accelerators-DBlgWB8k.mjs";
|
|
47
47
|
import { z } from "zod";
|
|
48
48
|
import * as crypto$1 from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ac as collectSecretMarkerRefs } from "./dist-
|
|
1
|
+
import { ac as collectSecretMarkerRefs } from "./dist-yQfQUpYA.mjs";
|
|
2
2
|
//#region src/builtins/sqlite-storage/migrations/legacy-integration-rows-door.ts
|
|
3
3
|
/**
|
|
4
4
|
* Migration-only door for the leftover integration rows (planning#416).
|
package/system/dist/{rename-composition-block-DC8ek_Th.mjs → rename-composition-block-DXN1dVXs.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dl as errMsg, sl as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-
|
|
1
|
+
import { dl as errMsg, sl as COMPOSED_DEVICE_STABLE_ID_PREFIX } from "./dist-yQfQUpYA.mjs";
|
|
2
2
|
//#region src/builtins/core-blocks/rename-composition-block.ts
|
|
3
3
|
/**
|
|
4
4
|
* An operator rename of a composed device writes the composition block's
|