@camstack/types 1.0.4 → 1.0.5
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/addons.cap.d.ts +7 -7
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/camera-streams.cap.d.ts +5 -5
- package/dist/capabilities/index.d.ts +2 -1
- package/dist/capabilities/pipeline-executor.cap.d.ts +48 -1
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +521 -1
- package/dist/capabilities/schemas/streaming-shared.d.ts +4 -4
- package/dist/capabilities/stream-broker.cap.d.ts +2 -2
- package/dist/capabilities/webrtc-session.cap.d.ts +2 -2
- package/dist/enums/event-category.d.ts +12 -0
- package/dist/generated/addon-api.d.ts +416 -0
- package/dist/generated/device-proxy.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/index.js +264 -1
- package/dist/index.mjs +249 -2
- package/dist/interfaces/event-bus.d.ts +15 -0
- package/dist/interfaces/pipeline-executor-capability.d.ts +8 -0
- package/dist/lifecycle/job.d.ts +6 -6
- package/dist/types/agent-pipeline-settings.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -472,6 +472,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
472
472
|
*/
|
|
473
473
|
EventCategory["PipelineEngineMetricsSnapshot"] = "pipeline.engine-metrics-snapshot";
|
|
474
474
|
/**
|
|
475
|
+
* Per-node detection-engine runtime-provisioning transition. Emitted by
|
|
476
|
+
* the detection-pipeline provider on every state change of its lazy
|
|
477
|
+
* engine-provisioning machine (idle → installing → verifying → ready,
|
|
478
|
+
* or → failed with a `nextRetryAt`). Payload is the
|
|
479
|
+
* `EngineProvisioningState` snapshot; `event.source.nodeId` carries the
|
|
480
|
+
* node. The Pipeline page subscribes to drive a live "installing
|
|
481
|
+
* OpenVINO… / ready" indicator per node without polling
|
|
482
|
+
* `pipelineExecutor.getEngineProvisioning`. Telemetry-grade (D8): the UI
|
|
483
|
+
* also reads the cap snapshot on mount / reconnect. Phase 2.
|
|
484
|
+
*/
|
|
485
|
+
EventCategory["PipelineEngineProvisioning"] = "pipeline.engine-provisioning";
|
|
486
|
+
/**
|
|
475
487
|
* Cluster topology snapshot. Carries the same payload returned by
|
|
476
488
|
* `nodes.topology` (every reachable node + addons + processes).
|
|
477
489
|
* Emitted by the hub on any agent / addon lifecycle change
|
|
@@ -8401,6 +8413,24 @@ var DetectorOutputSchema = z.object({
|
|
|
8401
8413
|
inferenceMs: z.number(),
|
|
8402
8414
|
modelId: z.string()
|
|
8403
8415
|
});
|
|
8416
|
+
var EngineProvisioningSchema = z.object({
|
|
8417
|
+
runtimeId: z.enum([
|
|
8418
|
+
"onnx",
|
|
8419
|
+
"openvino",
|
|
8420
|
+
"coreml"
|
|
8421
|
+
]).nullable(),
|
|
8422
|
+
device: z.string().nullable(),
|
|
8423
|
+
state: z.enum([
|
|
8424
|
+
"idle",
|
|
8425
|
+
"installing",
|
|
8426
|
+
"verifying",
|
|
8427
|
+
"ready",
|
|
8428
|
+
"failed"
|
|
8429
|
+
]),
|
|
8430
|
+
progress: z.number().optional(),
|
|
8431
|
+
error: z.string().optional(),
|
|
8432
|
+
nextRetryAt: z.number().optional()
|
|
8433
|
+
});
|
|
8404
8434
|
var PipelineStepInputSchema = z.lazy(() => z.object({
|
|
8405
8435
|
addonId: z.string(),
|
|
8406
8436
|
modelId: z.string(),
|
|
@@ -8500,6 +8530,15 @@ var pipelineExecutorCapability = {
|
|
|
8500
8530
|
kind: "mutation",
|
|
8501
8531
|
auth: "admin"
|
|
8502
8532
|
}),
|
|
8533
|
+
/**
|
|
8534
|
+
* Per-node detection-engine provisioning snapshot. Returns the live
|
|
8535
|
+
* state of the lazy runtime-provisioning machine on `nodeId`
|
|
8536
|
+
* (idle / installing / verifying / ready / failed). The UI pairs this
|
|
8537
|
+
* one-shot query with the `pipeline.engine-provisioning` live event
|
|
8538
|
+
* (emitted on every transition) to drive a per-node "engine ready?"
|
|
8539
|
+
* indicator without polling. Phase 2.
|
|
8540
|
+
*/
|
|
8541
|
+
getEngineProvisioning: method(z.object({ nodeId: z.string() }), EngineProvisioningSchema),
|
|
8503
8542
|
getVideoPipelineSteps: method(z.void(), z.record(z.string(), z.object({
|
|
8504
8543
|
modelId: z.string(),
|
|
8505
8544
|
settings: z.record(z.string(), z.unknown()).readonly()
|
|
@@ -12925,6 +12964,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
12925
12964
|
setCameraStepOverride: (input) => dispatchSystem("pipelineOrchestrator", "setCameraStepOverride", "mutation", input),
|
|
12926
12965
|
setCameraPipelineForAgent: (input) => dispatchSystem("pipelineOrchestrator", "setCameraPipelineForAgent", "mutation", input),
|
|
12927
12966
|
resolvePipeline: (input) => dispatchSystem("pipelineOrchestrator", "resolvePipeline", "query", input),
|
|
12967
|
+
getCameraStatus: (input) => dispatchSystem("pipelineOrchestrator", "getCameraStatus", "query", input),
|
|
12928
12968
|
getDeviceSettingsContribution: (input) => dispatchSystem("pipelineOrchestrator", "getDeviceSettingsContribution", "query", input),
|
|
12929
12969
|
getDeviceLiveContribution: (input) => dispatchSystem("pipelineOrchestrator", "getDeviceLiveContribution", "query", input),
|
|
12930
12970
|
applyDeviceSettingsPatch: (input) => dispatchSystem("pipelineOrchestrator", "applyDeviceSettingsPatch", "mutation", input)
|
|
@@ -13336,6 +13376,7 @@ function createSystemProxy(api) {
|
|
|
13336
13376
|
getSelectedEngine: (input) => dispatch("pipelineExecutor", "getSelectedEngine", "query", input),
|
|
13337
13377
|
getDefaultSteps: (input) => dispatch("pipelineExecutor", "getDefaultSteps", "query", input),
|
|
13338
13378
|
reprobeEngine: (input) => dispatch("pipelineExecutor", "reprobeEngine", "mutation", input),
|
|
13379
|
+
getEngineProvisioning: (input) => dispatch("pipelineExecutor", "getEngineProvisioning", "query", input),
|
|
13339
13380
|
getVideoPipelineSteps: (input) => dispatch("pipelineExecutor", "getVideoPipelineSteps", "query", input),
|
|
13340
13381
|
setVideoPipelineSteps: (input) => dispatch("pipelineExecutor", "setVideoPipelineSteps", "mutation", input),
|
|
13341
13382
|
getSchema: (input) => dispatch("pipelineExecutor", "getSchema", "query", input),
|
|
@@ -13379,6 +13420,8 @@ function createSystemProxy(api) {
|
|
|
13379
13420
|
listAgentSettings: (input) => dispatch("pipelineOrchestrator", "listAgentSettings", "query", input),
|
|
13380
13421
|
setAgentAddonDefaults: (input) => dispatch("pipelineOrchestrator", "setAgentAddonDefaults", "mutation", input),
|
|
13381
13422
|
removeAgentSettings: (input) => dispatch("pipelineOrchestrator", "removeAgentSettings", "mutation", input),
|
|
13423
|
+
setAgentMaxCameras: (input) => dispatch("pipelineOrchestrator", "setAgentMaxCameras", "mutation", input),
|
|
13424
|
+
getCameraStatuses: (input) => dispatch("pipelineOrchestrator", "getCameraStatuses", "query", input),
|
|
13382
13425
|
listTemplates: (input) => dispatch("pipelineOrchestrator", "listTemplates", "query", input),
|
|
13383
13426
|
saveTemplate: (input) => dispatch("pipelineOrchestrator", "saveTemplate", "mutation", input),
|
|
13384
13427
|
updateTemplate: (input) => dispatch("pipelineOrchestrator", "updateTemplate", "mutation", input),
|
|
@@ -16994,7 +17037,10 @@ var AgentAddonConfigSchema = z.object({
|
|
|
16994
17037
|
modelId: z.string(),
|
|
16995
17038
|
settings: z.record(z.string(), z.unknown()).readonly()
|
|
16996
17039
|
});
|
|
16997
|
-
var AgentPipelineSettingsSchema = z.object({
|
|
17040
|
+
var AgentPipelineSettingsSchema = z.object({
|
|
17041
|
+
addonDefaults: z.record(z.string(), AgentAddonConfigSchema).readonly(),
|
|
17042
|
+
maxCameras: z.number().int().nonnegative().nullable().default(null)
|
|
17043
|
+
});
|
|
16998
17044
|
var CameraPipelineForAgentSchema = z.object({
|
|
16999
17045
|
steps: z.array(PipelineStepInputSchema).readonly(),
|
|
17000
17046
|
audio: z.object({
|
|
@@ -17096,6 +17142,141 @@ var GlobalMetricsSchema = z.object({
|
|
|
17096
17142
|
* capability providers.
|
|
17097
17143
|
*/
|
|
17098
17144
|
var CapabilityBindingsSchema = z.record(z.string(), z.string());
|
|
17145
|
+
/** Stream entry surfaced from the stream-catalog for one device. */
|
|
17146
|
+
var CameraSourceStreamSchema = z.object({
|
|
17147
|
+
camStreamId: z.string(),
|
|
17148
|
+
codec: z.string(),
|
|
17149
|
+
width: z.number(),
|
|
17150
|
+
height: z.number(),
|
|
17151
|
+
fps: z.number(),
|
|
17152
|
+
kind: z.string()
|
|
17153
|
+
});
|
|
17154
|
+
/** Source block — always present; derives from the stream catalog. */
|
|
17155
|
+
var CameraSourceStatusSchema = z.object({ streams: z.array(CameraSourceStreamSchema).readonly() });
|
|
17156
|
+
/** Assignment block — always present (orchestrator-local, no remote call). */
|
|
17157
|
+
var CameraAssignmentStatusSchema = z.object({
|
|
17158
|
+
detectionNodeId: z.string().nullable(),
|
|
17159
|
+
decoderNodeId: z.string().nullable(),
|
|
17160
|
+
audioNodeId: z.string().nullable(),
|
|
17161
|
+
pinned: z.object({
|
|
17162
|
+
detection: z.boolean(),
|
|
17163
|
+
decoder: z.boolean(),
|
|
17164
|
+
audio: z.boolean()
|
|
17165
|
+
}),
|
|
17166
|
+
reasons: z.object({
|
|
17167
|
+
detection: z.string().optional(),
|
|
17168
|
+
decoder: z.string().optional(),
|
|
17169
|
+
audio: z.string().optional()
|
|
17170
|
+
})
|
|
17171
|
+
});
|
|
17172
|
+
/** Broker profile slot entry within the broker block. */
|
|
17173
|
+
var CameraBrokerProfileSchema = z.object({
|
|
17174
|
+
profile: z.string(),
|
|
17175
|
+
status: z.string(),
|
|
17176
|
+
codec: z.string(),
|
|
17177
|
+
width: z.number(),
|
|
17178
|
+
height: z.number(),
|
|
17179
|
+
subscribers: z.number(),
|
|
17180
|
+
inFps: z.number(),
|
|
17181
|
+
outFps: z.number()
|
|
17182
|
+
});
|
|
17183
|
+
/** Broker block — null when the broker stage is unreachable or inactive. */
|
|
17184
|
+
var CameraBrokerStatusSchema = z.object({
|
|
17185
|
+
profiles: z.array(CameraBrokerProfileSchema).readonly(),
|
|
17186
|
+
webrtcSessions: z.number(),
|
|
17187
|
+
rtspRestream: z.boolean()
|
|
17188
|
+
});
|
|
17189
|
+
/** Shared-memory ring statistics within the decoder block. */
|
|
17190
|
+
var CameraDecoderShmSchema = z.object({
|
|
17191
|
+
framesWritten: z.number(),
|
|
17192
|
+
getFrameHits: z.number(),
|
|
17193
|
+
getFrameMisses: z.number(),
|
|
17194
|
+
budgetMb: z.number()
|
|
17195
|
+
});
|
|
17196
|
+
/** Decoder block — null when the decoder stage is unreachable or inactive. */
|
|
17197
|
+
var CameraDecoderStatusSchema = z.object({
|
|
17198
|
+
nodeId: z.string(),
|
|
17199
|
+
formats: z.array(z.string()).readonly(),
|
|
17200
|
+
sessionCount: z.number(),
|
|
17201
|
+
shm: CameraDecoderShmSchema
|
|
17202
|
+
});
|
|
17203
|
+
/** Motion block — null when motion detection is not active for this device. */
|
|
17204
|
+
var CameraMotionStatusSchema = z.object({
|
|
17205
|
+
enabled: z.boolean(),
|
|
17206
|
+
fps: z.number()
|
|
17207
|
+
});
|
|
17208
|
+
/** Detection engine provisioning state (mirrors pipeline-executor provisioning states). */
|
|
17209
|
+
var CameraDetectionProvisioningStateSchema = z.enum([
|
|
17210
|
+
"idle",
|
|
17211
|
+
"installing",
|
|
17212
|
+
"verifying",
|
|
17213
|
+
"ready",
|
|
17214
|
+
"failed"
|
|
17215
|
+
]);
|
|
17216
|
+
/** Detection provisioning sub-block. */
|
|
17217
|
+
var CameraDetectionProvisioningSchema = z.object({
|
|
17218
|
+
state: CameraDetectionProvisioningStateSchema,
|
|
17219
|
+
error: z.string().optional()
|
|
17220
|
+
});
|
|
17221
|
+
/** Detection phase — derived from the runner's engine phase. */
|
|
17222
|
+
var CameraDetectionPhaseSchema = z.enum([
|
|
17223
|
+
"idle",
|
|
17224
|
+
"watching",
|
|
17225
|
+
"active"
|
|
17226
|
+
]);
|
|
17227
|
+
/** Detection block — null when no detection node is assigned or reachable. */
|
|
17228
|
+
var CameraDetectionStatusSchema = z.object({
|
|
17229
|
+
nodeId: z.string(),
|
|
17230
|
+
engine: z.object({
|
|
17231
|
+
backend: z.string(),
|
|
17232
|
+
device: z.string()
|
|
17233
|
+
}),
|
|
17234
|
+
phase: CameraDetectionPhaseSchema,
|
|
17235
|
+
configuredFps: z.number(),
|
|
17236
|
+
actualFps: z.number(),
|
|
17237
|
+
queueDepth: z.number(),
|
|
17238
|
+
avgInferenceMs: z.number(),
|
|
17239
|
+
provisioning: CameraDetectionProvisioningSchema
|
|
17240
|
+
});
|
|
17241
|
+
/** Audio block — null when no audio node is assigned or reachable. */
|
|
17242
|
+
var CameraAudioStatusSchema = z.object({
|
|
17243
|
+
nodeId: z.string(),
|
|
17244
|
+
enabled: z.boolean()
|
|
17245
|
+
});
|
|
17246
|
+
/** Recording mode enum (matches recording cap). */
|
|
17247
|
+
var CameraRecordingModeSchema = z.enum([
|
|
17248
|
+
"off",
|
|
17249
|
+
"continuous",
|
|
17250
|
+
"events"
|
|
17251
|
+
]);
|
|
17252
|
+
/** Recording block — null when no recording cap is active for this device. */
|
|
17253
|
+
var CameraRecordingStatusSchema = z.object({
|
|
17254
|
+
mode: CameraRecordingModeSchema,
|
|
17255
|
+
active: z.boolean(),
|
|
17256
|
+
storageBytes: z.number()
|
|
17257
|
+
});
|
|
17258
|
+
/**
|
|
17259
|
+
* Aggregated per-camera pipeline status — server-composed, single call.
|
|
17260
|
+
*
|
|
17261
|
+
* The `assignment` and `source` blocks are always present.
|
|
17262
|
+
* Every other block is `null` when the stage is inactive or unreachable
|
|
17263
|
+
* during the bounded parallel fan-out in the orchestrator implementation.
|
|
17264
|
+
*
|
|
17265
|
+
* See spec: `docs/superpowers/specs/2026-06-24-camera-status-aggregator-cap.md`
|
|
17266
|
+
*/
|
|
17267
|
+
var CameraStatusSchema = z.object({
|
|
17268
|
+
deviceId: z.number(),
|
|
17269
|
+
assignment: CameraAssignmentStatusSchema,
|
|
17270
|
+
source: CameraSourceStatusSchema,
|
|
17271
|
+
broker: CameraBrokerStatusSchema.nullable(),
|
|
17272
|
+
decoder: CameraDecoderStatusSchema.nullable(),
|
|
17273
|
+
motion: CameraMotionStatusSchema.nullable(),
|
|
17274
|
+
detection: CameraDetectionStatusSchema.nullable(),
|
|
17275
|
+
audio: CameraAudioStatusSchema.nullable(),
|
|
17276
|
+
recording: CameraRecordingStatusSchema.nullable(),
|
|
17277
|
+
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
17278
|
+
fetchedAt: z.number()
|
|
17279
|
+
});
|
|
17099
17280
|
/**
|
|
17100
17281
|
* Pipeline Orchestrator capability — global load balancer + camera dispatcher.
|
|
17101
17282
|
*
|
|
@@ -17272,6 +17453,25 @@ var pipelineOrchestratorCapability = {
|
|
|
17272
17453
|
kind: "mutation",
|
|
17273
17454
|
auth: "admin"
|
|
17274
17455
|
}),
|
|
17456
|
+
/**
|
|
17457
|
+
* Set the per-node camera cap for one agent.
|
|
17458
|
+
*
|
|
17459
|
+
* `maxCameras: 0` and `maxCameras: null` are both treated as unlimited
|
|
17460
|
+
* by the load balancer (0 is stored as-is; the balancer treats ≤0 as
|
|
17461
|
+
* unlimited alongside null). Pass `null` to clear an existing cap.
|
|
17462
|
+
* Note: the admin UI normalises 0→null before calling this method, so
|
|
17463
|
+
* `maxCameras: 0` only reaches the store via direct SDK or CLI calls.
|
|
17464
|
+
* Changes take effect immediately on the next dispatch cycle — cameras
|
|
17465
|
+
* currently assigned over-cap are left in place (no forced eviction),
|
|
17466
|
+
* but new assignments obey the updated cap.
|
|
17467
|
+
*/
|
|
17468
|
+
setAgentMaxCameras: method(z.object({
|
|
17469
|
+
agentNodeId: z.string(),
|
|
17470
|
+
maxCameras: z.number().int().nonnegative().nullable()
|
|
17471
|
+
}), z.object({ success: z.literal(true) }), {
|
|
17472
|
+
kind: "mutation",
|
|
17473
|
+
auth: "admin"
|
|
17474
|
+
}),
|
|
17275
17475
|
/** Read one camera's settings. Null when never touched (inherits agent defaults fully). */
|
|
17276
17476
|
getCameraSettings: method(z.object({ deviceId: z.number() }), CameraPipelineSettingsSchema.nullable()),
|
|
17277
17477
|
/** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
|
|
@@ -17312,6 +17512,29 @@ var pipelineOrchestratorCapability = {
|
|
|
17312
17512
|
deviceId: z.number(),
|
|
17313
17513
|
agentNodeId: z.string().optional()
|
|
17314
17514
|
}), CameraPipelineConfigSchema),
|
|
17515
|
+
/**
|
|
17516
|
+
* Server-composed aggregated status for a single camera.
|
|
17517
|
+
*
|
|
17518
|
+
* Fans out in parallel (bounded, per-stage graceful degradation) to
|
|
17519
|
+
* broker / decoder / motion / detection / audio / recording source caps
|
|
17520
|
+
* via `ctx.api`. A stage whose source errors or times out becomes `null`
|
|
17521
|
+
* in the returned payload — one slow agent never breaks the whole call.
|
|
17522
|
+
*
|
|
17523
|
+
* Intended for "on open / on camera select" snapshots. Live deltas
|
|
17524
|
+
* keep arriving from the existing ~1Hz events the UI already subscribes to.
|
|
17525
|
+
*/
|
|
17526
|
+
getCameraStatus: method(z.object({ deviceId: z.number() }), CameraStatusSchema),
|
|
17527
|
+
/**
|
|
17528
|
+
* Server-composed aggregated status for multiple cameras in one call.
|
|
17529
|
+
*
|
|
17530
|
+
* `deviceIds` defaults to all cameras currently tracked by the
|
|
17531
|
+
* orchestrator's assignment map when omitted.
|
|
17532
|
+
*
|
|
17533
|
+
* Runs per-device composition in parallel (bounded). Use this to
|
|
17534
|
+
* populate the cluster assignments table and the pipeline flow overview
|
|
17535
|
+
* rail without issuing N parallel browser round-trips.
|
|
17536
|
+
*/
|
|
17537
|
+
getCameraStatuses: method(z.object({ deviceIds: z.array(z.number()).optional() }), z.array(CameraStatusSchema).readonly()),
|
|
17315
17538
|
/** List every template the operator has saved. */
|
|
17316
17539
|
listTemplates: method(z.void(), z.array(PipelineTemplateSchema).readonly()),
|
|
17317
17540
|
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
@@ -26024,6 +26247,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26024
26247
|
addonId: null,
|
|
26025
26248
|
access: "view"
|
|
26026
26249
|
},
|
|
26250
|
+
"pipelineExecutor.getEngineProvisioning": {
|
|
26251
|
+
capName: "pipeline-executor",
|
|
26252
|
+
capScope: "system",
|
|
26253
|
+
addonId: null,
|
|
26254
|
+
access: "view"
|
|
26255
|
+
},
|
|
26027
26256
|
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
26028
26257
|
capName: "pipeline-executor",
|
|
26029
26258
|
capScope: "system",
|
|
@@ -26228,6 +26457,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26228
26457
|
addonId: null,
|
|
26229
26458
|
access: "view"
|
|
26230
26459
|
},
|
|
26460
|
+
"pipelineOrchestrator.getCameraStatus": {
|
|
26461
|
+
capName: "pipeline-orchestrator",
|
|
26462
|
+
capScope: "system",
|
|
26463
|
+
addonId: null,
|
|
26464
|
+
access: "view"
|
|
26465
|
+
},
|
|
26466
|
+
"pipelineOrchestrator.getCameraStatuses": {
|
|
26467
|
+
capName: "pipeline-orchestrator",
|
|
26468
|
+
capScope: "system",
|
|
26469
|
+
addonId: null,
|
|
26470
|
+
access: "view"
|
|
26471
|
+
},
|
|
26231
26472
|
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
26232
26473
|
capName: "pipeline-orchestrator",
|
|
26233
26474
|
capScope: "system",
|
|
@@ -26312,6 +26553,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
26312
26553
|
addonId: null,
|
|
26313
26554
|
access: "create"
|
|
26314
26555
|
},
|
|
26556
|
+
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
26557
|
+
capName: "pipeline-orchestrator",
|
|
26558
|
+
capScope: "system",
|
|
26559
|
+
addonId: null,
|
|
26560
|
+
access: "create"
|
|
26561
|
+
},
|
|
26315
26562
|
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
26316
26563
|
capName: "pipeline-orchestrator",
|
|
26317
26564
|
capScope: "system",
|
|
@@ -28450,4 +28697,4 @@ function bindAddonActions(api, addonId, catalog) {
|
|
|
28450
28697
|
return out;
|
|
28451
28698
|
}
|
|
28452
28699
|
//#endregion
|
|
28453
|
-
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, 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, 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_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderAssignmentSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DetectorOutputSchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposedResourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageStatusSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, MACRO_LABELS, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RECOGNITION_TYPES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RegisteredStreamSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamInfoSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WidgetHostEnum, 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, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, colorCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, decoderCapability, defineCustomActions, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateSchemaFields, errMsg, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isDeployableToAgent, isDeviceConfigCap, isEvent, jobKindSchema, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, presenceCapability, pressureSensorCapability, privacyMaskCapability, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveDetectionRuntime, resolveDeviceProfile, resolveModelFormat, resolveRunnerId, restreamerCapability, runInferenceStep, scopeKey, scriptRunnerCapability, selectAssignedProfileSlots, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, snapshotProviderCapability, ssoBridgeCapability, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamingEngineCapability, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, toDeviceSummary, toStreamSourceEntry, toastCapability, turnProviderCapability, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, valveCapability, vibrationCapability, videoclipsCapability, waterHeaterCapability, weatherCapability, webrtcCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
28700
|
+
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, 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, 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_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, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_FEATURES, DEFAULT_RETENTION, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_INFO, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderAssignmentSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DetectorOutputSchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindSchema, EventSourceType, ExportSetupFieldSchema, ExportSetupSchema, ExposedDeviceSchema, ExposedResourceSchema, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageStatusSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, MACRO_LABELS, METHOD_ACCESS_MAP, MODEL_FORMATS, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationHistoryEntrySchema, NotificationRuleSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OauthIntegrationDescriptorSchema, ObjectEventSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, RECOGNITION_TYPES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingModeSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingRuleSchema, RecordingScheduleSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RegisteredStreamSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, ScopedTokenSchema, ScopedTokenSummarySchema, ScriptRunnerStatusSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamInfoSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TIMEZONES, TamperStatusSchema, TankStatusSchema, TemperatureSensorStatusSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackSchema, TrackStateSchema, TrackedDetectionSchema, TurnServerSchema, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WidgetHostEnum, 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, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, colorCapability, connectivityCapability, consumablesCapability, contactCapability, controlCapability, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, decoderCapability, defineCustomActions, detectionPipelineCapability, deviceAdoptionCapability, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateSchemaFields, errMsg, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, frameworkSwapConfirmSchema, frameworkSwapPackageSchema, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, hfModelUrl, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isDeployableToAgent, isDeviceConfigCap, isEvent, jobKindSchema, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, migrateConfigToBands, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, osdCapability, parseCameraStreamConfig, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, pendingFrameworkSwapSchema, pickPreferredRtspEntry, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, presenceCapability, pressureSensorCapability, privacyMaskCapability, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readinessKey, rebootCapability, recordingCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveDetectionRuntime, resolveDeviceProfile, resolveModelFormat, resolveRunnerId, restreamerCapability, runInferenceStep, scopeKey, scriptRunnerCapability, selectAssignedProfileSlots, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, snapshotProviderCapability, ssoBridgeCapability, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, streamingEngineCapability, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, toDeviceSummary, toStreamSourceEntry, toastCapability, turnProviderCapability, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, valveCapability, vibrationCapability, videoclipsCapability, waterHeaterCapability, weatherCapability, webrtcCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -799,6 +799,21 @@ export interface EventCatalog {
|
|
|
799
799
|
}>;
|
|
800
800
|
readonly timestamp: number;
|
|
801
801
|
};
|
|
802
|
+
/**
|
|
803
|
+
* Per-node detection-engine runtime-provisioning transition. Carries
|
|
804
|
+
* the `EngineProvisioningState` snapshot (runtimeId / device / phase +
|
|
805
|
+
* optional progress / error / nextRetryAt). `nodeId` rides on
|
|
806
|
+
* `event.source.nodeId`. Emitted by the detection-pipeline provider on
|
|
807
|
+
* every state change. Phase 2.
|
|
808
|
+
*/
|
|
809
|
+
'pipeline.engine-provisioning': {
|
|
810
|
+
readonly runtimeId: 'onnx' | 'openvino' | 'coreml' | null;
|
|
811
|
+
readonly device: string | null;
|
|
812
|
+
readonly state: 'idle' | 'installing' | 'verifying' | 'ready' | 'failed';
|
|
813
|
+
readonly progress?: number;
|
|
814
|
+
readonly error?: string;
|
|
815
|
+
readonly nextRetryAt?: number;
|
|
816
|
+
};
|
|
802
817
|
/**
|
|
803
818
|
* Cluster topology snapshot — same payload shape that
|
|
804
819
|
* `nodes.topology` returns. Emitted by the hub on any agent /
|
|
@@ -6,6 +6,7 @@ import type { FrameResult, DetectorOutput } from '../types/detection.js';
|
|
|
6
6
|
import type { ConfigUISchema } from './config-ui.js';
|
|
7
7
|
import type { InferenceCapabilities } from './inference-capabilities.js';
|
|
8
8
|
import type { IAddonResolver } from './pipeline-runner.js';
|
|
9
|
+
import type { EngineProvisioning } from '../capabilities/pipeline-executor.cap.js';
|
|
9
10
|
/**
|
|
10
11
|
* Step configuration for pipeline execution — no runtime/backend (comes
|
|
11
12
|
* from engine). Phase 7 (settings redesign) removed the generic
|
|
@@ -72,6 +73,13 @@ export interface IPipelineExecutorProvider {
|
|
|
72
73
|
getGlobalPipelineConfig(): Promise<PipelineConfig | null>;
|
|
73
74
|
/** Get the currently selected engine (bootstrap default on the node). */
|
|
74
75
|
getSelectedEngine(): Promise<PipelineEngineChoice>;
|
|
76
|
+
/**
|
|
77
|
+
* Per-node detection-engine provisioning snapshot (idle / installing /
|
|
78
|
+
* verifying / ready / failed). Read by the cap and the inference gate.
|
|
79
|
+
* The cap routes `{ nodeId }` for provider resolution only — each node
|
|
80
|
+
* returns its own local machine state, so the provider takes no args.
|
|
81
|
+
*/
|
|
82
|
+
getEngineProvisioning(): EngineProvisioning;
|
|
75
83
|
getOrchestratorConfigSchema(): Promise<ConfigUISchema>;
|
|
76
84
|
/** Get full inference capabilities (addon models, runtimes, etc.) */
|
|
77
85
|
getCapabilities(forceRefresh?: boolean): Promise<InferenceCapabilities>;
|
package/dist/lifecycle/job.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const jobKindSchema: z.ZodEnum<{
|
|
|
7
7
|
}>;
|
|
8
8
|
export type JobKind = z.infer<typeof jobKindSchema>;
|
|
9
9
|
export declare const taskPhaseSchema: z.ZodEnum<{
|
|
10
|
+
failed: "failed";
|
|
10
11
|
queued: "queued";
|
|
11
12
|
fetching: "fetching";
|
|
12
13
|
staged: "staged";
|
|
@@ -15,7 +16,6 @@ export declare const taskPhaseSchema: z.ZodEnum<{
|
|
|
15
16
|
restarting: "restarting";
|
|
16
17
|
applied: "applied";
|
|
17
18
|
done: "done";
|
|
18
|
-
failed: "failed";
|
|
19
19
|
skipped: "skipped";
|
|
20
20
|
}>;
|
|
21
21
|
export type TaskPhase = z.infer<typeof taskPhaseSchema>;
|
|
@@ -29,6 +29,7 @@ export declare const taskLogEntrySchema: z.ZodObject<{
|
|
|
29
29
|
nodeId: z.ZodString;
|
|
30
30
|
packageName: z.ZodString;
|
|
31
31
|
phase: z.ZodEnum<{
|
|
32
|
+
failed: "failed";
|
|
32
33
|
queued: "queued";
|
|
33
34
|
fetching: "fetching";
|
|
34
35
|
staged: "staged";
|
|
@@ -37,7 +38,6 @@ export declare const taskLogEntrySchema: z.ZodObject<{
|
|
|
37
38
|
restarting: "restarting";
|
|
38
39
|
applied: "applied";
|
|
39
40
|
done: "done";
|
|
40
|
-
failed: "failed";
|
|
41
41
|
skipped: "skipped";
|
|
42
42
|
}>;
|
|
43
43
|
message: z.ZodString;
|
|
@@ -54,6 +54,7 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
54
54
|
framework: "framework";
|
|
55
55
|
}>;
|
|
56
56
|
phase: z.ZodEnum<{
|
|
57
|
+
failed: "failed";
|
|
57
58
|
queued: "queued";
|
|
58
59
|
fetching: "fetching";
|
|
59
60
|
staged: "staged";
|
|
@@ -62,7 +63,6 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
62
63
|
restarting: "restarting";
|
|
63
64
|
applied: "applied";
|
|
64
65
|
done: "done";
|
|
65
|
-
failed: "failed";
|
|
66
66
|
skipped: "skipped";
|
|
67
67
|
}>;
|
|
68
68
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
@@ -72,6 +72,7 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
72
72
|
nodeId: z.ZodString;
|
|
73
73
|
packageName: z.ZodString;
|
|
74
74
|
phase: z.ZodEnum<{
|
|
75
|
+
failed: "failed";
|
|
75
76
|
queued: "queued";
|
|
76
77
|
fetching: "fetching";
|
|
77
78
|
staged: "staged";
|
|
@@ -80,7 +81,6 @@ export declare const lifecycleTaskSchema: z.ZodObject<{
|
|
|
80
81
|
restarting: "restarting";
|
|
81
82
|
applied: "applied";
|
|
82
83
|
done: "done";
|
|
83
|
-
failed: "failed";
|
|
84
84
|
skipped: "skipped";
|
|
85
85
|
}>;
|
|
86
86
|
message: z.ZodString;
|
|
@@ -130,6 +130,7 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
130
130
|
framework: "framework";
|
|
131
131
|
}>;
|
|
132
132
|
phase: z.ZodEnum<{
|
|
133
|
+
failed: "failed";
|
|
133
134
|
queued: "queued";
|
|
134
135
|
fetching: "fetching";
|
|
135
136
|
staged: "staged";
|
|
@@ -138,7 +139,6 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
138
139
|
restarting: "restarting";
|
|
139
140
|
applied: "applied";
|
|
140
141
|
done: "done";
|
|
141
|
-
failed: "failed";
|
|
142
142
|
skipped: "skipped";
|
|
143
143
|
}>;
|
|
144
144
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
@@ -148,6 +148,7 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
148
148
|
nodeId: z.ZodString;
|
|
149
149
|
packageName: z.ZodString;
|
|
150
150
|
phase: z.ZodEnum<{
|
|
151
|
+
failed: "failed";
|
|
151
152
|
queued: "queued";
|
|
152
153
|
fetching: "fetching";
|
|
153
154
|
staged: "staged";
|
|
@@ -156,7 +157,6 @@ export declare const lifecycleJobSchema: z.ZodObject<{
|
|
|
156
157
|
restarting: "restarting";
|
|
157
158
|
applied: "applied";
|
|
158
159
|
done: "done";
|
|
159
|
-
failed: "failed";
|
|
160
160
|
skipped: "skipped";
|
|
161
161
|
}>;
|
|
162
162
|
message: z.ZodString;
|
|
@@ -54,6 +54,13 @@ export interface CameraStepOverridePatch {
|
|
|
54
54
|
*/
|
|
55
55
|
export interface AgentPipelineSettings {
|
|
56
56
|
readonly addonDefaults: Readonly<Record<string, AgentAddonConfig>>;
|
|
57
|
+
/**
|
|
58
|
+
* Optional per-node camera capacity cap. When set, the load balancer will
|
|
59
|
+
* not assign more than this many cameras to this agent. `null` = unlimited.
|
|
60
|
+
* Defaults to `null` on the Zod schema so existing persisted blobs load
|
|
61
|
+
* without migration.
|
|
62
|
+
*/
|
|
63
|
+
readonly maxCameras?: number | null;
|
|
57
64
|
}
|
|
58
65
|
/**
|
|
59
66
|
* Per-camera pipeline settings. Sparse by design — a camera that has
|