@camstack/addon-provider-homeassistant 1.2.161 → 1.2.163
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 +67 -18
- package/dist/addon.mjs +67 -18
- package/dist/{dist-B1FEp9mY.mjs → dist-CDvVJ5hh.mjs} +930 -500
- package/dist/{dist-C3T2aMHG.js → dist-D4ygl7eZ.js} +930 -500
- package/dist/ha-export/ha-export.addon.js +53 -40
- package/dist/ha-export/ha-export.addon.mjs +53 -40
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -499,15 +499,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
499
499
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
500
500
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
501
501
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
502
|
-
/**
|
|
503
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
504
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
505
|
-
* `createSession`, so running sessions keep their current backend until
|
|
506
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
507
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
508
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
509
|
-
*/
|
|
510
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
511
502
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
512
503
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
513
504
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5378,7 +5369,7 @@ var ZodIssueCode = {
|
|
|
5378
5369
|
var ZodFirstPartyTypeKind;
|
|
5379
5370
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5380
5371
|
//#endregion
|
|
5381
|
-
//#region ../types/dist/sleep-
|
|
5372
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5382
5373
|
/**
|
|
5383
5374
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5384
5375
|
* window to float samples (D455).
|
|
@@ -6744,32 +6735,12 @@ object({
|
|
|
6744
6735
|
audioCodec: string().optional(),
|
|
6745
6736
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6746
6737
|
});
|
|
6747
|
-
var EncodedPacketSchema = object({
|
|
6748
|
-
type: _enum(["video", "audio"]),
|
|
6749
|
-
data: _instanceof(Uint8Array),
|
|
6750
|
-
pts: number(),
|
|
6751
|
-
dts: number(),
|
|
6752
|
-
keyframe: boolean(),
|
|
6753
|
-
codec: string()
|
|
6754
|
-
});
|
|
6755
|
-
var DecodedFrameSchema = object({
|
|
6756
|
-
data: _instanceof(Uint8Array),
|
|
6757
|
-
width: number(),
|
|
6758
|
-
height: number(),
|
|
6759
|
-
format: _enum([
|
|
6760
|
-
"jpeg",
|
|
6761
|
-
"rgb",
|
|
6762
|
-
"bgr",
|
|
6763
|
-
"yuv420",
|
|
6764
|
-
"gray"
|
|
6765
|
-
]),
|
|
6766
|
-
timestamp: number()
|
|
6767
|
-
});
|
|
6768
6738
|
/**
|
|
6769
6739
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6770
6740
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6771
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6772
|
-
*
|
|
6741
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6742
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6743
|
+
* over tRPC / Moleculer.
|
|
6773
6744
|
*
|
|
6774
6745
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6775
6746
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6795,50 +6766,6 @@ var FrameHandleSchema = object({
|
|
|
6795
6766
|
slotCount: number().int().positive()
|
|
6796
6767
|
});
|
|
6797
6768
|
/**
|
|
6798
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6799
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6800
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6801
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6802
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6803
|
-
*/
|
|
6804
|
-
var FrameHandleFormatSchema = _enum([
|
|
6805
|
-
"rgb",
|
|
6806
|
-
"bgr",
|
|
6807
|
-
"yuv420",
|
|
6808
|
-
"gray"
|
|
6809
|
-
]);
|
|
6810
|
-
/**
|
|
6811
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6812
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6813
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6814
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6815
|
-
* they asked for with no broker-side conversion.
|
|
6816
|
-
*/
|
|
6817
|
-
var SubscribeFramesInputSchema = object({
|
|
6818
|
-
brokerId: string(),
|
|
6819
|
-
format: FrameHandleFormatSchema,
|
|
6820
|
-
/**
|
|
6821
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6822
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6823
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6824
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6825
|
-
*/
|
|
6826
|
-
maxFps: number().positive().optional(),
|
|
6827
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6828
|
-
tag: string().optional()
|
|
6829
|
-
});
|
|
6830
|
-
/**
|
|
6831
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6832
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6833
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6834
|
-
*/
|
|
6835
|
-
var SubscribeFramesResultSchema = object({
|
|
6836
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6837
|
-
subscriptionId: string(),
|
|
6838
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6839
|
-
maxFps: number().nonnegative()
|
|
6840
|
-
});
|
|
6841
|
-
/**
|
|
6842
6769
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6843
6770
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6844
6771
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6846,8 +6773,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6846
6773
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6847
6774
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6848
6775
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6849
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6850
|
-
*
|
|
6776
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6777
|
+
* it.
|
|
6851
6778
|
*/
|
|
6852
6779
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6853
6780
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6865,11 +6792,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6865
6792
|
format: AudioChunkFormatSchema.optional()
|
|
6866
6793
|
});
|
|
6867
6794
|
/**
|
|
6868
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6869
|
-
*
|
|
6870
|
-
*
|
|
6871
|
-
*
|
|
6872
|
-
* `pullAudioChunks`.
|
|
6795
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6796
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6797
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6798
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6873
6799
|
*/
|
|
6874
6800
|
var SubscribeAudioChunksInputSchema = object({
|
|
6875
6801
|
brokerId: string(),
|
|
@@ -6900,9 +6826,7 @@ var BrokerStatsSchema = object({
|
|
|
6900
6826
|
"stopped"
|
|
6901
6827
|
]),
|
|
6902
6828
|
inputFps: number(),
|
|
6903
|
-
decodeFps: number(),
|
|
6904
6829
|
encodedSubscribers: number(),
|
|
6905
|
-
decodedSubscribers: number(),
|
|
6906
6830
|
uptimeMs: number(),
|
|
6907
6831
|
bitrateKbps: number(),
|
|
6908
6832
|
idrIntervalMs: number(),
|
|
@@ -6915,14 +6839,6 @@ var BrokerStatsSchema = object({
|
|
|
6915
6839
|
preBufferMs: number(),
|
|
6916
6840
|
preBufferPackets: number(),
|
|
6917
6841
|
/**
|
|
6918
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6919
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6920
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6921
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6922
|
-
* a separate cap call per broker.
|
|
6923
|
-
*/
|
|
6924
|
-
decoderNodeId: string().nullable(),
|
|
6925
|
-
/**
|
|
6926
6842
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6927
6843
|
* when the stream has no audio track or the broker is in cold start.
|
|
6928
6844
|
* `supported = false` means the codec was detected but the local
|
|
@@ -8451,8 +8367,8 @@ function buildAddonRouteProvider(id, routes) {
|
|
|
8451
8367
|
const reply = buildCapturingReply(envelope);
|
|
8452
8368
|
const request = {
|
|
8453
8369
|
params: {
|
|
8454
|
-
...
|
|
8455
|
-
...
|
|
8370
|
+
...match.params,
|
|
8371
|
+
...input.params
|
|
8456
8372
|
},
|
|
8457
8373
|
query: input.query,
|
|
8458
8374
|
body: input.body,
|
|
@@ -10461,70 +10377,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10461
10377
|
"backup"
|
|
10462
10378
|
]).optional()
|
|
10463
10379
|
});
|
|
10464
|
-
var DecoderStatsSchema = object({
|
|
10465
|
-
inputFps: number(),
|
|
10466
|
-
outputFps: number(),
|
|
10467
|
-
avgDecodeTimeMs: number(),
|
|
10468
|
-
droppedFrames: number(),
|
|
10469
|
-
/**
|
|
10470
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10471
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10472
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10473
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10474
|
-
*/
|
|
10475
|
-
lagMs: number().optional(),
|
|
10476
|
-
effectiveFps: number().optional(),
|
|
10477
|
-
adaptiveFps: number().optional()
|
|
10478
|
-
});
|
|
10479
|
-
var DecoderSessionConfigSchema = object({
|
|
10480
|
-
codec: string(),
|
|
10481
|
-
maxFps: number().default(0),
|
|
10482
|
-
outputFormat: _enum([
|
|
10483
|
-
"jpeg",
|
|
10484
|
-
"rgb",
|
|
10485
|
-
"bgr",
|
|
10486
|
-
"yuv420",
|
|
10487
|
-
"gray"
|
|
10488
|
-
]).default("jpeg"),
|
|
10489
|
-
scale: number().default(1),
|
|
10490
|
-
width: number().optional(),
|
|
10491
|
-
height: number().optional(),
|
|
10492
|
-
/**
|
|
10493
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10494
|
-
* because the cap is generic (any caller could request decode), but
|
|
10495
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10496
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10497
|
-
* sendPacket errors on a single hung camera).
|
|
10498
|
-
*/
|
|
10499
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10500
|
-
/**
|
|
10501
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10502
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10503
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10504
|
-
* profile cleanly.
|
|
10505
|
-
*/
|
|
10506
|
-
tag: string().optional(),
|
|
10507
|
-
/**
|
|
10508
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10509
|
-
*
|
|
10510
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10511
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10512
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10513
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10514
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10515
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10516
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10517
|
-
*/
|
|
10518
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10519
|
-
/**
|
|
10520
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10521
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10522
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10523
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10524
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10525
|
-
*/
|
|
10526
|
-
debug: boolean().optional()
|
|
10527
|
-
});
|
|
10528
10380
|
/**
|
|
10529
10381
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10530
10382
|
* an addon declares its channels in.
|
|
@@ -10675,7 +10527,18 @@ var LABEL_SUPPLY_STEP_IDS = [
|
|
|
10675
10527
|
];
|
|
10676
10528
|
/** Steps whose box a root detection can BE. */
|
|
10677
10529
|
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10678
|
-
|
|
10530
|
+
/**
|
|
10531
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10532
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10533
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10534
|
+
* no camera tree carries.)
|
|
10535
|
+
*/
|
|
10536
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10537
|
+
[
|
|
10538
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10539
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10540
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10541
|
+
];
|
|
10679
10542
|
var MODEL_FORMATS = [
|
|
10680
10543
|
"onnx",
|
|
10681
10544
|
"coreml",
|
|
@@ -10704,7 +10567,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10704
10567
|
/** Multi-file payload (directory members or sibling files). */
|
|
10705
10568
|
files: array(string()).readonly().optional(),
|
|
10706
10569
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10707
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10570
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10571
|
+
/**
|
|
10572
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10573
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10574
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10575
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10576
|
+
* node records the revision it downloaded next to the file
|
|
10577
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10578
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10579
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10580
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10581
|
+
*/
|
|
10582
|
+
revision: string().min(1).optional()
|
|
10583
|
+
});
|
|
10584
|
+
/**
|
|
10585
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10586
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10587
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10588
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10589
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10590
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10591
|
+
*/
|
|
10592
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10593
|
+
"current",
|
|
10594
|
+
"stale",
|
|
10595
|
+
"missing"
|
|
10596
|
+
]);
|
|
10597
|
+
/**
|
|
10598
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10599
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10600
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10601
|
+
*/
|
|
10602
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10603
|
+
"fp32",
|
|
10604
|
+
"fp16",
|
|
10605
|
+
"int8"
|
|
10606
|
+
]);
|
|
10607
|
+
/**
|
|
10608
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10609
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10610
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10611
|
+
*/
|
|
10612
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10613
|
+
downloaded: boolean(),
|
|
10614
|
+
sizeMB: number(),
|
|
10615
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10616
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10708
10617
|
});
|
|
10709
10618
|
/**
|
|
10710
10619
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10818,25 +10727,36 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10818
10727
|
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10819
10728
|
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10820
10729
|
* child of the `parentMacro` detection that contains it — never a track.
|
|
10730
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10731
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10732
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10733
|
+
* postprocessor on read, never stored by an import.
|
|
10821
10734
|
*/
|
|
10822
|
-
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
|
|
10735
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10736
|
+
object({
|
|
10737
|
+
kind: literal("label"),
|
|
10738
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10739
|
+
labelToEffect: record(string(), string()),
|
|
10740
|
+
uncovered: array(string()).readonly()
|
|
10741
|
+
}),
|
|
10742
|
+
object({
|
|
10743
|
+
kind: literal("crop"),
|
|
10744
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10745
|
+
rootLabels: array(string()).readonly(),
|
|
10746
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10747
|
+
childClass: _enum(["plate", "face"]),
|
|
10748
|
+
/**
|
|
10749
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10750
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10751
|
+
* stored by an import.
|
|
10752
|
+
*/
|
|
10753
|
+
rootInputPx: number().int().positive().optional()
|
|
10754
|
+
}),
|
|
10755
|
+
object({
|
|
10756
|
+
kind: literal("mask"),
|
|
10757
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10758
|
+
})
|
|
10759
|
+
]);
|
|
10840
10760
|
var ModelCatalogEntrySchema = object({
|
|
10841
10761
|
id: string(),
|
|
10842
10762
|
name: string(),
|
|
@@ -10902,6 +10822,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10902
10822
|
*/
|
|
10903
10823
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10904
10824
|
/**
|
|
10825
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10826
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10827
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10828
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10829
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10830
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10831
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10832
|
+
*/
|
|
10833
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10834
|
+
/**
|
|
10835
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10836
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10837
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10838
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10839
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10840
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10841
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10842
|
+
*/
|
|
10843
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10844
|
+
/**
|
|
10845
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10846
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10847
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10848
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10849
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10850
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10851
|
+
*/
|
|
10852
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10853
|
+
/**
|
|
10905
10854
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10906
10855
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10907
10856
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -12642,13 +12591,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12642
12591
|
lastRtpAt: number(),
|
|
12643
12592
|
bytesSent: number()
|
|
12644
12593
|
});
|
|
12645
|
-
var BrokerDecodedClientSchema = object({
|
|
12646
|
-
tag: string(),
|
|
12647
|
-
subscribedAt: number(),
|
|
12648
|
-
maxFps: number(),
|
|
12649
|
-
framesDelivered: number(),
|
|
12650
|
-
framesDropped: number()
|
|
12651
|
-
});
|
|
12652
12594
|
var BrokerAudioClientSchema = object({
|
|
12653
12595
|
tag: string(),
|
|
12654
12596
|
subscribedAt: number(),
|
|
@@ -12740,7 +12682,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12740
12682
|
});
|
|
12741
12683
|
var BrokerClientsSchema = object({
|
|
12742
12684
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12743
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12744
12685
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12745
12686
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12746
12687
|
pipeClients: number(),
|
|
@@ -13109,11 +13050,7 @@ method(object({
|
|
|
13109
13050
|
auth: "admin"
|
|
13110
13051
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13111
13052
|
brokerId: string(),
|
|
13112
|
-
channel: _enum([
|
|
13113
|
-
"rtsp",
|
|
13114
|
-
"decoded",
|
|
13115
|
-
"audio"
|
|
13116
|
-
]),
|
|
13053
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13117
13054
|
handle: string()
|
|
13118
13055
|
}), object({ killed: boolean() }), {
|
|
13119
13056
|
kind: "mutation",
|
|
@@ -13148,10 +13085,7 @@ method(object({
|
|
|
13148
13085
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13149
13086
|
subscriptionId: string(),
|
|
13150
13087
|
maxCount: number().int().positive().default(8)
|
|
13151
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13152
|
-
subscriptionId: string(),
|
|
13153
|
-
maxCount: number().int().positive().default(4)
|
|
13154
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13088
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13155
13089
|
brokerId: string(),
|
|
13156
13090
|
seconds: number().min(0).max(30)
|
|
13157
13091
|
}), _void(), {
|
|
@@ -14410,54 +14344,12 @@ id: union([string(), number()]) }), {
|
|
|
14410
14344
|
kind: "mutation",
|
|
14411
14345
|
auth: "admin"
|
|
14412
14346
|
});
|
|
14413
|
-
|
|
14414
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14415
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14416
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14417
|
-
*/
|
|
14418
|
-
var ShmRingStatsSchema = object({
|
|
14419
|
-
sessionId: string(),
|
|
14420
|
-
slotCount: number().int(),
|
|
14421
|
-
slotByteLength: number().int(),
|
|
14422
|
-
segmentBytes: number().int(),
|
|
14423
|
-
budgetMb: number().int(),
|
|
14424
|
-
framesWritten: number().int(),
|
|
14425
|
-
getFrameHits: number().int(),
|
|
14426
|
-
getFrameMisses: number().int()
|
|
14427
|
-
});
|
|
14428
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14347
|
+
method(_void(), object({
|
|
14429
14348
|
id: string(),
|
|
14430
14349
|
name: string(),
|
|
14431
|
-
isPullMode: boolean().optional(),
|
|
14432
|
-
priority: number().optional(),
|
|
14433
14350
|
hwaccel: string().optional(),
|
|
14434
14351
|
probedBestHwaccel: string().optional()
|
|
14435
|
-
})), method(
|
|
14436
|
-
sessionId: string(),
|
|
14437
|
-
nodeId: string()
|
|
14438
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14439
|
-
sessionId: string(),
|
|
14440
|
-
packet: EncodedPacketSchema
|
|
14441
|
-
}), _void()), method(object({
|
|
14442
|
-
sessionId: string(),
|
|
14443
|
-
url: string()
|
|
14444
|
-
}), _void()), method(object({
|
|
14445
|
-
sessionId: string(),
|
|
14446
|
-
maxCount: number().default(1),
|
|
14447
|
-
waitMs: number().optional()
|
|
14448
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14449
|
-
sessionId: string(),
|
|
14450
|
-
maxCount: number().default(1),
|
|
14451
|
-
waitMs: number().optional()
|
|
14452
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14453
|
-
sessionId: string(),
|
|
14454
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14455
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14456
|
-
sessionId: string(),
|
|
14457
|
-
codec: string(),
|
|
14458
|
-
outputFormat: string(),
|
|
14459
|
-
createdAtMs: number()
|
|
14460
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14352
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14461
14353
|
kind: "mutation",
|
|
14462
14354
|
auth: "admin"
|
|
14463
14355
|
});
|
|
@@ -15691,6 +15583,10 @@ var DeviceInfoSchema = object({
|
|
|
15691
15583
|
isCamera: boolean(),
|
|
15692
15584
|
/** Current config values — serializable snapshot */
|
|
15693
15585
|
config: record(string(), unknown()),
|
|
15586
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15587
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15588
|
+
* when the owning runner has not reported them. */
|
|
15589
|
+
secretConfigPaths: array(string()).optional(),
|
|
15694
15590
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15695
15591
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15696
15592
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15896,7 +15792,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15896
15792
|
* call (workers re-register on init), so probe-driven updates
|
|
15897
15793
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15898
15794
|
features: array(string()).optional(),
|
|
15899
|
-
config: record(string(), unknown())
|
|
15795
|
+
config: record(string(), unknown()),
|
|
15796
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15797
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15798
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15799
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15800
|
+
* omits it and the keyword backstop applies. */
|
|
15801
|
+
secretConfigPaths: array(string()).optional()
|
|
15900
15802
|
});
|
|
15901
15803
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15902
15804
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16723,6 +16625,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16723
16625
|
kind: "mutation",
|
|
16724
16626
|
auth: "admin"
|
|
16725
16627
|
});
|
|
16628
|
+
var HUB_ADDRESS_ROLES = [
|
|
16629
|
+
"appConnections",
|
|
16630
|
+
"notificationTaps",
|
|
16631
|
+
"internal",
|
|
16632
|
+
"publicEndpoint"
|
|
16633
|
+
];
|
|
16726
16634
|
/**
|
|
16727
16635
|
* Transport bounds for AI capability methods.
|
|
16728
16636
|
*
|
|
@@ -17549,7 +17457,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17549
17457
|
icon: string().optional(),
|
|
17550
17458
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17551
17459
|
startUrl: string(),
|
|
17552
|
-
stage: LoginStageEnum
|
|
17460
|
+
stage: LoginStageEnum,
|
|
17461
|
+
/**
|
|
17462
|
+
* The provider names an external identity a signed-in user can link to
|
|
17463
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17464
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17465
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17466
|
+
*/
|
|
17467
|
+
linkable: boolean().optional()
|
|
17553
17468
|
}),
|
|
17554
17469
|
object({
|
|
17555
17470
|
kind: literal("widget"),
|
|
@@ -20954,7 +20869,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20954
20869
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20955
20870
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20956
20871
|
*/
|
|
20957
|
-
notifySensorRewatched: boolean().optional()
|
|
20872
|
+
notifySensorRewatched: boolean().optional(),
|
|
20873
|
+
/**
|
|
20874
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20875
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20876
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20877
|
+
*/
|
|
20878
|
+
notifySensorIgnored: boolean().optional()
|
|
20958
20879
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20959
20880
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20960
20881
|
mode: AlarmArmModeSchema,
|
|
@@ -20967,7 +20888,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20967
20888
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20968
20889
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20969
20890
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20970
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20891
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20892
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20893
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20971
20894
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20972
20895
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20973
20896
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21961,8 +21884,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21961
21884
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21962
21885
|
stepId: "face-embedding",
|
|
21963
21886
|
key: "minLandmarkFaceSize",
|
|
21964
|
-
label: "Min face size
|
|
21965
|
-
description: "
|
|
21887
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21888
|
+
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.",
|
|
21966
21889
|
type: "slider",
|
|
21967
21890
|
min: 0,
|
|
21968
21891
|
max: 64,
|
|
@@ -23014,7 +22937,13 @@ var RetrainFrameSchema = object({
|
|
|
23014
22937
|
sizeBytes: number().int(),
|
|
23015
22938
|
width: number().int(),
|
|
23016
22939
|
height: number().int(),
|
|
23017
|
-
copiedAt: number()
|
|
22940
|
+
copiedAt: number(),
|
|
22941
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22942
|
+
capturedAt: number().optional(),
|
|
22943
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22944
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22945
|
+
* a false positive. */
|
|
22946
|
+
complete: boolean()
|
|
23018
22947
|
});
|
|
23019
22948
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
23020
22949
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -23035,6 +22964,51 @@ var RetrainFrameListSchema = object({
|
|
|
23035
22964
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
23036
22965
|
autoPickMediaId: number().int().optional()
|
|
23037
22966
|
});
|
|
22967
|
+
/**
|
|
22968
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22969
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22970
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22971
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22972
|
+
* export carried (`exportedInBatch`).
|
|
22973
|
+
*/
|
|
22974
|
+
var RetrainExportFilterSchema = object({
|
|
22975
|
+
deviceIds: array(number()).optional(),
|
|
22976
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22977
|
+
batchId: string().optional(),
|
|
22978
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22979
|
+
completeOnly: boolean().optional()
|
|
22980
|
+
});
|
|
22981
|
+
/**
|
|
22982
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22983
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22984
|
+
* convention — the classifier layout.
|
|
22985
|
+
*/
|
|
22986
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22987
|
+
/**
|
|
22988
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22989
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22990
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22991
|
+
* logged.
|
|
22992
|
+
*/
|
|
22993
|
+
var RetrainArchiveTargetSchema = object({
|
|
22994
|
+
kind: literal("http"),
|
|
22995
|
+
method: _enum(["PUT", "POST"]),
|
|
22996
|
+
url: string().url(),
|
|
22997
|
+
headers: record(string(), string()).optional()
|
|
22998
|
+
});
|
|
22999
|
+
var RetrainArchiveResultSchema = object({
|
|
23000
|
+
batchId: string(),
|
|
23001
|
+
frames: number().int(),
|
|
23002
|
+
crops: number().int(),
|
|
23003
|
+
annotations: number().int(),
|
|
23004
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
23005
|
+
missing: number().int(),
|
|
23006
|
+
bytes: number().int(),
|
|
23007
|
+
/** sha256 of the exact bytes sent. */
|
|
23008
|
+
sha256: string(),
|
|
23009
|
+
/** The target's HTTP status. */
|
|
23010
|
+
status: number().int()
|
|
23011
|
+
});
|
|
23038
23012
|
/** What the operator asked the assist to look for. */
|
|
23039
23013
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
23040
23014
|
kind: literal("package"),
|
|
@@ -23829,9 +23803,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23829
23803
|
}), RetrainTransitionResultSchema, {
|
|
23830
23804
|
kind: "mutation",
|
|
23831
23805
|
auth: "admin"
|
|
23832
|
-
}), method(
|
|
23806
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23833
23807
|
kind: "query",
|
|
23834
23808
|
auth: "admin"
|
|
23809
|
+
}), method(object({
|
|
23810
|
+
deviceId: number(),
|
|
23811
|
+
trackId: string(),
|
|
23812
|
+
frameId: string(),
|
|
23813
|
+
complete: boolean()
|
|
23814
|
+
}), RetrainFrameSchema, {
|
|
23815
|
+
kind: "mutation",
|
|
23816
|
+
auth: "admin"
|
|
23817
|
+
}), method(object({
|
|
23818
|
+
filter: RetrainExportFilterSchema,
|
|
23819
|
+
layout: RetrainExportLayoutSchema,
|
|
23820
|
+
target: RetrainArchiveTargetSchema
|
|
23821
|
+
}), RetrainArchiveResultSchema, {
|
|
23822
|
+
kind: "mutation",
|
|
23823
|
+
auth: "admin",
|
|
23824
|
+
timeoutMs: 60 * 6e4
|
|
23835
23825
|
}), method(object({
|
|
23836
23826
|
/** Which of the three event tables owns the row. */
|
|
23837
23827
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23957,7 +23947,7 @@ var FrameRefSchema = object({
|
|
|
23957
23947
|
timestamp: number(),
|
|
23958
23948
|
capturedAt: number().optional()
|
|
23959
23949
|
});
|
|
23960
|
-
var ModelFormatSchema$
|
|
23950
|
+
var ModelFormatSchema$2 = _enum([
|
|
23961
23951
|
"onnx",
|
|
23962
23952
|
"coreml",
|
|
23963
23953
|
"openvino",
|
|
@@ -23975,7 +23965,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23975
23965
|
var PipelineEngineChoiceSchema = object({
|
|
23976
23966
|
runtime: literal("python"),
|
|
23977
23967
|
backend: string(),
|
|
23978
|
-
format: ModelFormatSchema$
|
|
23968
|
+
format: ModelFormatSchema$2,
|
|
23979
23969
|
device: string().optional()
|
|
23980
23970
|
});
|
|
23981
23971
|
/**
|
|
@@ -24014,28 +24004,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
24014
24004
|
group: string().optional(),
|
|
24015
24005
|
settings: record(string(), unknown()).optional()
|
|
24016
24006
|
}));
|
|
24017
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
24018
|
-
addonId: string(),
|
|
24019
|
-
enabled: boolean(),
|
|
24020
|
-
modelId: string(),
|
|
24021
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
24022
|
-
settings: record(string(), unknown()).optional()
|
|
24023
|
-
}));
|
|
24024
|
-
var PipelineTemplateSchema$1 = object({
|
|
24025
|
-
id: string(),
|
|
24026
|
-
name: string(),
|
|
24027
|
-
createdAt: string(),
|
|
24028
|
-
updatedAt: string(),
|
|
24029
|
-
engine: PipelineEngineChoiceSchema,
|
|
24030
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
24031
|
-
});
|
|
24032
24007
|
var PipelineModelOptionSchema = object({
|
|
24033
24008
|
id: string(),
|
|
24034
24009
|
name: string(),
|
|
24035
|
-
formats: record(string(),
|
|
24036
|
-
downloaded: boolean(),
|
|
24037
|
-
sizeMB: number()
|
|
24038
|
-
})),
|
|
24010
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
24039
24011
|
group: ModelVariantGroupSchema.optional(),
|
|
24040
24012
|
legacy: boolean().optional(),
|
|
24041
24013
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -24202,6 +24174,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24202
24174
|
}), {
|
|
24203
24175
|
kind: "mutation",
|
|
24204
24176
|
auth: "admin"
|
|
24177
|
+
}), method(object({
|
|
24178
|
+
nodeId: string(),
|
|
24179
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24180
|
+
dryRun: boolean()
|
|
24181
|
+
}), object({
|
|
24182
|
+
entries: array(object({
|
|
24183
|
+
deviceId: number(),
|
|
24184
|
+
keys: array(string()).readonly()
|
|
24185
|
+
})).readonly(),
|
|
24186
|
+
refused: array(object({
|
|
24187
|
+
deviceId: number(),
|
|
24188
|
+
reason: string()
|
|
24189
|
+
})).readonly()
|
|
24190
|
+
}), {
|
|
24191
|
+
kind: "mutation",
|
|
24192
|
+
auth: "admin"
|
|
24205
24193
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24206
24194
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24207
24195
|
deviceKey: string(),
|
|
@@ -24227,22 +24215,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24227
24215
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24228
24216
|
steps: array(PipelineStepInputSchema),
|
|
24229
24217
|
deviceKey: string().optional()
|
|
24230
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24231
|
-
name: string(),
|
|
24232
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24233
|
-
engine: PipelineEngineChoiceSchema
|
|
24234
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24235
|
-
id: string(),
|
|
24236
|
-
name: string().optional(),
|
|
24237
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24238
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24218
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24239
24219
|
addonId: string(),
|
|
24240
24220
|
modelId: string(),
|
|
24241
|
-
format: ModelFormatSchema$
|
|
24221
|
+
format: ModelFormatSchema$2
|
|
24242
24222
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24243
24223
|
addonId: string(),
|
|
24244
24224
|
modelId: string(),
|
|
24245
|
-
format: ModelFormatSchema$
|
|
24225
|
+
format: ModelFormatSchema$2
|
|
24246
24226
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24247
24227
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24248
24228
|
frame: FrameInputSchema.optional(),
|
|
@@ -24399,6 +24379,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24399
24379
|
filename: string().optional(),
|
|
24400
24380
|
settings: record(string(), unknown()).optional()
|
|
24401
24381
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24382
|
+
/**
|
|
24383
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24384
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24385
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24386
|
+
* schemas are what crosses the cap boundary.
|
|
24387
|
+
*/
|
|
24388
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24389
|
+
/** The operator's range for it. */
|
|
24390
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24391
|
+
min: 1,
|
|
24392
|
+
max: 8
|
|
24393
|
+
};
|
|
24394
|
+
var HardwareClassIdSchema = _enum([
|
|
24395
|
+
"intel-core-ultra",
|
|
24396
|
+
"intel-n-series",
|
|
24397
|
+
"apple-m-base",
|
|
24398
|
+
"apple-m-pro",
|
|
24399
|
+
"unknown"
|
|
24400
|
+
]);
|
|
24401
|
+
var AcceleratorKindSchema = _enum([
|
|
24402
|
+
"intel-npu",
|
|
24403
|
+
"intel-igpu",
|
|
24404
|
+
"x86-cpu",
|
|
24405
|
+
"arm-cpu",
|
|
24406
|
+
"apple-ane",
|
|
24407
|
+
"coral"
|
|
24408
|
+
]);
|
|
24409
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24410
|
+
object({
|
|
24411
|
+
kind: literal("capacity"),
|
|
24412
|
+
sessions: number(),
|
|
24413
|
+
minSessions: number()
|
|
24414
|
+
}),
|
|
24415
|
+
object({
|
|
24416
|
+
kind: literal("tie-faster"),
|
|
24417
|
+
over: string(),
|
|
24418
|
+
recallDelta: number()
|
|
24419
|
+
}),
|
|
24420
|
+
object({
|
|
24421
|
+
kind: literal("stepped-down"),
|
|
24422
|
+
from: string(),
|
|
24423
|
+
to: string(),
|
|
24424
|
+
limitedBy: string()
|
|
24425
|
+
}),
|
|
24426
|
+
object({
|
|
24427
|
+
kind: literal("no-fit-lightest"),
|
|
24428
|
+
sessions: number(),
|
|
24429
|
+
minSessions: number()
|
|
24430
|
+
}),
|
|
24431
|
+
object({
|
|
24432
|
+
kind: literal("derived-latency"),
|
|
24433
|
+
modelId: string()
|
|
24434
|
+
}),
|
|
24435
|
+
object({ kind: literal("cpu-device") }),
|
|
24436
|
+
object({ kind: literal("coral-untouched") }),
|
|
24437
|
+
object({ kind: literal("device-disabled") }),
|
|
24438
|
+
object({ kind: literal("device-unavailable") }),
|
|
24439
|
+
object({ kind: literal("node-offline") }),
|
|
24440
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24441
|
+
object({
|
|
24442
|
+
kind: literal("no-measured-data"),
|
|
24443
|
+
hardwareClass: HardwareClassIdSchema
|
|
24444
|
+
}),
|
|
24445
|
+
object({
|
|
24446
|
+
kind: literal("no-family-build"),
|
|
24447
|
+
format: ModelFormatSchema$1
|
|
24448
|
+
})
|
|
24449
|
+
]);
|
|
24450
|
+
var DeviceModelChoiceSchema = object({
|
|
24451
|
+
modelId: string(),
|
|
24452
|
+
p50Ms: number(),
|
|
24453
|
+
fps: number(),
|
|
24454
|
+
measured: boolean(),
|
|
24455
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24456
|
+
capacitySessions: number(),
|
|
24457
|
+
personRecall: number()
|
|
24458
|
+
});
|
|
24459
|
+
var DeviceRecommendationSchema = object({
|
|
24460
|
+
deviceKey: string(),
|
|
24461
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24462
|
+
enabled: boolean(),
|
|
24463
|
+
available: boolean(),
|
|
24464
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24465
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24466
|
+
});
|
|
24467
|
+
var NodeRecommendationSchema = object({
|
|
24468
|
+
nodeId: string(),
|
|
24469
|
+
reachable: boolean(),
|
|
24470
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24471
|
+
cpuModel: string().nullable(),
|
|
24472
|
+
skipped: boolean(),
|
|
24473
|
+
acceleratorModelId: string().nullable(),
|
|
24474
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24475
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24476
|
+
});
|
|
24477
|
+
var ModelPinChangeSchema = object({
|
|
24478
|
+
stepId: string(),
|
|
24479
|
+
before: string().nullable(),
|
|
24480
|
+
after: string().nullable()
|
|
24481
|
+
});
|
|
24482
|
+
var NodeDeviceChangeSchema = object({
|
|
24483
|
+
nodeId: string(),
|
|
24484
|
+
deviceKey: string(),
|
|
24485
|
+
madeExplicit: boolean(),
|
|
24486
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24487
|
+
thresholds: array(object({
|
|
24488
|
+
stepId: string(),
|
|
24489
|
+
keys: array(string()).readonly()
|
|
24490
|
+
})).readonly()
|
|
24491
|
+
});
|
|
24492
|
+
var CameraOverrideClearSchema = object({
|
|
24493
|
+
deviceId: number(),
|
|
24494
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24495
|
+
nodeId: string(),
|
|
24496
|
+
deviceKey: string().nullable(),
|
|
24497
|
+
stepId: string(),
|
|
24498
|
+
modelIdBefore: string().nullable(),
|
|
24499
|
+
keys: array(string()).readonly()
|
|
24500
|
+
});
|
|
24501
|
+
var DetectorStoreClearSchema = object({
|
|
24502
|
+
deviceId: number(),
|
|
24503
|
+
keys: array(string()).readonly()
|
|
24504
|
+
});
|
|
24505
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24506
|
+
object({
|
|
24507
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24508
|
+
skippedNodes: array(string()).readonly()
|
|
24509
|
+
}),
|
|
24510
|
+
object({
|
|
24511
|
+
kind: literal("detector-store-unreadable"),
|
|
24512
|
+
error: string()
|
|
24513
|
+
}),
|
|
24514
|
+
object({
|
|
24515
|
+
kind: literal("coral-enabled"),
|
|
24516
|
+
nodeId: string(),
|
|
24517
|
+
deviceKey: string()
|
|
24518
|
+
})
|
|
24519
|
+
]);
|
|
24520
|
+
var AutoTuneOptionsSchema = object({
|
|
24521
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24522
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24523
|
+
/**
|
|
24524
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24525
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24526
|
+
* that reaches it wins.
|
|
24527
|
+
*/
|
|
24528
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24529
|
+
});
|
|
24530
|
+
var AutoTunePlanSchema = object({
|
|
24531
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24532
|
+
planHash: string(),
|
|
24533
|
+
family: literal("yolov9"),
|
|
24534
|
+
headroom: number(),
|
|
24535
|
+
minSessionsPerDevice: number(),
|
|
24536
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24537
|
+
cameraFps: number(),
|
|
24538
|
+
generatedAt: number(),
|
|
24539
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24540
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24541
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24542
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24543
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24544
|
+
});
|
|
24545
|
+
var AutoTuneApplyInputSchema = object({
|
|
24546
|
+
planHash: string(),
|
|
24547
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24548
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24549
|
+
});
|
|
24550
|
+
var AutoTunePhaseResultSchema = object({
|
|
24551
|
+
phase: _enum([
|
|
24552
|
+
"download",
|
|
24553
|
+
"camera-overrides",
|
|
24554
|
+
"detector-thresholds",
|
|
24555
|
+
"node-models",
|
|
24556
|
+
"redispatch"
|
|
24557
|
+
]),
|
|
24558
|
+
ok: boolean(),
|
|
24559
|
+
detail: string()
|
|
24560
|
+
});
|
|
24561
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24562
|
+
object({
|
|
24563
|
+
kind: literal("applied"),
|
|
24564
|
+
planHash: string(),
|
|
24565
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24566
|
+
}),
|
|
24567
|
+
object({
|
|
24568
|
+
kind: literal("aborted"),
|
|
24569
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24570
|
+
}),
|
|
24571
|
+
object({
|
|
24572
|
+
kind: literal("stale"),
|
|
24573
|
+
plan: AutoTunePlanSchema
|
|
24574
|
+
}),
|
|
24575
|
+
object({
|
|
24576
|
+
kind: literal("refused"),
|
|
24577
|
+
reason: _enum(["apply-in-progress"])
|
|
24578
|
+
})
|
|
24579
|
+
]);
|
|
24580
|
+
/**
|
|
24581
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24582
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24583
|
+
* hardware share suggestion and the stale device pins.
|
|
24584
|
+
*/
|
|
24585
|
+
/**
|
|
24586
|
+
* How a new detection session picks its node and device.
|
|
24587
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24588
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24589
|
+
* weight only bites once a node already holds a session.
|
|
24590
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24591
|
+
* full or drowning node yields to a free one (D748).
|
|
24592
|
+
*/
|
|
24593
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24594
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24595
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24596
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24597
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24598
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24599
|
+
});
|
|
24600
|
+
var PlacementStatsInputSchema = object({
|
|
24601
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24602
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24603
|
+
var PlacementDeviceStatsSchema = object({
|
|
24604
|
+
deviceKey: string(),
|
|
24605
|
+
/** Sessions running on this device now. */
|
|
24606
|
+
sessionsNow: number(),
|
|
24607
|
+
/** Sessions started on this device inside the window. */
|
|
24608
|
+
sessionsStarted: number(),
|
|
24609
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24610
|
+
observedShare: number().nullable()
|
|
24611
|
+
});
|
|
24612
|
+
var PlacementNodeStatsSchema = object({
|
|
24613
|
+
nodeId: string(),
|
|
24614
|
+
sessionsNow: number(),
|
|
24615
|
+
sessionsStarted: number(),
|
|
24616
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24617
|
+
observedShare: number().nullable(),
|
|
24618
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24619
|
+
peakSessions: number(),
|
|
24620
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24621
|
+
yieldsAway: number(),
|
|
24622
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24623
|
+
});
|
|
24624
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24625
|
+
var StaleDevicePinSchema = object({
|
|
24626
|
+
deviceId: number(),
|
|
24627
|
+
deviceKey: string(),
|
|
24628
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24629
|
+
reason: _enum(["disabled", "absent"])
|
|
24630
|
+
});
|
|
24631
|
+
var PlacementStatsSchema = object({
|
|
24632
|
+
policy: SessionPlacementPolicySchema,
|
|
24633
|
+
windowMs: number(),
|
|
24634
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24635
|
+
observedForMs: number(),
|
|
24636
|
+
sessionsNow: number(),
|
|
24637
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24638
|
+
clusterPeakSessions: number(),
|
|
24639
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24640
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24641
|
+
});
|
|
24642
|
+
/**
|
|
24643
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24644
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24645
|
+
* the measured latency table for the node's hardware class.
|
|
24646
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24647
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24648
|
+
*/
|
|
24649
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24650
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24651
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24652
|
+
var SuggestSharesInputSchema = object({
|
|
24653
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24654
|
+
/** Default `hardware`. */
|
|
24655
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24656
|
+
});
|
|
24657
|
+
var SuggestedDeviceShareSchema = object({
|
|
24658
|
+
deviceKey: string(),
|
|
24659
|
+
/** Share of the node (0–100, rounded). */
|
|
24660
|
+
share: number(),
|
|
24661
|
+
modelId: string().nullable(),
|
|
24662
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24663
|
+
fps: number().nullable(),
|
|
24664
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24665
|
+
measured: boolean(),
|
|
24666
|
+
/**
|
|
24667
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24668
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24669
|
+
*/
|
|
24670
|
+
suggestedMaxSessions: number().nullable()
|
|
24671
|
+
});
|
|
24672
|
+
var SuggestedNodeShareSchema = object({
|
|
24673
|
+
nodeId: string(),
|
|
24674
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24675
|
+
share: number().nullable(),
|
|
24676
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24677
|
+
capacitySessions: number(),
|
|
24678
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24679
|
+
skippedReason: string().nullable(),
|
|
24680
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24681
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24682
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24683
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24684
|
+
});
|
|
24685
|
+
var SuggestSharesResultSchema = object({
|
|
24686
|
+
headroom: number(),
|
|
24687
|
+
/** The source asked for; each node says what it actually used. */
|
|
24688
|
+
source: CapacitySourceSchema,
|
|
24689
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24690
|
+
cameraFps: number(),
|
|
24691
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24692
|
+
minSessionsPerDevice: number(),
|
|
24693
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24694
|
+
});
|
|
24695
|
+
/**
|
|
24696
|
+
* Where the node and device shares come from (D750, D755).
|
|
24697
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24698
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24699
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24700
|
+
* switched on or off, or changes model. No load input.
|
|
24701
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24702
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24703
|
+
* - `manual` — the operator's stored sliders.
|
|
24704
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24705
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24706
|
+
*/
|
|
24707
|
+
var ShareSourceSchema = _enum([
|
|
24708
|
+
"hardware",
|
|
24709
|
+
"benchmark",
|
|
24710
|
+
"manual"
|
|
24711
|
+
]);
|
|
24712
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24713
|
+
object({
|
|
24714
|
+
nodes: record(string(), number()),
|
|
24715
|
+
devices: record(string(), record(string(), number()))
|
|
24716
|
+
});
|
|
24717
|
+
var EffectiveDeviceShareSchema = object({
|
|
24718
|
+
deviceKey: string(),
|
|
24719
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24720
|
+
eligible: boolean(),
|
|
24721
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24722
|
+
configuredPct: number(),
|
|
24723
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24724
|
+
effectivePct: number()
|
|
24725
|
+
});
|
|
24726
|
+
var EffectiveNodeShareSchema = object({
|
|
24727
|
+
nodeId: string(),
|
|
24728
|
+
eligible: boolean(),
|
|
24729
|
+
configuredPct: number(),
|
|
24730
|
+
effectivePct: number(),
|
|
24731
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24732
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24733
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24734
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24735
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24736
|
+
});
|
|
24737
|
+
var EffectiveSharesSchema = object({
|
|
24738
|
+
source: ShareSourceSchema,
|
|
24739
|
+
policy: SessionPlacementPolicySchema,
|
|
24740
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24741
|
+
autoPending: boolean(),
|
|
24742
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24743
|
+
computedAt: number().nullable(),
|
|
24744
|
+
/** What made the system recompute them last. */
|
|
24745
|
+
trigger: string().nullable(),
|
|
24746
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24747
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24748
|
+
nodeWeights: record(string(), number()),
|
|
24749
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24750
|
+
});
|
|
24402
24751
|
object({
|
|
24403
24752
|
activeCameras: number(),
|
|
24404
24753
|
throttledCameras: number(),
|
|
@@ -25316,14 +25665,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25316
25665
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25317
25666
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25318
25667
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25319
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25320
|
-
* per
|
|
25668
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25669
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25670
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25671
|
+
* (D762).
|
|
25321
25672
|
*/
|
|
25322
25673
|
devices: array(object({
|
|
25323
25674
|
deviceKey: string(),
|
|
25324
25675
|
backend: string(),
|
|
25325
|
-
attachedCameras: number()
|
|
25326
|
-
queueDepthTotal: number()
|
|
25676
|
+
attachedCameras: number()
|
|
25327
25677
|
})).default([]),
|
|
25328
25678
|
/** Hardware capability flags reported by this node. */
|
|
25329
25679
|
hardware: object({
|
|
@@ -25537,14 +25887,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25537
25887
|
settings: record(string(), unknown()).readonly().optional()
|
|
25538
25888
|
}).nullable().optional()
|
|
25539
25889
|
});
|
|
25540
|
-
var PipelineTemplateSchema = object({
|
|
25541
|
-
id: string(),
|
|
25542
|
-
name: string(),
|
|
25543
|
-
description: string().optional(),
|
|
25544
|
-
config: CameraPipelineConfigSchema,
|
|
25545
|
-
createdAt: string(),
|
|
25546
|
-
updatedAt: string()
|
|
25547
|
-
});
|
|
25548
25890
|
var DeviceStepConfigSchema = object({
|
|
25549
25891
|
modelId: string().optional(),
|
|
25550
25892
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25618,9 +25960,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25618
25960
|
modelId: string().optional(),
|
|
25619
25961
|
settings: record(string(), unknown()).readonly().optional()
|
|
25620
25962
|
});
|
|
25963
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25621
25964
|
var CameraPipelineSettingsSchema = object({
|
|
25622
|
-
pinnedAgentNodeId: string().optional(),
|
|
25623
25965
|
stepToggles: record(string(), boolean()).optional(),
|
|
25966
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25624
25967
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25625
25968
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25626
25969
|
});
|
|
@@ -25653,7 +25996,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25653
25996
|
});
|
|
25654
25997
|
/**
|
|
25655
25998
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25656
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25999
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
26000
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
26001
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
26002
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25657
26003
|
*/
|
|
25658
26004
|
var AgentLoadSummarySchema = object({
|
|
25659
26005
|
nodeId: string(),
|
|
@@ -25742,26 +26088,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25742
26088
|
width: number(),
|
|
25743
26089
|
height: number(),
|
|
25744
26090
|
subscribers: number(),
|
|
25745
|
-
|
|
25746
|
-
|
|
26091
|
+
/**
|
|
26092
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
26093
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26094
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26095
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26096
|
+
* camera and is not served (D758).
|
|
26097
|
+
*/
|
|
26098
|
+
inFps: number().nullable()
|
|
25747
26099
|
})).readonly(),
|
|
25748
26100
|
webrtcSessions: number(),
|
|
25749
26101
|
rtspRestream: boolean()
|
|
25750
26102
|
});
|
|
25751
|
-
/**
|
|
25752
|
-
|
|
25753
|
-
|
|
25754
|
-
|
|
25755
|
-
|
|
25756
|
-
|
|
25757
|
-
|
|
25758
|
-
|
|
25759
|
-
var CameraDecoderStatusSchema = object({
|
|
25760
|
-
nodeId: string(),
|
|
25761
|
-
formats: array(string()).readonly(),
|
|
25762
|
-
sessionCount: number(),
|
|
25763
|
-
shm: CameraDecoderShmSchema
|
|
25764
|
-
});
|
|
26103
|
+
/**
|
|
26104
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26105
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26106
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26107
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26108
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26109
|
+
* detector), never from a counter nothing feeds.
|
|
26110
|
+
*/
|
|
26111
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25765
26112
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25766
26113
|
var CameraMotionStatusSchema = object({
|
|
25767
26114
|
enabled: boolean(),
|
|
@@ -26118,12 +26465,6 @@ method(object({
|
|
|
26118
26465
|
}), object({ success: literal(true) }), {
|
|
26119
26466
|
kind: "mutation",
|
|
26120
26467
|
auth: "admin"
|
|
26121
|
-
}), method(object({
|
|
26122
|
-
agentNodeId: string(),
|
|
26123
|
-
detectWeight: number().positive().nullable()
|
|
26124
|
-
}), object({ success: literal(true) }), {
|
|
26125
|
-
kind: "mutation",
|
|
26126
|
-
auth: "admin"
|
|
26127
26468
|
}), method(object({
|
|
26128
26469
|
agentNodeId: string(),
|
|
26129
26470
|
detect: boolean().nullable().optional(),
|
|
@@ -26165,6 +26506,15 @@ method(object({
|
|
|
26165
26506
|
}), {
|
|
26166
26507
|
kind: "mutation",
|
|
26167
26508
|
auth: "admin"
|
|
26509
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26510
|
+
kind: "mutation",
|
|
26511
|
+
auth: "admin"
|
|
26512
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26513
|
+
kind: "mutation",
|
|
26514
|
+
auth: "admin"
|
|
26515
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26516
|
+
kind: "mutation",
|
|
26517
|
+
auth: "admin"
|
|
26168
26518
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26169
26519
|
deviceId: number(),
|
|
26170
26520
|
addonId: string(),
|
|
@@ -26181,6 +26531,13 @@ method(object({
|
|
|
26181
26531
|
}), object({ success: literal(true) }), {
|
|
26182
26532
|
kind: "mutation",
|
|
26183
26533
|
auth: "admin"
|
|
26534
|
+
}), method(object({
|
|
26535
|
+
deviceId: number(),
|
|
26536
|
+
addonId: string(),
|
|
26537
|
+
settings: record(string(), unknown()).nullable()
|
|
26538
|
+
}), object({ success: literal(true) }), {
|
|
26539
|
+
kind: "mutation",
|
|
26540
|
+
auth: "admin"
|
|
26184
26541
|
}), method(object({
|
|
26185
26542
|
deviceId: number(),
|
|
26186
26543
|
agentNodeId: string(),
|
|
@@ -26204,25 +26561,7 @@ method(object({
|
|
|
26204
26561
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26205
26562
|
kind: "mutation",
|
|
26206
26563
|
auth: "admin"
|
|
26207
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26208
|
-
name: string(),
|
|
26209
|
-
description: string().optional(),
|
|
26210
|
-
config: CameraPipelineConfigSchema
|
|
26211
|
-
}), PipelineTemplateSchema, {
|
|
26212
|
-
kind: "mutation",
|
|
26213
|
-
auth: "admin"
|
|
26214
|
-
}), method(object({
|
|
26215
|
-
id: string(),
|
|
26216
|
-
name: string().optional(),
|
|
26217
|
-
description: string().optional(),
|
|
26218
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26219
|
-
}), PipelineTemplateSchema, {
|
|
26220
|
-
kind: "mutation",
|
|
26221
|
-
auth: "admin"
|
|
26222
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26223
|
-
kind: "mutation",
|
|
26224
|
-
auth: "admin"
|
|
26225
|
-
});
|
|
26564
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26226
26565
|
/**
|
|
26227
26566
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26228
26567
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26812,7 +27151,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26812
27151
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26813
27152
|
* operator already consented to.
|
|
26814
27153
|
*/
|
|
26815
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
27154
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
27155
|
+
/**
|
|
27156
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
27157
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
27158
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
27159
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
27160
|
+
*/
|
|
27161
|
+
linkIntent: string().optional(),
|
|
27162
|
+
/**
|
|
27163
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
27164
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
27165
|
+
*/
|
|
27166
|
+
issuer: string().optional()
|
|
26816
27167
|
});
|
|
26817
27168
|
method(object({
|
|
26818
27169
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -28471,8 +28822,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28471
28822
|
]).nullable(),
|
|
28472
28823
|
/** Input FPS from the camera (null for adaptive). */
|
|
28473
28824
|
inputFps: number().nullable(),
|
|
28474
|
-
/** Decoded FPS (null for adaptive). */
|
|
28475
|
-
decodeFps: number().nullable(),
|
|
28476
28825
|
/** Bitrate in kbps (null for adaptive). */
|
|
28477
28826
|
bitrateKbps: number().nullable()
|
|
28478
28827
|
});
|
|
@@ -28749,7 +29098,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28749
29098
|
* field their hints were silently stripped by the schema and the
|
|
28750
29099
|
* adaptive ladder started blind on the client's display size.
|
|
28751
29100
|
*/
|
|
28752
|
-
hints: webrtcClientHintsSchema.optional()
|
|
29101
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
29102
|
+
/**
|
|
29103
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
29104
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
29105
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
29106
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
29107
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
29108
|
+
*
|
|
29109
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
29110
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
29111
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
29112
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
29113
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
29114
|
+
* flag must not become a second door to the camera's speaker.
|
|
29115
|
+
*/
|
|
29116
|
+
talkback: boolean().optional()
|
|
28753
29117
|
}), object({
|
|
28754
29118
|
sessionId: string(),
|
|
28755
29119
|
sdpAnswer: string()
|
|
@@ -29123,6 +29487,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29123
29487
|
var RestartAddonResultSchema = unknown();
|
|
29124
29488
|
var InstallPackageResultSchema = unknown();
|
|
29125
29489
|
var ReloadPackagesResultSchema = unknown();
|
|
29490
|
+
/**
|
|
29491
|
+
* What an uninstall did on ONE node.
|
|
29492
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29493
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29494
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29495
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29496
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29497
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29498
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29499
|
+
*/
|
|
29500
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29501
|
+
"uninstalled",
|
|
29502
|
+
"not-installed",
|
|
29503
|
+
"refused",
|
|
29504
|
+
"failed",
|
|
29505
|
+
"pending-reconnect"
|
|
29506
|
+
]);
|
|
29507
|
+
var UninstallNodeResultSchema = object({
|
|
29508
|
+
nodeId: string(),
|
|
29509
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29510
|
+
error: string().optional(),
|
|
29511
|
+
addonIds: array(string()).readonly(),
|
|
29512
|
+
runnersStopped: array(string()).readonly(),
|
|
29513
|
+
warnings: array(string()).readonly()
|
|
29514
|
+
});
|
|
29515
|
+
var UninstallPackageResultSchema = object({
|
|
29516
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29517
|
+
success: boolean(),
|
|
29518
|
+
packageName: string(),
|
|
29519
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29520
|
+
});
|
|
29521
|
+
/**
|
|
29522
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29523
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29524
|
+
*/
|
|
29525
|
+
var PackageInstallationsSchema = object({
|
|
29526
|
+
installations: array(object({
|
|
29527
|
+
packageName: string(),
|
|
29528
|
+
nodeId: string(),
|
|
29529
|
+
nodeName: string(),
|
|
29530
|
+
isHub: boolean(),
|
|
29531
|
+
isOnline: boolean(),
|
|
29532
|
+
version: string().nullable(),
|
|
29533
|
+
addonIds: array(string()).readonly(),
|
|
29534
|
+
source: _enum(["live", "recorded"]),
|
|
29535
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29536
|
+
onHub: boolean()
|
|
29537
|
+
})).readonly(),
|
|
29538
|
+
unreachable: array(object({
|
|
29539
|
+
nodeId: string(),
|
|
29540
|
+
error: string()
|
|
29541
|
+
})).readonly()
|
|
29542
|
+
});
|
|
29126
29543
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29127
29544
|
"queued",
|
|
29128
29545
|
"updating",
|
|
@@ -29205,10 +29622,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29205
29622
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29206
29623
|
kind: "mutation",
|
|
29207
29624
|
auth: "admin"
|
|
29208
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29625
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29626
|
+
packageName: string().min(1),
|
|
29627
|
+
nodeId: string().optional(),
|
|
29628
|
+
everywhere: boolean().optional()
|
|
29629
|
+
}), UninstallPackageResultSchema, {
|
|
29209
29630
|
kind: "mutation",
|
|
29210
29631
|
auth: "admin"
|
|
29211
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29632
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29212
29633
|
kind: "mutation",
|
|
29213
29634
|
auth: "admin"
|
|
29214
29635
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -32791,7 +33212,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32791
33212
|
localPort: AdvertisedLocalPortSchema
|
|
32792
33213
|
});
|
|
32793
33214
|
/**
|
|
32794
|
-
* The address flagged for notification
|
|
33215
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32795
33216
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32796
33217
|
* so the UI can show it either way.
|
|
32797
33218
|
*/
|
|
@@ -32826,8 +33247,8 @@ var ViewerEndpointsSchema = object({
|
|
|
32826
33247
|
});
|
|
32827
33248
|
/**
|
|
32828
33249
|
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
32829
|
-
*
|
|
32830
|
-
*
|
|
33250
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
33251
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
32831
33252
|
*/
|
|
32832
33253
|
var HubAddressSnapshotSchema = object({
|
|
32833
33254
|
override: string().nullable(),
|
|
@@ -32843,15 +33264,11 @@ var HubAddressesSchema = object({
|
|
|
32843
33264
|
browser: HubAddressSnapshotSchema
|
|
32844
33265
|
});
|
|
32845
33266
|
/**
|
|
32846
|
-
* What an address is used for (`hub-address.ts
|
|
32847
|
-
* `
|
|
33267
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
33268
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
33269
|
+
* by at most one address.
|
|
32848
33270
|
*/
|
|
32849
|
-
var HubAddressRoleSchema = _enum(
|
|
32850
|
-
"viewer",
|
|
32851
|
-
"notifications",
|
|
32852
|
-
"agents",
|
|
32853
|
-
"signIn"
|
|
32854
|
-
]);
|
|
33271
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
32855
33272
|
var RoleSourceSchema = _enum([
|
|
32856
33273
|
"flagged",
|
|
32857
33274
|
"auto",
|
|
@@ -32865,8 +33282,8 @@ var HubAddressRoleResolutionSchema = object({
|
|
|
32865
33282
|
resolved: string().nullable(),
|
|
32866
33283
|
source: RoleSourceSchema
|
|
32867
33284
|
});
|
|
32868
|
-
var
|
|
32869
|
-
/** The addresses flagged `
|
|
33285
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
33286
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
32870
33287
|
flagged: array(string()).readonly(),
|
|
32871
33288
|
/** What the apps race right now. */
|
|
32872
33289
|
resolved: array(string()).readonly(),
|
|
@@ -32886,10 +33303,10 @@ var HubAddressBookSchema = object({
|
|
|
32886
33303
|
eligible: array(HubAddressRoleSchema).readonly()
|
|
32887
33304
|
})).readonly(),
|
|
32888
33305
|
roles: object({
|
|
32889
|
-
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
|
|
33306
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
33307
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
33308
|
+
internal: HubAddressRoleResolutionSchema,
|
|
33309
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
32893
33310
|
}),
|
|
32894
33311
|
/** The `hub=` an app link carries (D709), or null. */
|
|
32895
33312
|
appLinkHub: string().nullable()
|
|
@@ -32937,7 +33354,7 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32937
33354
|
* tunnel always emits `https://` regardless. */
|
|
32938
33355
|
scheme: _enum(["http", "https"]).optional(),
|
|
32939
33356
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32940
|
-
* an address notification
|
|
33357
|
+
* an address notification taps can be flagged with, not a hub
|
|
32941
33358
|
* route. Default `false`: racers and rankers never see it. */
|
|
32942
33359
|
includeAppLink: boolean().optional()
|
|
32943
33360
|
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
@@ -39148,6 +39565,32 @@ var TotpStatusSchema = object({
|
|
|
39148
39565
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
39149
39566
|
confirmedAt: number().nullable()
|
|
39150
39567
|
});
|
|
39568
|
+
/**
|
|
39569
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
39570
|
+
* and scoped tokens.
|
|
39571
|
+
*
|
|
39572
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
39573
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
39574
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
39575
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
39576
|
+
* provider.
|
|
39577
|
+
*/
|
|
39578
|
+
var ExternalIdentitySchema = object({
|
|
39579
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
39580
|
+
provider: string(),
|
|
39581
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
39582
|
+
subject: string(),
|
|
39583
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
39584
|
+
issuer: string(),
|
|
39585
|
+
userId: string(),
|
|
39586
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
39587
|
+
label: string().optional(),
|
|
39588
|
+
linkedAt: number()
|
|
39589
|
+
});
|
|
39590
|
+
var ExternalIdentityKeySchema = object({
|
|
39591
|
+
provider: string().min(1),
|
|
39592
|
+
subject: string().min(1)
|
|
39593
|
+
});
|
|
39151
39594
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
39152
39595
|
kind: "mutation",
|
|
39153
39596
|
auth: "admin",
|
|
@@ -39261,7 +39704,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
39261
39704
|
userId: string(),
|
|
39262
39705
|
username: string(),
|
|
39263
39706
|
scopes: array(TokenScopeSchema)
|
|
39264
|
-
}).nullable(), { access: "view" }), method(
|
|
39707
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
39708
|
+
userId: string(),
|
|
39709
|
+
issuer: string()
|
|
39710
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
39711
|
+
userId: string(),
|
|
39712
|
+
issuer: string().min(1),
|
|
39713
|
+
label: string().optional()
|
|
39714
|
+
}), object({ success: literal(true) }), {
|
|
39715
|
+
kind: "mutation",
|
|
39716
|
+
auth: "admin",
|
|
39717
|
+
access: "create"
|
|
39718
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
39719
|
+
kind: "mutation",
|
|
39720
|
+
auth: "admin",
|
|
39721
|
+
access: "delete"
|
|
39722
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
39265
39723
|
kind: "mutation",
|
|
39266
39724
|
auth: "admin",
|
|
39267
39725
|
access: "delete"
|
|
@@ -39963,6 +40421,16 @@ var zoneRulesCapability = {
|
|
|
39963
40421
|
durability: "restored"
|
|
39964
40422
|
};
|
|
39965
40423
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
40424
|
+
Object.freeze({
|
|
40425
|
+
person: .5,
|
|
40426
|
+
vehicle: .5,
|
|
40427
|
+
animal: .5
|
|
40428
|
+
});
|
|
40429
|
+
Object.freeze({
|
|
40430
|
+
person: .65,
|
|
40431
|
+
vehicle: .65,
|
|
40432
|
+
animal: .65
|
|
40433
|
+
});
|
|
39966
40434
|
/**
|
|
39967
40435
|
* Accessory device helpers — shared across drivers.
|
|
39968
40436
|
*
|
|
@@ -41661,6 +42129,12 @@ Object.freeze({
|
|
|
41661
42129
|
addonId: null,
|
|
41662
42130
|
access: "view"
|
|
41663
42131
|
},
|
|
42132
|
+
"addons.listInstallations": {
|
|
42133
|
+
capName: "addons",
|
|
42134
|
+
capScope: "system",
|
|
42135
|
+
addonId: null,
|
|
42136
|
+
access: "view"
|
|
42137
|
+
},
|
|
41664
42138
|
"addons.listJobs": {
|
|
41665
42139
|
capName: "addons",
|
|
41666
42140
|
capScope: "system",
|
|
@@ -42843,90 +43317,18 @@ Object.freeze({
|
|
|
42843
43317
|
addonId: null,
|
|
42844
43318
|
access: "create"
|
|
42845
43319
|
},
|
|
42846
|
-
"decoder.createSession": {
|
|
42847
|
-
capName: "decoder",
|
|
42848
|
-
capScope: "system",
|
|
42849
|
-
addonId: null,
|
|
42850
|
-
access: "view"
|
|
42851
|
-
},
|
|
42852
|
-
"decoder.destroySession": {
|
|
42853
|
-
capName: "decoder",
|
|
42854
|
-
capScope: "system",
|
|
42855
|
-
addonId: null,
|
|
42856
|
-
access: "delete"
|
|
42857
|
-
},
|
|
42858
|
-
"decoder.getFrame": {
|
|
42859
|
-
capName: "decoder",
|
|
42860
|
-
capScope: "system",
|
|
42861
|
-
addonId: null,
|
|
42862
|
-
access: "view"
|
|
42863
|
-
},
|
|
42864
43320
|
"decoder.getInfo": {
|
|
42865
43321
|
capName: "decoder",
|
|
42866
43322
|
capScope: "system",
|
|
42867
43323
|
addonId: null,
|
|
42868
43324
|
access: "view"
|
|
42869
43325
|
},
|
|
42870
|
-
"decoder.getShmStats": {
|
|
42871
|
-
capName: "decoder",
|
|
42872
|
-
capScope: "system",
|
|
42873
|
-
addonId: null,
|
|
42874
|
-
access: "view"
|
|
42875
|
-
},
|
|
42876
|
-
"decoder.getStats": {
|
|
42877
|
-
capName: "decoder",
|
|
42878
|
-
capScope: "system",
|
|
42879
|
-
addonId: null,
|
|
42880
|
-
access: "view"
|
|
42881
|
-
},
|
|
42882
|
-
"decoder.listActiveSessions": {
|
|
42883
|
-
capName: "decoder",
|
|
42884
|
-
capScope: "system",
|
|
42885
|
-
addonId: null,
|
|
42886
|
-
access: "view"
|
|
42887
|
-
},
|
|
42888
|
-
"decoder.openStream": {
|
|
42889
|
-
capName: "decoder",
|
|
42890
|
-
capScope: "system",
|
|
42891
|
-
addonId: null,
|
|
42892
|
-
access: "view"
|
|
42893
|
-
},
|
|
42894
|
-
"decoder.pullFrames": {
|
|
42895
|
-
capName: "decoder",
|
|
42896
|
-
capScope: "system",
|
|
42897
|
-
addonId: null,
|
|
42898
|
-
access: "view"
|
|
42899
|
-
},
|
|
42900
|
-
"decoder.pullHandles": {
|
|
42901
|
-
capName: "decoder",
|
|
42902
|
-
capScope: "system",
|
|
42903
|
-
addonId: null,
|
|
42904
|
-
access: "view"
|
|
42905
|
-
},
|
|
42906
|
-
"decoder.pushPacket": {
|
|
42907
|
-
capName: "decoder",
|
|
42908
|
-
capScope: "system",
|
|
42909
|
-
addonId: null,
|
|
42910
|
-
access: "view"
|
|
42911
|
-
},
|
|
42912
43326
|
"decoder.reprobeHwaccel": {
|
|
42913
43327
|
capName: "decoder",
|
|
42914
43328
|
capScope: "system",
|
|
42915
43329
|
addonId: null,
|
|
42916
43330
|
access: "create"
|
|
42917
43331
|
},
|
|
42918
|
-
"decoder.supportsCodec": {
|
|
42919
|
-
capName: "decoder",
|
|
42920
|
-
capScope: "system",
|
|
42921
|
-
addonId: null,
|
|
42922
|
-
access: "view"
|
|
42923
|
-
},
|
|
42924
|
-
"decoder.updateConfig": {
|
|
42925
|
-
capName: "decoder",
|
|
42926
|
-
capScope: "system",
|
|
42927
|
-
addonId: null,
|
|
42928
|
-
access: "view"
|
|
42929
|
-
},
|
|
42930
43332
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
42931
43333
|
capName: "detection-pipeline",
|
|
42932
43334
|
capScope: "device",
|
|
@@ -45957,6 +46359,12 @@ Object.freeze({
|
|
|
45957
46359
|
addonId: null,
|
|
45958
46360
|
access: "create"
|
|
45959
46361
|
},
|
|
46362
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
46363
|
+
capName: "pipeline-analytics",
|
|
46364
|
+
capScope: "device",
|
|
46365
|
+
addonId: null,
|
|
46366
|
+
access: "create"
|
|
46367
|
+
},
|
|
45960
46368
|
"pipelineAnalytics.setTrackFlags": {
|
|
45961
46369
|
capName: "pipeline-analytics",
|
|
45962
46370
|
capScope: "device",
|
|
@@ -45993,6 +46401,12 @@ Object.freeze({
|
|
|
45993
46401
|
addonId: null,
|
|
45994
46402
|
access: "delete"
|
|
45995
46403
|
},
|
|
46404
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
46405
|
+
capName: "pipeline-analytics",
|
|
46406
|
+
capScope: "device",
|
|
46407
|
+
addonId: null,
|
|
46408
|
+
access: "create"
|
|
46409
|
+
},
|
|
45996
46410
|
"pipelineExecutor.cacheFrameInPool": {
|
|
45997
46411
|
capName: "pipeline-executor",
|
|
45998
46412
|
capScope: "system",
|
|
@@ -46005,13 +46419,13 @@ Object.freeze({
|
|
|
46005
46419
|
addonId: null,
|
|
46006
46420
|
access: "delete"
|
|
46007
46421
|
},
|
|
46008
|
-
"pipelineExecutor.
|
|
46422
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46009
46423
|
capName: "pipeline-executor",
|
|
46010
46424
|
capScope: "system",
|
|
46011
46425
|
addonId: null,
|
|
46012
46426
|
access: "delete"
|
|
46013
46427
|
},
|
|
46014
|
-
"pipelineExecutor.
|
|
46428
|
+
"pipelineExecutor.deleteModel": {
|
|
46015
46429
|
capName: "pipeline-executor",
|
|
46016
46430
|
capScope: "system",
|
|
46017
46431
|
addonId: null,
|
|
@@ -46155,12 +46569,6 @@ Object.freeze({
|
|
|
46155
46569
|
addonId: null,
|
|
46156
46570
|
access: "view"
|
|
46157
46571
|
},
|
|
46158
|
-
"pipelineExecutor.listTemplates": {
|
|
46159
|
-
capName: "pipeline-executor",
|
|
46160
|
-
capScope: "system",
|
|
46161
|
-
addonId: null,
|
|
46162
|
-
access: "view"
|
|
46163
|
-
},
|
|
46164
46572
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
46165
46573
|
capName: "pipeline-executor",
|
|
46166
46574
|
capScope: "system",
|
|
@@ -46185,12 +46593,6 @@ Object.freeze({
|
|
|
46185
46593
|
addonId: null,
|
|
46186
46594
|
access: "create"
|
|
46187
46595
|
},
|
|
46188
|
-
"pipelineExecutor.saveTemplate": {
|
|
46189
|
-
capName: "pipeline-executor",
|
|
46190
|
-
capScope: "system",
|
|
46191
|
-
addonId: null,
|
|
46192
|
-
access: "create"
|
|
46193
|
-
},
|
|
46194
46596
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
46195
46597
|
capName: "pipeline-executor",
|
|
46196
46598
|
capScope: "system",
|
|
@@ -46209,41 +46611,35 @@ Object.freeze({
|
|
|
46209
46611
|
addonId: null,
|
|
46210
46612
|
access: "create"
|
|
46211
46613
|
},
|
|
46212
|
-
"pipelineExecutor.updateTemplate": {
|
|
46213
|
-
capName: "pipeline-executor",
|
|
46214
|
-
capScope: "system",
|
|
46215
|
-
addonId: null,
|
|
46216
|
-
access: "create"
|
|
46217
|
-
},
|
|
46218
46614
|
"pipelineExecutor.validatePipeline": {
|
|
46219
46615
|
capName: "pipeline-executor",
|
|
46220
46616
|
capScope: "system",
|
|
46221
46617
|
addonId: null,
|
|
46222
46618
|
access: "view"
|
|
46223
46619
|
},
|
|
46224
|
-
"pipelineOrchestrator.
|
|
46620
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46225
46621
|
capName: "pipeline-orchestrator",
|
|
46226
46622
|
capScope: "system",
|
|
46227
46623
|
addonId: null,
|
|
46228
46624
|
access: "create"
|
|
46229
46625
|
},
|
|
46230
|
-
"pipelineOrchestrator.
|
|
46626
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
46231
46627
|
capName: "pipeline-orchestrator",
|
|
46232
46628
|
capScope: "system",
|
|
46233
46629
|
addonId: null,
|
|
46234
46630
|
access: "create"
|
|
46235
46631
|
},
|
|
46236
|
-
"pipelineOrchestrator.
|
|
46632
|
+
"pipelineOrchestrator.assignAudio": {
|
|
46237
46633
|
capName: "pipeline-orchestrator",
|
|
46238
46634
|
capScope: "system",
|
|
46239
46635
|
addonId: null,
|
|
46240
46636
|
access: "create"
|
|
46241
46637
|
},
|
|
46242
|
-
"pipelineOrchestrator.
|
|
46638
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
46243
46639
|
capName: "pipeline-orchestrator",
|
|
46244
46640
|
capScope: "system",
|
|
46245
46641
|
addonId: null,
|
|
46246
|
-
access: "
|
|
46642
|
+
access: "create"
|
|
46247
46643
|
},
|
|
46248
46644
|
"pipelineOrchestrator.getAgentLoad": {
|
|
46249
46645
|
capName: "pipeline-orchestrator",
|
|
@@ -46335,6 +46731,12 @@ Object.freeze({
|
|
|
46335
46731
|
addonId: null,
|
|
46336
46732
|
access: "view"
|
|
46337
46733
|
},
|
|
46734
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46735
|
+
capName: "pipeline-orchestrator",
|
|
46736
|
+
capScope: "system",
|
|
46737
|
+
addonId: null,
|
|
46738
|
+
access: "view"
|
|
46739
|
+
},
|
|
46338
46740
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
46339
46741
|
capName: "pipeline-orchestrator",
|
|
46340
46742
|
capScope: "system",
|
|
@@ -46371,19 +46773,19 @@ Object.freeze({
|
|
|
46371
46773
|
addonId: null,
|
|
46372
46774
|
access: "view"
|
|
46373
46775
|
},
|
|
46374
|
-
"pipelineOrchestrator.
|
|
46776
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
46375
46777
|
capName: "pipeline-orchestrator",
|
|
46376
46778
|
capScope: "system",
|
|
46377
46779
|
addonId: null,
|
|
46378
46780
|
access: "view"
|
|
46379
46781
|
},
|
|
46380
|
-
"pipelineOrchestrator.
|
|
46782
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
46381
46783
|
capName: "pipeline-orchestrator",
|
|
46382
46784
|
capScope: "system",
|
|
46383
46785
|
addonId: null,
|
|
46384
46786
|
access: "view"
|
|
46385
46787
|
},
|
|
46386
|
-
"pipelineOrchestrator.
|
|
46788
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
46387
46789
|
capName: "pipeline-orchestrator",
|
|
46388
46790
|
capScope: "system",
|
|
46389
46791
|
addonId: null,
|
|
@@ -46395,6 +46797,12 @@ Object.freeze({
|
|
|
46395
46797
|
addonId: null,
|
|
46396
46798
|
access: "create"
|
|
46397
46799
|
},
|
|
46800
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46801
|
+
capName: "pipeline-orchestrator",
|
|
46802
|
+
capScope: "system",
|
|
46803
|
+
addonId: null,
|
|
46804
|
+
access: "view"
|
|
46805
|
+
},
|
|
46398
46806
|
"pipelineOrchestrator.rebalance": {
|
|
46399
46807
|
capName: "pipeline-orchestrator",
|
|
46400
46808
|
capScope: "system",
|
|
@@ -46437,12 +46845,6 @@ Object.freeze({
|
|
|
46437
46845
|
addonId: null,
|
|
46438
46846
|
access: "create"
|
|
46439
46847
|
},
|
|
46440
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
46441
|
-
capName: "pipeline-orchestrator",
|
|
46442
|
-
capScope: "system",
|
|
46443
|
-
addonId: null,
|
|
46444
|
-
access: "create"
|
|
46445
|
-
},
|
|
46446
46848
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
46447
46849
|
capName: "pipeline-orchestrator",
|
|
46448
46850
|
capScope: "system",
|
|
@@ -46455,12 +46857,6 @@ Object.freeze({
|
|
|
46455
46857
|
addonId: null,
|
|
46456
46858
|
access: "create"
|
|
46457
46859
|
},
|
|
46458
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
46459
|
-
capName: "pipeline-orchestrator",
|
|
46460
|
-
capScope: "system",
|
|
46461
|
-
addonId: null,
|
|
46462
|
-
access: "create"
|
|
46463
|
-
},
|
|
46464
46860
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
46465
46861
|
capName: "pipeline-orchestrator",
|
|
46466
46862
|
capScope: "system",
|
|
@@ -46497,6 +46893,12 @@ Object.freeze({
|
|
|
46497
46893
|
addonId: null,
|
|
46498
46894
|
access: "create"
|
|
46499
46895
|
},
|
|
46896
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
46897
|
+
capName: "pipeline-orchestrator",
|
|
46898
|
+
capScope: "system",
|
|
46899
|
+
addonId: null,
|
|
46900
|
+
access: "create"
|
|
46901
|
+
},
|
|
46500
46902
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
46501
46903
|
capName: "pipeline-orchestrator",
|
|
46502
46904
|
capScope: "system",
|
|
@@ -46515,25 +46917,37 @@ Object.freeze({
|
|
|
46515
46917
|
addonId: null,
|
|
46516
46918
|
access: "create"
|
|
46517
46919
|
},
|
|
46920
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46921
|
+
capName: "pipeline-orchestrator",
|
|
46922
|
+
capScope: "system",
|
|
46923
|
+
addonId: null,
|
|
46924
|
+
access: "create"
|
|
46925
|
+
},
|
|
46518
46926
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
46519
46927
|
capName: "pipeline-orchestrator",
|
|
46520
46928
|
capScope: "system",
|
|
46521
46929
|
addonId: null,
|
|
46522
46930
|
access: "create"
|
|
46523
46931
|
},
|
|
46524
|
-
"pipelineOrchestrator.
|
|
46932
|
+
"pipelineOrchestrator.setShareSource": {
|
|
46525
46933
|
capName: "pipeline-orchestrator",
|
|
46526
46934
|
capScope: "system",
|
|
46527
46935
|
addonId: null,
|
|
46528
46936
|
access: "create"
|
|
46529
46937
|
},
|
|
46530
|
-
"pipelineOrchestrator.
|
|
46938
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46939
|
+
capName: "pipeline-orchestrator",
|
|
46940
|
+
capScope: "system",
|
|
46941
|
+
addonId: null,
|
|
46942
|
+
access: "view"
|
|
46943
|
+
},
|
|
46944
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
46531
46945
|
capName: "pipeline-orchestrator",
|
|
46532
46946
|
capScope: "system",
|
|
46533
46947
|
addonId: null,
|
|
46534
46948
|
access: "create"
|
|
46535
46949
|
},
|
|
46536
|
-
"pipelineOrchestrator.
|
|
46950
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
46537
46951
|
capName: "pipeline-orchestrator",
|
|
46538
46952
|
capScope: "system",
|
|
46539
46953
|
addonId: null,
|
|
@@ -47973,12 +48387,6 @@ Object.freeze({
|
|
|
47973
48387
|
addonId: null,
|
|
47974
48388
|
access: "view"
|
|
47975
48389
|
},
|
|
47976
|
-
"streamBroker.pullFrameHandles": {
|
|
47977
|
-
capName: "stream-broker",
|
|
47978
|
-
capScope: "system",
|
|
47979
|
-
addonId: null,
|
|
47980
|
-
access: "view"
|
|
47981
|
-
},
|
|
47982
48390
|
"streamBroker.regenerateRtspToken": {
|
|
47983
48391
|
capName: "stream-broker",
|
|
47984
48392
|
capScope: "system",
|
|
@@ -48045,12 +48453,6 @@ Object.freeze({
|
|
|
48045
48453
|
addonId: null,
|
|
48046
48454
|
access: "create"
|
|
48047
48455
|
},
|
|
48048
|
-
"streamBroker.subscribeFrames": {
|
|
48049
|
-
capName: "stream-broker",
|
|
48050
|
-
capScope: "system",
|
|
48051
|
-
addonId: null,
|
|
48052
|
-
access: "create"
|
|
48053
|
-
},
|
|
48054
48456
|
"streamBroker.unassignProfile": {
|
|
48055
48457
|
capName: "stream-broker",
|
|
48056
48458
|
capScope: "system",
|
|
@@ -48063,12 +48465,6 @@ Object.freeze({
|
|
|
48063
48465
|
addonId: null,
|
|
48064
48466
|
access: "create"
|
|
48065
48467
|
},
|
|
48066
|
-
"streamBroker.unsubscribeFrames": {
|
|
48067
|
-
capName: "stream-broker",
|
|
48068
|
-
capScope: "system",
|
|
48069
|
-
addonId: null,
|
|
48070
|
-
access: "create"
|
|
48071
|
-
},
|
|
48072
48468
|
"streamCatalog.getCatalog": {
|
|
48073
48469
|
capName: "stream-catalog",
|
|
48074
48470
|
capScope: "device",
|
|
@@ -48363,18 +48759,36 @@ Object.freeze({
|
|
|
48363
48759
|
addonId: null,
|
|
48364
48760
|
access: "delete"
|
|
48365
48761
|
},
|
|
48762
|
+
"userManagement.findUserByExternalIdentity": {
|
|
48763
|
+
capName: "user-management",
|
|
48764
|
+
capScope: "system",
|
|
48765
|
+
addonId: null,
|
|
48766
|
+
access: "view"
|
|
48767
|
+
},
|
|
48366
48768
|
"userManagement.getTotpStatus": {
|
|
48367
48769
|
capName: "user-management",
|
|
48368
48770
|
capScope: "system",
|
|
48369
48771
|
addonId: null,
|
|
48370
48772
|
access: "view"
|
|
48371
48773
|
},
|
|
48774
|
+
"userManagement.linkExternalIdentity": {
|
|
48775
|
+
capName: "user-management",
|
|
48776
|
+
capScope: "system",
|
|
48777
|
+
addonId: null,
|
|
48778
|
+
access: "create"
|
|
48779
|
+
},
|
|
48372
48780
|
"userManagement.listApiKeys": {
|
|
48373
48781
|
capName: "user-management",
|
|
48374
48782
|
capScope: "system",
|
|
48375
48783
|
addonId: null,
|
|
48376
48784
|
access: "view"
|
|
48377
48785
|
},
|
|
48786
|
+
"userManagement.listExternalIdentities": {
|
|
48787
|
+
capName: "user-management",
|
|
48788
|
+
capScope: "system",
|
|
48789
|
+
addonId: null,
|
|
48790
|
+
access: "view"
|
|
48791
|
+
},
|
|
48378
48792
|
"userManagement.listOauthSessions": {
|
|
48379
48793
|
capName: "user-management",
|
|
48380
48794
|
capScope: "system",
|
|
@@ -48453,6 +48867,12 @@ Object.freeze({
|
|
|
48453
48867
|
addonId: null,
|
|
48454
48868
|
access: "create"
|
|
48455
48869
|
},
|
|
48870
|
+
"userManagement.unlinkExternalIdentity": {
|
|
48871
|
+
capName: "user-management",
|
|
48872
|
+
capScope: "system",
|
|
48873
|
+
addonId: null,
|
|
48874
|
+
access: "delete"
|
|
48875
|
+
},
|
|
48456
48876
|
"userManagement.updateUser": {
|
|
48457
48877
|
capName: "user-management",
|
|
48458
48878
|
capScope: "system",
|
|
@@ -50582,11 +51002,6 @@ Object.freeze({
|
|
|
50582
51002
|
form: "single",
|
|
50583
51003
|
optional: false
|
|
50584
51004
|
}],
|
|
50585
|
-
"decoder.createSession": [{
|
|
50586
|
-
name: "deviceId",
|
|
50587
|
-
form: "single",
|
|
50588
|
-
optional: true
|
|
50589
|
-
}],
|
|
50590
51005
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
50591
51006
|
name: "deviceId",
|
|
50592
51007
|
form: "single",
|
|
@@ -51797,6 +52212,11 @@ Object.freeze({
|
|
|
51797
52212
|
form: "single",
|
|
51798
52213
|
optional: false
|
|
51799
52214
|
}],
|
|
52215
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
52216
|
+
name: "deviceId",
|
|
52217
|
+
form: "single",
|
|
52218
|
+
optional: false
|
|
52219
|
+
}],
|
|
51800
52220
|
"pipelineAnalytics.setTrackFlags": [{
|
|
51801
52221
|
name: "deviceId",
|
|
51802
52222
|
form: "single",
|
|
@@ -51817,6 +52237,11 @@ Object.freeze({
|
|
|
51817
52237
|
form: "single",
|
|
51818
52238
|
optional: false
|
|
51819
52239
|
}],
|
|
52240
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
52241
|
+
name: "deviceIds",
|
|
52242
|
+
form: "array",
|
|
52243
|
+
optional: true
|
|
52244
|
+
}],
|
|
51820
52245
|
"pipelineExecutor.runPipeline": [{
|
|
51821
52246
|
name: "deviceId",
|
|
51822
52247
|
form: "single",
|
|
@@ -51922,6 +52347,11 @@ Object.freeze({
|
|
|
51922
52347
|
form: "single",
|
|
51923
52348
|
optional: false
|
|
51924
52349
|
}],
|
|
52350
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
52351
|
+
name: "deviceId",
|
|
52352
|
+
form: "single",
|
|
52353
|
+
optional: false
|
|
52354
|
+
}],
|
|
51925
52355
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
51926
52356
|
name: "deviceId",
|
|
51927
52357
|
form: "single",
|