@camstack/addon-post-analysis 1.2.339 → 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/THIRD_PARTY_MODELS.md +3 -8
- package/dist/{clip-model-registry-DlJT7zn4.js → clip-model-registry-BOAYW16o.js} +709 -517
- package/dist/{clip-model-registry-BKVUtnRA.mjs → clip-model-registry-BP-BF3CK.mjs} +709 -517
- 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-CF8ypDMO.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-DYVlvRBm.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-BImFB0o5.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.
|
|
@@ -11568,8 +11420,19 @@ var LABEL_SUPPLY_STEP_IDS = [
|
|
|
11568
11420
|
];
|
|
11569
11421
|
/** Steps whose box a root detection can BE. */
|
|
11570
11422
|
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
11423
|
+
/**
|
|
11424
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
11425
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
11426
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
11427
|
+
* no camera tree carries.)
|
|
11428
|
+
*/
|
|
11429
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
11571
11430
|
/** Every step a root model can supply. */
|
|
11572
|
-
var ROOT_SUPPLIABLE_STEP_IDS = [
|
|
11431
|
+
var ROOT_SUPPLIABLE_STEP_IDS = [
|
|
11432
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
11433
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
11434
|
+
...MASK_SUPPLY_STEP_IDS
|
|
11435
|
+
];
|
|
11573
11436
|
/** Narrow a step id to a suppliable one — type guard, not a cast. */
|
|
11574
11437
|
function isRootSuppliableStepId(value) {
|
|
11575
11438
|
return ROOT_SUPPLIABLE_STEP_IDS.some((id) => id === value);
|
|
@@ -11634,7 +11497,53 @@ var ModelFormatEntrySchema = object({
|
|
|
11634
11497
|
/** Multi-file payload (directory members or sibling files). */
|
|
11635
11498
|
files: array(string()).readonly().optional(),
|
|
11636
11499
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
11637
|
-
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()
|
|
11638
11547
|
});
|
|
11639
11548
|
/**
|
|
11640
11549
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -11748,25 +11657,36 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
11748
11657
|
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
11749
11658
|
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
11750
11659
|
* child of the `parentMacro` detection that contains it — never a track.
|
|
11660
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
11661
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
11662
|
+
* detection in the shape that step produces. Derived from the model's
|
|
11663
|
+
* postprocessor on read, never stored by an import.
|
|
11751
11664
|
*/
|
|
11752
|
-
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11665
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
11666
|
+
object({
|
|
11667
|
+
kind: literal("label"),
|
|
11668
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
11669
|
+
labelToEffect: record(string(), string()),
|
|
11670
|
+
uncovered: array(string()).readonly()
|
|
11671
|
+
}),
|
|
11672
|
+
object({
|
|
11673
|
+
kind: literal("crop"),
|
|
11674
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
11675
|
+
rootLabels: array(string()).readonly(),
|
|
11676
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
11677
|
+
childClass: _enum(["plate", "face"]),
|
|
11678
|
+
/**
|
|
11679
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
11680
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
11681
|
+
* stored by an import.
|
|
11682
|
+
*/
|
|
11683
|
+
rootInputPx: number().int().positive().optional()
|
|
11684
|
+
}),
|
|
11685
|
+
object({
|
|
11686
|
+
kind: literal("mask"),
|
|
11687
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
11688
|
+
})
|
|
11689
|
+
]);
|
|
11770
11690
|
var ModelCatalogEntrySchema = object({
|
|
11771
11691
|
id: string(),
|
|
11772
11692
|
name: string(),
|
|
@@ -11832,6 +11752,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11832
11752
|
*/
|
|
11833
11753
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11834
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
|
+
/**
|
|
11835
11784
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11836
11785
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11837
11786
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -13961,13 +13910,6 @@ var BrokerRtspClientSchema = object({
|
|
|
13961
13910
|
lastRtpAt: number(),
|
|
13962
13911
|
bytesSent: number()
|
|
13963
13912
|
});
|
|
13964
|
-
var BrokerDecodedClientSchema = object({
|
|
13965
|
-
tag: string(),
|
|
13966
|
-
subscribedAt: number(),
|
|
13967
|
-
maxFps: number(),
|
|
13968
|
-
framesDelivered: number(),
|
|
13969
|
-
framesDropped: number()
|
|
13970
|
-
});
|
|
13971
13913
|
var BrokerAudioClientSchema = object({
|
|
13972
13914
|
tag: string(),
|
|
13973
13915
|
subscribedAt: number(),
|
|
@@ -14059,7 +14001,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
14059
14001
|
});
|
|
14060
14002
|
var BrokerClientsSchema = object({
|
|
14061
14003
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
14062
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
14063
14004
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
14064
14005
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
14065
14006
|
pipeClients: number(),
|
|
@@ -14551,11 +14492,7 @@ var streamBrokerCapability = {
|
|
|
14551
14492
|
listClients: method(object({ brokerId: string() }), BrokerClientsSchema),
|
|
14552
14493
|
killClient: method(object({
|
|
14553
14494
|
brokerId: string(),
|
|
14554
|
-
channel: _enum([
|
|
14555
|
-
"rtsp",
|
|
14556
|
-
"decoded",
|
|
14557
|
-
"audio"
|
|
14558
|
-
]),
|
|
14495
|
+
channel: _enum(["rtsp", "audio"]),
|
|
14559
14496
|
handle: string()
|
|
14560
14497
|
}), object({ killed: boolean() }), {
|
|
14561
14498
|
kind: "mutation",
|
|
@@ -14654,31 +14591,6 @@ var streamBrokerCapability = {
|
|
|
14654
14591
|
maxCount: number().int().positive().default(8)
|
|
14655
14592
|
}), array(DecodedAudioChunkSchema).readonly()),
|
|
14656
14593
|
unsubscribeAudioChunks: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
14657
|
-
/**
|
|
14658
|
-
* ── Shared-memory frame plane (Phase 5 / D9) ──────────────────────
|
|
14659
|
-
*
|
|
14660
|
-
* The handle-based replacement for the live-object `IStreamBroker.
|
|
14661
|
-
* onDecodedFrame` callback path. A consumer:
|
|
14662
|
-
*
|
|
14663
|
-
* 1. `subscribeFrames({ brokerId, format })` — the broker spins up
|
|
14664
|
-
* (or reuses) a `frameSink: 'shm'` decoder session producing that
|
|
14665
|
-
* `format` and returns a `subscriptionId`.
|
|
14666
|
-
* 2. polls `pullFrameHandles({ subscriptionId, maxCount })` — drains
|
|
14667
|
-
* zero-pixel `FrameHandle[]`; each handle is fed to a
|
|
14668
|
-
* `FrameRingReader` that opens the named shm segment and reads the
|
|
14669
|
-
* pixels back zero-copy.
|
|
14670
|
-
* 3. `unsubscribeFrames({ subscriptionId })` on teardown.
|
|
14671
|
-
*
|
|
14672
|
-
* The broker keeps one shm ring per `(brokerId, format)` actually
|
|
14673
|
-
* requested — no broker-side `sharp` conversion. fps throttling is
|
|
14674
|
-
* implicit (latest-wins ring reads drop frames for a slow consumer).
|
|
14675
|
-
*/
|
|
14676
|
-
subscribeFrames: method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }),
|
|
14677
|
-
pullFrameHandles: method(object({
|
|
14678
|
-
subscriptionId: string(),
|
|
14679
|
-
maxCount: number().int().positive().default(4)
|
|
14680
|
-
}), array(FrameHandleSchema).readonly()),
|
|
14681
|
-
unsubscribeFrames: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
14682
14594
|
setPreBufferDuration: method(object({
|
|
14683
14595
|
brokerId: string(),
|
|
14684
14596
|
seconds: number().min(0).max(30)
|
|
@@ -16405,72 +16317,18 @@ id: union([string(), number()]) }), {
|
|
|
16405
16317
|
})
|
|
16406
16318
|
}
|
|
16407
16319
|
};
|
|
16408
|
-
/**
|
|
16409
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
16410
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
16411
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
16412
|
-
*/
|
|
16413
|
-
var ShmRingStatsSchema = object({
|
|
16414
|
-
sessionId: string(),
|
|
16415
|
-
slotCount: number().int(),
|
|
16416
|
-
slotByteLength: number().int(),
|
|
16417
|
-
segmentBytes: number().int(),
|
|
16418
|
-
budgetMb: number().int(),
|
|
16419
|
-
framesWritten: number().int(),
|
|
16420
|
-
getFrameHits: number().int(),
|
|
16421
|
-
getFrameMisses: number().int()
|
|
16422
|
-
});
|
|
16423
16320
|
var decoderCapability = {
|
|
16424
16321
|
name: "decoder",
|
|
16425
16322
|
scope: "system",
|
|
16426
16323
|
mode: "singleton",
|
|
16427
16324
|
preferredProvider: "decoder-nodeav",
|
|
16428
16325
|
methods: {
|
|
16429
|
-
supportsCodec: method(object({ codec: string() }), boolean()),
|
|
16430
16326
|
getInfo: method(_void(), object({
|
|
16431
16327
|
id: string(),
|
|
16432
16328
|
name: string(),
|
|
16433
|
-
isPullMode: boolean().optional(),
|
|
16434
|
-
priority: number().optional(),
|
|
16435
16329
|
hwaccel: string().optional(),
|
|
16436
16330
|
probedBestHwaccel: string().optional()
|
|
16437
16331
|
})),
|
|
16438
|
-
createSession: method(DecoderSessionConfigSchema, object({
|
|
16439
|
-
sessionId: string(),
|
|
16440
|
-
nodeId: string()
|
|
16441
|
-
})),
|
|
16442
|
-
destroySession: method(object({ sessionId: string() }), _void()),
|
|
16443
|
-
pushPacket: method(object({
|
|
16444
|
-
sessionId: string(),
|
|
16445
|
-
packet: EncodedPacketSchema
|
|
16446
|
-
}), _void()),
|
|
16447
|
-
openStream: method(object({
|
|
16448
|
-
sessionId: string(),
|
|
16449
|
-
url: string()
|
|
16450
|
-
}), _void()),
|
|
16451
|
-
pullFrames: method(object({
|
|
16452
|
-
sessionId: string(),
|
|
16453
|
-
maxCount: number().default(1),
|
|
16454
|
-
waitMs: number().optional()
|
|
16455
|
-
}), array(DecodedFrameSchema)),
|
|
16456
|
-
pullHandles: method(object({
|
|
16457
|
-
sessionId: string(),
|
|
16458
|
-
maxCount: number().default(1),
|
|
16459
|
-
waitMs: number().optional()
|
|
16460
|
-
}), array(FrameHandleSchema)),
|
|
16461
|
-
getFrame: method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()),
|
|
16462
|
-
getShmStats: method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()),
|
|
16463
|
-
updateConfig: method(object({
|
|
16464
|
-
sessionId: string(),
|
|
16465
|
-
config: DecoderSessionConfigSchema.partial()
|
|
16466
|
-
}), _void()),
|
|
16467
|
-
getStats: method(object({ sessionId: string() }), DecoderStatsSchema),
|
|
16468
|
-
listActiveSessions: method(_void(), array(object({
|
|
16469
|
-
sessionId: string(),
|
|
16470
|
-
codec: string(),
|
|
16471
|
-
outputFormat: string(),
|
|
16472
|
-
createdAtMs: number()
|
|
16473
|
-
})).readonly()),
|
|
16474
16332
|
/**
|
|
16475
16333
|
* Re-run the host platform-probe for the decoder's hwaccel backend
|
|
16476
16334
|
* and write the detected value into the addon's own global
|
|
@@ -26075,8 +25933,8 @@ function flattenHydratedView(view, wanted) {
|
|
|
26075
25933
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
26076
25934
|
stepId: "face-embedding",
|
|
26077
25935
|
key: "minLandmarkFaceSize",
|
|
26078
|
-
label: "Min face size
|
|
26079
|
-
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.",
|
|
26080
25938
|
type: "slider",
|
|
26081
25939
|
min: 0,
|
|
26082
25940
|
max: 64,
|
|
@@ -28761,7 +28619,7 @@ var FrameRefSchema = object({
|
|
|
28761
28619
|
timestamp: number(),
|
|
28762
28620
|
capturedAt: number().optional()
|
|
28763
28621
|
});
|
|
28764
|
-
var ModelFormatSchema$
|
|
28622
|
+
var ModelFormatSchema$2 = _enum([
|
|
28765
28623
|
"onnx",
|
|
28766
28624
|
"coreml",
|
|
28767
28625
|
"openvino",
|
|
@@ -28779,7 +28637,7 @@ var PipelineSlotSchema = _enum([
|
|
|
28779
28637
|
var PipelineEngineChoiceSchema = object({
|
|
28780
28638
|
runtime: literal("python"),
|
|
28781
28639
|
backend: string(),
|
|
28782
|
-
format: ModelFormatSchema$
|
|
28640
|
+
format: ModelFormatSchema$2,
|
|
28783
28641
|
device: string().optional()
|
|
28784
28642
|
});
|
|
28785
28643
|
/**
|
|
@@ -28818,28 +28676,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
28818
28676
|
group: string().optional(),
|
|
28819
28677
|
settings: record(string(), unknown()).optional()
|
|
28820
28678
|
}));
|
|
28821
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
28822
|
-
addonId: string(),
|
|
28823
|
-
enabled: boolean(),
|
|
28824
|
-
modelId: string(),
|
|
28825
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
28826
|
-
settings: record(string(), unknown()).optional()
|
|
28827
|
-
}));
|
|
28828
|
-
var PipelineTemplateSchema$1 = object({
|
|
28829
|
-
id: string(),
|
|
28830
|
-
name: string(),
|
|
28831
|
-
createdAt: string(),
|
|
28832
|
-
updatedAt: string(),
|
|
28833
|
-
engine: PipelineEngineChoiceSchema,
|
|
28834
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
28835
|
-
});
|
|
28836
28679
|
var PipelineModelOptionSchema = object({
|
|
28837
28680
|
id: string(),
|
|
28838
28681
|
name: string(),
|
|
28839
|
-
formats: record(string(),
|
|
28840
|
-
downloaded: boolean(),
|
|
28841
|
-
sizeMB: number()
|
|
28842
|
-
})),
|
|
28682
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
28843
28683
|
group: ModelVariantGroupSchema.optional(),
|
|
28844
28684
|
legacy: boolean().optional(),
|
|
28845
28685
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -29054,6 +28894,32 @@ var pipelineExecutorCapability = {
|
|
|
29054
28894
|
auth: "admin"
|
|
29055
28895
|
}),
|
|
29056
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
|
+
/**
|
|
29057
28923
|
* Which of THIS node's inference devices the executor currently refuses,
|
|
29058
28924
|
* and why. `nodeId` is the ROUTING key (stripped by the generated router).
|
|
29059
28925
|
*
|
|
@@ -29131,29 +28997,17 @@ var pipelineExecutorCapability = {
|
|
|
29131
28997
|
steps: array(PipelineStepInputSchema),
|
|
29132
28998
|
deviceKey: string().optional()
|
|
29133
28999
|
}), PipelineValidationResultSchema),
|
|
29134
|
-
listTemplates: method(_void(), array(PipelineTemplateSchema$1).readonly()),
|
|
29135
|
-
saveTemplate: method(object({
|
|
29136
|
-
name: string(),
|
|
29137
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
29138
|
-
engine: PipelineEngineChoiceSchema
|
|
29139
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }),
|
|
29140
|
-
updateTemplate: method(object({
|
|
29141
|
-
id: string(),
|
|
29142
|
-
name: string().optional(),
|
|
29143
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
29144
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }),
|
|
29145
|
-
deleteTemplate: method(object({ id: string() }), _void(), { kind: "mutation" }),
|
|
29146
29000
|
getCapabilities: method(_void(), InferenceCapabilitiesBridge),
|
|
29147
29001
|
getAddonModels: method(object({ addonId: string() }), ModelAvailabilityListBridge),
|
|
29148
29002
|
downloadModel: method(object({
|
|
29149
29003
|
addonId: string(),
|
|
29150
29004
|
modelId: string(),
|
|
29151
|
-
format: ModelFormatSchema$
|
|
29005
|
+
format: ModelFormatSchema$2
|
|
29152
29006
|
}), DownloadModelResultSchema, { kind: "mutation" }),
|
|
29153
29007
|
deleteModel: method(object({
|
|
29154
29008
|
addonId: string(),
|
|
29155
29009
|
modelId: string(),
|
|
29156
|
-
format: ModelFormatSchema$
|
|
29010
|
+
format: ModelFormatSchema$2
|
|
29157
29011
|
}), object({ success: literal(true) }), { kind: "mutation" }),
|
|
29158
29012
|
/**
|
|
29159
29013
|
* Stateless single-frame execution. Callers (runner, benchmark) pass
|
|
@@ -29399,6 +29253,375 @@ var pipelineExecutorCapability = {
|
|
|
29399
29253
|
getDetectionConfigSchema: method(_void(), ConfigUISchemaNullableBridge)
|
|
29400
29254
|
}
|
|
29401
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
|
+
});
|
|
29402
29625
|
object({
|
|
29403
29626
|
activeCameras: number(),
|
|
29404
29627
|
throttledCameras: number(),
|
|
@@ -30316,14 +30539,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
30316
30539
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
30317
30540
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
30318
30541
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
30319
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
30320
|
-
* 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).
|
|
30321
30546
|
*/
|
|
30322
30547
|
devices: array(object({
|
|
30323
30548
|
deviceKey: string(),
|
|
30324
30549
|
backend: string(),
|
|
30325
|
-
attachedCameras: number()
|
|
30326
|
-
queueDepthTotal: number()
|
|
30550
|
+
attachedCameras: number()
|
|
30327
30551
|
})).default([]),
|
|
30328
30552
|
/** Hardware capability flags reported by this node. */
|
|
30329
30553
|
hardware: object({
|
|
@@ -30729,14 +30953,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
30729
30953
|
settings: record(string(), unknown()).readonly().optional()
|
|
30730
30954
|
}).nullable().optional()
|
|
30731
30955
|
});
|
|
30732
|
-
var PipelineTemplateSchema = object({
|
|
30733
|
-
id: string(),
|
|
30734
|
-
name: string(),
|
|
30735
|
-
description: string().optional(),
|
|
30736
|
-
config: CameraPipelineConfigSchema,
|
|
30737
|
-
createdAt: string(),
|
|
30738
|
-
updatedAt: string()
|
|
30739
|
-
});
|
|
30740
30956
|
var DeviceStepConfigSchema = object({
|
|
30741
30957
|
modelId: string().optional(),
|
|
30742
30958
|
settings: record(string(), unknown()).optional(),
|
|
@@ -30810,9 +31026,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
30810
31026
|
modelId: string().optional(),
|
|
30811
31027
|
settings: record(string(), unknown()).readonly().optional()
|
|
30812
31028
|
});
|
|
31029
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
30813
31030
|
var CameraPipelineSettingsSchema = object({
|
|
30814
|
-
pinnedAgentNodeId: string().optional(),
|
|
30815
31031
|
stepToggles: record(string(), boolean()).optional(),
|
|
31032
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
30816
31033
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
30817
31034
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
30818
31035
|
});
|
|
@@ -30845,7 +31062,10 @@ var PipelineAssignmentSchema = object({
|
|
|
30845
31062
|
});
|
|
30846
31063
|
/**
|
|
30847
31064
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
30848
|
-
* 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.
|
|
30849
31069
|
*/
|
|
30850
31070
|
var AgentLoadSummarySchema = object({
|
|
30851
31071
|
nodeId: string(),
|
|
@@ -30934,26 +31154,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
30934
31154
|
width: number(),
|
|
30935
31155
|
height: number(),
|
|
30936
31156
|
subscribers: number(),
|
|
30937
|
-
|
|
30938
|
-
|
|
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()
|
|
30939
31165
|
})).readonly(),
|
|
30940
31166
|
webrtcSessions: number(),
|
|
30941
31167
|
rtspRestream: boolean()
|
|
30942
31168
|
});
|
|
30943
|
-
/**
|
|
30944
|
-
|
|
30945
|
-
|
|
30946
|
-
|
|
30947
|
-
|
|
30948
|
-
|
|
30949
|
-
|
|
30950
|
-
|
|
30951
|
-
var CameraDecoderStatusSchema = object({
|
|
30952
|
-
nodeId: string(),
|
|
30953
|
-
formats: array(string()).readonly(),
|
|
30954
|
-
sessionCount: number(),
|
|
30955
|
-
shm: CameraDecoderShmSchema
|
|
30956
|
-
});
|
|
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() });
|
|
30957
31178
|
/** Motion block — null when motion detection is not active for this device. */
|
|
30958
31179
|
var CameraMotionStatusSchema = object({
|
|
30959
31180
|
enabled: boolean(),
|
|
@@ -31459,18 +31680,6 @@ var pipelineOrchestratorCapability = {
|
|
|
31459
31680
|
auth: "admin"
|
|
31460
31681
|
}),
|
|
31461
31682
|
/**
|
|
31462
|
-
* Set a node's detection WEIGHT (relative share for the quota balancer).
|
|
31463
|
-
* `null` clears it (back to the implicit weight 1). Unpinned cameras
|
|
31464
|
-
* distribute proportionally to weight; `maxCameras` still clamps on top.
|
|
31465
|
-
*/
|
|
31466
|
-
setAgentDetectWeight: method(object({
|
|
31467
|
-
agentNodeId: string(),
|
|
31468
|
-
detectWeight: number().positive().nullable()
|
|
31469
|
-
}), object({ success: literal(true) }), {
|
|
31470
|
-
kind: "mutation",
|
|
31471
|
-
auth: "admin"
|
|
31472
|
-
}),
|
|
31473
|
-
/**
|
|
31474
31683
|
* Set one node's placement CAPABILITIES — the per-node record that
|
|
31475
31684
|
* replaced the four flat orchestrator lists (`enabledNodes`,
|
|
31476
31685
|
* `enabledDecoderNodes`, `enabledAudioNodes`, `remoteSourcingNodes`).
|
|
@@ -31589,6 +31798,76 @@ var pipelineOrchestratorCapability = {
|
|
|
31589
31798
|
kind: "mutation",
|
|
31590
31799
|
auth: "admin"
|
|
31591
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
|
+
}),
|
|
31592
31871
|
/** Read one camera's settings. Null when never touched (inherits agent defaults fully). */
|
|
31593
31872
|
getCameraSettings: method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()),
|
|
31594
31873
|
/** Set or clear the 3-state toggle for one (camera, addonId). Pass `enabled: null` to clear and revert to agent default. */
|
|
@@ -31618,6 +31897,22 @@ var pipelineOrchestratorCapability = {
|
|
|
31618
31897
|
kind: "mutation",
|
|
31619
31898
|
auth: "admin"
|
|
31620
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
|
+
}),
|
|
31621
31916
|
/** Write or clear the wholesale per-agent pipeline override. Pass `pipeline: null` to drop the override. */
|
|
31622
31917
|
setCameraPipelineForAgent: method(object({
|
|
31623
31918
|
deviceId: number(),
|
|
@@ -31733,33 +32028,7 @@ var pipelineOrchestratorCapability = {
|
|
|
31733
32028
|
auth: "admin"
|
|
31734
32029
|
}),
|
|
31735
32030
|
/** Snapshot of the in-flight or last disk-wins fleet reconcile. */
|
|
31736
|
-
getReconcileFromDiskStatus: method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
31737
|
-
/** List every template the operator has saved. */
|
|
31738
|
-
listTemplates: method(_void(), array(PipelineTemplateSchema).readonly()),
|
|
31739
|
-
/** Create a new named preset from a given CameraPipelineConfig. */
|
|
31740
|
-
saveTemplate: method(object({
|
|
31741
|
-
name: string(),
|
|
31742
|
-
description: string().optional(),
|
|
31743
|
-
config: CameraPipelineConfigSchema
|
|
31744
|
-
}), PipelineTemplateSchema, {
|
|
31745
|
-
kind: "mutation",
|
|
31746
|
-
auth: "admin"
|
|
31747
|
-
}),
|
|
31748
|
-
/** Partial update of a template. Any omitted field is preserved. */
|
|
31749
|
-
updateTemplate: method(object({
|
|
31750
|
-
id: string(),
|
|
31751
|
-
name: string().optional(),
|
|
31752
|
-
description: string().optional(),
|
|
31753
|
-
config: CameraPipelineConfigSchema.optional()
|
|
31754
|
-
}), PipelineTemplateSchema, {
|
|
31755
|
-
kind: "mutation",
|
|
31756
|
-
auth: "admin"
|
|
31757
|
-
}),
|
|
31758
|
-
/** Remove a template. Camera configs that were seeded from it keep a copy. */
|
|
31759
|
-
deleteTemplate: method(object({ id: string() }), object({ success: literal(true) }), {
|
|
31760
|
-
kind: "mutation",
|
|
31761
|
-
auth: "admin"
|
|
31762
|
-
})
|
|
32031
|
+
getReconcileFromDiskStatus: method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
31763
32032
|
}
|
|
31764
32033
|
};
|
|
31765
32034
|
/**
|
|
@@ -34731,8 +35000,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
34731
35000
|
]).nullable(),
|
|
34732
35001
|
/** Input FPS from the camera (null for adaptive). */
|
|
34733
35002
|
inputFps: number().nullable(),
|
|
34734
|
-
/** Decoded FPS (null for adaptive). */
|
|
34735
|
-
decodeFps: number().nullable(),
|
|
34736
35003
|
/** Bitrate in kbps (null for adaptive). */
|
|
34737
35004
|
bitrateKbps: number().nullable()
|
|
34738
35005
|
});
|
|
@@ -47758,6 +48025,16 @@ var zoneRulesCapability = {
|
|
|
47758
48025
|
durability: "restored"
|
|
47759
48026
|
};
|
|
47760
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
|
+
});
|
|
47761
48038
|
/**
|
|
47762
48039
|
* Most specific first. Extending this list is how a new device kind becomes
|
|
47763
48040
|
* gateable; nothing else needs to change.
|
|
@@ -50214,90 +50491,18 @@ Object.freeze({
|
|
|
50214
50491
|
addonId: null,
|
|
50215
50492
|
access: "create"
|
|
50216
50493
|
},
|
|
50217
|
-
"decoder.createSession": {
|
|
50218
|
-
capName: "decoder",
|
|
50219
|
-
capScope: "system",
|
|
50220
|
-
addonId: null,
|
|
50221
|
-
access: "view"
|
|
50222
|
-
},
|
|
50223
|
-
"decoder.destroySession": {
|
|
50224
|
-
capName: "decoder",
|
|
50225
|
-
capScope: "system",
|
|
50226
|
-
addonId: null,
|
|
50227
|
-
access: "delete"
|
|
50228
|
-
},
|
|
50229
|
-
"decoder.getFrame": {
|
|
50230
|
-
capName: "decoder",
|
|
50231
|
-
capScope: "system",
|
|
50232
|
-
addonId: null,
|
|
50233
|
-
access: "view"
|
|
50234
|
-
},
|
|
50235
50494
|
"decoder.getInfo": {
|
|
50236
50495
|
capName: "decoder",
|
|
50237
50496
|
capScope: "system",
|
|
50238
50497
|
addonId: null,
|
|
50239
50498
|
access: "view"
|
|
50240
50499
|
},
|
|
50241
|
-
"decoder.getShmStats": {
|
|
50242
|
-
capName: "decoder",
|
|
50243
|
-
capScope: "system",
|
|
50244
|
-
addonId: null,
|
|
50245
|
-
access: "view"
|
|
50246
|
-
},
|
|
50247
|
-
"decoder.getStats": {
|
|
50248
|
-
capName: "decoder",
|
|
50249
|
-
capScope: "system",
|
|
50250
|
-
addonId: null,
|
|
50251
|
-
access: "view"
|
|
50252
|
-
},
|
|
50253
|
-
"decoder.listActiveSessions": {
|
|
50254
|
-
capName: "decoder",
|
|
50255
|
-
capScope: "system",
|
|
50256
|
-
addonId: null,
|
|
50257
|
-
access: "view"
|
|
50258
|
-
},
|
|
50259
|
-
"decoder.openStream": {
|
|
50260
|
-
capName: "decoder",
|
|
50261
|
-
capScope: "system",
|
|
50262
|
-
addonId: null,
|
|
50263
|
-
access: "view"
|
|
50264
|
-
},
|
|
50265
|
-
"decoder.pullFrames": {
|
|
50266
|
-
capName: "decoder",
|
|
50267
|
-
capScope: "system",
|
|
50268
|
-
addonId: null,
|
|
50269
|
-
access: "view"
|
|
50270
|
-
},
|
|
50271
|
-
"decoder.pullHandles": {
|
|
50272
|
-
capName: "decoder",
|
|
50273
|
-
capScope: "system",
|
|
50274
|
-
addonId: null,
|
|
50275
|
-
access: "view"
|
|
50276
|
-
},
|
|
50277
|
-
"decoder.pushPacket": {
|
|
50278
|
-
capName: "decoder",
|
|
50279
|
-
capScope: "system",
|
|
50280
|
-
addonId: null,
|
|
50281
|
-
access: "view"
|
|
50282
|
-
},
|
|
50283
50500
|
"decoder.reprobeHwaccel": {
|
|
50284
50501
|
capName: "decoder",
|
|
50285
50502
|
capScope: "system",
|
|
50286
50503
|
addonId: null,
|
|
50287
50504
|
access: "create"
|
|
50288
50505
|
},
|
|
50289
|
-
"decoder.supportsCodec": {
|
|
50290
|
-
capName: "decoder",
|
|
50291
|
-
capScope: "system",
|
|
50292
|
-
addonId: null,
|
|
50293
|
-
access: "view"
|
|
50294
|
-
},
|
|
50295
|
-
"decoder.updateConfig": {
|
|
50296
|
-
capName: "decoder",
|
|
50297
|
-
capScope: "system",
|
|
50298
|
-
addonId: null,
|
|
50299
|
-
access: "view"
|
|
50300
|
-
},
|
|
50301
50506
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
50302
50507
|
capName: "detection-pipeline",
|
|
50303
50508
|
capScope: "device",
|
|
@@ -53376,13 +53581,13 @@ Object.freeze({
|
|
|
53376
53581
|
addonId: null,
|
|
53377
53582
|
access: "delete"
|
|
53378
53583
|
},
|
|
53379
|
-
"pipelineExecutor.
|
|
53584
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
53380
53585
|
capName: "pipeline-executor",
|
|
53381
53586
|
capScope: "system",
|
|
53382
53587
|
addonId: null,
|
|
53383
53588
|
access: "delete"
|
|
53384
53589
|
},
|
|
53385
|
-
"pipelineExecutor.
|
|
53590
|
+
"pipelineExecutor.deleteModel": {
|
|
53386
53591
|
capName: "pipeline-executor",
|
|
53387
53592
|
capScope: "system",
|
|
53388
53593
|
addonId: null,
|
|
@@ -53526,12 +53731,6 @@ Object.freeze({
|
|
|
53526
53731
|
addonId: null,
|
|
53527
53732
|
access: "view"
|
|
53528
53733
|
},
|
|
53529
|
-
"pipelineExecutor.listTemplates": {
|
|
53530
|
-
capName: "pipeline-executor",
|
|
53531
|
-
capScope: "system",
|
|
53532
|
-
addonId: null,
|
|
53533
|
-
access: "view"
|
|
53534
|
-
},
|
|
53535
53734
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
53536
53735
|
capName: "pipeline-executor",
|
|
53537
53736
|
capScope: "system",
|
|
@@ -53556,12 +53755,6 @@ Object.freeze({
|
|
|
53556
53755
|
addonId: null,
|
|
53557
53756
|
access: "create"
|
|
53558
53757
|
},
|
|
53559
|
-
"pipelineExecutor.saveTemplate": {
|
|
53560
|
-
capName: "pipeline-executor",
|
|
53561
|
-
capScope: "system",
|
|
53562
|
-
addonId: null,
|
|
53563
|
-
access: "create"
|
|
53564
|
-
},
|
|
53565
53758
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
53566
53759
|
capName: "pipeline-executor",
|
|
53567
53760
|
capScope: "system",
|
|
@@ -53580,41 +53773,35 @@ Object.freeze({
|
|
|
53580
53773
|
addonId: null,
|
|
53581
53774
|
access: "create"
|
|
53582
53775
|
},
|
|
53583
|
-
"pipelineExecutor.updateTemplate": {
|
|
53584
|
-
capName: "pipeline-executor",
|
|
53585
|
-
capScope: "system",
|
|
53586
|
-
addonId: null,
|
|
53587
|
-
access: "create"
|
|
53588
|
-
},
|
|
53589
53776
|
"pipelineExecutor.validatePipeline": {
|
|
53590
53777
|
capName: "pipeline-executor",
|
|
53591
53778
|
capScope: "system",
|
|
53592
53779
|
addonId: null,
|
|
53593
53780
|
access: "view"
|
|
53594
53781
|
},
|
|
53595
|
-
"pipelineOrchestrator.
|
|
53782
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
53596
53783
|
capName: "pipeline-orchestrator",
|
|
53597
53784
|
capScope: "system",
|
|
53598
53785
|
addonId: null,
|
|
53599
53786
|
access: "create"
|
|
53600
53787
|
},
|
|
53601
|
-
"pipelineOrchestrator.
|
|
53788
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
53602
53789
|
capName: "pipeline-orchestrator",
|
|
53603
53790
|
capScope: "system",
|
|
53604
53791
|
addonId: null,
|
|
53605
53792
|
access: "create"
|
|
53606
53793
|
},
|
|
53607
|
-
"pipelineOrchestrator.
|
|
53794
|
+
"pipelineOrchestrator.assignAudio": {
|
|
53608
53795
|
capName: "pipeline-orchestrator",
|
|
53609
53796
|
capScope: "system",
|
|
53610
53797
|
addonId: null,
|
|
53611
53798
|
access: "create"
|
|
53612
53799
|
},
|
|
53613
|
-
"pipelineOrchestrator.
|
|
53800
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
53614
53801
|
capName: "pipeline-orchestrator",
|
|
53615
53802
|
capScope: "system",
|
|
53616
53803
|
addonId: null,
|
|
53617
|
-
access: "
|
|
53804
|
+
access: "create"
|
|
53618
53805
|
},
|
|
53619
53806
|
"pipelineOrchestrator.getAgentLoad": {
|
|
53620
53807
|
capName: "pipeline-orchestrator",
|
|
@@ -53706,6 +53893,12 @@ Object.freeze({
|
|
|
53706
53893
|
addonId: null,
|
|
53707
53894
|
access: "view"
|
|
53708
53895
|
},
|
|
53896
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
53897
|
+
capName: "pipeline-orchestrator",
|
|
53898
|
+
capScope: "system",
|
|
53899
|
+
addonId: null,
|
|
53900
|
+
access: "view"
|
|
53901
|
+
},
|
|
53709
53902
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
53710
53903
|
capName: "pipeline-orchestrator",
|
|
53711
53904
|
capScope: "system",
|
|
@@ -53742,19 +53935,19 @@ Object.freeze({
|
|
|
53742
53935
|
addonId: null,
|
|
53743
53936
|
access: "view"
|
|
53744
53937
|
},
|
|
53745
|
-
"pipelineOrchestrator.
|
|
53938
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
53746
53939
|
capName: "pipeline-orchestrator",
|
|
53747
53940
|
capScope: "system",
|
|
53748
53941
|
addonId: null,
|
|
53749
53942
|
access: "view"
|
|
53750
53943
|
},
|
|
53751
|
-
"pipelineOrchestrator.
|
|
53944
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
53752
53945
|
capName: "pipeline-orchestrator",
|
|
53753
53946
|
capScope: "system",
|
|
53754
53947
|
addonId: null,
|
|
53755
53948
|
access: "view"
|
|
53756
53949
|
},
|
|
53757
|
-
"pipelineOrchestrator.
|
|
53950
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
53758
53951
|
capName: "pipeline-orchestrator",
|
|
53759
53952
|
capScope: "system",
|
|
53760
53953
|
addonId: null,
|
|
@@ -53766,6 +53959,12 @@ Object.freeze({
|
|
|
53766
53959
|
addonId: null,
|
|
53767
53960
|
access: "create"
|
|
53768
53961
|
},
|
|
53962
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
53963
|
+
capName: "pipeline-orchestrator",
|
|
53964
|
+
capScope: "system",
|
|
53965
|
+
addonId: null,
|
|
53966
|
+
access: "view"
|
|
53967
|
+
},
|
|
53769
53968
|
"pipelineOrchestrator.rebalance": {
|
|
53770
53969
|
capName: "pipeline-orchestrator",
|
|
53771
53970
|
capScope: "system",
|
|
@@ -53808,12 +54007,6 @@ Object.freeze({
|
|
|
53808
54007
|
addonId: null,
|
|
53809
54008
|
access: "create"
|
|
53810
54009
|
},
|
|
53811
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
53812
|
-
capName: "pipeline-orchestrator",
|
|
53813
|
-
capScope: "system",
|
|
53814
|
-
addonId: null,
|
|
53815
|
-
access: "create"
|
|
53816
|
-
},
|
|
53817
54010
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
53818
54011
|
capName: "pipeline-orchestrator",
|
|
53819
54012
|
capScope: "system",
|
|
@@ -53826,12 +54019,6 @@ Object.freeze({
|
|
|
53826
54019
|
addonId: null,
|
|
53827
54020
|
access: "create"
|
|
53828
54021
|
},
|
|
53829
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
53830
|
-
capName: "pipeline-orchestrator",
|
|
53831
|
-
capScope: "system",
|
|
53832
|
-
addonId: null,
|
|
53833
|
-
access: "create"
|
|
53834
|
-
},
|
|
53835
54022
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
53836
54023
|
capName: "pipeline-orchestrator",
|
|
53837
54024
|
capScope: "system",
|
|
@@ -53868,6 +54055,12 @@ Object.freeze({
|
|
|
53868
54055
|
addonId: null,
|
|
53869
54056
|
access: "create"
|
|
53870
54057
|
},
|
|
54058
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
54059
|
+
capName: "pipeline-orchestrator",
|
|
54060
|
+
capScope: "system",
|
|
54061
|
+
addonId: null,
|
|
54062
|
+
access: "create"
|
|
54063
|
+
},
|
|
53871
54064
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
53872
54065
|
capName: "pipeline-orchestrator",
|
|
53873
54066
|
capScope: "system",
|
|
@@ -53886,25 +54079,37 @@ Object.freeze({
|
|
|
53886
54079
|
addonId: null,
|
|
53887
54080
|
access: "create"
|
|
53888
54081
|
},
|
|
54082
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
54083
|
+
capName: "pipeline-orchestrator",
|
|
54084
|
+
capScope: "system",
|
|
54085
|
+
addonId: null,
|
|
54086
|
+
access: "create"
|
|
54087
|
+
},
|
|
53889
54088
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
53890
54089
|
capName: "pipeline-orchestrator",
|
|
53891
54090
|
capScope: "system",
|
|
53892
54091
|
addonId: null,
|
|
53893
54092
|
access: "create"
|
|
53894
54093
|
},
|
|
53895
|
-
"pipelineOrchestrator.
|
|
54094
|
+
"pipelineOrchestrator.setShareSource": {
|
|
53896
54095
|
capName: "pipeline-orchestrator",
|
|
53897
54096
|
capScope: "system",
|
|
53898
54097
|
addonId: null,
|
|
53899
54098
|
access: "create"
|
|
53900
54099
|
},
|
|
53901
|
-
"pipelineOrchestrator.
|
|
54100
|
+
"pipelineOrchestrator.suggestShares": {
|
|
54101
|
+
capName: "pipeline-orchestrator",
|
|
54102
|
+
capScope: "system",
|
|
54103
|
+
addonId: null,
|
|
54104
|
+
access: "view"
|
|
54105
|
+
},
|
|
54106
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
53902
54107
|
capName: "pipeline-orchestrator",
|
|
53903
54108
|
capScope: "system",
|
|
53904
54109
|
addonId: null,
|
|
53905
54110
|
access: "create"
|
|
53906
54111
|
},
|
|
53907
|
-
"pipelineOrchestrator.
|
|
54112
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
53908
54113
|
capName: "pipeline-orchestrator",
|
|
53909
54114
|
capScope: "system",
|
|
53910
54115
|
addonId: null,
|
|
@@ -55344,12 +55549,6 @@ Object.freeze({
|
|
|
55344
55549
|
addonId: null,
|
|
55345
55550
|
access: "view"
|
|
55346
55551
|
},
|
|
55347
|
-
"streamBroker.pullFrameHandles": {
|
|
55348
|
-
capName: "stream-broker",
|
|
55349
|
-
capScope: "system",
|
|
55350
|
-
addonId: null,
|
|
55351
|
-
access: "view"
|
|
55352
|
-
},
|
|
55353
55552
|
"streamBroker.regenerateRtspToken": {
|
|
55354
55553
|
capName: "stream-broker",
|
|
55355
55554
|
capScope: "system",
|
|
@@ -55416,12 +55615,6 @@ Object.freeze({
|
|
|
55416
55615
|
addonId: null,
|
|
55417
55616
|
access: "create"
|
|
55418
55617
|
},
|
|
55419
|
-
"streamBroker.subscribeFrames": {
|
|
55420
|
-
capName: "stream-broker",
|
|
55421
|
-
capScope: "system",
|
|
55422
|
-
addonId: null,
|
|
55423
|
-
access: "create"
|
|
55424
|
-
},
|
|
55425
55618
|
"streamBroker.unassignProfile": {
|
|
55426
55619
|
capName: "stream-broker",
|
|
55427
55620
|
capScope: "system",
|
|
@@ -55434,12 +55627,6 @@ Object.freeze({
|
|
|
55434
55627
|
addonId: null,
|
|
55435
55628
|
access: "create"
|
|
55436
55629
|
},
|
|
55437
|
-
"streamBroker.unsubscribeFrames": {
|
|
55438
|
-
capName: "stream-broker",
|
|
55439
|
-
capScope: "system",
|
|
55440
|
-
addonId: null,
|
|
55441
|
-
access: "create"
|
|
55442
|
-
},
|
|
55443
55630
|
"streamCatalog.getCatalog": {
|
|
55444
55631
|
capName: "stream-catalog",
|
|
55445
55632
|
capScope: "device",
|
|
@@ -58129,11 +58316,6 @@ Object.freeze({
|
|
|
58129
58316
|
form: "single",
|
|
58130
58317
|
optional: false
|
|
58131
58318
|
}],
|
|
58132
|
-
"decoder.createSession": [{
|
|
58133
|
-
name: "deviceId",
|
|
58134
|
-
form: "single",
|
|
58135
|
-
optional: true
|
|
58136
|
-
}],
|
|
58137
58319
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
58138
58320
|
name: "deviceId",
|
|
58139
58321
|
form: "single",
|
|
@@ -59364,6 +59546,11 @@ Object.freeze({
|
|
|
59364
59546
|
form: "single",
|
|
59365
59547
|
optional: false
|
|
59366
59548
|
}],
|
|
59549
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
59550
|
+
name: "deviceIds",
|
|
59551
|
+
form: "array",
|
|
59552
|
+
optional: true
|
|
59553
|
+
}],
|
|
59367
59554
|
"pipelineExecutor.runPipeline": [{
|
|
59368
59555
|
name: "deviceId",
|
|
59369
59556
|
form: "single",
|
|
@@ -59469,6 +59656,11 @@ Object.freeze({
|
|
|
59469
59656
|
form: "single",
|
|
59470
59657
|
optional: false
|
|
59471
59658
|
}],
|
|
59659
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
59660
|
+
name: "deviceId",
|
|
59661
|
+
form: "single",
|
|
59662
|
+
optional: false
|
|
59663
|
+
}],
|
|
59472
59664
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
59473
59665
|
name: "deviceId",
|
|
59474
59666
|
form: "single",
|