@camstack/types 1.1.43 → 1.1.44
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/advanced-notifier.cap.d.ts +4 -0
- package/dist/capabilities/cap-router-predicates.d.ts +17 -0
- package/dist/capabilities/capability-definition.d.ts +1 -1
- package/dist/capabilities/custom-model-registry.cap.d.ts +20 -0
- package/dist/capabilities/index.d.ts +13 -6
- package/dist/capabilities/llm-runtime.cap.d.ts +286 -0
- package/dist/capabilities/llm-shared.d.ts +104 -0
- package/dist/capabilities/llm.cap.d.ts +596 -0
- package/dist/capabilities/login-method.cap.d.ts +53 -7
- package/dist/capabilities/model-convert.cap.d.ts +11 -0
- package/dist/capabilities/model-distributor.cap.d.ts +22 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +101 -25
- package/dist/capabilities/pipeline-executor.cap.d.ts +22 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +16 -0
- package/dist/capabilities/plate-gallery.cap.d.ts +114 -0
- package/dist/capabilities/platform-probe.cap.d.ts +1 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +483 -0
- package/dist/enums/event-category.d.ts +33 -0
- package/dist/generated/addon-api.d.ts +2745 -647
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/capability-router-map.d.ts +13 -4
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/provider-kind-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +3 -1
- package/dist/index.js +1135 -38
- package/dist/index.mjs +1103 -39
- package/dist/interfaces/advanced-notifier.d.ts +2 -0
- package/dist/interfaces/event-bus.d.ts +96 -1
- package/dist/{sleep-Baang_XW.mjs → sleep-DkhOVOjW.mjs} +47 -0
- package/dist/{sleep-DmvEGsRg.js → sleep-k6I1e98_.js} +47 -0
- package/dist/types/models.d.ts +33 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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 EventCategory, 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, xt as DisposerChain, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-
|
|
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 EventCategory, 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, xt as DisposerChain, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-DkhOVOjW.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
|
|
@@ -68,7 +68,8 @@ var MODEL_FORMATS = [
|
|
|
68
68
|
"coreml",
|
|
69
69
|
"openvino",
|
|
70
70
|
"tflite",
|
|
71
|
-
"pt"
|
|
71
|
+
"pt",
|
|
72
|
+
"gguf"
|
|
72
73
|
];
|
|
73
74
|
/**
|
|
74
75
|
* Multi-file format payload.
|
|
@@ -112,7 +113,8 @@ var ModelFormatsSchema = z.object({
|
|
|
112
113
|
coreml: ModelFormatEntrySchema.optional(),
|
|
113
114
|
openvino: ModelFormatEntrySchema.optional(),
|
|
114
115
|
tflite: ModelFormatEntrySchema.optional(),
|
|
115
|
-
pt: ModelFormatEntrySchema.optional()
|
|
116
|
+
pt: ModelFormatEntrySchema.optional(),
|
|
117
|
+
gguf: ModelFormatEntrySchema.optional()
|
|
116
118
|
});
|
|
117
119
|
/**
|
|
118
120
|
* Variant-selector grouping axes. Shared by the full `ModelCatalogEntry` and by
|
|
@@ -7514,7 +7516,8 @@ var ModelFormatSchema$1 = z.enum([
|
|
|
7514
7516
|
"coreml",
|
|
7515
7517
|
"openvino",
|
|
7516
7518
|
"tflite",
|
|
7517
|
-
"pt"
|
|
7519
|
+
"pt",
|
|
7520
|
+
"gguf"
|
|
7518
7521
|
]);
|
|
7519
7522
|
var PipelineSlotSchema = z.enum([
|
|
7520
7523
|
"detector",
|
|
@@ -9712,6 +9715,169 @@ var ptzAutotrackCapability = {
|
|
|
9712
9715
|
runtimeState: PtzAutotrackRuntimeStateSchema
|
|
9713
9716
|
};
|
|
9714
9717
|
//#endregion
|
|
9718
|
+
//#region src/capabilities/scene-monitor.cap.ts
|
|
9719
|
+
/**
|
|
9720
|
+
* scene-monitor — device-scoped reference-region state cap. An operator marks
|
|
9721
|
+
* a rect ROI on a camera frame and names one or more states; the engine
|
|
9722
|
+
* (pipeline-analytics, designated post-processing node) reports which state is
|
|
9723
|
+
* active on an ongoing basis. Two operator-selectable check modes share every-
|
|
9724
|
+
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
9725
|
+
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
9726
|
+
*
|
|
9727
|
+
* D14 device-config archetype (`deviceConfig.ui.kind:'widget'`) — the framework
|
|
9728
|
+
* derives the device-detail contribution; the provider carries NO hand-written
|
|
9729
|
+
* settings-contribution methods. `status.kind:'push'` — the engine pushes on
|
|
9730
|
+
* every hysteresis flip / availability change; consumers never poll.
|
|
9731
|
+
*/
|
|
9732
|
+
/** Extensible condition tag. Seeded 'day' | 'night'; open by design so more can
|
|
9733
|
+
* be added without a wire break (matching falls back to any-condition refs). */
|
|
9734
|
+
var SceneConditionSchema = z.string();
|
|
9735
|
+
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
9736
|
+
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
9737
|
+
var SceneReferenceSchema = z.object({
|
|
9738
|
+
embedding: z.array(z.number()),
|
|
9739
|
+
modelId: z.string(),
|
|
9740
|
+
condition: SceneConditionSchema,
|
|
9741
|
+
capturedAt: z.number(),
|
|
9742
|
+
thumbnailMediaId: z.string().optional()
|
|
9743
|
+
});
|
|
9744
|
+
var SceneMonitorStateSchema = z.object({
|
|
9745
|
+
id: z.string(),
|
|
9746
|
+
label: z.string(),
|
|
9747
|
+
references: z.array(SceneReferenceSchema),
|
|
9748
|
+
textPrompts: z.array(z.string()).optional(),
|
|
9749
|
+
referenceCount: z.number(),
|
|
9750
|
+
currentlyMatched: z.boolean()
|
|
9751
|
+
});
|
|
9752
|
+
/** Per-mode comparator params in a discriminated union so an `llm` scene never
|
|
9753
|
+
* carries similarity knobs and vice-versa. */
|
|
9754
|
+
var SceneCheckSchema = z.discriminatedUnion("mode", [z.object({
|
|
9755
|
+
mode: z.literal("similarity"),
|
|
9756
|
+
threshold: z.number().min(0).max(1),
|
|
9757
|
+
hysteresisCount: z.number().int().positive()
|
|
9758
|
+
}), z.object({
|
|
9759
|
+
mode: z.literal("llm"),
|
|
9760
|
+
prompt: z.string(),
|
|
9761
|
+
profileId: z.string().optional(),
|
|
9762
|
+
hysteresisCount: z.number().int().positive()
|
|
9763
|
+
})]);
|
|
9764
|
+
var SceneMonitorSchema = z.object({
|
|
9765
|
+
id: z.string(),
|
|
9766
|
+
label: z.string(),
|
|
9767
|
+
roi: MaskRectShapeSchema,
|
|
9768
|
+
enabled: z.boolean(),
|
|
9769
|
+
triggerMode: z.enum([
|
|
9770
|
+
"periodic",
|
|
9771
|
+
"on-motion",
|
|
9772
|
+
"both"
|
|
9773
|
+
]),
|
|
9774
|
+
checkIntervalSec: z.number().optional(),
|
|
9775
|
+
check: SceneCheckSchema,
|
|
9776
|
+
states: z.array(SceneMonitorStateSchema),
|
|
9777
|
+
currentStateId: z.string().nullable(),
|
|
9778
|
+
lastCheckedAt: z.number().nullable(),
|
|
9779
|
+
lastConfidence: z.number().nullable(),
|
|
9780
|
+
currentCondition: SceneConditionSchema.nullable(),
|
|
9781
|
+
availability: z.enum(["ok", "unavailable"]),
|
|
9782
|
+
unavailableReason: z.string().nullable()
|
|
9783
|
+
});
|
|
9784
|
+
var SceneMonitorStatusSchema = z.object({
|
|
9785
|
+
monitors: z.array(SceneMonitorSchema),
|
|
9786
|
+
lastFetchedAt: z.number()
|
|
9787
|
+
});
|
|
9788
|
+
var sceneMonitorCapability = {
|
|
9789
|
+
name: "scene-monitor",
|
|
9790
|
+
scope: "device",
|
|
9791
|
+
mode: "singleton",
|
|
9792
|
+
kind: "wrapper",
|
|
9793
|
+
defaultActive: true,
|
|
9794
|
+
deviceTypes: [DeviceType.Camera],
|
|
9795
|
+
deviceConfig: { ui: {
|
|
9796
|
+
kind: "widget",
|
|
9797
|
+
widgetId: "host/scene-monitor-editor",
|
|
9798
|
+
tab: "scenes",
|
|
9799
|
+
label: "Scenes"
|
|
9800
|
+
} },
|
|
9801
|
+
methods: {
|
|
9802
|
+
listScenes: method(z.object({ deviceId: z.number() }), SceneMonitorStatusSchema),
|
|
9803
|
+
createScene: method(z.object({
|
|
9804
|
+
deviceId: z.number(),
|
|
9805
|
+
label: z.string(),
|
|
9806
|
+
roi: MaskRectShapeSchema,
|
|
9807
|
+
check: SceneCheckSchema,
|
|
9808
|
+
triggerMode: z.enum([
|
|
9809
|
+
"periodic",
|
|
9810
|
+
"on-motion",
|
|
9811
|
+
"both"
|
|
9812
|
+
]).optional(),
|
|
9813
|
+
checkIntervalSec: z.number().optional()
|
|
9814
|
+
}), SceneMonitorSchema, {
|
|
9815
|
+
kind: "mutation",
|
|
9816
|
+
auth: "admin"
|
|
9817
|
+
}),
|
|
9818
|
+
updateScene: method(z.object({
|
|
9819
|
+
deviceId: z.number(),
|
|
9820
|
+
monitorId: z.string(),
|
|
9821
|
+
patch: z.object({
|
|
9822
|
+
label: z.string().optional(),
|
|
9823
|
+
roi: MaskRectShapeSchema.optional(),
|
|
9824
|
+
enabled: z.boolean().optional(),
|
|
9825
|
+
triggerMode: z.enum([
|
|
9826
|
+
"periodic",
|
|
9827
|
+
"on-motion",
|
|
9828
|
+
"both"
|
|
9829
|
+
]).optional(),
|
|
9830
|
+
checkIntervalSec: z.number().optional(),
|
|
9831
|
+
check: SceneCheckSchema.optional()
|
|
9832
|
+
})
|
|
9833
|
+
}), z.void(), {
|
|
9834
|
+
kind: "mutation",
|
|
9835
|
+
auth: "admin"
|
|
9836
|
+
}),
|
|
9837
|
+
deleteScene: method(z.object({
|
|
9838
|
+
deviceId: z.number(),
|
|
9839
|
+
monitorId: z.string()
|
|
9840
|
+
}), z.void(), {
|
|
9841
|
+
kind: "mutation",
|
|
9842
|
+
auth: "admin"
|
|
9843
|
+
}),
|
|
9844
|
+
captureReference: method(z.object({
|
|
9845
|
+
deviceId: z.number(),
|
|
9846
|
+
monitorId: z.string(),
|
|
9847
|
+
stateId: z.string().optional(),
|
|
9848
|
+
label: z.string().optional(),
|
|
9849
|
+
condition: SceneConditionSchema.optional()
|
|
9850
|
+
}), z.object({
|
|
9851
|
+
stateId: z.string(),
|
|
9852
|
+
referenceCount: z.number()
|
|
9853
|
+
}), {
|
|
9854
|
+
kind: "mutation",
|
|
9855
|
+
auth: "admin"
|
|
9856
|
+
}),
|
|
9857
|
+
deleteReference: method(z.object({
|
|
9858
|
+
deviceId: z.number(),
|
|
9859
|
+
monitorId: z.string(),
|
|
9860
|
+
stateId: z.string(),
|
|
9861
|
+
index: z.number()
|
|
9862
|
+
}), z.void(), {
|
|
9863
|
+
kind: "mutation",
|
|
9864
|
+
auth: "admin"
|
|
9865
|
+
}),
|
|
9866
|
+
recheckNow: method(z.object({
|
|
9867
|
+
deviceId: z.number(),
|
|
9868
|
+
monitorId: z.string()
|
|
9869
|
+
}), z.void(), {
|
|
9870
|
+
kind: "mutation",
|
|
9871
|
+
auth: "admin"
|
|
9872
|
+
})
|
|
9873
|
+
},
|
|
9874
|
+
status: {
|
|
9875
|
+
schema: SceneMonitorStatusSchema,
|
|
9876
|
+
kind: "push"
|
|
9877
|
+
},
|
|
9878
|
+
runtimeState: SceneMonitorStatusSchema
|
|
9879
|
+
};
|
|
9880
|
+
//#endregion
|
|
9715
9881
|
//#region src/capabilities/script-runner.cap.ts
|
|
9716
9882
|
/**
|
|
9717
9883
|
* Script-runner cap. Models HA `script.*` entities on
|
|
@@ -10798,6 +10964,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
10798
10964
|
pressureSensor: pressureSensorCapability,
|
|
10799
10965
|
privacyMask: privacyMaskCapability,
|
|
10800
10966
|
ptzAutotrack: ptzAutotrackCapability,
|
|
10967
|
+
sceneMonitor: sceneMonitorCapability,
|
|
10801
10968
|
scriptRunner: scriptRunnerCapability,
|
|
10802
10969
|
smoke: smokeCapability,
|
|
10803
10970
|
streamParams: streamParamsCapability,
|
|
@@ -12557,6 +12724,27 @@ function createSystemProxy(api) {
|
|
|
12557
12724
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input),
|
|
12558
12725
|
testConnection: (input) => dispatch("integrations", "testConnection", "mutation", input)
|
|
12559
12726
|
},
|
|
12727
|
+
llm: {
|
|
12728
|
+
generate: (input) => dispatch("llm", "generate", "mutation", input),
|
|
12729
|
+
generateVision: (input) => dispatch("llm", "generateVision", "mutation", input),
|
|
12730
|
+
listProfileKinds: (input) => dispatch("llm", "listProfileKinds", "query", input),
|
|
12731
|
+
listProfiles: (input) => dispatch("llm", "listProfiles", "query", input),
|
|
12732
|
+
upsertProfile: (input) => dispatch("llm", "upsertProfile", "mutation", input),
|
|
12733
|
+
deleteProfile: (input) => dispatch("llm", "deleteProfile", "mutation", input),
|
|
12734
|
+
testProfile: (input) => dispatch("llm", "testProfile", "mutation", input),
|
|
12735
|
+
listModels: (input) => dispatch("llm", "listModels", "query", input),
|
|
12736
|
+
getDefaults: (input) => dispatch("llm", "getDefaults", "query", input),
|
|
12737
|
+
setDefault: (input) => dispatch("llm", "setDefault", "mutation", input),
|
|
12738
|
+
getUsage: (input) => dispatch("llm", "getUsage", "query", input),
|
|
12739
|
+
listModelCatalog: (input) => dispatch("llm", "listModelCatalog", "query", input),
|
|
12740
|
+
listRuntimeNodes: (input) => dispatch("llm", "listRuntimeNodes", "query", input),
|
|
12741
|
+
listNodeModels: (input) => dispatch("llm", "listNodeModels", "query", input),
|
|
12742
|
+
installModel: (input) => dispatch("llm", "installModel", "mutation", input),
|
|
12743
|
+
deleteModel: (input) => dispatch("llm", "deleteModel", "mutation", input),
|
|
12744
|
+
getRuntimeStatus: (input) => dispatch("llm", "getRuntimeStatus", "query", input),
|
|
12745
|
+
startRuntime: (input) => dispatch("llm", "startRuntime", "mutation", input),
|
|
12746
|
+
stopRuntime: (input) => dispatch("llm", "stopRuntime", "mutation", input)
|
|
12747
|
+
},
|
|
12560
12748
|
localNetwork: {
|
|
12561
12749
|
list: (input) => dispatch("localNetwork", "list", "query", input),
|
|
12562
12750
|
getPreferred: (input) => dispatch("localNetwork", "getPreferred", "query", input),
|
|
@@ -12706,7 +12894,17 @@ function createSystemProxy(api) {
|
|
|
12706
12894
|
searchPlates: (input) => dispatch("plateGallery", "searchPlates", "query", input),
|
|
12707
12895
|
suggestPlateClusters: (input) => dispatch("plateGallery", "suggestPlateClusters", "query", input),
|
|
12708
12896
|
correctPlateText: (input) => dispatch("plateGallery", "correctPlateText", "mutation", input),
|
|
12709
|
-
deletePlate: (input) => dispatch("plateGallery", "deletePlate", "mutation", input)
|
|
12897
|
+
deletePlate: (input) => dispatch("plateGallery", "deletePlate", "mutation", input),
|
|
12898
|
+
listVehicles: (input) => dispatch("plateGallery", "listVehicles", "query", input),
|
|
12899
|
+
createVehicle: (input) => dispatch("plateGallery", "createVehicle", "mutation", input),
|
|
12900
|
+
renameVehicle: (input) => dispatch("plateGallery", "renameVehicle", "mutation", input),
|
|
12901
|
+
deleteVehicle: (input) => dispatch("plateGallery", "deleteVehicle", "mutation", input),
|
|
12902
|
+
listVehicleSamples: (input) => dispatch("plateGallery", "listVehicleSamples", "query", input),
|
|
12903
|
+
removeVehicleSample: (input) => dispatch("plateGallery", "removeVehicleSample", "mutation", input),
|
|
12904
|
+
assignPlate: (input) => dispatch("plateGallery", "assignPlate", "mutation", input),
|
|
12905
|
+
unassignPlate: (input) => dispatch("plateGallery", "unassignPlate", "mutation", input),
|
|
12906
|
+
assignPlates: (input) => dispatch("plateGallery", "assignPlates", "mutation", input),
|
|
12907
|
+
unassignPlates: (input) => dispatch("plateGallery", "unassignPlates", "mutation", input)
|
|
12710
12908
|
},
|
|
12711
12909
|
recording: { getStorageUsage: (input) => dispatch("recording", "getStorageUsage", "query", input) },
|
|
12712
12910
|
serverManagement: {
|
|
@@ -13908,7 +14106,12 @@ var NotificationRuleConditionsSchema = z.object({
|
|
|
13908
14106
|
clipDescription: z.object({
|
|
13909
14107
|
text: z.string().min(1),
|
|
13910
14108
|
minSimilarity: z.number().min(0).max(1)
|
|
13911
|
-
}).optional()
|
|
14109
|
+
}).optional(),
|
|
14110
|
+
/** Match events whose recognized-entity label (face identity name or plate
|
|
14111
|
+
* vehicle name, propagated onto `event.data.label`) is one of these values.
|
|
14112
|
+
* Empty/absent → unaffected (back-compat). Enables "notify me when <named
|
|
14113
|
+
* vehicle/person> is seen". */
|
|
14114
|
+
labels: z.array(z.string()).readonly().optional()
|
|
13912
14115
|
});
|
|
13913
14116
|
var NotificationRuleTemplateSchema = z.object({
|
|
13914
14117
|
title: z.string(),
|
|
@@ -14338,11 +14541,19 @@ var authProviderCapability = {
|
|
|
14338
14541
|
* login page needs NO change.
|
|
14339
14542
|
*
|
|
14340
14543
|
* - `widget` — a Module-Federation widget the login page mounts (via
|
|
14341
|
-
* `loadRemoteBundle`) for an in-page ceremony.
|
|
14342
|
-
*
|
|
14343
|
-
*
|
|
14344
|
-
*
|
|
14345
|
-
*
|
|
14544
|
+
* `loadRemoteBundle`) for an in-page ceremony. `auth.listLoginMethods`
|
|
14545
|
+
* stamps a public `bundleUrl` from `addonId` + `bundle`. Generic
|
|
14546
|
+
* mechanism kept for future use; no shipped addon uses it on the login
|
|
14547
|
+
* page (the passkey ceremony below runs natively in the shell instead).
|
|
14548
|
+
*
|
|
14549
|
+
* - `passkey` — a declarative WebAuthn ceremony the shell renders
|
|
14550
|
+
* natively (`@simplewebauthn/browser` lives in `addon-admin-ui`, not in
|
|
14551
|
+
* a remotely-loaded bundle). Carries the addon's effective `rpId` /
|
|
14552
|
+
* `origin` (from its `resolveRpID()` / `resolveOrigin()`) so the shell
|
|
14553
|
+
* can gate visibility (IP-literal origin, hostname/rpId mismatch) WITHOUT
|
|
14554
|
+
* fetching any remote code pre-auth. Contribution stays unconditional —
|
|
14555
|
+
* enrollment state is never leaked pre-auth; visibility is a shell
|
|
14556
|
+
* decision.
|
|
14346
14557
|
*
|
|
14347
14558
|
* Every contribution carries a `stage`:
|
|
14348
14559
|
* - `primary` — shown on the first credentials screen (OIDC /
|
|
@@ -14391,8 +14602,30 @@ var WidgetLoginMethodSchema = z.object({
|
|
|
14391
14602
|
remote: WidgetRemoteSchema,
|
|
14392
14603
|
stage: LoginStageEnum
|
|
14393
14604
|
});
|
|
14394
|
-
/**
|
|
14395
|
-
|
|
14605
|
+
/**
|
|
14606
|
+
* A declarative WebAuthn ceremony the shell renders natively (no remote
|
|
14607
|
+
* code). Carries the addon's EFFECTIVE `rpId`/`origin` so the shell can
|
|
14608
|
+
* gate visibility (IP-literal origin, hostname/rpId mismatch) before ever
|
|
14609
|
+
* showing the button — the contribution itself stays unconditional.
|
|
14610
|
+
*/
|
|
14611
|
+
var PasskeyLoginMethodSchema = z.object({
|
|
14612
|
+
kind: z.literal("passkey"),
|
|
14613
|
+
/** Stable id within the login-method set (e.g. `auth-webauthn/passkey-direct-login`). */
|
|
14614
|
+
id: z.string(),
|
|
14615
|
+
/** Operator-facing button label. */
|
|
14616
|
+
label: z.string(),
|
|
14617
|
+
stage: LoginStageEnum,
|
|
14618
|
+
/** Effective WebAuthn RP ID (`resolveRpID()`) — the shell gates visibility on it. */
|
|
14619
|
+
rpId: z.string(),
|
|
14620
|
+
/** Effective expected origin (`resolveOrigin()`), null when unconfigured. */
|
|
14621
|
+
origin: z.string().nullable()
|
|
14622
|
+
});
|
|
14623
|
+
/** One login-method contribution — redirect button, pre-auth widget, or native passkey ceremony. */
|
|
14624
|
+
var LoginMethodContributionSchema = z.discriminatedUnion("kind", [
|
|
14625
|
+
RedirectLoginMethodSchema,
|
|
14626
|
+
WidgetLoginMethodSchema,
|
|
14627
|
+
PasskeyLoginMethodSchema
|
|
14628
|
+
]);
|
|
14396
14629
|
var loginMethodCapability = {
|
|
14397
14630
|
name: "login-method",
|
|
14398
14631
|
scope: "system",
|
|
@@ -14914,18 +15147,6 @@ var cameraPipelineConfigCapability = {
|
|
|
14914
15147
|
};
|
|
14915
15148
|
//#endregion
|
|
14916
15149
|
//#region src/capabilities/cap-router-predicates.ts
|
|
14917
|
-
/**
|
|
14918
|
-
* Shared cap-router predicates — the SINGLE source for the structural Zod-shape
|
|
14919
|
-
* checks + naming used by BOTH the runtime cap-router builder
|
|
14920
|
-
* (`@camstack/system` `cap-router-builder.ts` + the server's
|
|
14921
|
-
* `cap-router-runtime.ts`) AND the codegen scripts (`scripts/generate-cap-*.ts`).
|
|
14922
|
-
*
|
|
14923
|
-
* These used to be independently reimplemented on each side, held in sync only
|
|
14924
|
-
* by "must stay byte-identical" comments — a live drift risk. Consolidating them
|
|
14925
|
-
* here (next to `resolveCapMount` / `expandCapMethods`, the other shared model)
|
|
14926
|
-
* makes the two paths provably agree. Each predicate accepts both Zod 4
|
|
14927
|
-
* (`_def.type`) and legacy Zod 3 (`_def.typeName` / `constructor.name`) shapes.
|
|
14928
|
-
*/
|
|
14929
15150
|
/** `z.void()` — input carries no data. */
|
|
14930
15151
|
function isVoidInput(schema) {
|
|
14931
15152
|
const def = schema._def;
|
|
@@ -14953,6 +15174,26 @@ function isArrayOutputSchema(schema) {
|
|
|
14953
15174
|
return false;
|
|
14954
15175
|
}
|
|
14955
15176
|
/**
|
|
15177
|
+
* True when `method` on cap `def` is a COLLECTION cap's array-returning
|
|
15178
|
+
* (non-subscription) method — the methods whose contract is "union the result
|
|
15179
|
+
* across every registered provider" (`listTargets`, `listTargetKinds`,
|
|
15180
|
+
* `discoverTargets`, `listEndpoints`, …).
|
|
15181
|
+
*
|
|
15182
|
+
* Such a method is aggregated at the hub via `concatCollection` / the runtime
|
|
15183
|
+
* `concatArrayMethod`, both of which SKIP a provider that doesn't implement it
|
|
15184
|
+
* (contributes `[]`). That local skip is invisible across the UDS boundary — a
|
|
15185
|
+
* hub-side per-provider proxy fabricates a callable for every property, so the
|
|
15186
|
+
* call reaches the child's real (possibly partial) provider. This predicate lets
|
|
15187
|
+
* the child-side dispatcher reproduce the same graceful skip: a missing method
|
|
15188
|
+
* here yields `[]`, not a "method not found" error. Singleton caps and non-array
|
|
15189
|
+
* methods return `false` so a genuinely missing method still surfaces as a bug.
|
|
15190
|
+
*/
|
|
15191
|
+
function isCollectionArrayMethod(def, method) {
|
|
15192
|
+
if (def === void 0 || def.mode !== "collection") return false;
|
|
15193
|
+
const m = expandCapMethods(def)[method];
|
|
15194
|
+
return m !== void 0 && m.kind !== "subscription" && isArrayOutputSchema(m.output);
|
|
15195
|
+
}
|
|
15196
|
+
/**
|
|
14956
15197
|
* Apply `.loose()` to an object input schema when available (Zod 4) so the
|
|
14957
15198
|
* router accepts the out-of-band `nodeId`/`addonId` selector keys without
|
|
14958
15199
|
* stripping them. Falls back to the schema unchanged when `.loose()` is absent.
|
|
@@ -17211,14 +17452,14 @@ var TargetKindCapsSchema = z.object({
|
|
|
17211
17452
|
* the union is large and not meant for runtime validation here; the exported
|
|
17212
17453
|
* `TargetKind` type re-tightens `configSchema` to `ConfigUISchema`.
|
|
17213
17454
|
*/
|
|
17214
|
-
var ConfigSchemaPassthrough = z.unknown();
|
|
17455
|
+
var ConfigSchemaPassthrough$1 = z.unknown();
|
|
17215
17456
|
var TargetKindSchema = z.object({
|
|
17216
17457
|
kind: z.string(),
|
|
17217
17458
|
label: z.string(),
|
|
17218
17459
|
icon: z.string(),
|
|
17219
17460
|
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
17220
17461
|
addonId: z.string(),
|
|
17221
|
-
configSchema: ConfigSchemaPassthrough,
|
|
17462
|
+
configSchema: ConfigSchemaPassthrough$1,
|
|
17222
17463
|
supportsDiscovery: z.boolean(),
|
|
17223
17464
|
caps: TargetKindCapsSchema
|
|
17224
17465
|
});
|
|
@@ -17285,6 +17526,352 @@ var notificationOutputCapability = {
|
|
|
17285
17526
|
}
|
|
17286
17527
|
};
|
|
17287
17528
|
//#endregion
|
|
17529
|
+
//#region src/capabilities/llm-shared.ts
|
|
17530
|
+
/**
|
|
17531
|
+
* Shared LLM generate contracts — imported by BOTH `llm.cap.ts` (consumer
|
|
17532
|
+
* surface) and `llm-runtime.cap.ts` (node-side managed executor) so the two
|
|
17533
|
+
* caps stay wire-compatible without a circular cap→cap import.
|
|
17534
|
+
*
|
|
17535
|
+
* Errors are a discriminated-union RESULT, never thrown: the shape survives
|
|
17536
|
+
* every transport tier structurally, and failed calls still write usage rows.
|
|
17537
|
+
* Token counts only in v1 — no costUsd (operator decision, 2026-07-15).
|
|
17538
|
+
*/
|
|
17539
|
+
var LlmUsageSchema = z.object({
|
|
17540
|
+
inputTokens: z.number(),
|
|
17541
|
+
outputTokens: z.number()
|
|
17542
|
+
});
|
|
17543
|
+
var LlmErrorCodeSchema = z.enum([
|
|
17544
|
+
"timeout",
|
|
17545
|
+
"rate-limited",
|
|
17546
|
+
"auth",
|
|
17547
|
+
"refusal",
|
|
17548
|
+
"bad-request",
|
|
17549
|
+
"unavailable",
|
|
17550
|
+
"no-profile",
|
|
17551
|
+
"budget-exceeded",
|
|
17552
|
+
"adapter-error"
|
|
17553
|
+
]);
|
|
17554
|
+
var LlmGenerateOkSchema = z.object({
|
|
17555
|
+
ok: z.literal(true),
|
|
17556
|
+
text: z.string(),
|
|
17557
|
+
model: z.string(),
|
|
17558
|
+
usage: LlmUsageSchema,
|
|
17559
|
+
truncated: z.boolean(),
|
|
17560
|
+
latencyMs: z.number()
|
|
17561
|
+
});
|
|
17562
|
+
var LlmGenerateErrSchema = z.object({
|
|
17563
|
+
ok: z.literal(false),
|
|
17564
|
+
code: LlmErrorCodeSchema,
|
|
17565
|
+
message: z.string(),
|
|
17566
|
+
retryAfterMs: z.number().optional()
|
|
17567
|
+
});
|
|
17568
|
+
var LlmGenerateResultSchema = z.discriminatedUnion("ok", [LlmGenerateOkSchema, LlmGenerateErrSchema]);
|
|
17569
|
+
/**
|
|
17570
|
+
* `Uint8Array` is the sanctioned binary convention — superjson + the UDS
|
|
17571
|
+
* MsgPack channel round-trip typed arrays (embedding-encoder.cap.ts:29,
|
|
17572
|
+
* notification-output.cap.ts:27-31 precedents).
|
|
17573
|
+
*/
|
|
17574
|
+
var LlmImageSchema = z.object({
|
|
17575
|
+
bytes: z.instanceof(Uint8Array),
|
|
17576
|
+
mimeType: z.string()
|
|
17577
|
+
});
|
|
17578
|
+
var LlmGenerateBaseInputSchema = z.object({
|
|
17579
|
+
/** Collection routing (the notification-output posture). */
|
|
17580
|
+
addonId: z.string().optional(),
|
|
17581
|
+
/** Explicit profile; else the resolution chain (spec §3). */
|
|
17582
|
+
profileId: z.string().optional(),
|
|
17583
|
+
/** MANDATORY usage tag: 'ai-summary', 'notifier-rules', 'adhoc-ui', … */
|
|
17584
|
+
consumer: z.string(),
|
|
17585
|
+
system: z.string().optional(),
|
|
17586
|
+
/** v1: single-turn. `messages[]` is a v2 additive field. */
|
|
17587
|
+
prompt: z.string(),
|
|
17588
|
+
/** Structured output — adapter-mapped (response_format / forced tool / responseSchema). */
|
|
17589
|
+
jsonSchema: z.record(z.string(), z.unknown()).optional(),
|
|
17590
|
+
/** Per-call override of the profile default. */
|
|
17591
|
+
maxTokens: z.number().int().positive().optional(),
|
|
17592
|
+
temperature: z.number().optional()
|
|
17593
|
+
});
|
|
17594
|
+
//#endregion
|
|
17595
|
+
//#region src/capabilities/llm-runtime.cap.ts
|
|
17596
|
+
/**
|
|
17597
|
+
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
17598
|
+
* on EVERY node where `addon-ai` is installed; the hub `llm` provider reaches
|
|
17599
|
+
* a specific node's runtime with `nodePin(profile.runtime.nodeId)` — normal
|
|
17600
|
+
* cap routing, zero bespoke plumbing. `internal: true`: the operator reaches
|
|
17601
|
+
* this only through the `llm` cap's methods.
|
|
17602
|
+
*
|
|
17603
|
+
* One running llama-server child per node in v1 (models are RAM-heavy).
|
|
17604
|
+
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
17605
|
+
* watchdog — operator decision #3).
|
|
17606
|
+
*/
|
|
17607
|
+
var ManagedModelRefSchema = z.discriminatedUnion("kind", [
|
|
17608
|
+
z.object({
|
|
17609
|
+
kind: z.literal("catalog"),
|
|
17610
|
+
catalogId: z.string()
|
|
17611
|
+
}),
|
|
17612
|
+
z.object({
|
|
17613
|
+
kind: z.literal("url"),
|
|
17614
|
+
url: z.string(),
|
|
17615
|
+
sha256: z.string().optional()
|
|
17616
|
+
}),
|
|
17617
|
+
z.object({
|
|
17618
|
+
kind: z.literal("path"),
|
|
17619
|
+
path: z.string()
|
|
17620
|
+
})
|
|
17621
|
+
]);
|
|
17622
|
+
var ManagedRuntimeConfigSchema = z.object({
|
|
17623
|
+
/** WHERE the runtime lives — hub or any agent. */
|
|
17624
|
+
nodeId: z.string(),
|
|
17625
|
+
/** Closed for v1; 'ollama' is a v2 candidate. */
|
|
17626
|
+
engine: z.enum(["llama-cpp"]),
|
|
17627
|
+
model: ManagedModelRefSchema,
|
|
17628
|
+
contextSize: z.number().int().default(4096),
|
|
17629
|
+
/** 0 = CPU-only. */
|
|
17630
|
+
gpuLayers: z.number().int().default(0),
|
|
17631
|
+
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
17632
|
+
threads: z.number().int().optional(),
|
|
17633
|
+
/** Concurrent slots. */
|
|
17634
|
+
parallel: z.number().int().default(1),
|
|
17635
|
+
/** Else lazy: first generate boots it. */
|
|
17636
|
+
autoStart: z.boolean().default(false),
|
|
17637
|
+
/** 0 = never; frees RAM after quiet periods. */
|
|
17638
|
+
idleStopMinutes: z.number().int().default(30)
|
|
17639
|
+
});
|
|
17640
|
+
var LlmRuntimeStatusSchema = z.object({
|
|
17641
|
+
/** Status is ALWAYS node-qualified. */
|
|
17642
|
+
nodeId: z.string(),
|
|
17643
|
+
state: z.enum([
|
|
17644
|
+
"stopped",
|
|
17645
|
+
"downloading",
|
|
17646
|
+
"starting",
|
|
17647
|
+
"ready",
|
|
17648
|
+
"crashed",
|
|
17649
|
+
"failed"
|
|
17650
|
+
]),
|
|
17651
|
+
pid: z.number().optional(),
|
|
17652
|
+
port: z.number().optional(),
|
|
17653
|
+
modelPath: z.string().optional(),
|
|
17654
|
+
modelId: z.string().optional(),
|
|
17655
|
+
downloadProgress: z.number().min(0).max(1).optional(),
|
|
17656
|
+
lastError: z.string().optional(),
|
|
17657
|
+
crashesInWindow: z.number(),
|
|
17658
|
+
/** Child RSS (sampled best-effort). */
|
|
17659
|
+
memoryBytes: z.number().optional(),
|
|
17660
|
+
vramBytes: z.number().optional()
|
|
17661
|
+
});
|
|
17662
|
+
var LlmNodeModelSchema = z.object({
|
|
17663
|
+
file: z.string(),
|
|
17664
|
+
sizeBytes: z.number(),
|
|
17665
|
+
catalogId: z.string().optional(),
|
|
17666
|
+
installedAt: z.number().optional()
|
|
17667
|
+
});
|
|
17668
|
+
var LlmRuntimeDiskUsageSchema = z.object({
|
|
17669
|
+
nodeId: z.string(),
|
|
17670
|
+
modelsBytes: z.number(),
|
|
17671
|
+
freeBytes: z.number().optional()
|
|
17672
|
+
});
|
|
17673
|
+
var LlmRuntimeCompleteInputSchema = LlmGenerateBaseInputSchema.extend({
|
|
17674
|
+
images: z.array(LlmImageSchema).optional(),
|
|
17675
|
+
runtime: ManagedRuntimeConfigSchema,
|
|
17676
|
+
/** The managed profile's timeout, threaded by the hub provider. */
|
|
17677
|
+
timeoutMs: z.number().int().positive().optional()
|
|
17678
|
+
});
|
|
17679
|
+
var llmRuntimeCapability = {
|
|
17680
|
+
name: "llm-runtime",
|
|
17681
|
+
scope: "system",
|
|
17682
|
+
mode: "singleton",
|
|
17683
|
+
internal: true,
|
|
17684
|
+
methods: {
|
|
17685
|
+
complete: method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
17686
|
+
ensureStarted: method(z.object({ runtime: ManagedRuntimeConfigSchema }), LlmRuntimeStatusSchema, {
|
|
17687
|
+
kind: "mutation",
|
|
17688
|
+
auth: "admin"
|
|
17689
|
+
}),
|
|
17690
|
+
stop: method(z.object({}), z.void(), {
|
|
17691
|
+
kind: "mutation",
|
|
17692
|
+
auth: "admin"
|
|
17693
|
+
}),
|
|
17694
|
+
status: method(z.object({}), LlmRuntimeStatusSchema),
|
|
17695
|
+
installModel: method(z.object({ model: ManagedModelRefSchema }), z.void(), {
|
|
17696
|
+
kind: "mutation",
|
|
17697
|
+
auth: "admin"
|
|
17698
|
+
}),
|
|
17699
|
+
deleteModel: method(z.object({ file: z.string() }), z.void(), {
|
|
17700
|
+
kind: "mutation",
|
|
17701
|
+
auth: "admin"
|
|
17702
|
+
}),
|
|
17703
|
+
listLocalModels: method(z.object({}), z.array(LlmNodeModelSchema)),
|
|
17704
|
+
getDiskUsage: method(z.object({}), LlmRuntimeDiskUsageSchema)
|
|
17705
|
+
}
|
|
17706
|
+
};
|
|
17707
|
+
//#endregion
|
|
17708
|
+
//#region src/capabilities/llm.cap.ts
|
|
17709
|
+
/**
|
|
17710
|
+
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
17711
|
+
* methods concat-fan across providers; single-row methods route to ONE
|
|
17712
|
+
* provider by the `addonId` in the call input (the notification-output
|
|
17713
|
+
* posture, notification-output.cap.ts:215-250). Provided by `addon-ai`
|
|
17714
|
+
* (hub-placed); the cap stays open for future providers.
|
|
17715
|
+
*
|
|
17716
|
+
* Profiles are ROWS (data), not addons: one row = one usable model endpoint.
|
|
17717
|
+
* `apiKey` is a password field — providers REDACT it on read and merge on
|
|
17718
|
+
* write; a stored key NEVER round-trips to a client.
|
|
17719
|
+
*/
|
|
17720
|
+
var LlmProfileKindSchema = z.enum([
|
|
17721
|
+
"openai-compatible",
|
|
17722
|
+
"openai",
|
|
17723
|
+
"anthropic",
|
|
17724
|
+
"google",
|
|
17725
|
+
"managed-local"
|
|
17726
|
+
]);
|
|
17727
|
+
var LlmProfileSchema = z.object({
|
|
17728
|
+
id: z.string(),
|
|
17729
|
+
name: z.string(),
|
|
17730
|
+
kind: LlmProfileKindSchema,
|
|
17731
|
+
/** Stamped by the provider — keeps the fanned catalog routable. */
|
|
17732
|
+
addonId: z.string(),
|
|
17733
|
+
enabled: z.boolean(),
|
|
17734
|
+
/** Vendor model id, or the managed runtime's loaded model. */
|
|
17735
|
+
model: z.string(),
|
|
17736
|
+
/** Required for openai-compatible; override for cloud kinds. */
|
|
17737
|
+
baseUrl: z.string().optional(),
|
|
17738
|
+
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
17739
|
+
apiKey: z.string().optional(),
|
|
17740
|
+
supportsVision: z.boolean(),
|
|
17741
|
+
temperature: z.number().min(0).max(2).optional(),
|
|
17742
|
+
maxTokens: z.number().int().positive().optional(),
|
|
17743
|
+
timeoutMs: z.number().int().positive().default(6e4),
|
|
17744
|
+
extraHeaders: z.record(z.string(), z.string()).optional(),
|
|
17745
|
+
/** kind === 'managed-local' only (spec §4). */
|
|
17746
|
+
runtime: ManagedRuntimeConfigSchema.optional()
|
|
17747
|
+
});
|
|
17748
|
+
/** ConfigUISchema tree passed through untyped on the wire (the
|
|
17749
|
+
* notification-output `ConfigSchemaPassthrough` precedent at
|
|
17750
|
+
* notification-output.cap.ts:151); the exported TS type re-tightens it. */
|
|
17751
|
+
var ConfigSchemaPassthrough = z.unknown();
|
|
17752
|
+
var LlmProfileKindDescriptorSchema = z.object({
|
|
17753
|
+
kind: LlmProfileKindSchema,
|
|
17754
|
+
label: z.string(),
|
|
17755
|
+
icon: z.string(),
|
|
17756
|
+
/** Stamped by each provider so the concat-fanned catalog stays routable. */
|
|
17757
|
+
addonId: z.string(),
|
|
17758
|
+
configSchema: ConfigSchemaPassthrough
|
|
17759
|
+
});
|
|
17760
|
+
var LlmDefaultSelectorSchema = z.union([z.object({ consumer: z.string() }), z.object({ purpose: z.enum(["text", "vision"]) })]);
|
|
17761
|
+
var LlmDefaultSchema = z.object({
|
|
17762
|
+
selector: LlmDefaultSelectorSchema,
|
|
17763
|
+
profileId: z.string()
|
|
17764
|
+
});
|
|
17765
|
+
/** Server-side rollup row — getUsage never dumps raw call rows (spec §6). */
|
|
17766
|
+
var LlmUsageRollupSchema = z.object({
|
|
17767
|
+
day: z.string(),
|
|
17768
|
+
consumer: z.string(),
|
|
17769
|
+
profileId: z.string(),
|
|
17770
|
+
calls: z.number(),
|
|
17771
|
+
okCalls: z.number(),
|
|
17772
|
+
errorCalls: z.number(),
|
|
17773
|
+
inputTokens: z.number(),
|
|
17774
|
+
outputTokens: z.number(),
|
|
17775
|
+
avgLatencyMs: z.number()
|
|
17776
|
+
});
|
|
17777
|
+
/** LLM-facing view over the reused ModelCatalogEntry mechanism (spec §4.2). */
|
|
17778
|
+
var ManagedModelCatalogEntrySchema = z.object({
|
|
17779
|
+
id: z.string(),
|
|
17780
|
+
label: z.string(),
|
|
17781
|
+
family: z.string(),
|
|
17782
|
+
purpose: z.enum(["text", "vision"]),
|
|
17783
|
+
url: z.string(),
|
|
17784
|
+
sha256: z.string(),
|
|
17785
|
+
sizeBytes: z.number(),
|
|
17786
|
+
quantization: z.string(),
|
|
17787
|
+
/** Load-time guidance shown in the picker. */
|
|
17788
|
+
minRamBytes: z.number(),
|
|
17789
|
+
contextSizeDefault: z.number().int(),
|
|
17790
|
+
/** Vision models: companion projector file. */
|
|
17791
|
+
mmprojUrl: z.string().optional()
|
|
17792
|
+
});
|
|
17793
|
+
var LlmRuntimeNodeSchema = z.object({
|
|
17794
|
+
nodeId: z.string(),
|
|
17795
|
+
reachable: z.boolean(),
|
|
17796
|
+
status: LlmRuntimeStatusSchema.optional(),
|
|
17797
|
+
disk: LlmRuntimeDiskUsageSchema.optional(),
|
|
17798
|
+
error: z.string().optional()
|
|
17799
|
+
});
|
|
17800
|
+
var GenerateVisionInputSchema = LlmGenerateBaseInputSchema.extend({ images: z.array(LlmImageSchema).min(1) });
|
|
17801
|
+
var ProfileRefInputSchema = z.object({
|
|
17802
|
+
addonId: z.string(),
|
|
17803
|
+
profileId: z.string()
|
|
17804
|
+
});
|
|
17805
|
+
var llmCapability = {
|
|
17806
|
+
name: "llm",
|
|
17807
|
+
scope: "system",
|
|
17808
|
+
mode: "collection",
|
|
17809
|
+
internal: false,
|
|
17810
|
+
providerKind: "ai",
|
|
17811
|
+
/** `nodeId` inputs below are DATA (the hub provider pins itself), never routing. */
|
|
17812
|
+
nodeIdMode: "data",
|
|
17813
|
+
methods: {
|
|
17814
|
+
generate: method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
17815
|
+
generateVision: method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }),
|
|
17816
|
+
listProfileKinds: method(z.object({}), z.array(LlmProfileKindDescriptorSchema)),
|
|
17817
|
+
listProfiles: method(z.object({}), z.array(LlmProfileSchema)),
|
|
17818
|
+
upsertProfile: method(z.object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
17819
|
+
kind: "mutation",
|
|
17820
|
+
auth: "admin"
|
|
17821
|
+
}),
|
|
17822
|
+
deleteProfile: method(ProfileRefInputSchema, z.void(), {
|
|
17823
|
+
kind: "mutation",
|
|
17824
|
+
auth: "admin"
|
|
17825
|
+
}),
|
|
17826
|
+
testProfile: method(ProfileRefInputSchema, LlmGenerateResultSchema, {
|
|
17827
|
+
kind: "mutation",
|
|
17828
|
+
auth: "admin"
|
|
17829
|
+
}),
|
|
17830
|
+
/** Live vendor enumeration (GET /models etc.). */
|
|
17831
|
+
listModels: method(ProfileRefInputSchema, z.array(z.string())),
|
|
17832
|
+
getDefaults: method(z.object({}), z.array(LlmDefaultSchema)),
|
|
17833
|
+
setDefault: method(z.object({
|
|
17834
|
+
selector: LlmDefaultSelectorSchema,
|
|
17835
|
+
profileId: z.string().nullable()
|
|
17836
|
+
}), z.void(), {
|
|
17837
|
+
kind: "mutation",
|
|
17838
|
+
auth: "admin"
|
|
17839
|
+
}),
|
|
17840
|
+
getUsage: method(z.object({
|
|
17841
|
+
since: z.number().optional(),
|
|
17842
|
+
until: z.number().optional(),
|
|
17843
|
+
consumer: z.string().optional(),
|
|
17844
|
+
profileId: z.string().optional()
|
|
17845
|
+
}), z.array(LlmUsageRollupSchema)),
|
|
17846
|
+
listModelCatalog: method(z.object({}), z.array(ManagedModelCatalogEntrySchema)),
|
|
17847
|
+
listRuntimeNodes: method(z.object({}), z.array(LlmRuntimeNodeSchema)),
|
|
17848
|
+
listNodeModels: method(z.object({ nodeId: z.string() }), z.array(LlmNodeModelSchema)),
|
|
17849
|
+
installModel: method(z.object({
|
|
17850
|
+
nodeId: z.string(),
|
|
17851
|
+
model: ManagedModelRefSchema
|
|
17852
|
+
}), z.void(), {
|
|
17853
|
+
kind: "mutation",
|
|
17854
|
+
auth: "admin"
|
|
17855
|
+
}),
|
|
17856
|
+
deleteModel: method(z.object({
|
|
17857
|
+
nodeId: z.string(),
|
|
17858
|
+
file: z.string()
|
|
17859
|
+
}), z.void(), {
|
|
17860
|
+
kind: "mutation",
|
|
17861
|
+
auth: "admin"
|
|
17862
|
+
}),
|
|
17863
|
+
getRuntimeStatus: method(ProfileRefInputSchema, LlmRuntimeStatusSchema),
|
|
17864
|
+
startRuntime: method(ProfileRefInputSchema, LlmRuntimeStatusSchema, {
|
|
17865
|
+
kind: "mutation",
|
|
17866
|
+
auth: "admin"
|
|
17867
|
+
}),
|
|
17868
|
+
stopRuntime: method(ProfileRefInputSchema, z.void(), {
|
|
17869
|
+
kind: "mutation",
|
|
17870
|
+
auth: "admin"
|
|
17871
|
+
})
|
|
17872
|
+
}
|
|
17873
|
+
};
|
|
17874
|
+
//#endregion
|
|
17288
17875
|
//#region src/schemas/auth-records.ts
|
|
17289
17876
|
/**
|
|
17290
17877
|
* Zod schemas for persisted record types.
|
|
@@ -17512,6 +18099,10 @@ var TrackSchema = z.object({
|
|
|
17512
18099
|
snapshots: z.array(TrackSnapshotSchema).readonly(),
|
|
17513
18100
|
/** Deduplicated zones the track has entered at least once. */
|
|
17514
18101
|
zonesVisited: z.array(z.string()).readonly(),
|
|
18102
|
+
/** Deduplicated set of detector classes observed for this track over its
|
|
18103
|
+
* life (a track may be reclassified, e.g. person→vehicle). Absent on
|
|
18104
|
+
* legacy rows written before class accumulation shipped. */
|
|
18105
|
+
classes: z.array(z.string()).readonly().optional(),
|
|
17515
18106
|
/** Cumulative normalized distance travelled (0..1 units = full frame width). */
|
|
17516
18107
|
totalDistance: z.number(),
|
|
17517
18108
|
state: TrackStateSchema,
|
|
@@ -17681,6 +18272,23 @@ var TrackedDetectionSchema = z.object({
|
|
|
17681
18272
|
zones: z.array(z.string()).readonly(),
|
|
17682
18273
|
state: TrackStateSchema
|
|
17683
18274
|
});
|
|
18275
|
+
var OverlayDetectionSchema = z.looseObject({
|
|
18276
|
+
id: z.string(),
|
|
18277
|
+
kind: z.enum(["first-level", "detail"]),
|
|
18278
|
+
macroClass: z.string(),
|
|
18279
|
+
score: z.number(),
|
|
18280
|
+
bbox: z.object({
|
|
18281
|
+
x: z.number(),
|
|
18282
|
+
y: z.number(),
|
|
18283
|
+
width: z.number(),
|
|
18284
|
+
height: z.number()
|
|
18285
|
+
}),
|
|
18286
|
+
labels: z.array(z.looseObject({
|
|
18287
|
+
label: z.string(),
|
|
18288
|
+
score: z.number()
|
|
18289
|
+
})).readonly(),
|
|
18290
|
+
parentId: z.string().optional()
|
|
18291
|
+
});
|
|
17684
18292
|
var ScoredObjectEventSchema = ObjectEventSchema.extend({ score: z.number() });
|
|
17685
18293
|
var SearchObjectEventsInput = z.object({
|
|
17686
18294
|
text: z.string(),
|
|
@@ -17691,6 +18299,20 @@ var SearchObjectEventsInput = z.object({
|
|
|
17691
18299
|
limit: z.number().default(50),
|
|
17692
18300
|
minScore: z.number().min(0).max(1).default(.2)
|
|
17693
18301
|
});
|
|
18302
|
+
var TrackCascadeCountsSchema = z.object({
|
|
18303
|
+
/** Persisted track roots deleted (authoritative). */
|
|
18304
|
+
tracks: z.number().int(),
|
|
18305
|
+
/** Object events removed with their tracks (best-effort; see note above). */
|
|
18306
|
+
events: z.number().int(),
|
|
18307
|
+
/** Track/face/plate-owned media removed (best-effort). Never identity media. */
|
|
18308
|
+
media: z.number().int(),
|
|
18309
|
+
/** Unassigned (non-enrolled) face reads removed (best-effort). */
|
|
18310
|
+
faces: z.number().int(),
|
|
18311
|
+
/** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
|
|
18312
|
+
plates: z.number().int(),
|
|
18313
|
+
/** Per-track CLIP search vectors removed (best-effort). */
|
|
18314
|
+
embeddings: z.number().int()
|
|
18315
|
+
});
|
|
17694
18316
|
var pipelineAnalyticsCapability = {
|
|
17695
18317
|
name: "pipeline-analytics",
|
|
17696
18318
|
scope: "device",
|
|
@@ -17744,12 +18366,14 @@ var pipelineAnalyticsCapability = {
|
|
|
17744
18366
|
audio: z.number().int()
|
|
17745
18367
|
})).readonly()),
|
|
17746
18368
|
/**
|
|
17747
|
-
*
|
|
17748
|
-
*
|
|
17749
|
-
*
|
|
17750
|
-
*
|
|
17751
|
-
*
|
|
17752
|
-
*
|
|
18369
|
+
* @deprecated Prefer `pruneTracksBefore` — the track is the ROOT of the
|
|
18370
|
+
* analytics model and retention must cascade from it (design §5.1). This
|
|
18371
|
+
* event-only prune leaves orphaned tracks/faces/plates/embeddings behind.
|
|
18372
|
+
* Retained as a compat shim for the Phase-B3 recorder orchestration caller,
|
|
18373
|
+
* which prunes events to keep history aligned with available footage and
|
|
18374
|
+
* reads the per-kind counts. Delete all events (motion + object + audio)
|
|
18375
|
+
* for the given device older than `cutoffMs` (exclusive) + their thumbnails
|
|
18376
|
+
* in lockstep; returns per-kind deleted counts.
|
|
17753
18377
|
*/
|
|
17754
18378
|
pruneEventsBefore: method(z.object({
|
|
17755
18379
|
deviceId: z.number(),
|
|
@@ -17762,6 +18386,55 @@ var pipelineAnalyticsCapability = {
|
|
|
17762
18386
|
kind: "mutation",
|
|
17763
18387
|
auth: "admin"
|
|
17764
18388
|
}),
|
|
18389
|
+
/**
|
|
18390
|
+
* Track-centric retention entry point (design §5.1). Selects every
|
|
18391
|
+
* persisted track for the device whose `lastSeen < cutoffMs` (paged) and
|
|
18392
|
+
* runs the extensible whole-track deletion cascade (design §3): object
|
|
18393
|
+
* events + their media, track/face/plate-owned media, unassigned face
|
|
18394
|
+
* reads, per-track CLIP embeddings, then the track root LAST. ENROLLED
|
|
18395
|
+
* (assigned) faces/plates and `ownerKind:'identity'` media are exempt —
|
|
18396
|
+
* the durable matching gallery always persists. Fires the per-track
|
|
18397
|
+
* live-state cleanup so a pruned track can't linger in dispatch/overlay
|
|
18398
|
+
* state. Returns per-family deleted counts (`tracks` authoritative).
|
|
18399
|
+
*
|
|
18400
|
+
* Replaces `pruneEventsBefore` as the correct time-based retention prune.
|
|
18401
|
+
*/
|
|
18402
|
+
pruneTracksBefore: method(z.object({
|
|
18403
|
+
deviceId: z.number(),
|
|
18404
|
+
cutoffMs: z.number()
|
|
18405
|
+
}), TrackCascadeCountsSchema, {
|
|
18406
|
+
kind: "mutation",
|
|
18407
|
+
auth: "admin"
|
|
18408
|
+
}),
|
|
18409
|
+
/**
|
|
18410
|
+
* Operator "clean slate" for a device (design §5.3): prune EVERY track for
|
|
18411
|
+
* the device via the same cascade as `pruneTracksBefore` with `cutoffMs =
|
|
18412
|
+
* now`. One call per device — no client-side track enumeration. Enrolled
|
|
18413
|
+
* gallery + identity media are exempt (design §4). Returns per-family
|
|
18414
|
+
* deleted counts.
|
|
18415
|
+
*/
|
|
18416
|
+
wipeAllAnalytics: method(z.object({ deviceId: z.number() }), TrackCascadeCountsSchema, {
|
|
18417
|
+
kind: "mutation",
|
|
18418
|
+
auth: "admin"
|
|
18419
|
+
}),
|
|
18420
|
+
/**
|
|
18421
|
+
* Delete whole tracks (object events) by id for the given device,
|
|
18422
|
+
* cascading their media in lockstep. Returns the number of tracks
|
|
18423
|
+
* actually deleted plus the ids that could not be removed.
|
|
18424
|
+
*
|
|
18425
|
+
* Operator-driven from the DI Events page (batch delete). Routes through
|
|
18426
|
+
* the same widened track-deletion cascade (design §5.2).
|
|
18427
|
+
*/
|
|
18428
|
+
deleteTracks: method(z.object({
|
|
18429
|
+
deviceId: z.number(),
|
|
18430
|
+
trackIds: z.array(z.string()).min(1)
|
|
18431
|
+
}), z.object({
|
|
18432
|
+
deleted: z.number().int(),
|
|
18433
|
+
failed: z.array(z.string()).readonly()
|
|
18434
|
+
}), {
|
|
18435
|
+
kind: "mutation",
|
|
18436
|
+
auth: "admin"
|
|
18437
|
+
}),
|
|
17765
18438
|
getEventMedia: method(z.object({
|
|
17766
18439
|
eventId: z.string(),
|
|
17767
18440
|
kind: MediaFileKindEnum.optional()
|
|
@@ -17779,17 +18452,19 @@ var pipelineAnalyticsCapability = {
|
|
|
17779
18452
|
},
|
|
17780
18453
|
events: {
|
|
17781
18454
|
/**
|
|
17782
|
-
* Enriched frame emitted after refinement
|
|
17783
|
-
*
|
|
17784
|
-
*
|
|
17785
|
-
*
|
|
18455
|
+
* Enriched frame emitted after refinement — the live-overlay source of
|
|
18456
|
+
* truth (two-plane re-injection). Carries the frame's detections in the
|
|
18457
|
+
* `ObjectDetection` wire shape: first-level roots (with track info +
|
|
18458
|
+
* enrichment labels) plus synthesized `kind:'detail'` face/plate entries
|
|
18459
|
+
* re-projected from per-track detail state, so stream overlays render
|
|
18460
|
+
* boxes + recognized names without querying full Track state.
|
|
17786
18461
|
*/
|
|
17787
18462
|
onFrameTracked: { data: z.object({
|
|
17788
18463
|
deviceId: z.number(),
|
|
17789
18464
|
timestamp: z.number(),
|
|
17790
18465
|
frameWidth: z.number(),
|
|
17791
18466
|
frameHeight: z.number(),
|
|
17792
|
-
detections: z.array(
|
|
18467
|
+
detections: z.array(OverlayDetectionSchema).readonly()
|
|
17793
18468
|
}) },
|
|
17794
18469
|
/** Track entered active state (first-seen). */
|
|
17795
18470
|
onTrackStarted: { data: z.object({
|
|
@@ -21841,6 +22516,24 @@ setOverlay: method(z.object({
|
|
|
21841
22516
|
};
|
|
21842
22517
|
//#endregion
|
|
21843
22518
|
//#region src/capabilities/plate-gallery.cap.ts
|
|
22519
|
+
var VehicleSchema = z.object({
|
|
22520
|
+
id: z.string(),
|
|
22521
|
+
name: z.string(),
|
|
22522
|
+
sampleCount: z.number().int().nonnegative(),
|
|
22523
|
+
coverMediaKey: z.string().optional(),
|
|
22524
|
+
/** Inline base64 of the cover sample's plate crop, resolved from `coverMediaKey`. */
|
|
22525
|
+
coverBase64: z.string().optional()
|
|
22526
|
+
});
|
|
22527
|
+
var VehicleSampleInfoSchema = z.object({
|
|
22528
|
+
id: z.string(),
|
|
22529
|
+
/** The plate text this sample enrolled (self-labeling — no embedding). */
|
|
22530
|
+
text: z.string(),
|
|
22531
|
+
/** OCR confidence of the enrolled read (0..1). */
|
|
22532
|
+
score: z.number(),
|
|
22533
|
+
addedAt: z.number().int(),
|
|
22534
|
+
deviceId: z.number().int().optional(),
|
|
22535
|
+
base64: z.string().optional()
|
|
22536
|
+
});
|
|
21844
22537
|
var PlateInfoSchema = z.object({
|
|
21845
22538
|
plateId: z.string(),
|
|
21846
22539
|
deviceId: z.number().int(),
|
|
@@ -21852,6 +22545,16 @@ var PlateInfoSchema = z.object({
|
|
|
21852
22545
|
score: z.number(),
|
|
21853
22546
|
/** True when the text was manually corrected (exempt from retention). */
|
|
21854
22547
|
corrected: z.boolean(),
|
|
22548
|
+
/** Recognized vehicle id when a matcher lookup named this read (SQL NULL → absent). */
|
|
22549
|
+
recognizedVehicleId: z.string().optional(),
|
|
22550
|
+
/** Resolved vehicle name for `recognizedVehicleId` (UI convenience). */
|
|
22551
|
+
vehicleName: z.string().optional(),
|
|
22552
|
+
/** True once the read was assigned to a vehicle (enrolled as a sample). */
|
|
22553
|
+
assigned: z.boolean(),
|
|
22554
|
+
/** keyFrame parity: the plate bbox (pixel space) on the native key frame. */
|
|
22555
|
+
plateBbox: BoundingBoxSchema.optional(),
|
|
22556
|
+
/** keyFrame parity: MediaStore key of the track's native-resolution key frame. */
|
|
22557
|
+
keyFrameMediaKey: z.string().optional(),
|
|
21855
22558
|
base64: z.string().optional()
|
|
21856
22559
|
});
|
|
21857
22560
|
var MediaFileLiteSchema = z.object({
|
|
@@ -21913,6 +22616,58 @@ var plateGalleryCapability = {
|
|
|
21913
22616
|
deletePlate: method(z.object({ plateId: z.string() }), z.void(), {
|
|
21914
22617
|
kind: "mutation",
|
|
21915
22618
|
auth: "admin"
|
|
22619
|
+
}),
|
|
22620
|
+
listVehicles: method(z.void(), z.array(VehicleSchema).readonly()),
|
|
22621
|
+
createVehicle: method(z.object({ name: z.string().min(1) }), VehicleSchema, {
|
|
22622
|
+
kind: "mutation",
|
|
22623
|
+
auth: "admin"
|
|
22624
|
+
}),
|
|
22625
|
+
renameVehicle: method(z.object({
|
|
22626
|
+
id: z.string(),
|
|
22627
|
+
name: z.string().min(1)
|
|
22628
|
+
}), z.void(), {
|
|
22629
|
+
kind: "mutation",
|
|
22630
|
+
auth: "admin"
|
|
22631
|
+
}),
|
|
22632
|
+
deleteVehicle: method(z.object({ id: z.string() }), z.void(), {
|
|
22633
|
+
kind: "mutation",
|
|
22634
|
+
auth: "admin"
|
|
22635
|
+
}),
|
|
22636
|
+
listVehicleSamples: method(z.object({ vehicleId: z.string() }), z.array(VehicleSampleInfoSchema).readonly()),
|
|
22637
|
+
removeVehicleSample: method(z.object({
|
|
22638
|
+
vehicleId: z.string(),
|
|
22639
|
+
sampleId: z.string()
|
|
22640
|
+
}), z.void(), {
|
|
22641
|
+
kind: "mutation",
|
|
22642
|
+
auth: "admin"
|
|
22643
|
+
}),
|
|
22644
|
+
assignPlate: method(z.object({
|
|
22645
|
+
plateId: z.string(),
|
|
22646
|
+
vehicleId: z.string()
|
|
22647
|
+
}), z.void(), {
|
|
22648
|
+
kind: "mutation",
|
|
22649
|
+
auth: "admin"
|
|
22650
|
+
}),
|
|
22651
|
+
unassignPlate: method(z.object({ plateId: z.string() }), z.void(), {
|
|
22652
|
+
kind: "mutation",
|
|
22653
|
+
auth: "admin"
|
|
22654
|
+
}),
|
|
22655
|
+
assignPlates: method(z.object({
|
|
22656
|
+
plateIds: z.array(z.string()).min(1),
|
|
22657
|
+
vehicleId: z.string()
|
|
22658
|
+
}), z.object({
|
|
22659
|
+
assigned: z.number().int(),
|
|
22660
|
+
failed: z.array(z.string()).readonly()
|
|
22661
|
+
}), {
|
|
22662
|
+
kind: "mutation",
|
|
22663
|
+
auth: "admin"
|
|
22664
|
+
}),
|
|
22665
|
+
unassignPlates: method(z.object({ plateIds: z.array(z.string()).min(1) }), z.object({
|
|
22666
|
+
unassigned: z.number().int(),
|
|
22667
|
+
failed: z.array(z.string()).readonly()
|
|
22668
|
+
}), {
|
|
22669
|
+
kind: "mutation",
|
|
22670
|
+
auth: "admin"
|
|
21916
22671
|
})
|
|
21917
22672
|
}
|
|
21918
22673
|
};
|
|
@@ -23111,6 +23866,8 @@ var CAPABILITY_NAMES = {
|
|
|
23111
23866
|
integrations: "integrations",
|
|
23112
23867
|
intercom: "intercom",
|
|
23113
23868
|
lawnMowerControl: "lawn-mower-control",
|
|
23869
|
+
llm: "llm",
|
|
23870
|
+
llmRuntime: "llm-runtime",
|
|
23114
23871
|
localNetwork: "local-network",
|
|
23115
23872
|
lockControl: "lock-control",
|
|
23116
23873
|
logDestination: "log-destination",
|
|
@@ -23149,6 +23906,7 @@ var CAPABILITY_NAMES = {
|
|
|
23149
23906
|
ptzAutotrack: "ptz-autotrack",
|
|
23150
23907
|
reboot: "reboot",
|
|
23151
23908
|
recording: "recording",
|
|
23909
|
+
sceneMonitor: "scene-monitor",
|
|
23152
23910
|
scriptRunner: "script-runner",
|
|
23153
23911
|
serverManagement: "server-management",
|
|
23154
23912
|
settingsStore: "settings-store",
|
|
@@ -23453,6 +24211,14 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
23453
24211
|
key: "lawnMowerControl",
|
|
23454
24212
|
name: "lawn-mower-control"
|
|
23455
24213
|
},
|
|
24214
|
+
{
|
|
24215
|
+
key: "llm",
|
|
24216
|
+
name: "llm"
|
|
24217
|
+
},
|
|
24218
|
+
{
|
|
24219
|
+
key: "llmRuntime",
|
|
24220
|
+
name: "llm-runtime"
|
|
24221
|
+
},
|
|
23456
24222
|
{
|
|
23457
24223
|
key: "localNetwork",
|
|
23458
24224
|
name: "local-network"
|
|
@@ -23605,6 +24371,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
23605
24371
|
key: "recording",
|
|
23606
24372
|
name: "recording"
|
|
23607
24373
|
},
|
|
24374
|
+
{
|
|
24375
|
+
key: "sceneMonitor",
|
|
24376
|
+
name: "scene-monitor"
|
|
24377
|
+
},
|
|
23608
24378
|
{
|
|
23609
24379
|
key: "scriptRunner",
|
|
23610
24380
|
name: "script-runner"
|
|
@@ -23815,6 +24585,8 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
23815
24585
|
integrationsCapability,
|
|
23816
24586
|
intercomCapability,
|
|
23817
24587
|
lawnMowerControlCapability,
|
|
24588
|
+
llmCapability,
|
|
24589
|
+
llmRuntimeCapability,
|
|
23818
24590
|
localNetworkCapability,
|
|
23819
24591
|
lockControlCapability,
|
|
23820
24592
|
logDestinationCapability,
|
|
@@ -23853,6 +24625,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
23853
24625
|
ptzAutotrackCapability,
|
|
23854
24626
|
rebootCapability,
|
|
23855
24627
|
recordingCapability,
|
|
24628
|
+
sceneMonitorCapability,
|
|
23856
24629
|
scriptRunnerCapability,
|
|
23857
24630
|
serverManagementCapability,
|
|
23858
24631
|
settingsStoreCapability,
|
|
@@ -23949,6 +24722,7 @@ var CAP_NAMES_WITH_STATUS = [
|
|
|
23949
24722
|
"ptz",
|
|
23950
24723
|
"ptz-autotrack",
|
|
23951
24724
|
"recording",
|
|
24725
|
+
"scene-monitor",
|
|
23952
24726
|
"script-runner",
|
|
23953
24727
|
"smoke",
|
|
23954
24728
|
"snapshot",
|
|
@@ -25874,6 +26648,168 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
25874
26648
|
addonId: null,
|
|
25875
26649
|
access: "create"
|
|
25876
26650
|
},
|
|
26651
|
+
"llm.deleteModel": {
|
|
26652
|
+
capName: "llm",
|
|
26653
|
+
capScope: "system",
|
|
26654
|
+
addonId: null,
|
|
26655
|
+
access: "delete"
|
|
26656
|
+
},
|
|
26657
|
+
"llm.deleteProfile": {
|
|
26658
|
+
capName: "llm",
|
|
26659
|
+
capScope: "system",
|
|
26660
|
+
addonId: null,
|
|
26661
|
+
access: "delete"
|
|
26662
|
+
},
|
|
26663
|
+
"llm.generate": {
|
|
26664
|
+
capName: "llm",
|
|
26665
|
+
capScope: "system",
|
|
26666
|
+
addonId: null,
|
|
26667
|
+
access: "create"
|
|
26668
|
+
},
|
|
26669
|
+
"llm.generateVision": {
|
|
26670
|
+
capName: "llm",
|
|
26671
|
+
capScope: "system",
|
|
26672
|
+
addonId: null,
|
|
26673
|
+
access: "create"
|
|
26674
|
+
},
|
|
26675
|
+
"llm.getDefaults": {
|
|
26676
|
+
capName: "llm",
|
|
26677
|
+
capScope: "system",
|
|
26678
|
+
addonId: null,
|
|
26679
|
+
access: "view"
|
|
26680
|
+
},
|
|
26681
|
+
"llm.getRuntimeStatus": {
|
|
26682
|
+
capName: "llm",
|
|
26683
|
+
capScope: "system",
|
|
26684
|
+
addonId: null,
|
|
26685
|
+
access: "view"
|
|
26686
|
+
},
|
|
26687
|
+
"llm.getUsage": {
|
|
26688
|
+
capName: "llm",
|
|
26689
|
+
capScope: "system",
|
|
26690
|
+
addonId: null,
|
|
26691
|
+
access: "view"
|
|
26692
|
+
},
|
|
26693
|
+
"llm.installModel": {
|
|
26694
|
+
capName: "llm",
|
|
26695
|
+
capScope: "system",
|
|
26696
|
+
addonId: null,
|
|
26697
|
+
access: "create"
|
|
26698
|
+
},
|
|
26699
|
+
"llm.listModelCatalog": {
|
|
26700
|
+
capName: "llm",
|
|
26701
|
+
capScope: "system",
|
|
26702
|
+
addonId: null,
|
|
26703
|
+
access: "view"
|
|
26704
|
+
},
|
|
26705
|
+
"llm.listModels": {
|
|
26706
|
+
capName: "llm",
|
|
26707
|
+
capScope: "system",
|
|
26708
|
+
addonId: null,
|
|
26709
|
+
access: "view"
|
|
26710
|
+
},
|
|
26711
|
+
"llm.listNodeModels": {
|
|
26712
|
+
capName: "llm",
|
|
26713
|
+
capScope: "system",
|
|
26714
|
+
addonId: null,
|
|
26715
|
+
access: "view"
|
|
26716
|
+
},
|
|
26717
|
+
"llm.listProfileKinds": {
|
|
26718
|
+
capName: "llm",
|
|
26719
|
+
capScope: "system",
|
|
26720
|
+
addonId: null,
|
|
26721
|
+
access: "view"
|
|
26722
|
+
},
|
|
26723
|
+
"llm.listProfiles": {
|
|
26724
|
+
capName: "llm",
|
|
26725
|
+
capScope: "system",
|
|
26726
|
+
addonId: null,
|
|
26727
|
+
access: "view"
|
|
26728
|
+
},
|
|
26729
|
+
"llm.listRuntimeNodes": {
|
|
26730
|
+
capName: "llm",
|
|
26731
|
+
capScope: "system",
|
|
26732
|
+
addonId: null,
|
|
26733
|
+
access: "view"
|
|
26734
|
+
},
|
|
26735
|
+
"llm.setDefault": {
|
|
26736
|
+
capName: "llm",
|
|
26737
|
+
capScope: "system",
|
|
26738
|
+
addonId: null,
|
|
26739
|
+
access: "create"
|
|
26740
|
+
},
|
|
26741
|
+
"llm.startRuntime": {
|
|
26742
|
+
capName: "llm",
|
|
26743
|
+
capScope: "system",
|
|
26744
|
+
addonId: null,
|
|
26745
|
+
access: "create"
|
|
26746
|
+
},
|
|
26747
|
+
"llm.stopRuntime": {
|
|
26748
|
+
capName: "llm",
|
|
26749
|
+
capScope: "system",
|
|
26750
|
+
addonId: null,
|
|
26751
|
+
access: "create"
|
|
26752
|
+
},
|
|
26753
|
+
"llm.testProfile": {
|
|
26754
|
+
capName: "llm",
|
|
26755
|
+
capScope: "system",
|
|
26756
|
+
addonId: null,
|
|
26757
|
+
access: "create"
|
|
26758
|
+
},
|
|
26759
|
+
"llm.upsertProfile": {
|
|
26760
|
+
capName: "llm",
|
|
26761
|
+
capScope: "system",
|
|
26762
|
+
addonId: null,
|
|
26763
|
+
access: "create"
|
|
26764
|
+
},
|
|
26765
|
+
"llmRuntime.complete": {
|
|
26766
|
+
capName: "llm-runtime",
|
|
26767
|
+
capScope: "system",
|
|
26768
|
+
addonId: null,
|
|
26769
|
+
access: "create"
|
|
26770
|
+
},
|
|
26771
|
+
"llmRuntime.deleteModel": {
|
|
26772
|
+
capName: "llm-runtime",
|
|
26773
|
+
capScope: "system",
|
|
26774
|
+
addonId: null,
|
|
26775
|
+
access: "delete"
|
|
26776
|
+
},
|
|
26777
|
+
"llmRuntime.ensureStarted": {
|
|
26778
|
+
capName: "llm-runtime",
|
|
26779
|
+
capScope: "system",
|
|
26780
|
+
addonId: null,
|
|
26781
|
+
access: "create"
|
|
26782
|
+
},
|
|
26783
|
+
"llmRuntime.getDiskUsage": {
|
|
26784
|
+
capName: "llm-runtime",
|
|
26785
|
+
capScope: "system",
|
|
26786
|
+
addonId: null,
|
|
26787
|
+
access: "view"
|
|
26788
|
+
},
|
|
26789
|
+
"llmRuntime.installModel": {
|
|
26790
|
+
capName: "llm-runtime",
|
|
26791
|
+
capScope: "system",
|
|
26792
|
+
addonId: null,
|
|
26793
|
+
access: "create"
|
|
26794
|
+
},
|
|
26795
|
+
"llmRuntime.listLocalModels": {
|
|
26796
|
+
capName: "llm-runtime",
|
|
26797
|
+
capScope: "system",
|
|
26798
|
+
addonId: null,
|
|
26799
|
+
access: "view"
|
|
26800
|
+
},
|
|
26801
|
+
"llmRuntime.status": {
|
|
26802
|
+
capName: "llm-runtime",
|
|
26803
|
+
capScope: "system",
|
|
26804
|
+
addonId: null,
|
|
26805
|
+
access: "view"
|
|
26806
|
+
},
|
|
26807
|
+
"llmRuntime.stop": {
|
|
26808
|
+
capName: "llm-runtime",
|
|
26809
|
+
capScope: "system",
|
|
26810
|
+
addonId: null,
|
|
26811
|
+
access: "create"
|
|
26812
|
+
},
|
|
25877
26813
|
"localNetwork.getAllowedAddresses": {
|
|
25878
26814
|
capName: "local-network",
|
|
25879
26815
|
capScope: "system",
|
|
@@ -26504,6 +27440,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26504
27440
|
addonId: null,
|
|
26505
27441
|
access: "delete"
|
|
26506
27442
|
},
|
|
27443
|
+
"pipelineAnalytics.deleteTracks": {
|
|
27444
|
+
capName: "pipeline-analytics",
|
|
27445
|
+
capScope: "device",
|
|
27446
|
+
addonId: null,
|
|
27447
|
+
access: "delete"
|
|
27448
|
+
},
|
|
26507
27449
|
"pipelineAnalytics.getActiveTracks": {
|
|
26508
27450
|
capName: "pipeline-analytics",
|
|
26509
27451
|
capScope: "device",
|
|
@@ -26570,12 +27512,24 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26570
27512
|
addonId: null,
|
|
26571
27513
|
access: "create"
|
|
26572
27514
|
},
|
|
27515
|
+
"pipelineAnalytics.pruneTracksBefore": {
|
|
27516
|
+
capName: "pipeline-analytics",
|
|
27517
|
+
capScope: "device",
|
|
27518
|
+
addonId: null,
|
|
27519
|
+
access: "create"
|
|
27520
|
+
},
|
|
26573
27521
|
"pipelineAnalytics.searchObjectEvents": {
|
|
26574
27522
|
capName: "pipeline-analytics",
|
|
26575
27523
|
capScope: "device",
|
|
26576
27524
|
addonId: null,
|
|
26577
27525
|
access: "view"
|
|
26578
27526
|
},
|
|
27527
|
+
"pipelineAnalytics.wipeAllAnalytics": {
|
|
27528
|
+
capName: "pipeline-analytics",
|
|
27529
|
+
capScope: "device",
|
|
27530
|
+
addonId: null,
|
|
27531
|
+
access: "delete"
|
|
27532
|
+
},
|
|
26579
27533
|
"pipelineExecutor.cacheFrameInPool": {
|
|
26580
27534
|
capName: "pipeline-executor",
|
|
26581
27535
|
capScope: "system",
|
|
@@ -27080,18 +28034,42 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
27080
28034
|
addonId: null,
|
|
27081
28035
|
access: "create"
|
|
27082
28036
|
},
|
|
28037
|
+
"plateGallery.assignPlate": {
|
|
28038
|
+
capName: "plate-gallery",
|
|
28039
|
+
capScope: "system",
|
|
28040
|
+
addonId: null,
|
|
28041
|
+
access: "create"
|
|
28042
|
+
},
|
|
28043
|
+
"plateGallery.assignPlates": {
|
|
28044
|
+
capName: "plate-gallery",
|
|
28045
|
+
capScope: "system",
|
|
28046
|
+
addonId: null,
|
|
28047
|
+
access: "create"
|
|
28048
|
+
},
|
|
27083
28049
|
"plateGallery.correctPlateText": {
|
|
27084
28050
|
capName: "plate-gallery",
|
|
27085
28051
|
capScope: "system",
|
|
27086
28052
|
addonId: null,
|
|
27087
28053
|
access: "create"
|
|
27088
28054
|
},
|
|
28055
|
+
"plateGallery.createVehicle": {
|
|
28056
|
+
capName: "plate-gallery",
|
|
28057
|
+
capScope: "system",
|
|
28058
|
+
addonId: null,
|
|
28059
|
+
access: "create"
|
|
28060
|
+
},
|
|
27089
28061
|
"plateGallery.deletePlate": {
|
|
27090
28062
|
capName: "plate-gallery",
|
|
27091
28063
|
capScope: "system",
|
|
27092
28064
|
addonId: null,
|
|
27093
28065
|
access: "delete"
|
|
27094
28066
|
},
|
|
28067
|
+
"plateGallery.deleteVehicle": {
|
|
28068
|
+
capName: "plate-gallery",
|
|
28069
|
+
capScope: "system",
|
|
28070
|
+
addonId: null,
|
|
28071
|
+
access: "delete"
|
|
28072
|
+
},
|
|
27095
28073
|
"plateGallery.getPlateByTrack": {
|
|
27096
28074
|
capName: "plate-gallery",
|
|
27097
28075
|
capScope: "system",
|
|
@@ -27110,6 +28088,30 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
27110
28088
|
addonId: null,
|
|
27111
28089
|
access: "view"
|
|
27112
28090
|
},
|
|
28091
|
+
"plateGallery.listVehicles": {
|
|
28092
|
+
capName: "plate-gallery",
|
|
28093
|
+
capScope: "system",
|
|
28094
|
+
addonId: null,
|
|
28095
|
+
access: "view"
|
|
28096
|
+
},
|
|
28097
|
+
"plateGallery.listVehicleSamples": {
|
|
28098
|
+
capName: "plate-gallery",
|
|
28099
|
+
capScope: "system",
|
|
28100
|
+
addonId: null,
|
|
28101
|
+
access: "view"
|
|
28102
|
+
},
|
|
28103
|
+
"plateGallery.removeVehicleSample": {
|
|
28104
|
+
capName: "plate-gallery",
|
|
28105
|
+
capScope: "system",
|
|
28106
|
+
addonId: null,
|
|
28107
|
+
access: "delete"
|
|
28108
|
+
},
|
|
28109
|
+
"plateGallery.renameVehicle": {
|
|
28110
|
+
capName: "plate-gallery",
|
|
28111
|
+
capScope: "system",
|
|
28112
|
+
addonId: null,
|
|
28113
|
+
access: "create"
|
|
28114
|
+
},
|
|
27113
28115
|
"plateGallery.searchPlates": {
|
|
27114
28116
|
capName: "plate-gallery",
|
|
27115
28117
|
capScope: "system",
|
|
@@ -27122,6 +28124,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
27122
28124
|
addonId: null,
|
|
27123
28125
|
access: "view"
|
|
27124
28126
|
},
|
|
28127
|
+
"plateGallery.unassignPlate": {
|
|
28128
|
+
capName: "plate-gallery",
|
|
28129
|
+
capScope: "system",
|
|
28130
|
+
addonId: null,
|
|
28131
|
+
access: "create"
|
|
28132
|
+
},
|
|
28133
|
+
"plateGallery.unassignPlates": {
|
|
28134
|
+
capName: "plate-gallery",
|
|
28135
|
+
capScope: "system",
|
|
28136
|
+
addonId: null,
|
|
28137
|
+
access: "create"
|
|
28138
|
+
},
|
|
27125
28139
|
"platformProbe.getCapabilities": {
|
|
27126
28140
|
capName: "platform-probe",
|
|
27127
28141
|
capScope: "system",
|
|
@@ -27314,6 +28328,48 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
27314
28328
|
addonId: null,
|
|
27315
28329
|
access: "create"
|
|
27316
28330
|
},
|
|
28331
|
+
"sceneMonitor.captureReference": {
|
|
28332
|
+
capName: "scene-monitor",
|
|
28333
|
+
capScope: "device",
|
|
28334
|
+
addonId: null,
|
|
28335
|
+
access: "create"
|
|
28336
|
+
},
|
|
28337
|
+
"sceneMonitor.createScene": {
|
|
28338
|
+
capName: "scene-monitor",
|
|
28339
|
+
capScope: "device",
|
|
28340
|
+
addonId: null,
|
|
28341
|
+
access: "create"
|
|
28342
|
+
},
|
|
28343
|
+
"sceneMonitor.deleteReference": {
|
|
28344
|
+
capName: "scene-monitor",
|
|
28345
|
+
capScope: "device",
|
|
28346
|
+
addonId: null,
|
|
28347
|
+
access: "delete"
|
|
28348
|
+
},
|
|
28349
|
+
"sceneMonitor.deleteScene": {
|
|
28350
|
+
capName: "scene-monitor",
|
|
28351
|
+
capScope: "device",
|
|
28352
|
+
addonId: null,
|
|
28353
|
+
access: "delete"
|
|
28354
|
+
},
|
|
28355
|
+
"sceneMonitor.listScenes": {
|
|
28356
|
+
capName: "scene-monitor",
|
|
28357
|
+
capScope: "device",
|
|
28358
|
+
addonId: null,
|
|
28359
|
+
access: "view"
|
|
28360
|
+
},
|
|
28361
|
+
"sceneMonitor.recheckNow": {
|
|
28362
|
+
capName: "scene-monitor",
|
|
28363
|
+
capScope: "device",
|
|
28364
|
+
addonId: null,
|
|
28365
|
+
access: "create"
|
|
28366
|
+
},
|
|
28367
|
+
"sceneMonitor.updateScene": {
|
|
28368
|
+
capName: "scene-monitor",
|
|
28369
|
+
capScope: "device",
|
|
28370
|
+
addonId: null,
|
|
28371
|
+
access: "create"
|
|
28372
|
+
},
|
|
27317
28373
|
"scriptRunner.run": {
|
|
27318
28374
|
capName: "script-runner",
|
|
27319
28375
|
capScope: "device",
|
|
@@ -28447,6 +29503,8 @@ var KNOWN_CAP_NAMES = [
|
|
|
28447
29503
|
"integrations",
|
|
28448
29504
|
"intercom",
|
|
28449
29505
|
"lawn-mower-control",
|
|
29506
|
+
"llm",
|
|
29507
|
+
"llm-runtime",
|
|
28450
29508
|
"local-network",
|
|
28451
29509
|
"lock-control",
|
|
28452
29510
|
"log-destination",
|
|
@@ -28481,6 +29539,7 @@ var KNOWN_CAP_NAMES = [
|
|
|
28481
29539
|
"ptz-autotrack",
|
|
28482
29540
|
"reboot",
|
|
28483
29541
|
"recording",
|
|
29542
|
+
"scene-monitor",
|
|
28484
29543
|
"script-runner",
|
|
28485
29544
|
"server-management",
|
|
28486
29545
|
"settings-store",
|
|
@@ -28551,6 +29610,7 @@ var DEVICE_CAP_NAMES = [
|
|
|
28551
29610
|
"ptz",
|
|
28552
29611
|
"ptz-autotrack",
|
|
28553
29612
|
"reboot",
|
|
29613
|
+
"scene-monitor",
|
|
28554
29614
|
"script-runner",
|
|
28555
29615
|
"snapshot",
|
|
28556
29616
|
"stream-catalog",
|
|
@@ -28594,6 +29654,8 @@ var SYSTEM_CAP_NAMES = [
|
|
|
28594
29654
|
"face-gallery",
|
|
28595
29655
|
"filesystem-browse",
|
|
28596
29656
|
"integrations",
|
|
29657
|
+
"llm",
|
|
29658
|
+
"llm-runtime",
|
|
28597
29659
|
"local-network",
|
|
28598
29660
|
"log-destination",
|
|
28599
29661
|
"login-method",
|
|
@@ -28689,6 +29751,7 @@ var SCOPE_PRESETS = [
|
|
|
28689
29751
|
var CAP_PROVIDER_KIND_MAP = Object.freeze({
|
|
28690
29752
|
"broker": "broker",
|
|
28691
29753
|
"device-export": "device-export",
|
|
29754
|
+
"llm": "ai",
|
|
28692
29755
|
"mesh-network": "mesh",
|
|
28693
29756
|
"mqtt-broker": "broker",
|
|
28694
29757
|
"network-access": "ingress",
|
|
@@ -28698,6 +29761,7 @@ var CAP_PROVIDER_KIND_MAP = Object.freeze({
|
|
|
28698
29761
|
var PROVIDER_KIND_CAP_NAMES = [
|
|
28699
29762
|
"broker",
|
|
28700
29763
|
"device-export",
|
|
29764
|
+
"llm",
|
|
28701
29765
|
"mesh-network",
|
|
28702
29766
|
"mqtt-broker",
|
|
28703
29767
|
"network-access",
|
|
@@ -29183,4 +30247,4 @@ function scoreRuntimes(hw) {
|
|
|
29183
30247
|
};
|
|
29184
30248
|
}
|
|
29185
30249
|
//#endregion
|
|
29186
|
-
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, 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 };
|
|
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 };
|