@camstack/types 1.1.44 → 1.1.46
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.js +3 -2
- package/dist/addon.mjs +2 -1
- package/dist/capabilities/cap-router-predicates.d.ts +43 -0
- package/dist/capabilities/custom-model-registry.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +2 -0
- package/dist/capabilities/model-distributor.cap.d.ts +4 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +44 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +2 -0
- package/dist/capabilities/platform-probe.cap.d.ts +8 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +7 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +78 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +15 -0
- package/dist/enums.mjs +12 -0
- package/dist/event-category-BXd6yeJi.js +547 -0
- package/dist/event-category-CFZs3jI4.mjs +542 -0
- package/dist/generated/addon-api.d.ts +108 -4
- package/dist/index.js +171 -19
- package/dist/index.mjs +167 -18
- package/dist/inference/runtime-capabilities.d.ts +1 -1
- package/dist/interfaces/addon.d.ts +5 -1
- package/dist/interfaces/event-bus.d.ts +11 -1
- package/dist/interfaces/platform.d.ts +17 -0
- package/dist/{sleep-DkhOVOjW.mjs → sleep-Br7r_3fq.mjs} +2 -534
- package/dist/{sleep-k6I1e98_.js → sleep-Vh_bux78.js} +4 -542
- package/dist/types/models.d.ts +5 -0
- package/dist/types/pipeline-step.d.ts +20 -2
- package/package.json +6 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as
|
|
1
|
+
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as DisposerChain, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-Br7r_3fq.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-CFZs3jI4.mjs";
|
|
3
|
+
import { EventSourceType } from "./enums.mjs";
|
|
2
4
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
3
5
|
import { z } from "zod";
|
|
4
6
|
//#region src/health/wiring-health.ts
|
|
@@ -155,6 +157,15 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
155
157
|
width: z.number(),
|
|
156
158
|
height: z.number()
|
|
157
159
|
}),
|
|
160
|
+
/**
|
|
161
|
+
* Channel count of the model input tensor. Omit ⇒ 3 (RGB), the default for
|
|
162
|
+
* every detector / classifier / embedder. Set to 1 for a grayscale CTC text
|
|
163
|
+
* recognizer (EasyOCR VGG plate-OCR: input `[N,1,H,W]`) so the preprocess
|
|
164
|
+
* feeds a single-channel, EasyOCR-normalized tensor instead of the default
|
|
165
|
+
* 3-channel RGB one. Threaded through `PoolModelConfig.inputChannels` to the
|
|
166
|
+
* Python inference pool.
|
|
167
|
+
*/
|
|
168
|
+
inputChannels: z.number().int().positive().optional(),
|
|
158
169
|
labels: z.array(LabelDefinitionSchema).readonly(),
|
|
159
170
|
inputLayout: z.enum(["nchw", "nhwc"]).optional(),
|
|
160
171
|
inputNormalization: z.enum([
|
|
@@ -164,6 +175,16 @@ var ModelCatalogEntrySchema = z.object({
|
|
|
164
175
|
]).optional(),
|
|
165
176
|
preprocessMode: z.enum(["letterbox", "resize"]).optional(),
|
|
166
177
|
/**
|
|
178
|
+
* Per-MODEL postprocessor override. Absent ⇒ the step's own
|
|
179
|
+
* `StepDefinition.postprocessor` applies (the normal case — every model in a
|
|
180
|
+
* step shares its decode). Set it when a step hosts models with DIFFERENT raw
|
|
181
|
+
* output layouts under one slot: e.g. object-detection is `'yolo'` by default,
|
|
182
|
+
* but a Coral SSD MobileNet build emits the `TFLite_Detection_PostProcess`
|
|
183
|
+
* 4-tensor layout and needs `'ssd'`. Threaded into `PoolModelConfig.postprocessor`
|
|
184
|
+
* by the engine factory (`modelEntry.postprocessor ?? def.postprocessor`).
|
|
185
|
+
*/
|
|
186
|
+
postprocessor: z.custom().optional(),
|
|
187
|
+
/**
|
|
167
188
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
168
189
|
* onto the canonical template) before this step runs, instead of a plain
|
|
169
190
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -1459,16 +1480,6 @@ var DEFAULT_RETENTION = {
|
|
|
1459
1480
|
snapshotsDays: 14
|
|
1460
1481
|
};
|
|
1461
1482
|
//#endregion
|
|
1462
|
-
//#region src/enums/event-source-type.ts
|
|
1463
|
-
var EventSourceType = /* @__PURE__ */ function(EventSourceType) {
|
|
1464
|
-
EventSourceType["Addon"] = "addon";
|
|
1465
|
-
EventSourceType["Core"] = "core";
|
|
1466
|
-
EventSourceType["Device"] = "device";
|
|
1467
|
-
EventSourceType["Provider"] = "provider";
|
|
1468
|
-
EventSourceType["System"] = "system";
|
|
1469
|
-
return EventSourceType;
|
|
1470
|
-
}({});
|
|
1471
|
-
//#endregion
|
|
1472
1483
|
//#region src/constants.ts
|
|
1473
1484
|
var HF_REPO = "camstack/camstack-models";
|
|
1474
1485
|
var HF_BASE_URL = `https://huggingface.co/${HF_REPO}/resolve/main`;
|
|
@@ -7612,7 +7623,8 @@ var EngineProvisioningSchema = z.object({
|
|
|
7612
7623
|
runtimeId: z.enum([
|
|
7613
7624
|
"onnx",
|
|
7614
7625
|
"openvino",
|
|
7615
|
-
"coreml"
|
|
7626
|
+
"coreml",
|
|
7627
|
+
"edgetpu"
|
|
7616
7628
|
]).nullable(),
|
|
7617
7629
|
device: z.string().nullable(),
|
|
7618
7630
|
state: z.enum([
|
|
@@ -10653,6 +10665,36 @@ var ZoneScopeBreakdownSchema = PerScopeBreakdownSchema.extend({
|
|
|
10653
10665
|
* with the per-track detail panel and live overlay. */
|
|
10654
10666
|
trackIds: z.array(z.string()).readonly()
|
|
10655
10667
|
});
|
|
10668
|
+
/**
|
|
10669
|
+
* A parked ("stationary") object surfaced alongside occupancy — an object that
|
|
10670
|
+
* settled and stopped moving. It is NO LONGER a tracked object (the tracker was
|
|
10671
|
+
* told to forget it so it stops re-spawning tracks/events), but it IS still
|
|
10672
|
+
* physically present, so it keeps counting toward `frame` occupancy and is
|
|
10673
|
+
* listed here so the UI can show it in a dedicated "Stationary" section instead
|
|
10674
|
+
* of flooding the live event feed.
|
|
10675
|
+
*/
|
|
10676
|
+
var StationaryObjectSchema = z.object({
|
|
10677
|
+
id: z.string(),
|
|
10678
|
+
className: z.string(),
|
|
10679
|
+
bbox: z.object({
|
|
10680
|
+
x: z.number(),
|
|
10681
|
+
y: z.number(),
|
|
10682
|
+
w: z.number(),
|
|
10683
|
+
h: z.number()
|
|
10684
|
+
}),
|
|
10685
|
+
frameWidth: z.number().int().nonnegative(),
|
|
10686
|
+
frameHeight: z.number().int().nonnegative(),
|
|
10687
|
+
/** When the source track was first seen. */
|
|
10688
|
+
firstSeenAt: z.number().int(),
|
|
10689
|
+
/** When the object was recognised as parked (promotion time). */
|
|
10690
|
+
becameStationaryAt: z.number().int(),
|
|
10691
|
+
/** Last frame a detection confirmed the object is still there. */
|
|
10692
|
+
lastConfirmedAt: z.number().int(),
|
|
10693
|
+
/** Enrichment label carried from the source track (identity / plate). */
|
|
10694
|
+
label: z.string().optional(),
|
|
10695
|
+
/** Native-resolution key-frame media key for the parked object's best image. */
|
|
10696
|
+
keyFrameMediaKey: z.string().optional()
|
|
10697
|
+
});
|
|
10656
10698
|
var CameraOccupancySnapshotSchema = z.object({
|
|
10657
10699
|
/** Frame timestamp of the inference result that produced this snapshot. */
|
|
10658
10700
|
ts: z.number().int(),
|
|
@@ -10661,10 +10703,15 @@ var CameraOccupancySnapshotSchema = z.object({
|
|
|
10661
10703
|
frameHeight: z.number().int().nonnegative(),
|
|
10662
10704
|
/** Per-zone breakdown — one entry per defined zone (user + onboard). */
|
|
10663
10705
|
zones: z.array(ZoneScopeBreakdownSchema).readonly(),
|
|
10664
|
-
/** Frame-wide aggregate (everywhere, regardless of zone membership).
|
|
10706
|
+
/** Frame-wide aggregate (everywhere, regardless of zone membership).
|
|
10707
|
+
* INCLUDES currently-confirmed stationary objects (they are still present). */
|
|
10665
10708
|
frame: PerScopeBreakdownSchema,
|
|
10666
10709
|
/** Detections that landed outside every zone. Empty when no zones defined. */
|
|
10667
|
-
unzoned: PerScopeBreakdownSchema
|
|
10710
|
+
unzoned: PerScopeBreakdownSchema,
|
|
10711
|
+
/** Parked objects on this camera (additive — absent on legacy snapshots).
|
|
10712
|
+
* Surfaced separately so the UI shows them in a dedicated section rather
|
|
10713
|
+
* than as repeated tracks/events. */
|
|
10714
|
+
stationaryObjects: z.array(StationaryObjectSchema).readonly().optional()
|
|
10668
10715
|
});
|
|
10669
10716
|
/**
|
|
10670
10717
|
* Time-series resolution. The history methods return one bucket per
|
|
@@ -15202,6 +15249,64 @@ function looseSchema(schema) {
|
|
|
15202
15249
|
const loose = schema.loose;
|
|
15203
15250
|
return typeof loose === "function" ? loose.call(schema) : schema;
|
|
15204
15251
|
}
|
|
15252
|
+
/**
|
|
15253
|
+
* Derive a COLLECTION-cap routing `addonId` from a NON-array mutation input
|
|
15254
|
+
* when the caller did NOT supply the top-level `{ addonId }` selector.
|
|
15255
|
+
*
|
|
15256
|
+
* Background: a `scope:'system', mode:'collection'` cap fans its ARRAY methods
|
|
15257
|
+
* (`listTargets`, `listTargetKinds`, …) across every provider, but routes each
|
|
15258
|
+
* single-object method (`send` / CRUD) to ONE provider. The runtime router
|
|
15259
|
+
* strips a TOP-LEVEL `addonId` selector and routes it via
|
|
15260
|
+
* `getProviderByAddonId`; absent that selector it falls through to the FIRST
|
|
15261
|
+
* registered provider — which misroutes (or hard-crashes on a partial provider)
|
|
15262
|
+
* when the target is owned by a DIFFERENT provider. See
|
|
15263
|
+
* `notification-output.cap.ts` (`Target.addonId` / `TargetKind.addonId` are
|
|
15264
|
+
* "stamped by each provider so the concat-fanned catalog stays routable").
|
|
15265
|
+
*
|
|
15266
|
+
* That routing `addonId` is ALREADY carried inside the mutation payload the
|
|
15267
|
+
* caller sends — e.g. `upsertTarget({ target: { …, addonId } })`. This helper
|
|
15268
|
+
* recovers it: it scans the input's DIRECT child object properties (bounded to
|
|
15269
|
+
* one level, first match wins) for a string `addonId`. Mirrors the child-side
|
|
15270
|
+
* `extractArgsAddonId` fallback in `child-cap-dispatch.ts`, which reads a
|
|
15271
|
+
* top-level `addonId` off the raw args; this covers the one-level-nested case
|
|
15272
|
+
* the top-level scan misses.
|
|
15273
|
+
*
|
|
15274
|
+
* Only used for non-array collection methods (array fan-out is never rerouted),
|
|
15275
|
+
* so it can never collapse a catalog aggregation onto a single provider. `null`
|
|
15276
|
+
* / non-object inputs yield `undefined` (fall back to the first provider,
|
|
15277
|
+
* preserving single-provider and id-only-payload back-compat).
|
|
15278
|
+
*/
|
|
15279
|
+
function extractNestedAddonId(input) {
|
|
15280
|
+
if (input === null || typeof input !== "object") return void 0;
|
|
15281
|
+
for (const value of Object.values(input)) if (value !== null && typeof value === "object") {
|
|
15282
|
+
const nested = value.addonId;
|
|
15283
|
+
if (typeof nested === "string") return nested;
|
|
15284
|
+
}
|
|
15285
|
+
}
|
|
15286
|
+
/**
|
|
15287
|
+
* True when an OBJECT input schema declares a top-level `addonId` field.
|
|
15288
|
+
*
|
|
15289
|
+
* Such a cap method routes explicitly via the top-level `{ addonId }` selector
|
|
15290
|
+
* (the `llm.generate` / `deleteProfile` posture). The runtime router therefore
|
|
15291
|
+
* MUST NOT also fall back to {@link extractNestedAddonId} for it — that would
|
|
15292
|
+
* let an incidental nested `addonId` (e.g. a key inside a free-form `jsonSchema`
|
|
15293
|
+
* record) hijack routing. Nested recovery is reserved for methods whose input
|
|
15294
|
+
* carries NO top-level selector but embeds the owning `addonId` inside a domain
|
|
15295
|
+
* entity (`upsertTarget({ target: { addonId } })`, `upsertProfile({ profile })`).
|
|
15296
|
+
*
|
|
15297
|
+
* Accepts both Zod 4 (`.shape` / `_def.shape`) and legacy shapes; returns false
|
|
15298
|
+
* for non-object schemas.
|
|
15299
|
+
*/
|
|
15300
|
+
function objectInputDeclaresAddonId(schema) {
|
|
15301
|
+
if (schema === null || typeof schema !== "object" && typeof schema !== "function") return false;
|
|
15302
|
+
const direct = schema.shape;
|
|
15303
|
+
const shape = direct !== void 0 && direct !== null ? direct : resolveDefShape(schema._def?.shape);
|
|
15304
|
+
return shape !== void 0 && shape !== null && typeof shape === "object" && Object.prototype.hasOwnProperty.call(shape, "addonId");
|
|
15305
|
+
}
|
|
15306
|
+
/** `_def.shape` may be a thunk (Zod defers object-shape evaluation) or a plain record. */
|
|
15307
|
+
function resolveDefShape(defShape) {
|
|
15308
|
+
return typeof defShape === "function" ? defShape() : defShape;
|
|
15309
|
+
}
|
|
15205
15310
|
/** Auth level → base-procedure key. `superAdmin` collapses to `admin`. */
|
|
15206
15311
|
function procedureAuthKey(auth) {
|
|
15207
15312
|
if (auth === "public") return "public";
|
|
@@ -18085,6 +18190,22 @@ var TrackSnapshotSchema = z.object({
|
|
|
18085
18190
|
/** MediaStore key; resolve via `getTrackMedia({ trackId })`. */
|
|
18086
18191
|
mediaKey: z.string()
|
|
18087
18192
|
});
|
|
18193
|
+
/**
|
|
18194
|
+
* One audio-classification label heard on the track's camera while the
|
|
18195
|
+
* track was alive, aggregated per label. An "episode" is one persisted
|
|
18196
|
+
* audio event (the confident-classification path: score ≥ the device's
|
|
18197
|
+
* `classificationMinScore`, class-change-or-heartbeat coalesced) — NOT
|
|
18198
|
+
* one 32 ms inference chunk, so counts stay human-scaled.
|
|
18199
|
+
*/
|
|
18200
|
+
var TrackAudioLabelSchema = z.object({
|
|
18201
|
+
label: z.string(),
|
|
18202
|
+
/** Highest classification score observed across the label's episodes. */
|
|
18203
|
+
peakScore: z.number(),
|
|
18204
|
+
/** Number of coalesced audio-event episodes carrying this label. */
|
|
18205
|
+
count: z.number(),
|
|
18206
|
+
firstAt: z.number(),
|
|
18207
|
+
lastAt: z.number()
|
|
18208
|
+
});
|
|
18088
18209
|
var TrackSchema = z.object({
|
|
18089
18210
|
trackId: z.string(),
|
|
18090
18211
|
deviceId: z.number(),
|
|
@@ -18116,7 +18237,11 @@ var TrackSchema = z.object({
|
|
|
18116
18237
|
bestEventId: z.string().optional(),
|
|
18117
18238
|
/** Tag of the importance sub-signal that dominated the score
|
|
18118
18239
|
* (identity|dwell|proximity|class|confidence|travel|zone). */
|
|
18119
|
-
importanceReason: z.string().optional()
|
|
18240
|
+
importanceReason: z.string().optional(),
|
|
18241
|
+
/** Audio-classification labels heard on the camera during the track's
|
|
18242
|
+
* life (score ≥ device `classificationMinScore`), aggregated per label.
|
|
18243
|
+
* Absent on legacy rows / tracks with no confident audio. */
|
|
18244
|
+
audioLabels: z.array(TrackAudioLabelSchema).readonly().optional()
|
|
18120
18245
|
});
|
|
18121
18246
|
var BaseEventFields = {
|
|
18122
18247
|
id: z.string(),
|
|
@@ -20391,7 +20516,15 @@ var webrtcSessionCapability = {
|
|
|
20391
20516
|
*/
|
|
20392
20517
|
disableIpv6: z.boolean().optional(),
|
|
20393
20518
|
/** Subscriber attribution. See `createSession` for the contract. */
|
|
20394
|
-
consumerAttribution: BrokerConsumerAttributionSchema.optional()
|
|
20519
|
+
consumerAttribution: BrokerConsumerAttributionSchema.optional(),
|
|
20520
|
+
/**
|
|
20521
|
+
* Client-side stream hints (viewport, downlink) — same contract as
|
|
20522
|
+
* `createSession.hints`. Client-offer viewers (the RN viewer's
|
|
20523
|
+
* `WebrtcLiveSession`) negotiate via `handleOffer`, so without this
|
|
20524
|
+
* field their hints were silently stripped by the schema and the
|
|
20525
|
+
* adaptive ladder started blind on the client's display size.
|
|
20526
|
+
*/
|
|
20527
|
+
hints: webrtcClientHintsSchema.optional()
|
|
20395
20528
|
}), z.object({
|
|
20396
20529
|
sessionId: z.string(),
|
|
20397
20530
|
sdpAnswer: z.string()
|
|
@@ -22751,6 +22884,10 @@ var GpuInfoSchema = z.object({
|
|
|
22751
22884
|
memoryMB: z.number().optional()
|
|
22752
22885
|
});
|
|
22753
22886
|
var NpuInfoSchema = z.object({ type: z.enum(["apple-ane", "intel-npu"]) });
|
|
22887
|
+
var CoralInfoSchema = z.object({
|
|
22888
|
+
type: z.literal("coral-edgetpu"),
|
|
22889
|
+
bus: z.string().optional()
|
|
22890
|
+
});
|
|
22754
22891
|
var HardwareInfoSchema = z.object({
|
|
22755
22892
|
platform: HardwarePlatformSchema,
|
|
22756
22893
|
arch: HardwareArchSchema,
|
|
@@ -22759,7 +22896,8 @@ var HardwareInfoSchema = z.object({
|
|
|
22759
22896
|
totalRAM_MB: z.number(),
|
|
22760
22897
|
availableRAM_MB: z.number(),
|
|
22761
22898
|
gpu: GpuInfoSchema.nullable(),
|
|
22762
|
-
npu: NpuInfoSchema.nullable()
|
|
22899
|
+
npu: NpuInfoSchema.nullable(),
|
|
22900
|
+
coral: CoralInfoSchema.nullable().optional()
|
|
22763
22901
|
});
|
|
22764
22902
|
var PlatformScoreSchema = z.object({
|
|
22765
22903
|
runtime: z.enum(["node", "python"]),
|
|
@@ -30098,6 +30236,10 @@ var CPU = {
|
|
|
30098
30236
|
value: "cpu",
|
|
30099
30237
|
label: "CPU"
|
|
30100
30238
|
};
|
|
30239
|
+
var USB = {
|
|
30240
|
+
value: "usb",
|
|
30241
|
+
label: "Coral USB"
|
|
30242
|
+
};
|
|
30101
30243
|
var RUNTIMES = [
|
|
30102
30244
|
{
|
|
30103
30245
|
id: "onnx",
|
|
@@ -30156,6 +30298,12 @@ var RUNTIMES = [
|
|
|
30156
30298
|
return out;
|
|
30157
30299
|
},
|
|
30158
30300
|
defaultDevice: "all"
|
|
30301
|
+
},
|
|
30302
|
+
{
|
|
30303
|
+
id: "edgetpu",
|
|
30304
|
+
supports: (hw) => hw?.coral != null,
|
|
30305
|
+
devices: () => [USB],
|
|
30306
|
+
defaultDevice: "usb"
|
|
30159
30307
|
}
|
|
30160
30308
|
];
|
|
30161
30309
|
function def(id) {
|
|
@@ -30188,6 +30336,7 @@ function defaultDeviceFor(id) {
|
|
|
30188
30336
|
* Delegates to `formatForRuntime` from runtime-mapping.ts.
|
|
30189
30337
|
*/
|
|
30190
30338
|
function modelFormatForRuntime(id) {
|
|
30339
|
+
if (id === "edgetpu") return "tflite";
|
|
30191
30340
|
return formatForRuntime(id);
|
|
30192
30341
|
}
|
|
30193
30342
|
/**
|
|
@@ -30247,4 +30396,4 @@ function scoreRuntimes(hw) {
|
|
|
30247
30396
|
};
|
|
30248
30397
|
}
|
|
30249
30398
|
//#endregion
|
|
30250
|
-
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, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, 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, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, 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, PasskeyLoginMethodSchema, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, 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, TrackCascadeCountsSchema, 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, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, 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, sceneMonitorCapability, 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 };
|
|
30399
|
+
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, KeyEventSchema, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, 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, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, 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, PasskeyLoginMethodSchema, 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, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, 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, StationaryObjectSchema, 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, TrackCascadeCountsSchema, 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, extractNestedAddonId, 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, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, 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, objectInputDeclaresAddonId, 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, sceneMonitorCapability, 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 };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import type { ModelFormat } from '../types/models.js';
|
|
11
11
|
import type { HardwareInfo, PlatformScore } from '../interfaces/platform.js';
|
|
12
|
-
export type RuntimeId = 'onnx' | 'openvino' | 'coreml';
|
|
12
|
+
export type RuntimeId = 'onnx' | 'openvino' | 'coreml' | 'edgetpu';
|
|
13
13
|
export interface DeviceOption {
|
|
14
14
|
readonly value: string;
|
|
15
15
|
readonly label: string;
|
|
@@ -352,7 +352,7 @@ export interface IKernelHwAccel {
|
|
|
352
352
|
*/
|
|
353
353
|
readonly resolve: (prefer?: HwAccelBackend | 'none' | null) => Promise<HwAccelResolution>;
|
|
354
354
|
}
|
|
355
|
-
/** THIS node's inference accelerators (gpu/npu), probed locally in-process. */
|
|
355
|
+
/** THIS node's inference accelerators (gpu/npu/coral), probed locally in-process. */
|
|
356
356
|
export interface KernelInferenceHardware {
|
|
357
357
|
readonly gpu: {
|
|
358
358
|
readonly type: string;
|
|
@@ -360,6 +360,10 @@ export interface KernelInferenceHardware {
|
|
|
360
360
|
readonly npu: {
|
|
361
361
|
readonly type: string;
|
|
362
362
|
} | null;
|
|
363
|
+
/** Coral USB Edge TPU, when present (gates the `edgetpu` runtime). */
|
|
364
|
+
readonly coral?: {
|
|
365
|
+
readonly type: string;
|
|
366
|
+
} | null;
|
|
363
367
|
}
|
|
364
368
|
export interface IKernelInferenceEngine {
|
|
365
369
|
/**
|
|
@@ -173,6 +173,16 @@ export interface PipelineAnalyticsTrackLifecyclePayload {
|
|
|
173
173
|
readonly positionsCount?: number;
|
|
174
174
|
readonly importance?: number;
|
|
175
175
|
readonly importanceReason?: string;
|
|
176
|
+
/** Audio-classification labels heard on the camera during the track's
|
|
177
|
+
* life (score ≥ device `classificationMinScore`), aggregated per label —
|
|
178
|
+
* best-so-far at `update`, final at `end`. Mirrors `Track.audioLabels`. */
|
|
179
|
+
readonly audioLabels?: ReadonlyArray<{
|
|
180
|
+
readonly label: string;
|
|
181
|
+
readonly peakScore: number;
|
|
182
|
+
readonly count: number;
|
|
183
|
+
readonly firstAt: number;
|
|
184
|
+
readonly lastAt: number;
|
|
185
|
+
}>;
|
|
176
186
|
/** The current best image, addressable over HTTP. */
|
|
177
187
|
readonly media?: {
|
|
178
188
|
readonly keyFrameMediaKey?: string;
|
|
@@ -936,7 +946,7 @@ export interface EventCatalog {
|
|
|
936
946
|
* every state change. Phase 2.
|
|
937
947
|
*/
|
|
938
948
|
'pipeline.engine-provisioning': {
|
|
939
|
-
readonly runtimeId: 'onnx' | 'openvino' | 'coreml' | null;
|
|
949
|
+
readonly runtimeId: 'onnx' | 'openvino' | 'coreml' | 'edgetpu' | null;
|
|
940
950
|
readonly device: string | null;
|
|
941
951
|
readonly state: 'idle' | 'installing' | 'verifying' | 'ready' | 'failed';
|
|
942
952
|
readonly progress?: number;
|
|
@@ -8,6 +8,12 @@ export interface HardwareInfo {
|
|
|
8
8
|
readonly availableRAM_MB: number;
|
|
9
9
|
readonly gpu: GpuInfo | null;
|
|
10
10
|
readonly npu: NpuInfo | null;
|
|
11
|
+
/**
|
|
12
|
+
* Coral USB Edge TPU, when present. Optional so existing HardwareInfo
|
|
13
|
+
* construction sites and older cross-node probe reports stay valid; absent /
|
|
14
|
+
* null ⇒ no Coral ⇒ the `edgetpu` runtime is withheld.
|
|
15
|
+
*/
|
|
16
|
+
readonly coral?: CoralInfo | null;
|
|
11
17
|
}
|
|
12
18
|
export interface GpuInfo {
|
|
13
19
|
readonly type: 'nvidia' | 'amd' | 'intel' | 'apple';
|
|
@@ -17,6 +23,17 @@ export interface GpuInfo {
|
|
|
17
23
|
export interface NpuInfo {
|
|
18
24
|
readonly type: 'apple-ane' | 'intel-npu';
|
|
19
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Coral USB Edge TPU (Google Coral). A discrete USB inference accelerator that
|
|
28
|
+
* coexists with the host GPU/NPU (e.g. the Unraid hub carries both an Intel NPU
|
|
29
|
+
* and a Coral). Tracked separately from {@link NpuInfo} so its presence gates
|
|
30
|
+
* the `edgetpu` inference runtime without colliding with the Intel-NPU signal.
|
|
31
|
+
*/
|
|
32
|
+
export interface CoralInfo {
|
|
33
|
+
readonly type: 'coral-edgetpu';
|
|
34
|
+
/** Bus location hint (e.g. `usb`), informational. */
|
|
35
|
+
readonly bus?: string;
|
|
36
|
+
}
|
|
20
37
|
/** A probed backend with availability and score */
|
|
21
38
|
export interface PlatformScore {
|
|
22
39
|
readonly runtime: 'node' | 'python';
|