@camstack/addon-provider-hikvision 1.2.145 → 1.2.146
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/addon.js +899 -479
- package/dist/addon.mjs +899 -479
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -33,7 +33,7 @@ let node_net = require("node:net");
|
|
|
33
33
|
let node_http = require("node:http");
|
|
34
34
|
let node_https = require("node:https");
|
|
35
35
|
let node_os = require("node:os");
|
|
36
|
-
//#region ../types/dist/event-category-
|
|
36
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
37
37
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
38
38
|
EventCategory["SystemBoot"] = "system.boot";
|
|
39
39
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -534,15 +534,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
534
534
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
535
535
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
536
536
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
537
|
-
/**
|
|
538
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
539
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
540
|
-
* `createSession`, so running sessions keep their current backend until
|
|
541
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
542
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
543
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
544
|
-
*/
|
|
545
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
546
537
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
547
538
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
548
539
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5413,7 +5404,7 @@ var ZodIssueCode = {
|
|
|
5413
5404
|
var ZodFirstPartyTypeKind;
|
|
5414
5405
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5406
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5407
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5417
5408
|
/**
|
|
5418
5409
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5410
|
* window to float samples (D455).
|
|
@@ -6779,32 +6770,12 @@ object({
|
|
|
6779
6770
|
audioCodec: string().optional(),
|
|
6780
6771
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6781
6772
|
});
|
|
6782
|
-
var EncodedPacketSchema = object({
|
|
6783
|
-
type: _enum(["video", "audio"]),
|
|
6784
|
-
data: _instanceof(Uint8Array),
|
|
6785
|
-
pts: number(),
|
|
6786
|
-
dts: number(),
|
|
6787
|
-
keyframe: boolean(),
|
|
6788
|
-
codec: string()
|
|
6789
|
-
});
|
|
6790
|
-
var DecodedFrameSchema = object({
|
|
6791
|
-
data: _instanceof(Uint8Array),
|
|
6792
|
-
width: number(),
|
|
6793
|
-
height: number(),
|
|
6794
|
-
format: _enum([
|
|
6795
|
-
"jpeg",
|
|
6796
|
-
"rgb",
|
|
6797
|
-
"bgr",
|
|
6798
|
-
"yuv420",
|
|
6799
|
-
"gray"
|
|
6800
|
-
]),
|
|
6801
|
-
timestamp: number()
|
|
6802
|
-
});
|
|
6803
6773
|
/**
|
|
6804
6774
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6805
6775
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6806
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6807
|
-
*
|
|
6776
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6777
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6778
|
+
* over tRPC / Moleculer.
|
|
6808
6779
|
*
|
|
6809
6780
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6810
6781
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6830,50 +6801,6 @@ var FrameHandleSchema = object({
|
|
|
6830
6801
|
slotCount: number().int().positive()
|
|
6831
6802
|
});
|
|
6832
6803
|
/**
|
|
6833
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6834
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6835
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6836
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6837
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6838
|
-
*/
|
|
6839
|
-
var FrameHandleFormatSchema = _enum([
|
|
6840
|
-
"rgb",
|
|
6841
|
-
"bgr",
|
|
6842
|
-
"yuv420",
|
|
6843
|
-
"gray"
|
|
6844
|
-
]);
|
|
6845
|
-
/**
|
|
6846
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6847
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6848
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6849
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6850
|
-
* they asked for with no broker-side conversion.
|
|
6851
|
-
*/
|
|
6852
|
-
var SubscribeFramesInputSchema = object({
|
|
6853
|
-
brokerId: string(),
|
|
6854
|
-
format: FrameHandleFormatSchema,
|
|
6855
|
-
/**
|
|
6856
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6857
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6858
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6859
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6860
|
-
*/
|
|
6861
|
-
maxFps: number().positive().optional(),
|
|
6862
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6863
|
-
tag: string().optional()
|
|
6864
|
-
});
|
|
6865
|
-
/**
|
|
6866
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6867
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6868
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6869
|
-
*/
|
|
6870
|
-
var SubscribeFramesResultSchema = object({
|
|
6871
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6872
|
-
subscriptionId: string(),
|
|
6873
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6874
|
-
maxFps: number().nonnegative()
|
|
6875
|
-
});
|
|
6876
|
-
/**
|
|
6877
6804
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6878
6805
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6879
6806
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6881,8 +6808,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6881
6808
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6882
6809
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6883
6810
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6884
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6885
|
-
*
|
|
6811
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6812
|
+
* it.
|
|
6886
6813
|
*/
|
|
6887
6814
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6888
6815
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6900,11 +6827,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6900
6827
|
format: AudioChunkFormatSchema.optional()
|
|
6901
6828
|
});
|
|
6902
6829
|
/**
|
|
6903
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6904
|
-
*
|
|
6905
|
-
*
|
|
6906
|
-
*
|
|
6907
|
-
* `pullAudioChunks`.
|
|
6830
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6831
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6832
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6833
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6908
6834
|
*/
|
|
6909
6835
|
var SubscribeAudioChunksInputSchema = object({
|
|
6910
6836
|
brokerId: string(),
|
|
@@ -6935,9 +6861,7 @@ var BrokerStatsSchema = object({
|
|
|
6935
6861
|
"stopped"
|
|
6936
6862
|
]),
|
|
6937
6863
|
inputFps: number(),
|
|
6938
|
-
decodeFps: number(),
|
|
6939
6864
|
encodedSubscribers: number(),
|
|
6940
|
-
decodedSubscribers: number(),
|
|
6941
6865
|
uptimeMs: number(),
|
|
6942
6866
|
bitrateKbps: number(),
|
|
6943
6867
|
idrIntervalMs: number(),
|
|
@@ -6950,14 +6874,6 @@ var BrokerStatsSchema = object({
|
|
|
6950
6874
|
preBufferMs: number(),
|
|
6951
6875
|
preBufferPackets: number(),
|
|
6952
6876
|
/**
|
|
6953
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6954
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6955
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6956
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6957
|
-
* a separate cap call per broker.
|
|
6958
|
-
*/
|
|
6959
|
-
decoderNodeId: string().nullable(),
|
|
6960
|
-
/**
|
|
6961
6877
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6962
6878
|
* when the stream has no audio track or the broker is in cold start.
|
|
6963
6879
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10315,70 +10231,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10315
10231
|
"backup"
|
|
10316
10232
|
]).optional()
|
|
10317
10233
|
});
|
|
10318
|
-
var DecoderStatsSchema = object({
|
|
10319
|
-
inputFps: number(),
|
|
10320
|
-
outputFps: number(),
|
|
10321
|
-
avgDecodeTimeMs: number(),
|
|
10322
|
-
droppedFrames: number(),
|
|
10323
|
-
/**
|
|
10324
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10325
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10326
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10327
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10328
|
-
*/
|
|
10329
|
-
lagMs: number().optional(),
|
|
10330
|
-
effectiveFps: number().optional(),
|
|
10331
|
-
adaptiveFps: number().optional()
|
|
10332
|
-
});
|
|
10333
|
-
var DecoderSessionConfigSchema = object({
|
|
10334
|
-
codec: string(),
|
|
10335
|
-
maxFps: number().default(0),
|
|
10336
|
-
outputFormat: _enum([
|
|
10337
|
-
"jpeg",
|
|
10338
|
-
"rgb",
|
|
10339
|
-
"bgr",
|
|
10340
|
-
"yuv420",
|
|
10341
|
-
"gray"
|
|
10342
|
-
]).default("jpeg"),
|
|
10343
|
-
scale: number().default(1),
|
|
10344
|
-
width: number().optional(),
|
|
10345
|
-
height: number().optional(),
|
|
10346
|
-
/**
|
|
10347
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10348
|
-
* because the cap is generic (any caller could request decode), but
|
|
10349
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10350
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10351
|
-
* sendPacket errors on a single hung camera).
|
|
10352
|
-
*/
|
|
10353
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10354
|
-
/**
|
|
10355
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10356
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10357
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10358
|
-
* profile cleanly.
|
|
10359
|
-
*/
|
|
10360
|
-
tag: string().optional(),
|
|
10361
|
-
/**
|
|
10362
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10363
|
-
*
|
|
10364
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10365
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10366
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10367
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10368
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10369
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10370
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10371
|
-
*/
|
|
10372
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10373
|
-
/**
|
|
10374
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10375
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10376
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10377
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10378
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10379
|
-
*/
|
|
10380
|
-
debug: boolean().optional()
|
|
10381
|
-
});
|
|
10382
10234
|
var EU_DST = {
|
|
10383
10235
|
offsetHours: 1,
|
|
10384
10236
|
startMonth: 3,
|
|
@@ -10810,7 +10662,18 @@ var LABEL_SUPPLY_STEP_IDS = [
|
|
|
10810
10662
|
];
|
|
10811
10663
|
/** Steps whose box a root detection can BE. */
|
|
10812
10664
|
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10813
|
-
|
|
10665
|
+
/**
|
|
10666
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10667
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10668
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10669
|
+
* no camera tree carries.)
|
|
10670
|
+
*/
|
|
10671
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10672
|
+
[
|
|
10673
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10674
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10675
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10676
|
+
];
|
|
10814
10677
|
var MODEL_FORMATS = [
|
|
10815
10678
|
"onnx",
|
|
10816
10679
|
"coreml",
|
|
@@ -10839,7 +10702,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10839
10702
|
/** Multi-file payload (directory members or sibling files). */
|
|
10840
10703
|
files: array(string()).readonly().optional(),
|
|
10841
10704
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10842
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10705
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10706
|
+
/**
|
|
10707
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10708
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10709
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10710
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10711
|
+
* node records the revision it downloaded next to the file
|
|
10712
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10713
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10714
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10715
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10716
|
+
*/
|
|
10717
|
+
revision: string().min(1).optional()
|
|
10718
|
+
});
|
|
10719
|
+
/**
|
|
10720
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10721
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10722
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10723
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10724
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10725
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10726
|
+
*/
|
|
10727
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10728
|
+
"current",
|
|
10729
|
+
"stale",
|
|
10730
|
+
"missing"
|
|
10731
|
+
]);
|
|
10732
|
+
/**
|
|
10733
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10734
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10735
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10736
|
+
*/
|
|
10737
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10738
|
+
"fp32",
|
|
10739
|
+
"fp16",
|
|
10740
|
+
"int8"
|
|
10741
|
+
]);
|
|
10742
|
+
/**
|
|
10743
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10744
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10745
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10746
|
+
*/
|
|
10747
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10748
|
+
downloaded: boolean(),
|
|
10749
|
+
sizeMB: number(),
|
|
10750
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10751
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10843
10752
|
});
|
|
10844
10753
|
/**
|
|
10845
10754
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10953,25 +10862,36 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10953
10862
|
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10954
10863
|
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10955
10864
|
* child of the `parentMacro` detection that contains it — never a track.
|
|
10865
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10866
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10867
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10868
|
+
* postprocessor on read, never stored by an import.
|
|
10956
10869
|
*/
|
|
10957
|
-
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10974
|
-
|
|
10870
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10871
|
+
object({
|
|
10872
|
+
kind: literal("label"),
|
|
10873
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10874
|
+
labelToEffect: record(string(), string()),
|
|
10875
|
+
uncovered: array(string()).readonly()
|
|
10876
|
+
}),
|
|
10877
|
+
object({
|
|
10878
|
+
kind: literal("crop"),
|
|
10879
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10880
|
+
rootLabels: array(string()).readonly(),
|
|
10881
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10882
|
+
childClass: _enum(["plate", "face"]),
|
|
10883
|
+
/**
|
|
10884
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10885
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10886
|
+
* stored by an import.
|
|
10887
|
+
*/
|
|
10888
|
+
rootInputPx: number().int().positive().optional()
|
|
10889
|
+
}),
|
|
10890
|
+
object({
|
|
10891
|
+
kind: literal("mask"),
|
|
10892
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10893
|
+
})
|
|
10894
|
+
]);
|
|
10975
10895
|
var ModelCatalogEntrySchema = object({
|
|
10976
10896
|
id: string(),
|
|
10977
10897
|
name: string(),
|
|
@@ -11037,6 +10957,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11037
10957
|
*/
|
|
11038
10958
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11039
10959
|
/**
|
|
10960
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10961
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10962
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10963
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10964
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10965
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10966
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10967
|
+
*/
|
|
10968
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10969
|
+
/**
|
|
10970
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10971
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10972
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10973
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10974
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10975
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10976
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10977
|
+
*/
|
|
10978
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10979
|
+
/**
|
|
10980
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10981
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10982
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10983
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10984
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10985
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10986
|
+
*/
|
|
10987
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10988
|
+
/**
|
|
11040
10989
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11041
10990
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11042
10991
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -12709,13 +12658,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12709
12658
|
lastRtpAt: number(),
|
|
12710
12659
|
bytesSent: number()
|
|
12711
12660
|
});
|
|
12712
|
-
var BrokerDecodedClientSchema = object({
|
|
12713
|
-
tag: string(),
|
|
12714
|
-
subscribedAt: number(),
|
|
12715
|
-
maxFps: number(),
|
|
12716
|
-
framesDelivered: number(),
|
|
12717
|
-
framesDropped: number()
|
|
12718
|
-
});
|
|
12719
12661
|
var BrokerAudioClientSchema = object({
|
|
12720
12662
|
tag: string(),
|
|
12721
12663
|
subscribedAt: number(),
|
|
@@ -12807,7 +12749,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12807
12749
|
});
|
|
12808
12750
|
var BrokerClientsSchema = object({
|
|
12809
12751
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12810
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12811
12752
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12812
12753
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12813
12754
|
pipeClients: number(),
|
|
@@ -13176,11 +13117,7 @@ method(object({
|
|
|
13176
13117
|
auth: "admin"
|
|
13177
13118
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13178
13119
|
brokerId: string(),
|
|
13179
|
-
channel: _enum([
|
|
13180
|
-
"rtsp",
|
|
13181
|
-
"decoded",
|
|
13182
|
-
"audio"
|
|
13183
|
-
]),
|
|
13120
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13184
13121
|
handle: string()
|
|
13185
13122
|
}), object({ killed: boolean() }), {
|
|
13186
13123
|
kind: "mutation",
|
|
@@ -13215,10 +13152,7 @@ method(object({
|
|
|
13215
13152
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13216
13153
|
subscriptionId: string(),
|
|
13217
13154
|
maxCount: number().int().positive().default(8)
|
|
13218
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13219
|
-
subscriptionId: string(),
|
|
13220
|
-
maxCount: number().int().positive().default(4)
|
|
13221
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13155
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13222
13156
|
brokerId: string(),
|
|
13223
13157
|
seconds: number().min(0).max(30)
|
|
13224
13158
|
}), _void(), {
|
|
@@ -14477,54 +14411,12 @@ id: union([string(), number()]) }), {
|
|
|
14477
14411
|
kind: "mutation",
|
|
14478
14412
|
auth: "admin"
|
|
14479
14413
|
});
|
|
14480
|
-
|
|
14481
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14482
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14483
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14484
|
-
*/
|
|
14485
|
-
var ShmRingStatsSchema = object({
|
|
14486
|
-
sessionId: string(),
|
|
14487
|
-
slotCount: number().int(),
|
|
14488
|
-
slotByteLength: number().int(),
|
|
14489
|
-
segmentBytes: number().int(),
|
|
14490
|
-
budgetMb: number().int(),
|
|
14491
|
-
framesWritten: number().int(),
|
|
14492
|
-
getFrameHits: number().int(),
|
|
14493
|
-
getFrameMisses: number().int()
|
|
14494
|
-
});
|
|
14495
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14414
|
+
method(_void(), object({
|
|
14496
14415
|
id: string(),
|
|
14497
14416
|
name: string(),
|
|
14498
|
-
isPullMode: boolean().optional(),
|
|
14499
|
-
priority: number().optional(),
|
|
14500
14417
|
hwaccel: string().optional(),
|
|
14501
14418
|
probedBestHwaccel: string().optional()
|
|
14502
|
-
})), method(
|
|
14503
|
-
sessionId: string(),
|
|
14504
|
-
nodeId: string()
|
|
14505
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14506
|
-
sessionId: string(),
|
|
14507
|
-
packet: EncodedPacketSchema
|
|
14508
|
-
}), _void()), method(object({
|
|
14509
|
-
sessionId: string(),
|
|
14510
|
-
url: string()
|
|
14511
|
-
}), _void()), method(object({
|
|
14512
|
-
sessionId: string(),
|
|
14513
|
-
maxCount: number().default(1),
|
|
14514
|
-
waitMs: number().optional()
|
|
14515
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14516
|
-
sessionId: string(),
|
|
14517
|
-
maxCount: number().default(1),
|
|
14518
|
-
waitMs: number().optional()
|
|
14519
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14520
|
-
sessionId: string(),
|
|
14521
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14522
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14523
|
-
sessionId: string(),
|
|
14524
|
-
codec: string(),
|
|
14525
|
-
outputFormat: string(),
|
|
14526
|
-
createdAtMs: number()
|
|
14527
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14419
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14528
14420
|
kind: "mutation",
|
|
14529
14421
|
auth: "admin"
|
|
14530
14422
|
});
|
|
@@ -15637,6 +15529,10 @@ var DeviceInfoSchema = object({
|
|
|
15637
15529
|
isCamera: boolean(),
|
|
15638
15530
|
/** Current config values — serializable snapshot */
|
|
15639
15531
|
config: record(string(), unknown()),
|
|
15532
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15533
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15534
|
+
* when the owning runner has not reported them. */
|
|
15535
|
+
secretConfigPaths: array(string()).optional(),
|
|
15640
15536
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15641
15537
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15642
15538
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15842,7 +15738,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15842
15738
|
* call (workers re-register on init), so probe-driven updates
|
|
15843
15739
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15844
15740
|
features: array(string()).optional(),
|
|
15845
|
-
config: record(string(), unknown())
|
|
15741
|
+
config: record(string(), unknown()),
|
|
15742
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15743
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15744
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15745
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15746
|
+
* omits it and the keyword backstop applies. */
|
|
15747
|
+
secretConfigPaths: array(string()).optional()
|
|
15846
15748
|
});
|
|
15847
15749
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15848
15750
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -17520,7 +17422,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17520
17422
|
icon: string().optional(),
|
|
17521
17423
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17522
17424
|
startUrl: string(),
|
|
17523
|
-
stage: LoginStageEnum
|
|
17425
|
+
stage: LoginStageEnum,
|
|
17426
|
+
/**
|
|
17427
|
+
* The provider names an external identity a signed-in user can link to
|
|
17428
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17429
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17430
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17431
|
+
*/
|
|
17432
|
+
linkable: boolean().optional()
|
|
17524
17433
|
}),
|
|
17525
17434
|
object({
|
|
17526
17435
|
kind: literal("widget"),
|
|
@@ -21902,8 +21811,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21902
21811
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21903
21812
|
stepId: "face-embedding",
|
|
21904
21813
|
key: "minLandmarkFaceSize",
|
|
21905
|
-
label: "Min face size
|
|
21906
|
-
description: "
|
|
21814
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21815
|
+
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.",
|
|
21907
21816
|
type: "slider",
|
|
21908
21817
|
min: 0,
|
|
21909
21818
|
max: 64,
|
|
@@ -22955,7 +22864,13 @@ var RetrainFrameSchema = object({
|
|
|
22955
22864
|
sizeBytes: number().int(),
|
|
22956
22865
|
width: number().int(),
|
|
22957
22866
|
height: number().int(),
|
|
22958
|
-
copiedAt: number()
|
|
22867
|
+
copiedAt: number(),
|
|
22868
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22869
|
+
capturedAt: number().optional(),
|
|
22870
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22871
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22872
|
+
* a false positive. */
|
|
22873
|
+
complete: boolean()
|
|
22959
22874
|
});
|
|
22960
22875
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22961
22876
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22976,6 +22891,51 @@ var RetrainFrameListSchema = object({
|
|
|
22976
22891
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22977
22892
|
autoPickMediaId: number().int().optional()
|
|
22978
22893
|
});
|
|
22894
|
+
/**
|
|
22895
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22896
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22897
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22898
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22899
|
+
* export carried (`exportedInBatch`).
|
|
22900
|
+
*/
|
|
22901
|
+
var RetrainExportFilterSchema = object({
|
|
22902
|
+
deviceIds: array(number()).optional(),
|
|
22903
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22904
|
+
batchId: string().optional(),
|
|
22905
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22906
|
+
completeOnly: boolean().optional()
|
|
22907
|
+
});
|
|
22908
|
+
/**
|
|
22909
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22910
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22911
|
+
* convention — the classifier layout.
|
|
22912
|
+
*/
|
|
22913
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22914
|
+
/**
|
|
22915
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22916
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22917
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22918
|
+
* logged.
|
|
22919
|
+
*/
|
|
22920
|
+
var RetrainArchiveTargetSchema = object({
|
|
22921
|
+
kind: literal("http"),
|
|
22922
|
+
method: _enum(["PUT", "POST"]),
|
|
22923
|
+
url: string().url(),
|
|
22924
|
+
headers: record(string(), string()).optional()
|
|
22925
|
+
});
|
|
22926
|
+
var RetrainArchiveResultSchema = object({
|
|
22927
|
+
batchId: string(),
|
|
22928
|
+
frames: number().int(),
|
|
22929
|
+
crops: number().int(),
|
|
22930
|
+
annotations: number().int(),
|
|
22931
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22932
|
+
missing: number().int(),
|
|
22933
|
+
bytes: number().int(),
|
|
22934
|
+
/** sha256 of the exact bytes sent. */
|
|
22935
|
+
sha256: string(),
|
|
22936
|
+
/** The target's HTTP status. */
|
|
22937
|
+
status: number().int()
|
|
22938
|
+
});
|
|
22979
22939
|
/** What the operator asked the assist to look for. */
|
|
22980
22940
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22981
22941
|
kind: literal("package"),
|
|
@@ -23770,9 +23730,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23770
23730
|
}), RetrainTransitionResultSchema, {
|
|
23771
23731
|
kind: "mutation",
|
|
23772
23732
|
auth: "admin"
|
|
23773
|
-
}), method(
|
|
23733
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23774
23734
|
kind: "query",
|
|
23775
23735
|
auth: "admin"
|
|
23736
|
+
}), method(object({
|
|
23737
|
+
deviceId: number(),
|
|
23738
|
+
trackId: string(),
|
|
23739
|
+
frameId: string(),
|
|
23740
|
+
complete: boolean()
|
|
23741
|
+
}), RetrainFrameSchema, {
|
|
23742
|
+
kind: "mutation",
|
|
23743
|
+
auth: "admin"
|
|
23744
|
+
}), method(object({
|
|
23745
|
+
filter: RetrainExportFilterSchema,
|
|
23746
|
+
layout: RetrainExportLayoutSchema,
|
|
23747
|
+
target: RetrainArchiveTargetSchema
|
|
23748
|
+
}), RetrainArchiveResultSchema, {
|
|
23749
|
+
kind: "mutation",
|
|
23750
|
+
auth: "admin",
|
|
23751
|
+
timeoutMs: 60 * 6e4
|
|
23776
23752
|
}), method(object({
|
|
23777
23753
|
/** Which of the three event tables owns the row. */
|
|
23778
23754
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23898,7 +23874,7 @@ var FrameRefSchema = object({
|
|
|
23898
23874
|
timestamp: number(),
|
|
23899
23875
|
capturedAt: number().optional()
|
|
23900
23876
|
});
|
|
23901
|
-
var ModelFormatSchema$
|
|
23877
|
+
var ModelFormatSchema$2 = _enum([
|
|
23902
23878
|
"onnx",
|
|
23903
23879
|
"coreml",
|
|
23904
23880
|
"openvino",
|
|
@@ -23916,7 +23892,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23916
23892
|
var PipelineEngineChoiceSchema = object({
|
|
23917
23893
|
runtime: literal("python"),
|
|
23918
23894
|
backend: string(),
|
|
23919
|
-
format: ModelFormatSchema$
|
|
23895
|
+
format: ModelFormatSchema$2,
|
|
23920
23896
|
device: string().optional()
|
|
23921
23897
|
});
|
|
23922
23898
|
/**
|
|
@@ -23955,28 +23931,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23955
23931
|
group: string().optional(),
|
|
23956
23932
|
settings: record(string(), unknown()).optional()
|
|
23957
23933
|
}));
|
|
23958
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23959
|
-
addonId: string(),
|
|
23960
|
-
enabled: boolean(),
|
|
23961
|
-
modelId: string(),
|
|
23962
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23963
|
-
settings: record(string(), unknown()).optional()
|
|
23964
|
-
}));
|
|
23965
|
-
var PipelineTemplateSchema$1 = object({
|
|
23966
|
-
id: string(),
|
|
23967
|
-
name: string(),
|
|
23968
|
-
createdAt: string(),
|
|
23969
|
-
updatedAt: string(),
|
|
23970
|
-
engine: PipelineEngineChoiceSchema,
|
|
23971
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23972
|
-
});
|
|
23973
23934
|
var PipelineModelOptionSchema = object({
|
|
23974
23935
|
id: string(),
|
|
23975
23936
|
name: string(),
|
|
23976
|
-
formats: record(string(),
|
|
23977
|
-
downloaded: boolean(),
|
|
23978
|
-
sizeMB: number()
|
|
23979
|
-
})),
|
|
23937
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23980
23938
|
group: ModelVariantGroupSchema.optional(),
|
|
23981
23939
|
legacy: boolean().optional(),
|
|
23982
23940
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -24143,6 +24101,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24143
24101
|
}), {
|
|
24144
24102
|
kind: "mutation",
|
|
24145
24103
|
auth: "admin"
|
|
24104
|
+
}), method(object({
|
|
24105
|
+
nodeId: string(),
|
|
24106
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24107
|
+
dryRun: boolean()
|
|
24108
|
+
}), object({
|
|
24109
|
+
entries: array(object({
|
|
24110
|
+
deviceId: number(),
|
|
24111
|
+
keys: array(string()).readonly()
|
|
24112
|
+
})).readonly(),
|
|
24113
|
+
refused: array(object({
|
|
24114
|
+
deviceId: number(),
|
|
24115
|
+
reason: string()
|
|
24116
|
+
})).readonly()
|
|
24117
|
+
}), {
|
|
24118
|
+
kind: "mutation",
|
|
24119
|
+
auth: "admin"
|
|
24146
24120
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24147
24121
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24148
24122
|
deviceKey: string(),
|
|
@@ -24168,22 +24142,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24168
24142
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24169
24143
|
steps: array(PipelineStepInputSchema),
|
|
24170
24144
|
deviceKey: string().optional()
|
|
24171
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24172
|
-
name: string(),
|
|
24173
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24174
|
-
engine: PipelineEngineChoiceSchema
|
|
24175
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24176
|
-
id: string(),
|
|
24177
|
-
name: string().optional(),
|
|
24178
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24179
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24145
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24180
24146
|
addonId: string(),
|
|
24181
24147
|
modelId: string(),
|
|
24182
|
-
format: ModelFormatSchema$
|
|
24148
|
+
format: ModelFormatSchema$2
|
|
24183
24149
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24184
24150
|
addonId: string(),
|
|
24185
24151
|
modelId: string(),
|
|
24186
|
-
format: ModelFormatSchema$
|
|
24152
|
+
format: ModelFormatSchema$2
|
|
24187
24153
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24188
24154
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24189
24155
|
frame: FrameInputSchema.optional(),
|
|
@@ -24340,6 +24306,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24340
24306
|
filename: string().optional(),
|
|
24341
24307
|
settings: record(string(), unknown()).optional()
|
|
24342
24308
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24309
|
+
/**
|
|
24310
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24311
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24312
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24313
|
+
* schemas are what crosses the cap boundary.
|
|
24314
|
+
*/
|
|
24315
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24316
|
+
/** The operator's range for it. */
|
|
24317
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24318
|
+
min: 1,
|
|
24319
|
+
max: 8
|
|
24320
|
+
};
|
|
24321
|
+
var HardwareClassIdSchema = _enum([
|
|
24322
|
+
"intel-core-ultra",
|
|
24323
|
+
"intel-n-series",
|
|
24324
|
+
"apple-m-base",
|
|
24325
|
+
"apple-m-pro",
|
|
24326
|
+
"unknown"
|
|
24327
|
+
]);
|
|
24328
|
+
var AcceleratorKindSchema = _enum([
|
|
24329
|
+
"intel-npu",
|
|
24330
|
+
"intel-igpu",
|
|
24331
|
+
"x86-cpu",
|
|
24332
|
+
"arm-cpu",
|
|
24333
|
+
"apple-ane",
|
|
24334
|
+
"coral"
|
|
24335
|
+
]);
|
|
24336
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24337
|
+
object({
|
|
24338
|
+
kind: literal("capacity"),
|
|
24339
|
+
sessions: number(),
|
|
24340
|
+
minSessions: number()
|
|
24341
|
+
}),
|
|
24342
|
+
object({
|
|
24343
|
+
kind: literal("tie-faster"),
|
|
24344
|
+
over: string(),
|
|
24345
|
+
recallDelta: number()
|
|
24346
|
+
}),
|
|
24347
|
+
object({
|
|
24348
|
+
kind: literal("stepped-down"),
|
|
24349
|
+
from: string(),
|
|
24350
|
+
to: string(),
|
|
24351
|
+
limitedBy: string()
|
|
24352
|
+
}),
|
|
24353
|
+
object({
|
|
24354
|
+
kind: literal("no-fit-lightest"),
|
|
24355
|
+
sessions: number(),
|
|
24356
|
+
minSessions: number()
|
|
24357
|
+
}),
|
|
24358
|
+
object({
|
|
24359
|
+
kind: literal("derived-latency"),
|
|
24360
|
+
modelId: string()
|
|
24361
|
+
}),
|
|
24362
|
+
object({ kind: literal("cpu-device") }),
|
|
24363
|
+
object({ kind: literal("coral-untouched") }),
|
|
24364
|
+
object({ kind: literal("device-disabled") }),
|
|
24365
|
+
object({ kind: literal("device-unavailable") }),
|
|
24366
|
+
object({ kind: literal("node-offline") }),
|
|
24367
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24368
|
+
object({
|
|
24369
|
+
kind: literal("no-measured-data"),
|
|
24370
|
+
hardwareClass: HardwareClassIdSchema
|
|
24371
|
+
}),
|
|
24372
|
+
object({
|
|
24373
|
+
kind: literal("no-family-build"),
|
|
24374
|
+
format: ModelFormatSchema$1
|
|
24375
|
+
})
|
|
24376
|
+
]);
|
|
24377
|
+
var DeviceModelChoiceSchema = object({
|
|
24378
|
+
modelId: string(),
|
|
24379
|
+
p50Ms: number(),
|
|
24380
|
+
fps: number(),
|
|
24381
|
+
measured: boolean(),
|
|
24382
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24383
|
+
capacitySessions: number(),
|
|
24384
|
+
personRecall: number()
|
|
24385
|
+
});
|
|
24386
|
+
var DeviceRecommendationSchema = object({
|
|
24387
|
+
deviceKey: string(),
|
|
24388
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24389
|
+
enabled: boolean(),
|
|
24390
|
+
available: boolean(),
|
|
24391
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24392
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24393
|
+
});
|
|
24394
|
+
var NodeRecommendationSchema = object({
|
|
24395
|
+
nodeId: string(),
|
|
24396
|
+
reachable: boolean(),
|
|
24397
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24398
|
+
cpuModel: string().nullable(),
|
|
24399
|
+
skipped: boolean(),
|
|
24400
|
+
acceleratorModelId: string().nullable(),
|
|
24401
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24402
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24403
|
+
});
|
|
24404
|
+
var ModelPinChangeSchema = object({
|
|
24405
|
+
stepId: string(),
|
|
24406
|
+
before: string().nullable(),
|
|
24407
|
+
after: string().nullable()
|
|
24408
|
+
});
|
|
24409
|
+
var NodeDeviceChangeSchema = object({
|
|
24410
|
+
nodeId: string(),
|
|
24411
|
+
deviceKey: string(),
|
|
24412
|
+
madeExplicit: boolean(),
|
|
24413
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24414
|
+
thresholds: array(object({
|
|
24415
|
+
stepId: string(),
|
|
24416
|
+
keys: array(string()).readonly()
|
|
24417
|
+
})).readonly()
|
|
24418
|
+
});
|
|
24419
|
+
var CameraOverrideClearSchema = object({
|
|
24420
|
+
deviceId: number(),
|
|
24421
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24422
|
+
nodeId: string(),
|
|
24423
|
+
deviceKey: string().nullable(),
|
|
24424
|
+
stepId: string(),
|
|
24425
|
+
modelIdBefore: string().nullable(),
|
|
24426
|
+
keys: array(string()).readonly()
|
|
24427
|
+
});
|
|
24428
|
+
var DetectorStoreClearSchema = object({
|
|
24429
|
+
deviceId: number(),
|
|
24430
|
+
keys: array(string()).readonly()
|
|
24431
|
+
});
|
|
24432
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24433
|
+
object({
|
|
24434
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24435
|
+
skippedNodes: array(string()).readonly()
|
|
24436
|
+
}),
|
|
24437
|
+
object({
|
|
24438
|
+
kind: literal("detector-store-unreadable"),
|
|
24439
|
+
error: string()
|
|
24440
|
+
}),
|
|
24441
|
+
object({
|
|
24442
|
+
kind: literal("coral-enabled"),
|
|
24443
|
+
nodeId: string(),
|
|
24444
|
+
deviceKey: string()
|
|
24445
|
+
})
|
|
24446
|
+
]);
|
|
24447
|
+
var AutoTuneOptionsSchema = object({
|
|
24448
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24449
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24450
|
+
/**
|
|
24451
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24452
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24453
|
+
* that reaches it wins.
|
|
24454
|
+
*/
|
|
24455
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24456
|
+
});
|
|
24457
|
+
var AutoTunePlanSchema = object({
|
|
24458
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24459
|
+
planHash: string(),
|
|
24460
|
+
family: literal("yolov9"),
|
|
24461
|
+
headroom: number(),
|
|
24462
|
+
minSessionsPerDevice: number(),
|
|
24463
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24464
|
+
cameraFps: number(),
|
|
24465
|
+
generatedAt: number(),
|
|
24466
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24467
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24468
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24469
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24470
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24471
|
+
});
|
|
24472
|
+
var AutoTuneApplyInputSchema = object({
|
|
24473
|
+
planHash: string(),
|
|
24474
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24475
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24476
|
+
});
|
|
24477
|
+
var AutoTunePhaseResultSchema = object({
|
|
24478
|
+
phase: _enum([
|
|
24479
|
+
"download",
|
|
24480
|
+
"camera-overrides",
|
|
24481
|
+
"detector-thresholds",
|
|
24482
|
+
"node-models",
|
|
24483
|
+
"redispatch"
|
|
24484
|
+
]),
|
|
24485
|
+
ok: boolean(),
|
|
24486
|
+
detail: string()
|
|
24487
|
+
});
|
|
24488
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24489
|
+
object({
|
|
24490
|
+
kind: literal("applied"),
|
|
24491
|
+
planHash: string(),
|
|
24492
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24493
|
+
}),
|
|
24494
|
+
object({
|
|
24495
|
+
kind: literal("aborted"),
|
|
24496
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24497
|
+
}),
|
|
24498
|
+
object({
|
|
24499
|
+
kind: literal("stale"),
|
|
24500
|
+
plan: AutoTunePlanSchema
|
|
24501
|
+
}),
|
|
24502
|
+
object({
|
|
24503
|
+
kind: literal("refused"),
|
|
24504
|
+
reason: _enum(["apply-in-progress"])
|
|
24505
|
+
})
|
|
24506
|
+
]);
|
|
24507
|
+
/**
|
|
24508
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24509
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24510
|
+
* hardware share suggestion and the stale device pins.
|
|
24511
|
+
*/
|
|
24512
|
+
/**
|
|
24513
|
+
* How a new detection session picks its node and device.
|
|
24514
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24515
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24516
|
+
* weight only bites once a node already holds a session.
|
|
24517
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24518
|
+
* full or drowning node yields to a free one (D748).
|
|
24519
|
+
*/
|
|
24520
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24521
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24522
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24523
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24524
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24525
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24526
|
+
});
|
|
24527
|
+
var PlacementStatsInputSchema = object({
|
|
24528
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24529
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24530
|
+
var PlacementDeviceStatsSchema = object({
|
|
24531
|
+
deviceKey: string(),
|
|
24532
|
+
/** Sessions running on this device now. */
|
|
24533
|
+
sessionsNow: number(),
|
|
24534
|
+
/** Sessions started on this device inside the window. */
|
|
24535
|
+
sessionsStarted: number(),
|
|
24536
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24537
|
+
observedShare: number().nullable()
|
|
24538
|
+
});
|
|
24539
|
+
var PlacementNodeStatsSchema = object({
|
|
24540
|
+
nodeId: string(),
|
|
24541
|
+
sessionsNow: number(),
|
|
24542
|
+
sessionsStarted: number(),
|
|
24543
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24544
|
+
observedShare: number().nullable(),
|
|
24545
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24546
|
+
peakSessions: number(),
|
|
24547
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24548
|
+
yieldsAway: number(),
|
|
24549
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24550
|
+
});
|
|
24551
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24552
|
+
var StaleDevicePinSchema = object({
|
|
24553
|
+
deviceId: number(),
|
|
24554
|
+
deviceKey: string(),
|
|
24555
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24556
|
+
reason: _enum(["disabled", "absent"])
|
|
24557
|
+
});
|
|
24558
|
+
var PlacementStatsSchema = object({
|
|
24559
|
+
policy: SessionPlacementPolicySchema,
|
|
24560
|
+
windowMs: number(),
|
|
24561
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24562
|
+
observedForMs: number(),
|
|
24563
|
+
sessionsNow: number(),
|
|
24564
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24565
|
+
clusterPeakSessions: number(),
|
|
24566
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24567
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24568
|
+
});
|
|
24569
|
+
/**
|
|
24570
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24571
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24572
|
+
* the measured latency table for the node's hardware class.
|
|
24573
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24574
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24575
|
+
*/
|
|
24576
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24577
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24578
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24579
|
+
var SuggestSharesInputSchema = object({
|
|
24580
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24581
|
+
/** Default `hardware`. */
|
|
24582
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24583
|
+
});
|
|
24584
|
+
var SuggestedDeviceShareSchema = object({
|
|
24585
|
+
deviceKey: string(),
|
|
24586
|
+
/** Share of the node (0–100, rounded). */
|
|
24587
|
+
share: number(),
|
|
24588
|
+
modelId: string().nullable(),
|
|
24589
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24590
|
+
fps: number().nullable(),
|
|
24591
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24592
|
+
measured: boolean(),
|
|
24593
|
+
/**
|
|
24594
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24595
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24596
|
+
*/
|
|
24597
|
+
suggestedMaxSessions: number().nullable()
|
|
24598
|
+
});
|
|
24599
|
+
var SuggestedNodeShareSchema = object({
|
|
24600
|
+
nodeId: string(),
|
|
24601
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24602
|
+
share: number().nullable(),
|
|
24603
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24604
|
+
capacitySessions: number(),
|
|
24605
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24606
|
+
skippedReason: string().nullable(),
|
|
24607
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24608
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24609
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24610
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24611
|
+
});
|
|
24612
|
+
var SuggestSharesResultSchema = object({
|
|
24613
|
+
headroom: number(),
|
|
24614
|
+
/** The source asked for; each node says what it actually used. */
|
|
24615
|
+
source: CapacitySourceSchema,
|
|
24616
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24617
|
+
cameraFps: number(),
|
|
24618
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24619
|
+
minSessionsPerDevice: number(),
|
|
24620
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24621
|
+
});
|
|
24622
|
+
/**
|
|
24623
|
+
* Where the node and device shares come from (D750, D755).
|
|
24624
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24625
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24626
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24627
|
+
* switched on or off, or changes model. No load input.
|
|
24628
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24629
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24630
|
+
* - `manual` — the operator's stored sliders.
|
|
24631
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24632
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24633
|
+
*/
|
|
24634
|
+
var ShareSourceSchema = _enum([
|
|
24635
|
+
"hardware",
|
|
24636
|
+
"benchmark",
|
|
24637
|
+
"manual"
|
|
24638
|
+
]);
|
|
24639
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24640
|
+
object({
|
|
24641
|
+
nodes: record(string(), number()),
|
|
24642
|
+
devices: record(string(), record(string(), number()))
|
|
24643
|
+
});
|
|
24644
|
+
var EffectiveDeviceShareSchema = object({
|
|
24645
|
+
deviceKey: string(),
|
|
24646
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24647
|
+
eligible: boolean(),
|
|
24648
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24649
|
+
configuredPct: number(),
|
|
24650
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24651
|
+
effectivePct: number()
|
|
24652
|
+
});
|
|
24653
|
+
var EffectiveNodeShareSchema = object({
|
|
24654
|
+
nodeId: string(),
|
|
24655
|
+
eligible: boolean(),
|
|
24656
|
+
configuredPct: number(),
|
|
24657
|
+
effectivePct: number(),
|
|
24658
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24659
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24660
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24661
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24662
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24663
|
+
});
|
|
24664
|
+
var EffectiveSharesSchema = object({
|
|
24665
|
+
source: ShareSourceSchema,
|
|
24666
|
+
policy: SessionPlacementPolicySchema,
|
|
24667
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24668
|
+
autoPending: boolean(),
|
|
24669
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24670
|
+
computedAt: number().nullable(),
|
|
24671
|
+
/** What made the system recompute them last. */
|
|
24672
|
+
trigger: string().nullable(),
|
|
24673
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24674
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24675
|
+
nodeWeights: record(string(), number()),
|
|
24676
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24677
|
+
});
|
|
24343
24678
|
object({
|
|
24344
24679
|
activeCameras: number(),
|
|
24345
24680
|
throttledCameras: number(),
|
|
@@ -25257,14 +25592,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25257
25592
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25258
25593
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25259
25594
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25260
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25261
|
-
* per
|
|
25595
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25596
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25597
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25598
|
+
* (D762).
|
|
25262
25599
|
*/
|
|
25263
25600
|
devices: array(object({
|
|
25264
25601
|
deviceKey: string(),
|
|
25265
25602
|
backend: string(),
|
|
25266
|
-
attachedCameras: number()
|
|
25267
|
-
queueDepthTotal: number()
|
|
25603
|
+
attachedCameras: number()
|
|
25268
25604
|
})).default([]),
|
|
25269
25605
|
/** Hardware capability flags reported by this node. */
|
|
25270
25606
|
hardware: object({
|
|
@@ -25478,14 +25814,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25478
25814
|
settings: record(string(), unknown()).readonly().optional()
|
|
25479
25815
|
}).nullable().optional()
|
|
25480
25816
|
});
|
|
25481
|
-
var PipelineTemplateSchema = object({
|
|
25482
|
-
id: string(),
|
|
25483
|
-
name: string(),
|
|
25484
|
-
description: string().optional(),
|
|
25485
|
-
config: CameraPipelineConfigSchema,
|
|
25486
|
-
createdAt: string(),
|
|
25487
|
-
updatedAt: string()
|
|
25488
|
-
});
|
|
25489
25817
|
var DeviceStepConfigSchema = object({
|
|
25490
25818
|
modelId: string().optional(),
|
|
25491
25819
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25559,9 +25887,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25559
25887
|
modelId: string().optional(),
|
|
25560
25888
|
settings: record(string(), unknown()).readonly().optional()
|
|
25561
25889
|
});
|
|
25890
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25562
25891
|
var CameraPipelineSettingsSchema = object({
|
|
25563
|
-
pinnedAgentNodeId: string().optional(),
|
|
25564
25892
|
stepToggles: record(string(), boolean()).optional(),
|
|
25893
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25565
25894
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25566
25895
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25567
25896
|
});
|
|
@@ -25594,7 +25923,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25594
25923
|
});
|
|
25595
25924
|
/**
|
|
25596
25925
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25597
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25926
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25927
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25928
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25929
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25598
25930
|
*/
|
|
25599
25931
|
var AgentLoadSummarySchema = object({
|
|
25600
25932
|
nodeId: string(),
|
|
@@ -25683,26 +26015,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25683
26015
|
width: number(),
|
|
25684
26016
|
height: number(),
|
|
25685
26017
|
subscribers: number(),
|
|
25686
|
-
|
|
25687
|
-
|
|
26018
|
+
/**
|
|
26019
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
26020
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26021
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26022
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26023
|
+
* camera and is not served (D758).
|
|
26024
|
+
*/
|
|
26025
|
+
inFps: number().nullable()
|
|
25688
26026
|
})).readonly(),
|
|
25689
26027
|
webrtcSessions: number(),
|
|
25690
26028
|
rtspRestream: boolean()
|
|
25691
26029
|
});
|
|
25692
|
-
/**
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
var CameraDecoderStatusSchema = object({
|
|
25701
|
-
nodeId: string(),
|
|
25702
|
-
formats: array(string()).readonly(),
|
|
25703
|
-
sessionCount: number(),
|
|
25704
|
-
shm: CameraDecoderShmSchema
|
|
25705
|
-
});
|
|
26030
|
+
/**
|
|
26031
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26032
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26033
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26034
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26035
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26036
|
+
* detector), never from a counter nothing feeds.
|
|
26037
|
+
*/
|
|
26038
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25706
26039
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25707
26040
|
var CameraMotionStatusSchema = object({
|
|
25708
26041
|
enabled: boolean(),
|
|
@@ -26059,12 +26392,6 @@ method(object({
|
|
|
26059
26392
|
}), object({ success: literal(true) }), {
|
|
26060
26393
|
kind: "mutation",
|
|
26061
26394
|
auth: "admin"
|
|
26062
|
-
}), method(object({
|
|
26063
|
-
agentNodeId: string(),
|
|
26064
|
-
detectWeight: number().positive().nullable()
|
|
26065
|
-
}), object({ success: literal(true) }), {
|
|
26066
|
-
kind: "mutation",
|
|
26067
|
-
auth: "admin"
|
|
26068
26395
|
}), method(object({
|
|
26069
26396
|
agentNodeId: string(),
|
|
26070
26397
|
detect: boolean().nullable().optional(),
|
|
@@ -26106,6 +26433,15 @@ method(object({
|
|
|
26106
26433
|
}), {
|
|
26107
26434
|
kind: "mutation",
|
|
26108
26435
|
auth: "admin"
|
|
26436
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26437
|
+
kind: "mutation",
|
|
26438
|
+
auth: "admin"
|
|
26439
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26440
|
+
kind: "mutation",
|
|
26441
|
+
auth: "admin"
|
|
26442
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26443
|
+
kind: "mutation",
|
|
26444
|
+
auth: "admin"
|
|
26109
26445
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26110
26446
|
deviceId: number(),
|
|
26111
26447
|
addonId: string(),
|
|
@@ -26122,6 +26458,13 @@ method(object({
|
|
|
26122
26458
|
}), object({ success: literal(true) }), {
|
|
26123
26459
|
kind: "mutation",
|
|
26124
26460
|
auth: "admin"
|
|
26461
|
+
}), method(object({
|
|
26462
|
+
deviceId: number(),
|
|
26463
|
+
addonId: string(),
|
|
26464
|
+
settings: record(string(), unknown()).nullable()
|
|
26465
|
+
}), object({ success: literal(true) }), {
|
|
26466
|
+
kind: "mutation",
|
|
26467
|
+
auth: "admin"
|
|
26125
26468
|
}), method(object({
|
|
26126
26469
|
deviceId: number(),
|
|
26127
26470
|
agentNodeId: string(),
|
|
@@ -26145,25 +26488,7 @@ method(object({
|
|
|
26145
26488
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26146
26489
|
kind: "mutation",
|
|
26147
26490
|
auth: "admin"
|
|
26148
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26149
|
-
name: string(),
|
|
26150
|
-
description: string().optional(),
|
|
26151
|
-
config: CameraPipelineConfigSchema
|
|
26152
|
-
}), PipelineTemplateSchema, {
|
|
26153
|
-
kind: "mutation",
|
|
26154
|
-
auth: "admin"
|
|
26155
|
-
}), method(object({
|
|
26156
|
-
id: string(),
|
|
26157
|
-
name: string().optional(),
|
|
26158
|
-
description: string().optional(),
|
|
26159
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26160
|
-
}), PipelineTemplateSchema, {
|
|
26161
|
-
kind: "mutation",
|
|
26162
|
-
auth: "admin"
|
|
26163
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26164
|
-
kind: "mutation",
|
|
26165
|
-
auth: "admin"
|
|
26166
|
-
});
|
|
26491
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26167
26492
|
/**
|
|
26168
26493
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26169
26494
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26857,7 +27182,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26857
27182
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26858
27183
|
* operator already consented to.
|
|
26859
27184
|
*/
|
|
26860
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
27185
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
27186
|
+
/**
|
|
27187
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
27188
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
27189
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
27190
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
27191
|
+
*/
|
|
27192
|
+
linkIntent: string().optional(),
|
|
27193
|
+
/**
|
|
27194
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
27195
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
27196
|
+
*/
|
|
27197
|
+
issuer: string().optional()
|
|
26861
27198
|
});
|
|
26862
27199
|
method(object({
|
|
26863
27200
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -28934,8 +29271,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28934
29271
|
]).nullable(),
|
|
28935
29272
|
/** Input FPS from the camera (null for adaptive). */
|
|
28936
29273
|
inputFps: number().nullable(),
|
|
28937
|
-
/** Decoded FPS (null for adaptive). */
|
|
28938
|
-
decodeFps: number().nullable(),
|
|
28939
29274
|
/** Bitrate in kbps (null for adaptive). */
|
|
28940
29275
|
bitrateKbps: number().nullable()
|
|
28941
29276
|
});
|
|
@@ -29212,7 +29547,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29212
29547
|
* field their hints were silently stripped by the schema and the
|
|
29213
29548
|
* adaptive ladder started blind on the client's display size.
|
|
29214
29549
|
*/
|
|
29215
|
-
hints: webrtcClientHintsSchema.optional()
|
|
29550
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
29551
|
+
/**
|
|
29552
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
29553
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
29554
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
29555
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
29556
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
29557
|
+
*
|
|
29558
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
29559
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
29560
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
29561
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
29562
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
29563
|
+
* flag must not become a second door to the camera's speaker.
|
|
29564
|
+
*/
|
|
29565
|
+
talkback: boolean().optional()
|
|
29216
29566
|
}), object({
|
|
29217
29567
|
sessionId: string(),
|
|
29218
29568
|
sdpAnswer: string()
|
|
@@ -29514,6 +29864,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29514
29864
|
var RestartAddonResultSchema = unknown();
|
|
29515
29865
|
var InstallPackageResultSchema = unknown();
|
|
29516
29866
|
var ReloadPackagesResultSchema = unknown();
|
|
29867
|
+
/**
|
|
29868
|
+
* What an uninstall did on ONE node.
|
|
29869
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29870
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29871
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29872
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29873
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29874
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29875
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29876
|
+
*/
|
|
29877
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29878
|
+
"uninstalled",
|
|
29879
|
+
"not-installed",
|
|
29880
|
+
"refused",
|
|
29881
|
+
"failed",
|
|
29882
|
+
"pending-reconnect"
|
|
29883
|
+
]);
|
|
29884
|
+
var UninstallNodeResultSchema = object({
|
|
29885
|
+
nodeId: string(),
|
|
29886
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29887
|
+
error: string().optional(),
|
|
29888
|
+
addonIds: array(string()).readonly(),
|
|
29889
|
+
runnersStopped: array(string()).readonly(),
|
|
29890
|
+
warnings: array(string()).readonly()
|
|
29891
|
+
});
|
|
29892
|
+
var UninstallPackageResultSchema = object({
|
|
29893
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29894
|
+
success: boolean(),
|
|
29895
|
+
packageName: string(),
|
|
29896
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29897
|
+
});
|
|
29898
|
+
/**
|
|
29899
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29900
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29901
|
+
*/
|
|
29902
|
+
var PackageInstallationsSchema = object({
|
|
29903
|
+
installations: array(object({
|
|
29904
|
+
packageName: string(),
|
|
29905
|
+
nodeId: string(),
|
|
29906
|
+
nodeName: string(),
|
|
29907
|
+
isHub: boolean(),
|
|
29908
|
+
isOnline: boolean(),
|
|
29909
|
+
version: string().nullable(),
|
|
29910
|
+
addonIds: array(string()).readonly(),
|
|
29911
|
+
source: _enum(["live", "recorded"]),
|
|
29912
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29913
|
+
onHub: boolean()
|
|
29914
|
+
})).readonly(),
|
|
29915
|
+
unreachable: array(object({
|
|
29916
|
+
nodeId: string(),
|
|
29917
|
+
error: string()
|
|
29918
|
+
})).readonly()
|
|
29919
|
+
});
|
|
29517
29920
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29518
29921
|
"queued",
|
|
29519
29922
|
"updating",
|
|
@@ -29596,10 +29999,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29596
29999
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29597
30000
|
kind: "mutation",
|
|
29598
30001
|
auth: "admin"
|
|
29599
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30002
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30003
|
+
packageName: string().min(1),
|
|
30004
|
+
nodeId: string().optional(),
|
|
30005
|
+
everywhere: boolean().optional()
|
|
30006
|
+
}), UninstallPackageResultSchema, {
|
|
29600
30007
|
kind: "mutation",
|
|
29601
30008
|
auth: "admin"
|
|
29602
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
30009
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29603
30010
|
kind: "mutation",
|
|
29604
30011
|
auth: "admin"
|
|
29605
30012
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -40070,6 +40477,32 @@ var TotpStatusSchema = object({
|
|
|
40070
40477
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
40071
40478
|
confirmedAt: number().nullable()
|
|
40072
40479
|
});
|
|
40480
|
+
/**
|
|
40481
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
40482
|
+
* and scoped tokens.
|
|
40483
|
+
*
|
|
40484
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
40485
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
40486
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
40487
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
40488
|
+
* provider.
|
|
40489
|
+
*/
|
|
40490
|
+
var ExternalIdentitySchema = object({
|
|
40491
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
40492
|
+
provider: string(),
|
|
40493
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
40494
|
+
subject: string(),
|
|
40495
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
40496
|
+
issuer: string(),
|
|
40497
|
+
userId: string(),
|
|
40498
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
40499
|
+
label: string().optional(),
|
|
40500
|
+
linkedAt: number()
|
|
40501
|
+
});
|
|
40502
|
+
var ExternalIdentityKeySchema = object({
|
|
40503
|
+
provider: string().min(1),
|
|
40504
|
+
subject: string().min(1)
|
|
40505
|
+
});
|
|
40073
40506
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
40074
40507
|
kind: "mutation",
|
|
40075
40508
|
auth: "admin",
|
|
@@ -40183,7 +40616,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
40183
40616
|
userId: string(),
|
|
40184
40617
|
username: string(),
|
|
40185
40618
|
scopes: array(TokenScopeSchema)
|
|
40186
|
-
}).nullable(), { access: "view" }), method(
|
|
40619
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
40620
|
+
userId: string(),
|
|
40621
|
+
issuer: string()
|
|
40622
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
40623
|
+
userId: string(),
|
|
40624
|
+
issuer: string().min(1),
|
|
40625
|
+
label: string().optional()
|
|
40626
|
+
}), object({ success: literal(true) }), {
|
|
40627
|
+
kind: "mutation",
|
|
40628
|
+
auth: "admin",
|
|
40629
|
+
access: "create"
|
|
40630
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
40631
|
+
kind: "mutation",
|
|
40632
|
+
auth: "admin",
|
|
40633
|
+
access: "delete"
|
|
40634
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
40187
40635
|
kind: "mutation",
|
|
40188
40636
|
auth: "admin",
|
|
40189
40637
|
access: "delete"
|
|
@@ -40885,6 +41333,16 @@ var zoneRulesCapability = {
|
|
|
40885
41333
|
durability: "restored"
|
|
40886
41334
|
};
|
|
40887
41335
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
41336
|
+
Object.freeze({
|
|
41337
|
+
person: .5,
|
|
41338
|
+
vehicle: .5,
|
|
41339
|
+
animal: .5
|
|
41340
|
+
});
|
|
41341
|
+
Object.freeze({
|
|
41342
|
+
person: .65,
|
|
41343
|
+
vehicle: .65,
|
|
41344
|
+
animal: .65
|
|
41345
|
+
});
|
|
40888
41346
|
/**
|
|
40889
41347
|
* Accessory device helpers — shared across drivers.
|
|
40890
41348
|
*
|
|
@@ -42598,6 +43056,12 @@ Object.freeze({
|
|
|
42598
43056
|
addonId: null,
|
|
42599
43057
|
access: "view"
|
|
42600
43058
|
},
|
|
43059
|
+
"addons.listInstallations": {
|
|
43060
|
+
capName: "addons",
|
|
43061
|
+
capScope: "system",
|
|
43062
|
+
addonId: null,
|
|
43063
|
+
access: "view"
|
|
43064
|
+
},
|
|
42601
43065
|
"addons.listJobs": {
|
|
42602
43066
|
capName: "addons",
|
|
42603
43067
|
capScope: "system",
|
|
@@ -43780,90 +44244,18 @@ Object.freeze({
|
|
|
43780
44244
|
addonId: null,
|
|
43781
44245
|
access: "create"
|
|
43782
44246
|
},
|
|
43783
|
-
"decoder.createSession": {
|
|
43784
|
-
capName: "decoder",
|
|
43785
|
-
capScope: "system",
|
|
43786
|
-
addonId: null,
|
|
43787
|
-
access: "view"
|
|
43788
|
-
},
|
|
43789
|
-
"decoder.destroySession": {
|
|
43790
|
-
capName: "decoder",
|
|
43791
|
-
capScope: "system",
|
|
43792
|
-
addonId: null,
|
|
43793
|
-
access: "delete"
|
|
43794
|
-
},
|
|
43795
|
-
"decoder.getFrame": {
|
|
43796
|
-
capName: "decoder",
|
|
43797
|
-
capScope: "system",
|
|
43798
|
-
addonId: null,
|
|
43799
|
-
access: "view"
|
|
43800
|
-
},
|
|
43801
44247
|
"decoder.getInfo": {
|
|
43802
44248
|
capName: "decoder",
|
|
43803
44249
|
capScope: "system",
|
|
43804
44250
|
addonId: null,
|
|
43805
44251
|
access: "view"
|
|
43806
44252
|
},
|
|
43807
|
-
"decoder.getShmStats": {
|
|
43808
|
-
capName: "decoder",
|
|
43809
|
-
capScope: "system",
|
|
43810
|
-
addonId: null,
|
|
43811
|
-
access: "view"
|
|
43812
|
-
},
|
|
43813
|
-
"decoder.getStats": {
|
|
43814
|
-
capName: "decoder",
|
|
43815
|
-
capScope: "system",
|
|
43816
|
-
addonId: null,
|
|
43817
|
-
access: "view"
|
|
43818
|
-
},
|
|
43819
|
-
"decoder.listActiveSessions": {
|
|
43820
|
-
capName: "decoder",
|
|
43821
|
-
capScope: "system",
|
|
43822
|
-
addonId: null,
|
|
43823
|
-
access: "view"
|
|
43824
|
-
},
|
|
43825
|
-
"decoder.openStream": {
|
|
43826
|
-
capName: "decoder",
|
|
43827
|
-
capScope: "system",
|
|
43828
|
-
addonId: null,
|
|
43829
|
-
access: "view"
|
|
43830
|
-
},
|
|
43831
|
-
"decoder.pullFrames": {
|
|
43832
|
-
capName: "decoder",
|
|
43833
|
-
capScope: "system",
|
|
43834
|
-
addonId: null,
|
|
43835
|
-
access: "view"
|
|
43836
|
-
},
|
|
43837
|
-
"decoder.pullHandles": {
|
|
43838
|
-
capName: "decoder",
|
|
43839
|
-
capScope: "system",
|
|
43840
|
-
addonId: null,
|
|
43841
|
-
access: "view"
|
|
43842
|
-
},
|
|
43843
|
-
"decoder.pushPacket": {
|
|
43844
|
-
capName: "decoder",
|
|
43845
|
-
capScope: "system",
|
|
43846
|
-
addonId: null,
|
|
43847
|
-
access: "view"
|
|
43848
|
-
},
|
|
43849
44253
|
"decoder.reprobeHwaccel": {
|
|
43850
44254
|
capName: "decoder",
|
|
43851
44255
|
capScope: "system",
|
|
43852
44256
|
addonId: null,
|
|
43853
44257
|
access: "create"
|
|
43854
44258
|
},
|
|
43855
|
-
"decoder.supportsCodec": {
|
|
43856
|
-
capName: "decoder",
|
|
43857
|
-
capScope: "system",
|
|
43858
|
-
addonId: null,
|
|
43859
|
-
access: "view"
|
|
43860
|
-
},
|
|
43861
|
-
"decoder.updateConfig": {
|
|
43862
|
-
capName: "decoder",
|
|
43863
|
-
capScope: "system",
|
|
43864
|
-
addonId: null,
|
|
43865
|
-
access: "view"
|
|
43866
|
-
},
|
|
43867
44259
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43868
44260
|
capName: "detection-pipeline",
|
|
43869
44261
|
capScope: "device",
|
|
@@ -46894,6 +47286,12 @@ Object.freeze({
|
|
|
46894
47286
|
addonId: null,
|
|
46895
47287
|
access: "create"
|
|
46896
47288
|
},
|
|
47289
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
47290
|
+
capName: "pipeline-analytics",
|
|
47291
|
+
capScope: "device",
|
|
47292
|
+
addonId: null,
|
|
47293
|
+
access: "create"
|
|
47294
|
+
},
|
|
46897
47295
|
"pipelineAnalytics.setTrackFlags": {
|
|
46898
47296
|
capName: "pipeline-analytics",
|
|
46899
47297
|
capScope: "device",
|
|
@@ -46930,6 +47328,12 @@ Object.freeze({
|
|
|
46930
47328
|
addonId: null,
|
|
46931
47329
|
access: "delete"
|
|
46932
47330
|
},
|
|
47331
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
47332
|
+
capName: "pipeline-analytics",
|
|
47333
|
+
capScope: "device",
|
|
47334
|
+
addonId: null,
|
|
47335
|
+
access: "create"
|
|
47336
|
+
},
|
|
46933
47337
|
"pipelineExecutor.cacheFrameInPool": {
|
|
46934
47338
|
capName: "pipeline-executor",
|
|
46935
47339
|
capScope: "system",
|
|
@@ -46942,13 +47346,13 @@ Object.freeze({
|
|
|
46942
47346
|
addonId: null,
|
|
46943
47347
|
access: "delete"
|
|
46944
47348
|
},
|
|
46945
|
-
"pipelineExecutor.
|
|
47349
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46946
47350
|
capName: "pipeline-executor",
|
|
46947
47351
|
capScope: "system",
|
|
46948
47352
|
addonId: null,
|
|
46949
47353
|
access: "delete"
|
|
46950
47354
|
},
|
|
46951
|
-
"pipelineExecutor.
|
|
47355
|
+
"pipelineExecutor.deleteModel": {
|
|
46952
47356
|
capName: "pipeline-executor",
|
|
46953
47357
|
capScope: "system",
|
|
46954
47358
|
addonId: null,
|
|
@@ -47092,12 +47496,6 @@ Object.freeze({
|
|
|
47092
47496
|
addonId: null,
|
|
47093
47497
|
access: "view"
|
|
47094
47498
|
},
|
|
47095
|
-
"pipelineExecutor.listTemplates": {
|
|
47096
|
-
capName: "pipeline-executor",
|
|
47097
|
-
capScope: "system",
|
|
47098
|
-
addonId: null,
|
|
47099
|
-
access: "view"
|
|
47100
|
-
},
|
|
47101
47499
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
47102
47500
|
capName: "pipeline-executor",
|
|
47103
47501
|
capScope: "system",
|
|
@@ -47122,12 +47520,6 @@ Object.freeze({
|
|
|
47122
47520
|
addonId: null,
|
|
47123
47521
|
access: "create"
|
|
47124
47522
|
},
|
|
47125
|
-
"pipelineExecutor.saveTemplate": {
|
|
47126
|
-
capName: "pipeline-executor",
|
|
47127
|
-
capScope: "system",
|
|
47128
|
-
addonId: null,
|
|
47129
|
-
access: "create"
|
|
47130
|
-
},
|
|
47131
47523
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
47132
47524
|
capName: "pipeline-executor",
|
|
47133
47525
|
capScope: "system",
|
|
@@ -47146,41 +47538,35 @@ Object.freeze({
|
|
|
47146
47538
|
addonId: null,
|
|
47147
47539
|
access: "create"
|
|
47148
47540
|
},
|
|
47149
|
-
"pipelineExecutor.updateTemplate": {
|
|
47150
|
-
capName: "pipeline-executor",
|
|
47151
|
-
capScope: "system",
|
|
47152
|
-
addonId: null,
|
|
47153
|
-
access: "create"
|
|
47154
|
-
},
|
|
47155
47541
|
"pipelineExecutor.validatePipeline": {
|
|
47156
47542
|
capName: "pipeline-executor",
|
|
47157
47543
|
capScope: "system",
|
|
47158
47544
|
addonId: null,
|
|
47159
47545
|
access: "view"
|
|
47160
47546
|
},
|
|
47161
|
-
"pipelineOrchestrator.
|
|
47547
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
47162
47548
|
capName: "pipeline-orchestrator",
|
|
47163
47549
|
capScope: "system",
|
|
47164
47550
|
addonId: null,
|
|
47165
47551
|
access: "create"
|
|
47166
47552
|
},
|
|
47167
|
-
"pipelineOrchestrator.
|
|
47553
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
47168
47554
|
capName: "pipeline-orchestrator",
|
|
47169
47555
|
capScope: "system",
|
|
47170
47556
|
addonId: null,
|
|
47171
47557
|
access: "create"
|
|
47172
47558
|
},
|
|
47173
|
-
"pipelineOrchestrator.
|
|
47559
|
+
"pipelineOrchestrator.assignAudio": {
|
|
47174
47560
|
capName: "pipeline-orchestrator",
|
|
47175
47561
|
capScope: "system",
|
|
47176
47562
|
addonId: null,
|
|
47177
47563
|
access: "create"
|
|
47178
47564
|
},
|
|
47179
|
-
"pipelineOrchestrator.
|
|
47565
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
47180
47566
|
capName: "pipeline-orchestrator",
|
|
47181
47567
|
capScope: "system",
|
|
47182
47568
|
addonId: null,
|
|
47183
|
-
access: "
|
|
47569
|
+
access: "create"
|
|
47184
47570
|
},
|
|
47185
47571
|
"pipelineOrchestrator.getAgentLoad": {
|
|
47186
47572
|
capName: "pipeline-orchestrator",
|
|
@@ -47272,6 +47658,12 @@ Object.freeze({
|
|
|
47272
47658
|
addonId: null,
|
|
47273
47659
|
access: "view"
|
|
47274
47660
|
},
|
|
47661
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47662
|
+
capName: "pipeline-orchestrator",
|
|
47663
|
+
capScope: "system",
|
|
47664
|
+
addonId: null,
|
|
47665
|
+
access: "view"
|
|
47666
|
+
},
|
|
47275
47667
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
47276
47668
|
capName: "pipeline-orchestrator",
|
|
47277
47669
|
capScope: "system",
|
|
@@ -47308,19 +47700,19 @@ Object.freeze({
|
|
|
47308
47700
|
addonId: null,
|
|
47309
47701
|
access: "view"
|
|
47310
47702
|
},
|
|
47311
|
-
"pipelineOrchestrator.
|
|
47703
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
47312
47704
|
capName: "pipeline-orchestrator",
|
|
47313
47705
|
capScope: "system",
|
|
47314
47706
|
addonId: null,
|
|
47315
47707
|
access: "view"
|
|
47316
47708
|
},
|
|
47317
|
-
"pipelineOrchestrator.
|
|
47709
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
47318
47710
|
capName: "pipeline-orchestrator",
|
|
47319
47711
|
capScope: "system",
|
|
47320
47712
|
addonId: null,
|
|
47321
47713
|
access: "view"
|
|
47322
47714
|
},
|
|
47323
|
-
"pipelineOrchestrator.
|
|
47715
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
47324
47716
|
capName: "pipeline-orchestrator",
|
|
47325
47717
|
capScope: "system",
|
|
47326
47718
|
addonId: null,
|
|
@@ -47332,6 +47724,12 @@ Object.freeze({
|
|
|
47332
47724
|
addonId: null,
|
|
47333
47725
|
access: "create"
|
|
47334
47726
|
},
|
|
47727
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47728
|
+
capName: "pipeline-orchestrator",
|
|
47729
|
+
capScope: "system",
|
|
47730
|
+
addonId: null,
|
|
47731
|
+
access: "view"
|
|
47732
|
+
},
|
|
47335
47733
|
"pipelineOrchestrator.rebalance": {
|
|
47336
47734
|
capName: "pipeline-orchestrator",
|
|
47337
47735
|
capScope: "system",
|
|
@@ -47374,12 +47772,6 @@ Object.freeze({
|
|
|
47374
47772
|
addonId: null,
|
|
47375
47773
|
access: "create"
|
|
47376
47774
|
},
|
|
47377
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
47378
|
-
capName: "pipeline-orchestrator",
|
|
47379
|
-
capScope: "system",
|
|
47380
|
-
addonId: null,
|
|
47381
|
-
access: "create"
|
|
47382
|
-
},
|
|
47383
47775
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
47384
47776
|
capName: "pipeline-orchestrator",
|
|
47385
47777
|
capScope: "system",
|
|
@@ -47392,12 +47784,6 @@ Object.freeze({
|
|
|
47392
47784
|
addonId: null,
|
|
47393
47785
|
access: "create"
|
|
47394
47786
|
},
|
|
47395
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
47396
|
-
capName: "pipeline-orchestrator",
|
|
47397
|
-
capScope: "system",
|
|
47398
|
-
addonId: null,
|
|
47399
|
-
access: "create"
|
|
47400
|
-
},
|
|
47401
47787
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
47402
47788
|
capName: "pipeline-orchestrator",
|
|
47403
47789
|
capScope: "system",
|
|
@@ -47434,6 +47820,12 @@ Object.freeze({
|
|
|
47434
47820
|
addonId: null,
|
|
47435
47821
|
access: "create"
|
|
47436
47822
|
},
|
|
47823
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47824
|
+
capName: "pipeline-orchestrator",
|
|
47825
|
+
capScope: "system",
|
|
47826
|
+
addonId: null,
|
|
47827
|
+
access: "create"
|
|
47828
|
+
},
|
|
47437
47829
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
47438
47830
|
capName: "pipeline-orchestrator",
|
|
47439
47831
|
capScope: "system",
|
|
@@ -47452,25 +47844,37 @@ Object.freeze({
|
|
|
47452
47844
|
addonId: null,
|
|
47453
47845
|
access: "create"
|
|
47454
47846
|
},
|
|
47847
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47848
|
+
capName: "pipeline-orchestrator",
|
|
47849
|
+
capScope: "system",
|
|
47850
|
+
addonId: null,
|
|
47851
|
+
access: "create"
|
|
47852
|
+
},
|
|
47455
47853
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
47456
47854
|
capName: "pipeline-orchestrator",
|
|
47457
47855
|
capScope: "system",
|
|
47458
47856
|
addonId: null,
|
|
47459
47857
|
access: "create"
|
|
47460
47858
|
},
|
|
47461
|
-
"pipelineOrchestrator.
|
|
47859
|
+
"pipelineOrchestrator.setShareSource": {
|
|
47462
47860
|
capName: "pipeline-orchestrator",
|
|
47463
47861
|
capScope: "system",
|
|
47464
47862
|
addonId: null,
|
|
47465
47863
|
access: "create"
|
|
47466
47864
|
},
|
|
47467
|
-
"pipelineOrchestrator.
|
|
47865
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47866
|
+
capName: "pipeline-orchestrator",
|
|
47867
|
+
capScope: "system",
|
|
47868
|
+
addonId: null,
|
|
47869
|
+
access: "view"
|
|
47870
|
+
},
|
|
47871
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
47468
47872
|
capName: "pipeline-orchestrator",
|
|
47469
47873
|
capScope: "system",
|
|
47470
47874
|
addonId: null,
|
|
47471
47875
|
access: "create"
|
|
47472
47876
|
},
|
|
47473
|
-
"pipelineOrchestrator.
|
|
47877
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
47474
47878
|
capName: "pipeline-orchestrator",
|
|
47475
47879
|
capScope: "system",
|
|
47476
47880
|
addonId: null,
|
|
@@ -48910,12 +49314,6 @@ Object.freeze({
|
|
|
48910
49314
|
addonId: null,
|
|
48911
49315
|
access: "view"
|
|
48912
49316
|
},
|
|
48913
|
-
"streamBroker.pullFrameHandles": {
|
|
48914
|
-
capName: "stream-broker",
|
|
48915
|
-
capScope: "system",
|
|
48916
|
-
addonId: null,
|
|
48917
|
-
access: "view"
|
|
48918
|
-
},
|
|
48919
49317
|
"streamBroker.regenerateRtspToken": {
|
|
48920
49318
|
capName: "stream-broker",
|
|
48921
49319
|
capScope: "system",
|
|
@@ -48982,12 +49380,6 @@ Object.freeze({
|
|
|
48982
49380
|
addonId: null,
|
|
48983
49381
|
access: "create"
|
|
48984
49382
|
},
|
|
48985
|
-
"streamBroker.subscribeFrames": {
|
|
48986
|
-
capName: "stream-broker",
|
|
48987
|
-
capScope: "system",
|
|
48988
|
-
addonId: null,
|
|
48989
|
-
access: "create"
|
|
48990
|
-
},
|
|
48991
49383
|
"streamBroker.unassignProfile": {
|
|
48992
49384
|
capName: "stream-broker",
|
|
48993
49385
|
capScope: "system",
|
|
@@ -49000,12 +49392,6 @@ Object.freeze({
|
|
|
49000
49392
|
addonId: null,
|
|
49001
49393
|
access: "create"
|
|
49002
49394
|
},
|
|
49003
|
-
"streamBroker.unsubscribeFrames": {
|
|
49004
|
-
capName: "stream-broker",
|
|
49005
|
-
capScope: "system",
|
|
49006
|
-
addonId: null,
|
|
49007
|
-
access: "create"
|
|
49008
|
-
},
|
|
49009
49395
|
"streamCatalog.getCatalog": {
|
|
49010
49396
|
capName: "stream-catalog",
|
|
49011
49397
|
capScope: "device",
|
|
@@ -49300,18 +49686,36 @@ Object.freeze({
|
|
|
49300
49686
|
addonId: null,
|
|
49301
49687
|
access: "delete"
|
|
49302
49688
|
},
|
|
49689
|
+
"userManagement.findUserByExternalIdentity": {
|
|
49690
|
+
capName: "user-management",
|
|
49691
|
+
capScope: "system",
|
|
49692
|
+
addonId: null,
|
|
49693
|
+
access: "view"
|
|
49694
|
+
},
|
|
49303
49695
|
"userManagement.getTotpStatus": {
|
|
49304
49696
|
capName: "user-management",
|
|
49305
49697
|
capScope: "system",
|
|
49306
49698
|
addonId: null,
|
|
49307
49699
|
access: "view"
|
|
49308
49700
|
},
|
|
49701
|
+
"userManagement.linkExternalIdentity": {
|
|
49702
|
+
capName: "user-management",
|
|
49703
|
+
capScope: "system",
|
|
49704
|
+
addonId: null,
|
|
49705
|
+
access: "create"
|
|
49706
|
+
},
|
|
49309
49707
|
"userManagement.listApiKeys": {
|
|
49310
49708
|
capName: "user-management",
|
|
49311
49709
|
capScope: "system",
|
|
49312
49710
|
addonId: null,
|
|
49313
49711
|
access: "view"
|
|
49314
49712
|
},
|
|
49713
|
+
"userManagement.listExternalIdentities": {
|
|
49714
|
+
capName: "user-management",
|
|
49715
|
+
capScope: "system",
|
|
49716
|
+
addonId: null,
|
|
49717
|
+
access: "view"
|
|
49718
|
+
},
|
|
49315
49719
|
"userManagement.listOauthSessions": {
|
|
49316
49720
|
capName: "user-management",
|
|
49317
49721
|
capScope: "system",
|
|
@@ -49390,6 +49794,12 @@ Object.freeze({
|
|
|
49390
49794
|
addonId: null,
|
|
49391
49795
|
access: "create"
|
|
49392
49796
|
},
|
|
49797
|
+
"userManagement.unlinkExternalIdentity": {
|
|
49798
|
+
capName: "user-management",
|
|
49799
|
+
capScope: "system",
|
|
49800
|
+
addonId: null,
|
|
49801
|
+
access: "delete"
|
|
49802
|
+
},
|
|
49393
49803
|
"userManagement.updateUser": {
|
|
49394
49804
|
capName: "user-management",
|
|
49395
49805
|
capScope: "system",
|
|
@@ -51737,11 +52147,6 @@ Object.freeze({
|
|
|
51737
52147
|
form: "single",
|
|
51738
52148
|
optional: false
|
|
51739
52149
|
}],
|
|
51740
|
-
"decoder.createSession": [{
|
|
51741
|
-
name: "deviceId",
|
|
51742
|
-
form: "single",
|
|
51743
|
-
optional: true
|
|
51744
|
-
}],
|
|
51745
52150
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
51746
52151
|
name: "deviceId",
|
|
51747
52152
|
form: "single",
|
|
@@ -52952,6 +53357,11 @@ Object.freeze({
|
|
|
52952
53357
|
form: "single",
|
|
52953
53358
|
optional: false
|
|
52954
53359
|
}],
|
|
53360
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
53361
|
+
name: "deviceId",
|
|
53362
|
+
form: "single",
|
|
53363
|
+
optional: false
|
|
53364
|
+
}],
|
|
52955
53365
|
"pipelineAnalytics.setTrackFlags": [{
|
|
52956
53366
|
name: "deviceId",
|
|
52957
53367
|
form: "single",
|
|
@@ -52972,6 +53382,11 @@ Object.freeze({
|
|
|
52972
53382
|
form: "single",
|
|
52973
53383
|
optional: false
|
|
52974
53384
|
}],
|
|
53385
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
53386
|
+
name: "deviceIds",
|
|
53387
|
+
form: "array",
|
|
53388
|
+
optional: true
|
|
53389
|
+
}],
|
|
52975
53390
|
"pipelineExecutor.runPipeline": [{
|
|
52976
53391
|
name: "deviceId",
|
|
52977
53392
|
form: "single",
|
|
@@ -53077,6 +53492,11 @@ Object.freeze({
|
|
|
53077
53492
|
form: "single",
|
|
53078
53493
|
optional: false
|
|
53079
53494
|
}],
|
|
53495
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
53496
|
+
name: "deviceId",
|
|
53497
|
+
form: "single",
|
|
53498
|
+
optional: false
|
|
53499
|
+
}],
|
|
53080
53500
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
53081
53501
|
name: "deviceId",
|
|
53082
53502
|
form: "single",
|
|
@@ -58527,7 +58947,7 @@ var hikvisionCameraSchema = object({
|
|
|
58527
58947
|
*/
|
|
58528
58948
|
https: boolean().default(false),
|
|
58529
58949
|
username: string().default("admin").describe("ISAPI user"),
|
|
58530
|
-
password: string().describe("ISAPI password"),
|
|
58950
|
+
password: string().describe("ISAPI password").meta({ secret: true }),
|
|
58531
58951
|
/**
|
|
58532
58952
|
* RTSP transport hint forwarded to the broker as `transportmode`.
|
|
58533
58953
|
* Most installations use `unicast`; multicast needs explicit
|