@camstack/addon-auth 1.2.130 → 1.2.131
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/{hub-browser-origin-B1o5vmQX.mjs → hub-browser-origin-BRU-HVqq.mjs} +906 -482
- package/dist/{hub-browser-origin-C-u2l9VC.js → hub-browser-origin-CCWSbHYb.js} +911 -481
- package/dist/magic-link/auth-magic-link.addon.js +122 -24
- package/dist/magic-link/auth-magic-link.addon.mjs +122 -24
- package/dist/oidc/auth-oidc.addon.js +60 -30
- package/dist/oidc/auth-oidc.addon.mjs +60 -30
- package/dist/webauthn/_stub.js +1 -1
- package/dist/webauthn/{_virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-v7lvfZM3.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_auth_webauthn_widgets-DjJfFQA5.mjs} +3 -3
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CMFCCqdv.mjs +26 -0
- package/dist/webauthn/auth-webauthn.addon.js +1 -1
- package/dist/webauthn/auth-webauthn.addon.mjs +1 -1
- package/dist/webauthn/{hostInit-DEFeGgRf.mjs → hostInit-BCMxziLA.mjs} +3 -3
- package/dist/webauthn/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/webauthn/_virtual_mf___mfe_internal__addon_auth_webauthn_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bifweq9M.mjs +0 -26
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("node:crypto");
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -500,15 +500,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
500
500
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
501
501
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
502
502
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
503
|
-
/**
|
|
504
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
505
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
506
|
-
* `createSession`, so running sessions keep their current backend until
|
|
507
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
508
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
509
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
510
|
-
*/
|
|
511
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
512
503
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
513
504
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
514
505
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5379,7 +5370,7 @@ var ZodIssueCode = {
|
|
|
5379
5370
|
var ZodFirstPartyTypeKind;
|
|
5380
5371
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5381
5372
|
//#endregion
|
|
5382
|
-
//#region ../types/dist/sleep-
|
|
5373
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5383
5374
|
/**
|
|
5384
5375
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5385
5376
|
* window to float samples (D455).
|
|
@@ -6745,32 +6736,12 @@ object({
|
|
|
6745
6736
|
audioCodec: string().optional(),
|
|
6746
6737
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6747
6738
|
});
|
|
6748
|
-
var EncodedPacketSchema = object({
|
|
6749
|
-
type: _enum(["video", "audio"]),
|
|
6750
|
-
data: _instanceof(Uint8Array),
|
|
6751
|
-
pts: number(),
|
|
6752
|
-
dts: number(),
|
|
6753
|
-
keyframe: boolean(),
|
|
6754
|
-
codec: string()
|
|
6755
|
-
});
|
|
6756
|
-
var DecodedFrameSchema = object({
|
|
6757
|
-
data: _instanceof(Uint8Array),
|
|
6758
|
-
width: number(),
|
|
6759
|
-
height: number(),
|
|
6760
|
-
format: _enum([
|
|
6761
|
-
"jpeg",
|
|
6762
|
-
"rgb",
|
|
6763
|
-
"bgr",
|
|
6764
|
-
"yuv420",
|
|
6765
|
-
"gray"
|
|
6766
|
-
]),
|
|
6767
|
-
timestamp: number()
|
|
6768
|
-
});
|
|
6769
6739
|
/**
|
|
6770
6740
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6771
6741
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6772
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6773
|
-
*
|
|
6742
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6743
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6744
|
+
* over tRPC / Moleculer.
|
|
6774
6745
|
*
|
|
6775
6746
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6776
6747
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6796,50 +6767,6 @@ var FrameHandleSchema = object({
|
|
|
6796
6767
|
slotCount: number().int().positive()
|
|
6797
6768
|
});
|
|
6798
6769
|
/**
|
|
6799
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6800
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6801
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6802
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6803
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6804
|
-
*/
|
|
6805
|
-
var FrameHandleFormatSchema = _enum([
|
|
6806
|
-
"rgb",
|
|
6807
|
-
"bgr",
|
|
6808
|
-
"yuv420",
|
|
6809
|
-
"gray"
|
|
6810
|
-
]);
|
|
6811
|
-
/**
|
|
6812
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6813
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6814
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6815
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6816
|
-
* they asked for with no broker-side conversion.
|
|
6817
|
-
*/
|
|
6818
|
-
var SubscribeFramesInputSchema = object({
|
|
6819
|
-
brokerId: string(),
|
|
6820
|
-
format: FrameHandleFormatSchema,
|
|
6821
|
-
/**
|
|
6822
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6823
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6824
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6825
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6826
|
-
*/
|
|
6827
|
-
maxFps: number().positive().optional(),
|
|
6828
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6829
|
-
tag: string().optional()
|
|
6830
|
-
});
|
|
6831
|
-
/**
|
|
6832
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6833
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6834
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6835
|
-
*/
|
|
6836
|
-
var SubscribeFramesResultSchema = object({
|
|
6837
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6838
|
-
subscriptionId: string(),
|
|
6839
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6840
|
-
maxFps: number().nonnegative()
|
|
6841
|
-
});
|
|
6842
|
-
/**
|
|
6843
6770
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6844
6771
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6845
6772
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6847,8 +6774,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6847
6774
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6848
6775
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6849
6776
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6850
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6851
|
-
*
|
|
6777
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6778
|
+
* it.
|
|
6852
6779
|
*/
|
|
6853
6780
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6854
6781
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6866,11 +6793,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6866
6793
|
format: AudioChunkFormatSchema.optional()
|
|
6867
6794
|
});
|
|
6868
6795
|
/**
|
|
6869
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6870
|
-
*
|
|
6871
|
-
*
|
|
6872
|
-
*
|
|
6873
|
-
* `pullAudioChunks`.
|
|
6796
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6797
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6798
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6799
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6874
6800
|
*/
|
|
6875
6801
|
var SubscribeAudioChunksInputSchema = object({
|
|
6876
6802
|
brokerId: string(),
|
|
@@ -6901,9 +6827,7 @@ var BrokerStatsSchema = object({
|
|
|
6901
6827
|
"stopped"
|
|
6902
6828
|
]),
|
|
6903
6829
|
inputFps: number(),
|
|
6904
|
-
decodeFps: number(),
|
|
6905
6830
|
encodedSubscribers: number(),
|
|
6906
|
-
decodedSubscribers: number(),
|
|
6907
6831
|
uptimeMs: number(),
|
|
6908
6832
|
bitrateKbps: number(),
|
|
6909
6833
|
idrIntervalMs: number(),
|
|
@@ -6916,14 +6840,6 @@ var BrokerStatsSchema = object({
|
|
|
6916
6840
|
preBufferMs: number(),
|
|
6917
6841
|
preBufferPackets: number(),
|
|
6918
6842
|
/**
|
|
6919
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6920
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6921
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6922
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6923
|
-
* a separate cap call per broker.
|
|
6924
|
-
*/
|
|
6925
|
-
decoderNodeId: string().nullable(),
|
|
6926
|
-
/**
|
|
6927
6843
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6928
6844
|
* when the stream has no audio track or the broker is in cold start.
|
|
6929
6845
|
* `supported = false` means the codec was detected but the local
|
|
@@ -8389,8 +8305,8 @@ function buildAddonRouteProvider(id, routes) {
|
|
|
8389
8305
|
const reply = buildCapturingReply(envelope);
|
|
8390
8306
|
const request = {
|
|
8391
8307
|
params: {
|
|
8392
|
-
...
|
|
8393
|
-
...
|
|
8308
|
+
...match.params,
|
|
8309
|
+
...input.params
|
|
8394
8310
|
},
|
|
8395
8311
|
query: input.query,
|
|
8396
8312
|
body: input.body,
|
|
@@ -10372,70 +10288,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10372
10288
|
"backup"
|
|
10373
10289
|
]).optional()
|
|
10374
10290
|
});
|
|
10375
|
-
var DecoderStatsSchema = object({
|
|
10376
|
-
inputFps: number(),
|
|
10377
|
-
outputFps: number(),
|
|
10378
|
-
avgDecodeTimeMs: number(),
|
|
10379
|
-
droppedFrames: number(),
|
|
10380
|
-
/**
|
|
10381
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10382
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10383
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10384
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10385
|
-
*/
|
|
10386
|
-
lagMs: number().optional(),
|
|
10387
|
-
effectiveFps: number().optional(),
|
|
10388
|
-
adaptiveFps: number().optional()
|
|
10389
|
-
});
|
|
10390
|
-
var DecoderSessionConfigSchema = object({
|
|
10391
|
-
codec: string(),
|
|
10392
|
-
maxFps: number().default(0),
|
|
10393
|
-
outputFormat: _enum([
|
|
10394
|
-
"jpeg",
|
|
10395
|
-
"rgb",
|
|
10396
|
-
"bgr",
|
|
10397
|
-
"yuv420",
|
|
10398
|
-
"gray"
|
|
10399
|
-
]).default("jpeg"),
|
|
10400
|
-
scale: number().default(1),
|
|
10401
|
-
width: number().optional(),
|
|
10402
|
-
height: number().optional(),
|
|
10403
|
-
/**
|
|
10404
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10405
|
-
* because the cap is generic (any caller could request decode), but
|
|
10406
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10407
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10408
|
-
* sendPacket errors on a single hung camera).
|
|
10409
|
-
*/
|
|
10410
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10411
|
-
/**
|
|
10412
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10413
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10414
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10415
|
-
* profile cleanly.
|
|
10416
|
-
*/
|
|
10417
|
-
tag: string().optional(),
|
|
10418
|
-
/**
|
|
10419
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10420
|
-
*
|
|
10421
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10422
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10423
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10424
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10425
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10426
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10427
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10428
|
-
*/
|
|
10429
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10430
|
-
/**
|
|
10431
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10432
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10433
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10434
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10435
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10436
|
-
*/
|
|
10437
|
-
debug: boolean().optional()
|
|
10438
|
-
});
|
|
10439
10291
|
/**
|
|
10440
10292
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10441
10293
|
* an addon declares its channels in.
|
|
@@ -10586,7 +10438,18 @@ var LABEL_SUPPLY_STEP_IDS = [
|
|
|
10586
10438
|
];
|
|
10587
10439
|
/** Steps whose box a root detection can BE. */
|
|
10588
10440
|
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10589
|
-
|
|
10441
|
+
/**
|
|
10442
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10443
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10444
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10445
|
+
* no camera tree carries.)
|
|
10446
|
+
*/
|
|
10447
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10448
|
+
[
|
|
10449
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10450
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10451
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10452
|
+
];
|
|
10590
10453
|
var MODEL_FORMATS = [
|
|
10591
10454
|
"onnx",
|
|
10592
10455
|
"coreml",
|
|
@@ -10615,7 +10478,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10615
10478
|
/** Multi-file payload (directory members or sibling files). */
|
|
10616
10479
|
files: array(string()).readonly().optional(),
|
|
10617
10480
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10618
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10481
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10482
|
+
/**
|
|
10483
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10484
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10485
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10486
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10487
|
+
* node records the revision it downloaded next to the file
|
|
10488
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10489
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10490
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10491
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10492
|
+
*/
|
|
10493
|
+
revision: string().min(1).optional()
|
|
10494
|
+
});
|
|
10495
|
+
/**
|
|
10496
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10497
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10498
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10499
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10500
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10501
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10502
|
+
*/
|
|
10503
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10504
|
+
"current",
|
|
10505
|
+
"stale",
|
|
10506
|
+
"missing"
|
|
10507
|
+
]);
|
|
10508
|
+
/**
|
|
10509
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10510
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10511
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10512
|
+
*/
|
|
10513
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10514
|
+
"fp32",
|
|
10515
|
+
"fp16",
|
|
10516
|
+
"int8"
|
|
10517
|
+
]);
|
|
10518
|
+
/**
|
|
10519
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10520
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10521
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10522
|
+
*/
|
|
10523
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10524
|
+
downloaded: boolean(),
|
|
10525
|
+
sizeMB: number(),
|
|
10526
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10527
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10619
10528
|
});
|
|
10620
10529
|
/**
|
|
10621
10530
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10729,25 +10638,36 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10729
10638
|
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10730
10639
|
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10731
10640
|
* child of the `parentMacro` detection that contains it — never a track.
|
|
10641
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10642
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10643
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10644
|
+
* postprocessor on read, never stored by an import.
|
|
10732
10645
|
*/
|
|
10733
|
-
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10646
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10647
|
+
object({
|
|
10648
|
+
kind: literal("label"),
|
|
10649
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10650
|
+
labelToEffect: record(string(), string()),
|
|
10651
|
+
uncovered: array(string()).readonly()
|
|
10652
|
+
}),
|
|
10653
|
+
object({
|
|
10654
|
+
kind: literal("crop"),
|
|
10655
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10656
|
+
rootLabels: array(string()).readonly(),
|
|
10657
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10658
|
+
childClass: _enum(["plate", "face"]),
|
|
10659
|
+
/**
|
|
10660
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10661
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10662
|
+
* stored by an import.
|
|
10663
|
+
*/
|
|
10664
|
+
rootInputPx: number().int().positive().optional()
|
|
10665
|
+
}),
|
|
10666
|
+
object({
|
|
10667
|
+
kind: literal("mask"),
|
|
10668
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10669
|
+
})
|
|
10670
|
+
]);
|
|
10751
10671
|
var ModelCatalogEntrySchema = object({
|
|
10752
10672
|
id: string(),
|
|
10753
10673
|
name: string(),
|
|
@@ -10813,6 +10733,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10813
10733
|
*/
|
|
10814
10734
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10815
10735
|
/**
|
|
10736
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10737
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10738
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10739
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10740
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10741
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10742
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10743
|
+
*/
|
|
10744
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10745
|
+
/**
|
|
10746
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10747
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10748
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10749
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10750
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10751
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10752
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10753
|
+
*/
|
|
10754
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10755
|
+
/**
|
|
10756
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10757
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10758
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10759
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10760
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10761
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10762
|
+
*/
|
|
10763
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10764
|
+
/**
|
|
10816
10765
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10817
10766
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10818
10767
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -12536,13 +12485,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12536
12485
|
lastRtpAt: number(),
|
|
12537
12486
|
bytesSent: number()
|
|
12538
12487
|
});
|
|
12539
|
-
var BrokerDecodedClientSchema = object({
|
|
12540
|
-
tag: string(),
|
|
12541
|
-
subscribedAt: number(),
|
|
12542
|
-
maxFps: number(),
|
|
12543
|
-
framesDelivered: number(),
|
|
12544
|
-
framesDropped: number()
|
|
12545
|
-
});
|
|
12546
12488
|
var BrokerAudioClientSchema = object({
|
|
12547
12489
|
tag: string(),
|
|
12548
12490
|
subscribedAt: number(),
|
|
@@ -12634,7 +12576,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12634
12576
|
});
|
|
12635
12577
|
var BrokerClientsSchema = object({
|
|
12636
12578
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12637
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12638
12579
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12639
12580
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12640
12581
|
pipeClients: number(),
|
|
@@ -13003,11 +12944,7 @@ method(object({
|
|
|
13003
12944
|
auth: "admin"
|
|
13004
12945
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13005
12946
|
brokerId: string(),
|
|
13006
|
-
channel: _enum([
|
|
13007
|
-
"rtsp",
|
|
13008
|
-
"decoded",
|
|
13009
|
-
"audio"
|
|
13010
|
-
]),
|
|
12947
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13011
12948
|
handle: string()
|
|
13012
12949
|
}), object({ killed: boolean() }), {
|
|
13013
12950
|
kind: "mutation",
|
|
@@ -13042,10 +12979,7 @@ method(object({
|
|
|
13042
12979
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13043
12980
|
subscriptionId: string(),
|
|
13044
12981
|
maxCount: number().int().positive().default(8)
|
|
13045
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13046
|
-
subscriptionId: string(),
|
|
13047
|
-
maxCount: number().int().positive().default(4)
|
|
13048
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12982
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13049
12983
|
brokerId: string(),
|
|
13050
12984
|
seconds: number().min(0).max(30)
|
|
13051
12985
|
}), _void(), {
|
|
@@ -14202,54 +14136,12 @@ id: union([string(), number()]) }), {
|
|
|
14202
14136
|
kind: "mutation",
|
|
14203
14137
|
auth: "admin"
|
|
14204
14138
|
});
|
|
14205
|
-
|
|
14206
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14207
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14208
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14209
|
-
*/
|
|
14210
|
-
var ShmRingStatsSchema = object({
|
|
14211
|
-
sessionId: string(),
|
|
14212
|
-
slotCount: number().int(),
|
|
14213
|
-
slotByteLength: number().int(),
|
|
14214
|
-
segmentBytes: number().int(),
|
|
14215
|
-
budgetMb: number().int(),
|
|
14216
|
-
framesWritten: number().int(),
|
|
14217
|
-
getFrameHits: number().int(),
|
|
14218
|
-
getFrameMisses: number().int()
|
|
14219
|
-
});
|
|
14220
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14139
|
+
method(_void(), object({
|
|
14221
14140
|
id: string(),
|
|
14222
14141
|
name: string(),
|
|
14223
|
-
isPullMode: boolean().optional(),
|
|
14224
|
-
priority: number().optional(),
|
|
14225
14142
|
hwaccel: string().optional(),
|
|
14226
14143
|
probedBestHwaccel: string().optional()
|
|
14227
|
-
})), method(
|
|
14228
|
-
sessionId: string(),
|
|
14229
|
-
nodeId: string()
|
|
14230
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14231
|
-
sessionId: string(),
|
|
14232
|
-
packet: EncodedPacketSchema
|
|
14233
|
-
}), _void()), method(object({
|
|
14234
|
-
sessionId: string(),
|
|
14235
|
-
url: string()
|
|
14236
|
-
}), _void()), method(object({
|
|
14237
|
-
sessionId: string(),
|
|
14238
|
-
maxCount: number().default(1),
|
|
14239
|
-
waitMs: number().optional()
|
|
14240
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14241
|
-
sessionId: string(),
|
|
14242
|
-
maxCount: number().default(1),
|
|
14243
|
-
waitMs: number().optional()
|
|
14244
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14245
|
-
sessionId: string(),
|
|
14246
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14247
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14248
|
-
sessionId: string(),
|
|
14249
|
-
codec: string(),
|
|
14250
|
-
outputFormat: string(),
|
|
14251
|
-
createdAtMs: number()
|
|
14252
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14144
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14253
14145
|
kind: "mutation",
|
|
14254
14146
|
auth: "admin"
|
|
14255
14147
|
});
|
|
@@ -15061,6 +14953,10 @@ var DeviceInfoSchema = object({
|
|
|
15061
14953
|
isCamera: boolean(),
|
|
15062
14954
|
/** Current config values — serializable snapshot */
|
|
15063
14955
|
config: record(string(), unknown()),
|
|
14956
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14957
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14958
|
+
* when the owning runner has not reported them. */
|
|
14959
|
+
secretConfigPaths: array(string()).optional(),
|
|
15064
14960
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15065
14961
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15066
14962
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15266,7 +15162,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15266
15162
|
* call (workers re-register on init), so probe-driven updates
|
|
15267
15163
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15268
15164
|
features: array(string()).optional(),
|
|
15269
|
-
config: record(string(), unknown())
|
|
15165
|
+
config: record(string(), unknown()),
|
|
15166
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15167
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15168
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15169
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15170
|
+
* omits it and the keyword backstop applies. */
|
|
15171
|
+
secretConfigPaths: array(string()).optional()
|
|
15270
15172
|
});
|
|
15271
15173
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15272
15174
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16925,7 +16827,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
16925
16827
|
icon: string().optional(),
|
|
16926
16828
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16927
16829
|
startUrl: string(),
|
|
16928
|
-
stage: LoginStageEnum
|
|
16830
|
+
stage: LoginStageEnum,
|
|
16831
|
+
/**
|
|
16832
|
+
* The provider names an external identity a signed-in user can link to
|
|
16833
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16834
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16835
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16836
|
+
*/
|
|
16837
|
+
linkable: boolean().optional()
|
|
16929
16838
|
}),
|
|
16930
16839
|
object({
|
|
16931
16840
|
kind: literal("widget"),
|
|
@@ -21277,8 +21186,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21277
21186
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21278
21187
|
stepId: "face-embedding",
|
|
21279
21188
|
key: "minLandmarkFaceSize",
|
|
21280
|
-
label: "Min face size
|
|
21281
|
-
description: "
|
|
21189
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21190
|
+
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.",
|
|
21282
21191
|
type: "slider",
|
|
21283
21192
|
min: 0,
|
|
21284
21193
|
max: 64,
|
|
@@ -22330,7 +22239,13 @@ var RetrainFrameSchema = object({
|
|
|
22330
22239
|
sizeBytes: number().int(),
|
|
22331
22240
|
width: number().int(),
|
|
22332
22241
|
height: number().int(),
|
|
22333
|
-
copiedAt: number()
|
|
22242
|
+
copiedAt: number(),
|
|
22243
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22244
|
+
capturedAt: number().optional(),
|
|
22245
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22246
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22247
|
+
* a false positive. */
|
|
22248
|
+
complete: boolean()
|
|
22334
22249
|
});
|
|
22335
22250
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22336
22251
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22351,6 +22266,51 @@ var RetrainFrameListSchema = object({
|
|
|
22351
22266
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22352
22267
|
autoPickMediaId: number().int().optional()
|
|
22353
22268
|
});
|
|
22269
|
+
/**
|
|
22270
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22271
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22272
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22273
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22274
|
+
* export carried (`exportedInBatch`).
|
|
22275
|
+
*/
|
|
22276
|
+
var RetrainExportFilterSchema = object({
|
|
22277
|
+
deviceIds: array(number()).optional(),
|
|
22278
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22279
|
+
batchId: string().optional(),
|
|
22280
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22281
|
+
completeOnly: boolean().optional()
|
|
22282
|
+
});
|
|
22283
|
+
/**
|
|
22284
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22285
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22286
|
+
* convention — the classifier layout.
|
|
22287
|
+
*/
|
|
22288
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22289
|
+
/**
|
|
22290
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22291
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22292
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22293
|
+
* logged.
|
|
22294
|
+
*/
|
|
22295
|
+
var RetrainArchiveTargetSchema = object({
|
|
22296
|
+
kind: literal("http"),
|
|
22297
|
+
method: _enum(["PUT", "POST"]),
|
|
22298
|
+
url: string().url(),
|
|
22299
|
+
headers: record(string(), string()).optional()
|
|
22300
|
+
});
|
|
22301
|
+
var RetrainArchiveResultSchema = object({
|
|
22302
|
+
batchId: string(),
|
|
22303
|
+
frames: number().int(),
|
|
22304
|
+
crops: number().int(),
|
|
22305
|
+
annotations: number().int(),
|
|
22306
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22307
|
+
missing: number().int(),
|
|
22308
|
+
bytes: number().int(),
|
|
22309
|
+
/** sha256 of the exact bytes sent. */
|
|
22310
|
+
sha256: string(),
|
|
22311
|
+
/** The target's HTTP status. */
|
|
22312
|
+
status: number().int()
|
|
22313
|
+
});
|
|
22354
22314
|
/** What the operator asked the assist to look for. */
|
|
22355
22315
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22356
22316
|
kind: literal("package"),
|
|
@@ -23145,9 +23105,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23145
23105
|
}), RetrainTransitionResultSchema, {
|
|
23146
23106
|
kind: "mutation",
|
|
23147
23107
|
auth: "admin"
|
|
23148
|
-
}), method(
|
|
23108
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23149
23109
|
kind: "query",
|
|
23150
23110
|
auth: "admin"
|
|
23111
|
+
}), method(object({
|
|
23112
|
+
deviceId: number(),
|
|
23113
|
+
trackId: string(),
|
|
23114
|
+
frameId: string(),
|
|
23115
|
+
complete: boolean()
|
|
23116
|
+
}), RetrainFrameSchema, {
|
|
23117
|
+
kind: "mutation",
|
|
23118
|
+
auth: "admin"
|
|
23119
|
+
}), method(object({
|
|
23120
|
+
filter: RetrainExportFilterSchema,
|
|
23121
|
+
layout: RetrainExportLayoutSchema,
|
|
23122
|
+
target: RetrainArchiveTargetSchema
|
|
23123
|
+
}), RetrainArchiveResultSchema, {
|
|
23124
|
+
kind: "mutation",
|
|
23125
|
+
auth: "admin",
|
|
23126
|
+
timeoutMs: 60 * 6e4
|
|
23151
23127
|
}), method(object({
|
|
23152
23128
|
/** Which of the three event tables owns the row. */
|
|
23153
23129
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23273,7 +23249,7 @@ var FrameRefSchema = object({
|
|
|
23273
23249
|
timestamp: number(),
|
|
23274
23250
|
capturedAt: number().optional()
|
|
23275
23251
|
});
|
|
23276
|
-
var ModelFormatSchema$
|
|
23252
|
+
var ModelFormatSchema$2 = _enum([
|
|
23277
23253
|
"onnx",
|
|
23278
23254
|
"coreml",
|
|
23279
23255
|
"openvino",
|
|
@@ -23291,7 +23267,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23291
23267
|
var PipelineEngineChoiceSchema = object({
|
|
23292
23268
|
runtime: literal("python"),
|
|
23293
23269
|
backend: string(),
|
|
23294
|
-
format: ModelFormatSchema$
|
|
23270
|
+
format: ModelFormatSchema$2,
|
|
23295
23271
|
device: string().optional()
|
|
23296
23272
|
});
|
|
23297
23273
|
/**
|
|
@@ -23330,28 +23306,10 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23330
23306
|
group: string().optional(),
|
|
23331
23307
|
settings: record(string(), unknown()).optional()
|
|
23332
23308
|
}));
|
|
23333
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23334
|
-
addonId: string(),
|
|
23335
|
-
enabled: boolean(),
|
|
23336
|
-
modelId: string(),
|
|
23337
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23338
|
-
settings: record(string(), unknown()).optional()
|
|
23339
|
-
}));
|
|
23340
|
-
var PipelineTemplateSchema$1 = object({
|
|
23341
|
-
id: string(),
|
|
23342
|
-
name: string(),
|
|
23343
|
-
createdAt: string(),
|
|
23344
|
-
updatedAt: string(),
|
|
23345
|
-
engine: PipelineEngineChoiceSchema,
|
|
23346
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23347
|
-
});
|
|
23348
23309
|
var PipelineModelOptionSchema = object({
|
|
23349
23310
|
id: string(),
|
|
23350
23311
|
name: string(),
|
|
23351
|
-
formats: record(string(),
|
|
23352
|
-
downloaded: boolean(),
|
|
23353
|
-
sizeMB: number()
|
|
23354
|
-
})),
|
|
23312
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23355
23313
|
group: ModelVariantGroupSchema.optional(),
|
|
23356
23314
|
legacy: boolean().optional(),
|
|
23357
23315
|
provider: ModelProviderIdSchema.optional(),
|
|
@@ -23518,6 +23476,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23518
23476
|
}), {
|
|
23519
23477
|
kind: "mutation",
|
|
23520
23478
|
auth: "admin"
|
|
23479
|
+
}), method(object({
|
|
23480
|
+
nodeId: string(),
|
|
23481
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23482
|
+
dryRun: boolean()
|
|
23483
|
+
}), object({
|
|
23484
|
+
entries: array(object({
|
|
23485
|
+
deviceId: number(),
|
|
23486
|
+
keys: array(string()).readonly()
|
|
23487
|
+
})).readonly(),
|
|
23488
|
+
refused: array(object({
|
|
23489
|
+
deviceId: number(),
|
|
23490
|
+
reason: string()
|
|
23491
|
+
})).readonly()
|
|
23492
|
+
}), {
|
|
23493
|
+
kind: "mutation",
|
|
23494
|
+
auth: "admin"
|
|
23521
23495
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23522
23496
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23523
23497
|
deviceKey: string(),
|
|
@@ -23543,22 +23517,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23543
23517
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23544
23518
|
steps: array(PipelineStepInputSchema),
|
|
23545
23519
|
deviceKey: string().optional()
|
|
23546
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23547
|
-
name: string(),
|
|
23548
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23549
|
-
engine: PipelineEngineChoiceSchema
|
|
23550
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23551
|
-
id: string(),
|
|
23552
|
-
name: string().optional(),
|
|
23553
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23554
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23520
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23555
23521
|
addonId: string(),
|
|
23556
23522
|
modelId: string(),
|
|
23557
|
-
format: ModelFormatSchema$
|
|
23523
|
+
format: ModelFormatSchema$2
|
|
23558
23524
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23559
23525
|
addonId: string(),
|
|
23560
23526
|
modelId: string(),
|
|
23561
|
-
format: ModelFormatSchema$
|
|
23527
|
+
format: ModelFormatSchema$2
|
|
23562
23528
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23563
23529
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23564
23530
|
frame: FrameInputSchema.optional(),
|
|
@@ -23715,6 +23681,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23715
23681
|
filename: string().optional(),
|
|
23716
23682
|
settings: record(string(), unknown()).optional()
|
|
23717
23683
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23684
|
+
/**
|
|
23685
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23686
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23687
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23688
|
+
* schemas are what crosses the cap boundary.
|
|
23689
|
+
*/
|
|
23690
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23691
|
+
/** The operator's range for it. */
|
|
23692
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23693
|
+
min: 1,
|
|
23694
|
+
max: 8
|
|
23695
|
+
};
|
|
23696
|
+
var HardwareClassIdSchema = _enum([
|
|
23697
|
+
"intel-core-ultra",
|
|
23698
|
+
"intel-n-series",
|
|
23699
|
+
"apple-m-base",
|
|
23700
|
+
"apple-m-pro",
|
|
23701
|
+
"unknown"
|
|
23702
|
+
]);
|
|
23703
|
+
var AcceleratorKindSchema = _enum([
|
|
23704
|
+
"intel-npu",
|
|
23705
|
+
"intel-igpu",
|
|
23706
|
+
"x86-cpu",
|
|
23707
|
+
"arm-cpu",
|
|
23708
|
+
"apple-ane",
|
|
23709
|
+
"coral"
|
|
23710
|
+
]);
|
|
23711
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23712
|
+
object({
|
|
23713
|
+
kind: literal("capacity"),
|
|
23714
|
+
sessions: number(),
|
|
23715
|
+
minSessions: number()
|
|
23716
|
+
}),
|
|
23717
|
+
object({
|
|
23718
|
+
kind: literal("tie-faster"),
|
|
23719
|
+
over: string(),
|
|
23720
|
+
recallDelta: number()
|
|
23721
|
+
}),
|
|
23722
|
+
object({
|
|
23723
|
+
kind: literal("stepped-down"),
|
|
23724
|
+
from: string(),
|
|
23725
|
+
to: string(),
|
|
23726
|
+
limitedBy: string()
|
|
23727
|
+
}),
|
|
23728
|
+
object({
|
|
23729
|
+
kind: literal("no-fit-lightest"),
|
|
23730
|
+
sessions: number(),
|
|
23731
|
+
minSessions: number()
|
|
23732
|
+
}),
|
|
23733
|
+
object({
|
|
23734
|
+
kind: literal("derived-latency"),
|
|
23735
|
+
modelId: string()
|
|
23736
|
+
}),
|
|
23737
|
+
object({ kind: literal("cpu-device") }),
|
|
23738
|
+
object({ kind: literal("coral-untouched") }),
|
|
23739
|
+
object({ kind: literal("device-disabled") }),
|
|
23740
|
+
object({ kind: literal("device-unavailable") }),
|
|
23741
|
+
object({ kind: literal("node-offline") }),
|
|
23742
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23743
|
+
object({
|
|
23744
|
+
kind: literal("no-measured-data"),
|
|
23745
|
+
hardwareClass: HardwareClassIdSchema
|
|
23746
|
+
}),
|
|
23747
|
+
object({
|
|
23748
|
+
kind: literal("no-family-build"),
|
|
23749
|
+
format: ModelFormatSchema$1
|
|
23750
|
+
})
|
|
23751
|
+
]);
|
|
23752
|
+
var DeviceModelChoiceSchema = object({
|
|
23753
|
+
modelId: string(),
|
|
23754
|
+
p50Ms: number(),
|
|
23755
|
+
fps: number(),
|
|
23756
|
+
measured: boolean(),
|
|
23757
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23758
|
+
capacitySessions: number(),
|
|
23759
|
+
personRecall: number()
|
|
23760
|
+
});
|
|
23761
|
+
var DeviceRecommendationSchema = object({
|
|
23762
|
+
deviceKey: string(),
|
|
23763
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23764
|
+
enabled: boolean(),
|
|
23765
|
+
available: boolean(),
|
|
23766
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23767
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23768
|
+
});
|
|
23769
|
+
var NodeRecommendationSchema = object({
|
|
23770
|
+
nodeId: string(),
|
|
23771
|
+
reachable: boolean(),
|
|
23772
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23773
|
+
cpuModel: string().nullable(),
|
|
23774
|
+
skipped: boolean(),
|
|
23775
|
+
acceleratorModelId: string().nullable(),
|
|
23776
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23777
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23778
|
+
});
|
|
23779
|
+
var ModelPinChangeSchema = object({
|
|
23780
|
+
stepId: string(),
|
|
23781
|
+
before: string().nullable(),
|
|
23782
|
+
after: string().nullable()
|
|
23783
|
+
});
|
|
23784
|
+
var NodeDeviceChangeSchema = object({
|
|
23785
|
+
nodeId: string(),
|
|
23786
|
+
deviceKey: string(),
|
|
23787
|
+
madeExplicit: boolean(),
|
|
23788
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23789
|
+
thresholds: array(object({
|
|
23790
|
+
stepId: string(),
|
|
23791
|
+
keys: array(string()).readonly()
|
|
23792
|
+
})).readonly()
|
|
23793
|
+
});
|
|
23794
|
+
var CameraOverrideClearSchema = object({
|
|
23795
|
+
deviceId: number(),
|
|
23796
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23797
|
+
nodeId: string(),
|
|
23798
|
+
deviceKey: string().nullable(),
|
|
23799
|
+
stepId: string(),
|
|
23800
|
+
modelIdBefore: string().nullable(),
|
|
23801
|
+
keys: array(string()).readonly()
|
|
23802
|
+
});
|
|
23803
|
+
var DetectorStoreClearSchema = object({
|
|
23804
|
+
deviceId: number(),
|
|
23805
|
+
keys: array(string()).readonly()
|
|
23806
|
+
});
|
|
23807
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23808
|
+
object({
|
|
23809
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23810
|
+
skippedNodes: array(string()).readonly()
|
|
23811
|
+
}),
|
|
23812
|
+
object({
|
|
23813
|
+
kind: literal("detector-store-unreadable"),
|
|
23814
|
+
error: string()
|
|
23815
|
+
}),
|
|
23816
|
+
object({
|
|
23817
|
+
kind: literal("coral-enabled"),
|
|
23818
|
+
nodeId: string(),
|
|
23819
|
+
deviceKey: string()
|
|
23820
|
+
})
|
|
23821
|
+
]);
|
|
23822
|
+
var AutoTuneOptionsSchema = object({
|
|
23823
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23824
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23825
|
+
/**
|
|
23826
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23827
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23828
|
+
* that reaches it wins.
|
|
23829
|
+
*/
|
|
23830
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23831
|
+
});
|
|
23832
|
+
var AutoTunePlanSchema = object({
|
|
23833
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23834
|
+
planHash: string(),
|
|
23835
|
+
family: literal("yolov9"),
|
|
23836
|
+
headroom: number(),
|
|
23837
|
+
minSessionsPerDevice: number(),
|
|
23838
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23839
|
+
cameraFps: number(),
|
|
23840
|
+
generatedAt: number(),
|
|
23841
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23842
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23843
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23844
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23845
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23846
|
+
});
|
|
23847
|
+
var AutoTuneApplyInputSchema = object({
|
|
23848
|
+
planHash: string(),
|
|
23849
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23850
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23851
|
+
});
|
|
23852
|
+
var AutoTunePhaseResultSchema = object({
|
|
23853
|
+
phase: _enum([
|
|
23854
|
+
"download",
|
|
23855
|
+
"camera-overrides",
|
|
23856
|
+
"detector-thresholds",
|
|
23857
|
+
"node-models",
|
|
23858
|
+
"redispatch"
|
|
23859
|
+
]),
|
|
23860
|
+
ok: boolean(),
|
|
23861
|
+
detail: string()
|
|
23862
|
+
});
|
|
23863
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
23864
|
+
object({
|
|
23865
|
+
kind: literal("applied"),
|
|
23866
|
+
planHash: string(),
|
|
23867
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23868
|
+
}),
|
|
23869
|
+
object({
|
|
23870
|
+
kind: literal("aborted"),
|
|
23871
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23872
|
+
}),
|
|
23873
|
+
object({
|
|
23874
|
+
kind: literal("stale"),
|
|
23875
|
+
plan: AutoTunePlanSchema
|
|
23876
|
+
}),
|
|
23877
|
+
object({
|
|
23878
|
+
kind: literal("refused"),
|
|
23879
|
+
reason: _enum(["apply-in-progress"])
|
|
23880
|
+
})
|
|
23881
|
+
]);
|
|
23882
|
+
/**
|
|
23883
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
23884
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
23885
|
+
* hardware share suggestion and the stale device pins.
|
|
23886
|
+
*/
|
|
23887
|
+
/**
|
|
23888
|
+
* How a new detection session picks its node and device.
|
|
23889
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
23890
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
23891
|
+
* weight only bites once a node already holds a session.
|
|
23892
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
23893
|
+
* full or drowning node yields to a free one (D748).
|
|
23894
|
+
*/
|
|
23895
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
23896
|
+
var LoadBalancingSharesInputSchema = object({
|
|
23897
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
23898
|
+
nodes: record(string(), number().positive()).default({}),
|
|
23899
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
23900
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
23901
|
+
});
|
|
23902
|
+
var PlacementStatsInputSchema = object({
|
|
23903
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
23904
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
23905
|
+
var PlacementDeviceStatsSchema = object({
|
|
23906
|
+
deviceKey: string(),
|
|
23907
|
+
/** Sessions running on this device now. */
|
|
23908
|
+
sessionsNow: number(),
|
|
23909
|
+
/** Sessions started on this device inside the window. */
|
|
23910
|
+
sessionsStarted: number(),
|
|
23911
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
23912
|
+
observedShare: number().nullable()
|
|
23913
|
+
});
|
|
23914
|
+
var PlacementNodeStatsSchema = object({
|
|
23915
|
+
nodeId: string(),
|
|
23916
|
+
sessionsNow: number(),
|
|
23917
|
+
sessionsStarted: number(),
|
|
23918
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
23919
|
+
observedShare: number().nullable(),
|
|
23920
|
+
/** Most sessions this node ran at once inside the window. */
|
|
23921
|
+
peakSessions: number(),
|
|
23922
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
23923
|
+
yieldsAway: number(),
|
|
23924
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
23925
|
+
});
|
|
23926
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
23927
|
+
var StaleDevicePinSchema = object({
|
|
23928
|
+
deviceId: number(),
|
|
23929
|
+
deviceKey: string(),
|
|
23930
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
23931
|
+
reason: _enum(["disabled", "absent"])
|
|
23932
|
+
});
|
|
23933
|
+
var PlacementStatsSchema = object({
|
|
23934
|
+
policy: SessionPlacementPolicySchema,
|
|
23935
|
+
windowMs: number(),
|
|
23936
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
23937
|
+
observedForMs: number(),
|
|
23938
|
+
sessionsNow: number(),
|
|
23939
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
23940
|
+
clusterPeakSessions: number(),
|
|
23941
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
23942
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
23943
|
+
});
|
|
23944
|
+
/**
|
|
23945
|
+
* Where an automatic share's capacity comes from (D755).
|
|
23946
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
23947
|
+
* the measured latency table for the node's hardware class.
|
|
23948
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
23949
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
23950
|
+
*/
|
|
23951
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
23952
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
23953
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
23954
|
+
var SuggestSharesInputSchema = object({
|
|
23955
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23956
|
+
/** Default `hardware`. */
|
|
23957
|
+
source: CapacitySourceSchema.default("hardware")
|
|
23958
|
+
});
|
|
23959
|
+
var SuggestedDeviceShareSchema = object({
|
|
23960
|
+
deviceKey: string(),
|
|
23961
|
+
/** Share of the node (0–100, rounded). */
|
|
23962
|
+
share: number(),
|
|
23963
|
+
modelId: string().nullable(),
|
|
23964
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
23965
|
+
fps: number().nullable(),
|
|
23966
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
23967
|
+
measured: boolean(),
|
|
23968
|
+
/**
|
|
23969
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
23970
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
23971
|
+
*/
|
|
23972
|
+
suggestedMaxSessions: number().nullable()
|
|
23973
|
+
});
|
|
23974
|
+
var SuggestedNodeShareSchema = object({
|
|
23975
|
+
nodeId: string(),
|
|
23976
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
23977
|
+
share: number().nullable(),
|
|
23978
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
23979
|
+
capacitySessions: number(),
|
|
23980
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
23981
|
+
skippedReason: string().nullable(),
|
|
23982
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
23983
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
23984
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
23985
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
23986
|
+
});
|
|
23987
|
+
var SuggestSharesResultSchema = object({
|
|
23988
|
+
headroom: number(),
|
|
23989
|
+
/** The source asked for; each node says what it actually used. */
|
|
23990
|
+
source: CapacitySourceSchema,
|
|
23991
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
23992
|
+
cameraFps: number(),
|
|
23993
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
23994
|
+
minSessionsPerDevice: number(),
|
|
23995
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
23996
|
+
});
|
|
23997
|
+
/**
|
|
23998
|
+
* Where the node and device shares come from (D750, D755).
|
|
23999
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24000
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24001
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24002
|
+
* switched on or off, or changes model. No load input.
|
|
24003
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24004
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24005
|
+
* - `manual` — the operator's stored sliders.
|
|
24006
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24007
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24008
|
+
*/
|
|
24009
|
+
var ShareSourceSchema = _enum([
|
|
24010
|
+
"hardware",
|
|
24011
|
+
"benchmark",
|
|
24012
|
+
"manual"
|
|
24013
|
+
]);
|
|
24014
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24015
|
+
object({
|
|
24016
|
+
nodes: record(string(), number()),
|
|
24017
|
+
devices: record(string(), record(string(), number()))
|
|
24018
|
+
});
|
|
24019
|
+
var EffectiveDeviceShareSchema = object({
|
|
24020
|
+
deviceKey: string(),
|
|
24021
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24022
|
+
eligible: boolean(),
|
|
24023
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24024
|
+
configuredPct: number(),
|
|
24025
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24026
|
+
effectivePct: number()
|
|
24027
|
+
});
|
|
24028
|
+
var EffectiveNodeShareSchema = object({
|
|
24029
|
+
nodeId: string(),
|
|
24030
|
+
eligible: boolean(),
|
|
24031
|
+
configuredPct: number(),
|
|
24032
|
+
effectivePct: number(),
|
|
24033
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24034
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24035
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24036
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24037
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24038
|
+
});
|
|
24039
|
+
var EffectiveSharesSchema = object({
|
|
24040
|
+
source: ShareSourceSchema,
|
|
24041
|
+
policy: SessionPlacementPolicySchema,
|
|
24042
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24043
|
+
autoPending: boolean(),
|
|
24044
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24045
|
+
computedAt: number().nullable(),
|
|
24046
|
+
/** What made the system recompute them last. */
|
|
24047
|
+
trigger: string().nullable(),
|
|
24048
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24049
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24050
|
+
nodeWeights: record(string(), number()),
|
|
24051
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24052
|
+
});
|
|
23718
24053
|
object({
|
|
23719
24054
|
activeCameras: number(),
|
|
23720
24055
|
throttledCameras: number(),
|
|
@@ -24592,14 +24927,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24592
24927
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24593
24928
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24594
24929
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24595
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24596
|
-
* per
|
|
24930
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
24931
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
24932
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
24933
|
+
* (D762).
|
|
24597
24934
|
*/
|
|
24598
24935
|
devices: array(object({
|
|
24599
24936
|
deviceKey: string(),
|
|
24600
24937
|
backend: string(),
|
|
24601
|
-
attachedCameras: number()
|
|
24602
|
-
queueDepthTotal: number()
|
|
24938
|
+
attachedCameras: number()
|
|
24603
24939
|
})).default([]),
|
|
24604
24940
|
/** Hardware capability flags reported by this node. */
|
|
24605
24941
|
hardware: object({
|
|
@@ -24813,14 +25149,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24813
25149
|
settings: record(string(), unknown()).readonly().optional()
|
|
24814
25150
|
}).nullable().optional()
|
|
24815
25151
|
});
|
|
24816
|
-
var PipelineTemplateSchema = object({
|
|
24817
|
-
id: string(),
|
|
24818
|
-
name: string(),
|
|
24819
|
-
description: string().optional(),
|
|
24820
|
-
config: CameraPipelineConfigSchema,
|
|
24821
|
-
createdAt: string(),
|
|
24822
|
-
updatedAt: string()
|
|
24823
|
-
});
|
|
24824
25152
|
var DeviceStepConfigSchema = object({
|
|
24825
25153
|
modelId: string().optional(),
|
|
24826
25154
|
settings: record(string(), unknown()).optional(),
|
|
@@ -24894,9 +25222,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
24894
25222
|
modelId: string().optional(),
|
|
24895
25223
|
settings: record(string(), unknown()).readonly().optional()
|
|
24896
25224
|
});
|
|
25225
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
24897
25226
|
var CameraPipelineSettingsSchema = object({
|
|
24898
|
-
pinnedAgentNodeId: string().optional(),
|
|
24899
25227
|
stepToggles: record(string(), boolean()).optional(),
|
|
25228
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
24900
25229
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
24901
25230
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
24902
25231
|
});
|
|
@@ -24929,7 +25258,10 @@ var PipelineAssignmentSchema = object({
|
|
|
24929
25258
|
});
|
|
24930
25259
|
/**
|
|
24931
25260
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
24932
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25261
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25262
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25263
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25264
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
24933
25265
|
*/
|
|
24934
25266
|
var AgentLoadSummarySchema = object({
|
|
24935
25267
|
nodeId: string(),
|
|
@@ -25018,26 +25350,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25018
25350
|
width: number(),
|
|
25019
25351
|
height: number(),
|
|
25020
25352
|
subscribers: number(),
|
|
25021
|
-
|
|
25022
|
-
|
|
25353
|
+
/**
|
|
25354
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25355
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25356
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25357
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25358
|
+
* camera and is not served (D758).
|
|
25359
|
+
*/
|
|
25360
|
+
inFps: number().nullable()
|
|
25023
25361
|
})).readonly(),
|
|
25024
25362
|
webrtcSessions: number(),
|
|
25025
25363
|
rtspRestream: boolean()
|
|
25026
25364
|
});
|
|
25027
|
-
/**
|
|
25028
|
-
|
|
25029
|
-
|
|
25030
|
-
|
|
25031
|
-
|
|
25032
|
-
|
|
25033
|
-
|
|
25034
|
-
|
|
25035
|
-
var CameraDecoderStatusSchema = object({
|
|
25036
|
-
nodeId: string(),
|
|
25037
|
-
formats: array(string()).readonly(),
|
|
25038
|
-
sessionCount: number(),
|
|
25039
|
-
shm: CameraDecoderShmSchema
|
|
25040
|
-
});
|
|
25365
|
+
/**
|
|
25366
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25367
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25368
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25369
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25370
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25371
|
+
* detector), never from a counter nothing feeds.
|
|
25372
|
+
*/
|
|
25373
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25041
25374
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25042
25375
|
var CameraMotionStatusSchema = object({
|
|
25043
25376
|
enabled: boolean(),
|
|
@@ -25394,12 +25727,6 @@ method(object({
|
|
|
25394
25727
|
}), object({ success: literal(true) }), {
|
|
25395
25728
|
kind: "mutation",
|
|
25396
25729
|
auth: "admin"
|
|
25397
|
-
}), method(object({
|
|
25398
|
-
agentNodeId: string(),
|
|
25399
|
-
detectWeight: number().positive().nullable()
|
|
25400
|
-
}), object({ success: literal(true) }), {
|
|
25401
|
-
kind: "mutation",
|
|
25402
|
-
auth: "admin"
|
|
25403
25730
|
}), method(object({
|
|
25404
25731
|
agentNodeId: string(),
|
|
25405
25732
|
detect: boolean().nullable().optional(),
|
|
@@ -25441,6 +25768,15 @@ method(object({
|
|
|
25441
25768
|
}), {
|
|
25442
25769
|
kind: "mutation",
|
|
25443
25770
|
auth: "admin"
|
|
25771
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25772
|
+
kind: "mutation",
|
|
25773
|
+
auth: "admin"
|
|
25774
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25775
|
+
kind: "mutation",
|
|
25776
|
+
auth: "admin"
|
|
25777
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25778
|
+
kind: "mutation",
|
|
25779
|
+
auth: "admin"
|
|
25444
25780
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25445
25781
|
deviceId: number(),
|
|
25446
25782
|
addonId: string(),
|
|
@@ -25457,6 +25793,13 @@ method(object({
|
|
|
25457
25793
|
}), object({ success: literal(true) }), {
|
|
25458
25794
|
kind: "mutation",
|
|
25459
25795
|
auth: "admin"
|
|
25796
|
+
}), method(object({
|
|
25797
|
+
deviceId: number(),
|
|
25798
|
+
addonId: string(),
|
|
25799
|
+
settings: record(string(), unknown()).nullable()
|
|
25800
|
+
}), object({ success: literal(true) }), {
|
|
25801
|
+
kind: "mutation",
|
|
25802
|
+
auth: "admin"
|
|
25460
25803
|
}), method(object({
|
|
25461
25804
|
deviceId: number(),
|
|
25462
25805
|
agentNodeId: string(),
|
|
@@ -25480,25 +25823,7 @@ method(object({
|
|
|
25480
25823
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25481
25824
|
kind: "mutation",
|
|
25482
25825
|
auth: "admin"
|
|
25483
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25484
|
-
name: string(),
|
|
25485
|
-
description: string().optional(),
|
|
25486
|
-
config: CameraPipelineConfigSchema
|
|
25487
|
-
}), PipelineTemplateSchema, {
|
|
25488
|
-
kind: "mutation",
|
|
25489
|
-
auth: "admin"
|
|
25490
|
-
}), method(object({
|
|
25491
|
-
id: string(),
|
|
25492
|
-
name: string().optional(),
|
|
25493
|
-
description: string().optional(),
|
|
25494
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25495
|
-
}), PipelineTemplateSchema, {
|
|
25496
|
-
kind: "mutation",
|
|
25497
|
-
auth: "admin"
|
|
25498
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25499
|
-
kind: "mutation",
|
|
25500
|
-
auth: "admin"
|
|
25501
|
-
});
|
|
25826
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25502
25827
|
/**
|
|
25503
25828
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25504
25829
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26088,7 +26413,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26088
26413
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26089
26414
|
* operator already consented to.
|
|
26090
26415
|
*/
|
|
26091
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26416
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26417
|
+
/**
|
|
26418
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26419
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26420
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26421
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26422
|
+
*/
|
|
26423
|
+
linkIntent: string().optional(),
|
|
26424
|
+
/**
|
|
26425
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26426
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26427
|
+
*/
|
|
26428
|
+
issuer: string().optional()
|
|
26092
26429
|
});
|
|
26093
26430
|
method(object({
|
|
26094
26431
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27753,8 +28090,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27753
28090
|
]).nullable(),
|
|
27754
28091
|
/** Input FPS from the camera (null for adaptive). */
|
|
27755
28092
|
inputFps: number().nullable(),
|
|
27756
|
-
/** Decoded FPS (null for adaptive). */
|
|
27757
|
-
decodeFps: number().nullable(),
|
|
27758
28093
|
/** Bitrate in kbps (null for adaptive). */
|
|
27759
28094
|
bitrateKbps: number().nullable()
|
|
27760
28095
|
});
|
|
@@ -28031,7 +28366,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28031
28366
|
* field their hints were silently stripped by the schema and the
|
|
28032
28367
|
* adaptive ladder started blind on the client's display size.
|
|
28033
28368
|
*/
|
|
28034
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28369
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28370
|
+
/**
|
|
28371
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28372
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28373
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28374
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28375
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28376
|
+
*
|
|
28377
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28378
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28379
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28380
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28381
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28382
|
+
* flag must not become a second door to the camera's speaker.
|
|
28383
|
+
*/
|
|
28384
|
+
talkback: boolean().optional()
|
|
28035
28385
|
}), object({
|
|
28036
28386
|
sessionId: string(),
|
|
28037
28387
|
sdpAnswer: string()
|
|
@@ -28333,6 +28683,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28333
28683
|
var RestartAddonResultSchema = unknown();
|
|
28334
28684
|
var InstallPackageResultSchema = unknown();
|
|
28335
28685
|
var ReloadPackagesResultSchema = unknown();
|
|
28686
|
+
/**
|
|
28687
|
+
* What an uninstall did on ONE node.
|
|
28688
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28689
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28690
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28691
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28692
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28693
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28694
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28695
|
+
*/
|
|
28696
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28697
|
+
"uninstalled",
|
|
28698
|
+
"not-installed",
|
|
28699
|
+
"refused",
|
|
28700
|
+
"failed",
|
|
28701
|
+
"pending-reconnect"
|
|
28702
|
+
]);
|
|
28703
|
+
var UninstallNodeResultSchema = object({
|
|
28704
|
+
nodeId: string(),
|
|
28705
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28706
|
+
error: string().optional(),
|
|
28707
|
+
addonIds: array(string()).readonly(),
|
|
28708
|
+
runnersStopped: array(string()).readonly(),
|
|
28709
|
+
warnings: array(string()).readonly()
|
|
28710
|
+
});
|
|
28711
|
+
var UninstallPackageResultSchema = object({
|
|
28712
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28713
|
+
success: boolean(),
|
|
28714
|
+
packageName: string(),
|
|
28715
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28716
|
+
});
|
|
28717
|
+
/**
|
|
28718
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28719
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28720
|
+
*/
|
|
28721
|
+
var PackageInstallationsSchema = object({
|
|
28722
|
+
installations: array(object({
|
|
28723
|
+
packageName: string(),
|
|
28724
|
+
nodeId: string(),
|
|
28725
|
+
nodeName: string(),
|
|
28726
|
+
isHub: boolean(),
|
|
28727
|
+
isOnline: boolean(),
|
|
28728
|
+
version: string().nullable(),
|
|
28729
|
+
addonIds: array(string()).readonly(),
|
|
28730
|
+
source: _enum(["live", "recorded"]),
|
|
28731
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28732
|
+
onHub: boolean()
|
|
28733
|
+
})).readonly(),
|
|
28734
|
+
unreachable: array(object({
|
|
28735
|
+
nodeId: string(),
|
|
28736
|
+
error: string()
|
|
28737
|
+
})).readonly()
|
|
28738
|
+
});
|
|
28336
28739
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28337
28740
|
"queued",
|
|
28338
28741
|
"updating",
|
|
@@ -28415,10 +28818,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28415
28818
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28416
28819
|
kind: "mutation",
|
|
28417
28820
|
auth: "admin"
|
|
28418
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28821
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28822
|
+
packageName: string().min(1),
|
|
28823
|
+
nodeId: string().optional(),
|
|
28824
|
+
everywhere: boolean().optional()
|
|
28825
|
+
}), UninstallPackageResultSchema, {
|
|
28419
28826
|
kind: "mutation",
|
|
28420
28827
|
auth: "admin"
|
|
28421
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28828
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28422
28829
|
kind: "mutation",
|
|
28423
28830
|
auth: "admin"
|
|
28424
28831
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -36018,6 +36425,32 @@ var TotpStatusSchema = object({
|
|
|
36018
36425
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
36019
36426
|
confirmedAt: number().nullable()
|
|
36020
36427
|
});
|
|
36428
|
+
/**
|
|
36429
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
36430
|
+
* and scoped tokens.
|
|
36431
|
+
*
|
|
36432
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
36433
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
36434
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
36435
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
36436
|
+
* provider.
|
|
36437
|
+
*/
|
|
36438
|
+
var ExternalIdentitySchema = object({
|
|
36439
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
36440
|
+
provider: string(),
|
|
36441
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
36442
|
+
subject: string(),
|
|
36443
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
36444
|
+
issuer: string(),
|
|
36445
|
+
userId: string(),
|
|
36446
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
36447
|
+
label: string().optional(),
|
|
36448
|
+
linkedAt: number()
|
|
36449
|
+
});
|
|
36450
|
+
var ExternalIdentityKeySchema = object({
|
|
36451
|
+
provider: string().min(1),
|
|
36452
|
+
subject: string().min(1)
|
|
36453
|
+
});
|
|
36021
36454
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
36022
36455
|
kind: "mutation",
|
|
36023
36456
|
auth: "admin",
|
|
@@ -36131,7 +36564,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
36131
36564
|
userId: string(),
|
|
36132
36565
|
username: string(),
|
|
36133
36566
|
scopes: array(TokenScopeSchema)
|
|
36134
|
-
}).nullable(), { access: "view" }), method(
|
|
36567
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
36568
|
+
userId: string(),
|
|
36569
|
+
issuer: string()
|
|
36570
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
36571
|
+
userId: string(),
|
|
36572
|
+
issuer: string().min(1),
|
|
36573
|
+
label: string().optional()
|
|
36574
|
+
}), object({ success: literal(true) }), {
|
|
36575
|
+
kind: "mutation",
|
|
36576
|
+
auth: "admin",
|
|
36577
|
+
access: "create"
|
|
36578
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
36579
|
+
kind: "mutation",
|
|
36580
|
+
auth: "admin",
|
|
36581
|
+
access: "delete"
|
|
36582
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
36135
36583
|
kind: "mutation",
|
|
36136
36584
|
auth: "admin",
|
|
36137
36585
|
access: "delete"
|
|
@@ -36523,6 +36971,16 @@ DeviceType.Camera, method(object({
|
|
|
36523
36971
|
package: array(ZoneRuleSchema).readonly()
|
|
36524
36972
|
});
|
|
36525
36973
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
36974
|
+
Object.freeze({
|
|
36975
|
+
person: .5,
|
|
36976
|
+
vehicle: .5,
|
|
36977
|
+
animal: .5
|
|
36978
|
+
});
|
|
36979
|
+
Object.freeze({
|
|
36980
|
+
person: .65,
|
|
36981
|
+
vehicle: .65,
|
|
36982
|
+
animal: .65
|
|
36983
|
+
});
|
|
36526
36984
|
/**
|
|
36527
36985
|
* Accessory device helpers — shared across drivers.
|
|
36528
36986
|
*
|
|
@@ -36697,6 +37155,12 @@ Object.freeze({
|
|
|
36697
37155
|
addonId: null,
|
|
36698
37156
|
access: "view"
|
|
36699
37157
|
},
|
|
37158
|
+
"addons.listInstallations": {
|
|
37159
|
+
capName: "addons",
|
|
37160
|
+
capScope: "system",
|
|
37161
|
+
addonId: null,
|
|
37162
|
+
access: "view"
|
|
37163
|
+
},
|
|
36700
37164
|
"addons.listJobs": {
|
|
36701
37165
|
capName: "addons",
|
|
36702
37166
|
capScope: "system",
|
|
@@ -37879,90 +38343,18 @@ Object.freeze({
|
|
|
37879
38343
|
addonId: null,
|
|
37880
38344
|
access: "create"
|
|
37881
38345
|
},
|
|
37882
|
-
"decoder.createSession": {
|
|
37883
|
-
capName: "decoder",
|
|
37884
|
-
capScope: "system",
|
|
37885
|
-
addonId: null,
|
|
37886
|
-
access: "view"
|
|
37887
|
-
},
|
|
37888
|
-
"decoder.destroySession": {
|
|
37889
|
-
capName: "decoder",
|
|
37890
|
-
capScope: "system",
|
|
37891
|
-
addonId: null,
|
|
37892
|
-
access: "delete"
|
|
37893
|
-
},
|
|
37894
|
-
"decoder.getFrame": {
|
|
37895
|
-
capName: "decoder",
|
|
37896
|
-
capScope: "system",
|
|
37897
|
-
addonId: null,
|
|
37898
|
-
access: "view"
|
|
37899
|
-
},
|
|
37900
38346
|
"decoder.getInfo": {
|
|
37901
38347
|
capName: "decoder",
|
|
37902
38348
|
capScope: "system",
|
|
37903
38349
|
addonId: null,
|
|
37904
38350
|
access: "view"
|
|
37905
38351
|
},
|
|
37906
|
-
"decoder.getShmStats": {
|
|
37907
|
-
capName: "decoder",
|
|
37908
|
-
capScope: "system",
|
|
37909
|
-
addonId: null,
|
|
37910
|
-
access: "view"
|
|
37911
|
-
},
|
|
37912
|
-
"decoder.getStats": {
|
|
37913
|
-
capName: "decoder",
|
|
37914
|
-
capScope: "system",
|
|
37915
|
-
addonId: null,
|
|
37916
|
-
access: "view"
|
|
37917
|
-
},
|
|
37918
|
-
"decoder.listActiveSessions": {
|
|
37919
|
-
capName: "decoder",
|
|
37920
|
-
capScope: "system",
|
|
37921
|
-
addonId: null,
|
|
37922
|
-
access: "view"
|
|
37923
|
-
},
|
|
37924
|
-
"decoder.openStream": {
|
|
37925
|
-
capName: "decoder",
|
|
37926
|
-
capScope: "system",
|
|
37927
|
-
addonId: null,
|
|
37928
|
-
access: "view"
|
|
37929
|
-
},
|
|
37930
|
-
"decoder.pullFrames": {
|
|
37931
|
-
capName: "decoder",
|
|
37932
|
-
capScope: "system",
|
|
37933
|
-
addonId: null,
|
|
37934
|
-
access: "view"
|
|
37935
|
-
},
|
|
37936
|
-
"decoder.pullHandles": {
|
|
37937
|
-
capName: "decoder",
|
|
37938
|
-
capScope: "system",
|
|
37939
|
-
addonId: null,
|
|
37940
|
-
access: "view"
|
|
37941
|
-
},
|
|
37942
|
-
"decoder.pushPacket": {
|
|
37943
|
-
capName: "decoder",
|
|
37944
|
-
capScope: "system",
|
|
37945
|
-
addonId: null,
|
|
37946
|
-
access: "view"
|
|
37947
|
-
},
|
|
37948
38352
|
"decoder.reprobeHwaccel": {
|
|
37949
38353
|
capName: "decoder",
|
|
37950
38354
|
capScope: "system",
|
|
37951
38355
|
addonId: null,
|
|
37952
38356
|
access: "create"
|
|
37953
38357
|
},
|
|
37954
|
-
"decoder.supportsCodec": {
|
|
37955
|
-
capName: "decoder",
|
|
37956
|
-
capScope: "system",
|
|
37957
|
-
addonId: null,
|
|
37958
|
-
access: "view"
|
|
37959
|
-
},
|
|
37960
|
-
"decoder.updateConfig": {
|
|
37961
|
-
capName: "decoder",
|
|
37962
|
-
capScope: "system",
|
|
37963
|
-
addonId: null,
|
|
37964
|
-
access: "view"
|
|
37965
|
-
},
|
|
37966
38358
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
37967
38359
|
capName: "detection-pipeline",
|
|
37968
38360
|
capScope: "device",
|
|
@@ -40993,6 +41385,12 @@ Object.freeze({
|
|
|
40993
41385
|
addonId: null,
|
|
40994
41386
|
access: "create"
|
|
40995
41387
|
},
|
|
41388
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
41389
|
+
capName: "pipeline-analytics",
|
|
41390
|
+
capScope: "device",
|
|
41391
|
+
addonId: null,
|
|
41392
|
+
access: "create"
|
|
41393
|
+
},
|
|
40996
41394
|
"pipelineAnalytics.setTrackFlags": {
|
|
40997
41395
|
capName: "pipeline-analytics",
|
|
40998
41396
|
capScope: "device",
|
|
@@ -41029,6 +41427,12 @@ Object.freeze({
|
|
|
41029
41427
|
addonId: null,
|
|
41030
41428
|
access: "delete"
|
|
41031
41429
|
},
|
|
41430
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
41431
|
+
capName: "pipeline-analytics",
|
|
41432
|
+
capScope: "device",
|
|
41433
|
+
addonId: null,
|
|
41434
|
+
access: "create"
|
|
41435
|
+
},
|
|
41032
41436
|
"pipelineExecutor.cacheFrameInPool": {
|
|
41033
41437
|
capName: "pipeline-executor",
|
|
41034
41438
|
capScope: "system",
|
|
@@ -41041,13 +41445,13 @@ Object.freeze({
|
|
|
41041
41445
|
addonId: null,
|
|
41042
41446
|
access: "delete"
|
|
41043
41447
|
},
|
|
41044
|
-
"pipelineExecutor.
|
|
41448
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
41045
41449
|
capName: "pipeline-executor",
|
|
41046
41450
|
capScope: "system",
|
|
41047
41451
|
addonId: null,
|
|
41048
41452
|
access: "delete"
|
|
41049
41453
|
},
|
|
41050
|
-
"pipelineExecutor.
|
|
41454
|
+
"pipelineExecutor.deleteModel": {
|
|
41051
41455
|
capName: "pipeline-executor",
|
|
41052
41456
|
capScope: "system",
|
|
41053
41457
|
addonId: null,
|
|
@@ -41191,12 +41595,6 @@ Object.freeze({
|
|
|
41191
41595
|
addonId: null,
|
|
41192
41596
|
access: "view"
|
|
41193
41597
|
},
|
|
41194
|
-
"pipelineExecutor.listTemplates": {
|
|
41195
|
-
capName: "pipeline-executor",
|
|
41196
|
-
capScope: "system",
|
|
41197
|
-
addonId: null,
|
|
41198
|
-
access: "view"
|
|
41199
|
-
},
|
|
41200
41598
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
41201
41599
|
capName: "pipeline-executor",
|
|
41202
41600
|
capScope: "system",
|
|
@@ -41221,12 +41619,6 @@ Object.freeze({
|
|
|
41221
41619
|
addonId: null,
|
|
41222
41620
|
access: "create"
|
|
41223
41621
|
},
|
|
41224
|
-
"pipelineExecutor.saveTemplate": {
|
|
41225
|
-
capName: "pipeline-executor",
|
|
41226
|
-
capScope: "system",
|
|
41227
|
-
addonId: null,
|
|
41228
|
-
access: "create"
|
|
41229
|
-
},
|
|
41230
41622
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
41231
41623
|
capName: "pipeline-executor",
|
|
41232
41624
|
capScope: "system",
|
|
@@ -41245,41 +41637,35 @@ Object.freeze({
|
|
|
41245
41637
|
addonId: null,
|
|
41246
41638
|
access: "create"
|
|
41247
41639
|
},
|
|
41248
|
-
"pipelineExecutor.updateTemplate": {
|
|
41249
|
-
capName: "pipeline-executor",
|
|
41250
|
-
capScope: "system",
|
|
41251
|
-
addonId: null,
|
|
41252
|
-
access: "create"
|
|
41253
|
-
},
|
|
41254
41640
|
"pipelineExecutor.validatePipeline": {
|
|
41255
41641
|
capName: "pipeline-executor",
|
|
41256
41642
|
capScope: "system",
|
|
41257
41643
|
addonId: null,
|
|
41258
41644
|
access: "view"
|
|
41259
41645
|
},
|
|
41260
|
-
"pipelineOrchestrator.
|
|
41646
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
41261
41647
|
capName: "pipeline-orchestrator",
|
|
41262
41648
|
capScope: "system",
|
|
41263
41649
|
addonId: null,
|
|
41264
41650
|
access: "create"
|
|
41265
41651
|
},
|
|
41266
|
-
"pipelineOrchestrator.
|
|
41652
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
41267
41653
|
capName: "pipeline-orchestrator",
|
|
41268
41654
|
capScope: "system",
|
|
41269
41655
|
addonId: null,
|
|
41270
41656
|
access: "create"
|
|
41271
41657
|
},
|
|
41272
|
-
"pipelineOrchestrator.
|
|
41658
|
+
"pipelineOrchestrator.assignAudio": {
|
|
41273
41659
|
capName: "pipeline-orchestrator",
|
|
41274
41660
|
capScope: "system",
|
|
41275
41661
|
addonId: null,
|
|
41276
41662
|
access: "create"
|
|
41277
41663
|
},
|
|
41278
|
-
"pipelineOrchestrator.
|
|
41664
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
41279
41665
|
capName: "pipeline-orchestrator",
|
|
41280
41666
|
capScope: "system",
|
|
41281
41667
|
addonId: null,
|
|
41282
|
-
access: "
|
|
41668
|
+
access: "create"
|
|
41283
41669
|
},
|
|
41284
41670
|
"pipelineOrchestrator.getAgentLoad": {
|
|
41285
41671
|
capName: "pipeline-orchestrator",
|
|
@@ -41371,6 +41757,12 @@ Object.freeze({
|
|
|
41371
41757
|
addonId: null,
|
|
41372
41758
|
access: "view"
|
|
41373
41759
|
},
|
|
41760
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
41761
|
+
capName: "pipeline-orchestrator",
|
|
41762
|
+
capScope: "system",
|
|
41763
|
+
addonId: null,
|
|
41764
|
+
access: "view"
|
|
41765
|
+
},
|
|
41374
41766
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
41375
41767
|
capName: "pipeline-orchestrator",
|
|
41376
41768
|
capScope: "system",
|
|
@@ -41407,19 +41799,19 @@ Object.freeze({
|
|
|
41407
41799
|
addonId: null,
|
|
41408
41800
|
access: "view"
|
|
41409
41801
|
},
|
|
41410
|
-
"pipelineOrchestrator.
|
|
41802
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
41411
41803
|
capName: "pipeline-orchestrator",
|
|
41412
41804
|
capScope: "system",
|
|
41413
41805
|
addonId: null,
|
|
41414
41806
|
access: "view"
|
|
41415
41807
|
},
|
|
41416
|
-
"pipelineOrchestrator.
|
|
41808
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
41417
41809
|
capName: "pipeline-orchestrator",
|
|
41418
41810
|
capScope: "system",
|
|
41419
41811
|
addonId: null,
|
|
41420
41812
|
access: "view"
|
|
41421
41813
|
},
|
|
41422
|
-
"pipelineOrchestrator.
|
|
41814
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
41423
41815
|
capName: "pipeline-orchestrator",
|
|
41424
41816
|
capScope: "system",
|
|
41425
41817
|
addonId: null,
|
|
@@ -41431,6 +41823,12 @@ Object.freeze({
|
|
|
41431
41823
|
addonId: null,
|
|
41432
41824
|
access: "create"
|
|
41433
41825
|
},
|
|
41826
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
41827
|
+
capName: "pipeline-orchestrator",
|
|
41828
|
+
capScope: "system",
|
|
41829
|
+
addonId: null,
|
|
41830
|
+
access: "view"
|
|
41831
|
+
},
|
|
41434
41832
|
"pipelineOrchestrator.rebalance": {
|
|
41435
41833
|
capName: "pipeline-orchestrator",
|
|
41436
41834
|
capScope: "system",
|
|
@@ -41473,12 +41871,6 @@ Object.freeze({
|
|
|
41473
41871
|
addonId: null,
|
|
41474
41872
|
access: "create"
|
|
41475
41873
|
},
|
|
41476
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
41477
|
-
capName: "pipeline-orchestrator",
|
|
41478
|
-
capScope: "system",
|
|
41479
|
-
addonId: null,
|
|
41480
|
-
access: "create"
|
|
41481
|
-
},
|
|
41482
41874
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
41483
41875
|
capName: "pipeline-orchestrator",
|
|
41484
41876
|
capScope: "system",
|
|
@@ -41491,12 +41883,6 @@ Object.freeze({
|
|
|
41491
41883
|
addonId: null,
|
|
41492
41884
|
access: "create"
|
|
41493
41885
|
},
|
|
41494
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
41495
|
-
capName: "pipeline-orchestrator",
|
|
41496
|
-
capScope: "system",
|
|
41497
|
-
addonId: null,
|
|
41498
|
-
access: "create"
|
|
41499
|
-
},
|
|
41500
41886
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
41501
41887
|
capName: "pipeline-orchestrator",
|
|
41502
41888
|
capScope: "system",
|
|
@@ -41533,6 +41919,12 @@ Object.freeze({
|
|
|
41533
41919
|
addonId: null,
|
|
41534
41920
|
access: "create"
|
|
41535
41921
|
},
|
|
41922
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
41923
|
+
capName: "pipeline-orchestrator",
|
|
41924
|
+
capScope: "system",
|
|
41925
|
+
addonId: null,
|
|
41926
|
+
access: "create"
|
|
41927
|
+
},
|
|
41536
41928
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
41537
41929
|
capName: "pipeline-orchestrator",
|
|
41538
41930
|
capScope: "system",
|
|
@@ -41551,25 +41943,37 @@ Object.freeze({
|
|
|
41551
41943
|
addonId: null,
|
|
41552
41944
|
access: "create"
|
|
41553
41945
|
},
|
|
41946
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
41947
|
+
capName: "pipeline-orchestrator",
|
|
41948
|
+
capScope: "system",
|
|
41949
|
+
addonId: null,
|
|
41950
|
+
access: "create"
|
|
41951
|
+
},
|
|
41554
41952
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
41555
41953
|
capName: "pipeline-orchestrator",
|
|
41556
41954
|
capScope: "system",
|
|
41557
41955
|
addonId: null,
|
|
41558
41956
|
access: "create"
|
|
41559
41957
|
},
|
|
41560
|
-
"pipelineOrchestrator.
|
|
41958
|
+
"pipelineOrchestrator.setShareSource": {
|
|
41561
41959
|
capName: "pipeline-orchestrator",
|
|
41562
41960
|
capScope: "system",
|
|
41563
41961
|
addonId: null,
|
|
41564
41962
|
access: "create"
|
|
41565
41963
|
},
|
|
41566
|
-
"pipelineOrchestrator.
|
|
41964
|
+
"pipelineOrchestrator.suggestShares": {
|
|
41965
|
+
capName: "pipeline-orchestrator",
|
|
41966
|
+
capScope: "system",
|
|
41967
|
+
addonId: null,
|
|
41968
|
+
access: "view"
|
|
41969
|
+
},
|
|
41970
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
41567
41971
|
capName: "pipeline-orchestrator",
|
|
41568
41972
|
capScope: "system",
|
|
41569
41973
|
addonId: null,
|
|
41570
41974
|
access: "create"
|
|
41571
41975
|
},
|
|
41572
|
-
"pipelineOrchestrator.
|
|
41976
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
41573
41977
|
capName: "pipeline-orchestrator",
|
|
41574
41978
|
capScope: "system",
|
|
41575
41979
|
addonId: null,
|
|
@@ -43009,12 +43413,6 @@ Object.freeze({
|
|
|
43009
43413
|
addonId: null,
|
|
43010
43414
|
access: "view"
|
|
43011
43415
|
},
|
|
43012
|
-
"streamBroker.pullFrameHandles": {
|
|
43013
|
-
capName: "stream-broker",
|
|
43014
|
-
capScope: "system",
|
|
43015
|
-
addonId: null,
|
|
43016
|
-
access: "view"
|
|
43017
|
-
},
|
|
43018
43416
|
"streamBroker.regenerateRtspToken": {
|
|
43019
43417
|
capName: "stream-broker",
|
|
43020
43418
|
capScope: "system",
|
|
@@ -43081,12 +43479,6 @@ Object.freeze({
|
|
|
43081
43479
|
addonId: null,
|
|
43082
43480
|
access: "create"
|
|
43083
43481
|
},
|
|
43084
|
-
"streamBroker.subscribeFrames": {
|
|
43085
|
-
capName: "stream-broker",
|
|
43086
|
-
capScope: "system",
|
|
43087
|
-
addonId: null,
|
|
43088
|
-
access: "create"
|
|
43089
|
-
},
|
|
43090
43482
|
"streamBroker.unassignProfile": {
|
|
43091
43483
|
capName: "stream-broker",
|
|
43092
43484
|
capScope: "system",
|
|
@@ -43099,12 +43491,6 @@ Object.freeze({
|
|
|
43099
43491
|
addonId: null,
|
|
43100
43492
|
access: "create"
|
|
43101
43493
|
},
|
|
43102
|
-
"streamBroker.unsubscribeFrames": {
|
|
43103
|
-
capName: "stream-broker",
|
|
43104
|
-
capScope: "system",
|
|
43105
|
-
addonId: null,
|
|
43106
|
-
access: "create"
|
|
43107
|
-
},
|
|
43108
43494
|
"streamCatalog.getCatalog": {
|
|
43109
43495
|
capName: "stream-catalog",
|
|
43110
43496
|
capScope: "device",
|
|
@@ -43399,18 +43785,36 @@ Object.freeze({
|
|
|
43399
43785
|
addonId: null,
|
|
43400
43786
|
access: "delete"
|
|
43401
43787
|
},
|
|
43788
|
+
"userManagement.findUserByExternalIdentity": {
|
|
43789
|
+
capName: "user-management",
|
|
43790
|
+
capScope: "system",
|
|
43791
|
+
addonId: null,
|
|
43792
|
+
access: "view"
|
|
43793
|
+
},
|
|
43402
43794
|
"userManagement.getTotpStatus": {
|
|
43403
43795
|
capName: "user-management",
|
|
43404
43796
|
capScope: "system",
|
|
43405
43797
|
addonId: null,
|
|
43406
43798
|
access: "view"
|
|
43407
43799
|
},
|
|
43800
|
+
"userManagement.linkExternalIdentity": {
|
|
43801
|
+
capName: "user-management",
|
|
43802
|
+
capScope: "system",
|
|
43803
|
+
addonId: null,
|
|
43804
|
+
access: "create"
|
|
43805
|
+
},
|
|
43408
43806
|
"userManagement.listApiKeys": {
|
|
43409
43807
|
capName: "user-management",
|
|
43410
43808
|
capScope: "system",
|
|
43411
43809
|
addonId: null,
|
|
43412
43810
|
access: "view"
|
|
43413
43811
|
},
|
|
43812
|
+
"userManagement.listExternalIdentities": {
|
|
43813
|
+
capName: "user-management",
|
|
43814
|
+
capScope: "system",
|
|
43815
|
+
addonId: null,
|
|
43816
|
+
access: "view"
|
|
43817
|
+
},
|
|
43414
43818
|
"userManagement.listOauthSessions": {
|
|
43415
43819
|
capName: "user-management",
|
|
43416
43820
|
capScope: "system",
|
|
@@ -43489,6 +43893,12 @@ Object.freeze({
|
|
|
43489
43893
|
addonId: null,
|
|
43490
43894
|
access: "create"
|
|
43491
43895
|
},
|
|
43896
|
+
"userManagement.unlinkExternalIdentity": {
|
|
43897
|
+
capName: "user-management",
|
|
43898
|
+
capScope: "system",
|
|
43899
|
+
addonId: null,
|
|
43900
|
+
access: "delete"
|
|
43901
|
+
},
|
|
43492
43902
|
"userManagement.updateUser": {
|
|
43493
43903
|
capName: "user-management",
|
|
43494
43904
|
capScope: "system",
|
|
@@ -45252,7 +45662,11 @@ var DISPLAY_ICON_VOCABULARY = [
|
|
|
45252
45662
|
];
|
|
45253
45663
|
DISPLAY_ICON_VOCABULARY.map((e) => e.key);
|
|
45254
45664
|
DISPLAY_ICON_VOCABULARY.filter((e) => e.aliasOf === void 0).map((e) => e.key);
|
|
45255
|
-
new Map(DISPLAY_ICON_VOCABULARY.map((e) => [e.key, e]));
|
|
45665
|
+
var ENTRY_BY_KEY = new Map(DISPLAY_ICON_VOCABULARY.map((e) => [e.key, e]));
|
|
45666
|
+
/** Is this a key of the shared vocabulary? */
|
|
45667
|
+
function isDisplayIconKey(value) {
|
|
45668
|
+
return typeof value === "string" && ENTRY_BY_KEY.has(value);
|
|
45669
|
+
}
|
|
45256
45670
|
Object.freeze({
|
|
45257
45671
|
"accessories.getStatus": [{
|
|
45258
45672
|
name: "deviceId",
|
|
@@ -45618,11 +46032,6 @@ Object.freeze({
|
|
|
45618
46032
|
form: "single",
|
|
45619
46033
|
optional: false
|
|
45620
46034
|
}],
|
|
45621
|
-
"decoder.createSession": [{
|
|
45622
|
-
name: "deviceId",
|
|
45623
|
-
form: "single",
|
|
45624
|
-
optional: true
|
|
45625
|
-
}],
|
|
45626
46035
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
45627
46036
|
name: "deviceId",
|
|
45628
46037
|
form: "single",
|
|
@@ -46833,6 +47242,11 @@ Object.freeze({
|
|
|
46833
47242
|
form: "single",
|
|
46834
47243
|
optional: false
|
|
46835
47244
|
}],
|
|
47245
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
47246
|
+
name: "deviceId",
|
|
47247
|
+
form: "single",
|
|
47248
|
+
optional: false
|
|
47249
|
+
}],
|
|
46836
47250
|
"pipelineAnalytics.setTrackFlags": [{
|
|
46837
47251
|
name: "deviceId",
|
|
46838
47252
|
form: "single",
|
|
@@ -46853,6 +47267,11 @@ Object.freeze({
|
|
|
46853
47267
|
form: "single",
|
|
46854
47268
|
optional: false
|
|
46855
47269
|
}],
|
|
47270
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
47271
|
+
name: "deviceIds",
|
|
47272
|
+
form: "array",
|
|
47273
|
+
optional: true
|
|
47274
|
+
}],
|
|
46856
47275
|
"pipelineExecutor.runPipeline": [{
|
|
46857
47276
|
name: "deviceId",
|
|
46858
47277
|
form: "single",
|
|
@@ -46958,6 +47377,11 @@ Object.freeze({
|
|
|
46958
47377
|
form: "single",
|
|
46959
47378
|
optional: false
|
|
46960
47379
|
}],
|
|
47380
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
47381
|
+
name: "deviceId",
|
|
47382
|
+
form: "single",
|
|
47383
|
+
optional: false
|
|
47384
|
+
}],
|
|
46961
47385
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
46962
47386
|
name: "deviceId",
|
|
46963
47387
|
form: "single",
|
|
@@ -48938,6 +49362,12 @@ Object.defineProperty(exports, "hubBrowserOrigin", {
|
|
|
48938
49362
|
return hubBrowserOrigin;
|
|
48939
49363
|
}
|
|
48940
49364
|
});
|
|
49365
|
+
Object.defineProperty(exports, "isDisplayIconKey", {
|
|
49366
|
+
enumerable: true,
|
|
49367
|
+
get: function() {
|
|
49368
|
+
return isDisplayIconKey;
|
|
49369
|
+
}
|
|
49370
|
+
});
|
|
48941
49371
|
Object.defineProperty(exports, "loginMethodCapability", {
|
|
48942
49372
|
enumerable: true,
|
|
48943
49373
|
get: function() {
|