@camstack/addon-post-analysis 1.2.340 → 1.2.341
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/{clip-model-registry-BFG-v_BV.js → clip-model-registry-BOAYW16o.js} +668 -498
- package/dist/{clip-model-registry-vdRtJheb.mjs → clip-model-registry-BP-BF3CK.mjs} +668 -498
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +2 -2
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-fwdB-r5e.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-B2hR0cv6.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-B9vPD32p.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CY24cHgW.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-Dj8fTEiq.mjs → hostInit-BgudaQ7W.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +14 -14
- package/dist/pipeline-analytics/index.mjs +14 -14
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BoenPUt7.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-BRmdbHeK.mjs +0 -26
|
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
}) : target, mod));
|
|
31
31
|
//#endregion
|
|
32
32
|
let node_crypto = require("node:crypto");
|
|
33
|
-
//#region ../types/dist/event-category-
|
|
33
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
34
34
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
35
35
|
EventCategory["SystemBoot"] = "system.boot";
|
|
36
36
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -531,15 +531,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
531
531
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
532
532
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
533
533
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
534
|
-
/**
|
|
535
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
536
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
537
|
-
* `createSession`, so running sessions keep their current backend until
|
|
538
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
539
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
540
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
541
|
-
*/
|
|
542
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
543
534
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
544
535
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
545
536
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5482,7 +5473,7 @@ var ZodIssueCode = {
|
|
|
5482
5473
|
var ZodFirstPartyTypeKind;
|
|
5483
5474
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5484
5475
|
//#endregion
|
|
5485
|
-
//#region ../types/dist/sleep-
|
|
5476
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
5486
5477
|
/**
|
|
5487
5478
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5488
5479
|
* window to float samples (D455).
|
|
@@ -6848,32 +6839,12 @@ object({
|
|
|
6848
6839
|
audioCodec: string().optional(),
|
|
6849
6840
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6850
6841
|
});
|
|
6851
|
-
var EncodedPacketSchema = object({
|
|
6852
|
-
type: _enum(["video", "audio"]),
|
|
6853
|
-
data: _instanceof(Uint8Array),
|
|
6854
|
-
pts: number(),
|
|
6855
|
-
dts: number(),
|
|
6856
|
-
keyframe: boolean(),
|
|
6857
|
-
codec: string()
|
|
6858
|
-
});
|
|
6859
|
-
var DecodedFrameSchema = object({
|
|
6860
|
-
data: _instanceof(Uint8Array),
|
|
6861
|
-
width: number(),
|
|
6862
|
-
height: number(),
|
|
6863
|
-
format: _enum([
|
|
6864
|
-
"jpeg",
|
|
6865
|
-
"rgb",
|
|
6866
|
-
"bgr",
|
|
6867
|
-
"yuv420",
|
|
6868
|
-
"gray"
|
|
6869
|
-
]),
|
|
6870
|
-
timestamp: number()
|
|
6871
|
-
});
|
|
6872
6842
|
/**
|
|
6873
6843
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6874
6844
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6875
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6876
|
-
*
|
|
6845
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6846
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6847
|
+
* over tRPC / Moleculer.
|
|
6877
6848
|
*
|
|
6878
6849
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6879
6850
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6899,50 +6870,6 @@ var FrameHandleSchema = object({
|
|
|
6899
6870
|
slotCount: number().int().positive()
|
|
6900
6871
|
});
|
|
6901
6872
|
/**
|
|
6902
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6903
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6904
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6905
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6906
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6907
|
-
*/
|
|
6908
|
-
var FrameHandleFormatSchema = _enum([
|
|
6909
|
-
"rgb",
|
|
6910
|
-
"bgr",
|
|
6911
|
-
"yuv420",
|
|
6912
|
-
"gray"
|
|
6913
|
-
]);
|
|
6914
|
-
/**
|
|
6915
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6916
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6917
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6918
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6919
|
-
* they asked for with no broker-side conversion.
|
|
6920
|
-
*/
|
|
6921
|
-
var SubscribeFramesInputSchema = object({
|
|
6922
|
-
brokerId: string(),
|
|
6923
|
-
format: FrameHandleFormatSchema,
|
|
6924
|
-
/**
|
|
6925
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6926
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6927
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6928
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6929
|
-
*/
|
|
6930
|
-
maxFps: number().positive().optional(),
|
|
6931
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6932
|
-
tag: string().optional()
|
|
6933
|
-
});
|
|
6934
|
-
/**
|
|
6935
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6936
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6937
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6938
|
-
*/
|
|
6939
|
-
var SubscribeFramesResultSchema = object({
|
|
6940
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6941
|
-
subscriptionId: string(),
|
|
6942
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6943
|
-
maxFps: number().nonnegative()
|
|
6944
|
-
});
|
|
6945
|
-
/**
|
|
6946
6873
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6947
6874
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6948
6875
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6950,8 +6877,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6950
6877
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6951
6878
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6952
6879
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6953
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6954
|
-
*
|
|
6880
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6881
|
+
* it.
|
|
6955
6882
|
*/
|
|
6956
6883
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6957
6884
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6969,11 +6896,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6969
6896
|
format: AudioChunkFormatSchema.optional()
|
|
6970
6897
|
});
|
|
6971
6898
|
/**
|
|
6972
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6973
|
-
*
|
|
6974
|
-
*
|
|
6975
|
-
*
|
|
6976
|
-
* `pullAudioChunks`.
|
|
6899
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6900
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6901
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6902
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6977
6903
|
*/
|
|
6978
6904
|
var SubscribeAudioChunksInputSchema = object({
|
|
6979
6905
|
brokerId: string(),
|
|
@@ -7004,9 +6930,7 @@ var BrokerStatsSchema = object({
|
|
|
7004
6930
|
"stopped"
|
|
7005
6931
|
]),
|
|
7006
6932
|
inputFps: number(),
|
|
7007
|
-
decodeFps: number(),
|
|
7008
6933
|
encodedSubscribers: number(),
|
|
7009
|
-
decodedSubscribers: number(),
|
|
7010
6934
|
uptimeMs: number(),
|
|
7011
6935
|
bitrateKbps: number(),
|
|
7012
6936
|
idrIntervalMs: number(),
|
|
@@ -7019,14 +6943,6 @@ var BrokerStatsSchema = object({
|
|
|
7019
6943
|
preBufferMs: number(),
|
|
7020
6944
|
preBufferPackets: number(),
|
|
7021
6945
|
/**
|
|
7022
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
7023
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
7024
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
7025
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
7026
|
-
* a separate cap call per broker.
|
|
7027
|
-
*/
|
|
7028
|
-
decoderNodeId: string().nullable(),
|
|
7029
|
-
/**
|
|
7030
6946
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
7031
6947
|
* when the stream has no audio track or the broker is in cold start.
|
|
7032
6948
|
* `supported = false` means the codec was detected but the local
|
|
@@ -11209,70 +11125,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
11209
11125
|
"backup"
|
|
11210
11126
|
]).optional()
|
|
11211
11127
|
});
|
|
11212
|
-
var DecoderStatsSchema = object({
|
|
11213
|
-
inputFps: number(),
|
|
11214
|
-
outputFps: number(),
|
|
11215
|
-
avgDecodeTimeMs: number(),
|
|
11216
|
-
droppedFrames: number(),
|
|
11217
|
-
/**
|
|
11218
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
11219
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
11220
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
11221
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
11222
|
-
*/
|
|
11223
|
-
lagMs: number().optional(),
|
|
11224
|
-
effectiveFps: number().optional(),
|
|
11225
|
-
adaptiveFps: number().optional()
|
|
11226
|
-
});
|
|
11227
|
-
var DecoderSessionConfigSchema = object({
|
|
11228
|
-
codec: string(),
|
|
11229
|
-
maxFps: number().default(0),
|
|
11230
|
-
outputFormat: _enum([
|
|
11231
|
-
"jpeg",
|
|
11232
|
-
"rgb",
|
|
11233
|
-
"bgr",
|
|
11234
|
-
"yuv420",
|
|
11235
|
-
"gray"
|
|
11236
|
-
]).default("jpeg"),
|
|
11237
|
-
scale: number().default(1),
|
|
11238
|
-
width: number().optional(),
|
|
11239
|
-
height: number().optional(),
|
|
11240
|
-
/**
|
|
11241
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
11242
|
-
* because the cap is generic (any caller could request decode), but
|
|
11243
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
11244
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
11245
|
-
* sendPacket errors on a single hung camera).
|
|
11246
|
-
*/
|
|
11247
|
-
deviceId: number().int().nonnegative().optional(),
|
|
11248
|
-
/**
|
|
11249
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
11250
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
11251
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
11252
|
-
* profile cleanly.
|
|
11253
|
-
*/
|
|
11254
|
-
tag: string().optional(),
|
|
11255
|
-
/**
|
|
11256
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
11257
|
-
*
|
|
11258
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
11259
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
11260
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
11261
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
11262
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
11263
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
11264
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
11265
|
-
*/
|
|
11266
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
11267
|
-
/**
|
|
11268
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
11269
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
11270
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
11271
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
11272
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
11273
|
-
*/
|
|
11274
|
-
debug: boolean().optional()
|
|
11275
|
-
});
|
|
11276
11128
|
/**
|
|
11277
11129
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
11278
11130
|
* an addon declares its channels in.
|
|
@@ -11645,7 +11497,53 @@ var ModelFormatEntrySchema = object({
|
|
|
11645
11497
|
/** Multi-file payload (directory members or sibling files). */
|
|
11646
11498
|
files: array(string()).readonly().optional(),
|
|
11647
11499
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
11648
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
11500
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
11501
|
+
/**
|
|
11502
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
11503
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
11504
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
11505
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
11506
|
+
* node records the revision it downloaded next to the file
|
|
11507
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
11508
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
11509
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
11510
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
11511
|
+
*/
|
|
11512
|
+
revision: string().min(1).optional()
|
|
11513
|
+
});
|
|
11514
|
+
/**
|
|
11515
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
11516
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
11517
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
11518
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
11519
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
11520
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
11521
|
+
*/
|
|
11522
|
+
var ModelOnDiskStateSchema = _enum([
|
|
11523
|
+
"current",
|
|
11524
|
+
"stale",
|
|
11525
|
+
"missing"
|
|
11526
|
+
]);
|
|
11527
|
+
/**
|
|
11528
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
11529
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
11530
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
11531
|
+
*/
|
|
11532
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
11533
|
+
"fp32",
|
|
11534
|
+
"fp16",
|
|
11535
|
+
"int8"
|
|
11536
|
+
]);
|
|
11537
|
+
/**
|
|
11538
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
11539
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
11540
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
11541
|
+
*/
|
|
11542
|
+
var PipelineModelFormatStatusSchema = object({
|
|
11543
|
+
downloaded: boolean(),
|
|
11544
|
+
sizeMB: number(),
|
|
11545
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
11546
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
11649
11547
|
});
|
|
11650
11548
|
/**
|
|
11651
11549
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -11854,6 +11752,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11854
11752
|
*/
|
|
11855
11753
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11856
11754
|
/**
|
|
11755
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
11756
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
11757
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
11758
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
11759
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
11760
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
11761
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
11762
|
+
*/
|
|
11763
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11764
|
+
/**
|
|
11765
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
11766
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
11767
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
11768
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
11769
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
11770
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
11771
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
11772
|
+
*/
|
|
11773
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
11774
|
+
/**
|
|
11775
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
11776
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
11777
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
11778
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
11779
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
11780
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
11781
|
+
*/
|
|
11782
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
11783
|
+
/**
|
|
11857
11784
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11858
11785
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11859
11786
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -13983,13 +13910,6 @@ var BrokerRtspClientSchema = object({
|
|
|
13983
13910
|
lastRtpAt: number(),
|
|
13984
13911
|
bytesSent: number()
|
|
13985
13912
|
});
|
|
13986
|
-
var BrokerDecodedClientSchema = object({
|
|
13987
|
-
tag: string(),
|
|
13988
|
-
subscribedAt: number(),
|
|
13989
|
-
maxFps: number(),
|
|
13990
|
-
framesDelivered: number(),
|
|
13991
|
-
framesDropped: number()
|
|
13992
|
-
});
|
|
13993
13913
|
var BrokerAudioClientSchema = object({
|
|
13994
13914
|
tag: string(),
|
|
13995
13915
|
subscribedAt: number(),
|
|
@@ -14081,7 +14001,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
14081
14001
|
});
|
|
14082
14002
|
var BrokerClientsSchema = object({
|
|
14083
14003
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
14084
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
14085
14004
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
14086
14005
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
14087
14006
|
pipeClients: number(),
|
|
@@ -14573,11 +14492,7 @@ var streamBrokerCapability = {
|
|
|
14573
14492
|
listClients: method(object({ brokerId: string() }), BrokerClientsSchema),
|
|
14574
14493
|
killClient: method(object({
|
|
14575
14494
|
brokerId: string(),
|
|
14576
|
-
channel: _enum([
|
|
14577
|
-
"rtsp",
|
|
14578
|
-
"decoded",
|
|
14579
|
-
"audio"
|
|
14580
|
-
]),
|
|
14495
|
+
channel: _enum(["rtsp", "audio"]),
|
|
14581
14496
|
handle: string()
|
|
14582
14497
|
}), object({ killed: boolean() }), {
|
|
14583
14498
|
kind: "mutation",
|
|
@@ -14676,31 +14591,6 @@ var streamBrokerCapability = {
|
|
|
14676
14591
|
maxCount: number().int().positive().default(8)
|
|
14677
14592
|
}), array(DecodedAudioChunkSchema).readonly()),
|
|
14678
14593
|
unsubscribeAudioChunks: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
14679
|
-
/**
|
|
14680
|
-
* ── Shared-memory frame plane (Phase 5 / D9) ──────────────────────
|
|
14681
|
-
*
|
|
14682
|
-
* The handle-based replacement for the live-object `IStreamBroker.
|
|
14683
|
-
* onDecodedFrame` callback path. A consumer:
|
|
14684
|
-
*
|
|
14685
|
-
* 1. `subscribeFrames({ brokerId, format })` — the broker spins up
|
|
14686
|
-
* (or reuses) a `frameSink: 'shm'` decoder session producing that
|
|
14687
|
-
* `format` and returns a `subscriptionId`.
|
|
14688
|
-
* 2. polls `pullFrameHandles({ subscriptionId, maxCount })` — drains
|
|
14689
|
-
* zero-pixel `FrameHandle[]`; each handle is fed to a
|
|
14690
|
-
* `FrameRingReader` that opens the named shm segment and reads the
|
|
14691
|
-
* pixels back zero-copy.
|
|
14692
|
-
* 3. `unsubscribeFrames({ subscriptionId })` on teardown.
|
|
14693
|
-
*
|
|
14694
|
-
* The broker keeps one shm ring per `(brokerId, format)` actually
|
|
14695
|
-
* requested — no broker-side `sharp` conversion. fps throttling is
|
|
14696
|
-
* implicit (latest-wins ring reads drop frames for a slow consumer).
|
|
14697
|
-
*/
|
|
14698
|
-
subscribeFrames: method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }),
|
|
14699
|
-
pullFrameHandles: method(object({
|
|
14700
|
-
subscriptionId: string(),
|
|
14701
|
-
maxCount: number().int().positive().default(4)
|
|
14702
|
-
}), array(FrameHandleSchema).readonly()),
|
|
14703
|
-
unsubscribeFrames: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
14704
14594
|
setPreBufferDuration: method(object({
|
|
14705
14595
|
brokerId: string(),
|
|
14706
14596
|
seconds: number().min(0).max(30)
|
|
@@ -16427,72 +16317,18 @@ id: union([string(), number()]) }), {
|
|
|
16427
16317
|
})
|
|
16428
16318
|
}
|
|
16429
16319
|
};
|
|
16430
|
-
/**
|
|
16431
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
16432
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
16433
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
16434
|
-
*/
|
|
16435
|
-
var ShmRingStatsSchema = object({
|
|
16436
|
-
sessionId: string(),
|
|
16437
|
-
slotCount: number().int(),
|
|
16438
|
-
slotByteLength: number().int(),
|
|
16439
|
-
segmentBytes: number().int(),
|
|
16440
|
-
budgetMb: number().int(),
|
|
16441
|
-
framesWritten: number().int(),
|
|
16442
|
-
getFrameHits: number().int(),
|
|
16443
|
-
getFrameMisses: number().int()
|
|
16444
|
-
});
|
|
16445
16320
|
var decoderCapability = {
|
|
16446
16321
|
name: "decoder",
|
|
16447
16322
|
scope: "system",
|
|
16448
16323
|
mode: "singleton",
|
|
16449
16324
|
preferredProvider: "decoder-nodeav",
|
|
16450
16325
|
methods: {
|
|
16451
|
-
supportsCodec: method(object({ codec: string() }), boolean()),
|
|
16452
16326
|
getInfo: method(_void(), object({
|
|
16453
16327
|
id: string(),
|
|
16454
16328
|
name: string(),
|
|
16455
|
-
isPullMode: boolean().optional(),
|
|
16456
|
-
priority: number().optional(),
|
|
16457
16329
|
hwaccel: string().optional(),
|
|
16458
16330
|
probedBestHwaccel: string().optional()
|
|
16459
16331
|
})),
|
|
16460
|
-
createSession: method(DecoderSessionConfigSchema, object({
|
|
16461
|
-
sessionId: string(),
|
|
16462
|
-
nodeId: string()
|
|
16463
|
-
})),
|
|
16464
|
-
destroySession: method(object({ sessionId: string() }), _void()),
|
|
16465
|
-
pushPacket: method(object({
|
|
16466
|
-
sessionId: string(),
|
|
16467
|
-
packet: EncodedPacketSchema
|
|
16468
|
-
}), _void()),
|
|
16469
|
-
openStream: method(object({
|
|
16470
|
-
sessionId: string(),
|
|
16471
|
-
url: string()
|
|
16472
|
-
}), _void()),
|
|
16473
|
-
pullFrames: method(object({
|
|
16474
|
-
sessionId: string(),
|
|
16475
|
-
maxCount: number().default(1),
|
|
16476
|
-
waitMs: number().optional()
|
|
16477
|
-
}), array(DecodedFrameSchema)),
|
|
16478
|
-
pullHandles: method(object({
|
|
16479
|
-
sessionId: string(),
|
|
16480
|
-
maxCount: number().default(1),
|
|
16481
|
-
waitMs: number().optional()
|
|
16482
|
-
}), array(FrameHandleSchema)),
|
|
16483
|
-
getFrame: method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()),
|
|
16484
|
-
getShmStats: method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()),
|
|
16485
|
-
updateConfig: method(object({
|
|
16486
|
-
sessionId: string(),
|
|
16487
|
-
config: DecoderSessionConfigSchema.partial()
|
|
16488
|
-
}), _void()),
|
|
16489
|
-
getStats: method(object({ sessionId: string() }), DecoderStatsSchema),
|
|
16490
|
-
listActiveSessions: method(_void(), array(object({
|
|
16491
|
-
sessionId: string(),
|
|
16492
|
-
codec: string(),
|
|
16493
|
-
outputFormat: string(),
|
|
16494
|
-
createdAtMs: number()
|
|
16495
|
-
})).readonly()),
|
|
16496
16332
|
/**
|
|
16497
16333
|
* Re-run the host platform-probe for the decoder's hwaccel backend
|
|
16498
16334
|
* and write the detected value into the addon's own global
|
|
@@ -26097,8 +25933,8 @@ function flattenHydratedView(view, wanted) {
|
|
|
26097
25933
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
26098
25934
|
stepId: "face-embedding",
|
|
26099
25935
|
key: "minLandmarkFaceSize",
|
|
26100
|
-
label: "Min face size
|
|
26101
|
-
description: "
|
|
25936
|
+
label: "Min face size to embed (detection-frame px)",
|
|
25937
|
+
description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
|
|
26102
25938
|
type: "slider",
|
|
26103
25939
|
min: 0,
|
|
26104
25940
|
max: 64,
|
|
@@ -28783,7 +28619,7 @@ var FrameRefSchema = object({
|
|
|
28783
28619
|
timestamp: number(),
|
|
28784
28620
|
capturedAt: number().optional()
|
|
28785
28621
|
});
|
|
28786
|
-
var ModelFormatSchema$
|
|
28622
|
+
var ModelFormatSchema$2 = _enum([
|
|
28787
28623
|
"onnx",
|
|
28788
28624
|
"coreml",
|
|
28789
28625
|
"openvino",
|
|
@@ -28801,7 +28637,7 @@ var PipelineSlotSchema = _enum([
|
|
|
28801
28637
|
var PipelineEngineChoiceSchema = object({
|
|
28802
28638
|
runtime: literal("python"),
|
|
28803
28639
|
backend: string(),
|
|
28804
|
-
format: ModelFormatSchema$
|
|
28640
|
+
format: ModelFormatSchema$2,
|
|
28805
28641
|
device: string().optional()
|
|
28806
28642
|
});
|
|
28807
28643
|
/**
|
|
@@ -28840,28 +28676,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
28840
28676
|
group: string().optional(),
|
|
28841
28677
|
settings: record(string(), unknown()).optional()
|
|
28842
28678
|
}));
|
|
28843
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
28844
|
-
addonId: string(),
|
|
28845
|
-
enabled: boolean(),
|
|
28846
|
-
modelId: string(),
|
|
28847
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
28848
|
-
settings: record(string(), unknown()).optional()
|
|
28849
|
-
}));
|
|
28850
|
-
var PipelineTemplateSchema$1 = object({
|
|
28851
|
-
id: string(),
|
|
28852
|
-
name: string(),
|
|
28853
|
-
createdAt: string(),
|
|
28854
|
-
updatedAt: string(),
|
|
28855
|
-
engine: PipelineEngineChoiceSchema,
|
|
28856
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
28857
|
-
});
|
|
28858
28679
|
var PipelineModelOptionSchema = object({
|
|
28859
28680
|
id: string(),
|
|
28860
28681
|
name: string(),
|
|
28861
|
-
formats: record(string(),
|
|
28862
|
-
downloaded: boolean(),
|
|
28863
|
-
sizeMB: number()
|
|
28864
|
-
})),
|
|
28682
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
28865
28683
|
group: ModelVariantGroupSchema.optional(),
|
|
28866
28684
|
legacy: boolean().optional(),
|
|
28867
28685
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -29076,6 +28894,32 @@ var pipelineExecutorCapability = {
|
|
|
29076
28894
|
auth: "admin"
|
|
29077
28895
|
}),
|
|
29078
28896
|
/**
|
|
28897
|
+
* Auto tune (D745): the MODEL-BOUND thresholds (`bindsToModel` keys of
|
|
28898
|
+
* the object-detection root, and their binding keys) stored in THIS node's
|
|
28899
|
+
* per-camera detector settings — and, unless `dryRun`, remove them so the
|
|
28900
|
+
* running model's own defaults apply. Every other key of a camera's store
|
|
28901
|
+
* is kept. `nodeId` is the ROUTING key. `deviceIds` absent ⇒ every camera
|
|
28902
|
+
* with a store. A camera whose store could not be read is `refused`, never
|
|
28903
|
+
* reported as clean.
|
|
28904
|
+
*/
|
|
28905
|
+
clearModelBoundDeviceOverrides: method(object({
|
|
28906
|
+
nodeId: string(),
|
|
28907
|
+
deviceIds: array(number()).readonly().optional(),
|
|
28908
|
+
dryRun: boolean()
|
|
28909
|
+
}), object({
|
|
28910
|
+
entries: array(object({
|
|
28911
|
+
deviceId: number(),
|
|
28912
|
+
keys: array(string()).readonly()
|
|
28913
|
+
})).readonly(),
|
|
28914
|
+
refused: array(object({
|
|
28915
|
+
deviceId: number(),
|
|
28916
|
+
reason: string()
|
|
28917
|
+
})).readonly()
|
|
28918
|
+
}), {
|
|
28919
|
+
kind: "mutation",
|
|
28920
|
+
auth: "admin"
|
|
28921
|
+
}),
|
|
28922
|
+
/**
|
|
29079
28923
|
* Which of THIS node's inference devices the executor currently refuses,
|
|
29080
28924
|
* and why. `nodeId` is the ROUTING key (stripped by the generated router).
|
|
29081
28925
|
*
|
|
@@ -29153,29 +28997,17 @@ var pipelineExecutorCapability = {
|
|
|
29153
28997
|
steps: array(PipelineStepInputSchema),
|
|
29154
28998
|
deviceKey: string().optional()
|
|
29155
28999
|
}), PipelineValidationResultSchema),
|
|
29156
|
-
listTemplates: method(_void(), array(PipelineTemplateSchema$1).readonly()),
|
|
29157
|
-
saveTemplate: method(object({
|
|
29158
|
-
name: string(),
|
|
29159
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
29160
|
-
engine: PipelineEngineChoiceSchema
|
|
29161
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }),
|
|
29162
|
-
updateTemplate: method(object({
|
|
29163
|
-
id: string(),
|
|
29164
|
-
name: string().optional(),
|
|
29165
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
29166
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }),
|
|
29167
|
-
deleteTemplate: method(object({ id: string() }), _void(), { kind: "mutation" }),
|
|
29168
29000
|
getCapabilities: method(_void(), InferenceCapabilitiesBridge),
|
|
29169
29001
|
getAddonModels: method(object({ addonId: string() }), ModelAvailabilityListBridge),
|
|
29170
29002
|
downloadModel: method(object({
|
|
29171
29003
|
addonId: string(),
|
|
29172
29004
|
modelId: string(),
|
|
29173
|
-
format: ModelFormatSchema$
|
|
29005
|
+
format: ModelFormatSchema$2
|
|
29174
29006
|
}), DownloadModelResultSchema, { kind: "mutation" }),
|
|
29175
29007
|
deleteModel: method(object({
|
|
29176
29008
|
addonId: string(),
|
|
29177
29009
|
modelId: string(),
|
|
29178
|
-
format: ModelFormatSchema$
|
|
29010
|
+
format: ModelFormatSchema$2
|
|
29179
29011
|
}), object({ success: literal(true) }), { kind: "mutation" }),
|
|
29180
29012
|
/**
|
|
29181
29013
|
* Stateless single-frame execution. Callers (runner, benchmark) pass
|
|
@@ -29421,6 +29253,375 @@ var pipelineExecutorCapability = {
|
|
|
29421
29253
|
getDetectionConfigSchema: method(_void(), ConfigUISchemaNullableBridge)
|
|
29422
29254
|
}
|
|
29423
29255
|
};
|
|
29256
|
+
/**
|
|
29257
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
29258
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
29259
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
29260
|
+
* schemas are what crosses the cap boundary.
|
|
29261
|
+
*/
|
|
29262
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
29263
|
+
/** The operator's range for it. */
|
|
29264
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
29265
|
+
min: 1,
|
|
29266
|
+
max: 8
|
|
29267
|
+
};
|
|
29268
|
+
var HardwareClassIdSchema = _enum([
|
|
29269
|
+
"intel-core-ultra",
|
|
29270
|
+
"intel-n-series",
|
|
29271
|
+
"apple-m-base",
|
|
29272
|
+
"apple-m-pro",
|
|
29273
|
+
"unknown"
|
|
29274
|
+
]);
|
|
29275
|
+
var AcceleratorKindSchema = _enum([
|
|
29276
|
+
"intel-npu",
|
|
29277
|
+
"intel-igpu",
|
|
29278
|
+
"x86-cpu",
|
|
29279
|
+
"arm-cpu",
|
|
29280
|
+
"apple-ane",
|
|
29281
|
+
"coral"
|
|
29282
|
+
]);
|
|
29283
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
29284
|
+
object({
|
|
29285
|
+
kind: literal("capacity"),
|
|
29286
|
+
sessions: number(),
|
|
29287
|
+
minSessions: number()
|
|
29288
|
+
}),
|
|
29289
|
+
object({
|
|
29290
|
+
kind: literal("tie-faster"),
|
|
29291
|
+
over: string(),
|
|
29292
|
+
recallDelta: number()
|
|
29293
|
+
}),
|
|
29294
|
+
object({
|
|
29295
|
+
kind: literal("stepped-down"),
|
|
29296
|
+
from: string(),
|
|
29297
|
+
to: string(),
|
|
29298
|
+
limitedBy: string()
|
|
29299
|
+
}),
|
|
29300
|
+
object({
|
|
29301
|
+
kind: literal("no-fit-lightest"),
|
|
29302
|
+
sessions: number(),
|
|
29303
|
+
minSessions: number()
|
|
29304
|
+
}),
|
|
29305
|
+
object({
|
|
29306
|
+
kind: literal("derived-latency"),
|
|
29307
|
+
modelId: string()
|
|
29308
|
+
}),
|
|
29309
|
+
object({ kind: literal("cpu-device") }),
|
|
29310
|
+
object({ kind: literal("coral-untouched") }),
|
|
29311
|
+
object({ kind: literal("device-disabled") }),
|
|
29312
|
+
object({ kind: literal("device-unavailable") }),
|
|
29313
|
+
object({ kind: literal("node-offline") }),
|
|
29314
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
29315
|
+
object({
|
|
29316
|
+
kind: literal("no-measured-data"),
|
|
29317
|
+
hardwareClass: HardwareClassIdSchema
|
|
29318
|
+
}),
|
|
29319
|
+
object({
|
|
29320
|
+
kind: literal("no-family-build"),
|
|
29321
|
+
format: ModelFormatSchema$1
|
|
29322
|
+
})
|
|
29323
|
+
]);
|
|
29324
|
+
var DeviceModelChoiceSchema = object({
|
|
29325
|
+
modelId: string(),
|
|
29326
|
+
p50Ms: number(),
|
|
29327
|
+
fps: number(),
|
|
29328
|
+
measured: boolean(),
|
|
29329
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
29330
|
+
capacitySessions: number(),
|
|
29331
|
+
personRecall: number()
|
|
29332
|
+
});
|
|
29333
|
+
var DeviceRecommendationSchema = object({
|
|
29334
|
+
deviceKey: string(),
|
|
29335
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
29336
|
+
enabled: boolean(),
|
|
29337
|
+
available: boolean(),
|
|
29338
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
29339
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
29340
|
+
});
|
|
29341
|
+
var NodeRecommendationSchema = object({
|
|
29342
|
+
nodeId: string(),
|
|
29343
|
+
reachable: boolean(),
|
|
29344
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
29345
|
+
cpuModel: string().nullable(),
|
|
29346
|
+
skipped: boolean(),
|
|
29347
|
+
acceleratorModelId: string().nullable(),
|
|
29348
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
29349
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
29350
|
+
});
|
|
29351
|
+
var ModelPinChangeSchema = object({
|
|
29352
|
+
stepId: string(),
|
|
29353
|
+
before: string().nullable(),
|
|
29354
|
+
after: string().nullable()
|
|
29355
|
+
});
|
|
29356
|
+
var NodeDeviceChangeSchema = object({
|
|
29357
|
+
nodeId: string(),
|
|
29358
|
+
deviceKey: string(),
|
|
29359
|
+
madeExplicit: boolean(),
|
|
29360
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
29361
|
+
thresholds: array(object({
|
|
29362
|
+
stepId: string(),
|
|
29363
|
+
keys: array(string()).readonly()
|
|
29364
|
+
})).readonly()
|
|
29365
|
+
});
|
|
29366
|
+
var CameraOverrideClearSchema = object({
|
|
29367
|
+
deviceId: number(),
|
|
29368
|
+
source: _enum(["step-override", "wholesale"]),
|
|
29369
|
+
nodeId: string(),
|
|
29370
|
+
deviceKey: string().nullable(),
|
|
29371
|
+
stepId: string(),
|
|
29372
|
+
modelIdBefore: string().nullable(),
|
|
29373
|
+
keys: array(string()).readonly()
|
|
29374
|
+
});
|
|
29375
|
+
var DetectorStoreClearSchema = object({
|
|
29376
|
+
deviceId: number(),
|
|
29377
|
+
keys: array(string()).readonly()
|
|
29378
|
+
});
|
|
29379
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
29380
|
+
object({
|
|
29381
|
+
kind: literal("detector-store-cluster-wide"),
|
|
29382
|
+
skippedNodes: array(string()).readonly()
|
|
29383
|
+
}),
|
|
29384
|
+
object({
|
|
29385
|
+
kind: literal("detector-store-unreadable"),
|
|
29386
|
+
error: string()
|
|
29387
|
+
}),
|
|
29388
|
+
object({
|
|
29389
|
+
kind: literal("coral-enabled"),
|
|
29390
|
+
nodeId: string(),
|
|
29391
|
+
deviceKey: string()
|
|
29392
|
+
})
|
|
29393
|
+
]);
|
|
29394
|
+
var AutoTuneOptionsSchema = object({
|
|
29395
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
29396
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
29397
|
+
/**
|
|
29398
|
+
* The least number of parallel sessions every device must sustain at the
|
|
29399
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
29400
|
+
* that reaches it wins.
|
|
29401
|
+
*/
|
|
29402
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
29403
|
+
});
|
|
29404
|
+
var AutoTunePlanSchema = object({
|
|
29405
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
29406
|
+
planHash: string(),
|
|
29407
|
+
family: literal("yolov9"),
|
|
29408
|
+
headroom: number(),
|
|
29409
|
+
minSessionsPerDevice: number(),
|
|
29410
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
29411
|
+
cameraFps: number(),
|
|
29412
|
+
generatedAt: number(),
|
|
29413
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
29414
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
29415
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
29416
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
29417
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
29418
|
+
});
|
|
29419
|
+
var AutoTuneApplyInputSchema = object({
|
|
29420
|
+
planHash: string(),
|
|
29421
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
29422
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
29423
|
+
});
|
|
29424
|
+
var AutoTunePhaseResultSchema = object({
|
|
29425
|
+
phase: _enum([
|
|
29426
|
+
"download",
|
|
29427
|
+
"camera-overrides",
|
|
29428
|
+
"detector-thresholds",
|
|
29429
|
+
"node-models",
|
|
29430
|
+
"redispatch"
|
|
29431
|
+
]),
|
|
29432
|
+
ok: boolean(),
|
|
29433
|
+
detail: string()
|
|
29434
|
+
});
|
|
29435
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
29436
|
+
object({
|
|
29437
|
+
kind: literal("applied"),
|
|
29438
|
+
planHash: string(),
|
|
29439
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
29440
|
+
}),
|
|
29441
|
+
object({
|
|
29442
|
+
kind: literal("aborted"),
|
|
29443
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
29444
|
+
}),
|
|
29445
|
+
object({
|
|
29446
|
+
kind: literal("stale"),
|
|
29447
|
+
plan: AutoTunePlanSchema
|
|
29448
|
+
}),
|
|
29449
|
+
object({
|
|
29450
|
+
kind: literal("refused"),
|
|
29451
|
+
reason: _enum(["apply-in-progress"])
|
|
29452
|
+
})
|
|
29453
|
+
]);
|
|
29454
|
+
/**
|
|
29455
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
29456
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
29457
|
+
* hardware share suggestion and the stale device pins.
|
|
29458
|
+
*/
|
|
29459
|
+
/**
|
|
29460
|
+
* How a new detection session picks its node and device.
|
|
29461
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
29462
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
29463
|
+
* weight only bites once a node already holds a session.
|
|
29464
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
29465
|
+
* full or drowning node yields to a free one (D748).
|
|
29466
|
+
*/
|
|
29467
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
29468
|
+
var LoadBalancingSharesInputSchema = object({
|
|
29469
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
29470
|
+
nodes: record(string(), number().positive()).default({}),
|
|
29471
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
29472
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
29473
|
+
});
|
|
29474
|
+
var PlacementStatsInputSchema = object({
|
|
29475
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
29476
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
29477
|
+
var PlacementDeviceStatsSchema = object({
|
|
29478
|
+
deviceKey: string(),
|
|
29479
|
+
/** Sessions running on this device now. */
|
|
29480
|
+
sessionsNow: number(),
|
|
29481
|
+
/** Sessions started on this device inside the window. */
|
|
29482
|
+
sessionsStarted: number(),
|
|
29483
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
29484
|
+
observedShare: number().nullable()
|
|
29485
|
+
});
|
|
29486
|
+
var PlacementNodeStatsSchema = object({
|
|
29487
|
+
nodeId: string(),
|
|
29488
|
+
sessionsNow: number(),
|
|
29489
|
+
sessionsStarted: number(),
|
|
29490
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
29491
|
+
observedShare: number().nullable(),
|
|
29492
|
+
/** Most sessions this node ran at once inside the window. */
|
|
29493
|
+
peakSessions: number(),
|
|
29494
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
29495
|
+
yieldsAway: number(),
|
|
29496
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
29497
|
+
});
|
|
29498
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
29499
|
+
var StaleDevicePinSchema = object({
|
|
29500
|
+
deviceId: number(),
|
|
29501
|
+
deviceKey: string(),
|
|
29502
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
29503
|
+
reason: _enum(["disabled", "absent"])
|
|
29504
|
+
});
|
|
29505
|
+
var PlacementStatsSchema = object({
|
|
29506
|
+
policy: SessionPlacementPolicySchema,
|
|
29507
|
+
windowMs: number(),
|
|
29508
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
29509
|
+
observedForMs: number(),
|
|
29510
|
+
sessionsNow: number(),
|
|
29511
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
29512
|
+
clusterPeakSessions: number(),
|
|
29513
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
29514
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
29515
|
+
});
|
|
29516
|
+
/**
|
|
29517
|
+
* Where an automatic share's capacity comes from (D755).
|
|
29518
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
29519
|
+
* the measured latency table for the node's hardware class.
|
|
29520
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
29521
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
29522
|
+
*/
|
|
29523
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
29524
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
29525
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
29526
|
+
var SuggestSharesInputSchema = object({
|
|
29527
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
29528
|
+
/** Default `hardware`. */
|
|
29529
|
+
source: CapacitySourceSchema.default("hardware")
|
|
29530
|
+
});
|
|
29531
|
+
var SuggestedDeviceShareSchema = object({
|
|
29532
|
+
deviceKey: string(),
|
|
29533
|
+
/** Share of the node (0–100, rounded). */
|
|
29534
|
+
share: number(),
|
|
29535
|
+
modelId: string().nullable(),
|
|
29536
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
29537
|
+
fps: number().nullable(),
|
|
29538
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
29539
|
+
measured: boolean(),
|
|
29540
|
+
/**
|
|
29541
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
29542
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
29543
|
+
*/
|
|
29544
|
+
suggestedMaxSessions: number().nullable()
|
|
29545
|
+
});
|
|
29546
|
+
var SuggestedNodeShareSchema = object({
|
|
29547
|
+
nodeId: string(),
|
|
29548
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
29549
|
+
share: number().nullable(),
|
|
29550
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
29551
|
+
capacitySessions: number(),
|
|
29552
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
29553
|
+
skippedReason: string().nullable(),
|
|
29554
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
29555
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
29556
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
29557
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
29558
|
+
});
|
|
29559
|
+
var SuggestSharesResultSchema = object({
|
|
29560
|
+
headroom: number(),
|
|
29561
|
+
/** The source asked for; each node says what it actually used. */
|
|
29562
|
+
source: CapacitySourceSchema,
|
|
29563
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
29564
|
+
cameraFps: number(),
|
|
29565
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
29566
|
+
minSessionsPerDevice: number(),
|
|
29567
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
29568
|
+
});
|
|
29569
|
+
/**
|
|
29570
|
+
* Where the node and device shares come from (D750, D755).
|
|
29571
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
29572
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
29573
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
29574
|
+
* switched on or off, or changes model. No load input.
|
|
29575
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
29576
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
29577
|
+
* - `manual` — the operator's stored sliders.
|
|
29578
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
29579
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
29580
|
+
*/
|
|
29581
|
+
var ShareSourceSchema = _enum([
|
|
29582
|
+
"hardware",
|
|
29583
|
+
"benchmark",
|
|
29584
|
+
"manual"
|
|
29585
|
+
]);
|
|
29586
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
29587
|
+
object({
|
|
29588
|
+
nodes: record(string(), number()),
|
|
29589
|
+
devices: record(string(), record(string(), number()))
|
|
29590
|
+
});
|
|
29591
|
+
var EffectiveDeviceShareSchema = object({
|
|
29592
|
+
deviceKey: string(),
|
|
29593
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
29594
|
+
eligible: boolean(),
|
|
29595
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
29596
|
+
configuredPct: number(),
|
|
29597
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
29598
|
+
effectivePct: number()
|
|
29599
|
+
});
|
|
29600
|
+
var EffectiveNodeShareSchema = object({
|
|
29601
|
+
nodeId: string(),
|
|
29602
|
+
eligible: boolean(),
|
|
29603
|
+
configuredPct: number(),
|
|
29604
|
+
effectivePct: number(),
|
|
29605
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
29606
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
29607
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
29608
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
29609
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
29610
|
+
});
|
|
29611
|
+
var EffectiveSharesSchema = object({
|
|
29612
|
+
source: ShareSourceSchema,
|
|
29613
|
+
policy: SessionPlacementPolicySchema,
|
|
29614
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
29615
|
+
autoPending: boolean(),
|
|
29616
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
29617
|
+
computedAt: number().nullable(),
|
|
29618
|
+
/** What made the system recompute them last. */
|
|
29619
|
+
trigger: string().nullable(),
|
|
29620
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
29621
|
+
/** The relative weights the election reads (before eligibility). */
|
|
29622
|
+
nodeWeights: record(string(), number()),
|
|
29623
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
29624
|
+
});
|
|
29424
29625
|
object({
|
|
29425
29626
|
activeCameras: number(),
|
|
29426
29627
|
throttledCameras: number(),
|
|
@@ -30338,14 +30539,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
30338
30539
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
30339
30540
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
30340
30541
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
30341
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
30342
|
-
* per
|
|
30542
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
30543
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
30544
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
30545
|
+
* (D762).
|
|
30343
30546
|
*/
|
|
30344
30547
|
devices: array(object({
|
|
30345
30548
|
deviceKey: string(),
|
|
30346
30549
|
backend: string(),
|
|
30347
|
-
attachedCameras: number()
|
|
30348
|
-
queueDepthTotal: number()
|
|
30550
|
+
attachedCameras: number()
|
|
30349
30551
|
})).default([]),
|
|
30350
30552
|
/** Hardware capability flags reported by this node. */
|
|
30351
30553
|
hardware: object({
|
|
@@ -30751,14 +30953,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
30751
30953
|
settings: record(string(), unknown()).readonly().optional()
|
|
30752
30954
|
}).nullable().optional()
|
|
30753
30955
|
});
|
|
30754
|
-
var PipelineTemplateSchema = object({
|
|
30755
|
-
id: string(),
|
|
30756
|
-
name: string(),
|
|
30757
|
-
description: string().optional(),
|
|
30758
|
-
config: CameraPipelineConfigSchema,
|
|
30759
|
-
createdAt: string(),
|
|
30760
|
-
updatedAt: string()
|
|
30761
|
-
});
|
|
30762
30956
|
var DeviceStepConfigSchema = object({
|
|
30763
30957
|
modelId: string().optional(),
|
|
30764
30958
|
settings: record(string(), unknown()).optional(),
|
|
@@ -30832,9 +31026,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
30832
31026
|
modelId: string().optional(),
|
|
30833
31027
|
settings: record(string(), unknown()).readonly().optional()
|
|
30834
31028
|
});
|
|
31029
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
30835
31030
|
var CameraPipelineSettingsSchema = object({
|
|
30836
|
-
pinnedAgentNodeId: string().optional(),
|
|
30837
31031
|
stepToggles: record(string(), boolean()).optional(),
|
|
31032
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
30838
31033
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
30839
31034
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
30840
31035
|
});
|
|
@@ -30867,7 +31062,10 @@ var PipelineAssignmentSchema = object({
|
|
|
30867
31062
|
});
|
|
30868
31063
|
/**
|
|
30869
31064
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
30870
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
31065
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
31066
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
31067
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
31068
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
30871
31069
|
*/
|
|
30872
31070
|
var AgentLoadSummarySchema = object({
|
|
30873
31071
|
nodeId: string(),
|
|
@@ -30956,26 +31154,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
30956
31154
|
width: number(),
|
|
30957
31155
|
height: number(),
|
|
30958
31156
|
subscribers: number(),
|
|
30959
|
-
|
|
30960
|
-
|
|
31157
|
+
/**
|
|
31158
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
31159
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
31160
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
31161
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
31162
|
+
* camera and is not served (D758).
|
|
31163
|
+
*/
|
|
31164
|
+
inFps: number().nullable()
|
|
30961
31165
|
})).readonly(),
|
|
30962
31166
|
webrtcSessions: number(),
|
|
30963
31167
|
rtspRestream: boolean()
|
|
30964
31168
|
});
|
|
30965
|
-
/**
|
|
30966
|
-
|
|
30967
|
-
|
|
30968
|
-
|
|
30969
|
-
|
|
30970
|
-
|
|
30971
|
-
|
|
30972
|
-
|
|
30973
|
-
var CameraDecoderStatusSchema = object({
|
|
30974
|
-
nodeId: string(),
|
|
30975
|
-
formats: array(string()).readonly(),
|
|
30976
|
-
sessionCount: number(),
|
|
30977
|
-
shm: CameraDecoderShmSchema
|
|
30978
|
-
});
|
|
31169
|
+
/**
|
|
31170
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
31171
|
+
* construction); null when the camera has no detection node. It carries no
|
|
31172
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
31173
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
31174
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
31175
|
+
* detector), never from a counter nothing feeds.
|
|
31176
|
+
*/
|
|
31177
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
30979
31178
|
/** Motion block — null when motion detection is not active for this device. */
|
|
30980
31179
|
var CameraMotionStatusSchema = object({
|
|
30981
31180
|
enabled: boolean(),
|
|
@@ -31481,18 +31680,6 @@ var pipelineOrchestratorCapability = {
|
|
|
31481
31680
|
auth: "admin"
|
|
31482
31681
|
}),
|
|
31483
31682
|
/**
|
|
31484
|
-
* Set a node's detection WEIGHT (relative share for the quota balancer).
|
|
31485
|
-
* `null` clears it (back to the implicit weight 1). Unpinned cameras
|
|
31486
|
-
* distribute proportionally to weight; `maxCameras` still clamps on top.
|
|
31487
|
-
*/
|
|
31488
|
-
setAgentDetectWeight: method(object({
|
|
31489
|
-
agentNodeId: string(),
|
|
31490
|
-
detectWeight: number().positive().nullable()
|
|
31491
|
-
}), object({ success: literal(true) }), {
|
|
31492
|
-
kind: "mutation",
|
|
31493
|
-
auth: "admin"
|
|
31494
|
-
}),
|
|
31495
|
-
/**
|
|
31496
31683
|
* Set one node's placement CAPABILITIES — the per-node record that
|
|
31497
31684
|
* replaced the four flat orchestrator lists (`enabledNodes`,
|
|
31498
31685
|
* `enabledDecoderNodes`, `enabledAudioNodes`, `remoteSourcingNodes`).
|
|
@@ -31611,6 +31798,76 @@ var pipelineOrchestratorCapability = {
|
|
|
31611
31798
|
kind: "mutation",
|
|
31612
31799
|
auth: "admin"
|
|
31613
31800
|
}),
|
|
31801
|
+
/**
|
|
31802
|
+
* Auto tune (D745, D755) — DRY RUN. Recommends ONE detector family
|
|
31803
|
+
* (YOLOv9) for the whole cluster from each node's static hardware class
|
|
31804
|
+
* and the measured latency table: per device, the most accurate model
|
|
31805
|
+
* that sustains at least `minSessionsPerDevice` parallel sessions at the
|
|
31806
|
+
* camera rate with the headroom kept free (no load input), and lists every write
|
|
31807
|
+
* the apply would make: the node model pins set, the enrichment pins and
|
|
31808
|
+
* model-bound thresholds removed (node level and per camera), and the
|
|
31809
|
+
* per-camera detector thresholds cleared. Writes nothing. Step
|
|
31810
|
+
* enablement, device enablement, pins, recording, notifications, zones and
|
|
31811
|
+
* rules are never part of it. `planHash` names exactly this diff.
|
|
31812
|
+
*/
|
|
31813
|
+
planAutoTune: method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }),
|
|
31814
|
+
/**
|
|
31815
|
+
* Auto tune (D745) — APPLY the plan the operator confirmed. Recomputes
|
|
31816
|
+
* the plan and refuses (`stale`, with the fresh plan) when its hash is not
|
|
31817
|
+
* `planHash`, so what is written is exactly the confirmed diff. Offline
|
|
31818
|
+
* nodes are skipped; there is no undo.
|
|
31819
|
+
*/
|
|
31820
|
+
applyAutoTune: method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
31821
|
+
kind: "mutation",
|
|
31822
|
+
auth: "admin"
|
|
31823
|
+
}),
|
|
31824
|
+
/**
|
|
31825
|
+
* Load balancing (D748) — write node shares (`detectWeight`) and per-node
|
|
31826
|
+
* device shares (inference-device `weight`) in ONE atomic read-modify-write
|
|
31827
|
+
* of the agent settings — the only writer of node shares (the per-node
|
|
31828
|
+
* `setAgentDetectWeight` it replaced raced its siblings, one RMW each).
|
|
31829
|
+
* A node or device left out keeps its weight. Never changes the
|
|
31830
|
+
* `sessionPlacement` policy.
|
|
31831
|
+
*/
|
|
31832
|
+
setLoadBalancingShares: method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
31833
|
+
kind: "mutation",
|
|
31834
|
+
auth: "admin"
|
|
31835
|
+
}),
|
|
31836
|
+
/**
|
|
31837
|
+
* Load balancing (D748) — what placement actually did: per node and
|
|
31838
|
+
* device, sessions now, sessions started and the time-weighted share of
|
|
31839
|
+
* PARALLEL sessions over `windowMs`; the cluster's parallel peak; yields
|
|
31840
|
+
* a share election made; and every device pin the session path cannot
|
|
31841
|
+
* honour. In memory on the hub — a restart starts a new window.
|
|
31842
|
+
*/
|
|
31843
|
+
getPlacementStats: method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }),
|
|
31844
|
+
/**
|
|
31845
|
+
* Load balancing (D748, D755) — shares proportional to each node's
|
|
31846
|
+
* capacity in parallel sessions: from the latency table at the models
|
|
31847
|
+
* Auto tune picks (`hardware`), or from node benchmark results
|
|
31848
|
+
* (`benchmark`, each node without results falling back to `hardware` and
|
|
31849
|
+
* saying so). The automatic shares are exactly this answer. Per device,
|
|
31850
|
+
* an ADVISORY session cap. Writes nothing.
|
|
31851
|
+
*/
|
|
31852
|
+
suggestShares: method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }),
|
|
31853
|
+
/**
|
|
31854
|
+
* Load balancing (D750) — the shares placement reads now: the source
|
|
31855
|
+
* (automatic capacity shares or the operator's sliders), each node's and
|
|
31856
|
+
* device's configured share, and the effective share after a node or
|
|
31857
|
+
* device that cannot take sessions gave its share to the others.
|
|
31858
|
+
*/
|
|
31859
|
+
getEffectiveShares: method(_void(), EffectiveSharesSchema, { auth: "admin" }),
|
|
31860
|
+
/**
|
|
31861
|
+
* Load balancing (D750, D755) — switch the share source: `hardware`
|
|
31862
|
+
* (automatic, from static capacity), `benchmark` (automatic, from node
|
|
31863
|
+
* benchmark results) or `manual`. Going manual seeds the sliders with the
|
|
31864
|
+
* current automatic shares (one atomic write), so nothing jumps; going
|
|
31865
|
+
* to an automatic source recomputes at once.
|
|
31866
|
+
*/
|
|
31867
|
+
setShareSource: method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
31868
|
+
kind: "mutation",
|
|
31869
|
+
auth: "admin"
|
|
31870
|
+
}),
|
|
31614
31871
|
/** Read one camera's settings. Null when never touched (inherits agent defaults fully). */
|
|
31615
31872
|
getCameraSettings: method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()),
|
|
31616
31873
|
/** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
|
|
@@ -31640,6 +31897,22 @@ var pipelineOrchestratorCapability = {
|
|
|
31640
31897
|
kind: "mutation",
|
|
31641
31898
|
auth: "admin"
|
|
31642
31899
|
}),
|
|
31900
|
+
/**
|
|
31901
|
+
* Write or clear one step's CAMERA-WIDE settings (D754) — the fields this
|
|
31902
|
+
* camera overrides on every accelerator it runs on. `settings` is the
|
|
31903
|
+
* whole field-level bag for that step (only the overridden keys; a
|
|
31904
|
+
* model-bound field travels with its binding key); `null` or `{}` clears
|
|
31905
|
+
* it. Merged at dispatch between the node base and the per-(node,device)
|
|
31906
|
+
* override, key by key.
|
|
31907
|
+
*/
|
|
31908
|
+
setCameraStepSettings: method(object({
|
|
31909
|
+
deviceId: number(),
|
|
31910
|
+
addonId: string(),
|
|
31911
|
+
settings: record(string(), unknown()).nullable()
|
|
31912
|
+
}), object({ success: literal(true) }), {
|
|
31913
|
+
kind: "mutation",
|
|
31914
|
+
auth: "admin"
|
|
31915
|
+
}),
|
|
31643
31916
|
/** Write or clear the wholesale per-agent pipeline override. Pass `pipeline: null` to drop the override. */
|
|
31644
31917
|
setCameraPipelineForAgent: method(object({
|
|
31645
31918
|
deviceId: number(),
|
|
@@ -31755,33 +32028,7 @@ var pipelineOrchestratorCapability = {
|
|
|
31755
32028
|
auth: "admin"
|
|
31756
32029
|
}),
|
|
31757
32030
|
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
31758
|
-
getReconcileFromDiskStatus: method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
31759
|
-
/** List every template the operator has saved. */
|
|
31760
|
-
listTemplates: method(_void(), array(PipelineTemplateSchema).readonly()),
|
|
31761
|
-
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
31762
|
-
saveTemplate: method(object({
|
|
31763
|
-
name: string(),
|
|
31764
|
-
description: string().optional(),
|
|
31765
|
-
config: CameraPipelineConfigSchema
|
|
31766
|
-
}), PipelineTemplateSchema, {
|
|
31767
|
-
kind: "mutation",
|
|
31768
|
-
auth: "admin"
|
|
31769
|
-
}),
|
|
31770
|
-
/** Partial update of a template. Any omitted field is preserved. */
|
|
31771
|
-
updateTemplate: method(object({
|
|
31772
|
-
id: string(),
|
|
31773
|
-
name: string().optional(),
|
|
31774
|
-
description: string().optional(),
|
|
31775
|
-
config: CameraPipelineConfigSchema.optional()
|
|
31776
|
-
}), PipelineTemplateSchema, {
|
|
31777
|
-
kind: "mutation",
|
|
31778
|
-
auth: "admin"
|
|
31779
|
-
}),
|
|
31780
|
-
/** Remove a template. Camera configs that were seeded from it keep a copy. */
|
|
31781
|
-
deleteTemplate: method(object({ id: string() }), object({ success: literal(true) }), {
|
|
31782
|
-
kind: "mutation",
|
|
31783
|
-
auth: "admin"
|
|
31784
|
-
})
|
|
32031
|
+
getReconcileFromDiskStatus: method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
31785
32032
|
}
|
|
31786
32033
|
};
|
|
31787
32034
|
/**
|
|
@@ -34753,8 +35000,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
34753
35000
|
]).nullable(),
|
|
34754
35001
|
/** Input FPS from the camera (null for adaptive). */
|
|
34755
35002
|
inputFps: number().nullable(),
|
|
34756
|
-
/** Decoded FPS (null for adaptive). */
|
|
34757
|
-
decodeFps: number().nullable(),
|
|
34758
35003
|
/** Bitrate in kbps (null for adaptive). */
|
|
34759
35004
|
bitrateKbps: number().nullable()
|
|
34760
35005
|
});
|
|
@@ -47780,6 +48025,16 @@ var zoneRulesCapability = {
|
|
|
47780
48025
|
durability: "restored"
|
|
47781
48026
|
};
|
|
47782
48027
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
48028
|
+
Object.freeze({
|
|
48029
|
+
person: .5,
|
|
48030
|
+
vehicle: .5,
|
|
48031
|
+
animal: .5
|
|
48032
|
+
});
|
|
48033
|
+
Object.freeze({
|
|
48034
|
+
person: .65,
|
|
48035
|
+
vehicle: .65,
|
|
48036
|
+
animal: .65
|
|
48037
|
+
});
|
|
47783
48038
|
/**
|
|
47784
48039
|
* Most specific first. Extending this list is how a new device kind becomes
|
|
47785
48040
|
* gateable; nothing else needs to change.
|
|
@@ -50236,90 +50491,18 @@ Object.freeze({
|
|
|
50236
50491
|
addonId: null,
|
|
50237
50492
|
access: "create"
|
|
50238
50493
|
},
|
|
50239
|
-
"decoder.createSession": {
|
|
50240
|
-
capName: "decoder",
|
|
50241
|
-
capScope: "system",
|
|
50242
|
-
addonId: null,
|
|
50243
|
-
access: "view"
|
|
50244
|
-
},
|
|
50245
|
-
"decoder.destroySession": {
|
|
50246
|
-
capName: "decoder",
|
|
50247
|
-
capScope: "system",
|
|
50248
|
-
addonId: null,
|
|
50249
|
-
access: "delete"
|
|
50250
|
-
},
|
|
50251
|
-
"decoder.getFrame": {
|
|
50252
|
-
capName: "decoder",
|
|
50253
|
-
capScope: "system",
|
|
50254
|
-
addonId: null,
|
|
50255
|
-
access: "view"
|
|
50256
|
-
},
|
|
50257
50494
|
"decoder.getInfo": {
|
|
50258
50495
|
capName: "decoder",
|
|
50259
50496
|
capScope: "system",
|
|
50260
50497
|
addonId: null,
|
|
50261
50498
|
access: "view"
|
|
50262
50499
|
},
|
|
50263
|
-
"decoder.getShmStats": {
|
|
50264
|
-
capName: "decoder",
|
|
50265
|
-
capScope: "system",
|
|
50266
|
-
addonId: null,
|
|
50267
|
-
access: "view"
|
|
50268
|
-
},
|
|
50269
|
-
"decoder.getStats": {
|
|
50270
|
-
capName: "decoder",
|
|
50271
|
-
capScope: "system",
|
|
50272
|
-
addonId: null,
|
|
50273
|
-
access: "view"
|
|
50274
|
-
},
|
|
50275
|
-
"decoder.listActiveSessions": {
|
|
50276
|
-
capName: "decoder",
|
|
50277
|
-
capScope: "system",
|
|
50278
|
-
addonId: null,
|
|
50279
|
-
access: "view"
|
|
50280
|
-
},
|
|
50281
|
-
"decoder.openStream": {
|
|
50282
|
-
capName: "decoder",
|
|
50283
|
-
capScope: "system",
|
|
50284
|
-
addonId: null,
|
|
50285
|
-
access: "view"
|
|
50286
|
-
},
|
|
50287
|
-
"decoder.pullFrames": {
|
|
50288
|
-
capName: "decoder",
|
|
50289
|
-
capScope: "system",
|
|
50290
|
-
addonId: null,
|
|
50291
|
-
access: "view"
|
|
50292
|
-
},
|
|
50293
|
-
"decoder.pullHandles": {
|
|
50294
|
-
capName: "decoder",
|
|
50295
|
-
capScope: "system",
|
|
50296
|
-
addonId: null,
|
|
50297
|
-
access: "view"
|
|
50298
|
-
},
|
|
50299
|
-
"decoder.pushPacket": {
|
|
50300
|
-
capName: "decoder",
|
|
50301
|
-
capScope: "system",
|
|
50302
|
-
addonId: null,
|
|
50303
|
-
access: "view"
|
|
50304
|
-
},
|
|
50305
50500
|
"decoder.reprobeHwaccel": {
|
|
50306
50501
|
capName: "decoder",
|
|
50307
50502
|
capScope: "system",
|
|
50308
50503
|
addonId: null,
|
|
50309
50504
|
access: "create"
|
|
50310
50505
|
},
|
|
50311
|
-
"decoder.supportsCodec": {
|
|
50312
|
-
capName: "decoder",
|
|
50313
|
-
capScope: "system",
|
|
50314
|
-
addonId: null,
|
|
50315
|
-
access: "view"
|
|
50316
|
-
},
|
|
50317
|
-
"decoder.updateConfig": {
|
|
50318
|
-
capName: "decoder",
|
|
50319
|
-
capScope: "system",
|
|
50320
|
-
addonId: null,
|
|
50321
|
-
access: "view"
|
|
50322
|
-
},
|
|
50323
50506
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
50324
50507
|
capName: "detection-pipeline",
|
|
50325
50508
|
capScope: "device",
|
|
@@ -53398,13 +53581,13 @@ Object.freeze({
|
|
|
53398
53581
|
addonId: null,
|
|
53399
53582
|
access: "delete"
|
|
53400
53583
|
},
|
|
53401
|
-
"pipelineExecutor.
|
|
53584
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
53402
53585
|
capName: "pipeline-executor",
|
|
53403
53586
|
capScope: "system",
|
|
53404
53587
|
addonId: null,
|
|
53405
53588
|
access: "delete"
|
|
53406
53589
|
},
|
|
53407
|
-
"pipelineExecutor.
|
|
53590
|
+
"pipelineExecutor.deleteModel": {
|
|
53408
53591
|
capName: "pipeline-executor",
|
|
53409
53592
|
capScope: "system",
|
|
53410
53593
|
addonId: null,
|
|
@@ -53548,12 +53731,6 @@ Object.freeze({
|
|
|
53548
53731
|
addonId: null,
|
|
53549
53732
|
access: "view"
|
|
53550
53733
|
},
|
|
53551
|
-
"pipelineExecutor.listTemplates": {
|
|
53552
|
-
capName: "pipeline-executor",
|
|
53553
|
-
capScope: "system",
|
|
53554
|
-
addonId: null,
|
|
53555
|
-
access: "view"
|
|
53556
|
-
},
|
|
53557
53734
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
53558
53735
|
capName: "pipeline-executor",
|
|
53559
53736
|
capScope: "system",
|
|
@@ -53578,12 +53755,6 @@ Object.freeze({
|
|
|
53578
53755
|
addonId: null,
|
|
53579
53756
|
access: "create"
|
|
53580
53757
|
},
|
|
53581
|
-
"pipelineExecutor.saveTemplate": {
|
|
53582
|
-
capName: "pipeline-executor",
|
|
53583
|
-
capScope: "system",
|
|
53584
|
-
addonId: null,
|
|
53585
|
-
access: "create"
|
|
53586
|
-
},
|
|
53587
53758
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
53588
53759
|
capName: "pipeline-executor",
|
|
53589
53760
|
capScope: "system",
|
|
@@ -53602,41 +53773,35 @@ Object.freeze({
|
|
|
53602
53773
|
addonId: null,
|
|
53603
53774
|
access: "create"
|
|
53604
53775
|
},
|
|
53605
|
-
"pipelineExecutor.updateTemplate": {
|
|
53606
|
-
capName: "pipeline-executor",
|
|
53607
|
-
capScope: "system",
|
|
53608
|
-
addonId: null,
|
|
53609
|
-
access: "create"
|
|
53610
|
-
},
|
|
53611
53776
|
"pipelineExecutor.validatePipeline": {
|
|
53612
53777
|
capName: "pipeline-executor",
|
|
53613
53778
|
capScope: "system",
|
|
53614
53779
|
addonId: null,
|
|
53615
53780
|
access: "view"
|
|
53616
53781
|
},
|
|
53617
|
-
"pipelineOrchestrator.
|
|
53782
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
53618
53783
|
capName: "pipeline-orchestrator",
|
|
53619
53784
|
capScope: "system",
|
|
53620
53785
|
addonId: null,
|
|
53621
53786
|
access: "create"
|
|
53622
53787
|
},
|
|
53623
|
-
"pipelineOrchestrator.
|
|
53788
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
53624
53789
|
capName: "pipeline-orchestrator",
|
|
53625
53790
|
capScope: "system",
|
|
53626
53791
|
addonId: null,
|
|
53627
53792
|
access: "create"
|
|
53628
53793
|
},
|
|
53629
|
-
"pipelineOrchestrator.
|
|
53794
|
+
"pipelineOrchestrator.assignAudio": {
|
|
53630
53795
|
capName: "pipeline-orchestrator",
|
|
53631
53796
|
capScope: "system",
|
|
53632
53797
|
addonId: null,
|
|
53633
53798
|
access: "create"
|
|
53634
53799
|
},
|
|
53635
|
-
"pipelineOrchestrator.
|
|
53800
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
53636
53801
|
capName: "pipeline-orchestrator",
|
|
53637
53802
|
capScope: "system",
|
|
53638
53803
|
addonId: null,
|
|
53639
|
-
access: "
|
|
53804
|
+
access: "create"
|
|
53640
53805
|
},
|
|
53641
53806
|
"pipelineOrchestrator.getAgentLoad": {
|
|
53642
53807
|
capName: "pipeline-orchestrator",
|
|
@@ -53728,6 +53893,12 @@ Object.freeze({
|
|
|
53728
53893
|
addonId: null,
|
|
53729
53894
|
access: "view"
|
|
53730
53895
|
},
|
|
53896
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
53897
|
+
capName: "pipeline-orchestrator",
|
|
53898
|
+
capScope: "system",
|
|
53899
|
+
addonId: null,
|
|
53900
|
+
access: "view"
|
|
53901
|
+
},
|
|
53731
53902
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
53732
53903
|
capName: "pipeline-orchestrator",
|
|
53733
53904
|
capScope: "system",
|
|
@@ -53764,19 +53935,19 @@ Object.freeze({
|
|
|
53764
53935
|
addonId: null,
|
|
53765
53936
|
access: "view"
|
|
53766
53937
|
},
|
|
53767
|
-
"pipelineOrchestrator.
|
|
53938
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
53768
53939
|
capName: "pipeline-orchestrator",
|
|
53769
53940
|
capScope: "system",
|
|
53770
53941
|
addonId: null,
|
|
53771
53942
|
access: "view"
|
|
53772
53943
|
},
|
|
53773
|
-
"pipelineOrchestrator.
|
|
53944
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
53774
53945
|
capName: "pipeline-orchestrator",
|
|
53775
53946
|
capScope: "system",
|
|
53776
53947
|
addonId: null,
|
|
53777
53948
|
access: "view"
|
|
53778
53949
|
},
|
|
53779
|
-
"pipelineOrchestrator.
|
|
53950
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
53780
53951
|
capName: "pipeline-orchestrator",
|
|
53781
53952
|
capScope: "system",
|
|
53782
53953
|
addonId: null,
|
|
@@ -53788,6 +53959,12 @@ Object.freeze({
|
|
|
53788
53959
|
addonId: null,
|
|
53789
53960
|
access: "create"
|
|
53790
53961
|
},
|
|
53962
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
53963
|
+
capName: "pipeline-orchestrator",
|
|
53964
|
+
capScope: "system",
|
|
53965
|
+
addonId: null,
|
|
53966
|
+
access: "view"
|
|
53967
|
+
},
|
|
53791
53968
|
"pipelineOrchestrator.rebalance": {
|
|
53792
53969
|
capName: "pipeline-orchestrator",
|
|
53793
53970
|
capScope: "system",
|
|
@@ -53830,12 +54007,6 @@ Object.freeze({
|
|
|
53830
54007
|
addonId: null,
|
|
53831
54008
|
access: "create"
|
|
53832
54009
|
},
|
|
53833
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
53834
|
-
capName: "pipeline-orchestrator",
|
|
53835
|
-
capScope: "system",
|
|
53836
|
-
addonId: null,
|
|
53837
|
-
access: "create"
|
|
53838
|
-
},
|
|
53839
54010
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
53840
54011
|
capName: "pipeline-orchestrator",
|
|
53841
54012
|
capScope: "system",
|
|
@@ -53848,12 +54019,6 @@ Object.freeze({
|
|
|
53848
54019
|
addonId: null,
|
|
53849
54020
|
access: "create"
|
|
53850
54021
|
},
|
|
53851
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
53852
|
-
capName: "pipeline-orchestrator",
|
|
53853
|
-
capScope: "system",
|
|
53854
|
-
addonId: null,
|
|
53855
|
-
access: "create"
|
|
53856
|
-
},
|
|
53857
54022
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
53858
54023
|
capName: "pipeline-orchestrator",
|
|
53859
54024
|
capScope: "system",
|
|
@@ -53890,6 +54055,12 @@ Object.freeze({
|
|
|
53890
54055
|
addonId: null,
|
|
53891
54056
|
access: "create"
|
|
53892
54057
|
},
|
|
54058
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
54059
|
+
capName: "pipeline-orchestrator",
|
|
54060
|
+
capScope: "system",
|
|
54061
|
+
addonId: null,
|
|
54062
|
+
access: "create"
|
|
54063
|
+
},
|
|
53893
54064
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
53894
54065
|
capName: "pipeline-orchestrator",
|
|
53895
54066
|
capScope: "system",
|
|
@@ -53908,25 +54079,37 @@ Object.freeze({
|
|
|
53908
54079
|
addonId: null,
|
|
53909
54080
|
access: "create"
|
|
53910
54081
|
},
|
|
54082
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
54083
|
+
capName: "pipeline-orchestrator",
|
|
54084
|
+
capScope: "system",
|
|
54085
|
+
addonId: null,
|
|
54086
|
+
access: "create"
|
|
54087
|
+
},
|
|
53911
54088
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
53912
54089
|
capName: "pipeline-orchestrator",
|
|
53913
54090
|
capScope: "system",
|
|
53914
54091
|
addonId: null,
|
|
53915
54092
|
access: "create"
|
|
53916
54093
|
},
|
|
53917
|
-
"pipelineOrchestrator.
|
|
54094
|
+
"pipelineOrchestrator.setShareSource": {
|
|
53918
54095
|
capName: "pipeline-orchestrator",
|
|
53919
54096
|
capScope: "system",
|
|
53920
54097
|
addonId: null,
|
|
53921
54098
|
access: "create"
|
|
53922
54099
|
},
|
|
53923
|
-
"pipelineOrchestrator.
|
|
54100
|
+
"pipelineOrchestrator.suggestShares": {
|
|
54101
|
+
capName: "pipeline-orchestrator",
|
|
54102
|
+
capScope: "system",
|
|
54103
|
+
addonId: null,
|
|
54104
|
+
access: "view"
|
|
54105
|
+
},
|
|
54106
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
53924
54107
|
capName: "pipeline-orchestrator",
|
|
53925
54108
|
capScope: "system",
|
|
53926
54109
|
addonId: null,
|
|
53927
54110
|
access: "create"
|
|
53928
54111
|
},
|
|
53929
|
-
"pipelineOrchestrator.
|
|
54112
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
53930
54113
|
capName: "pipeline-orchestrator",
|
|
53931
54114
|
capScope: "system",
|
|
53932
54115
|
addonId: null,
|
|
@@ -55366,12 +55549,6 @@ Object.freeze({
|
|
|
55366
55549
|
addonId: null,
|
|
55367
55550
|
access: "view"
|
|
55368
55551
|
},
|
|
55369
|
-
"streamBroker.pullFrameHandles": {
|
|
55370
|
-
capName: "stream-broker",
|
|
55371
|
-
capScope: "system",
|
|
55372
|
-
addonId: null,
|
|
55373
|
-
access: "view"
|
|
55374
|
-
},
|
|
55375
55552
|
"streamBroker.regenerateRtspToken": {
|
|
55376
55553
|
capName: "stream-broker",
|
|
55377
55554
|
capScope: "system",
|
|
@@ -55438,12 +55615,6 @@ Object.freeze({
|
|
|
55438
55615
|
addonId: null,
|
|
55439
55616
|
access: "create"
|
|
55440
55617
|
},
|
|
55441
|
-
"streamBroker.subscribeFrames": {
|
|
55442
|
-
capName: "stream-broker",
|
|
55443
|
-
capScope: "system",
|
|
55444
|
-
addonId: null,
|
|
55445
|
-
access: "create"
|
|
55446
|
-
},
|
|
55447
55618
|
"streamBroker.unassignProfile": {
|
|
55448
55619
|
capName: "stream-broker",
|
|
55449
55620
|
capScope: "system",
|
|
@@ -55456,12 +55627,6 @@ Object.freeze({
|
|
|
55456
55627
|
addonId: null,
|
|
55457
55628
|
access: "create"
|
|
55458
55629
|
},
|
|
55459
|
-
"streamBroker.unsubscribeFrames": {
|
|
55460
|
-
capName: "stream-broker",
|
|
55461
|
-
capScope: "system",
|
|
55462
|
-
addonId: null,
|
|
55463
|
-
access: "create"
|
|
55464
|
-
},
|
|
55465
55630
|
"streamCatalog.getCatalog": {
|
|
55466
55631
|
capName: "stream-catalog",
|
|
55467
55632
|
capScope: "device",
|
|
@@ -58151,11 +58316,6 @@ Object.freeze({
|
|
|
58151
58316
|
form: "single",
|
|
58152
58317
|
optional: false
|
|
58153
58318
|
}],
|
|
58154
|
-
"decoder.createSession": [{
|
|
58155
|
-
name: "deviceId",
|
|
58156
|
-
form: "single",
|
|
58157
|
-
optional: true
|
|
58158
|
-
}],
|
|
58159
58319
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
58160
58320
|
name: "deviceId",
|
|
58161
58321
|
form: "single",
|
|
@@ -59386,6 +59546,11 @@ Object.freeze({
|
|
|
59386
59546
|
form: "single",
|
|
59387
59547
|
optional: false
|
|
59388
59548
|
}],
|
|
59549
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
59550
|
+
name: "deviceIds",
|
|
59551
|
+
form: "array",
|
|
59552
|
+
optional: true
|
|
59553
|
+
}],
|
|
59389
59554
|
"pipelineExecutor.runPipeline": [{
|
|
59390
59555
|
name: "deviceId",
|
|
59391
59556
|
form: "single",
|
|
@@ -59491,6 +59656,11 @@ Object.freeze({
|
|
|
59491
59656
|
form: "single",
|
|
59492
59657
|
optional: false
|
|
59493
59658
|
}],
|
|
59659
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
59660
|
+
name: "deviceId",
|
|
59661
|
+
form: "single",
|
|
59662
|
+
optional: false
|
|
59663
|
+
}],
|
|
59494
59664
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
59495
59665
|
name: "deviceId",
|
|
59496
59666
|
form: "single",
|