@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.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { networkInterfaces } from "node:os";
|
|
|
12
12
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
13
13
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region ../types/dist/event-category-
|
|
15
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
16
16
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
17
17
|
EventCategory["SystemBoot"] = "system.boot";
|
|
18
18
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -513,15 +513,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
513
513
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
514
514
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
515
515
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
516
|
-
/**
|
|
517
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
518
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
519
|
-
* `createSession`, so running sessions keep their current backend until
|
|
520
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
521
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
522
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
523
|
-
*/
|
|
524
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
525
516
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
526
517
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
527
518
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5392,7 +5383,7 @@ var ZodIssueCode = {
|
|
|
5392
5383
|
var ZodFirstPartyTypeKind;
|
|
5393
5384
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5394
5385
|
//#endregion
|
|
5395
|
-
//#region ../types/dist/sleep-
|
|
5386
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5396
5387
|
/**
|
|
5397
5388
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5398
5389
|
* window to float samples (D455).
|
|
@@ -6758,32 +6749,12 @@ object({
|
|
|
6758
6749
|
audioCodec: string().optional(),
|
|
6759
6750
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6760
6751
|
});
|
|
6761
|
-
var EncodedPacketSchema = object({
|
|
6762
|
-
type: _enum(["video", "audio"]),
|
|
6763
|
-
data: _instanceof(Uint8Array),
|
|
6764
|
-
pts: number(),
|
|
6765
|
-
dts: number(),
|
|
6766
|
-
keyframe: boolean(),
|
|
6767
|
-
codec: string()
|
|
6768
|
-
});
|
|
6769
|
-
var DecodedFrameSchema = object({
|
|
6770
|
-
data: _instanceof(Uint8Array),
|
|
6771
|
-
width: number(),
|
|
6772
|
-
height: number(),
|
|
6773
|
-
format: _enum([
|
|
6774
|
-
"jpeg",
|
|
6775
|
-
"rgb",
|
|
6776
|
-
"bgr",
|
|
6777
|
-
"yuv420",
|
|
6778
|
-
"gray"
|
|
6779
|
-
]),
|
|
6780
|
-
timestamp: number()
|
|
6781
|
-
});
|
|
6782
6752
|
/**
|
|
6783
6753
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6784
6754
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6785
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6786
|
-
*
|
|
6755
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6756
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6757
|
+
* over tRPC / Moleculer.
|
|
6787
6758
|
*
|
|
6788
6759
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6789
6760
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6809,50 +6780,6 @@ var FrameHandleSchema = object({
|
|
|
6809
6780
|
slotCount: number().int().positive()
|
|
6810
6781
|
});
|
|
6811
6782
|
/**
|
|
6812
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6813
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6814
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6815
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6816
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6817
|
-
*/
|
|
6818
|
-
var FrameHandleFormatSchema = _enum([
|
|
6819
|
-
"rgb",
|
|
6820
|
-
"bgr",
|
|
6821
|
-
"yuv420",
|
|
6822
|
-
"gray"
|
|
6823
|
-
]);
|
|
6824
|
-
/**
|
|
6825
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6826
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6827
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6828
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6829
|
-
* they asked for with no broker-side conversion.
|
|
6830
|
-
*/
|
|
6831
|
-
var SubscribeFramesInputSchema = object({
|
|
6832
|
-
brokerId: string(),
|
|
6833
|
-
format: FrameHandleFormatSchema,
|
|
6834
|
-
/**
|
|
6835
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6836
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6837
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6838
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6839
|
-
*/
|
|
6840
|
-
maxFps: number().positive().optional(),
|
|
6841
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6842
|
-
tag: string().optional()
|
|
6843
|
-
});
|
|
6844
|
-
/**
|
|
6845
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6846
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6847
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6848
|
-
*/
|
|
6849
|
-
var SubscribeFramesResultSchema = object({
|
|
6850
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6851
|
-
subscriptionId: string(),
|
|
6852
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6853
|
-
maxFps: number().nonnegative()
|
|
6854
|
-
});
|
|
6855
|
-
/**
|
|
6856
6783
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6857
6784
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6858
6785
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6860,8 +6787,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6860
6787
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6861
6788
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6862
6789
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6863
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6864
|
-
*
|
|
6790
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6791
|
+
* it.
|
|
6865
6792
|
*/
|
|
6866
6793
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6867
6794
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6879,11 +6806,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6879
6806
|
format: AudioChunkFormatSchema.optional()
|
|
6880
6807
|
});
|
|
6881
6808
|
/**
|
|
6882
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6883
|
-
*
|
|
6884
|
-
*
|
|
6885
|
-
*
|
|
6886
|
-
* `pullAudioChunks`.
|
|
6809
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6810
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6811
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6812
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6887
6813
|
*/
|
|
6888
6814
|
var SubscribeAudioChunksInputSchema = object({
|
|
6889
6815
|
brokerId: string(),
|
|
@@ -6914,9 +6840,7 @@ var BrokerStatsSchema = object({
|
|
|
6914
6840
|
"stopped"
|
|
6915
6841
|
]),
|
|
6916
6842
|
inputFps: number(),
|
|
6917
|
-
decodeFps: number(),
|
|
6918
6843
|
encodedSubscribers: number(),
|
|
6919
|
-
decodedSubscribers: number(),
|
|
6920
6844
|
uptimeMs: number(),
|
|
6921
6845
|
bitrateKbps: number(),
|
|
6922
6846
|
idrIntervalMs: number(),
|
|
@@ -6929,14 +6853,6 @@ var BrokerStatsSchema = object({
|
|
|
6929
6853
|
preBufferMs: number(),
|
|
6930
6854
|
preBufferPackets: number(),
|
|
6931
6855
|
/**
|
|
6932
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6933
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6934
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6935
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6936
|
-
* a separate cap call per broker.
|
|
6937
|
-
*/
|
|
6938
|
-
decoderNodeId: string().nullable(),
|
|
6939
|
-
/**
|
|
6940
6856
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6941
6857
|
* when the stream has no audio track or the broker is in cold start.
|
|
6942
6858
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10294,70 +10210,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10294
10210
|
"backup"
|
|
10295
10211
|
]).optional()
|
|
10296
10212
|
});
|
|
10297
|
-
var DecoderStatsSchema = object({
|
|
10298
|
-
inputFps: number(),
|
|
10299
|
-
outputFps: number(),
|
|
10300
|
-
avgDecodeTimeMs: number(),
|
|
10301
|
-
droppedFrames: number(),
|
|
10302
|
-
/**
|
|
10303
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10304
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10305
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10306
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10307
|
-
*/
|
|
10308
|
-
lagMs: number().optional(),
|
|
10309
|
-
effectiveFps: number().optional(),
|
|
10310
|
-
adaptiveFps: number().optional()
|
|
10311
|
-
});
|
|
10312
|
-
var DecoderSessionConfigSchema = object({
|
|
10313
|
-
codec: string(),
|
|
10314
|
-
maxFps: number().default(0),
|
|
10315
|
-
outputFormat: _enum([
|
|
10316
|
-
"jpeg",
|
|
10317
|
-
"rgb",
|
|
10318
|
-
"bgr",
|
|
10319
|
-
"yuv420",
|
|
10320
|
-
"gray"
|
|
10321
|
-
]).default("jpeg"),
|
|
10322
|
-
scale: number().default(1),
|
|
10323
|
-
width: number().optional(),
|
|
10324
|
-
height: number().optional(),
|
|
10325
|
-
/**
|
|
10326
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10327
|
-
* because the cap is generic (any caller could request decode), but
|
|
10328
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10329
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10330
|
-
* sendPacket errors on a single hung camera).
|
|
10331
|
-
*/
|
|
10332
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10333
|
-
/**
|
|
10334
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10335
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10336
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10337
|
-
* profile cleanly.
|
|
10338
|
-
*/
|
|
10339
|
-
tag: string().optional(),
|
|
10340
|
-
/**
|
|
10341
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10342
|
-
*
|
|
10343
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10344
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10345
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10346
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10347
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10348
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10349
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10350
|
-
*/
|
|
10351
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10352
|
-
/**
|
|
10353
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10354
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10355
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10356
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10357
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10358
|
-
*/
|
|
10359
|
-
debug: boolean().optional()
|
|
10360
|
-
});
|
|
10361
10213
|
var EU_DST = {
|
|
10362
10214
|
offsetHours: 1,
|
|
10363
10215
|
startMonth: 3,
|
|
@@ -10789,7 +10641,18 @@ var LABEL_SUPPLY_STEP_IDS = [
|
|
|
10789
10641
|
];
|
|
10790
10642
|
/** Steps whose box a root detection can BE. */
|
|
10791
10643
|
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10792
|
-
|
|
10644
|
+
/**
|
|
10645
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10646
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10647
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10648
|
+
* no camera tree carries.)
|
|
10649
|
+
*/
|
|
10650
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10651
|
+
[
|
|
10652
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10653
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10654
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10655
|
+
];
|
|
10793
10656
|
var MODEL_FORMATS = [
|
|
10794
10657
|
"onnx",
|
|
10795
10658
|
"coreml",
|
|
@@ -10818,7 +10681,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10818
10681
|
/** Multi-file payload (directory members or sibling files). */
|
|
10819
10682
|
files: array(string()).readonly().optional(),
|
|
10820
10683
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10821
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10684
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10685
|
+
/**
|
|
10686
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10687
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10688
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10689
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10690
|
+
* node records the revision it downloaded next to the file
|
|
10691
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10692
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10693
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10694
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10695
|
+
*/
|
|
10696
|
+
revision: string().min(1).optional()
|
|
10697
|
+
});
|
|
10698
|
+
/**
|
|
10699
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10700
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10701
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10702
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10703
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10704
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10705
|
+
*/
|
|
10706
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10707
|
+
"current",
|
|
10708
|
+
"stale",
|
|
10709
|
+
"missing"
|
|
10710
|
+
]);
|
|
10711
|
+
/**
|
|
10712
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10713
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10714
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10715
|
+
*/
|
|
10716
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10717
|
+
"fp32",
|
|
10718
|
+
"fp16",
|
|
10719
|
+
"int8"
|
|
10720
|
+
]);
|
|
10721
|
+
/**
|
|
10722
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10723
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10724
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10725
|
+
*/
|
|
10726
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10727
|
+
downloaded: boolean(),
|
|
10728
|
+
sizeMB: number(),
|
|
10729
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10730
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10822
10731
|
});
|
|
10823
10732
|
/**
|
|
10824
10733
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10932,25 +10841,36 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10932
10841
|
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10933
10842
|
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10934
10843
|
* child of the `parentMacro` detection that contains it — never a track.
|
|
10844
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10845
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10846
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10847
|
+
* postprocessor on read, never stored by an import.
|
|
10935
10848
|
*/
|
|
10936
|
-
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10849
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10850
|
+
object({
|
|
10851
|
+
kind: literal("label"),
|
|
10852
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10853
|
+
labelToEffect: record(string(), string()),
|
|
10854
|
+
uncovered: array(string()).readonly()
|
|
10855
|
+
}),
|
|
10856
|
+
object({
|
|
10857
|
+
kind: literal("crop"),
|
|
10858
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10859
|
+
rootLabels: array(string()).readonly(),
|
|
10860
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10861
|
+
childClass: _enum(["plate", "face"]),
|
|
10862
|
+
/**
|
|
10863
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10864
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10865
|
+
* stored by an import.
|
|
10866
|
+
*/
|
|
10867
|
+
rootInputPx: number().int().positive().optional()
|
|
10868
|
+
}),
|
|
10869
|
+
object({
|
|
10870
|
+
kind: literal("mask"),
|
|
10871
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10872
|
+
})
|
|
10873
|
+
]);
|
|
10954
10874
|
var ModelCatalogEntrySchema = object({
|
|
10955
10875
|
id: string(),
|
|
10956
10876
|
name: string(),
|
|
@@ -11016,6 +10936,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11016
10936
|
*/
|
|
11017
10937
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11018
10938
|
/**
|
|
10939
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10940
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10941
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10942
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10943
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10944
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10945
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10946
|
+
*/
|
|
10947
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10948
|
+
/**
|
|
10949
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10950
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10951
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10952
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10953
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10954
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10955
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10956
|
+
*/
|
|
10957
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10958
|
+
/**
|
|
10959
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10960
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10961
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10962
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10963
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10964
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10965
|
+
*/
|
|
10966
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10967
|
+
/**
|
|
11019
10968
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11020
10969
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11021
10970
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -12688,13 +12637,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12688
12637
|
lastRtpAt: number(),
|
|
12689
12638
|
bytesSent: number()
|
|
12690
12639
|
});
|
|
12691
|
-
var BrokerDecodedClientSchema = object({
|
|
12692
|
-
tag: string(),
|
|
12693
|
-
subscribedAt: number(),
|
|
12694
|
-
maxFps: number(),
|
|
12695
|
-
framesDelivered: number(),
|
|
12696
|
-
framesDropped: number()
|
|
12697
|
-
});
|
|
12698
12640
|
var BrokerAudioClientSchema = object({
|
|
12699
12641
|
tag: string(),
|
|
12700
12642
|
subscribedAt: number(),
|
|
@@ -12786,7 +12728,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12786
12728
|
});
|
|
12787
12729
|
var BrokerClientsSchema = object({
|
|
12788
12730
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12789
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12790
12731
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12791
12732
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12792
12733
|
pipeClients: number(),
|
|
@@ -13155,11 +13096,7 @@ method(object({
|
|
|
13155
13096
|
auth: "admin"
|
|
13156
13097
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13157
13098
|
brokerId: string(),
|
|
13158
|
-
channel: _enum([
|
|
13159
|
-
"rtsp",
|
|
13160
|
-
"decoded",
|
|
13161
|
-
"audio"
|
|
13162
|
-
]),
|
|
13099
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13163
13100
|
handle: string()
|
|
13164
13101
|
}), object({ killed: boolean() }), {
|
|
13165
13102
|
kind: "mutation",
|
|
@@ -13194,10 +13131,7 @@ method(object({
|
|
|
13194
13131
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13195
13132
|
subscriptionId: string(),
|
|
13196
13133
|
maxCount: number().int().positive().default(8)
|
|
13197
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13198
|
-
subscriptionId: string(),
|
|
13199
|
-
maxCount: number().int().positive().default(4)
|
|
13200
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13134
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13201
13135
|
brokerId: string(),
|
|
13202
13136
|
seconds: number().min(0).max(30)
|
|
13203
13137
|
}), _void(), {
|
|
@@ -14456,54 +14390,12 @@ id: union([string(), number()]) }), {
|
|
|
14456
14390
|
kind: "mutation",
|
|
14457
14391
|
auth: "admin"
|
|
14458
14392
|
});
|
|
14459
|
-
|
|
14460
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14461
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14462
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14463
|
-
*/
|
|
14464
|
-
var ShmRingStatsSchema = object({
|
|
14465
|
-
sessionId: string(),
|
|
14466
|
-
slotCount: number().int(),
|
|
14467
|
-
slotByteLength: number().int(),
|
|
14468
|
-
segmentBytes: number().int(),
|
|
14469
|
-
budgetMb: number().int(),
|
|
14470
|
-
framesWritten: number().int(),
|
|
14471
|
-
getFrameHits: number().int(),
|
|
14472
|
-
getFrameMisses: number().int()
|
|
14473
|
-
});
|
|
14474
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14393
|
+
method(_void(), object({
|
|
14475
14394
|
id: string(),
|
|
14476
14395
|
name: string(),
|
|
14477
|
-
isPullMode: boolean().optional(),
|
|
14478
|
-
priority: number().optional(),
|
|
14479
14396
|
hwaccel: string().optional(),
|
|
14480
14397
|
probedBestHwaccel: string().optional()
|
|
14481
|
-
})), method(
|
|
14482
|
-
sessionId: string(),
|
|
14483
|
-
nodeId: string()
|
|
14484
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14485
|
-
sessionId: string(),
|
|
14486
|
-
packet: EncodedPacketSchema
|
|
14487
|
-
}), _void()), method(object({
|
|
14488
|
-
sessionId: string(),
|
|
14489
|
-
url: string()
|
|
14490
|
-
}), _void()), method(object({
|
|
14491
|
-
sessionId: string(),
|
|
14492
|
-
maxCount: number().default(1),
|
|
14493
|
-
waitMs: number().optional()
|
|
14494
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14495
|
-
sessionId: string(),
|
|
14496
|
-
maxCount: number().default(1),
|
|
14497
|
-
waitMs: number().optional()
|
|
14498
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14499
|
-
sessionId: string(),
|
|
14500
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14501
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14502
|
-
sessionId: string(),
|
|
14503
|
-
codec: string(),
|
|
14504
|
-
outputFormat: string(),
|
|
14505
|
-
createdAtMs: number()
|
|
14506
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14398
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14507
14399
|
kind: "mutation",
|
|
14508
14400
|
auth: "admin"
|
|
14509
14401
|
});
|
|
@@ -15616,6 +15508,10 @@ var DeviceInfoSchema = object({
|
|
|
15616
15508
|
isCamera: boolean(),
|
|
15617
15509
|
/** Current config values — serializable snapshot */
|
|
15618
15510
|
config: record(string(), unknown()),
|
|
15511
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15512
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15513
|
+
* when the owning runner has not reported them. */
|
|
15514
|
+
secretConfigPaths: array(string()).optional(),
|
|
15619
15515
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15620
15516
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15621
15517
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15821,7 +15717,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15821
15717
|
* call (workers re-register on init), so probe-driven updates
|
|
15822
15718
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15823
15719
|
features: array(string()).optional(),
|
|
15824
|
-
config: record(string(), unknown())
|
|
15720
|
+
config: record(string(), unknown()),
|
|
15721
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15722
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15723
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15724
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15725
|
+
* omits it and the keyword backstop applies. */
|
|
15726
|
+
secretConfigPaths: array(string()).optional()
|
|
15825
15727
|
});
|
|
15826
15728
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15827
15729
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -17499,7 +17401,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17499
17401
|
icon: string().optional(),
|
|
17500
17402
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17501
17403
|
startUrl: string(),
|
|
17502
|
-
stage: LoginStageEnum
|
|
17404
|
+
stage: LoginStageEnum,
|
|
17405
|
+
/**
|
|
17406
|
+
* The provider names an external identity a signed-in user can link to
|
|
17407
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17408
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17409
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17410
|
+
*/
|
|
17411
|
+
linkable: boolean().optional()
|
|
17503
17412
|
}),
|
|
17504
17413
|
object({
|
|
17505
17414
|
kind: literal("widget"),
|
|
@@ -21881,8 +21790,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21881
21790
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21882
21791
|
stepId: "face-embedding",
|
|
21883
21792
|
key: "minLandmarkFaceSize",
|
|
21884
|
-
label: "Min face size
|
|
21885
|
-
description: "
|
|
21793
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21794
|
+
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.",
|
|
21886
21795
|
type: "slider",
|
|
21887
21796
|
min: 0,
|
|
21888
21797
|
max: 64,
|
|
@@ -22934,7 +22843,13 @@ var RetrainFrameSchema = object({
|
|
|
22934
22843
|
sizeBytes: number().int(),
|
|
22935
22844
|
width: number().int(),
|
|
22936
22845
|
height: number().int(),
|
|
22937
|
-
copiedAt: number()
|
|
22846
|
+
copiedAt: number(),
|
|
22847
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22848
|
+
capturedAt: number().optional(),
|
|
22849
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22850
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22851
|
+
* a false positive. */
|
|
22852
|
+
complete: boolean()
|
|
22938
22853
|
});
|
|
22939
22854
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22940
22855
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22955,6 +22870,51 @@ var RetrainFrameListSchema = object({
|
|
|
22955
22870
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22956
22871
|
autoPickMediaId: number().int().optional()
|
|
22957
22872
|
});
|
|
22873
|
+
/**
|
|
22874
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22875
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22876
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22877
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22878
|
+
* export carried (`exportedInBatch`).
|
|
22879
|
+
*/
|
|
22880
|
+
var RetrainExportFilterSchema = object({
|
|
22881
|
+
deviceIds: array(number()).optional(),
|
|
22882
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22883
|
+
batchId: string().optional(),
|
|
22884
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22885
|
+
completeOnly: boolean().optional()
|
|
22886
|
+
});
|
|
22887
|
+
/**
|
|
22888
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22889
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22890
|
+
* convention — the classifier layout.
|
|
22891
|
+
*/
|
|
22892
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22893
|
+
/**
|
|
22894
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22895
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22896
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22897
|
+
* logged.
|
|
22898
|
+
*/
|
|
22899
|
+
var RetrainArchiveTargetSchema = object({
|
|
22900
|
+
kind: literal("http"),
|
|
22901
|
+
method: _enum(["PUT", "POST"]),
|
|
22902
|
+
url: string().url(),
|
|
22903
|
+
headers: record(string(), string()).optional()
|
|
22904
|
+
});
|
|
22905
|
+
var RetrainArchiveResultSchema = object({
|
|
22906
|
+
batchId: string(),
|
|
22907
|
+
frames: number().int(),
|
|
22908
|
+
crops: number().int(),
|
|
22909
|
+
annotations: number().int(),
|
|
22910
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22911
|
+
missing: number().int(),
|
|
22912
|
+
bytes: number().int(),
|
|
22913
|
+
/** sha256 of the exact bytes sent. */
|
|
22914
|
+
sha256: string(),
|
|
22915
|
+
/** The target's HTTP status. */
|
|
22916
|
+
status: number().int()
|
|
22917
|
+
});
|
|
22958
22918
|
/** What the operator asked the assist to look for. */
|
|
22959
22919
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22960
22920
|
kind: literal("package"),
|
|
@@ -23749,9 +23709,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23749
23709
|
}), RetrainTransitionResultSchema, {
|
|
23750
23710
|
kind: "mutation",
|
|
23751
23711
|
auth: "admin"
|
|
23752
|
-
}), method(
|
|
23712
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23753
23713
|
kind: "query",
|
|
23754
23714
|
auth: "admin"
|
|
23715
|
+
}), method(object({
|
|
23716
|
+
deviceId: number(),
|
|
23717
|
+
trackId: string(),
|
|
23718
|
+
frameId: string(),
|
|
23719
|
+
complete: boolean()
|
|
23720
|
+
}), RetrainFrameSchema, {
|
|
23721
|
+
kind: "mutation",
|
|
23722
|
+
auth: "admin"
|
|
23723
|
+
}), method(object({
|
|
23724
|
+
filter: RetrainExportFilterSchema,
|
|
23725
|
+
layout: RetrainExportLayoutSchema,
|
|
23726
|
+
target: RetrainArchiveTargetSchema
|
|
23727
|
+
}), RetrainArchiveResultSchema, {
|
|
23728
|
+
kind: "mutation",
|
|
23729
|
+
auth: "admin",
|
|
23730
|
+
timeoutMs: 60 * 6e4
|
|
23755
23731
|
}), method(object({
|
|
23756
23732
|
/** Which of the three event tables owns the row. */
|
|
23757
23733
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23877,7 +23853,7 @@ var FrameRefSchema = object({
|
|
|
23877
23853
|
timestamp: number(),
|
|
23878
23854
|
capturedAt: number().optional()
|
|
23879
23855
|
});
|
|
23880
|
-
var ModelFormatSchema$
|
|
23856
|
+
var ModelFormatSchema$2 = _enum([
|
|
23881
23857
|
"onnx",
|
|
23882
23858
|
"coreml",
|
|
23883
23859
|
"openvino",
|
|
@@ -23895,7 +23871,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23895
23871
|
var PipelineEngineChoiceSchema = object({
|
|
23896
23872
|
runtime: literal("python"),
|
|
23897
23873
|
backend: string(),
|
|
23898
|
-
format: ModelFormatSchema$
|
|
23874
|
+
format: ModelFormatSchema$2,
|
|
23899
23875
|
device: string().optional()
|
|
23900
23876
|
});
|
|
23901
23877
|
/**
|
|
@@ -23934,28 +23910,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23934
23910
|
group: string().optional(),
|
|
23935
23911
|
settings: record(string(), unknown()).optional()
|
|
23936
23912
|
}));
|
|
23937
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23938
|
-
addonId: string(),
|
|
23939
|
-
enabled: boolean(),
|
|
23940
|
-
modelId: string(),
|
|
23941
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23942
|
-
settings: record(string(), unknown()).optional()
|
|
23943
|
-
}));
|
|
23944
|
-
var PipelineTemplateSchema$1 = object({
|
|
23945
|
-
id: string(),
|
|
23946
|
-
name: string(),
|
|
23947
|
-
createdAt: string(),
|
|
23948
|
-
updatedAt: string(),
|
|
23949
|
-
engine: PipelineEngineChoiceSchema,
|
|
23950
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23951
|
-
});
|
|
23952
23913
|
var PipelineModelOptionSchema = object({
|
|
23953
23914
|
id: string(),
|
|
23954
23915
|
name: string(),
|
|
23955
|
-
formats: record(string(),
|
|
23956
|
-
downloaded: boolean(),
|
|
23957
|
-
sizeMB: number()
|
|
23958
|
-
})),
|
|
23916
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23959
23917
|
group: ModelVariantGroupSchema.optional(),
|
|
23960
23918
|
legacy: boolean().optional(),
|
|
23961
23919
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -24122,6 +24080,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24122
24080
|
}), {
|
|
24123
24081
|
kind: "mutation",
|
|
24124
24082
|
auth: "admin"
|
|
24083
|
+
}), method(object({
|
|
24084
|
+
nodeId: string(),
|
|
24085
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24086
|
+
dryRun: boolean()
|
|
24087
|
+
}), object({
|
|
24088
|
+
entries: array(object({
|
|
24089
|
+
deviceId: number(),
|
|
24090
|
+
keys: array(string()).readonly()
|
|
24091
|
+
})).readonly(),
|
|
24092
|
+
refused: array(object({
|
|
24093
|
+
deviceId: number(),
|
|
24094
|
+
reason: string()
|
|
24095
|
+
})).readonly()
|
|
24096
|
+
}), {
|
|
24097
|
+
kind: "mutation",
|
|
24098
|
+
auth: "admin"
|
|
24125
24099
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24126
24100
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24127
24101
|
deviceKey: string(),
|
|
@@ -24147,22 +24121,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24147
24121
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24148
24122
|
steps: array(PipelineStepInputSchema),
|
|
24149
24123
|
deviceKey: string().optional()
|
|
24150
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24151
|
-
name: string(),
|
|
24152
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24153
|
-
engine: PipelineEngineChoiceSchema
|
|
24154
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24155
|
-
id: string(),
|
|
24156
|
-
name: string().optional(),
|
|
24157
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24158
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24124
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24159
24125
|
addonId: string(),
|
|
24160
24126
|
modelId: string(),
|
|
24161
|
-
format: ModelFormatSchema$
|
|
24127
|
+
format: ModelFormatSchema$2
|
|
24162
24128
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24163
24129
|
addonId: string(),
|
|
24164
24130
|
modelId: string(),
|
|
24165
|
-
format: ModelFormatSchema$
|
|
24131
|
+
format: ModelFormatSchema$2
|
|
24166
24132
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24167
24133
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24168
24134
|
frame: FrameInputSchema.optional(),
|
|
@@ -24319,6 +24285,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24319
24285
|
filename: string().optional(),
|
|
24320
24286
|
settings: record(string(), unknown()).optional()
|
|
24321
24287
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24288
|
+
/**
|
|
24289
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24290
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24291
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24292
|
+
* schemas are what crosses the cap boundary.
|
|
24293
|
+
*/
|
|
24294
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24295
|
+
/** The operator's range for it. */
|
|
24296
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24297
|
+
min: 1,
|
|
24298
|
+
max: 8
|
|
24299
|
+
};
|
|
24300
|
+
var HardwareClassIdSchema = _enum([
|
|
24301
|
+
"intel-core-ultra",
|
|
24302
|
+
"intel-n-series",
|
|
24303
|
+
"apple-m-base",
|
|
24304
|
+
"apple-m-pro",
|
|
24305
|
+
"unknown"
|
|
24306
|
+
]);
|
|
24307
|
+
var AcceleratorKindSchema = _enum([
|
|
24308
|
+
"intel-npu",
|
|
24309
|
+
"intel-igpu",
|
|
24310
|
+
"x86-cpu",
|
|
24311
|
+
"arm-cpu",
|
|
24312
|
+
"apple-ane",
|
|
24313
|
+
"coral"
|
|
24314
|
+
]);
|
|
24315
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24316
|
+
object({
|
|
24317
|
+
kind: literal("capacity"),
|
|
24318
|
+
sessions: number(),
|
|
24319
|
+
minSessions: number()
|
|
24320
|
+
}),
|
|
24321
|
+
object({
|
|
24322
|
+
kind: literal("tie-faster"),
|
|
24323
|
+
over: string(),
|
|
24324
|
+
recallDelta: number()
|
|
24325
|
+
}),
|
|
24326
|
+
object({
|
|
24327
|
+
kind: literal("stepped-down"),
|
|
24328
|
+
from: string(),
|
|
24329
|
+
to: string(),
|
|
24330
|
+
limitedBy: string()
|
|
24331
|
+
}),
|
|
24332
|
+
object({
|
|
24333
|
+
kind: literal("no-fit-lightest"),
|
|
24334
|
+
sessions: number(),
|
|
24335
|
+
minSessions: number()
|
|
24336
|
+
}),
|
|
24337
|
+
object({
|
|
24338
|
+
kind: literal("derived-latency"),
|
|
24339
|
+
modelId: string()
|
|
24340
|
+
}),
|
|
24341
|
+
object({ kind: literal("cpu-device") }),
|
|
24342
|
+
object({ kind: literal("coral-untouched") }),
|
|
24343
|
+
object({ kind: literal("device-disabled") }),
|
|
24344
|
+
object({ kind: literal("device-unavailable") }),
|
|
24345
|
+
object({ kind: literal("node-offline") }),
|
|
24346
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24347
|
+
object({
|
|
24348
|
+
kind: literal("no-measured-data"),
|
|
24349
|
+
hardwareClass: HardwareClassIdSchema
|
|
24350
|
+
}),
|
|
24351
|
+
object({
|
|
24352
|
+
kind: literal("no-family-build"),
|
|
24353
|
+
format: ModelFormatSchema$1
|
|
24354
|
+
})
|
|
24355
|
+
]);
|
|
24356
|
+
var DeviceModelChoiceSchema = object({
|
|
24357
|
+
modelId: string(),
|
|
24358
|
+
p50Ms: number(),
|
|
24359
|
+
fps: number(),
|
|
24360
|
+
measured: boolean(),
|
|
24361
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24362
|
+
capacitySessions: number(),
|
|
24363
|
+
personRecall: number()
|
|
24364
|
+
});
|
|
24365
|
+
var DeviceRecommendationSchema = object({
|
|
24366
|
+
deviceKey: string(),
|
|
24367
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24368
|
+
enabled: boolean(),
|
|
24369
|
+
available: boolean(),
|
|
24370
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24371
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24372
|
+
});
|
|
24373
|
+
var NodeRecommendationSchema = object({
|
|
24374
|
+
nodeId: string(),
|
|
24375
|
+
reachable: boolean(),
|
|
24376
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24377
|
+
cpuModel: string().nullable(),
|
|
24378
|
+
skipped: boolean(),
|
|
24379
|
+
acceleratorModelId: string().nullable(),
|
|
24380
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24381
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24382
|
+
});
|
|
24383
|
+
var ModelPinChangeSchema = object({
|
|
24384
|
+
stepId: string(),
|
|
24385
|
+
before: string().nullable(),
|
|
24386
|
+
after: string().nullable()
|
|
24387
|
+
});
|
|
24388
|
+
var NodeDeviceChangeSchema = object({
|
|
24389
|
+
nodeId: string(),
|
|
24390
|
+
deviceKey: string(),
|
|
24391
|
+
madeExplicit: boolean(),
|
|
24392
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24393
|
+
thresholds: array(object({
|
|
24394
|
+
stepId: string(),
|
|
24395
|
+
keys: array(string()).readonly()
|
|
24396
|
+
})).readonly()
|
|
24397
|
+
});
|
|
24398
|
+
var CameraOverrideClearSchema = object({
|
|
24399
|
+
deviceId: number(),
|
|
24400
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24401
|
+
nodeId: string(),
|
|
24402
|
+
deviceKey: string().nullable(),
|
|
24403
|
+
stepId: string(),
|
|
24404
|
+
modelIdBefore: string().nullable(),
|
|
24405
|
+
keys: array(string()).readonly()
|
|
24406
|
+
});
|
|
24407
|
+
var DetectorStoreClearSchema = object({
|
|
24408
|
+
deviceId: number(),
|
|
24409
|
+
keys: array(string()).readonly()
|
|
24410
|
+
});
|
|
24411
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24412
|
+
object({
|
|
24413
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24414
|
+
skippedNodes: array(string()).readonly()
|
|
24415
|
+
}),
|
|
24416
|
+
object({
|
|
24417
|
+
kind: literal("detector-store-unreadable"),
|
|
24418
|
+
error: string()
|
|
24419
|
+
}),
|
|
24420
|
+
object({
|
|
24421
|
+
kind: literal("coral-enabled"),
|
|
24422
|
+
nodeId: string(),
|
|
24423
|
+
deviceKey: string()
|
|
24424
|
+
})
|
|
24425
|
+
]);
|
|
24426
|
+
var AutoTuneOptionsSchema = object({
|
|
24427
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24428
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24429
|
+
/**
|
|
24430
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24431
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24432
|
+
* that reaches it wins.
|
|
24433
|
+
*/
|
|
24434
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24435
|
+
});
|
|
24436
|
+
var AutoTunePlanSchema = object({
|
|
24437
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24438
|
+
planHash: string(),
|
|
24439
|
+
family: literal("yolov9"),
|
|
24440
|
+
headroom: number(),
|
|
24441
|
+
minSessionsPerDevice: number(),
|
|
24442
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24443
|
+
cameraFps: number(),
|
|
24444
|
+
generatedAt: number(),
|
|
24445
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24446
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24447
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24448
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24449
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24450
|
+
});
|
|
24451
|
+
var AutoTuneApplyInputSchema = object({
|
|
24452
|
+
planHash: string(),
|
|
24453
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24454
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24455
|
+
});
|
|
24456
|
+
var AutoTunePhaseResultSchema = object({
|
|
24457
|
+
phase: _enum([
|
|
24458
|
+
"download",
|
|
24459
|
+
"camera-overrides",
|
|
24460
|
+
"detector-thresholds",
|
|
24461
|
+
"node-models",
|
|
24462
|
+
"redispatch"
|
|
24463
|
+
]),
|
|
24464
|
+
ok: boolean(),
|
|
24465
|
+
detail: string()
|
|
24466
|
+
});
|
|
24467
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24468
|
+
object({
|
|
24469
|
+
kind: literal("applied"),
|
|
24470
|
+
planHash: string(),
|
|
24471
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24472
|
+
}),
|
|
24473
|
+
object({
|
|
24474
|
+
kind: literal("aborted"),
|
|
24475
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24476
|
+
}),
|
|
24477
|
+
object({
|
|
24478
|
+
kind: literal("stale"),
|
|
24479
|
+
plan: AutoTunePlanSchema
|
|
24480
|
+
}),
|
|
24481
|
+
object({
|
|
24482
|
+
kind: literal("refused"),
|
|
24483
|
+
reason: _enum(["apply-in-progress"])
|
|
24484
|
+
})
|
|
24485
|
+
]);
|
|
24486
|
+
/**
|
|
24487
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24488
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24489
|
+
* hardware share suggestion and the stale device pins.
|
|
24490
|
+
*/
|
|
24491
|
+
/**
|
|
24492
|
+
* How a new detection session picks its node and device.
|
|
24493
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24494
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24495
|
+
* weight only bites once a node already holds a session.
|
|
24496
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24497
|
+
* full or drowning node yields to a free one (D748).
|
|
24498
|
+
*/
|
|
24499
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24500
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24501
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24502
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24503
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24504
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24505
|
+
});
|
|
24506
|
+
var PlacementStatsInputSchema = object({
|
|
24507
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24508
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24509
|
+
var PlacementDeviceStatsSchema = object({
|
|
24510
|
+
deviceKey: string(),
|
|
24511
|
+
/** Sessions running on this device now. */
|
|
24512
|
+
sessionsNow: number(),
|
|
24513
|
+
/** Sessions started on this device inside the window. */
|
|
24514
|
+
sessionsStarted: number(),
|
|
24515
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24516
|
+
observedShare: number().nullable()
|
|
24517
|
+
});
|
|
24518
|
+
var PlacementNodeStatsSchema = object({
|
|
24519
|
+
nodeId: string(),
|
|
24520
|
+
sessionsNow: number(),
|
|
24521
|
+
sessionsStarted: number(),
|
|
24522
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24523
|
+
observedShare: number().nullable(),
|
|
24524
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24525
|
+
peakSessions: number(),
|
|
24526
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24527
|
+
yieldsAway: number(),
|
|
24528
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24529
|
+
});
|
|
24530
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24531
|
+
var StaleDevicePinSchema = object({
|
|
24532
|
+
deviceId: number(),
|
|
24533
|
+
deviceKey: string(),
|
|
24534
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24535
|
+
reason: _enum(["disabled", "absent"])
|
|
24536
|
+
});
|
|
24537
|
+
var PlacementStatsSchema = object({
|
|
24538
|
+
policy: SessionPlacementPolicySchema,
|
|
24539
|
+
windowMs: number(),
|
|
24540
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24541
|
+
observedForMs: number(),
|
|
24542
|
+
sessionsNow: number(),
|
|
24543
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24544
|
+
clusterPeakSessions: number(),
|
|
24545
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24546
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24547
|
+
});
|
|
24548
|
+
/**
|
|
24549
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24550
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24551
|
+
* the measured latency table for the node's hardware class.
|
|
24552
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24553
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24554
|
+
*/
|
|
24555
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24556
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24557
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24558
|
+
var SuggestSharesInputSchema = object({
|
|
24559
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24560
|
+
/** Default `hardware`. */
|
|
24561
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24562
|
+
});
|
|
24563
|
+
var SuggestedDeviceShareSchema = object({
|
|
24564
|
+
deviceKey: string(),
|
|
24565
|
+
/** Share of the node (0–100, rounded). */
|
|
24566
|
+
share: number(),
|
|
24567
|
+
modelId: string().nullable(),
|
|
24568
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24569
|
+
fps: number().nullable(),
|
|
24570
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24571
|
+
measured: boolean(),
|
|
24572
|
+
/**
|
|
24573
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24574
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24575
|
+
*/
|
|
24576
|
+
suggestedMaxSessions: number().nullable()
|
|
24577
|
+
});
|
|
24578
|
+
var SuggestedNodeShareSchema = object({
|
|
24579
|
+
nodeId: string(),
|
|
24580
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24581
|
+
share: number().nullable(),
|
|
24582
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24583
|
+
capacitySessions: number(),
|
|
24584
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24585
|
+
skippedReason: string().nullable(),
|
|
24586
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24587
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24588
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24589
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24590
|
+
});
|
|
24591
|
+
var SuggestSharesResultSchema = object({
|
|
24592
|
+
headroom: number(),
|
|
24593
|
+
/** The source asked for; each node says what it actually used. */
|
|
24594
|
+
source: CapacitySourceSchema,
|
|
24595
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24596
|
+
cameraFps: number(),
|
|
24597
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24598
|
+
minSessionsPerDevice: number(),
|
|
24599
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24600
|
+
});
|
|
24601
|
+
/**
|
|
24602
|
+
* Where the node and device shares come from (D750, D755).
|
|
24603
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24604
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24605
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24606
|
+
* switched on or off, or changes model. No load input.
|
|
24607
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24608
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24609
|
+
* - `manual` — the operator's stored sliders.
|
|
24610
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24611
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24612
|
+
*/
|
|
24613
|
+
var ShareSourceSchema = _enum([
|
|
24614
|
+
"hardware",
|
|
24615
|
+
"benchmark",
|
|
24616
|
+
"manual"
|
|
24617
|
+
]);
|
|
24618
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24619
|
+
object({
|
|
24620
|
+
nodes: record(string(), number()),
|
|
24621
|
+
devices: record(string(), record(string(), number()))
|
|
24622
|
+
});
|
|
24623
|
+
var EffectiveDeviceShareSchema = object({
|
|
24624
|
+
deviceKey: string(),
|
|
24625
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24626
|
+
eligible: boolean(),
|
|
24627
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24628
|
+
configuredPct: number(),
|
|
24629
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24630
|
+
effectivePct: number()
|
|
24631
|
+
});
|
|
24632
|
+
var EffectiveNodeShareSchema = object({
|
|
24633
|
+
nodeId: string(),
|
|
24634
|
+
eligible: boolean(),
|
|
24635
|
+
configuredPct: number(),
|
|
24636
|
+
effectivePct: number(),
|
|
24637
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24638
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24639
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24640
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24641
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24642
|
+
});
|
|
24643
|
+
var EffectiveSharesSchema = object({
|
|
24644
|
+
source: ShareSourceSchema,
|
|
24645
|
+
policy: SessionPlacementPolicySchema,
|
|
24646
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24647
|
+
autoPending: boolean(),
|
|
24648
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24649
|
+
computedAt: number().nullable(),
|
|
24650
|
+
/** What made the system recompute them last. */
|
|
24651
|
+
trigger: string().nullable(),
|
|
24652
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24653
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24654
|
+
nodeWeights: record(string(), number()),
|
|
24655
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24656
|
+
});
|
|
24322
24657
|
object({
|
|
24323
24658
|
activeCameras: number(),
|
|
24324
24659
|
throttledCameras: number(),
|
|
@@ -25236,14 +25571,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25236
25571
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25237
25572
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25238
25573
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25239
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25240
|
-
* per
|
|
25574
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25575
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25576
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25577
|
+
* (D762).
|
|
25241
25578
|
*/
|
|
25242
25579
|
devices: array(object({
|
|
25243
25580
|
deviceKey: string(),
|
|
25244
25581
|
backend: string(),
|
|
25245
|
-
attachedCameras: number()
|
|
25246
|
-
queueDepthTotal: number()
|
|
25582
|
+
attachedCameras: number()
|
|
25247
25583
|
})).default([]),
|
|
25248
25584
|
/** Hardware capability flags reported by this node. */
|
|
25249
25585
|
hardware: object({
|
|
@@ -25457,14 +25793,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25457
25793
|
settings: record(string(), unknown()).readonly().optional()
|
|
25458
25794
|
}).nullable().optional()
|
|
25459
25795
|
});
|
|
25460
|
-
var PipelineTemplateSchema = object({
|
|
25461
|
-
id: string(),
|
|
25462
|
-
name: string(),
|
|
25463
|
-
description: string().optional(),
|
|
25464
|
-
config: CameraPipelineConfigSchema,
|
|
25465
|
-
createdAt: string(),
|
|
25466
|
-
updatedAt: string()
|
|
25467
|
-
});
|
|
25468
25796
|
var DeviceStepConfigSchema = object({
|
|
25469
25797
|
modelId: string().optional(),
|
|
25470
25798
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25538,9 +25866,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25538
25866
|
modelId: string().optional(),
|
|
25539
25867
|
settings: record(string(), unknown()).readonly().optional()
|
|
25540
25868
|
});
|
|
25869
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25541
25870
|
var CameraPipelineSettingsSchema = object({
|
|
25542
|
-
pinnedAgentNodeId: string().optional(),
|
|
25543
25871
|
stepToggles: record(string(), boolean()).optional(),
|
|
25872
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25544
25873
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25545
25874
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25546
25875
|
});
|
|
@@ -25573,7 +25902,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25573
25902
|
});
|
|
25574
25903
|
/**
|
|
25575
25904
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25576
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25905
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25906
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25907
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25908
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25577
25909
|
*/
|
|
25578
25910
|
var AgentLoadSummarySchema = object({
|
|
25579
25911
|
nodeId: string(),
|
|
@@ -25662,26 +25994,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25662
25994
|
width: number(),
|
|
25663
25995
|
height: number(),
|
|
25664
25996
|
subscribers: number(),
|
|
25665
|
-
|
|
25666
|
-
|
|
25997
|
+
/**
|
|
25998
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25999
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26000
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26001
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26002
|
+
* camera and is not served (D758).
|
|
26003
|
+
*/
|
|
26004
|
+
inFps: number().nullable()
|
|
25667
26005
|
})).readonly(),
|
|
25668
26006
|
webrtcSessions: number(),
|
|
25669
26007
|
rtspRestream: boolean()
|
|
25670
26008
|
});
|
|
25671
|
-
/**
|
|
25672
|
-
|
|
25673
|
-
|
|
25674
|
-
|
|
25675
|
-
|
|
25676
|
-
|
|
25677
|
-
|
|
25678
|
-
|
|
25679
|
-
var CameraDecoderStatusSchema = object({
|
|
25680
|
-
nodeId: string(),
|
|
25681
|
-
formats: array(string()).readonly(),
|
|
25682
|
-
sessionCount: number(),
|
|
25683
|
-
shm: CameraDecoderShmSchema
|
|
25684
|
-
});
|
|
26009
|
+
/**
|
|
26010
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26011
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26012
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26013
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26014
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26015
|
+
* detector), never from a counter nothing feeds.
|
|
26016
|
+
*/
|
|
26017
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25685
26018
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25686
26019
|
var CameraMotionStatusSchema = object({
|
|
25687
26020
|
enabled: boolean(),
|
|
@@ -26038,12 +26371,6 @@ method(object({
|
|
|
26038
26371
|
}), object({ success: literal(true) }), {
|
|
26039
26372
|
kind: "mutation",
|
|
26040
26373
|
auth: "admin"
|
|
26041
|
-
}), method(object({
|
|
26042
|
-
agentNodeId: string(),
|
|
26043
|
-
detectWeight: number().positive().nullable()
|
|
26044
|
-
}), object({ success: literal(true) }), {
|
|
26045
|
-
kind: "mutation",
|
|
26046
|
-
auth: "admin"
|
|
26047
26374
|
}), method(object({
|
|
26048
26375
|
agentNodeId: string(),
|
|
26049
26376
|
detect: boolean().nullable().optional(),
|
|
@@ -26085,6 +26412,15 @@ method(object({
|
|
|
26085
26412
|
}), {
|
|
26086
26413
|
kind: "mutation",
|
|
26087
26414
|
auth: "admin"
|
|
26415
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26416
|
+
kind: "mutation",
|
|
26417
|
+
auth: "admin"
|
|
26418
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26419
|
+
kind: "mutation",
|
|
26420
|
+
auth: "admin"
|
|
26421
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26422
|
+
kind: "mutation",
|
|
26423
|
+
auth: "admin"
|
|
26088
26424
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26089
26425
|
deviceId: number(),
|
|
26090
26426
|
addonId: string(),
|
|
@@ -26101,6 +26437,13 @@ method(object({
|
|
|
26101
26437
|
}), object({ success: literal(true) }), {
|
|
26102
26438
|
kind: "mutation",
|
|
26103
26439
|
auth: "admin"
|
|
26440
|
+
}), method(object({
|
|
26441
|
+
deviceId: number(),
|
|
26442
|
+
addonId: string(),
|
|
26443
|
+
settings: record(string(), unknown()).nullable()
|
|
26444
|
+
}), object({ success: literal(true) }), {
|
|
26445
|
+
kind: "mutation",
|
|
26446
|
+
auth: "admin"
|
|
26104
26447
|
}), method(object({
|
|
26105
26448
|
deviceId: number(),
|
|
26106
26449
|
agentNodeId: string(),
|
|
@@ -26124,25 +26467,7 @@ method(object({
|
|
|
26124
26467
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26125
26468
|
kind: "mutation",
|
|
26126
26469
|
auth: "admin"
|
|
26127
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26128
|
-
name: string(),
|
|
26129
|
-
description: string().optional(),
|
|
26130
|
-
config: CameraPipelineConfigSchema
|
|
26131
|
-
}), PipelineTemplateSchema, {
|
|
26132
|
-
kind: "mutation",
|
|
26133
|
-
auth: "admin"
|
|
26134
|
-
}), method(object({
|
|
26135
|
-
id: string(),
|
|
26136
|
-
name: string().optional(),
|
|
26137
|
-
description: string().optional(),
|
|
26138
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26139
|
-
}), PipelineTemplateSchema, {
|
|
26140
|
-
kind: "mutation",
|
|
26141
|
-
auth: "admin"
|
|
26142
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26143
|
-
kind: "mutation",
|
|
26144
|
-
auth: "admin"
|
|
26145
|
-
});
|
|
26470
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26146
26471
|
/**
|
|
26147
26472
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26148
26473
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26836,7 +27161,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26836
27161
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26837
27162
|
* operator already consented to.
|
|
26838
27163
|
*/
|
|
26839
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
27164
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
27165
|
+
/**
|
|
27166
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
27167
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
27168
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
27169
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
27170
|
+
*/
|
|
27171
|
+
linkIntent: string().optional(),
|
|
27172
|
+
/**
|
|
27173
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
27174
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
27175
|
+
*/
|
|
27176
|
+
issuer: string().optional()
|
|
26840
27177
|
});
|
|
26841
27178
|
method(object({
|
|
26842
27179
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -28913,8 +29250,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28913
29250
|
]).nullable(),
|
|
28914
29251
|
/** Input FPS from the camera (null for adaptive). */
|
|
28915
29252
|
inputFps: number().nullable(),
|
|
28916
|
-
/** Decoded FPS (null for adaptive). */
|
|
28917
|
-
decodeFps: number().nullable(),
|
|
28918
29253
|
/** Bitrate in kbps (null for adaptive). */
|
|
28919
29254
|
bitrateKbps: number().nullable()
|
|
28920
29255
|
});
|
|
@@ -29191,7 +29526,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29191
29526
|
* field their hints were silently stripped by the schema and the
|
|
29192
29527
|
* adaptive ladder started blind on the client's display size.
|
|
29193
29528
|
*/
|
|
29194
|
-
hints: webrtcClientHintsSchema.optional()
|
|
29529
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
29530
|
+
/**
|
|
29531
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
29532
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
29533
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
29534
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
29535
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
29536
|
+
*
|
|
29537
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
29538
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
29539
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
29540
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
29541
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
29542
|
+
* flag must not become a second door to the camera's speaker.
|
|
29543
|
+
*/
|
|
29544
|
+
talkback: boolean().optional()
|
|
29195
29545
|
}), object({
|
|
29196
29546
|
sessionId: string(),
|
|
29197
29547
|
sdpAnswer: string()
|
|
@@ -29493,6 +29843,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29493
29843
|
var RestartAddonResultSchema = unknown();
|
|
29494
29844
|
var InstallPackageResultSchema = unknown();
|
|
29495
29845
|
var ReloadPackagesResultSchema = unknown();
|
|
29846
|
+
/**
|
|
29847
|
+
* What an uninstall did on ONE node.
|
|
29848
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29849
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29850
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29851
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29852
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29853
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29854
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29855
|
+
*/
|
|
29856
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29857
|
+
"uninstalled",
|
|
29858
|
+
"not-installed",
|
|
29859
|
+
"refused",
|
|
29860
|
+
"failed",
|
|
29861
|
+
"pending-reconnect"
|
|
29862
|
+
]);
|
|
29863
|
+
var UninstallNodeResultSchema = object({
|
|
29864
|
+
nodeId: string(),
|
|
29865
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29866
|
+
error: string().optional(),
|
|
29867
|
+
addonIds: array(string()).readonly(),
|
|
29868
|
+
runnersStopped: array(string()).readonly(),
|
|
29869
|
+
warnings: array(string()).readonly()
|
|
29870
|
+
});
|
|
29871
|
+
var UninstallPackageResultSchema = object({
|
|
29872
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29873
|
+
success: boolean(),
|
|
29874
|
+
packageName: string(),
|
|
29875
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29876
|
+
});
|
|
29877
|
+
/**
|
|
29878
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29879
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29880
|
+
*/
|
|
29881
|
+
var PackageInstallationsSchema = object({
|
|
29882
|
+
installations: array(object({
|
|
29883
|
+
packageName: string(),
|
|
29884
|
+
nodeId: string(),
|
|
29885
|
+
nodeName: string(),
|
|
29886
|
+
isHub: boolean(),
|
|
29887
|
+
isOnline: boolean(),
|
|
29888
|
+
version: string().nullable(),
|
|
29889
|
+
addonIds: array(string()).readonly(),
|
|
29890
|
+
source: _enum(["live", "recorded"]),
|
|
29891
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29892
|
+
onHub: boolean()
|
|
29893
|
+
})).readonly(),
|
|
29894
|
+
unreachable: array(object({
|
|
29895
|
+
nodeId: string(),
|
|
29896
|
+
error: string()
|
|
29897
|
+
})).readonly()
|
|
29898
|
+
});
|
|
29496
29899
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29497
29900
|
"queued",
|
|
29498
29901
|
"updating",
|
|
@@ -29575,10 +29978,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29575
29978
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29576
29979
|
kind: "mutation",
|
|
29577
29980
|
auth: "admin"
|
|
29578
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29981
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29982
|
+
packageName: string().min(1),
|
|
29983
|
+
nodeId: string().optional(),
|
|
29984
|
+
everywhere: boolean().optional()
|
|
29985
|
+
}), UninstallPackageResultSchema, {
|
|
29579
29986
|
kind: "mutation",
|
|
29580
29987
|
auth: "admin"
|
|
29581
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29988
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29582
29989
|
kind: "mutation",
|
|
29583
29990
|
auth: "admin"
|
|
29584
29991
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -40049,6 +40456,32 @@ var TotpStatusSchema = object({
|
|
|
40049
40456
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
40050
40457
|
confirmedAt: number().nullable()
|
|
40051
40458
|
});
|
|
40459
|
+
/**
|
|
40460
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
40461
|
+
* and scoped tokens.
|
|
40462
|
+
*
|
|
40463
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
40464
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
40465
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
40466
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
40467
|
+
* provider.
|
|
40468
|
+
*/
|
|
40469
|
+
var ExternalIdentitySchema = object({
|
|
40470
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
40471
|
+
provider: string(),
|
|
40472
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
40473
|
+
subject: string(),
|
|
40474
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
40475
|
+
issuer: string(),
|
|
40476
|
+
userId: string(),
|
|
40477
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
40478
|
+
label: string().optional(),
|
|
40479
|
+
linkedAt: number()
|
|
40480
|
+
});
|
|
40481
|
+
var ExternalIdentityKeySchema = object({
|
|
40482
|
+
provider: string().min(1),
|
|
40483
|
+
subject: string().min(1)
|
|
40484
|
+
});
|
|
40052
40485
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
40053
40486
|
kind: "mutation",
|
|
40054
40487
|
auth: "admin",
|
|
@@ -40162,7 +40595,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
40162
40595
|
userId: string(),
|
|
40163
40596
|
username: string(),
|
|
40164
40597
|
scopes: array(TokenScopeSchema)
|
|
40165
|
-
}).nullable(), { access: "view" }), method(
|
|
40598
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
40599
|
+
userId: string(),
|
|
40600
|
+
issuer: string()
|
|
40601
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
40602
|
+
userId: string(),
|
|
40603
|
+
issuer: string().min(1),
|
|
40604
|
+
label: string().optional()
|
|
40605
|
+
}), object({ success: literal(true) }), {
|
|
40606
|
+
kind: "mutation",
|
|
40607
|
+
auth: "admin",
|
|
40608
|
+
access: "create"
|
|
40609
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
40610
|
+
kind: "mutation",
|
|
40611
|
+
auth: "admin",
|
|
40612
|
+
access: "delete"
|
|
40613
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
40166
40614
|
kind: "mutation",
|
|
40167
40615
|
auth: "admin",
|
|
40168
40616
|
access: "delete"
|
|
@@ -40864,6 +41312,16 @@ var zoneRulesCapability = {
|
|
|
40864
41312
|
durability: "restored"
|
|
40865
41313
|
};
|
|
40866
41314
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
41315
|
+
Object.freeze({
|
|
41316
|
+
person: .5,
|
|
41317
|
+
vehicle: .5,
|
|
41318
|
+
animal: .5
|
|
41319
|
+
});
|
|
41320
|
+
Object.freeze({
|
|
41321
|
+
person: .65,
|
|
41322
|
+
vehicle: .65,
|
|
41323
|
+
animal: .65
|
|
41324
|
+
});
|
|
40867
41325
|
/**
|
|
40868
41326
|
* Accessory device helpers — shared across drivers.
|
|
40869
41327
|
*
|
|
@@ -42577,6 +43035,12 @@ Object.freeze({
|
|
|
42577
43035
|
addonId: null,
|
|
42578
43036
|
access: "view"
|
|
42579
43037
|
},
|
|
43038
|
+
"addons.listInstallations": {
|
|
43039
|
+
capName: "addons",
|
|
43040
|
+
capScope: "system",
|
|
43041
|
+
addonId: null,
|
|
43042
|
+
access: "view"
|
|
43043
|
+
},
|
|
42580
43044
|
"addons.listJobs": {
|
|
42581
43045
|
capName: "addons",
|
|
42582
43046
|
capScope: "system",
|
|
@@ -43759,90 +44223,18 @@ Object.freeze({
|
|
|
43759
44223
|
addonId: null,
|
|
43760
44224
|
access: "create"
|
|
43761
44225
|
},
|
|
43762
|
-
"decoder.createSession": {
|
|
43763
|
-
capName: "decoder",
|
|
43764
|
-
capScope: "system",
|
|
43765
|
-
addonId: null,
|
|
43766
|
-
access: "view"
|
|
43767
|
-
},
|
|
43768
|
-
"decoder.destroySession": {
|
|
43769
|
-
capName: "decoder",
|
|
43770
|
-
capScope: "system",
|
|
43771
|
-
addonId: null,
|
|
43772
|
-
access: "delete"
|
|
43773
|
-
},
|
|
43774
|
-
"decoder.getFrame": {
|
|
43775
|
-
capName: "decoder",
|
|
43776
|
-
capScope: "system",
|
|
43777
|
-
addonId: null,
|
|
43778
|
-
access: "view"
|
|
43779
|
-
},
|
|
43780
44226
|
"decoder.getInfo": {
|
|
43781
44227
|
capName: "decoder",
|
|
43782
44228
|
capScope: "system",
|
|
43783
44229
|
addonId: null,
|
|
43784
44230
|
access: "view"
|
|
43785
44231
|
},
|
|
43786
|
-
"decoder.getShmStats": {
|
|
43787
|
-
capName: "decoder",
|
|
43788
|
-
capScope: "system",
|
|
43789
|
-
addonId: null,
|
|
43790
|
-
access: "view"
|
|
43791
|
-
},
|
|
43792
|
-
"decoder.getStats": {
|
|
43793
|
-
capName: "decoder",
|
|
43794
|
-
capScope: "system",
|
|
43795
|
-
addonId: null,
|
|
43796
|
-
access: "view"
|
|
43797
|
-
},
|
|
43798
|
-
"decoder.listActiveSessions": {
|
|
43799
|
-
capName: "decoder",
|
|
43800
|
-
capScope: "system",
|
|
43801
|
-
addonId: null,
|
|
43802
|
-
access: "view"
|
|
43803
|
-
},
|
|
43804
|
-
"decoder.openStream": {
|
|
43805
|
-
capName: "decoder",
|
|
43806
|
-
capScope: "system",
|
|
43807
|
-
addonId: null,
|
|
43808
|
-
access: "view"
|
|
43809
|
-
},
|
|
43810
|
-
"decoder.pullFrames": {
|
|
43811
|
-
capName: "decoder",
|
|
43812
|
-
capScope: "system",
|
|
43813
|
-
addonId: null,
|
|
43814
|
-
access: "view"
|
|
43815
|
-
},
|
|
43816
|
-
"decoder.pullHandles": {
|
|
43817
|
-
capName: "decoder",
|
|
43818
|
-
capScope: "system",
|
|
43819
|
-
addonId: null,
|
|
43820
|
-
access: "view"
|
|
43821
|
-
},
|
|
43822
|
-
"decoder.pushPacket": {
|
|
43823
|
-
capName: "decoder",
|
|
43824
|
-
capScope: "system",
|
|
43825
|
-
addonId: null,
|
|
43826
|
-
access: "view"
|
|
43827
|
-
},
|
|
43828
44232
|
"decoder.reprobeHwaccel": {
|
|
43829
44233
|
capName: "decoder",
|
|
43830
44234
|
capScope: "system",
|
|
43831
44235
|
addonId: null,
|
|
43832
44236
|
access: "create"
|
|
43833
44237
|
},
|
|
43834
|
-
"decoder.supportsCodec": {
|
|
43835
|
-
capName: "decoder",
|
|
43836
|
-
capScope: "system",
|
|
43837
|
-
addonId: null,
|
|
43838
|
-
access: "view"
|
|
43839
|
-
},
|
|
43840
|
-
"decoder.updateConfig": {
|
|
43841
|
-
capName: "decoder",
|
|
43842
|
-
capScope: "system",
|
|
43843
|
-
addonId: null,
|
|
43844
|
-
access: "view"
|
|
43845
|
-
},
|
|
43846
44238
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43847
44239
|
capName: "detection-pipeline",
|
|
43848
44240
|
capScope: "device",
|
|
@@ -46873,6 +47265,12 @@ Object.freeze({
|
|
|
46873
47265
|
addonId: null,
|
|
46874
47266
|
access: "create"
|
|
46875
47267
|
},
|
|
47268
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
47269
|
+
capName: "pipeline-analytics",
|
|
47270
|
+
capScope: "device",
|
|
47271
|
+
addonId: null,
|
|
47272
|
+
access: "create"
|
|
47273
|
+
},
|
|
46876
47274
|
"pipelineAnalytics.setTrackFlags": {
|
|
46877
47275
|
capName: "pipeline-analytics",
|
|
46878
47276
|
capScope: "device",
|
|
@@ -46909,6 +47307,12 @@ Object.freeze({
|
|
|
46909
47307
|
addonId: null,
|
|
46910
47308
|
access: "delete"
|
|
46911
47309
|
},
|
|
47310
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
47311
|
+
capName: "pipeline-analytics",
|
|
47312
|
+
capScope: "device",
|
|
47313
|
+
addonId: null,
|
|
47314
|
+
access: "create"
|
|
47315
|
+
},
|
|
46912
47316
|
"pipelineExecutor.cacheFrameInPool": {
|
|
46913
47317
|
capName: "pipeline-executor",
|
|
46914
47318
|
capScope: "system",
|
|
@@ -46921,13 +47325,13 @@ Object.freeze({
|
|
|
46921
47325
|
addonId: null,
|
|
46922
47326
|
access: "delete"
|
|
46923
47327
|
},
|
|
46924
|
-
"pipelineExecutor.
|
|
47328
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46925
47329
|
capName: "pipeline-executor",
|
|
46926
47330
|
capScope: "system",
|
|
46927
47331
|
addonId: null,
|
|
46928
47332
|
access: "delete"
|
|
46929
47333
|
},
|
|
46930
|
-
"pipelineExecutor.
|
|
47334
|
+
"pipelineExecutor.deleteModel": {
|
|
46931
47335
|
capName: "pipeline-executor",
|
|
46932
47336
|
capScope: "system",
|
|
46933
47337
|
addonId: null,
|
|
@@ -47071,12 +47475,6 @@ Object.freeze({
|
|
|
47071
47475
|
addonId: null,
|
|
47072
47476
|
access: "view"
|
|
47073
47477
|
},
|
|
47074
|
-
"pipelineExecutor.listTemplates": {
|
|
47075
|
-
capName: "pipeline-executor",
|
|
47076
|
-
capScope: "system",
|
|
47077
|
-
addonId: null,
|
|
47078
|
-
access: "view"
|
|
47079
|
-
},
|
|
47080
47478
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
47081
47479
|
capName: "pipeline-executor",
|
|
47082
47480
|
capScope: "system",
|
|
@@ -47101,12 +47499,6 @@ Object.freeze({
|
|
|
47101
47499
|
addonId: null,
|
|
47102
47500
|
access: "create"
|
|
47103
47501
|
},
|
|
47104
|
-
"pipelineExecutor.saveTemplate": {
|
|
47105
|
-
capName: "pipeline-executor",
|
|
47106
|
-
capScope: "system",
|
|
47107
|
-
addonId: null,
|
|
47108
|
-
access: "create"
|
|
47109
|
-
},
|
|
47110
47502
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
47111
47503
|
capName: "pipeline-executor",
|
|
47112
47504
|
capScope: "system",
|
|
@@ -47125,41 +47517,35 @@ Object.freeze({
|
|
|
47125
47517
|
addonId: null,
|
|
47126
47518
|
access: "create"
|
|
47127
47519
|
},
|
|
47128
|
-
"pipelineExecutor.updateTemplate": {
|
|
47129
|
-
capName: "pipeline-executor",
|
|
47130
|
-
capScope: "system",
|
|
47131
|
-
addonId: null,
|
|
47132
|
-
access: "create"
|
|
47133
|
-
},
|
|
47134
47520
|
"pipelineExecutor.validatePipeline": {
|
|
47135
47521
|
capName: "pipeline-executor",
|
|
47136
47522
|
capScope: "system",
|
|
47137
47523
|
addonId: null,
|
|
47138
47524
|
access: "view"
|
|
47139
47525
|
},
|
|
47140
|
-
"pipelineOrchestrator.
|
|
47526
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
47141
47527
|
capName: "pipeline-orchestrator",
|
|
47142
47528
|
capScope: "system",
|
|
47143
47529
|
addonId: null,
|
|
47144
47530
|
access: "create"
|
|
47145
47531
|
},
|
|
47146
|
-
"pipelineOrchestrator.
|
|
47532
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
47147
47533
|
capName: "pipeline-orchestrator",
|
|
47148
47534
|
capScope: "system",
|
|
47149
47535
|
addonId: null,
|
|
47150
47536
|
access: "create"
|
|
47151
47537
|
},
|
|
47152
|
-
"pipelineOrchestrator.
|
|
47538
|
+
"pipelineOrchestrator.assignAudio": {
|
|
47153
47539
|
capName: "pipeline-orchestrator",
|
|
47154
47540
|
capScope: "system",
|
|
47155
47541
|
addonId: null,
|
|
47156
47542
|
access: "create"
|
|
47157
47543
|
},
|
|
47158
|
-
"pipelineOrchestrator.
|
|
47544
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
47159
47545
|
capName: "pipeline-orchestrator",
|
|
47160
47546
|
capScope: "system",
|
|
47161
47547
|
addonId: null,
|
|
47162
|
-
access: "
|
|
47548
|
+
access: "create"
|
|
47163
47549
|
},
|
|
47164
47550
|
"pipelineOrchestrator.getAgentLoad": {
|
|
47165
47551
|
capName: "pipeline-orchestrator",
|
|
@@ -47251,6 +47637,12 @@ Object.freeze({
|
|
|
47251
47637
|
addonId: null,
|
|
47252
47638
|
access: "view"
|
|
47253
47639
|
},
|
|
47640
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47641
|
+
capName: "pipeline-orchestrator",
|
|
47642
|
+
capScope: "system",
|
|
47643
|
+
addonId: null,
|
|
47644
|
+
access: "view"
|
|
47645
|
+
},
|
|
47254
47646
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
47255
47647
|
capName: "pipeline-orchestrator",
|
|
47256
47648
|
capScope: "system",
|
|
@@ -47287,19 +47679,19 @@ Object.freeze({
|
|
|
47287
47679
|
addonId: null,
|
|
47288
47680
|
access: "view"
|
|
47289
47681
|
},
|
|
47290
|
-
"pipelineOrchestrator.
|
|
47682
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
47291
47683
|
capName: "pipeline-orchestrator",
|
|
47292
47684
|
capScope: "system",
|
|
47293
47685
|
addonId: null,
|
|
47294
47686
|
access: "view"
|
|
47295
47687
|
},
|
|
47296
|
-
"pipelineOrchestrator.
|
|
47688
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
47297
47689
|
capName: "pipeline-orchestrator",
|
|
47298
47690
|
capScope: "system",
|
|
47299
47691
|
addonId: null,
|
|
47300
47692
|
access: "view"
|
|
47301
47693
|
},
|
|
47302
|
-
"pipelineOrchestrator.
|
|
47694
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
47303
47695
|
capName: "pipeline-orchestrator",
|
|
47304
47696
|
capScope: "system",
|
|
47305
47697
|
addonId: null,
|
|
@@ -47311,6 +47703,12 @@ Object.freeze({
|
|
|
47311
47703
|
addonId: null,
|
|
47312
47704
|
access: "create"
|
|
47313
47705
|
},
|
|
47706
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47707
|
+
capName: "pipeline-orchestrator",
|
|
47708
|
+
capScope: "system",
|
|
47709
|
+
addonId: null,
|
|
47710
|
+
access: "view"
|
|
47711
|
+
},
|
|
47314
47712
|
"pipelineOrchestrator.rebalance": {
|
|
47315
47713
|
capName: "pipeline-orchestrator",
|
|
47316
47714
|
capScope: "system",
|
|
@@ -47353,12 +47751,6 @@ Object.freeze({
|
|
|
47353
47751
|
addonId: null,
|
|
47354
47752
|
access: "create"
|
|
47355
47753
|
},
|
|
47356
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
47357
|
-
capName: "pipeline-orchestrator",
|
|
47358
|
-
capScope: "system",
|
|
47359
|
-
addonId: null,
|
|
47360
|
-
access: "create"
|
|
47361
|
-
},
|
|
47362
47754
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
47363
47755
|
capName: "pipeline-orchestrator",
|
|
47364
47756
|
capScope: "system",
|
|
@@ -47371,12 +47763,6 @@ Object.freeze({
|
|
|
47371
47763
|
addonId: null,
|
|
47372
47764
|
access: "create"
|
|
47373
47765
|
},
|
|
47374
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
47375
|
-
capName: "pipeline-orchestrator",
|
|
47376
|
-
capScope: "system",
|
|
47377
|
-
addonId: null,
|
|
47378
|
-
access: "create"
|
|
47379
|
-
},
|
|
47380
47766
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
47381
47767
|
capName: "pipeline-orchestrator",
|
|
47382
47768
|
capScope: "system",
|
|
@@ -47413,6 +47799,12 @@ Object.freeze({
|
|
|
47413
47799
|
addonId: null,
|
|
47414
47800
|
access: "create"
|
|
47415
47801
|
},
|
|
47802
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47803
|
+
capName: "pipeline-orchestrator",
|
|
47804
|
+
capScope: "system",
|
|
47805
|
+
addonId: null,
|
|
47806
|
+
access: "create"
|
|
47807
|
+
},
|
|
47416
47808
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
47417
47809
|
capName: "pipeline-orchestrator",
|
|
47418
47810
|
capScope: "system",
|
|
@@ -47431,25 +47823,37 @@ Object.freeze({
|
|
|
47431
47823
|
addonId: null,
|
|
47432
47824
|
access: "create"
|
|
47433
47825
|
},
|
|
47826
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47827
|
+
capName: "pipeline-orchestrator",
|
|
47828
|
+
capScope: "system",
|
|
47829
|
+
addonId: null,
|
|
47830
|
+
access: "create"
|
|
47831
|
+
},
|
|
47434
47832
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
47435
47833
|
capName: "pipeline-orchestrator",
|
|
47436
47834
|
capScope: "system",
|
|
47437
47835
|
addonId: null,
|
|
47438
47836
|
access: "create"
|
|
47439
47837
|
},
|
|
47440
|
-
"pipelineOrchestrator.
|
|
47838
|
+
"pipelineOrchestrator.setShareSource": {
|
|
47441
47839
|
capName: "pipeline-orchestrator",
|
|
47442
47840
|
capScope: "system",
|
|
47443
47841
|
addonId: null,
|
|
47444
47842
|
access: "create"
|
|
47445
47843
|
},
|
|
47446
|
-
"pipelineOrchestrator.
|
|
47844
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47845
|
+
capName: "pipeline-orchestrator",
|
|
47846
|
+
capScope: "system",
|
|
47847
|
+
addonId: null,
|
|
47848
|
+
access: "view"
|
|
47849
|
+
},
|
|
47850
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
47447
47851
|
capName: "pipeline-orchestrator",
|
|
47448
47852
|
capScope: "system",
|
|
47449
47853
|
addonId: null,
|
|
47450
47854
|
access: "create"
|
|
47451
47855
|
},
|
|
47452
|
-
"pipelineOrchestrator.
|
|
47856
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
47453
47857
|
capName: "pipeline-orchestrator",
|
|
47454
47858
|
capScope: "system",
|
|
47455
47859
|
addonId: null,
|
|
@@ -48889,12 +49293,6 @@ Object.freeze({
|
|
|
48889
49293
|
addonId: null,
|
|
48890
49294
|
access: "view"
|
|
48891
49295
|
},
|
|
48892
|
-
"streamBroker.pullFrameHandles": {
|
|
48893
|
-
capName: "stream-broker",
|
|
48894
|
-
capScope: "system",
|
|
48895
|
-
addonId: null,
|
|
48896
|
-
access: "view"
|
|
48897
|
-
},
|
|
48898
49296
|
"streamBroker.regenerateRtspToken": {
|
|
48899
49297
|
capName: "stream-broker",
|
|
48900
49298
|
capScope: "system",
|
|
@@ -48961,12 +49359,6 @@ Object.freeze({
|
|
|
48961
49359
|
addonId: null,
|
|
48962
49360
|
access: "create"
|
|
48963
49361
|
},
|
|
48964
|
-
"streamBroker.subscribeFrames": {
|
|
48965
|
-
capName: "stream-broker",
|
|
48966
|
-
capScope: "system",
|
|
48967
|
-
addonId: null,
|
|
48968
|
-
access: "create"
|
|
48969
|
-
},
|
|
48970
49362
|
"streamBroker.unassignProfile": {
|
|
48971
49363
|
capName: "stream-broker",
|
|
48972
49364
|
capScope: "system",
|
|
@@ -48979,12 +49371,6 @@ Object.freeze({
|
|
|
48979
49371
|
addonId: null,
|
|
48980
49372
|
access: "create"
|
|
48981
49373
|
},
|
|
48982
|
-
"streamBroker.unsubscribeFrames": {
|
|
48983
|
-
capName: "stream-broker",
|
|
48984
|
-
capScope: "system",
|
|
48985
|
-
addonId: null,
|
|
48986
|
-
access: "create"
|
|
48987
|
-
},
|
|
48988
49374
|
"streamCatalog.getCatalog": {
|
|
48989
49375
|
capName: "stream-catalog",
|
|
48990
49376
|
capScope: "device",
|
|
@@ -49279,18 +49665,36 @@ Object.freeze({
|
|
|
49279
49665
|
addonId: null,
|
|
49280
49666
|
access: "delete"
|
|
49281
49667
|
},
|
|
49668
|
+
"userManagement.findUserByExternalIdentity": {
|
|
49669
|
+
capName: "user-management",
|
|
49670
|
+
capScope: "system",
|
|
49671
|
+
addonId: null,
|
|
49672
|
+
access: "view"
|
|
49673
|
+
},
|
|
49282
49674
|
"userManagement.getTotpStatus": {
|
|
49283
49675
|
capName: "user-management",
|
|
49284
49676
|
capScope: "system",
|
|
49285
49677
|
addonId: null,
|
|
49286
49678
|
access: "view"
|
|
49287
49679
|
},
|
|
49680
|
+
"userManagement.linkExternalIdentity": {
|
|
49681
|
+
capName: "user-management",
|
|
49682
|
+
capScope: "system",
|
|
49683
|
+
addonId: null,
|
|
49684
|
+
access: "create"
|
|
49685
|
+
},
|
|
49288
49686
|
"userManagement.listApiKeys": {
|
|
49289
49687
|
capName: "user-management",
|
|
49290
49688
|
capScope: "system",
|
|
49291
49689
|
addonId: null,
|
|
49292
49690
|
access: "view"
|
|
49293
49691
|
},
|
|
49692
|
+
"userManagement.listExternalIdentities": {
|
|
49693
|
+
capName: "user-management",
|
|
49694
|
+
capScope: "system",
|
|
49695
|
+
addonId: null,
|
|
49696
|
+
access: "view"
|
|
49697
|
+
},
|
|
49294
49698
|
"userManagement.listOauthSessions": {
|
|
49295
49699
|
capName: "user-management",
|
|
49296
49700
|
capScope: "system",
|
|
@@ -49369,6 +49773,12 @@ Object.freeze({
|
|
|
49369
49773
|
addonId: null,
|
|
49370
49774
|
access: "create"
|
|
49371
49775
|
},
|
|
49776
|
+
"userManagement.unlinkExternalIdentity": {
|
|
49777
|
+
capName: "user-management",
|
|
49778
|
+
capScope: "system",
|
|
49779
|
+
addonId: null,
|
|
49780
|
+
access: "delete"
|
|
49781
|
+
},
|
|
49372
49782
|
"userManagement.updateUser": {
|
|
49373
49783
|
capName: "user-management",
|
|
49374
49784
|
capScope: "system",
|
|
@@ -51716,11 +52126,6 @@ Object.freeze({
|
|
|
51716
52126
|
form: "single",
|
|
51717
52127
|
optional: false
|
|
51718
52128
|
}],
|
|
51719
|
-
"decoder.createSession": [{
|
|
51720
|
-
name: "deviceId",
|
|
51721
|
-
form: "single",
|
|
51722
|
-
optional: true
|
|
51723
|
-
}],
|
|
51724
52129
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
51725
52130
|
name: "deviceId",
|
|
51726
52131
|
form: "single",
|
|
@@ -52931,6 +53336,11 @@ Object.freeze({
|
|
|
52931
53336
|
form: "single",
|
|
52932
53337
|
optional: false
|
|
52933
53338
|
}],
|
|
53339
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
53340
|
+
name: "deviceId",
|
|
53341
|
+
form: "single",
|
|
53342
|
+
optional: false
|
|
53343
|
+
}],
|
|
52934
53344
|
"pipelineAnalytics.setTrackFlags": [{
|
|
52935
53345
|
name: "deviceId",
|
|
52936
53346
|
form: "single",
|
|
@@ -52951,6 +53361,11 @@ Object.freeze({
|
|
|
52951
53361
|
form: "single",
|
|
52952
53362
|
optional: false
|
|
52953
53363
|
}],
|
|
53364
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
53365
|
+
name: "deviceIds",
|
|
53366
|
+
form: "array",
|
|
53367
|
+
optional: true
|
|
53368
|
+
}],
|
|
52954
53369
|
"pipelineExecutor.runPipeline": [{
|
|
52955
53370
|
name: "deviceId",
|
|
52956
53371
|
form: "single",
|
|
@@ -53056,6 +53471,11 @@ Object.freeze({
|
|
|
53056
53471
|
form: "single",
|
|
53057
53472
|
optional: false
|
|
53058
53473
|
}],
|
|
53474
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
53475
|
+
name: "deviceId",
|
|
53476
|
+
form: "single",
|
|
53477
|
+
optional: false
|
|
53478
|
+
}],
|
|
53059
53479
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
53060
53480
|
name: "deviceId",
|
|
53061
53481
|
form: "single",
|
|
@@ -58506,7 +58926,7 @@ var hikvisionCameraSchema = object({
|
|
|
58506
58926
|
*/
|
|
58507
58927
|
https: boolean().default(false),
|
|
58508
58928
|
username: string().default("admin").describe("ISAPI user"),
|
|
58509
|
-
password: string().describe("ISAPI password"),
|
|
58929
|
+
password: string().describe("ISAPI password").meta({ secret: true }),
|
|
58510
58930
|
/**
|
|
58511
58931
|
* RTSP transport hint forwarded to the broker as `transportmode`.
|
|
58512
58932
|
* Most installations use `unicast`; multicast needs explicit
|