@camstack/types 1.1.35 → 1.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addon-widgets-source.cap.d.ts +2 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +2 -0
- package/dist/capabilities/index.d.ts +9 -1
- package/dist/capabilities/login-method.cap.d.ts +146 -0
- package/dist/capabilities/nodes.cap.d.ts +19 -1
- package/dist/capabilities/server-management.cap.d.ts +194 -0
- package/dist/capabilities/viewer-ui.cap.d.ts +24 -0
- package/dist/generated/addon-api.d.ts +496 -22
- package/dist/generated/capability-router-map.d.ts +13 -4
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +350 -3
- package/dist/index.mjs +335 -4
- package/dist/interfaces/capability.d.ts +3 -0
- package/dist/interfaces/config-ui.d.ts +40 -0
- package/dist/interfaces/event-bus.d.ts +11 -0
- package/dist/{sleep-DuN1nc6O.js → sleep-BtS3xMHv.js} +109 -6
- package/dist/{sleep-DiQ8xW1M.mjs → sleep-DJaTV2D7.mjs} +86 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as SubscribeAudioChunksInputSchema, A as DATAPLANE_SECRET_HEADER, B as CamStreamKindSchema, C as asJsonArray, D as parseJsonArray, E as asString, F as scopeKey, G as EncodedPacketSchema, H as CameraStreamSchema, I as BrokerStatsSchema, J as ProfileRtspEntrySchema, K as FrameHandleFormatSchema, L as BrokerStatusSchema, M as ReadinessTimeoutError, N as emitDownForOwnedCaps, O as parseJsonObject, P as readinessKey, Q as StreamSourceSchema, R as CAM_PROFILE_ORDER, S as asBoolean, T as asNumber, U as DecodedAudioChunkSchema, V as CamStreamResolutionSchema, W as DecodedFrameSchema, X as ProfileSlotStatusSchema, Y as ProfileSlotSchema, Z as StreamSourceEntrySchema, _ as resolveCapMount, _t as hydrateSchema, a as viewerUiCapability, at as parseProfileBrokerId, b as DeviceRole, bt as DisposerChain, c as createLazyTrpcSource, ct as normalizeAddonInitResult, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as emitReadiness, et as SubscribeAudioChunksResultSchema, f as DEVICE_STATUS_METHOD, ft as isEvent, g as method, gt as collectHydratedFieldValues, h as isDeviceConfigCap, ht as collectHydratedFieldEntries, i as deviceOpsCapability, it as makeSourceBrokerId, j as ReadinessRegistry, k as parseJsonUnknown, l as createMirrorSource, lt as createDurableState, m as expandCapMethods, mt as WELL_KNOWN_TAB_MAP, n as sleepCancellable, nt as SubscribeFramesResultSchema, o as adminUiCapability, ot as selectAssignedProfileSlots, p as event, pt as WELL_KNOWN_TABS, q as FrameHandleSchema, r as RawStateResultSchema, rt as makeProfileBrokerId, s as createDeviceProxy, st as BaseAddon, t as sleep, tt as SubscribeFramesInputSchema, u as createSliceHandle, ut as createEvent, v as ChargingStatus, vt as resolveHydratedFieldValue, w as asJsonObject, x as DeviceType, y as DeviceFeature, yt as EventCategory, z as CamProfileSchema } from "./sleep-DJaTV2D7.mjs";
|
|
2
2
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/health/wiring-health.ts
|
|
@@ -12623,6 +12623,13 @@ function createSystemProxy(api) {
|
|
|
12623
12623
|
deletePlate: (input) => dispatch("plateGallery", "deletePlate", "mutation", input)
|
|
12624
12624
|
},
|
|
12625
12625
|
recording: { getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input) },
|
|
12626
|
+
serverManagement: {
|
|
12627
|
+
getServerPackageStatus: (input) => dispatch("serverManagement", "getServerPackageStatus", "query", input),
|
|
12628
|
+
checkServerUpdate: (input) => dispatch("serverManagement", "checkServerUpdate", "mutation", input),
|
|
12629
|
+
applyServerUpdate: (input) => dispatch("serverManagement", "applyServerUpdate", "mutation", input),
|
|
12630
|
+
rollbackServerUpdate: (input) => dispatch("serverManagement", "rollbackServerUpdate", "mutation", input),
|
|
12631
|
+
restartServer: (input) => dispatch("serverManagement", "restartServer", "mutation", input)
|
|
12632
|
+
},
|
|
12626
12633
|
settingsStore: {
|
|
12627
12634
|
get: (input) => dispatch("settingsStore", "get", "query", input),
|
|
12628
12635
|
set: (input) => dispatch("settingsStore", "set", "mutation", input),
|
|
@@ -13730,6 +13737,17 @@ var WidgetMetadataSchema = z.object({
|
|
|
13730
13737
|
deviceContext: z.boolean().default(false),
|
|
13731
13738
|
integrationContext: z.boolean().default(false)
|
|
13732
13739
|
}),
|
|
13740
|
+
/**
|
|
13741
|
+
* Loadable BEFORE authentication. The normal widget registry listing
|
|
13742
|
+
* (`addon-widgets.listWidgets`) is auth-gated, so a pre-auth surface
|
|
13743
|
+
* (the login page) cannot discover a widget through it. A widget that
|
|
13744
|
+
* declares `preAuth: true` marks itself as safe to mount on a pre-auth
|
|
13745
|
+
* screen — it is surfaced through the PUBLIC `auth.listLoginMethods`
|
|
13746
|
+
* login-method contribution channel (see `login-method.cap.ts`) rather
|
|
13747
|
+
* than the authenticated registry, and its bundle is served by the
|
|
13748
|
+
* public `/api/addon-widgets/:addonId/*` static route. Defaults false.
|
|
13749
|
+
*/
|
|
13750
|
+
preAuth: z.boolean().optional().default(false),
|
|
13733
13751
|
/** Dashboard placement HINTS (operator can override per instance). */
|
|
13734
13752
|
defaultSize: WidgetSizeEnum.default("md"),
|
|
13735
13753
|
allowedSizes: z.array(WidgetSizeEnum).readonly().default([
|
|
@@ -14215,6 +14233,89 @@ var authProviderCapability = {
|
|
|
14215
14233
|
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
14216
14234
|
mount: { kind: "skip" }
|
|
14217
14235
|
};
|
|
14236
|
+
//#endregion
|
|
14237
|
+
//#region src/capabilities/login-method.cap.ts
|
|
14238
|
+
/**
|
|
14239
|
+
* `login-method` — collection cap through which auth addons contribute
|
|
14240
|
+
* their pre-auth login surfaces to the login page. This is the SINGLE,
|
|
14241
|
+
* generic mechanism that supersedes the dead `auth.listProviders` reader:
|
|
14242
|
+
* every auth addon (OIDC, magic-link, WebAuthn/passkey) registers a
|
|
14243
|
+
* `login-method` provider and the PUBLIC `auth.listLoginMethods`
|
|
14244
|
+
* procedure aggregates them for the unauthenticated login page.
|
|
14245
|
+
*
|
|
14246
|
+
* A contribution is a discriminated union on `kind`:
|
|
14247
|
+
*
|
|
14248
|
+
* - `redirect` — a declarative button. The login page renders a generic
|
|
14249
|
+
* button that navigates to `startUrl` (an addon-owned HTTP route).
|
|
14250
|
+
* Covers OIDC (`/addon/auth-oidc/<id>/start`) and magic-link with
|
|
14251
|
+
* ZERO shell-side JS. A future SSO addon plugs in the same way — the
|
|
14252
|
+
* login page needs NO change.
|
|
14253
|
+
*
|
|
14254
|
+
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
14255
|
+
* `loadRemoteBundle`) for an in-page ceremony. Covers the passkey
|
|
14256
|
+
* login ceremony, which must run `@simplewebauthn/browser` INSIDE the
|
|
14257
|
+
* addon bundle. The referenced widget also declares `preAuth: true` in
|
|
14258
|
+
* its `addon-widgets-source` catalog entry. `auth.listLoginMethods`
|
|
14259
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`.
|
|
14260
|
+
*
|
|
14261
|
+
* Every contribution carries a `stage`:
|
|
14262
|
+
* - `primary` — shown on the first credentials screen (OIDC /
|
|
14263
|
+
* magic-link buttons; a future usernameless passkey).
|
|
14264
|
+
* - `second-factor` — shown AFTER the password leg, gated on the
|
|
14265
|
+
* returned `factors` (passkey-as-2FA today).
|
|
14266
|
+
*
|
|
14267
|
+
* `mount: skip` — the cap is read server-side by the core auth router
|
|
14268
|
+
* (`registry.getCollection('login-method')`), never mounted as its own
|
|
14269
|
+
* tRPC router.
|
|
14270
|
+
*/
|
|
14271
|
+
/** When a login method renders in the two-phase login flow. */
|
|
14272
|
+
var LoginStageEnum = z.enum(["primary", "second-factor"]);
|
|
14273
|
+
/**
|
|
14274
|
+
* A declarative redirect button — the login page navigates to `startUrl`.
|
|
14275
|
+
* OIDC and magic-link contribute this; a future SSO addon does too.
|
|
14276
|
+
*/
|
|
14277
|
+
var RedirectLoginMethodSchema = z.object({
|
|
14278
|
+
kind: z.literal("redirect"),
|
|
14279
|
+
/** Stable id within the login-method set (e.g. `auth-oidc/google`). */
|
|
14280
|
+
id: z.string(),
|
|
14281
|
+
/** Operator-facing button label. */
|
|
14282
|
+
label: z.string(),
|
|
14283
|
+
/** lucide-react icon name. */
|
|
14284
|
+
icon: z.string().optional(),
|
|
14285
|
+
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
14286
|
+
startUrl: z.string(),
|
|
14287
|
+
stage: LoginStageEnum
|
|
14288
|
+
});
|
|
14289
|
+
/**
|
|
14290
|
+
* A Module-Federation widget the login page mounts for an in-page
|
|
14291
|
+
* ceremony. `bundle` + `addonId` let `auth.listLoginMethods` stamp a
|
|
14292
|
+
* public `bundleUrl`; `remote` is the MF descriptor `loadRemoteBundle`
|
|
14293
|
+
* consumes. No `bundleUrl` here — it is server-stamped on the public
|
|
14294
|
+
* output so the addon never encodes the static-route scheme.
|
|
14295
|
+
*/
|
|
14296
|
+
var WidgetLoginMethodSchema = z.object({
|
|
14297
|
+
kind: z.literal("widget"),
|
|
14298
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-login`). */
|
|
14299
|
+
id: z.string(),
|
|
14300
|
+
/** Owning addon id — drives the public bundle URL + the MF namespace. */
|
|
14301
|
+
addonId: z.string(),
|
|
14302
|
+
/** Bundle filename inside the addon's dist dir (`remoteEntry.js`). */
|
|
14303
|
+
bundle: z.string(),
|
|
14304
|
+
/** MF remote descriptor — `{ remoteName, exposedModule, componentKey }`. */
|
|
14305
|
+
remote: WidgetRemoteSchema,
|
|
14306
|
+
stage: LoginStageEnum
|
|
14307
|
+
});
|
|
14308
|
+
/** One login-method contribution — redirect button OR pre-auth widget. */
|
|
14309
|
+
var LoginMethodContributionSchema = z.discriminatedUnion("kind", [RedirectLoginMethodSchema, WidgetLoginMethodSchema]);
|
|
14310
|
+
var loginMethodCapability = {
|
|
14311
|
+
name: "login-method",
|
|
14312
|
+
scope: "system",
|
|
14313
|
+
mode: "collection",
|
|
14314
|
+
internal: true,
|
|
14315
|
+
methods: { getLoginMethods: method(z.void(), z.array(LoginMethodContributionSchema).readonly()) },
|
|
14316
|
+
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
14317
|
+
mount: { kind: "skip" }
|
|
14318
|
+
};
|
|
14218
14319
|
/**
|
|
14219
14320
|
* Orchestrator-side destination metadata. The orchestrator computes
|
|
14220
14321
|
* `id = <addonId>:<subId>` from its provider lookup so consumers
|
|
@@ -18205,6 +18306,153 @@ var pipelineOrchestratorCapability = {
|
|
|
18205
18306
|
}
|
|
18206
18307
|
};
|
|
18207
18308
|
//#endregion
|
|
18309
|
+
//#region src/capabilities/server-management.cap.ts
|
|
18310
|
+
/**
|
|
18311
|
+
* server-management — per-NODE singleton capability for a node's ROOT
|
|
18312
|
+
* package lifecycle (runtime-updatable node packages, phase 2: hub + docker
|
|
18313
|
+
* agents).
|
|
18314
|
+
*
|
|
18315
|
+
* Each node's root package (`@camstack/server` on the hub, `@camstack/agent`
|
|
18316
|
+
* on agents) carries the whole software stack in its npm dep tree, so ONE
|
|
18317
|
+
* version describes the node. Updates install into
|
|
18318
|
+
* `<dataDir>/server-root/versions/<v>/` and apply on restart via the baked
|
|
18319
|
+
* starter (probation boot + auto-rollback to N-1).
|
|
18320
|
+
*
|
|
18321
|
+
* Providers:
|
|
18322
|
+
* - HUB: `ServerUpdateService` behind the `server-provided` mount
|
|
18323
|
+
* (`buildServerProviders` in trpc.router.ts) — the default target for
|
|
18324
|
+
* unpinned calls.
|
|
18325
|
+
* - AGENT: `AgentUpdateService` registered by the agent bootstrap under
|
|
18326
|
+
* the synthetic `agent-runtime` addonId and declared in the agent's
|
|
18327
|
+
* `$hub.registerNode` manifest.
|
|
18328
|
+
*
|
|
18329
|
+
* Node routing: singleton caps get the codegen/runtime-builder `nodeId`
|
|
18330
|
+
* injection on every method — `input.nodeId` (or `nodePin(nodeId)` from the
|
|
18331
|
+
* SDK) routes the call to that node's provider via the standard remote
|
|
18332
|
+
* proxy (`createCapabilityProxy` → `$agent-cap-fwd` → the agent's
|
|
18333
|
+
* in-process provider lookup). No `nodeId` → the hub's own provider.
|
|
18334
|
+
*
|
|
18335
|
+
* Spec: docs/superpowers/specs/2026-07-12-runtime-updatable-node-packages-design.md
|
|
18336
|
+
*/
|
|
18337
|
+
/**
|
|
18338
|
+
* Where the running hub's code was loaded from:
|
|
18339
|
+
* - `workspace` — dev checkout (tsx / workspace dist); the starter defers to
|
|
18340
|
+
* plain resolution and runtime updates are refused.
|
|
18341
|
+
* - `baked` — the immutable image seed closure (no data-dir root active).
|
|
18342
|
+
* - `data-root` — the runtime-updatable `<dataDir>/server-root` closure.
|
|
18343
|
+
*/
|
|
18344
|
+
var ServerBootModeSchema = z.enum([
|
|
18345
|
+
"workspace",
|
|
18346
|
+
"baked",
|
|
18347
|
+
"data-root"
|
|
18348
|
+
]);
|
|
18349
|
+
/**
|
|
18350
|
+
* Update lifecycle state:
|
|
18351
|
+
* - `idle` / `checking` / `staging` — steady / in-flight registry work.
|
|
18352
|
+
* - `pending-restart` — a version is staged and the node has NOT yet
|
|
18353
|
+
* restarted onto it (still running the OLD version).
|
|
18354
|
+
* - `awaiting-confirmation` — the node HAS restarted onto the staged version
|
|
18355
|
+
* (it is the active probation boot) and is waiting to confirm boot-health.
|
|
18356
|
+
* Apply/rollback are refused in this state and the node must NOT be
|
|
18357
|
+
* manually restarted, or the probation boot auto-rolls-back.
|
|
18358
|
+
*/
|
|
18359
|
+
var ServerUpdateStateSchema = z.enum([
|
|
18360
|
+
"idle",
|
|
18361
|
+
"checking",
|
|
18362
|
+
"staging",
|
|
18363
|
+
"pending-restart",
|
|
18364
|
+
"awaiting-confirmation"
|
|
18365
|
+
]);
|
|
18366
|
+
var ServerRollbackInfoSchema = z.object({
|
|
18367
|
+
/** The version that failed (or was manually rolled back). */
|
|
18368
|
+
fromVersion: z.string(),
|
|
18369
|
+
/** The version rolled back to; null = the baked seed. */
|
|
18370
|
+
toVersion: z.string().nullable(),
|
|
18371
|
+
atMs: z.number(),
|
|
18372
|
+
reason: z.string()
|
|
18373
|
+
});
|
|
18374
|
+
var ServerPackageStatusSchema = z.object({
|
|
18375
|
+
/** Root package name (`@camstack/server` on the hub). */
|
|
18376
|
+
packageName: z.string(),
|
|
18377
|
+
/** Version of the code the running process ACTUALLY loaded. */
|
|
18378
|
+
runningVersion: z.string().nullable(),
|
|
18379
|
+
/** Node.js runtime version the node's process runs on (`process.versions.node`). */
|
|
18380
|
+
nodeRuntimeVersion: z.string().nullable(),
|
|
18381
|
+
/** Active data-dir root version; null when booted from seed/workspace. */
|
|
18382
|
+
activeVersion: z.string().nullable(),
|
|
18383
|
+
/** N-1 version kept for rollback; null when no previous version exists. */
|
|
18384
|
+
previousVersion: z.string().nullable(),
|
|
18385
|
+
/** Version of the immutable baked seed closure (image fallback). */
|
|
18386
|
+
seedVersion: z.string().nullable(),
|
|
18387
|
+
/** Latest registry version from the most recent check (null = never checked). */
|
|
18388
|
+
latestVersion: z.string().nullable(),
|
|
18389
|
+
updateAvailable: z.boolean(),
|
|
18390
|
+
bootMode: ServerBootModeSchema,
|
|
18391
|
+
updateState: ServerUpdateStateSchema,
|
|
18392
|
+
/** Version staged + awaiting its probation boot, when one is pending. */
|
|
18393
|
+
pendingVersion: z.string().nullable(),
|
|
18394
|
+
/** Set when the last freshly-activated version failed its boot health-check. */
|
|
18395
|
+
rolledBack: ServerRollbackInfoSchema.nullable(),
|
|
18396
|
+
/**
|
|
18397
|
+
* True when `server-root/state.json` EXISTS but is unreadable/corrupt — the
|
|
18398
|
+
* hub is running from the baked seed (or workspace) while installed data-dir
|
|
18399
|
+
* versions are being IGNORED. Surfaced as a warning in the UI.
|
|
18400
|
+
*/
|
|
18401
|
+
stateFileCorrupt: z.boolean(),
|
|
18402
|
+
lastCheckedAtMs: z.number().nullable()
|
|
18403
|
+
});
|
|
18404
|
+
var ServerUpdateCheckResultSchema = z.object({
|
|
18405
|
+
packageName: z.string(),
|
|
18406
|
+
runningVersion: z.string().nullable(),
|
|
18407
|
+
latestVersion: z.string().nullable(),
|
|
18408
|
+
updateAvailable: z.boolean(),
|
|
18409
|
+
checkedAtMs: z.number(),
|
|
18410
|
+
/** Non-null when the registry lookup failed (offline, bad registry, …). */
|
|
18411
|
+
error: z.string().nullable()
|
|
18412
|
+
});
|
|
18413
|
+
var ServerUpdateActionResultSchema = z.object({
|
|
18414
|
+
accepted: z.boolean(),
|
|
18415
|
+
targetVersion: z.string().nullable(),
|
|
18416
|
+
/** True when a graceful restart was scheduled to apply the change. */
|
|
18417
|
+
restarting: z.boolean(),
|
|
18418
|
+
message: z.string()
|
|
18419
|
+
});
|
|
18420
|
+
var serverManagementCapability = {
|
|
18421
|
+
name: "server-management",
|
|
18422
|
+
scope: "system",
|
|
18423
|
+
mode: "singleton",
|
|
18424
|
+
methods: {
|
|
18425
|
+
getServerPackageStatus: method(z.void(), ServerPackageStatusSchema, { auth: "admin" }),
|
|
18426
|
+
checkServerUpdate: method(z.void(), ServerUpdateCheckResultSchema, {
|
|
18427
|
+
kind: "mutation",
|
|
18428
|
+
auth: "admin"
|
|
18429
|
+
}),
|
|
18430
|
+
applyServerUpdate: method(z.object({
|
|
18431
|
+
/** Explicit target version; omitted = latest from the registry. */
|
|
18432
|
+
version: z.string().optional() }), ServerUpdateActionResultSchema, {
|
|
18433
|
+
kind: "mutation",
|
|
18434
|
+
auth: "admin"
|
|
18435
|
+
}),
|
|
18436
|
+
rollbackServerUpdate: method(z.void(), ServerUpdateActionResultSchema, {
|
|
18437
|
+
kind: "mutation",
|
|
18438
|
+
auth: "admin"
|
|
18439
|
+
}),
|
|
18440
|
+
/**
|
|
18441
|
+
* Plain process restart of the node's root process — no version change.
|
|
18442
|
+
* The supervisor (docker restart policy / launchd / Electron main)
|
|
18443
|
+
* relaunches and the starter loads the SAME active version. Refused while
|
|
18444
|
+
* a stage is in flight or a version is already staged awaiting restart
|
|
18445
|
+
* (use apply/rollback instead, so the pending version is not skipped).
|
|
18446
|
+
*/
|
|
18447
|
+
restartServer: method(z.void(), ServerUpdateActionResultSchema, {
|
|
18448
|
+
kind: "mutation",
|
|
18449
|
+
auth: "admin"
|
|
18450
|
+
})
|
|
18451
|
+
},
|
|
18452
|
+
/** BIG PLAN 2: declarative mount hint — read by `@camstack/system` `buildCapRouters`. */
|
|
18453
|
+
mount: { kind: "server-provided" }
|
|
18454
|
+
};
|
|
18455
|
+
//#endregion
|
|
18208
18456
|
//#region src/capabilities/settings-store.cap.ts
|
|
18209
18457
|
/**
|
|
18210
18458
|
* Query filter for settings-store collections.
|
|
@@ -21118,6 +21366,16 @@ var TopologyCategorySchema = z.object({
|
|
|
21118
21366
|
healthy: z.number(),
|
|
21119
21367
|
addons: z.array(TopologyCategoryAddonSchema).readonly()
|
|
21120
21368
|
});
|
|
21369
|
+
/**
|
|
21370
|
+
* The node's runtime-updatable ROOT package (`@camstack/server` on the hub,
|
|
21371
|
+
* `@camstack/agent` on agents) as reported by its `registerNode` manifest —
|
|
21372
|
+
* version visibility for the Server management surface. Nullable: offline
|
|
21373
|
+
* rows and pre-phase-2 nodes report none.
|
|
21374
|
+
*/
|
|
21375
|
+
var TopologyRootPackageSchema = z.object({
|
|
21376
|
+
name: z.string(),
|
|
21377
|
+
version: z.string()
|
|
21378
|
+
});
|
|
21121
21379
|
var TopologyNodeSchema = z.object({
|
|
21122
21380
|
id: z.string(),
|
|
21123
21381
|
name: z.string(),
|
|
@@ -21141,7 +21399,8 @@ var TopologyNodeSchema = z.object({
|
|
|
21141
21399
|
status: z.string()
|
|
21142
21400
|
})).readonly(),
|
|
21143
21401
|
processes: z.array(TopologyProcessSchema).readonly(),
|
|
21144
|
-
categories: z.array(TopologyCategorySchema).readonly()
|
|
21402
|
+
categories: z.array(TopologyCategorySchema).readonly(),
|
|
21403
|
+
rootPackage: TopologyRootPackageSchema.nullable()
|
|
21145
21404
|
});
|
|
21146
21405
|
var CapUsageEdgeSchema = z.object({
|
|
21147
21406
|
callerAddonId: z.string(),
|
|
@@ -22646,6 +22905,7 @@ var CAPABILITY_NAMES = {
|
|
|
22646
22905
|
localNetwork: "local-network",
|
|
22647
22906
|
lockControl: "lock-control",
|
|
22648
22907
|
logDestination: "log-destination",
|
|
22908
|
+
loginMethod: "login-method",
|
|
22649
22909
|
mediaPlayer: "media-player",
|
|
22650
22910
|
meshNetwork: "mesh-network",
|
|
22651
22911
|
metricsProvider: "metrics-provider",
|
|
@@ -22681,6 +22941,7 @@ var CAPABILITY_NAMES = {
|
|
|
22681
22941
|
reboot: "reboot",
|
|
22682
22942
|
recording: "recording",
|
|
22683
22943
|
scriptRunner: "script-runner",
|
|
22944
|
+
serverManagement: "server-management",
|
|
22684
22945
|
settingsStore: "settings-store",
|
|
22685
22946
|
smoke: "smoke",
|
|
22686
22947
|
smtpProvider: "smtp-provider",
|
|
@@ -22705,6 +22966,7 @@ var CAPABILITY_NAMES = {
|
|
|
22705
22966
|
valve: "valve",
|
|
22706
22967
|
vibration: "vibration",
|
|
22707
22968
|
videoclips: "videoclips",
|
|
22969
|
+
viewerUi: "viewer-ui",
|
|
22708
22970
|
waterHeater: "water-heater",
|
|
22709
22971
|
weather: "weather",
|
|
22710
22972
|
webrtcSession: "webrtc-session",
|
|
@@ -22994,6 +23256,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
22994
23256
|
key: "logDestination",
|
|
22995
23257
|
name: "log-destination"
|
|
22996
23258
|
},
|
|
23259
|
+
{
|
|
23260
|
+
key: "loginMethod",
|
|
23261
|
+
name: "login-method"
|
|
23262
|
+
},
|
|
22997
23263
|
{
|
|
22998
23264
|
key: "mediaPlayer",
|
|
22999
23265
|
name: "media-player"
|
|
@@ -23134,6 +23400,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
23134
23400
|
key: "scriptRunner",
|
|
23135
23401
|
name: "script-runner"
|
|
23136
23402
|
},
|
|
23403
|
+
{
|
|
23404
|
+
key: "serverManagement",
|
|
23405
|
+
name: "server-management"
|
|
23406
|
+
},
|
|
23137
23407
|
{
|
|
23138
23408
|
key: "settingsStore",
|
|
23139
23409
|
name: "settings-store"
|
|
@@ -23230,6 +23500,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
23230
23500
|
key: "videoclips",
|
|
23231
23501
|
name: "videoclips"
|
|
23232
23502
|
},
|
|
23503
|
+
{
|
|
23504
|
+
key: "viewerUi",
|
|
23505
|
+
name: "viewer-ui"
|
|
23506
|
+
},
|
|
23233
23507
|
{
|
|
23234
23508
|
key: "waterHeater",
|
|
23235
23509
|
name: "water-heater"
|
|
@@ -23335,6 +23609,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
23335
23609
|
localNetworkCapability,
|
|
23336
23610
|
lockControlCapability,
|
|
23337
23611
|
logDestinationCapability,
|
|
23612
|
+
loginMethodCapability,
|
|
23338
23613
|
mediaPlayerCapability,
|
|
23339
23614
|
meshNetworkCapability,
|
|
23340
23615
|
metricsProviderCapability,
|
|
@@ -23370,6 +23645,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
23370
23645
|
rebootCapability,
|
|
23371
23646
|
recordingCapability,
|
|
23372
23647
|
scriptRunnerCapability,
|
|
23648
|
+
serverManagementCapability,
|
|
23373
23649
|
settingsStoreCapability,
|
|
23374
23650
|
smokeCapability,
|
|
23375
23651
|
smtpProviderCapability,
|
|
@@ -23394,6 +23670,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
23394
23670
|
valveCapability,
|
|
23395
23671
|
vibrationCapability,
|
|
23396
23672
|
videoclipsCapability,
|
|
23673
|
+
viewerUiCapability,
|
|
23397
23674
|
waterHeaterCapability,
|
|
23398
23675
|
weatherCapability,
|
|
23399
23676
|
webrtcSessionCapability,
|
|
@@ -25454,6 +25731,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
25454
25731
|
addonId: null,
|
|
25455
25732
|
access: "create"
|
|
25456
25733
|
},
|
|
25734
|
+
"loginMethod.getLoginMethods": {
|
|
25735
|
+
capName: "login-method",
|
|
25736
|
+
capScope: "system",
|
|
25737
|
+
addonId: null,
|
|
25738
|
+
access: "view"
|
|
25739
|
+
},
|
|
25457
25740
|
"mediaPlayer.next": {
|
|
25458
25741
|
capName: "media-player",
|
|
25459
25742
|
capScope: "device",
|
|
@@ -26816,6 +27099,36 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26816
27099
|
addonId: null,
|
|
26817
27100
|
access: "create"
|
|
26818
27101
|
},
|
|
27102
|
+
"serverManagement.applyServerUpdate": {
|
|
27103
|
+
capName: "server-management",
|
|
27104
|
+
capScope: "system",
|
|
27105
|
+
addonId: null,
|
|
27106
|
+
access: "create"
|
|
27107
|
+
},
|
|
27108
|
+
"serverManagement.checkServerUpdate": {
|
|
27109
|
+
capName: "server-management",
|
|
27110
|
+
capScope: "system",
|
|
27111
|
+
addonId: null,
|
|
27112
|
+
access: "create"
|
|
27113
|
+
},
|
|
27114
|
+
"serverManagement.getServerPackageStatus": {
|
|
27115
|
+
capName: "server-management",
|
|
27116
|
+
capScope: "system",
|
|
27117
|
+
addonId: null,
|
|
27118
|
+
access: "view"
|
|
27119
|
+
},
|
|
27120
|
+
"serverManagement.restartServer": {
|
|
27121
|
+
capName: "server-management",
|
|
27122
|
+
capScope: "system",
|
|
27123
|
+
addonId: null,
|
|
27124
|
+
access: "create"
|
|
27125
|
+
},
|
|
27126
|
+
"serverManagement.rollbackServerUpdate": {
|
|
27127
|
+
capName: "server-management",
|
|
27128
|
+
capScope: "system",
|
|
27129
|
+
addonId: null,
|
|
27130
|
+
access: "create"
|
|
27131
|
+
},
|
|
26819
27132
|
"settingsStore.count": {
|
|
26820
27133
|
capName: "settings-store",
|
|
26821
27134
|
capScope: "system",
|
|
@@ -27680,6 +27993,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
27680
27993
|
addonId: null,
|
|
27681
27994
|
access: "view"
|
|
27682
27995
|
},
|
|
27996
|
+
"viewerUi.getStaticDir": {
|
|
27997
|
+
capName: "viewer-ui",
|
|
27998
|
+
capScope: "system",
|
|
27999
|
+
addonId: null,
|
|
28000
|
+
access: "view"
|
|
28001
|
+
},
|
|
28002
|
+
"viewerUi.getVersion": {
|
|
28003
|
+
capName: "viewer-ui",
|
|
28004
|
+
capScope: "system",
|
|
28005
|
+
addonId: null,
|
|
28006
|
+
access: "view"
|
|
28007
|
+
},
|
|
27683
28008
|
"waterHeater.setAway": {
|
|
27684
28009
|
capName: "water-heater",
|
|
27685
28010
|
capScope: "device",
|
|
@@ -27868,6 +28193,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
27868
28193
|
"local-network",
|
|
27869
28194
|
"lock-control",
|
|
27870
28195
|
"log-destination",
|
|
28196
|
+
"login-method",
|
|
27871
28197
|
"media-player",
|
|
27872
28198
|
"mesh-network",
|
|
27873
28199
|
"metrics-provider",
|
|
@@ -27899,6 +28225,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
27899
28225
|
"reboot",
|
|
27900
28226
|
"recording",
|
|
27901
28227
|
"script-runner",
|
|
28228
|
+
"server-management",
|
|
27902
28229
|
"settings-store",
|
|
27903
28230
|
"smtp-provider",
|
|
27904
28231
|
"snapshot",
|
|
@@ -27919,6 +28246,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
27919
28246
|
"vacuum-control",
|
|
27920
28247
|
"valve",
|
|
27921
28248
|
"videoclips",
|
|
28249
|
+
"viewer-ui",
|
|
27922
28250
|
"water-heater",
|
|
27923
28251
|
"webrtc-session",
|
|
27924
28252
|
"zone-analytics",
|
|
@@ -28011,6 +28339,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
28011
28339
|
"integrations",
|
|
28012
28340
|
"local-network",
|
|
28013
28341
|
"log-destination",
|
|
28342
|
+
"login-method",
|
|
28014
28343
|
"mesh-network",
|
|
28015
28344
|
"metrics-provider",
|
|
28016
28345
|
"model-convert",
|
|
@@ -28027,6 +28356,7 @@ var SYSTEM_CAP_NAMES = [
|
|
|
28027
28356
|
"plate-gallery",
|
|
28028
28357
|
"platform-probe",
|
|
28029
28358
|
"recording",
|
|
28359
|
+
"server-management",
|
|
28030
28360
|
"settings-store",
|
|
28031
28361
|
"smtp-provider",
|
|
28032
28362
|
"sso-bridge",
|
|
@@ -28038,7 +28368,8 @@ var SYSTEM_CAP_NAMES = [
|
|
|
28038
28368
|
"toast",
|
|
28039
28369
|
"turn-provider",
|
|
28040
28370
|
"user-management",
|
|
28041
|
-
"user-passkeys"
|
|
28371
|
+
"user-passkeys",
|
|
28372
|
+
"viewer-ui"
|
|
28042
28373
|
];
|
|
28043
28374
|
//#endregion
|
|
28044
28375
|
//#region src/generated/scope-presets.ts
|
|
@@ -28595,4 +28926,4 @@ function scoreRuntimes(hw) {
|
|
|
28595
28926
|
};
|
|
28596
28927
|
}
|
|
28597
28928
|
//#endregion
|
|
28598
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveModelFormat, resolveRunnerId, resolveVariantModelId, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
28929
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENT_PAD_MS, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, advancedNotifierCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, petFeederCapability, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveRunnerId, resolveVariantModelId, runInferenceStep, runtimeDevices, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IAuthProvider } from '../capabilities/auth-provider.cap.js';
|
|
2
|
+
import type { ILoginMethodProvider } from '../capabilities/login-method.cap.js';
|
|
2
3
|
import type { InferProvider } from '../capabilities/capability-definition.js';
|
|
3
4
|
import type { ISnapshotOrchestrator } from '../capabilities/snapshot.cap.js';
|
|
4
5
|
import type { streamBrokerCapability } from '../capabilities/stream-broker.cap.js';
|
|
@@ -122,7 +123,9 @@ export interface CapabilityProviderMap {
|
|
|
122
123
|
'addon-widgets': InferProvider<typeof import('../capabilities/addon-widgets.cap.js').addonWidgetsCapability>;
|
|
123
124
|
'addon-widgets-source': InferProvider<typeof import('../capabilities/addon-widgets-source.cap.js').addonWidgetsSourceCapability>;
|
|
124
125
|
'admin-ui': InferProvider<typeof import('../capabilities/admin-ui.cap.js').adminUiCapability>;
|
|
126
|
+
'viewer-ui': InferProvider<typeof import('../capabilities/viewer-ui.cap.js').viewerUiCapability>;
|
|
125
127
|
'auth-provider': IAuthProvider;
|
|
128
|
+
'login-method': ILoginMethodProvider;
|
|
126
129
|
'notification-output': InferProvider<typeof import('../capabilities/notification-output.cap.js').notificationOutputCapability>;
|
|
127
130
|
'addon-routes': IAddonRouteProvider;
|
|
128
131
|
'pipeline-analytics': InferProvider<typeof import('../capabilities/pipeline-analytics.cap.js').pipelineAnalyticsCapability>;
|
|
@@ -841,6 +841,46 @@ export interface ConfigUISchemaWithValues {
|
|
|
841
841
|
tabs?: ConfigTabDeclaration[];
|
|
842
842
|
sections: ConfigSectionWithValues[];
|
|
843
843
|
}
|
|
844
|
+
/**
|
|
845
|
+
* The read-side inverse of `hydrateSchema`: flatten a hydrated
|
|
846
|
+
* `ConfigUISchemaWithValues` (what `addonSettings.getDeviceSettings` /
|
|
847
|
+
* every `get*Settings` endpoint returns) into a `key → effective value`
|
|
848
|
+
* map, recursing through `group` and `sub-tabs` layout fields exactly as
|
|
849
|
+
* `hydrateSchema` nested them. "Effective" = the field's `value`, falling
|
|
850
|
+
* back to its `default`.
|
|
851
|
+
*
|
|
852
|
+
* Structural over `unknown` (the cap wire shape is loose) so any consumer
|
|
853
|
+
* — an addon widget, an admin-ui card — can read a settings payload it
|
|
854
|
+
* received over tRPC without re-implementing the walk. Malformed input
|
|
855
|
+
* yields an empty map, never throws.
|
|
856
|
+
*/
|
|
857
|
+
/** A hydrated field's raw stored `value` and its schema `default`. */
|
|
858
|
+
export interface HydratedFieldEntry {
|
|
859
|
+
readonly value: unknown;
|
|
860
|
+
readonly default: unknown;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Base collector: flatten a hydrated `ConfigUISchemaWithValues` into
|
|
864
|
+
* `key → { value, default }`, recursing through `group` and `sub-tabs`
|
|
865
|
+
* layout fields. Keeping `value` and `default` SEPARATE (rather than
|
|
866
|
+
* pre-resolving) lets callers both read the effective value AND detect
|
|
867
|
+
* overrides (`value` differs from `default`). Structural over `unknown`;
|
|
868
|
+
* malformed input yields an empty map, never throws.
|
|
869
|
+
*/
|
|
870
|
+
export declare function collectHydratedFieldEntries(schema: unknown): Map<string, HydratedFieldEntry>;
|
|
871
|
+
/**
|
|
872
|
+
* Flatten a hydrated settings payload into `key → EFFECTIVE value`
|
|
873
|
+
* (`value ?? default`). The read-side inverse of `hydrateSchema` for the
|
|
874
|
+
* common "just give me the resolved values" case. Built on
|
|
875
|
+
* {@link collectHydratedFieldEntries}.
|
|
876
|
+
*/
|
|
877
|
+
export declare function collectHydratedFieldValues(schema: unknown): Map<string, unknown>;
|
|
878
|
+
/**
|
|
879
|
+
* Read one field's effective value out of a hydrated settings payload —
|
|
880
|
+
* convenience wrapper over {@link collectHydratedFieldValues} for the
|
|
881
|
+
* single-field case. Returns `undefined` when the field is absent.
|
|
882
|
+
*/
|
|
883
|
+
export declare function resolveHydratedFieldValue(schema: unknown, key: string): unknown;
|
|
844
884
|
/**
|
|
845
885
|
* Merge a `ConfigUISchema` with a raw `values` record into a
|
|
846
886
|
* `ConfigUISchemaWithValues`. Used by every `get*Settings` backend endpoint
|