@camstack/types 1.2.1 → 1.2.3
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-analytics.cap.d.ts +5 -0
- 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 +30 -8
- package/dist/index.js +69 -7
- package/dist/index.mjs +69 -8
- 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';
|
|
@@ -359,6 +359,7 @@ declare const MediaFileKindEnum: z.ZodEnum<{
|
|
|
359
359
|
plateCrop: "plateCrop";
|
|
360
360
|
keyFrame: "keyFrame";
|
|
361
361
|
keyFrameSmall: "keyFrameSmall";
|
|
362
|
+
thumbnailSmall: "thumbnailSmall";
|
|
362
363
|
}>;
|
|
363
364
|
export type MediaFileKind = z.infer<typeof MediaFileKindEnum>;
|
|
364
365
|
declare const MediaFileSchema: z.ZodObject<{
|
|
@@ -375,6 +376,7 @@ declare const MediaFileSchema: z.ZodObject<{
|
|
|
375
376
|
plateCrop: "plateCrop";
|
|
376
377
|
keyFrame: "keyFrame";
|
|
377
378
|
keyFrameSmall: "keyFrameSmall";
|
|
379
|
+
thumbnailSmall: "thumbnailSmall";
|
|
378
380
|
}>;
|
|
379
381
|
base64: z.ZodString;
|
|
380
382
|
sizeBytes: z.ZodNumber;
|
|
@@ -1261,6 +1263,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1261
1263
|
plateCrop: "plateCrop";
|
|
1262
1264
|
keyFrame: "keyFrame";
|
|
1263
1265
|
keyFrameSmall: "keyFrameSmall";
|
|
1266
|
+
thumbnailSmall: "thumbnailSmall";
|
|
1264
1267
|
}>>;
|
|
1265
1268
|
}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1266
1269
|
key: z.ZodString;
|
|
@@ -1276,6 +1279,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1276
1279
|
plateCrop: "plateCrop";
|
|
1277
1280
|
keyFrame: "keyFrame";
|
|
1278
1281
|
keyFrameSmall: "keyFrameSmall";
|
|
1282
|
+
thumbnailSmall: "thumbnailSmall";
|
|
1279
1283
|
}>;
|
|
1280
1284
|
base64: z.ZodString;
|
|
1281
1285
|
sizeBytes: z.ZodNumber;
|
|
@@ -1297,6 +1301,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
1297
1301
|
plateCrop: "plateCrop";
|
|
1298
1302
|
keyFrame: "keyFrame";
|
|
1299
1303
|
keyFrameSmall: "keyFrameSmall";
|
|
1304
|
+
thumbnailSmall: "thumbnailSmall";
|
|
1300
1305
|
}>;
|
|
1301
1306
|
base64: z.ZodString;
|
|
1302
1307
|
sizeBytes: z.ZodNumber;
|
|
@@ -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<{
|
|
@@ -10202,11 +10202,11 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10202
10202
|
input: {
|
|
10203
10203
|
[x: string]: unknown;
|
|
10204
10204
|
eventId: string;
|
|
10205
|
-
kind?: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | undefined;
|
|
10205
|
+
kind?: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall" | undefined;
|
|
10206
10206
|
};
|
|
10207
10207
|
output: readonly {
|
|
10208
10208
|
key: string;
|
|
10209
|
-
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall";
|
|
10209
|
+
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall";
|
|
10210
10210
|
base64: string;
|
|
10211
10211
|
sizeBytes: number;
|
|
10212
10212
|
timestamp: number;
|
|
@@ -10220,7 +10220,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
10220
10220
|
};
|
|
10221
10221
|
output: readonly {
|
|
10222
10222
|
key: string;
|
|
10223
|
-
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall";
|
|
10223
|
+
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall";
|
|
10224
10224
|
base64: string;
|
|
10225
10225
|
sizeBytes: number;
|
|
10226
10226
|
timestamp: number;
|
|
@@ -11147,6 +11147,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11147
11147
|
steps?: Record<string, {
|
|
11148
11148
|
modelId?: string | undefined;
|
|
11149
11149
|
settings?: Record<string, unknown> | undefined;
|
|
11150
|
+
jumpDeviceKey?: string | undefined;
|
|
11150
11151
|
}> | undefined;
|
|
11151
11152
|
}> | undefined;
|
|
11152
11153
|
} | null;
|
|
@@ -11173,6 +11174,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11173
11174
|
steps?: Record<string, {
|
|
11174
11175
|
modelId?: string | undefined;
|
|
11175
11176
|
settings?: Record<string, unknown> | undefined;
|
|
11177
|
+
jumpDeviceKey?: string | undefined;
|
|
11176
11178
|
}> | undefined;
|
|
11177
11179
|
}> | undefined;
|
|
11178
11180
|
};
|
|
@@ -11247,6 +11249,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11247
11249
|
steps?: Record<string, {
|
|
11248
11250
|
modelId?: string | undefined;
|
|
11249
11251
|
settings?: Record<string, unknown> | undefined;
|
|
11252
|
+
jumpDeviceKey?: string | undefined;
|
|
11250
11253
|
}> | undefined;
|
|
11251
11254
|
}>;
|
|
11252
11255
|
};
|
|
@@ -11276,6 +11279,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11276
11279
|
steps?: Record<string, {
|
|
11277
11280
|
modelId?: string | undefined;
|
|
11278
11281
|
settings?: Record<string, unknown> | undefined;
|
|
11282
|
+
jumpDeviceKey?: string | undefined;
|
|
11279
11283
|
}> | undefined;
|
|
11280
11284
|
}[];
|
|
11281
11285
|
};
|
|
@@ -11785,6 +11789,11 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11785
11789
|
hubHostnameOverride?: string | undefined;
|
|
11786
11790
|
} | undefined;
|
|
11787
11791
|
deviceKey?: string | undefined;
|
|
11792
|
+
inferenceDevices?: readonly {
|
|
11793
|
+
deviceKey: string;
|
|
11794
|
+
weight?: number | undefined;
|
|
11795
|
+
maxSessions?: number | null | undefined;
|
|
11796
|
+
}[] | undefined;
|
|
11788
11797
|
};
|
|
11789
11798
|
output: {
|
|
11790
11799
|
success: true;
|
|
@@ -11922,11 +11931,13 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
11922
11931
|
h: number;
|
|
11923
11932
|
};
|
|
11924
11933
|
maxWidth?: number | undefined;
|
|
11934
|
+
encodeJpeg?: boolean | undefined;
|
|
11925
11935
|
};
|
|
11926
11936
|
output: {
|
|
11927
|
-
bytes: Uint8Array<ArrayBuffer>;
|
|
11928
11937
|
width: number;
|
|
11929
11938
|
height: number;
|
|
11939
|
+
bytes?: Uint8Array<ArrayBuffer> | undefined;
|
|
11940
|
+
jpeg?: string | undefined;
|
|
11930
11941
|
tier?: "native" | "ram-fullframe" | undefined;
|
|
11931
11942
|
} | null;
|
|
11932
11943
|
meta: object;
|
|
@@ -27012,11 +27023,11 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
27012
27023
|
input: {
|
|
27013
27024
|
[x: string]: unknown;
|
|
27014
27025
|
eventId: string;
|
|
27015
|
-
kind?: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | undefined;
|
|
27026
|
+
kind?: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall" | undefined;
|
|
27016
27027
|
};
|
|
27017
27028
|
output: readonly {
|
|
27018
27029
|
key: string;
|
|
27019
|
-
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall";
|
|
27030
|
+
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall";
|
|
27020
27031
|
base64: string;
|
|
27021
27032
|
sizeBytes: number;
|
|
27022
27033
|
timestamp: number;
|
|
@@ -27030,7 +27041,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
27030
27041
|
};
|
|
27031
27042
|
output: readonly {
|
|
27032
27043
|
key: string;
|
|
27033
|
-
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall";
|
|
27044
|
+
kind: "snapshot" | "crop" | "thumbnail" | "firstFrame" | "lastFrame" | "fullFrame" | "fullFrameBoxed" | "faceCrop" | "plateCrop" | "keyFrame" | "keyFrameSmall" | "thumbnailSmall";
|
|
27034
27045
|
base64: string;
|
|
27035
27046
|
sizeBytes: number;
|
|
27036
27047
|
timestamp: number;
|
|
@@ -27957,6 +27968,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
27957
27968
|
steps?: Record<string, {
|
|
27958
27969
|
modelId?: string | undefined;
|
|
27959
27970
|
settings?: Record<string, unknown> | undefined;
|
|
27971
|
+
jumpDeviceKey?: string | undefined;
|
|
27960
27972
|
}> | undefined;
|
|
27961
27973
|
}> | undefined;
|
|
27962
27974
|
} | null;
|
|
@@ -27983,6 +27995,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
27983
27995
|
steps?: Record<string, {
|
|
27984
27996
|
modelId?: string | undefined;
|
|
27985
27997
|
settings?: Record<string, unknown> | undefined;
|
|
27998
|
+
jumpDeviceKey?: string | undefined;
|
|
27986
27999
|
}> | undefined;
|
|
27987
28000
|
}> | undefined;
|
|
27988
28001
|
};
|
|
@@ -28057,6 +28070,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28057
28070
|
steps?: Record<string, {
|
|
28058
28071
|
modelId?: string | undefined;
|
|
28059
28072
|
settings?: Record<string, unknown> | undefined;
|
|
28073
|
+
jumpDeviceKey?: string | undefined;
|
|
28060
28074
|
}> | undefined;
|
|
28061
28075
|
}>;
|
|
28062
28076
|
};
|
|
@@ -28086,6 +28100,7 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28086
28100
|
steps?: Record<string, {
|
|
28087
28101
|
modelId?: string | undefined;
|
|
28088
28102
|
settings?: Record<string, unknown> | undefined;
|
|
28103
|
+
jumpDeviceKey?: string | undefined;
|
|
28089
28104
|
}> | undefined;
|
|
28090
28105
|
}[];
|
|
28091
28106
|
};
|
|
@@ -28595,6 +28610,11 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28595
28610
|
hubHostnameOverride?: string | undefined;
|
|
28596
28611
|
} | undefined;
|
|
28597
28612
|
deviceKey?: string | undefined;
|
|
28613
|
+
inferenceDevices?: readonly {
|
|
28614
|
+
deviceKey: string;
|
|
28615
|
+
weight?: number | undefined;
|
|
28616
|
+
maxSessions?: number | null | undefined;
|
|
28617
|
+
}[] | undefined;
|
|
28598
28618
|
};
|
|
28599
28619
|
output: {
|
|
28600
28620
|
success: true;
|
|
@@ -28732,11 +28752,13 @@ export type AppRouter = import("@trpc/server/unstable-core-do-not-import").Route
|
|
|
28732
28752
|
h: number;
|
|
28733
28753
|
};
|
|
28734
28754
|
maxWidth?: number | undefined;
|
|
28755
|
+
encodeJpeg?: boolean | undefined;
|
|
28735
28756
|
};
|
|
28736
28757
|
output: {
|
|
28737
|
-
bytes: Uint8Array<ArrayBuffer>;
|
|
28738
28758
|
width: number;
|
|
28739
28759
|
height: number;
|
|
28760
|
+
bytes?: Uint8Array<ArrayBuffer> | undefined;
|
|
28761
|
+
jpeg?: string | undefined;
|
|
28740
28762
|
tier?: "native" | "ram-fullframe" | undefined;
|
|
28741
28763
|
} | null;
|
|
28742
28764
|
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 —
|
|
@@ -19073,7 +19124,8 @@ var MediaFileKindEnum = zod.z.enum([
|
|
|
19073
19124
|
"faceCrop",
|
|
19074
19125
|
"plateCrop",
|
|
19075
19126
|
"keyFrame",
|
|
19076
|
-
"keyFrameSmall"
|
|
19127
|
+
"keyFrameSmall",
|
|
19128
|
+
"thumbnailSmall"
|
|
19077
19129
|
]);
|
|
19078
19130
|
var MediaFileSchema = zod.z.object({
|
|
19079
19131
|
key: zod.z.string(),
|
|
@@ -19591,7 +19643,16 @@ var PipelineTemplateSchema = zod.z.object({
|
|
|
19591
19643
|
});
|
|
19592
19644
|
var DeviceStepConfigSchema = zod.z.object({
|
|
19593
19645
|
modelId: zod.z.string().optional(),
|
|
19594
|
-
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
19646
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
19647
|
+
/**
|
|
19648
|
+
* Step-tree device jump (same-node, phase 1) — OPTIONAL manual override.
|
|
19649
|
+
* When set, this step runs on the named enabled device of the SAME node
|
|
19650
|
+
* (`<backend>:<device>`) instead of the camera's elected device, bypassing
|
|
19651
|
+
* the runtime AUTO-jump. The orchestrator rejects a `jumpDeviceKey` pointing
|
|
19652
|
+
* at a disabled/absent device on that node at save time. Absent ⇒ the runner
|
|
19653
|
+
* auto-jumps only when the effective device's format cannot run the step.
|
|
19654
|
+
*/
|
|
19655
|
+
jumpDeviceKey: zod.z.string().optional()
|
|
19595
19656
|
});
|
|
19596
19657
|
var AgentPipelineSettingsSchema = zod.z.object({
|
|
19597
19658
|
maxCameras: zod.z.number().int().nonnegative().nullable().default(null),
|
|
@@ -32210,6 +32271,7 @@ exports.RtspRestreamEntrySchema = RtspRestreamEntrySchema;
|
|
|
32210
32271
|
exports.RunnerCameraConfigSchema = RunnerCameraConfigSchema;
|
|
32211
32272
|
exports.RunnerCameraDeviceUIFields = RunnerCameraDeviceUIFields;
|
|
32212
32273
|
exports.RunnerFrameSourceSchema = RunnerFrameSourceSchema;
|
|
32274
|
+
exports.RunnerInferenceDeviceSchema = RunnerInferenceDeviceSchema;
|
|
32213
32275
|
exports.RunnerLocalLoadSchema = RunnerLocalLoadSchema;
|
|
32214
32276
|
exports.RunnerLocalMetricsSchema = RunnerLocalMetricsSchema;
|
|
32215
32277
|
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 —
|
|
@@ -19072,7 +19123,8 @@ var MediaFileKindEnum = z.enum([
|
|
|
19072
19123
|
"faceCrop",
|
|
19073
19124
|
"plateCrop",
|
|
19074
19125
|
"keyFrame",
|
|
19075
|
-
"keyFrameSmall"
|
|
19126
|
+
"keyFrameSmall",
|
|
19127
|
+
"thumbnailSmall"
|
|
19076
19128
|
]);
|
|
19077
19129
|
var MediaFileSchema = z.object({
|
|
19078
19130
|
key: z.string(),
|
|
@@ -19590,7 +19642,16 @@ var PipelineTemplateSchema = z.object({
|
|
|
19590
19642
|
});
|
|
19591
19643
|
var DeviceStepConfigSchema = z.object({
|
|
19592
19644
|
modelId: z.string().optional(),
|
|
19593
|
-
settings: z.record(z.string(), z.unknown()).optional()
|
|
19645
|
+
settings: z.record(z.string(), 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: z.string().optional()
|
|
19594
19655
|
});
|
|
19595
19656
|
var AgentPipelineSettingsSchema = z.object({
|
|
19596
19657
|
maxCameras: z.number().int().nonnegative().nullable().default(null),
|
|
@@ -31732,4 +31793,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
31732
31793
|
return out;
|
|
31733
31794
|
}
|
|
31734
31795
|
//#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 };
|
|
31796
|
+
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)
|