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