@camstack/types 1.2.1 → 1.2.2
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/capabilities/index.d.ts +2 -2
- package/dist/capabilities/pipeline-executor.cap.d.ts +10 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +6 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +30 -2
- package/dist/generated/addon-api.d.ts +6 -2
- package/dist/index.js +67 -6
- package/dist/index.mjs +67 -7
- package/dist/interfaces/pipeline-runner-capability.d.ts +8 -0
- package/dist/types/agent-pipeline-settings.d.ts +8 -0
- package/package.json +1 -1
|
@@ -83,8 +83,8 @@ export type { PipelineStepInputOutput, PipelineValidationIssue, PipelineValidati
|
|
|
83
83
|
export { ModelSubstitutionSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
84
84
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
85
85
|
export { AgentLoadSummarySchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CapabilityBindingsSchema, GlobalMetricsSchema, IngestOwnerSchema, PipelineAssignmentSchema, pipelineOrchestratorCapability, } from './pipeline-orchestrator.cap.js';
|
|
86
|
-
export type { DetailParent, DetailResult, MotionSource, MotionSources, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, } from './pipeline-runner.cap.js';
|
|
87
|
-
export { MotionSourceEnum, MotionSourcesSchema, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
86
|
+
export type { DetailParent, DetailResult, MotionSource, MotionSources, ReportMotionInput, RunDetailSubtreeInput, RunDetailSubtreeResult, RunnerFrameSource, RunnerInferenceDevice, } from './pipeline-runner.cap.js';
|
|
87
|
+
export { MotionSourceEnum, MotionSourcesSchema, NativeCropBboxSchema, NativeCropResultSchema, pipelineRunnerCapability, ReportMotionInputSchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, } from './pipeline-runner.cap.js';
|
|
88
88
|
export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema, BoundingBoxSchema, FrameInputSchema, SpatialDetectionSchema, } from './schemas/detection-shared.js';
|
|
89
89
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
90
90
|
export type { CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, FrameHandleFormat, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, SubscribeFramesInput, SubscribeFramesResult, } from './schemas/streaming-shared.js';
|
|
@@ -367,6 +367,16 @@ export type PipelineStepInputOutput = {
|
|
|
367
367
|
readonly enabled: boolean;
|
|
368
368
|
readonly children?: readonly PipelineStepInputOutput[];
|
|
369
369
|
readonly settings?: Readonly<Record<string, unknown>>;
|
|
370
|
+
/**
|
|
371
|
+
* Step-tree device jump (same-node, phase 1). Operator manual override
|
|
372
|
+
* carried from the per-(node,device) BASE
|
|
373
|
+
* (`inferenceDevices[node][deviceKey].steps[step].jumpDeviceKey`): run THIS
|
|
374
|
+
* enrichment step (and its inherited children) on a DIFFERENT enabled device
|
|
375
|
+
* of the SAME node — `<backend>:<device>` (e.g. `openvino:npu`). Absent ⇒ the
|
|
376
|
+
* runner AUTO-jumps only when the effective device's format cannot run the
|
|
377
|
+
* step's model, else the step inherits the effective device. Same-node only.
|
|
378
|
+
*/
|
|
379
|
+
readonly jumpDeviceKey?: string;
|
|
370
380
|
};
|
|
371
381
|
export declare const PipelineStepInputSchema: z.ZodType<PipelineStepInputOutput>;
|
|
372
382
|
declare const ModelSubstitutionSchema: z.ZodObject<{
|
|
@@ -463,6 +463,7 @@ declare const NodeInferenceDeviceSchema: z.ZodObject<{
|
|
|
463
463
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
464
464
|
modelId: z.ZodOptional<z.ZodString>;
|
|
465
465
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
466
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
466
467
|
}, z.core.$strip>>>;
|
|
467
468
|
}, z.core.$strip>;
|
|
468
469
|
declare const NodeInferenceDevicesSchema: z.ZodObject<{
|
|
@@ -488,6 +489,7 @@ declare const NodeInferenceDevicesSchema: z.ZodObject<{
|
|
|
488
489
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
489
490
|
modelId: z.ZodOptional<z.ZodString>;
|
|
490
491
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
492
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
491
493
|
}, z.core.$strip>>>;
|
|
492
494
|
}, z.core.$strip>>>;
|
|
493
495
|
}, z.core.$strip>;
|
|
@@ -748,6 +750,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
748
750
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
749
751
|
modelId: z.ZodOptional<z.ZodString>;
|
|
750
752
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
753
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
751
754
|
}, z.core.$strip>>>;
|
|
752
755
|
}, z.core.$strip>>>;
|
|
753
756
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -769,6 +772,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
769
772
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
770
773
|
modelId: z.ZodOptional<z.ZodString>;
|
|
771
774
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
775
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
772
776
|
}, z.core.$strip>>>;
|
|
773
777
|
}, z.core.$strip>>>;
|
|
774
778
|
}, z.core.$strip>;
|
|
@@ -877,6 +881,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
877
881
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
878
882
|
modelId: z.ZodOptional<z.ZodString>;
|
|
879
883
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
884
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
880
885
|
}, z.core.$strip>>>;
|
|
881
886
|
}, z.core.$strip>>;
|
|
882
887
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -919,6 +924,7 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
919
924
|
steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
920
925
|
modelId: z.ZodOptional<z.ZodString>;
|
|
921
926
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
927
|
+
jumpDeviceKey: z.ZodOptional<z.ZodString>;
|
|
922
928
|
}, z.core.$strip>>>;
|
|
923
929
|
}, z.core.$strip>>>;
|
|
924
930
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -15,7 +15,8 @@ export declare const NativeCropBboxSchema: z.ZodObject<{
|
|
|
15
15
|
}, z.core.$strip>;
|
|
16
16
|
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
17
17
|
export declare const NativeCropResultSchema: z.ZodObject<{
|
|
18
|
-
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer
|
|
18
|
+
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
19
|
+
jpeg: z.ZodOptional<z.ZodString>;
|
|
19
20
|
width: z.ZodNumber;
|
|
20
21
|
height: z.ZodNumber;
|
|
21
22
|
tier: z.ZodOptional<z.ZodEnum<{
|
|
@@ -143,6 +144,21 @@ export declare const RunnerFrameSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
143
144
|
hubHostnameOverride: z.ZodOptional<z.ZodString>;
|
|
144
145
|
}, z.core.$strip>], "kind">;
|
|
145
146
|
export type RunnerFrameSource = z.infer<typeof RunnerFrameSourceSchema>;
|
|
147
|
+
/**
|
|
148
|
+
* One ENABLED inference device on the runner's node, as the step-tree
|
|
149
|
+
* device-jump resolver sees it (phase 1). The orchestrator populates this
|
|
150
|
+
* roster on the attach payload whenever the camera is elected onto a specific
|
|
151
|
+
* `deviceKey` and the node has ≥2 enabled devices — it is the candidate set the
|
|
152
|
+
* runner auto-jumps an enrichment step to when the elected device's format
|
|
153
|
+
* cannot run that step's model. `weight`/`maxSessions` mirror the balancer's
|
|
154
|
+
* per-device knobs so the auto choice is weighted-least-loaded.
|
|
155
|
+
*/
|
|
156
|
+
export declare const RunnerInferenceDeviceSchema: z.ZodObject<{
|
|
157
|
+
deviceKey: z.ZodString;
|
|
158
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
159
|
+
maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
export type RunnerInferenceDevice = z.infer<typeof RunnerInferenceDeviceSchema>;
|
|
146
162
|
/**
|
|
147
163
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
148
164
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
@@ -207,6 +223,11 @@ declare const RunnerCameraConfigSchema: z.ZodObject<{
|
|
|
207
223
|
hubHostnameOverride: z.ZodOptional<z.ZodString>;
|
|
208
224
|
}, z.core.$strip>], "kind">>;
|
|
209
225
|
deviceKey: z.ZodOptional<z.ZodString>;
|
|
226
|
+
inferenceDevices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
227
|
+
deviceKey: z.ZodString;
|
|
228
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
229
|
+
maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
230
|
+
}, z.core.$strip>>>>;
|
|
210
231
|
}, z.core.$strip>;
|
|
211
232
|
/**
|
|
212
233
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -333,6 +354,11 @@ export declare const pipelineRunnerCapability: {
|
|
|
333
354
|
hubHostnameOverride: z.ZodOptional<z.ZodString>;
|
|
334
355
|
}, z.core.$strip>], "kind">>;
|
|
335
356
|
deviceKey: z.ZodOptional<z.ZodString>;
|
|
357
|
+
inferenceDevices: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
358
|
+
deviceKey: z.ZodString;
|
|
359
|
+
weight: z.ZodDefault<z.ZodNumber>;
|
|
360
|
+
maxSessions: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
361
|
+
}, z.core.$strip>>>>;
|
|
336
362
|
}, z.core.$strip>, z.ZodObject<{
|
|
337
363
|
success: z.ZodLiteral<true>;
|
|
338
364
|
}, z.core.$strip>, "mutation">;
|
|
@@ -487,8 +513,10 @@ export declare const pipelineRunnerCapability: {
|
|
|
487
513
|
h: z.ZodNumber;
|
|
488
514
|
}, z.core.$strip>;
|
|
489
515
|
maxWidth: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
encodeJpeg: z.ZodOptional<z.ZodBoolean>;
|
|
490
517
|
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
491
|
-
bytes: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer
|
|
518
|
+
bytes: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
|
|
519
|
+
jpeg: z.ZodOptional<z.ZodString>;
|
|
492
520
|
width: z.ZodNumber;
|
|
493
521
|
height: z.ZodNumber;
|
|
494
522
|
tier: z.ZodOptional<z.ZodEnum<{
|
|
@@ -11922,11 +11922,13 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11922
11922
|
h: number;
|
|
11923
11923
|
};
|
|
11924
11924
|
maxWidth?: number | undefined;
|
|
11925
|
+
encodeJpeg?: boolean | undefined;
|
|
11925
11926
|
};
|
|
11926
11927
|
output: {
|
|
11927
|
-
bytes: Uint8Array<ArrayBuffer>;
|
|
11928
11928
|
width: number;
|
|
11929
11929
|
height: number;
|
|
11930
|
+
bytes?: Uint8Array<ArrayBuffer> | undefined;
|
|
11931
|
+
jpeg?: string | undefined;
|
|
11930
11932
|
tier?: "native" | "ram-fullframe" | undefined;
|
|
11931
11933
|
} | null;
|
|
11932
11934
|
meta: object;
|
|
@@ -28732,11 +28734,13 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28732
28734
|
h: number;
|
|
28733
28735
|
};
|
|
28734
28736
|
maxWidth?: number | undefined;
|
|
28737
|
+
encodeJpeg?: boolean | undefined;
|
|
28735
28738
|
};
|
|
28736
28739
|
output: {
|
|
28737
|
-
bytes: Uint8Array<ArrayBuffer>;
|
|
28738
28740
|
width: number;
|
|
28739
28741
|
height: number;
|
|
28742
|
+
bytes?: Uint8Array<ArrayBuffer> | undefined;
|
|
28743
|
+
jpeg?: string | undefined;
|
|
28740
28744
|
tier?: "native" | "ram-fullframe" | undefined;
|
|
28741
28745
|
} | null;
|
|
28742
28746
|
meta: object;
|
package/dist/index.js
CHANGED
|
@@ -7998,7 +7998,8 @@ var PipelineStepInputSchema = zod.z.lazy(() => zod.z.object({
|
|
|
7998
7998
|
modelId: zod.z.string().optional(),
|
|
7999
7999
|
enabled: zod.z.boolean().default(true),
|
|
8000
8000
|
children: zod.z.array(PipelineStepInputSchema).optional(),
|
|
8001
|
-
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
8001
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
8002
|
+
jumpDeviceKey: zod.z.string().optional()
|
|
8002
8003
|
}));
|
|
8003
8004
|
var ModelSubstitutionSchema = zod.z.object({
|
|
8004
8005
|
addonId: zod.z.string(),
|
|
@@ -8493,8 +8494,24 @@ var NativeCropBboxSchema = zod.z.object({
|
|
|
8493
8494
|
});
|
|
8494
8495
|
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
8495
8496
|
var NativeCropResultSchema = zod.z.object({
|
|
8496
|
-
/**
|
|
8497
|
-
|
|
8497
|
+
/**
|
|
8498
|
+
* Packed rgb (24-bit) pixels of the crop. Present on the DEFAULT (raw) path —
|
|
8499
|
+
* same-node (in-process / UDS) callers get zero-copy RGB and encode locally.
|
|
8500
|
+
* OMITTED when the caller requested `encodeJpeg` (the cross-node compressed
|
|
8501
|
+
* path below), where shipping raw RGB is both an invariant violation and, for
|
|
8502
|
+
* a native full frame (~26 MB at 4K), larger than Moleculer's 10 MB
|
|
8503
|
+
* `maxPacketSize` → the packet is dropped and the call 60s-times-out. That is
|
|
8504
|
+
* the cross-node native-media miss: `bytes` is replaced by `jpeg`.
|
|
8505
|
+
*/
|
|
8506
|
+
bytes: zod.z.instanceof(Uint8Array).optional(),
|
|
8507
|
+
/**
|
|
8508
|
+
* Base64 JPEG of the crop — the COMPRESSED cross-node payload. The OWNING node
|
|
8509
|
+
* (which holds the native surface) encodes it in-process, so a native 4K frame
|
|
8510
|
+
* ships as ~0.5–2 MB (well under `maxPacketSize`) and NO raw pixels ever cross
|
|
8511
|
+
* a process boundary (CLAUDE.md invariant #21). Present ONLY when the request
|
|
8512
|
+
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
8513
|
+
*/
|
|
8514
|
+
jpeg: zod.z.string().optional(),
|
|
8498
8515
|
width: zod.z.number().int().positive(),
|
|
8499
8516
|
height: zod.z.number().int().positive(),
|
|
8500
8517
|
/**
|
|
@@ -8640,6 +8657,20 @@ var RunnerFrameSourceSchema = zod.z.discriminatedUnion("kind", [zod.z.object({ k
|
|
|
8640
8657
|
hubHostnameOverride: zod.z.string().optional()
|
|
8641
8658
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
8642
8659
|
/**
|
|
8660
|
+
* One ENABLED inference device on the runner's node, as the step-tree
|
|
8661
|
+
* device-jump resolver sees it (phase 1). The orchestrator populates this
|
|
8662
|
+
* roster on the attach payload whenever the camera is elected onto a specific
|
|
8663
|
+
* `deviceKey` and the node has ≥2 enabled devices — it is the candidate set the
|
|
8664
|
+
* runner auto-jumps an enrichment step to when the elected device's format
|
|
8665
|
+
* cannot run that step's model. `weight`/`maxSessions` mirror the balancer's
|
|
8666
|
+
* per-device knobs so the auto choice is weighted-least-loaded.
|
|
8667
|
+
*/
|
|
8668
|
+
var RunnerInferenceDeviceSchema = zod.z.object({
|
|
8669
|
+
deviceKey: zod.z.string(),
|
|
8670
|
+
weight: zod.z.number().positive().default(1),
|
|
8671
|
+
maxSessions: zod.z.number().int().positive().nullable().default(null)
|
|
8672
|
+
});
|
|
8673
|
+
/**
|
|
8643
8674
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
8644
8675
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
8645
8676
|
* runner needs to subscribe to the local broker and execute inference.
|
|
@@ -8757,7 +8788,16 @@ var RunnerCameraConfigSchema = zod.z.object({
|
|
|
8757
8788
|
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
8758
8789
|
* this only selects WHICH device pool of that node runs the session.
|
|
8759
8790
|
*/
|
|
8760
|
-
deviceKey: zod.z.string().optional()
|
|
8791
|
+
deviceKey: zod.z.string().optional(),
|
|
8792
|
+
/**
|
|
8793
|
+
* Step-tree device-jump roster (phase 1): the node's ENABLED inference
|
|
8794
|
+
* devices, populated by the orchestrator ONLY when `deviceKey` is set and the
|
|
8795
|
+
* node has ≥2 enabled devices. The runner uses it to AUTO-jump an enrichment
|
|
8796
|
+
* step whose model has no build for the elected device's format onto another
|
|
8797
|
+
* enabled device of the SAME node (weighted-least-loaded). Absent/single-entry
|
|
8798
|
+
* ⇒ no jump possible; the step runs on `deviceKey`.
|
|
8799
|
+
*/
|
|
8800
|
+
inferenceDevices: zod.z.array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
8761
8801
|
});
|
|
8762
8802
|
/**
|
|
8763
8803
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -9001,7 +9041,18 @@ var pipelineRunnerCapability = {
|
|
|
9001
9041
|
getNativeCrop: require_sleep.method(zod.z.object({
|
|
9002
9042
|
handle: require_sleep.FrameHandleSchema,
|
|
9003
9043
|
bbox: NativeCropBboxSchema,
|
|
9004
|
-
maxWidth: zod.z.number().int().positive().optional()
|
|
9044
|
+
maxWidth: zod.z.number().int().positive().optional(),
|
|
9045
|
+
/**
|
|
9046
|
+
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
9047
|
+
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
9048
|
+
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
9049
|
+
* agent) so the compressed payload fits Moleculer's `maxPacketSize` and
|
|
9050
|
+
* no raw pixels cross the process boundary. Same-node callers omit it
|
|
9051
|
+
* and keep the zero-copy raw `bytes` path. Additive + optional: a
|
|
9052
|
+
* pre-encode runner (version skew) ignores it and returns `bytes`, so
|
|
9053
|
+
* the caller falls back to encoding locally.
|
|
9054
|
+
*/
|
|
9055
|
+
encodeJpeg: zod.z.boolean().optional()
|
|
9005
9056
|
}), NativeCropResultSchema.nullable()),
|
|
9006
9057
|
/**
|
|
9007
9058
|
* Two-plane design: run the DETAIL subtree (crop children —
|
|
@@ -19591,7 +19642,16 @@ var PipelineTemplateSchema = zod.z.object({
|
|
|
19591
19642
|
});
|
|
19592
19643
|
var DeviceStepConfigSchema = zod.z.object({
|
|
19593
19644
|
modelId: zod.z.string().optional(),
|
|
19594
|
-
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
19645
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
19646
|
+
/**
|
|
19647
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
19648
|
+
* When set, this step runs on the named enabled device of the SAME node
|
|
19649
|
+
* (`<backend>:<device>`) instead of the camera's elected device, bypassing
|
|
19650
|
+
* the runtime AUTO-jump. The orchestrator rejects a `jumpDeviceKey` pointing
|
|
19651
|
+
* at a disabled/absent device on that node at save time. Absent ⇒ the runner
|
|
19652
|
+
* auto-jumps only when the effective device's format cannot run the step.
|
|
19653
|
+
*/
|
|
19654
|
+
jumpDeviceKey: zod.z.string().optional()
|
|
19595
19655
|
});
|
|
19596
19656
|
var AgentPipelineSettingsSchema = zod.z.object({
|
|
19597
19657
|
maxCameras: zod.z.number().int().nonnegative().nullable().default(null),
|
|
@@ -32210,6 +32270,7 @@ exports.RtspRestreamEntrySchema = RtspRestreamEntrySchema;
|
|
|
32210
32270
|
exports.RunnerCameraConfigSchema = RunnerCameraConfigSchema;
|
|
32211
32271
|
exports.RunnerCameraDeviceUIFields = RunnerCameraDeviceUIFields;
|
|
32212
32272
|
exports.RunnerFrameSourceSchema = RunnerFrameSourceSchema;
|
|
32273
|
+
exports.RunnerInferenceDeviceSchema = RunnerInferenceDeviceSchema;
|
|
32213
32274
|
exports.RunnerLocalLoadSchema = RunnerLocalLoadSchema;
|
|
32214
32275
|
exports.RunnerLocalMetricsSchema = RunnerLocalMetricsSchema;
|
|
32215
32276
|
exports.SCOPE_PRESETS = SCOPE_PRESETS;
|
package/dist/index.mjs
CHANGED
|
@@ -7997,7 +7997,8 @@ var PipelineStepInputSchema = z.lazy(() => z.object({
|
|
|
7997
7997
|
modelId: z.string().optional(),
|
|
7998
7998
|
enabled: z.boolean().default(true),
|
|
7999
7999
|
children: z.array(PipelineStepInputSchema).optional(),
|
|
8000
|
-
settings: z.record(z.string(), z.unknown()).optional()
|
|
8000
|
+
settings: z.record(z.string(), z.unknown()).optional(),
|
|
8001
|
+
jumpDeviceKey: z.string().optional()
|
|
8001
8002
|
}));
|
|
8002
8003
|
var ModelSubstitutionSchema = z.object({
|
|
8003
8004
|
addonId: z.string(),
|
|
@@ -8492,8 +8493,24 @@ var NativeCropBboxSchema = z.object({
|
|
|
8492
8493
|
});
|
|
8493
8494
|
/** Result of a best-effort native-resolution crop (`getNativeCrop`). */
|
|
8494
8495
|
var NativeCropResultSchema = z.object({
|
|
8495
|
-
/**
|
|
8496
|
-
|
|
8496
|
+
/**
|
|
8497
|
+
* Packed rgb (24-bit) pixels of the crop. Present on the DEFAULT (raw) path —
|
|
8498
|
+
* same-node (in-process / UDS) callers get zero-copy RGB and encode locally.
|
|
8499
|
+
* OMITTED when the caller requested `encodeJpeg` (the cross-node compressed
|
|
8500
|
+
* path below), where shipping raw RGB is both an invariant violation and, for
|
|
8501
|
+
* a native full frame (~26 MB at 4K), larger than Moleculer's 10 MB
|
|
8502
|
+
* `maxPacketSize` → the packet is dropped and the call 60s-times-out. That is
|
|
8503
|
+
* the cross-node native-media miss: `bytes` is replaced by `jpeg`.
|
|
8504
|
+
*/
|
|
8505
|
+
bytes: z.instanceof(Uint8Array).optional(),
|
|
8506
|
+
/**
|
|
8507
|
+
* Base64 JPEG of the crop — the COMPRESSED cross-node payload. The OWNING node
|
|
8508
|
+
* (which holds the native surface) encodes it in-process, so a native 4K frame
|
|
8509
|
+
* ships as ~0.5–2 MB (well under `maxPacketSize`) and NO raw pixels ever cross
|
|
8510
|
+
* a process boundary (CLAUDE.md invariant #21). Present ONLY when the request
|
|
8511
|
+
* set `encodeJpeg: true`; `bytes` is then absent.
|
|
8512
|
+
*/
|
|
8513
|
+
jpeg: z.string().optional(),
|
|
8497
8514
|
width: z.number().int().positive(),
|
|
8498
8515
|
height: z.number().int().positive(),
|
|
8499
8516
|
/**
|
|
@@ -8639,6 +8656,20 @@ var RunnerFrameSourceSchema = z.discriminatedUnion("kind", [z.object({ kind: z.l
|
|
|
8639
8656
|
hubHostnameOverride: z.string().optional()
|
|
8640
8657
|
})]).describe("Per-camera frame-source mode for the runner (P2c)");
|
|
8641
8658
|
/**
|
|
8659
|
+
* One ENABLED inference device on the runner's node, as the step-tree
|
|
8660
|
+
* device-jump resolver sees it (phase 1). The orchestrator populates this
|
|
8661
|
+
* roster on the attach payload whenever the camera is elected onto a specific
|
|
8662
|
+
* `deviceKey` and the node has ≥2 enabled devices — it is the candidate set the
|
|
8663
|
+
* runner auto-jumps an enrichment step to when the elected device's format
|
|
8664
|
+
* cannot run that step's model. `weight`/`maxSessions` mirror the balancer's
|
|
8665
|
+
* per-device knobs so the auto choice is weighted-least-loaded.
|
|
8666
|
+
*/
|
|
8667
|
+
var RunnerInferenceDeviceSchema = z.object({
|
|
8668
|
+
deviceKey: z.string(),
|
|
8669
|
+
weight: z.number().positive().default(1),
|
|
8670
|
+
maxSessions: z.number().int().positive().nullable().default(null)
|
|
8671
|
+
});
|
|
8672
|
+
/**
|
|
8642
8673
|
* Camera assignment payload sent by `addon-pipeline-orchestrator` to a
|
|
8643
8674
|
* specific runner instance via `attachCamera`. Carries everything the
|
|
8644
8675
|
* runner needs to subscribe to the local broker and execute inference.
|
|
@@ -8756,7 +8787,16 @@ var RunnerCameraConfigSchema = z.object({
|
|
|
8756
8787
|
* omitted ⇒ the runner's default device. The engine itself stays node-local —
|
|
8757
8788
|
* this only selects WHICH device pool of that node runs the session.
|
|
8758
8789
|
*/
|
|
8759
|
-
deviceKey: z.string().optional()
|
|
8790
|
+
deviceKey: z.string().optional(),
|
|
8791
|
+
/**
|
|
8792
|
+
* Step-tree device-jump roster (phase 1): the node's ENABLED inference
|
|
8793
|
+
* devices, populated by the orchestrator ONLY when `deviceKey` is set and the
|
|
8794
|
+
* node has ≥2 enabled devices. The runner uses it to AUTO-jump an enrichment
|
|
8795
|
+
* step whose model has no build for the elected device's format onto another
|
|
8796
|
+
* enabled device of the SAME node (weighted-least-loaded). Absent/single-entry
|
|
8797
|
+
* ⇒ no jump possible; the step runs on `deviceKey`.
|
|
8798
|
+
*/
|
|
8799
|
+
inferenceDevices: z.array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
8760
8800
|
});
|
|
8761
8801
|
/**
|
|
8762
8802
|
* Per-device settings UI fields the runner cap owns. Co-located with
|
|
@@ -9000,7 +9040,18 @@ var pipelineRunnerCapability = {
|
|
|
9000
9040
|
getNativeCrop: method(z.object({
|
|
9001
9041
|
handle: FrameHandleSchema,
|
|
9002
9042
|
bbox: NativeCropBboxSchema,
|
|
9003
|
-
maxWidth: z.number().int().positive().optional()
|
|
9043
|
+
maxWidth: z.number().int().positive().optional(),
|
|
9044
|
+
/**
|
|
9045
|
+
* When `true`, the runner encodes the resolved crop to JPEG ON THE
|
|
9046
|
+
* OWNING NODE and returns it in `jpeg` (base64) INSTEAD of raw `bytes`.
|
|
9047
|
+
* Callers set this for CROSS-NODE fetches (`handle.nodeId` is a remote
|
|
9048
|
+
* agent) so the compressed payload fits Moleculer's `maxPacketSize` and
|
|
9049
|
+
* no raw pixels cross the process boundary. Same-node callers omit it
|
|
9050
|
+
* and keep the zero-copy raw `bytes` path. Additive + optional: a
|
|
9051
|
+
* pre-encode runner (version skew) ignores it and returns `bytes`, so
|
|
9052
|
+
* the caller falls back to encoding locally.
|
|
9053
|
+
*/
|
|
9054
|
+
encodeJpeg: z.boolean().optional()
|
|
9004
9055
|
}), NativeCropResultSchema.nullable()),
|
|
9005
9056
|
/**
|
|
9006
9057
|
* Two-plane design: run the DETAIL subtree (crop children —
|
|
@@ -19590,7 +19641,16 @@ var PipelineTemplateSchema = z.object({
|
|
|
19590
19641
|
});
|
|
19591
19642
|
var DeviceStepConfigSchema = z.object({
|
|
19592
19643
|
modelId: z.string().optional(),
|
|
19593
|
-
settings: z.record(z.string(), z.unknown()).optional()
|
|
19644
|
+
settings: z.record(z.string(), z.unknown()).optional(),
|
|
19645
|
+
/**
|
|
19646
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
19647
|
+
* When set, this step runs on the named enabled device of the SAME node
|
|
19648
|
+
* (`<backend>:<device>`) instead of the camera's elected device, bypassing
|
|
19649
|
+
* the runtime AUTO-jump. The orchestrator rejects a `jumpDeviceKey` pointing
|
|
19650
|
+
* at a disabled/absent device on that node at save time. Absent ⇒ the runner
|
|
19651
|
+
* auto-jumps only when the effective device's format cannot run the step.
|
|
19652
|
+
*/
|
|
19653
|
+
jumpDeviceKey: z.string().optional()
|
|
19594
19654
|
});
|
|
19595
19655
|
var AgentPipelineSettingsSchema = z.object({
|
|
19596
19656
|
maxCameras: z.number().int().nonnegative().nullable().default(null),
|
|
@@ -31732,4 +31792,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
31732
31792
|
return out;
|
|
31733
31793
|
}
|
|
31734
31794
|
//#endregion
|
|
31735
|
-
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, NativeCropBboxSchema, NativeCropResultSchema, 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 };
|
|
31795
|
+
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, NativeCropBboxSchema, NativeCropResultSchema, 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, RunnerInferenceDeviceSchema, 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 };
|
|
@@ -29,6 +29,14 @@ export interface RunnerCameraConfig {
|
|
|
29
29
|
* uses its single default pool. Mirrors `RunnerCameraConfigSchema.deviceKey`.
|
|
30
30
|
*/
|
|
31
31
|
readonly deviceKey?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Step-tree device-jump roster (phase 1) — the node's ENABLED inference
|
|
34
|
+
* devices. Populated by the orchestrator ONLY when `deviceKey` is set and the
|
|
35
|
+
* node has ≥2 enabled devices; the runner auto-jumps an enrichment step whose
|
|
36
|
+
* model has no build for the elected device's format onto another enabled
|
|
37
|
+
* device here. Mirrors `RunnerCameraConfigSchema.inferenceDevices`.
|
|
38
|
+
*/
|
|
39
|
+
readonly inferenceDevices?: readonly import('../capabilities/pipeline-runner.cap.js').RunnerInferenceDevice[];
|
|
32
40
|
/** Ordered tree of video steps — Phase 1 optional, runner ignores until Phase 3. */
|
|
33
41
|
readonly steps?: readonly PipelineStepInputOutput[];
|
|
34
42
|
/**
|
|
@@ -45,6 +45,14 @@ export interface AgentAddonConfig {
|
|
|
45
45
|
export interface DeviceStepConfig {
|
|
46
46
|
readonly modelId?: string;
|
|
47
47
|
readonly settings?: Readonly<Record<string, unknown>>;
|
|
48
|
+
/**
|
|
49
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL operator override.
|
|
50
|
+
* The `<backend>:<device>` key of another ENABLED device on the SAME node
|
|
51
|
+
* this step should run on, bypassing the runtime AUTO-jump. Validated at save
|
|
52
|
+
* (a disabled/absent target is rejected). Absent ⇒ the runner auto-jumps only
|
|
53
|
+
* when the effective device's format cannot run the step's model.
|
|
54
|
+
*/
|
|
55
|
+
readonly jumpDeviceKey?: string;
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
50
58
|
* Per-(camera,node,device,step) override patch over the per-(node,device)
|