@camstack/types 1.1.57 → 1.1.76
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/index.d.ts +1 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +0 -26
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +163 -33
- package/dist/capabilities/pipeline-runner.cap.d.ts +12 -0
- package/dist/generated/addon-api.d.ts +190 -102
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +168 -54
- package/dist/index.mjs +167 -55
- package/dist/interfaces/pipeline-runner-capability.d.ts +22 -0
- package/dist/{sleep-D8ZkNoYz.mjs → sleep-BQ60XlE9.mjs} +2 -0
- package/dist/{sleep-CF-UWPp0.js → sleep-eVjOy4ev.js} +2 -0
- package/dist/types/agent-pipeline-settings.d.ts +41 -21
- package/dist/utils/runtime-mapping.d.ts +17 -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 DisposerChain, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-
|
|
1
|
+
import { $ as StreamSourceSchema, A as parseJsonUnknown, B as CamProfileSchema, C as asBoolean, D as asString, E as asNumber, F as readinessKey, G as DecodedFrameSchema, H as CamStreamResolutionSchema, I as scopeKey, J as FrameHandleSchema, K as EncodedPacketSchema, L as BrokerStatsSchema, M as ReadinessRegistry, N as ReadinessTimeoutError, O as parseJsonArray, P as emitDownForOwnedCaps, Q as StreamSourceEntrySchema, R as BrokerStatusSchema, S as DeviceType, T as asJsonObject, U as CameraStreamSchema, V as CamStreamKindSchema, W as DecodedAudioChunkSchema, X as ProfileSlotSchema, Y as ProfileRtspEntrySchema, Z as ProfileSlotStatusSchema, _ as resolveCapMount, _t as collectHydratedFieldValues, a as viewerUiCapability, at as makeSourceBrokerId, b as DeviceFeature, bt as DisposerChain, c as createLazyTrpcSource, ct as BaseAddon, d as DEVICE_SETTINGS_CONTRIBUTION_METHODS, dt as createEvent, et as SubscribeAudioChunksInputSchema, f as DEVICE_STATUS_METHOD, ft as emitReadiness, g as method, gt as collectHydratedFieldEntries, h as isDeviceConfigCap, ht as WELL_KNOWN_TAB_MAP, i as deviceOpsCapability, it as makeProfileBrokerId, j as DATAPLANE_SECRET_HEADER, k as parseJsonObject, l as createMirrorSource, lt as normalizeAddonInitResult, m as expandCapMethods, mt as WELL_KNOWN_TABS, n as sleepCancellable, nt as SubscribeFramesInputSchema, o as adminUiCapability, ot as parseProfileBrokerId, p as event, pt as isEvent, q as FrameHandleFormatSchema, r as RawStateResultSchema, rt as SubscribeFramesResultSchema, s as createDeviceProxy, st as selectAssignedProfileSlots, t as sleep, tt as SubscribeAudioChunksResultSchema, u as createSliceHandle, ut as createDurableState, v as systemMethod, vt as hydrateSchema, w as asJsonArray, x as DeviceRole, y as ChargingStatus, yt as resolveHydratedFieldValue, z as CAM_PROFILE_ORDER } from "./sleep-BQ60XlE9.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-D4HJq7Mw.mjs";
|
|
3
3
|
import { EventSourceType } from "./enums.mjs";
|
|
4
4
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
@@ -1866,6 +1866,31 @@ var BACKEND_TO_FORMAT = {
|
|
|
1866
1866
|
openvino: "openvino"
|
|
1867
1867
|
};
|
|
1868
1868
|
/**
|
|
1869
|
+
* DEVICE-POOL backend → model format — the SSOT for the multi-device inference
|
|
1870
|
+
* DESCRIPTOR path (Python per-device pools), distinct from {@link BACKEND_TO_FORMAT}
|
|
1871
|
+
* above which is the legacy NODE runtime map (where `coreml → onnx` because
|
|
1872
|
+
* onnxruntime-node's CoreML EP loads `.onnx`). Here a device pool runs the
|
|
1873
|
+
* backend NATIVELY, so `coreml → coreml` and `edgetpu → tflite`. Consumed by
|
|
1874
|
+
* `resolveDeviceEngine` (addon-pipeline) and the orchestrator's
|
|
1875
|
+
* `parseDeviceKey`/`getNodeInferenceDevices` — the previously-duplicated
|
|
1876
|
+
* `BACKEND_FORMAT` maps (R3/node-F2). `cpu`/`cuda` floor to onnx.
|
|
1877
|
+
*/
|
|
1878
|
+
var DEVICE_BACKEND_TO_FORMAT = {
|
|
1879
|
+
openvino: "openvino",
|
|
1880
|
+
edgetpu: "tflite",
|
|
1881
|
+
coreml: "coreml",
|
|
1882
|
+
onnx: "onnx",
|
|
1883
|
+
cpu: "onnx",
|
|
1884
|
+
cuda: "onnx"
|
|
1885
|
+
};
|
|
1886
|
+
/**
|
|
1887
|
+
* Resolve a DEVICE-POOL backend to its model format via {@link DEVICE_BACKEND_TO_FORMAT},
|
|
1888
|
+
* flooring unknown backends to `onnx`. The single entry point both addons call.
|
|
1889
|
+
*/
|
|
1890
|
+
function deviceBackendToFormat(backend) {
|
|
1891
|
+
return DEVICE_BACKEND_TO_FORMAT[backend] ?? "onnx";
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1869
1894
|
* Map DetectionRuntime to ModelFormat.
|
|
1870
1895
|
* Used when the addon receives an explicit runtime (not 'auto').
|
|
1871
1896
|
*/
|
|
@@ -8071,20 +8096,6 @@ var pipelineExecutorCapability = {
|
|
|
8071
8096
|
getSelectedEngine: method(z.void(), PipelineEngineChoiceSchema),
|
|
8072
8097
|
getDefaultSteps: method(PipelineEngineChoiceSchema, z.array(PipelineDefaultStepSchema)),
|
|
8073
8098
|
/**
|
|
8074
|
-
* Re-run the platform probe for the inference engine and write the
|
|
8075
|
-
* detected runtime / backend / device back into the addon's own
|
|
8076
|
-
* global settings store. Returns the engine that was picked so the
|
|
8077
|
-
* UI can confirm without a second round-trip. Triggers the standard
|
|
8078
|
-
* `requiresRestart` auto-restart flow because all three fields are
|
|
8079
|
-
* marked restart-required. Replaces the legacy per-agent
|
|
8080
|
-
* `pipeline-orchestrator.reprobeAgentHwAccel` surface for the
|
|
8081
|
-
* engine dimension — each addon now owns its own probe.
|
|
8082
|
-
*/
|
|
8083
|
-
reprobeEngine: method(z.void(), PipelineEngineChoiceSchema, {
|
|
8084
|
-
kind: "mutation",
|
|
8085
|
-
auth: "admin"
|
|
8086
|
-
}),
|
|
8087
|
-
/**
|
|
8088
8099
|
* Per-node detection-engine provisioning snapshot. Returns the live
|
|
8089
8100
|
* state of the lazy runtime-provisioning machine on `nodeId`
|
|
8090
8101
|
* (idle / installing / verifying / ready / failed). The UI pairs this
|
|
@@ -8876,6 +8887,19 @@ var RunnerLocalLoadSchema = z.object({
|
|
|
8876
8887
|
avgInferenceTimeMs: z.number(),
|
|
8877
8888
|
/** Total queue depth across motion + detection queues. */
|
|
8878
8889
|
queueDepthTotal: z.number(),
|
|
8890
|
+
/**
|
|
8891
|
+
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
8892
|
+
* this runner currently has attached cameras on, so the orchestrator's second
|
|
8893
|
+
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
8894
|
+
* counts. Empty on single-device / pre-multi-device runners. `queueDepthTotal`
|
|
8895
|
+
* per device is 0 until the pool backlog gets a public accessor (follow-up).
|
|
8896
|
+
*/
|
|
8897
|
+
devices: z.array(z.object({
|
|
8898
|
+
deviceKey: z.string(),
|
|
8899
|
+
backend: z.string(),
|
|
8900
|
+
attachedCameras: z.number(),
|
|
8901
|
+
queueDepthTotal: z.number()
|
|
8902
|
+
})).default([]),
|
|
8879
8903
|
/** Hardware capability flags reported by this node. */
|
|
8880
8904
|
hardware: z.object({
|
|
8881
8905
|
hasGpu: z.boolean(),
|
|
@@ -13415,7 +13439,6 @@ function createSystemProxy(api) {
|
|
|
13415
13439
|
getAvailableEngines: (input) => dispatch("pipelineExecutor", "getAvailableEngines", "query", input),
|
|
13416
13440
|
getSelectedEngine: (input) => dispatch("pipelineExecutor", "getSelectedEngine", "query", input),
|
|
13417
13441
|
getDefaultSteps: (input) => dispatch("pipelineExecutor", "getDefaultSteps", "query", input),
|
|
13418
|
-
reprobeEngine: (input) => dispatch("pipelineExecutor", "reprobeEngine", "mutation", input),
|
|
13419
13442
|
getEngineProvisioning: (input) => dispatch("pipelineExecutor", "getEngineProvisioning", "query", input),
|
|
13420
13443
|
getVideoPipelineSteps: (input) => dispatch("pipelineExecutor", "getVideoPipelineSteps", "query", input),
|
|
13421
13444
|
setVideoPipelineSteps: (input) => dispatch("pipelineExecutor", "setVideoPipelineSteps", "mutation", input),
|
|
@@ -13459,13 +13482,13 @@ function createSystemProxy(api) {
|
|
|
13459
13482
|
getAudioNodeLoad: (input) => dispatch("pipelineOrchestrator", "getAudioNodeLoad", "query", input),
|
|
13460
13483
|
getAgentSettings: (input) => dispatch("pipelineOrchestrator", "getAgentSettings", "query", input),
|
|
13461
13484
|
listAgentSettings: (input) => dispatch("pipelineOrchestrator", "listAgentSettings", "query", input),
|
|
13462
|
-
setAgentAddonDefaults: (input) => dispatch("pipelineOrchestrator", "setAgentAddonDefaults", "mutation", input),
|
|
13463
13485
|
removeAgentSettings: (input) => dispatch("pipelineOrchestrator", "removeAgentSettings", "mutation", input),
|
|
13464
13486
|
setAgentMaxCameras: (input) => dispatch("pipelineOrchestrator", "setAgentMaxCameras", "mutation", input),
|
|
13465
13487
|
setAgentDetectWeight: (input) => dispatch("pipelineOrchestrator", "setAgentDetectWeight", "mutation", input),
|
|
13466
13488
|
setAgentCapabilities: (input) => dispatch("pipelineOrchestrator", "setAgentCapabilities", "mutation", input),
|
|
13467
13489
|
setAgentReachableHost: (input) => dispatch("pipelineOrchestrator", "setAgentReachableHost", "mutation", input),
|
|
13468
13490
|
setAgentInferenceDevices: (input) => dispatch("pipelineOrchestrator", "setAgentInferenceDevices", "mutation", input),
|
|
13491
|
+
getNodeInferenceDevices: (input) => dispatch("pipelineOrchestrator", "getNodeInferenceDevices", "query", input),
|
|
13469
13492
|
resetNodePipelineDefaults: (input) => dispatch("pipelineOrchestrator", "resetNodePipelineDefaults", "mutation", input),
|
|
13470
13493
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
13471
13494
|
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
@@ -19543,13 +19566,11 @@ var PipelineTemplateSchema = z.object({
|
|
|
19543
19566
|
createdAt: z.string(),
|
|
19544
19567
|
updatedAt: z.string()
|
|
19545
19568
|
});
|
|
19546
|
-
var
|
|
19547
|
-
enabled: z.boolean(),
|
|
19569
|
+
var DeviceStepConfigSchema = z.object({
|
|
19548
19570
|
modelId: z.string().optional(),
|
|
19549
|
-
settings: z.record(z.string(), z.unknown()).
|
|
19571
|
+
settings: z.record(z.string(), z.unknown()).optional()
|
|
19550
19572
|
});
|
|
19551
19573
|
var AgentPipelineSettingsSchema = z.object({
|
|
19552
|
-
addonDefaults: z.record(z.string(), AgentAddonConfigSchema).readonly(),
|
|
19553
19574
|
maxCameras: z.number().int().nonnegative().nullable().default(null),
|
|
19554
19575
|
/** Per-node detection weight (relative share for the quota balancer). */
|
|
19555
19576
|
detectWeight: z.number().positive().optional(),
|
|
@@ -19576,13 +19597,18 @@ var AgentPipelineSettingsSchema = z.object({
|
|
|
19576
19597
|
reachableHost: z.string().optional(),
|
|
19577
19598
|
/**
|
|
19578
19599
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
19579
|
-
* weight}. Absent / all-disabled ⇒ the node's single default
|
|
19580
|
-
* (safe default); two+ enabled ⇒ the dispatcher balances
|
|
19581
|
-
* across them so they run CONCURRENTLY.
|
|
19600
|
+
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
19601
|
+
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
19602
|
+
* detection sessions across them so they run CONCURRENTLY. `steps` is the
|
|
19603
|
+
* per-(node,device) BASE provisioning (`stepId → {modelId?, settings?}`) —
|
|
19604
|
+
* the default model/settings for every camera landing on that accelerator;
|
|
19605
|
+
* a stepId absent ⇒ the step uses that device's format default.
|
|
19582
19606
|
*/
|
|
19583
19607
|
inferenceDevices: z.record(z.string(), z.object({
|
|
19584
19608
|
enabled: z.boolean(),
|
|
19585
|
-
weight: z.number().positive().optional()
|
|
19609
|
+
weight: z.number().positive().optional(),
|
|
19610
|
+
maxSessions: z.number().int().positive().optional(),
|
|
19611
|
+
steps: z.record(z.string(), DeviceStepConfigSchema).optional()
|
|
19586
19612
|
})).optional()
|
|
19587
19613
|
});
|
|
19588
19614
|
var CameraPipelineForAgentSchema = z.object({
|
|
@@ -19593,14 +19619,13 @@ var CameraPipelineForAgentSchema = z.object({
|
|
|
19593
19619
|
}).nullable()
|
|
19594
19620
|
});
|
|
19595
19621
|
var CameraStepOverridePatchSchema = z.object({
|
|
19596
|
-
enabled: z.boolean().optional(),
|
|
19597
19622
|
modelId: z.string().optional(),
|
|
19598
19623
|
settings: z.record(z.string(), z.unknown()).readonly().optional()
|
|
19599
19624
|
});
|
|
19600
19625
|
var CameraPipelineSettingsSchema = z.object({
|
|
19601
19626
|
pinnedAgentNodeId: z.string().optional(),
|
|
19602
19627
|
stepToggles: z.record(z.string(), z.boolean()).optional(),
|
|
19603
|
-
|
|
19628
|
+
stepOverridesByDevice: z.record(z.string(), z.record(z.string(), z.record(z.string(), CameraStepOverridePatchSchema))).optional(),
|
|
19604
19629
|
pipelineByAgent: z.record(z.string(), CameraPipelineForAgentSchema).optional()
|
|
19605
19630
|
});
|
|
19606
19631
|
/**
|
|
@@ -19822,6 +19847,44 @@ var CameraStatusSchema = z.object({
|
|
|
19822
19847
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
19823
19848
|
fetchedAt: z.number()
|
|
19824
19849
|
});
|
|
19850
|
+
var NodeInferenceDeviceSchema = z.object({
|
|
19851
|
+
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
19852
|
+
key: z.string(),
|
|
19853
|
+
backend: z.string(),
|
|
19854
|
+
device: z.string(),
|
|
19855
|
+
format: z.enum(MODEL_FORMATS),
|
|
19856
|
+
/** Whether the node's live probe reports the device as usable right now. */
|
|
19857
|
+
available: z.boolean(),
|
|
19858
|
+
/**
|
|
19859
|
+
* Whether this device participates in dispatch. AUTO default (spec C2):
|
|
19860
|
+
* accelerators are opt-OUT (a discovered NPU/iGPU/Coral/ANE with no stored
|
|
19861
|
+
* entry is `true`); CPU is opt-IN (`false` by default — the fallback pool,
|
|
19862
|
+
* not a balanced target). An explicit stored value always wins; a stored-only
|
|
19863
|
+
* (unavailable) key keeps its stored value.
|
|
19864
|
+
*/
|
|
19865
|
+
enabled: z.boolean(),
|
|
19866
|
+
/** Relative balancer weight for the enabled device (default 1). */
|
|
19867
|
+
weight: z.number(),
|
|
19868
|
+
/** Per-device concurrent-session cap; null = unlimited (multi-device C4). */
|
|
19869
|
+
maxSessions: z.number().nullable(),
|
|
19870
|
+
/** Object-detection model the executor defaults to for this deviceKey. */
|
|
19871
|
+
defaultModelId: z.string(),
|
|
19872
|
+
/**
|
|
19873
|
+
* Per-(node,device) BASE provisioning (C7.2/C7.4) — the RAW stored
|
|
19874
|
+
* `stepId → {modelId?, settings?}` map from `inferenceDevices[key].steps`.
|
|
19875
|
+
* Absent/empty ⇒ no base (every step uses its device format default). The
|
|
19876
|
+
* UI cross-references `pipelineExecutor.getSchema` for the models actually
|
|
19877
|
+
* available per format; this is the stored selection that becomes the
|
|
19878
|
+
* default for EVERY camera landing on this accelerator.
|
|
19879
|
+
*/
|
|
19880
|
+
steps: z.record(z.string(), DeviceStepConfigSchema).optional()
|
|
19881
|
+
});
|
|
19882
|
+
var NodeInferenceDevicesSchema = z.object({
|
|
19883
|
+
nodeId: z.string(),
|
|
19884
|
+
/** False when the node's platform-probe was unreachable (no live device set). */
|
|
19885
|
+
reachable: z.boolean(),
|
|
19886
|
+
devices: z.array(NodeInferenceDeviceSchema).readonly()
|
|
19887
|
+
});
|
|
19825
19888
|
/**
|
|
19826
19889
|
* Pipeline Orchestrator capability — global load balancer + camera dispatcher.
|
|
19827
19890
|
*
|
|
@@ -19871,6 +19934,34 @@ var pipelineOrchestratorCapability = {
|
|
|
19871
19934
|
auth: "admin"
|
|
19872
19935
|
}),
|
|
19873
19936
|
/**
|
|
19937
|
+
* Pin a camera's detection to a specific INFERENCE DEVICE (accelerator)
|
|
19938
|
+
* within its node — a SOFT L1 device affinity honoured by the per-session
|
|
19939
|
+
* device `balance()` pass (sibling of the node-level `pipelineNodeId` pin;
|
|
19940
|
+
* persisted as `pipelineDeviceKey` in the device store, read by
|
|
19941
|
+
* `readPipelineDevicePin`). `deviceKey` is a concrete key
|
|
19942
|
+
* (`openvino:npu` / `edgetpu:usb` / `cpu`), or the `'auto'` sentinel /
|
|
19943
|
+
* empty string to CLEAR the pin and let the balancer pick the device.
|
|
19944
|
+
*
|
|
19945
|
+
* Applies promptly: the device is chosen per-session at dispatch, so any
|
|
19946
|
+
* running detection session is closed and re-dispatched onto the new pin
|
|
19947
|
+
* (the camera stays on the SAME node — a device pin never moves the camera).
|
|
19948
|
+
* Cameras with no active session pick it up on their next dispatch.
|
|
19949
|
+
*/
|
|
19950
|
+
setPipelineDevicePin: method(z.object({
|
|
19951
|
+
deviceId: z.number(),
|
|
19952
|
+
deviceKey: z.string()
|
|
19953
|
+
}), z.object({ success: z.literal(true) }), {
|
|
19954
|
+
kind: "mutation",
|
|
19955
|
+
auth: "admin"
|
|
19956
|
+
}),
|
|
19957
|
+
/**
|
|
19958
|
+
* Read a camera's persisted inference-device pin (`pipelineDeviceKey`).
|
|
19959
|
+
* Returns the concrete device key, or `null` when unpinned (auto). Lets the
|
|
19960
|
+
* UI show the current pin alongside the node pin (parity with the node-pin
|
|
19961
|
+
* value carried on the assignment record).
|
|
19962
|
+
*/
|
|
19963
|
+
getPipelineDevicePin: method(z.object({ deviceId: z.number() }), z.object({ deviceKey: z.string().nullable() })),
|
|
19964
|
+
/**
|
|
19874
19965
|
* Trigger a full rebalance pass. Iterates over all assigned cameras,
|
|
19875
19966
|
* recomputes the optimal agent for each one based on current load +
|
|
19876
19967
|
* hardware affinity, and migrates cameras whose current agent is no
|
|
@@ -19955,14 +20046,6 @@ var pipelineOrchestratorCapability = {
|
|
|
19955
20046
|
nodeId: z.string(),
|
|
19956
20047
|
settings: AgentPipelineSettingsSchema
|
|
19957
20048
|
})).readonly()),
|
|
19958
|
-
/** Bulk-replace ALL addon configs on one agent. Used by the agent-level PipelineEditor which emits the full map per edit. Merges on top of existing entries — omitted addonIds are left alone. */
|
|
19959
|
-
setAgentAddonDefaults: method(z.object({
|
|
19960
|
-
agentNodeId: z.string(),
|
|
19961
|
-
defaults: z.record(z.string(), AgentAddonConfigSchema)
|
|
19962
|
-
}), z.object({ success: z.literal(true) }), {
|
|
19963
|
-
kind: "mutation",
|
|
19964
|
-
auth: "admin"
|
|
19965
|
-
}),
|
|
19966
20049
|
/**
|
|
19967
20050
|
* Drop a single agent's persisted settings. Used by the cluster
|
|
19968
20051
|
* "Offline agents" panel to evict stale entries left behind when an
|
|
@@ -20055,21 +20138,40 @@ var pipelineOrchestratorCapability = {
|
|
|
20055
20138
|
* The map REPLACES the node's stored `inferenceDevices` wholesale (pass the
|
|
20056
20139
|
* complete desired set; an empty map clears the opt-in → the node reverts to
|
|
20057
20140
|
* its single DEFAULT accelerator). `weight` is optional and defaults to 1.
|
|
20141
|
+
* `models` is the optional per-device model override (`stepId → modelId`,
|
|
20142
|
+
* C7.2/C7.4) — a stepId absent ⇒ the step uses that device's default model.
|
|
20058
20143
|
* Creates the node's settings entry if absent. Changes take effect on the
|
|
20059
20144
|
* next dispatch/rebalance cycle — the dispatcher reads the enabled set via
|
|
20060
|
-
* `PipelineSettingsStore.buildNodeInferenceDevices` when placing sessions
|
|
20145
|
+
* `PipelineSettingsStore.buildNodeInferenceDevices` when placing sessions
|
|
20146
|
+
* and the per-(node,device) base provisioning via
|
|
20147
|
+
* `buildNodeInferenceDeviceSteps`.
|
|
20061
20148
|
*/
|
|
20062
20149
|
setAgentInferenceDevices: method(z.object({
|
|
20063
20150
|
agentNodeId: z.string(),
|
|
20064
20151
|
inferenceDevices: z.record(z.string(), z.object({
|
|
20065
20152
|
enabled: z.boolean(),
|
|
20066
|
-
weight: z.number().positive().optional()
|
|
20153
|
+
weight: z.number().positive().optional(),
|
|
20154
|
+
maxSessions: z.number().int().positive().optional(),
|
|
20155
|
+
steps: z.record(z.string(), DeviceStepConfigSchema).optional()
|
|
20067
20156
|
}))
|
|
20068
20157
|
}), z.object({ success: z.literal(true) }), {
|
|
20069
20158
|
kind: "mutation",
|
|
20070
20159
|
auth: "admin"
|
|
20071
20160
|
}),
|
|
20072
20161
|
/**
|
|
20162
|
+
* DEVICE-AWARE merged view of ONE node's inference accelerators. Joins each
|
|
20163
|
+
* physical device the node HAS — probed live via a node-pinned
|
|
20164
|
+
* `platformProbe.getCapabilities` (the platform-probe singleton is targeted
|
|
20165
|
+
* by the `nodeId` cap INPUT, since a `nodePin` context is ignored by a
|
|
20166
|
+
* singleton mount) — with its stored opt-in (`enabled`/`weight`) and the
|
|
20167
|
+
* object-detection `defaultModelId` the executor would run for that
|
|
20168
|
+
* deviceKey. Disabled-but-configured keys still appear. An unreachable node
|
|
20169
|
+
* returns `reachable:false` + best-effort stored-only devices (never
|
|
20170
|
+
* throws). Read surface for the cluster/agent multi-device UI — hence a
|
|
20171
|
+
* default (read-level) auth, matching the other `getAgent*` reads.
|
|
20172
|
+
*/
|
|
20173
|
+
getNodeInferenceDevices: method(z.object({ nodeId: z.string() }), NodeInferenceDevicesSchema),
|
|
20174
|
+
/**
|
|
20073
20175
|
* Reset one node's pipeline to its hardware-aware defaults — the HONEST
|
|
20074
20176
|
* reset (replaces the executor's legacy `resetToDefault`, which cleared a
|
|
20075
20177
|
* dead persisted step-tree seed nothing in the live path read):
|
|
@@ -20108,15 +20210,18 @@ var pipelineOrchestratorCapability = {
|
|
|
20108
20210
|
kind: "mutation",
|
|
20109
20211
|
auth: "admin"
|
|
20110
20212
|
}),
|
|
20111
|
-
/** Read every
|
|
20112
|
-
getCameraStepOverrides: method(z.object({ deviceId: z.number() }), z.record(z.string(), z.record(z.string(), CameraStepOverridePatchSchema)).nullable()),
|
|
20213
|
+
/** Read every per-(node,device) override map for a device. Null when device has no overrides. */
|
|
20214
|
+
getCameraStepOverrides: method(z.object({ deviceId: z.number() }), z.record(z.string(), z.record(z.string(), z.record(z.string(), CameraStepOverridePatchSchema))).nullable()),
|
|
20113
20215
|
/**
|
|
20114
|
-
* Write or clear the
|
|
20115
|
-
* `patch: null` clears the entry entirely for that (
|
|
20216
|
+
* Write or clear the per-(camera,node,device) override for one addonId.
|
|
20217
|
+
* `patch: null` clears the entry entirely for that (node, deviceKey, addon)
|
|
20218
|
+
* triple (empty parents are pruned). Model/settings only — enablement is
|
|
20219
|
+
* the per-camera `stepToggles` authority.
|
|
20116
20220
|
*/
|
|
20117
20221
|
setCameraStepOverride: method(z.object({
|
|
20118
20222
|
deviceId: z.number(),
|
|
20119
20223
|
agentNodeId: z.string(),
|
|
20224
|
+
deviceKey: z.string(),
|
|
20120
20225
|
addonId: z.string(),
|
|
20121
20226
|
patch: CameraStepOverridePatchSchema.nullable()
|
|
20122
20227
|
}), z.object({ success: z.literal(true) }), {
|
|
@@ -20314,7 +20419,8 @@ var serverManagementCapability = {
|
|
|
20314
20419
|
/** Explicit target version; omitted = latest from the registry. */
|
|
20315
20420
|
version: z.string().optional() }), ServerUpdateActionResultSchema, {
|
|
20316
20421
|
kind: "mutation",
|
|
20317
|
-
auth: "admin"
|
|
20422
|
+
auth: "admin",
|
|
20423
|
+
timeoutMs: 16 * 6e4
|
|
20318
20424
|
}),
|
|
20319
20425
|
rollbackServerUpdate: method(z.void(), ServerUpdateActionResultSchema, {
|
|
20320
20426
|
kind: "mutation",
|
|
@@ -28948,12 +29054,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28948
29054
|
addonId: null,
|
|
28949
29055
|
access: "view"
|
|
28950
29056
|
},
|
|
28951
|
-
"pipelineExecutor.reprobeEngine": {
|
|
28952
|
-
capName: "pipeline-executor",
|
|
28953
|
-
capScope: "system",
|
|
28954
|
-
addonId: null,
|
|
28955
|
-
access: "create"
|
|
28956
|
-
},
|
|
28957
29057
|
"pipelineExecutor.runAudioTest": {
|
|
28958
29058
|
capName: "pipeline-executor",
|
|
28959
29059
|
capScope: "system",
|
|
@@ -29104,6 +29204,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29104
29204
|
addonId: null,
|
|
29105
29205
|
access: "view"
|
|
29106
29206
|
},
|
|
29207
|
+
"pipelineOrchestrator.getNodeInferenceDevices": {
|
|
29208
|
+
capName: "pipeline-orchestrator",
|
|
29209
|
+
capScope: "system",
|
|
29210
|
+
addonId: null,
|
|
29211
|
+
access: "view"
|
|
29212
|
+
},
|
|
29107
29213
|
"pipelineOrchestrator.getPipelineAssignment": {
|
|
29108
29214
|
capName: "pipeline-orchestrator",
|
|
29109
29215
|
capScope: "system",
|
|
@@ -29116,6 +29222,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29116
29222
|
addonId: null,
|
|
29117
29223
|
access: "view"
|
|
29118
29224
|
},
|
|
29225
|
+
"pipelineOrchestrator.getPipelineDevicePin": {
|
|
29226
|
+
capName: "pipeline-orchestrator",
|
|
29227
|
+
capScope: "system",
|
|
29228
|
+
addonId: null,
|
|
29229
|
+
access: "view"
|
|
29230
|
+
},
|
|
29119
29231
|
"pipelineOrchestrator.listAgentSettings": {
|
|
29120
29232
|
capName: "pipeline-orchestrator",
|
|
29121
29233
|
capScope: "system",
|
|
@@ -29158,12 +29270,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29158
29270
|
addonId: null,
|
|
29159
29271
|
access: "create"
|
|
29160
29272
|
},
|
|
29161
|
-
"pipelineOrchestrator.setAgentAddonDefaults": {
|
|
29162
|
-
capName: "pipeline-orchestrator",
|
|
29163
|
-
capScope: "system",
|
|
29164
|
-
addonId: null,
|
|
29165
|
-
access: "create"
|
|
29166
|
-
},
|
|
29167
29273
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
29168
29274
|
capName: "pipeline-orchestrator",
|
|
29169
29275
|
capScope: "system",
|
|
@@ -29218,6 +29324,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29218
29324
|
addonId: null,
|
|
29219
29325
|
access: "create"
|
|
29220
29326
|
},
|
|
29327
|
+
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
29328
|
+
capName: "pipeline-orchestrator",
|
|
29329
|
+
capScope: "system",
|
|
29330
|
+
addonId: null,
|
|
29331
|
+
access: "create"
|
|
29332
|
+
},
|
|
29221
29333
|
"pipelineOrchestrator.unassignAudio": {
|
|
29222
29334
|
capName: "pipeline-orchestrator",
|
|
29223
29335
|
capScope: "system",
|
|
@@ -31599,4 +31711,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
31599
31711
|
return out;
|
|
31600
31712
|
}
|
|
31601
31713
|
//#endregion
|
|
31602
|
-
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_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, 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, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, 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, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, 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, LinkedDeviceSchema, 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, MOTION_TRIGGER_FEATURE, 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, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, 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, RecentTracksPageSchema, RecentTracksQueryInput, 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, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, 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, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, 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, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, 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, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, 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, subKindsOf, 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 };
|
|
31714
|
+
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_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, 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, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, 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, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, 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, LinkedDeviceSchema, 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, MOTION_TRIGGER_FEATURE, 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, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, 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, RecentTracksPageSchema, RecentTracksQueryInput, 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, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, 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, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, 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, buildEventKindDescriptor, buildModelVariantGroups, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, 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, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, 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, subKindsOf, 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 };
|
|
@@ -22,6 +22,13 @@ export interface RunnerCameraConfig {
|
|
|
22
22
|
/** Motion sources that can activate the pipeline. At least one entry. */
|
|
23
23
|
readonly motionSources: import('../capabilities/pipeline-runner.cap.js').MotionSources;
|
|
24
24
|
readonly pipelineEnabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Which of the node's inference accelerators this session runs on
|
|
27
|
+
* (`<backend>:<device>`, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`), chosen by
|
|
28
|
+
* the orchestrator's per-device balancer (multi-device C4). Absent ⇒ the runner
|
|
29
|
+
* uses its single default pool. Mirrors `RunnerCameraConfigSchema.deviceKey`.
|
|
30
|
+
*/
|
|
31
|
+
readonly deviceKey?: string;
|
|
25
32
|
/** Ordered tree of video steps — Phase 1 optional, runner ignores until Phase 3. */
|
|
26
33
|
readonly steps?: readonly PipelineStepInputOutput[];
|
|
27
34
|
/**
|
|
@@ -97,6 +104,18 @@ export interface RunnerHardwareCapabilities {
|
|
|
97
104
|
readonly inferenceBackend?: string;
|
|
98
105
|
readonly cpuCores?: number;
|
|
99
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Per-inference-device live load (multi-device C4). One entry per deviceKey a
|
|
109
|
+
* runner currently has attached cameras on — feeds the orchestrator's second
|
|
110
|
+
* `balance()` pass (over a node's devices, weighted on real per-pool session
|
|
111
|
+
* counts). Mirrors the `devices` array in `RunnerLocalLoadSchema`.
|
|
112
|
+
*/
|
|
113
|
+
export interface RunnerDeviceLoad {
|
|
114
|
+
readonly deviceKey: string;
|
|
115
|
+
readonly backend: string;
|
|
116
|
+
readonly attachedCameras: number;
|
|
117
|
+
readonly queueDepthTotal: number;
|
|
118
|
+
}
|
|
100
119
|
/**
|
|
101
120
|
* Runtime load summary returned by `getLocalLoad`. The orchestrator's L2
|
|
102
121
|
* capacity-based balancer uses this to compute a "least-loaded agent"
|
|
@@ -109,6 +128,9 @@ export interface RunnerLocalLoad {
|
|
|
109
128
|
readonly avgInferenceFps: number;
|
|
110
129
|
readonly avgInferenceTimeMs: number;
|
|
111
130
|
readonly queueDepthTotal: number;
|
|
131
|
+
/** Per-inference-device live load (multi-device C4); empty on single-device
|
|
132
|
+
* / pre-multi-device runners. */
|
|
133
|
+
readonly devices: readonly RunnerDeviceLoad[];
|
|
112
134
|
readonly hardware: RunnerHardwareCapabilities;
|
|
113
135
|
}
|
|
114
136
|
/**
|
|
@@ -3189,6 +3189,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3189
3189
|
pipelineOrchestrator: {
|
|
3190
3190
|
assignPipeline: (input) => dispatchSystem("pipelineOrchestrator", "assignPipeline", "mutation", input),
|
|
3191
3191
|
unassignPipeline: (input) => dispatchSystem("pipelineOrchestrator", "unassignPipeline", "mutation", input),
|
|
3192
|
+
setPipelineDevicePin: (input) => dispatchSystem("pipelineOrchestrator", "setPipelineDevicePin", "mutation", input),
|
|
3193
|
+
getPipelineDevicePin: (input) => dispatchSystem("pipelineOrchestrator", "getPipelineDevicePin", "query", input),
|
|
3192
3194
|
getPipelineAssignment: (input) => dispatchSystem("pipelineOrchestrator", "getPipelineAssignment", "query", input),
|
|
3193
3195
|
getCameraMetrics: (input) => dispatchSystem("pipelineOrchestrator", "getCameraMetrics", "query", input),
|
|
3194
3196
|
assignAudio: (input) => dispatchSystem("pipelineOrchestrator", "assignAudio", "mutation", input),
|
|
@@ -3189,6 +3189,8 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
3189
3189
|
pipelineOrchestrator: {
|
|
3190
3190
|
assignPipeline: (input) => dispatchSystem("pipelineOrchestrator", "assignPipeline", "mutation", input),
|
|
3191
3191
|
unassignPipeline: (input) => dispatchSystem("pipelineOrchestrator", "unassignPipeline", "mutation", input),
|
|
3192
|
+
setPipelineDevicePin: (input) => dispatchSystem("pipelineOrchestrator", "setPipelineDevicePin", "mutation", input),
|
|
3193
|
+
getPipelineDevicePin: (input) => dispatchSystem("pipelineOrchestrator", "getPipelineDevicePin", "query", input),
|
|
3192
3194
|
getPipelineAssignment: (input) => dispatchSystem("pipelineOrchestrator", "getPipelineAssignment", "query", input),
|
|
3193
3195
|
getCameraMetrics: (input) => dispatchSystem("pipelineOrchestrator", "getCameraMetrics", "query", input),
|
|
3194
3196
|
assignAudio: (input) => dispatchSystem("pipelineOrchestrator", "assignAudio", "mutation", input),
|