@camstack/types 1.1.56 → 1.1.58
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 +182 -32
- package/dist/capabilities/pipeline-runner.cap.d.ts +12 -0
- package/dist/generated/addon-api.d.ts +186 -88
- 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 +191 -49
- package/dist/index.mjs +190 -50
- package/dist/interfaces/pipeline-runner-capability.d.ts +22 -0
- package/dist/interfaces/platform.d.ts +2 -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,12 +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),
|
|
13490
|
+
setAgentInferenceDevices: (input) => dispatch("pipelineOrchestrator", "setAgentInferenceDevices", "mutation", input),
|
|
13491
|
+
getNodeInferenceDevices: (input) => dispatch("pipelineOrchestrator", "getNodeInferenceDevices", "query", input),
|
|
13468
13492
|
resetNodePipelineDefaults: (input) => dispatch("pipelineOrchestrator", "resetNodePipelineDefaults", "mutation", input),
|
|
13469
13493
|
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
13470
13494
|
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
@@ -19542,13 +19566,11 @@ var PipelineTemplateSchema = z.object({
|
|
|
19542
19566
|
createdAt: z.string(),
|
|
19543
19567
|
updatedAt: z.string()
|
|
19544
19568
|
});
|
|
19545
|
-
var
|
|
19546
|
-
enabled: z.boolean(),
|
|
19569
|
+
var DeviceStepConfigSchema = z.object({
|
|
19547
19570
|
modelId: z.string().optional(),
|
|
19548
|
-
settings: z.record(z.string(), z.unknown()).
|
|
19571
|
+
settings: z.record(z.string(), z.unknown()).optional()
|
|
19549
19572
|
});
|
|
19550
19573
|
var AgentPipelineSettingsSchema = z.object({
|
|
19551
|
-
addonDefaults: z.record(z.string(), AgentAddonConfigSchema).readonly(),
|
|
19552
19574
|
maxCameras: z.number().int().nonnegative().nullable().default(null),
|
|
19553
19575
|
/** Per-node detection weight (relative share for the quota balancer). */
|
|
19554
19576
|
detectWeight: z.number().positive().optional(),
|
|
@@ -19575,13 +19597,18 @@ var AgentPipelineSettingsSchema = z.object({
|
|
|
19575
19597
|
reachableHost: z.string().optional(),
|
|
19576
19598
|
/**
|
|
19577
19599
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
19578
|
-
* weight}. Absent / all-disabled ⇒ the node's single default
|
|
19579
|
-
* (safe default); two+ enabled ⇒ the dispatcher balances
|
|
19580
|
-
* 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.
|
|
19581
19606
|
*/
|
|
19582
19607
|
inferenceDevices: z.record(z.string(), z.object({
|
|
19583
19608
|
enabled: z.boolean(),
|
|
19584
|
-
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()
|
|
19585
19612
|
})).optional()
|
|
19586
19613
|
});
|
|
19587
19614
|
var CameraPipelineForAgentSchema = z.object({
|
|
@@ -19592,14 +19619,13 @@ var CameraPipelineForAgentSchema = z.object({
|
|
|
19592
19619
|
}).nullable()
|
|
19593
19620
|
});
|
|
19594
19621
|
var CameraStepOverridePatchSchema = z.object({
|
|
19595
|
-
enabled: z.boolean().optional(),
|
|
19596
19622
|
modelId: z.string().optional(),
|
|
19597
19623
|
settings: z.record(z.string(), z.unknown()).readonly().optional()
|
|
19598
19624
|
});
|
|
19599
19625
|
var CameraPipelineSettingsSchema = z.object({
|
|
19600
19626
|
pinnedAgentNodeId: z.string().optional(),
|
|
19601
19627
|
stepToggles: z.record(z.string(), z.boolean()).optional(),
|
|
19602
|
-
|
|
19628
|
+
stepOverridesByDevice: z.record(z.string(), z.record(z.string(), z.record(z.string(), CameraStepOverridePatchSchema))).optional(),
|
|
19603
19629
|
pipelineByAgent: z.record(z.string(), CameraPipelineForAgentSchema).optional()
|
|
19604
19630
|
});
|
|
19605
19631
|
/**
|
|
@@ -19821,6 +19847,44 @@ var CameraStatusSchema = z.object({
|
|
|
19821
19847
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
19822
19848
|
fetchedAt: z.number()
|
|
19823
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
|
+
});
|
|
19824
19888
|
/**
|
|
19825
19889
|
* Pipeline Orchestrator capability — global load balancer + camera dispatcher.
|
|
19826
19890
|
*
|
|
@@ -19870,6 +19934,34 @@ var pipelineOrchestratorCapability = {
|
|
|
19870
19934
|
auth: "admin"
|
|
19871
19935
|
}),
|
|
19872
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
|
+
/**
|
|
19873
19965
|
* Trigger a full rebalance pass. Iterates over all assigned cameras,
|
|
19874
19966
|
* recomputes the optimal agent for each one based on current load +
|
|
19875
19967
|
* hardware affinity, and migrates cameras whose current agent is no
|
|
@@ -19954,14 +20046,6 @@ var pipelineOrchestratorCapability = {
|
|
|
19954
20046
|
nodeId: z.string(),
|
|
19955
20047
|
settings: AgentPipelineSettingsSchema
|
|
19956
20048
|
})).readonly()),
|
|
19957
|
-
/** 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. */
|
|
19958
|
-
setAgentAddonDefaults: method(z.object({
|
|
19959
|
-
agentNodeId: z.string(),
|
|
19960
|
-
defaults: z.record(z.string(), AgentAddonConfigSchema)
|
|
19961
|
-
}), z.object({ success: z.literal(true) }), {
|
|
19962
|
-
kind: "mutation",
|
|
19963
|
-
auth: "admin"
|
|
19964
|
-
}),
|
|
19965
20049
|
/**
|
|
19966
20050
|
* Drop a single agent's persisted settings. Used by the cluster
|
|
19967
20051
|
* "Offline agents" panel to evict stale entries left behind when an
|
|
@@ -20048,6 +20132,46 @@ var pipelineOrchestratorCapability = {
|
|
|
20048
20132
|
auth: "admin"
|
|
20049
20133
|
}),
|
|
20050
20134
|
/**
|
|
20135
|
+
* Set one node's multi-device inference opt-in (Phase 4 multi-device) — the
|
|
20136
|
+
* per-node `deviceKey → { enabled, weight }` map that decides which
|
|
20137
|
+
* accelerators the dispatcher may balance detection sessions across.
|
|
20138
|
+
* The map REPLACES the node's stored `inferenceDevices` wholesale (pass the
|
|
20139
|
+
* complete desired set; an empty map clears the opt-in → the node reverts to
|
|
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.
|
|
20143
|
+
* Creates the node's settings entry if absent. Changes take effect on the
|
|
20144
|
+
* next dispatch/rebalance cycle — the dispatcher reads the enabled set via
|
|
20145
|
+
* `PipelineSettingsStore.buildNodeInferenceDevices` when placing sessions
|
|
20146
|
+
* and the per-(node,device) base provisioning via
|
|
20147
|
+
* `buildNodeInferenceDeviceSteps`.
|
|
20148
|
+
*/
|
|
20149
|
+
setAgentInferenceDevices: method(z.object({
|
|
20150
|
+
agentNodeId: z.string(),
|
|
20151
|
+
inferenceDevices: z.record(z.string(), z.object({
|
|
20152
|
+
enabled: z.boolean(),
|
|
20153
|
+
weight: z.number().positive().optional(),
|
|
20154
|
+
maxSessions: z.number().int().positive().optional(),
|
|
20155
|
+
steps: z.record(z.string(), DeviceStepConfigSchema).optional()
|
|
20156
|
+
}))
|
|
20157
|
+
}), z.object({ success: z.literal(true) }), {
|
|
20158
|
+
kind: "mutation",
|
|
20159
|
+
auth: "admin"
|
|
20160
|
+
}),
|
|
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
|
+
/**
|
|
20051
20175
|
* Reset one node's pipeline to its hardware-aware defaults — the HONEST
|
|
20052
20176
|
* reset (replaces the executor's legacy `resetToDefault`, which cleared a
|
|
20053
20177
|
* dead persisted step-tree seed nothing in the live path read):
|
|
@@ -20086,15 +20210,18 @@ var pipelineOrchestratorCapability = {
|
|
|
20086
20210
|
kind: "mutation",
|
|
20087
20211
|
auth: "admin"
|
|
20088
20212
|
}),
|
|
20089
|
-
/** Read every
|
|
20090
|
-
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()),
|
|
20091
20215
|
/**
|
|
20092
|
-
* Write or clear the
|
|
20093
|
-
* `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.
|
|
20094
20220
|
*/
|
|
20095
20221
|
setCameraStepOverride: method(z.object({
|
|
20096
20222
|
deviceId: z.number(),
|
|
20097
20223
|
agentNodeId: z.string(),
|
|
20224
|
+
deviceKey: z.string(),
|
|
20098
20225
|
addonId: z.string(),
|
|
20099
20226
|
patch: CameraStepOverridePatchSchema.nullable()
|
|
20100
20227
|
}), z.object({ success: z.literal(true) }), {
|
|
@@ -20292,7 +20419,8 @@ var serverManagementCapability = {
|
|
|
20292
20419
|
/** Explicit target version; omitted = latest from the registry. */
|
|
20293
20420
|
version: z.string().optional() }), ServerUpdateActionResultSchema, {
|
|
20294
20421
|
kind: "mutation",
|
|
20295
|
-
auth: "admin"
|
|
20422
|
+
auth: "admin",
|
|
20423
|
+
timeoutMs: 16 * 6e4
|
|
20296
20424
|
}),
|
|
20297
20425
|
rollbackServerUpdate: method(z.void(), ServerUpdateActionResultSchema, {
|
|
20298
20426
|
kind: "mutation",
|
|
@@ -28926,12 +29054,6 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28926
29054
|
addonId: null,
|
|
28927
29055
|
access: "view"
|
|
28928
29056
|
},
|
|
28929
|
-
"pipelineExecutor.reprobeEngine": {
|
|
28930
|
-
capName: "pipeline-executor",
|
|
28931
|
-
capScope: "system",
|
|
28932
|
-
addonId: null,
|
|
28933
|
-
access: "create"
|
|
28934
|
-
},
|
|
28935
29057
|
"pipelineExecutor.runAudioTest": {
|
|
28936
29058
|
capName: "pipeline-executor",
|
|
28937
29059
|
capScope: "system",
|
|
@@ -29082,6 +29204,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29082
29204
|
addonId: null,
|
|
29083
29205
|
access: "view"
|
|
29084
29206
|
},
|
|
29207
|
+
"pipelineOrchestrator.getNodeInferenceDevices": {
|
|
29208
|
+
capName: "pipeline-orchestrator",
|
|
29209
|
+
capScope: "system",
|
|
29210
|
+
addonId: null,
|
|
29211
|
+
access: "view"
|
|
29212
|
+
},
|
|
29085
29213
|
"pipelineOrchestrator.getPipelineAssignment": {
|
|
29086
29214
|
capName: "pipeline-orchestrator",
|
|
29087
29215
|
capScope: "system",
|
|
@@ -29094,6 +29222,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29094
29222
|
addonId: null,
|
|
29095
29223
|
access: "view"
|
|
29096
29224
|
},
|
|
29225
|
+
"pipelineOrchestrator.getPipelineDevicePin": {
|
|
29226
|
+
capName: "pipeline-orchestrator",
|
|
29227
|
+
capScope: "system",
|
|
29228
|
+
addonId: null,
|
|
29229
|
+
access: "view"
|
|
29230
|
+
},
|
|
29097
29231
|
"pipelineOrchestrator.listAgentSettings": {
|
|
29098
29232
|
capName: "pipeline-orchestrator",
|
|
29099
29233
|
capScope: "system",
|
|
@@ -29136,19 +29270,19 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29136
29270
|
addonId: null,
|
|
29137
29271
|
access: "create"
|
|
29138
29272
|
},
|
|
29139
|
-
"pipelineOrchestrator.
|
|
29273
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
29140
29274
|
capName: "pipeline-orchestrator",
|
|
29141
29275
|
capScope: "system",
|
|
29142
29276
|
addonId: null,
|
|
29143
29277
|
access: "create"
|
|
29144
29278
|
},
|
|
29145
|
-
"pipelineOrchestrator.
|
|
29279
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
29146
29280
|
capName: "pipeline-orchestrator",
|
|
29147
29281
|
capScope: "system",
|
|
29148
29282
|
addonId: null,
|
|
29149
29283
|
access: "create"
|
|
29150
29284
|
},
|
|
29151
|
-
"pipelineOrchestrator.
|
|
29285
|
+
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
29152
29286
|
capName: "pipeline-orchestrator",
|
|
29153
29287
|
capScope: "system",
|
|
29154
29288
|
addonId: null,
|
|
@@ -29190,6 +29324,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
29190
29324
|
addonId: null,
|
|
29191
29325
|
access: "create"
|
|
29192
29326
|
},
|
|
29327
|
+
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
29328
|
+
capName: "pipeline-orchestrator",
|
|
29329
|
+
capScope: "system",
|
|
29330
|
+
addonId: null,
|
|
29331
|
+
access: "create"
|
|
29332
|
+
},
|
|
29193
29333
|
"pipelineOrchestrator.unassignAudio": {
|
|
29194
29334
|
capName: "pipeline-orchestrator",
|
|
29195
29335
|
capScope: "system",
|
|
@@ -31571,4 +31711,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
31571
31711
|
return out;
|
|
31572
31712
|
}
|
|
31573
31713
|
//#endregion
|
|
31574
|
-
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
|
/**
|
|
@@ -23,6 +23,8 @@ export interface GpuInfo {
|
|
|
23
23
|
}
|
|
24
24
|
export interface NpuInfo {
|
|
25
25
|
readonly type: 'apple-ane' | 'intel-npu';
|
|
26
|
+
/** Human-readable accelerator name (e.g. `Intel AI Boost NPU`), when known. */
|
|
27
|
+
readonly name?: string;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* Coral USB Edge TPU (Google Coral). A discrete USB inference accelerator that
|
|
@@ -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),
|