@camstack/addon-provider-rtsp 1.2.121 → 1.2.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +1148 -471
- package/dist/addon.mjs +1148 -471
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import net from "node:net";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -500,15 +500,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
500
500
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
501
501
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
502
502
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
503
|
-
/**
|
|
504
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
505
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
506
|
-
* `createSession`, so running sessions keep their current backend until
|
|
507
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
508
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
509
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
510
|
-
*/
|
|
511
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
512
503
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
513
504
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
514
505
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5379,7 +5370,7 @@ var ZodIssueCode = {
|
|
|
5379
5370
|
var ZodFirstPartyTypeKind;
|
|
5380
5371
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5381
5372
|
//#endregion
|
|
5382
|
-
//#region ../types/dist/sleep-
|
|
5373
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5383
5374
|
/**
|
|
5384
5375
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5385
5376
|
* window to float samples (D455).
|
|
@@ -6745,32 +6736,12 @@ object({
|
|
|
6745
6736
|
audioCodec: string().optional(),
|
|
6746
6737
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6747
6738
|
});
|
|
6748
|
-
var EncodedPacketSchema = object({
|
|
6749
|
-
type: _enum(["video", "audio"]),
|
|
6750
|
-
data: _instanceof(Uint8Array),
|
|
6751
|
-
pts: number(),
|
|
6752
|
-
dts: number(),
|
|
6753
|
-
keyframe: boolean(),
|
|
6754
|
-
codec: string()
|
|
6755
|
-
});
|
|
6756
|
-
var DecodedFrameSchema = object({
|
|
6757
|
-
data: _instanceof(Uint8Array),
|
|
6758
|
-
width: number(),
|
|
6759
|
-
height: number(),
|
|
6760
|
-
format: _enum([
|
|
6761
|
-
"jpeg",
|
|
6762
|
-
"rgb",
|
|
6763
|
-
"bgr",
|
|
6764
|
-
"yuv420",
|
|
6765
|
-
"gray"
|
|
6766
|
-
]),
|
|
6767
|
-
timestamp: number()
|
|
6768
|
-
});
|
|
6769
6739
|
/**
|
|
6770
6740
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6771
6741
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6772
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6773
|
-
*
|
|
6742
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6743
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6744
|
+
* over tRPC / Moleculer.
|
|
6774
6745
|
*
|
|
6775
6746
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6776
6747
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6796,50 +6767,6 @@ var FrameHandleSchema = object({
|
|
|
6796
6767
|
slotCount: number().int().positive()
|
|
6797
6768
|
});
|
|
6798
6769
|
/**
|
|
6799
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6800
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6801
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6802
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6803
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6804
|
-
*/
|
|
6805
|
-
var FrameHandleFormatSchema = _enum([
|
|
6806
|
-
"rgb",
|
|
6807
|
-
"bgr",
|
|
6808
|
-
"yuv420",
|
|
6809
|
-
"gray"
|
|
6810
|
-
]);
|
|
6811
|
-
/**
|
|
6812
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6813
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6814
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6815
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6816
|
-
* they asked for with no broker-side conversion.
|
|
6817
|
-
*/
|
|
6818
|
-
var SubscribeFramesInputSchema = object({
|
|
6819
|
-
brokerId: string(),
|
|
6820
|
-
format: FrameHandleFormatSchema,
|
|
6821
|
-
/**
|
|
6822
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6823
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6824
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6825
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6826
|
-
*/
|
|
6827
|
-
maxFps: number().positive().optional(),
|
|
6828
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6829
|
-
tag: string().optional()
|
|
6830
|
-
});
|
|
6831
|
-
/**
|
|
6832
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6833
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6834
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6835
|
-
*/
|
|
6836
|
-
var SubscribeFramesResultSchema = object({
|
|
6837
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6838
|
-
subscriptionId: string(),
|
|
6839
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6840
|
-
maxFps: number().nonnegative()
|
|
6841
|
-
});
|
|
6842
|
-
/**
|
|
6843
6770
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6844
6771
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6845
6772
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6847,8 +6774,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6847
6774
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6848
6775
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6849
6776
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6850
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6851
|
-
*
|
|
6777
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6778
|
+
* it.
|
|
6852
6779
|
*/
|
|
6853
6780
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6854
6781
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6866,11 +6793,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6866
6793
|
format: AudioChunkFormatSchema.optional()
|
|
6867
6794
|
});
|
|
6868
6795
|
/**
|
|
6869
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6870
|
-
*
|
|
6871
|
-
*
|
|
6872
|
-
*
|
|
6873
|
-
* `pullAudioChunks`.
|
|
6796
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6797
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6798
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6799
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6874
6800
|
*/
|
|
6875
6801
|
var SubscribeAudioChunksInputSchema = object({
|
|
6876
6802
|
brokerId: string(),
|
|
@@ -6901,9 +6827,7 @@ var BrokerStatsSchema = object({
|
|
|
6901
6827
|
"stopped"
|
|
6902
6828
|
]),
|
|
6903
6829
|
inputFps: number(),
|
|
6904
|
-
decodeFps: number(),
|
|
6905
6830
|
encodedSubscribers: number(),
|
|
6906
|
-
decodedSubscribers: number(),
|
|
6907
6831
|
uptimeMs: number(),
|
|
6908
6832
|
bitrateKbps: number(),
|
|
6909
6833
|
idrIntervalMs: number(),
|
|
@@ -6916,14 +6840,6 @@ var BrokerStatsSchema = object({
|
|
|
6916
6840
|
preBufferMs: number(),
|
|
6917
6841
|
preBufferPackets: number(),
|
|
6918
6842
|
/**
|
|
6919
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6920
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6921
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6922
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6923
|
-
* a separate cap call per broker.
|
|
6924
|
-
*/
|
|
6925
|
-
decoderNodeId: string().nullable(),
|
|
6926
|
-
/**
|
|
6927
6843
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6928
6844
|
* when the stream has no audio track or the broker is in cold start.
|
|
6929
6845
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10291,70 +10207,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10291
10207
|
"backup"
|
|
10292
10208
|
]).optional()
|
|
10293
10209
|
});
|
|
10294
|
-
var DecoderStatsSchema = object({
|
|
10295
|
-
inputFps: number(),
|
|
10296
|
-
outputFps: number(),
|
|
10297
|
-
avgDecodeTimeMs: number(),
|
|
10298
|
-
droppedFrames: number(),
|
|
10299
|
-
/**
|
|
10300
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10301
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10302
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10303
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10304
|
-
*/
|
|
10305
|
-
lagMs: number().optional(),
|
|
10306
|
-
effectiveFps: number().optional(),
|
|
10307
|
-
adaptiveFps: number().optional()
|
|
10308
|
-
});
|
|
10309
|
-
var DecoderSessionConfigSchema = object({
|
|
10310
|
-
codec: string(),
|
|
10311
|
-
maxFps: number().default(0),
|
|
10312
|
-
outputFormat: _enum([
|
|
10313
|
-
"jpeg",
|
|
10314
|
-
"rgb",
|
|
10315
|
-
"bgr",
|
|
10316
|
-
"yuv420",
|
|
10317
|
-
"gray"
|
|
10318
|
-
]).default("jpeg"),
|
|
10319
|
-
scale: number().default(1),
|
|
10320
|
-
width: number().optional(),
|
|
10321
|
-
height: number().optional(),
|
|
10322
|
-
/**
|
|
10323
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10324
|
-
* because the cap is generic (any caller could request decode), but
|
|
10325
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10326
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10327
|
-
* sendPacket errors on a single hung camera).
|
|
10328
|
-
*/
|
|
10329
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10330
|
-
/**
|
|
10331
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10332
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10333
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10334
|
-
* profile cleanly.
|
|
10335
|
-
*/
|
|
10336
|
-
tag: string().optional(),
|
|
10337
|
-
/**
|
|
10338
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10339
|
-
*
|
|
10340
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10341
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10342
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10343
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10344
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10345
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10346
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10347
|
-
*/
|
|
10348
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10349
|
-
/**
|
|
10350
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10351
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10352
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10353
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10354
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10355
|
-
*/
|
|
10356
|
-
debug: boolean().optional()
|
|
10357
|
-
});
|
|
10358
10210
|
/**
|
|
10359
10211
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10360
10212
|
* an addon declares its channels in.
|
|
@@ -10497,6 +10349,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10497
10349
|
"balanced",
|
|
10498
10350
|
"strict"
|
|
10499
10351
|
]);
|
|
10352
|
+
/** Steps whose effect a root label can BE. */
|
|
10353
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10354
|
+
"animal-classifier",
|
|
10355
|
+
"vehicle-classifier",
|
|
10356
|
+
"package-detection"
|
|
10357
|
+
];
|
|
10358
|
+
/** Steps whose box a root detection can BE. */
|
|
10359
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10360
|
+
/**
|
|
10361
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10362
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10363
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10364
|
+
* no camera tree carries.)
|
|
10365
|
+
*/
|
|
10366
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10367
|
+
[
|
|
10368
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10369
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10370
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10371
|
+
];
|
|
10500
10372
|
var MODEL_FORMATS = [
|
|
10501
10373
|
"onnx",
|
|
10502
10374
|
"coreml",
|
|
@@ -10525,7 +10397,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10525
10397
|
/** Multi-file payload (directory members or sibling files). */
|
|
10526
10398
|
files: array(string()).readonly().optional(),
|
|
10527
10399
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10528
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10400
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10401
|
+
/**
|
|
10402
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10403
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10404
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10405
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10406
|
+
* node records the revision it downloaded next to the file
|
|
10407
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10408
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10409
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10410
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10411
|
+
*/
|
|
10412
|
+
revision: string().min(1).optional()
|
|
10413
|
+
});
|
|
10414
|
+
/**
|
|
10415
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10416
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10417
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10418
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10419
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10420
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10421
|
+
*/
|
|
10422
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10423
|
+
"current",
|
|
10424
|
+
"stale",
|
|
10425
|
+
"missing"
|
|
10426
|
+
]);
|
|
10427
|
+
/**
|
|
10428
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10429
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10430
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10431
|
+
*/
|
|
10432
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10433
|
+
"fp32",
|
|
10434
|
+
"fp16",
|
|
10435
|
+
"int8"
|
|
10436
|
+
]);
|
|
10437
|
+
/**
|
|
10438
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10439
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10440
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10441
|
+
*/
|
|
10442
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10443
|
+
downloaded: boolean(),
|
|
10444
|
+
sizeMB: number(),
|
|
10445
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10446
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10529
10447
|
});
|
|
10530
10448
|
/**
|
|
10531
10449
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10629,6 +10547,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10629
10547
|
/** True when the weights or their data forbid commercial use. */
|
|
10630
10548
|
nonCommercial: boolean().optional()
|
|
10631
10549
|
}));
|
|
10550
|
+
/**
|
|
10551
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10552
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10553
|
+
*
|
|
10554
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10555
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10556
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10557
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10558
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10559
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10560
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10561
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10562
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10563
|
+
* postprocessor on read, never stored by an import.
|
|
10564
|
+
*/
|
|
10565
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10566
|
+
object({
|
|
10567
|
+
kind: literal("label"),
|
|
10568
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10569
|
+
labelToEffect: record(string(), string()),
|
|
10570
|
+
uncovered: array(string()).readonly()
|
|
10571
|
+
}),
|
|
10572
|
+
object({
|
|
10573
|
+
kind: literal("crop"),
|
|
10574
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10575
|
+
rootLabels: array(string()).readonly(),
|
|
10576
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10577
|
+
childClass: _enum(["plate", "face"]),
|
|
10578
|
+
/**
|
|
10579
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10580
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10581
|
+
* stored by an import.
|
|
10582
|
+
*/
|
|
10583
|
+
rootInputPx: number().int().positive().optional()
|
|
10584
|
+
}),
|
|
10585
|
+
object({
|
|
10586
|
+
kind: literal("mask"),
|
|
10587
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10588
|
+
})
|
|
10589
|
+
]);
|
|
10632
10590
|
var ModelCatalogEntrySchema = object({
|
|
10633
10591
|
id: string(),
|
|
10634
10592
|
name: string(),
|
|
@@ -10694,6 +10652,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10694
10652
|
*/
|
|
10695
10653
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10696
10654
|
/**
|
|
10655
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10656
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10657
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10658
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10659
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10660
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10661
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10662
|
+
*/
|
|
10663
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10664
|
+
/**
|
|
10665
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10666
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10667
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10668
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10669
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10670
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10671
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10672
|
+
*/
|
|
10673
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10674
|
+
/**
|
|
10675
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10676
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10677
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10678
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10679
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10680
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10681
|
+
*/
|
|
10682
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10683
|
+
/**
|
|
10697
10684
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10698
10685
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10699
10686
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10755,6 +10742,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10755
10742
|
*/
|
|
10756
10743
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10757
10744
|
/**
|
|
10745
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10746
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10747
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10748
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10749
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10750
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10751
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10752
|
+
*/
|
|
10753
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10754
|
+
/**
|
|
10758
10755
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10759
10756
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10760
10757
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12356,13 +12353,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12356
12353
|
lastRtpAt: number(),
|
|
12357
12354
|
bytesSent: number()
|
|
12358
12355
|
});
|
|
12359
|
-
var BrokerDecodedClientSchema = object({
|
|
12360
|
-
tag: string(),
|
|
12361
|
-
subscribedAt: number(),
|
|
12362
|
-
maxFps: number(),
|
|
12363
|
-
framesDelivered: number(),
|
|
12364
|
-
framesDropped: number()
|
|
12365
|
-
});
|
|
12366
12356
|
var BrokerAudioClientSchema = object({
|
|
12367
12357
|
tag: string(),
|
|
12368
12358
|
subscribedAt: number(),
|
|
@@ -12454,7 +12444,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12454
12444
|
});
|
|
12455
12445
|
var BrokerClientsSchema = object({
|
|
12456
12446
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12457
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12458
12447
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12459
12448
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12460
12449
|
pipeClients: number(),
|
|
@@ -12823,11 +12812,7 @@ method(object({
|
|
|
12823
12812
|
auth: "admin"
|
|
12824
12813
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12825
12814
|
brokerId: string(),
|
|
12826
|
-
channel: _enum([
|
|
12827
|
-
"rtsp",
|
|
12828
|
-
"decoded",
|
|
12829
|
-
"audio"
|
|
12830
|
-
]),
|
|
12815
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12831
12816
|
handle: string()
|
|
12832
12817
|
}), object({ killed: boolean() }), {
|
|
12833
12818
|
kind: "mutation",
|
|
@@ -12862,10 +12847,7 @@ method(object({
|
|
|
12862
12847
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12863
12848
|
subscriptionId: string(),
|
|
12864
12849
|
maxCount: number().int().positive().default(8)
|
|
12865
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12866
|
-
subscriptionId: string(),
|
|
12867
|
-
maxCount: number().int().positive().default(4)
|
|
12868
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12850
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12869
12851
|
brokerId: string(),
|
|
12870
12852
|
seconds: number().min(0).max(30)
|
|
12871
12853
|
}), _void(), {
|
|
@@ -14124,54 +14106,12 @@ id: union([string(), number()]) }), {
|
|
|
14124
14106
|
kind: "mutation",
|
|
14125
14107
|
auth: "admin"
|
|
14126
14108
|
});
|
|
14127
|
-
|
|
14128
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14129
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14130
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14131
|
-
*/
|
|
14132
|
-
var ShmRingStatsSchema = object({
|
|
14133
|
-
sessionId: string(),
|
|
14134
|
-
slotCount: number().int(),
|
|
14135
|
-
slotByteLength: number().int(),
|
|
14136
|
-
segmentBytes: number().int(),
|
|
14137
|
-
budgetMb: number().int(),
|
|
14138
|
-
framesWritten: number().int(),
|
|
14139
|
-
getFrameHits: number().int(),
|
|
14140
|
-
getFrameMisses: number().int()
|
|
14141
|
-
});
|
|
14142
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14109
|
+
method(_void(), object({
|
|
14143
14110
|
id: string(),
|
|
14144
14111
|
name: string(),
|
|
14145
|
-
isPullMode: boolean().optional(),
|
|
14146
|
-
priority: number().optional(),
|
|
14147
14112
|
hwaccel: string().optional(),
|
|
14148
14113
|
probedBestHwaccel: string().optional()
|
|
14149
|
-
})), method(
|
|
14150
|
-
sessionId: string(),
|
|
14151
|
-
nodeId: string()
|
|
14152
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14153
|
-
sessionId: string(),
|
|
14154
|
-
packet: EncodedPacketSchema
|
|
14155
|
-
}), _void()), method(object({
|
|
14156
|
-
sessionId: string(),
|
|
14157
|
-
url: string()
|
|
14158
|
-
}), _void()), method(object({
|
|
14159
|
-
sessionId: string(),
|
|
14160
|
-
maxCount: number().default(1),
|
|
14161
|
-
waitMs: number().optional()
|
|
14162
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14163
|
-
sessionId: string(),
|
|
14164
|
-
maxCount: number().default(1),
|
|
14165
|
-
waitMs: number().optional()
|
|
14166
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14167
|
-
sessionId: string(),
|
|
14168
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14169
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14170
|
-
sessionId: string(),
|
|
14171
|
-
codec: string(),
|
|
14172
|
-
outputFormat: string(),
|
|
14173
|
-
createdAtMs: number()
|
|
14174
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14114
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14175
14115
|
kind: "mutation",
|
|
14176
14116
|
auth: "admin"
|
|
14177
14117
|
});
|
|
@@ -15171,6 +15111,10 @@ var DeviceInfoSchema = object({
|
|
|
15171
15111
|
isCamera: boolean(),
|
|
15172
15112
|
/** Current config values — serializable snapshot */
|
|
15173
15113
|
config: record(string(), unknown()),
|
|
15114
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15115
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15116
|
+
* when the owning runner has not reported them. */
|
|
15117
|
+
secretConfigPaths: array(string()).optional(),
|
|
15174
15118
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15175
15119
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15176
15120
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15376,7 +15320,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15376
15320
|
* call (workers re-register on init), so probe-driven updates
|
|
15377
15321
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15378
15322
|
features: array(string()).optional(),
|
|
15379
|
-
config: record(string(), unknown())
|
|
15323
|
+
config: record(string(), unknown()),
|
|
15324
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15325
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15326
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15327
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15328
|
+
* omits it and the keyword backstop applies. */
|
|
15329
|
+
secretConfigPaths: array(string()).optional()
|
|
15380
15330
|
});
|
|
15381
15331
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15382
15332
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16203,6 +16153,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16203
16153
|
kind: "mutation",
|
|
16204
16154
|
auth: "admin"
|
|
16205
16155
|
});
|
|
16156
|
+
var HUB_ADDRESS_ROLES = [
|
|
16157
|
+
"appConnections",
|
|
16158
|
+
"notificationTaps",
|
|
16159
|
+
"internal",
|
|
16160
|
+
"publicEndpoint"
|
|
16161
|
+
];
|
|
16206
16162
|
/**
|
|
16207
16163
|
* Transport bounds for AI capability methods.
|
|
16208
16164
|
*
|
|
@@ -17029,7 +16985,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17029
16985
|
icon: string().optional(),
|
|
17030
16986
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17031
16987
|
startUrl: string(),
|
|
17032
|
-
stage: LoginStageEnum
|
|
16988
|
+
stage: LoginStageEnum,
|
|
16989
|
+
/**
|
|
16990
|
+
* The provider names an external identity a signed-in user can link to
|
|
16991
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16992
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16993
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16994
|
+
*/
|
|
16995
|
+
linkable: boolean().optional()
|
|
17033
16996
|
}),
|
|
17034
16997
|
object({
|
|
17035
16998
|
kind: literal("widget"),
|
|
@@ -18805,6 +18768,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18805
18768
|
"stream-offline",
|
|
18806
18769
|
"node-online",
|
|
18807
18770
|
"node-offline",
|
|
18771
|
+
"node-restarting",
|
|
18772
|
+
"node-updating",
|
|
18808
18773
|
"node-inference-unavailable",
|
|
18809
18774
|
"detection-blind",
|
|
18810
18775
|
"addon-crash-loop",
|
|
@@ -20410,7 +20375,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20410
20375
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20411
20376
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20412
20377
|
*/
|
|
20413
|
-
notifySensorRewatched: boolean().optional()
|
|
20378
|
+
notifySensorRewatched: boolean().optional(),
|
|
20379
|
+
/**
|
|
20380
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20381
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20382
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20383
|
+
*/
|
|
20384
|
+
notifySensorIgnored: boolean().optional()
|
|
20414
20385
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20415
20386
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20416
20387
|
mode: AlarmArmModeSchema,
|
|
@@ -20423,7 +20394,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20423
20394
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20424
20395
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20425
20396
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20426
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20397
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20398
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20399
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20427
20400
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20428
20401
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20429
20402
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21401,8 +21374,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21401
21374
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21402
21375
|
stepId: "face-embedding",
|
|
21403
21376
|
key: "minLandmarkFaceSize",
|
|
21404
|
-
label: "Min face size
|
|
21405
|
-
description: "
|
|
21377
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21378
|
+
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.",
|
|
21406
21379
|
type: "slider",
|
|
21407
21380
|
min: 0,
|
|
21408
21381
|
max: 64,
|
|
@@ -22454,7 +22427,13 @@ var RetrainFrameSchema = object({
|
|
|
22454
22427
|
sizeBytes: number().int(),
|
|
22455
22428
|
width: number().int(),
|
|
22456
22429
|
height: number().int(),
|
|
22457
|
-
copiedAt: number()
|
|
22430
|
+
copiedAt: number(),
|
|
22431
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22432
|
+
capturedAt: number().optional(),
|
|
22433
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22434
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22435
|
+
* a false positive. */
|
|
22436
|
+
complete: boolean()
|
|
22458
22437
|
});
|
|
22459
22438
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22460
22439
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22475,6 +22454,51 @@ var RetrainFrameListSchema = object({
|
|
|
22475
22454
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22476
22455
|
autoPickMediaId: number().int().optional()
|
|
22477
22456
|
});
|
|
22457
|
+
/**
|
|
22458
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22459
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22460
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22461
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22462
|
+
* export carried (`exportedInBatch`).
|
|
22463
|
+
*/
|
|
22464
|
+
var RetrainExportFilterSchema = object({
|
|
22465
|
+
deviceIds: array(number()).optional(),
|
|
22466
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22467
|
+
batchId: string().optional(),
|
|
22468
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22469
|
+
completeOnly: boolean().optional()
|
|
22470
|
+
});
|
|
22471
|
+
/**
|
|
22472
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22473
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22474
|
+
* convention — the classifier layout.
|
|
22475
|
+
*/
|
|
22476
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22477
|
+
/**
|
|
22478
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22479
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22480
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22481
|
+
* logged.
|
|
22482
|
+
*/
|
|
22483
|
+
var RetrainArchiveTargetSchema = object({
|
|
22484
|
+
kind: literal("http"),
|
|
22485
|
+
method: _enum(["PUT", "POST"]),
|
|
22486
|
+
url: string().url(),
|
|
22487
|
+
headers: record(string(), string()).optional()
|
|
22488
|
+
});
|
|
22489
|
+
var RetrainArchiveResultSchema = object({
|
|
22490
|
+
batchId: string(),
|
|
22491
|
+
frames: number().int(),
|
|
22492
|
+
crops: number().int(),
|
|
22493
|
+
annotations: number().int(),
|
|
22494
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22495
|
+
missing: number().int(),
|
|
22496
|
+
bytes: number().int(),
|
|
22497
|
+
/** sha256 of the exact bytes sent. */
|
|
22498
|
+
sha256: string(),
|
|
22499
|
+
/** The target's HTTP status. */
|
|
22500
|
+
status: number().int()
|
|
22501
|
+
});
|
|
22478
22502
|
/** What the operator asked the assist to look for. */
|
|
22479
22503
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22480
22504
|
kind: literal("package"),
|
|
@@ -23269,9 +23293,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23269
23293
|
}), RetrainTransitionResultSchema, {
|
|
23270
23294
|
kind: "mutation",
|
|
23271
23295
|
auth: "admin"
|
|
23272
|
-
}), method(
|
|
23296
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23273
23297
|
kind: "query",
|
|
23274
23298
|
auth: "admin"
|
|
23299
|
+
}), method(object({
|
|
23300
|
+
deviceId: number(),
|
|
23301
|
+
trackId: string(),
|
|
23302
|
+
frameId: string(),
|
|
23303
|
+
complete: boolean()
|
|
23304
|
+
}), RetrainFrameSchema, {
|
|
23305
|
+
kind: "mutation",
|
|
23306
|
+
auth: "admin"
|
|
23307
|
+
}), method(object({
|
|
23308
|
+
filter: RetrainExportFilterSchema,
|
|
23309
|
+
layout: RetrainExportLayoutSchema,
|
|
23310
|
+
target: RetrainArchiveTargetSchema
|
|
23311
|
+
}), RetrainArchiveResultSchema, {
|
|
23312
|
+
kind: "mutation",
|
|
23313
|
+
auth: "admin",
|
|
23314
|
+
timeoutMs: 60 * 6e4
|
|
23275
23315
|
}), method(object({
|
|
23276
23316
|
/** Which of the three event tables owns the row. */
|
|
23277
23317
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23322,6 +23362,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23322
23362
|
timestamp: number()
|
|
23323
23363
|
});
|
|
23324
23364
|
/**
|
|
23365
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23366
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23367
|
+
*/
|
|
23368
|
+
var SuppliedRootOutputSchema = object({
|
|
23369
|
+
stepId: string(),
|
|
23370
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23371
|
+
modelId: string(),
|
|
23372
|
+
detections: array(object({
|
|
23373
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23374
|
+
bbox: tuple([
|
|
23375
|
+
number(),
|
|
23376
|
+
number(),
|
|
23377
|
+
number(),
|
|
23378
|
+
number()
|
|
23379
|
+
]),
|
|
23380
|
+
score: number(),
|
|
23381
|
+
/**
|
|
23382
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23383
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23384
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23385
|
+
*/
|
|
23386
|
+
landmarks: array(object({
|
|
23387
|
+
x: number(),
|
|
23388
|
+
y: number()
|
|
23389
|
+
})).optional()
|
|
23390
|
+
})).min(1)
|
|
23391
|
+
});
|
|
23392
|
+
/**
|
|
23325
23393
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23326
23394
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23327
23395
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23369,7 +23437,7 @@ var FrameRefSchema = object({
|
|
|
23369
23437
|
timestamp: number(),
|
|
23370
23438
|
capturedAt: number().optional()
|
|
23371
23439
|
});
|
|
23372
|
-
var ModelFormatSchema$
|
|
23440
|
+
var ModelFormatSchema$2 = _enum([
|
|
23373
23441
|
"onnx",
|
|
23374
23442
|
"coreml",
|
|
23375
23443
|
"openvino",
|
|
@@ -23387,7 +23455,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23387
23455
|
var PipelineEngineChoiceSchema = object({
|
|
23388
23456
|
runtime: literal("python"),
|
|
23389
23457
|
backend: string(),
|
|
23390
|
-
format: ModelFormatSchema$
|
|
23458
|
+
format: ModelFormatSchema$2,
|
|
23391
23459
|
device: string().optional()
|
|
23392
23460
|
});
|
|
23393
23461
|
/**
|
|
@@ -23426,32 +23494,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23426
23494
|
group: string().optional(),
|
|
23427
23495
|
settings: record(string(), unknown()).optional()
|
|
23428
23496
|
}));
|
|
23429
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23430
|
-
addonId: string(),
|
|
23431
|
-
enabled: boolean(),
|
|
23432
|
-
modelId: string(),
|
|
23433
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23434
|
-
settings: record(string(), unknown()).optional()
|
|
23435
|
-
}));
|
|
23436
|
-
var PipelineTemplateSchema$1 = object({
|
|
23437
|
-
id: string(),
|
|
23438
|
-
name: string(),
|
|
23439
|
-
createdAt: string(),
|
|
23440
|
-
updatedAt: string(),
|
|
23441
|
-
engine: PipelineEngineChoiceSchema,
|
|
23442
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23443
|
-
});
|
|
23444
23497
|
var PipelineModelOptionSchema = object({
|
|
23445
23498
|
id: string(),
|
|
23446
23499
|
name: string(),
|
|
23447
|
-
formats: record(string(),
|
|
23448
|
-
downloaded: boolean(),
|
|
23449
|
-
sizeMB: number()
|
|
23450
|
-
})),
|
|
23500
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23451
23501
|
group: ModelVariantGroupSchema.optional(),
|
|
23452
23502
|
legacy: boolean().optional(),
|
|
23453
23503
|
provider: ModelProviderIdSchema.optional(),
|
|
23454
|
-
defaultConfidence: number().optional()
|
|
23504
|
+
defaultConfidence: number().optional(),
|
|
23505
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23455
23506
|
});
|
|
23456
23507
|
var ConfigFieldBridge = custom();
|
|
23457
23508
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23613,6 +23664,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23613
23664
|
}), {
|
|
23614
23665
|
kind: "mutation",
|
|
23615
23666
|
auth: "admin"
|
|
23667
|
+
}), method(object({
|
|
23668
|
+
nodeId: string(),
|
|
23669
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23670
|
+
dryRun: boolean()
|
|
23671
|
+
}), object({
|
|
23672
|
+
entries: array(object({
|
|
23673
|
+
deviceId: number(),
|
|
23674
|
+
keys: array(string()).readonly()
|
|
23675
|
+
})).readonly(),
|
|
23676
|
+
refused: array(object({
|
|
23677
|
+
deviceId: number(),
|
|
23678
|
+
reason: string()
|
|
23679
|
+
})).readonly()
|
|
23680
|
+
}), {
|
|
23681
|
+
kind: "mutation",
|
|
23682
|
+
auth: "admin"
|
|
23616
23683
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23617
23684
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23618
23685
|
deviceKey: string(),
|
|
@@ -23638,22 +23705,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23638
23705
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23639
23706
|
steps: array(PipelineStepInputSchema),
|
|
23640
23707
|
deviceKey: string().optional()
|
|
23641
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23642
|
-
name: string(),
|
|
23643
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23644
|
-
engine: PipelineEngineChoiceSchema
|
|
23645
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23646
|
-
id: string(),
|
|
23647
|
-
name: string().optional(),
|
|
23648
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23649
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23708
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23650
23709
|
addonId: string(),
|
|
23651
23710
|
modelId: string(),
|
|
23652
|
-
format: ModelFormatSchema$
|
|
23711
|
+
format: ModelFormatSchema$2
|
|
23653
23712
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23654
23713
|
addonId: string(),
|
|
23655
23714
|
modelId: string(),
|
|
23656
|
-
format: ModelFormatSchema$
|
|
23715
|
+
format: ModelFormatSchema$2
|
|
23657
23716
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23658
23717
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23659
23718
|
frame: FrameInputSchema.optional(),
|
|
@@ -23719,7 +23778,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23719
23778
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23720
23779
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23721
23780
|
*/
|
|
23722
|
-
replay: literal(true).optional()
|
|
23781
|
+
replay: literal(true).optional(),
|
|
23782
|
+
/**
|
|
23783
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23784
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23785
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23786
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23787
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23788
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23789
|
+
*/
|
|
23790
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23723
23791
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23724
23792
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23725
23793
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23801,6 +23869,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23801
23869
|
filename: string().optional(),
|
|
23802
23870
|
settings: record(string(), unknown()).optional()
|
|
23803
23871
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23872
|
+
/**
|
|
23873
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23874
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23875
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23876
|
+
* schemas are what crosses the cap boundary.
|
|
23877
|
+
*/
|
|
23878
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23879
|
+
/** The operator's range for it. */
|
|
23880
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23881
|
+
min: 1,
|
|
23882
|
+
max: 8
|
|
23883
|
+
};
|
|
23884
|
+
var HardwareClassIdSchema = _enum([
|
|
23885
|
+
"intel-core-ultra",
|
|
23886
|
+
"intel-n-series",
|
|
23887
|
+
"apple-m-base",
|
|
23888
|
+
"apple-m-pro",
|
|
23889
|
+
"unknown"
|
|
23890
|
+
]);
|
|
23891
|
+
var AcceleratorKindSchema = _enum([
|
|
23892
|
+
"intel-npu",
|
|
23893
|
+
"intel-igpu",
|
|
23894
|
+
"x86-cpu",
|
|
23895
|
+
"arm-cpu",
|
|
23896
|
+
"apple-ane",
|
|
23897
|
+
"coral"
|
|
23898
|
+
]);
|
|
23899
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23900
|
+
object({
|
|
23901
|
+
kind: literal("capacity"),
|
|
23902
|
+
sessions: number(),
|
|
23903
|
+
minSessions: number()
|
|
23904
|
+
}),
|
|
23905
|
+
object({
|
|
23906
|
+
kind: literal("tie-faster"),
|
|
23907
|
+
over: string(),
|
|
23908
|
+
recallDelta: number()
|
|
23909
|
+
}),
|
|
23910
|
+
object({
|
|
23911
|
+
kind: literal("stepped-down"),
|
|
23912
|
+
from: string(),
|
|
23913
|
+
to: string(),
|
|
23914
|
+
limitedBy: string()
|
|
23915
|
+
}),
|
|
23916
|
+
object({
|
|
23917
|
+
kind: literal("no-fit-lightest"),
|
|
23918
|
+
sessions: number(),
|
|
23919
|
+
minSessions: number()
|
|
23920
|
+
}),
|
|
23921
|
+
object({
|
|
23922
|
+
kind: literal("derived-latency"),
|
|
23923
|
+
modelId: string()
|
|
23924
|
+
}),
|
|
23925
|
+
object({ kind: literal("cpu-device") }),
|
|
23926
|
+
object({ kind: literal("coral-untouched") }),
|
|
23927
|
+
object({ kind: literal("device-disabled") }),
|
|
23928
|
+
object({ kind: literal("device-unavailable") }),
|
|
23929
|
+
object({ kind: literal("node-offline") }),
|
|
23930
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23931
|
+
object({
|
|
23932
|
+
kind: literal("no-measured-data"),
|
|
23933
|
+
hardwareClass: HardwareClassIdSchema
|
|
23934
|
+
}),
|
|
23935
|
+
object({
|
|
23936
|
+
kind: literal("no-family-build"),
|
|
23937
|
+
format: ModelFormatSchema$1
|
|
23938
|
+
})
|
|
23939
|
+
]);
|
|
23940
|
+
var DeviceModelChoiceSchema = object({
|
|
23941
|
+
modelId: string(),
|
|
23942
|
+
p50Ms: number(),
|
|
23943
|
+
fps: number(),
|
|
23944
|
+
measured: boolean(),
|
|
23945
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23946
|
+
capacitySessions: number(),
|
|
23947
|
+
personRecall: number()
|
|
23948
|
+
});
|
|
23949
|
+
var DeviceRecommendationSchema = object({
|
|
23950
|
+
deviceKey: string(),
|
|
23951
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23952
|
+
enabled: boolean(),
|
|
23953
|
+
available: boolean(),
|
|
23954
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23955
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23956
|
+
});
|
|
23957
|
+
var NodeRecommendationSchema = object({
|
|
23958
|
+
nodeId: string(),
|
|
23959
|
+
reachable: boolean(),
|
|
23960
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23961
|
+
cpuModel: string().nullable(),
|
|
23962
|
+
skipped: boolean(),
|
|
23963
|
+
acceleratorModelId: string().nullable(),
|
|
23964
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23965
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23966
|
+
});
|
|
23967
|
+
var ModelPinChangeSchema = object({
|
|
23968
|
+
stepId: string(),
|
|
23969
|
+
before: string().nullable(),
|
|
23970
|
+
after: string().nullable()
|
|
23971
|
+
});
|
|
23972
|
+
var NodeDeviceChangeSchema = object({
|
|
23973
|
+
nodeId: string(),
|
|
23974
|
+
deviceKey: string(),
|
|
23975
|
+
madeExplicit: boolean(),
|
|
23976
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23977
|
+
thresholds: array(object({
|
|
23978
|
+
stepId: string(),
|
|
23979
|
+
keys: array(string()).readonly()
|
|
23980
|
+
})).readonly()
|
|
23981
|
+
});
|
|
23982
|
+
var CameraOverrideClearSchema = object({
|
|
23983
|
+
deviceId: number(),
|
|
23984
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23985
|
+
nodeId: string(),
|
|
23986
|
+
deviceKey: string().nullable(),
|
|
23987
|
+
stepId: string(),
|
|
23988
|
+
modelIdBefore: string().nullable(),
|
|
23989
|
+
keys: array(string()).readonly()
|
|
23990
|
+
});
|
|
23991
|
+
var DetectorStoreClearSchema = object({
|
|
23992
|
+
deviceId: number(),
|
|
23993
|
+
keys: array(string()).readonly()
|
|
23994
|
+
});
|
|
23995
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23996
|
+
object({
|
|
23997
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23998
|
+
skippedNodes: array(string()).readonly()
|
|
23999
|
+
}),
|
|
24000
|
+
object({
|
|
24001
|
+
kind: literal("detector-store-unreadable"),
|
|
24002
|
+
error: string()
|
|
24003
|
+
}),
|
|
24004
|
+
object({
|
|
24005
|
+
kind: literal("coral-enabled"),
|
|
24006
|
+
nodeId: string(),
|
|
24007
|
+
deviceKey: string()
|
|
24008
|
+
})
|
|
24009
|
+
]);
|
|
24010
|
+
var AutoTuneOptionsSchema = object({
|
|
24011
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24012
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24013
|
+
/**
|
|
24014
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24015
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24016
|
+
* that reaches it wins.
|
|
24017
|
+
*/
|
|
24018
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24019
|
+
});
|
|
24020
|
+
var AutoTunePlanSchema = object({
|
|
24021
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24022
|
+
planHash: string(),
|
|
24023
|
+
family: literal("yolov9"),
|
|
24024
|
+
headroom: number(),
|
|
24025
|
+
minSessionsPerDevice: number(),
|
|
24026
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24027
|
+
cameraFps: number(),
|
|
24028
|
+
generatedAt: number(),
|
|
24029
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24030
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24031
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24032
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24033
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24034
|
+
});
|
|
24035
|
+
var AutoTuneApplyInputSchema = object({
|
|
24036
|
+
planHash: string(),
|
|
24037
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24038
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24039
|
+
});
|
|
24040
|
+
var AutoTunePhaseResultSchema = object({
|
|
24041
|
+
phase: _enum([
|
|
24042
|
+
"download",
|
|
24043
|
+
"camera-overrides",
|
|
24044
|
+
"detector-thresholds",
|
|
24045
|
+
"node-models",
|
|
24046
|
+
"redispatch"
|
|
24047
|
+
]),
|
|
24048
|
+
ok: boolean(),
|
|
24049
|
+
detail: string()
|
|
24050
|
+
});
|
|
24051
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24052
|
+
object({
|
|
24053
|
+
kind: literal("applied"),
|
|
24054
|
+
planHash: string(),
|
|
24055
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24056
|
+
}),
|
|
24057
|
+
object({
|
|
24058
|
+
kind: literal("aborted"),
|
|
24059
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24060
|
+
}),
|
|
24061
|
+
object({
|
|
24062
|
+
kind: literal("stale"),
|
|
24063
|
+
plan: AutoTunePlanSchema
|
|
24064
|
+
}),
|
|
24065
|
+
object({
|
|
24066
|
+
kind: literal("refused"),
|
|
24067
|
+
reason: _enum(["apply-in-progress"])
|
|
24068
|
+
})
|
|
24069
|
+
]);
|
|
24070
|
+
/**
|
|
24071
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24072
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24073
|
+
* hardware share suggestion and the stale device pins.
|
|
24074
|
+
*/
|
|
24075
|
+
/**
|
|
24076
|
+
* How a new detection session picks its node and device.
|
|
24077
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24078
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24079
|
+
* weight only bites once a node already holds a session.
|
|
24080
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24081
|
+
* full or drowning node yields to a free one (D748).
|
|
24082
|
+
*/
|
|
24083
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24084
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24085
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24086
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24087
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24088
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24089
|
+
});
|
|
24090
|
+
var PlacementStatsInputSchema = object({
|
|
24091
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24092
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24093
|
+
var PlacementDeviceStatsSchema = object({
|
|
24094
|
+
deviceKey: string(),
|
|
24095
|
+
/** Sessions running on this device now. */
|
|
24096
|
+
sessionsNow: number(),
|
|
24097
|
+
/** Sessions started on this device inside the window. */
|
|
24098
|
+
sessionsStarted: number(),
|
|
24099
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24100
|
+
observedShare: number().nullable()
|
|
24101
|
+
});
|
|
24102
|
+
var PlacementNodeStatsSchema = object({
|
|
24103
|
+
nodeId: string(),
|
|
24104
|
+
sessionsNow: number(),
|
|
24105
|
+
sessionsStarted: number(),
|
|
24106
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24107
|
+
observedShare: number().nullable(),
|
|
24108
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24109
|
+
peakSessions: number(),
|
|
24110
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24111
|
+
yieldsAway: number(),
|
|
24112
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24113
|
+
});
|
|
24114
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24115
|
+
var StaleDevicePinSchema = object({
|
|
24116
|
+
deviceId: number(),
|
|
24117
|
+
deviceKey: string(),
|
|
24118
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24119
|
+
reason: _enum(["disabled", "absent"])
|
|
24120
|
+
});
|
|
24121
|
+
var PlacementStatsSchema = object({
|
|
24122
|
+
policy: SessionPlacementPolicySchema,
|
|
24123
|
+
windowMs: number(),
|
|
24124
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24125
|
+
observedForMs: number(),
|
|
24126
|
+
sessionsNow: number(),
|
|
24127
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24128
|
+
clusterPeakSessions: number(),
|
|
24129
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24130
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24131
|
+
});
|
|
24132
|
+
/**
|
|
24133
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24134
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24135
|
+
* the measured latency table for the node's hardware class.
|
|
24136
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24137
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24138
|
+
*/
|
|
24139
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24140
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24141
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24142
|
+
var SuggestSharesInputSchema = object({
|
|
24143
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24144
|
+
/** Default `hardware`. */
|
|
24145
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24146
|
+
});
|
|
24147
|
+
var SuggestedDeviceShareSchema = object({
|
|
24148
|
+
deviceKey: string(),
|
|
24149
|
+
/** Share of the node (0–100, rounded). */
|
|
24150
|
+
share: number(),
|
|
24151
|
+
modelId: string().nullable(),
|
|
24152
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24153
|
+
fps: number().nullable(),
|
|
24154
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24155
|
+
measured: boolean(),
|
|
24156
|
+
/**
|
|
24157
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24158
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24159
|
+
*/
|
|
24160
|
+
suggestedMaxSessions: number().nullable()
|
|
24161
|
+
});
|
|
24162
|
+
var SuggestedNodeShareSchema = object({
|
|
24163
|
+
nodeId: string(),
|
|
24164
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24165
|
+
share: number().nullable(),
|
|
24166
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24167
|
+
capacitySessions: number(),
|
|
24168
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24169
|
+
skippedReason: string().nullable(),
|
|
24170
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24171
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24172
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24173
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24174
|
+
});
|
|
24175
|
+
var SuggestSharesResultSchema = object({
|
|
24176
|
+
headroom: number(),
|
|
24177
|
+
/** The source asked for; each node says what it actually used. */
|
|
24178
|
+
source: CapacitySourceSchema,
|
|
24179
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24180
|
+
cameraFps: number(),
|
|
24181
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24182
|
+
minSessionsPerDevice: number(),
|
|
24183
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24184
|
+
});
|
|
24185
|
+
/**
|
|
24186
|
+
* Where the node and device shares come from (D750, D755).
|
|
24187
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24188
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24189
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24190
|
+
* switched on or off, or changes model. No load input.
|
|
24191
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24192
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24193
|
+
* - `manual` — the operator's stored sliders.
|
|
24194
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24195
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24196
|
+
*/
|
|
24197
|
+
var ShareSourceSchema = _enum([
|
|
24198
|
+
"hardware",
|
|
24199
|
+
"benchmark",
|
|
24200
|
+
"manual"
|
|
24201
|
+
]);
|
|
24202
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24203
|
+
object({
|
|
24204
|
+
nodes: record(string(), number()),
|
|
24205
|
+
devices: record(string(), record(string(), number()))
|
|
24206
|
+
});
|
|
24207
|
+
var EffectiveDeviceShareSchema = object({
|
|
24208
|
+
deviceKey: string(),
|
|
24209
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24210
|
+
eligible: boolean(),
|
|
24211
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24212
|
+
configuredPct: number(),
|
|
24213
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24214
|
+
effectivePct: number()
|
|
24215
|
+
});
|
|
24216
|
+
var EffectiveNodeShareSchema = object({
|
|
24217
|
+
nodeId: string(),
|
|
24218
|
+
eligible: boolean(),
|
|
24219
|
+
configuredPct: number(),
|
|
24220
|
+
effectivePct: number(),
|
|
24221
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24222
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24223
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24224
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24225
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24226
|
+
});
|
|
24227
|
+
var EffectiveSharesSchema = object({
|
|
24228
|
+
source: ShareSourceSchema,
|
|
24229
|
+
policy: SessionPlacementPolicySchema,
|
|
24230
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24231
|
+
autoPending: boolean(),
|
|
24232
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24233
|
+
computedAt: number().nullable(),
|
|
24234
|
+
/** What made the system recompute them last. */
|
|
24235
|
+
trigger: string().nullable(),
|
|
24236
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24237
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24238
|
+
nodeWeights: record(string(), number()),
|
|
24239
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24240
|
+
});
|
|
23804
24241
|
object({
|
|
23805
24242
|
activeCameras: number(),
|
|
23806
24243
|
throttledCameras: number(),
|
|
@@ -24718,14 +25155,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24718
25155
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24719
25156
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24720
25157
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24721
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24722
|
-
* per
|
|
25158
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25159
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25160
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25161
|
+
* (D762).
|
|
24723
25162
|
*/
|
|
24724
25163
|
devices: array(object({
|
|
24725
25164
|
deviceKey: string(),
|
|
24726
25165
|
backend: string(),
|
|
24727
|
-
attachedCameras: number()
|
|
24728
|
-
queueDepthTotal: number()
|
|
25166
|
+
attachedCameras: number()
|
|
24729
25167
|
})).default([]),
|
|
24730
25168
|
/** Hardware capability flags reported by this node. */
|
|
24731
25169
|
hardware: object({
|
|
@@ -24861,7 +25299,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24861
25299
|
*/
|
|
24862
25300
|
cropJpeg: string().optional(),
|
|
24863
25301
|
parent: DetailParentSchema,
|
|
24864
|
-
steps: array(string()).optional()
|
|
25302
|
+
steps: array(string()).optional(),
|
|
25303
|
+
/**
|
|
25304
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25305
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25306
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25307
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25308
|
+
* requested step infers as before.
|
|
25309
|
+
*/
|
|
25310
|
+
supplied: object({
|
|
25311
|
+
stepId: string(),
|
|
25312
|
+
modelId: string(),
|
|
25313
|
+
boxes: array(object({
|
|
25314
|
+
bbox: NativeCropBboxSchema,
|
|
25315
|
+
score: number()
|
|
25316
|
+
})).min(1)
|
|
25317
|
+
}).optional()
|
|
24865
25318
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24866
25319
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24867
25320
|
stepId: string(),
|
|
@@ -24924,14 +25377,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24924
25377
|
settings: record(string(), unknown()).readonly().optional()
|
|
24925
25378
|
}).nullable().optional()
|
|
24926
25379
|
});
|
|
24927
|
-
var PipelineTemplateSchema = object({
|
|
24928
|
-
id: string(),
|
|
24929
|
-
name: string(),
|
|
24930
|
-
description: string().optional(),
|
|
24931
|
-
config: CameraPipelineConfigSchema,
|
|
24932
|
-
createdAt: string(),
|
|
24933
|
-
updatedAt: string()
|
|
24934
|
-
});
|
|
24935
25380
|
var DeviceStepConfigSchema = object({
|
|
24936
25381
|
modelId: string().optional(),
|
|
24937
25382
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25005,9 +25450,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25005
25450
|
modelId: string().optional(),
|
|
25006
25451
|
settings: record(string(), unknown()).readonly().optional()
|
|
25007
25452
|
});
|
|
25453
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25008
25454
|
var CameraPipelineSettingsSchema = object({
|
|
25009
|
-
pinnedAgentNodeId: string().optional(),
|
|
25010
25455
|
stepToggles: record(string(), boolean()).optional(),
|
|
25456
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25011
25457
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25012
25458
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25013
25459
|
});
|
|
@@ -25040,7 +25486,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25040
25486
|
});
|
|
25041
25487
|
/**
|
|
25042
25488
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25043
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25489
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25490
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25491
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25492
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25044
25493
|
*/
|
|
25045
25494
|
var AgentLoadSummarySchema = object({
|
|
25046
25495
|
nodeId: string(),
|
|
@@ -25129,26 +25578,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25129
25578
|
width: number(),
|
|
25130
25579
|
height: number(),
|
|
25131
25580
|
subscribers: number(),
|
|
25132
|
-
|
|
25133
|
-
|
|
25581
|
+
/**
|
|
25582
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25583
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25584
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25585
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25586
|
+
* camera and is not served (D758).
|
|
25587
|
+
*/
|
|
25588
|
+
inFps: number().nullable()
|
|
25134
25589
|
})).readonly(),
|
|
25135
25590
|
webrtcSessions: number(),
|
|
25136
25591
|
rtspRestream: boolean()
|
|
25137
25592
|
});
|
|
25138
|
-
/**
|
|
25139
|
-
|
|
25140
|
-
|
|
25141
|
-
|
|
25142
|
-
|
|
25143
|
-
|
|
25144
|
-
|
|
25145
|
-
|
|
25146
|
-
var CameraDecoderStatusSchema = object({
|
|
25147
|
-
nodeId: string(),
|
|
25148
|
-
formats: array(string()).readonly(),
|
|
25149
|
-
sessionCount: number(),
|
|
25150
|
-
shm: CameraDecoderShmSchema
|
|
25151
|
-
});
|
|
25593
|
+
/**
|
|
25594
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25595
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25596
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25597
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25598
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25599
|
+
* detector), never from a counter nothing feeds.
|
|
25600
|
+
*/
|
|
25601
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25152
25602
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25153
25603
|
var CameraMotionStatusSchema = object({
|
|
25154
25604
|
enabled: boolean(),
|
|
@@ -25505,12 +25955,6 @@ method(object({
|
|
|
25505
25955
|
}), object({ success: literal(true) }), {
|
|
25506
25956
|
kind: "mutation",
|
|
25507
25957
|
auth: "admin"
|
|
25508
|
-
}), method(object({
|
|
25509
|
-
agentNodeId: string(),
|
|
25510
|
-
detectWeight: number().positive().nullable()
|
|
25511
|
-
}), object({ success: literal(true) }), {
|
|
25512
|
-
kind: "mutation",
|
|
25513
|
-
auth: "admin"
|
|
25514
25958
|
}), method(object({
|
|
25515
25959
|
agentNodeId: string(),
|
|
25516
25960
|
detect: boolean().nullable().optional(),
|
|
@@ -25552,6 +25996,15 @@ method(object({
|
|
|
25552
25996
|
}), {
|
|
25553
25997
|
kind: "mutation",
|
|
25554
25998
|
auth: "admin"
|
|
25999
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26000
|
+
kind: "mutation",
|
|
26001
|
+
auth: "admin"
|
|
26002
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26003
|
+
kind: "mutation",
|
|
26004
|
+
auth: "admin"
|
|
26005
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26006
|
+
kind: "mutation",
|
|
26007
|
+
auth: "admin"
|
|
25555
26008
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25556
26009
|
deviceId: number(),
|
|
25557
26010
|
addonId: string(),
|
|
@@ -25568,6 +26021,13 @@ method(object({
|
|
|
25568
26021
|
}), object({ success: literal(true) }), {
|
|
25569
26022
|
kind: "mutation",
|
|
25570
26023
|
auth: "admin"
|
|
26024
|
+
}), method(object({
|
|
26025
|
+
deviceId: number(),
|
|
26026
|
+
addonId: string(),
|
|
26027
|
+
settings: record(string(), unknown()).nullable()
|
|
26028
|
+
}), object({ success: literal(true) }), {
|
|
26029
|
+
kind: "mutation",
|
|
26030
|
+
auth: "admin"
|
|
25571
26031
|
}), method(object({
|
|
25572
26032
|
deviceId: number(),
|
|
25573
26033
|
agentNodeId: string(),
|
|
@@ -25591,25 +26051,7 @@ method(object({
|
|
|
25591
26051
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25592
26052
|
kind: "mutation",
|
|
25593
26053
|
auth: "admin"
|
|
25594
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25595
|
-
name: string(),
|
|
25596
|
-
description: string().optional(),
|
|
25597
|
-
config: CameraPipelineConfigSchema
|
|
25598
|
-
}), PipelineTemplateSchema, {
|
|
25599
|
-
kind: "mutation",
|
|
25600
|
-
auth: "admin"
|
|
25601
|
-
}), method(object({
|
|
25602
|
-
id: string(),
|
|
25603
|
-
name: string().optional(),
|
|
25604
|
-
description: string().optional(),
|
|
25605
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25606
|
-
}), PipelineTemplateSchema, {
|
|
25607
|
-
kind: "mutation",
|
|
25608
|
-
auth: "admin"
|
|
25609
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25610
|
-
kind: "mutation",
|
|
25611
|
-
auth: "admin"
|
|
25612
|
-
});
|
|
26054
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25613
26055
|
/**
|
|
25614
26056
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25615
26057
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26303,7 +26745,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26303
26745
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26304
26746
|
* operator already consented to.
|
|
26305
26747
|
*/
|
|
26306
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26748
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26749
|
+
/**
|
|
26750
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26751
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26752
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26753
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26754
|
+
*/
|
|
26755
|
+
linkIntent: string().optional(),
|
|
26756
|
+
/**
|
|
26757
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26758
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26759
|
+
*/
|
|
26760
|
+
issuer: string().optional()
|
|
26307
26761
|
});
|
|
26308
26762
|
method(object({
|
|
26309
26763
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27962,8 +28416,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27962
28416
|
]).nullable(),
|
|
27963
28417
|
/** Input FPS from the camera (null for adaptive). */
|
|
27964
28418
|
inputFps: number().nullable(),
|
|
27965
|
-
/** Decoded FPS (null for adaptive). */
|
|
27966
|
-
decodeFps: number().nullable(),
|
|
27967
28419
|
/** Bitrate in kbps (null for adaptive). */
|
|
27968
28420
|
bitrateKbps: number().nullable()
|
|
27969
28421
|
});
|
|
@@ -28240,7 +28692,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28240
28692
|
* field their hints were silently stripped by the schema and the
|
|
28241
28693
|
* adaptive ladder started blind on the client's display size.
|
|
28242
28694
|
*/
|
|
28243
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28695
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28696
|
+
/**
|
|
28697
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28698
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28699
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28700
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28701
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28702
|
+
*
|
|
28703
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28704
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28705
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28706
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28707
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28708
|
+
* flag must not become a second door to the camera's speaker.
|
|
28709
|
+
*/
|
|
28710
|
+
talkback: boolean().optional()
|
|
28244
28711
|
}), object({
|
|
28245
28712
|
sessionId: string(),
|
|
28246
28713
|
sdpAnswer: string()
|
|
@@ -28295,6 +28762,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28295
28762
|
*/
|
|
28296
28763
|
alive: boolean()
|
|
28297
28764
|
})), method(object({
|
|
28765
|
+
deviceId: number().int().nonnegative(),
|
|
28766
|
+
sessionId: string(),
|
|
28767
|
+
downlinkMbps: number().nonnegative()
|
|
28768
|
+
}), object({
|
|
28769
|
+
outcome: _enum(["switching", "held"]),
|
|
28770
|
+
tier: CamProfileSchema.nullable(),
|
|
28771
|
+
reason: string()
|
|
28772
|
+
}), { kind: "mutation" }), method(object({
|
|
28298
28773
|
deviceId: number().int().nonnegative(),
|
|
28299
28774
|
sessionId: string()
|
|
28300
28775
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28534,6 +29009,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28534
29009
|
var RestartAddonResultSchema = unknown();
|
|
28535
29010
|
var InstallPackageResultSchema = unknown();
|
|
28536
29011
|
var ReloadPackagesResultSchema = unknown();
|
|
29012
|
+
/**
|
|
29013
|
+
* What an uninstall did on ONE node.
|
|
29014
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29015
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29016
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29017
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29018
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29019
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29020
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29021
|
+
*/
|
|
29022
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29023
|
+
"uninstalled",
|
|
29024
|
+
"not-installed",
|
|
29025
|
+
"refused",
|
|
29026
|
+
"failed",
|
|
29027
|
+
"pending-reconnect"
|
|
29028
|
+
]);
|
|
29029
|
+
var UninstallNodeResultSchema = object({
|
|
29030
|
+
nodeId: string(),
|
|
29031
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29032
|
+
error: string().optional(),
|
|
29033
|
+
addonIds: array(string()).readonly(),
|
|
29034
|
+
runnersStopped: array(string()).readonly(),
|
|
29035
|
+
warnings: array(string()).readonly()
|
|
29036
|
+
});
|
|
29037
|
+
var UninstallPackageResultSchema = object({
|
|
29038
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29039
|
+
success: boolean(),
|
|
29040
|
+
packageName: string(),
|
|
29041
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29042
|
+
});
|
|
29043
|
+
/**
|
|
29044
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29045
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29046
|
+
*/
|
|
29047
|
+
var PackageInstallationsSchema = object({
|
|
29048
|
+
installations: array(object({
|
|
29049
|
+
packageName: string(),
|
|
29050
|
+
nodeId: string(),
|
|
29051
|
+
nodeName: string(),
|
|
29052
|
+
isHub: boolean(),
|
|
29053
|
+
isOnline: boolean(),
|
|
29054
|
+
version: string().nullable(),
|
|
29055
|
+
addonIds: array(string()).readonly(),
|
|
29056
|
+
source: _enum(["live", "recorded"]),
|
|
29057
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29058
|
+
onHub: boolean()
|
|
29059
|
+
})).readonly(),
|
|
29060
|
+
unreachable: array(object({
|
|
29061
|
+
nodeId: string(),
|
|
29062
|
+
error: string()
|
|
29063
|
+
})).readonly()
|
|
29064
|
+
});
|
|
28537
29065
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28538
29066
|
"queued",
|
|
28539
29067
|
"updating",
|
|
@@ -28616,10 +29144,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28616
29144
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28617
29145
|
kind: "mutation",
|
|
28618
29146
|
auth: "admin"
|
|
28619
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29147
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29148
|
+
packageName: string().min(1),
|
|
29149
|
+
nodeId: string().optional(),
|
|
29150
|
+
everywhere: boolean().optional()
|
|
29151
|
+
}), UninstallPackageResultSchema, {
|
|
28620
29152
|
kind: "mutation",
|
|
28621
29153
|
auth: "admin"
|
|
28622
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29154
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28623
29155
|
kind: "mutation",
|
|
28624
29156
|
auth: "admin"
|
|
28625
29157
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -32114,7 +32646,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32114
32646
|
"lan-ipv6",
|
|
32115
32647
|
"public",
|
|
32116
32648
|
"loopback",
|
|
32117
|
-
"app-link"
|
|
32649
|
+
"app-link",
|
|
32650
|
+
"custom"
|
|
32118
32651
|
]),
|
|
32119
32652
|
/**
|
|
32120
32653
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32183,7 +32716,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32183
32716
|
localPort: AdvertisedLocalPortSchema
|
|
32184
32717
|
});
|
|
32185
32718
|
/**
|
|
32186
|
-
* The address flagged for notification
|
|
32719
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32187
32720
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32188
32721
|
* so the UI can show it either way.
|
|
32189
32722
|
*/
|
|
@@ -32216,6 +32749,72 @@ var ViewerEndpointsSchema = object({
|
|
|
32216
32749
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
32217
32750
|
resolved: array(string()).readonly()
|
|
32218
32751
|
});
|
|
32752
|
+
/**
|
|
32753
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
32754
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
32755
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
32756
|
+
*/
|
|
32757
|
+
var HubAddressSnapshotSchema = object({
|
|
32758
|
+
override: string().nullable(),
|
|
32759
|
+
resolved: string().nullable(),
|
|
32760
|
+
source: _enum([
|
|
32761
|
+
"override",
|
|
32762
|
+
"auto",
|
|
32763
|
+
"none"
|
|
32764
|
+
])
|
|
32765
|
+
});
|
|
32766
|
+
var HubAddressesSchema = object({
|
|
32767
|
+
cluster: HubAddressSnapshotSchema,
|
|
32768
|
+
browser: HubAddressSnapshotSchema
|
|
32769
|
+
});
|
|
32770
|
+
/**
|
|
32771
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
32772
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
32773
|
+
* by at most one address.
|
|
32774
|
+
*/
|
|
32775
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
32776
|
+
var RoleSourceSchema = _enum([
|
|
32777
|
+
"flagged",
|
|
32778
|
+
"auto",
|
|
32779
|
+
"none"
|
|
32780
|
+
]);
|
|
32781
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
32782
|
+
var HubAddressRoleResolutionSchema = object({
|
|
32783
|
+
/** The address carrying the flag, or null = automatic. */
|
|
32784
|
+
flagged: string().nullable(),
|
|
32785
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
32786
|
+
resolved: string().nullable(),
|
|
32787
|
+
source: RoleSourceSchema
|
|
32788
|
+
});
|
|
32789
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
32790
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
32791
|
+
flagged: array(string()).readonly(),
|
|
32792
|
+
/** What the apps race right now. */
|
|
32793
|
+
resolved: array(string()).readonly(),
|
|
32794
|
+
source: RoleSourceSchema
|
|
32795
|
+
});
|
|
32796
|
+
var HubAddressBookSchema = object({
|
|
32797
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
32798
|
+
/** In the hub's detected palette right now. */
|
|
32799
|
+
detected: boolean(),
|
|
32800
|
+
/** Entered by the operator (removable). */
|
|
32801
|
+
custom: boolean(),
|
|
32802
|
+
/** The roles explicitly flagged on this address. */
|
|
32803
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
32804
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
32805
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
32806
|
+
/** The roles this address may be flagged with. */
|
|
32807
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
32808
|
+
})).readonly(),
|
|
32809
|
+
roles: object({
|
|
32810
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
32811
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
32812
|
+
internal: HubAddressRoleResolutionSchema,
|
|
32813
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
32814
|
+
}),
|
|
32815
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
32816
|
+
appLinkHub: string().nullable()
|
|
32817
|
+
});
|
|
32219
32818
|
var AllowedAddressesSchema = object({
|
|
32220
32819
|
/**
|
|
32221
32820
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -32259,10 +32858,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32259
32858
|
* tunnel always emits `https://` regardless. */
|
|
32260
32859
|
scheme: _enum(["http", "https"]).optional(),
|
|
32261
32860
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32262
|
-
* an address notification
|
|
32861
|
+
* an address notification taps can be flagged with, not a hub
|
|
32263
32862
|
* route. Default `false`: racers and rankers never see it. */
|
|
32264
32863
|
includeAppLink: boolean().optional()
|
|
32265
|
-
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(
|
|
32864
|
+
}), GetConnectionEndpointsResultSchema), method(_void(), NotificationEndpointSchema), method(object({ baseUrl: string().nullable() }), NotificationEndpointSchema, { kind: "mutation" }), method(_void(), ViewerEndpointsSchema), method(object({ baseUrls: array(string()).readonly() }), ViewerEndpointsSchema, { kind: "mutation" }), method(object({ scheme: _enum(["http", "https"]).optional() }).optional(), HubAddressBookSchema), method(object({
|
|
32865
|
+
baseUrl: string(),
|
|
32866
|
+
label: string().max(80)
|
|
32867
|
+
}), HubAddressBookSchema, {
|
|
32868
|
+
kind: "mutation",
|
|
32869
|
+
auth: "admin"
|
|
32870
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
32871
|
+
kind: "mutation",
|
|
32872
|
+
auth: "admin"
|
|
32873
|
+
}), method(object({
|
|
32874
|
+
role: HubAddressRoleSchema,
|
|
32875
|
+
baseUrl: string().nullable(),
|
|
32876
|
+
enabled: boolean(),
|
|
32877
|
+
acceptInsecureHttp: boolean().optional()
|
|
32878
|
+
}), HubAddressBookSchema, {
|
|
32879
|
+
kind: "mutation",
|
|
32880
|
+
auth: "admin"
|
|
32881
|
+
}), method(_void(), HubAddressesSchema), method(_void(), AllowedAddressesSchema), method(AllowedAddressesSchema, object({ success: literal(true) }), { kind: "mutation" }), method(_void(), AllowedAddressesSchema, { kind: "mutation" }), method(_void(), TlsStatusSchema), method(object({ reason: string().optional() }), TlsStatusSchema, {
|
|
32266
32882
|
kind: "mutation",
|
|
32267
32883
|
auth: "admin"
|
|
32268
32884
|
}), method(object({
|
|
@@ -32720,7 +33336,8 @@ var MotionStatusSchema = object({
|
|
|
32720
33336
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
32721
33337
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
32722
33338
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
32723
|
-
* A provider's `isDetected`
|
|
33339
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
33340
|
+
* (`hubMotionNativeProvider`).
|
|
32724
33341
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
32725
33342
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
32726
33343
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -38452,6 +39069,32 @@ var TotpStatusSchema = object({
|
|
|
38452
39069
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
38453
39070
|
confirmedAt: number().nullable()
|
|
38454
39071
|
});
|
|
39072
|
+
/**
|
|
39073
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
39074
|
+
* and scoped tokens.
|
|
39075
|
+
*
|
|
39076
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
39077
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
39078
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
39079
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
39080
|
+
* provider.
|
|
39081
|
+
*/
|
|
39082
|
+
var ExternalIdentitySchema = object({
|
|
39083
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
39084
|
+
provider: string(),
|
|
39085
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
39086
|
+
subject: string(),
|
|
39087
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
39088
|
+
issuer: string(),
|
|
39089
|
+
userId: string(),
|
|
39090
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
39091
|
+
label: string().optional(),
|
|
39092
|
+
linkedAt: number()
|
|
39093
|
+
});
|
|
39094
|
+
var ExternalIdentityKeySchema = object({
|
|
39095
|
+
provider: string().min(1),
|
|
39096
|
+
subject: string().min(1)
|
|
39097
|
+
});
|
|
38455
39098
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
38456
39099
|
kind: "mutation",
|
|
38457
39100
|
auth: "admin",
|
|
@@ -38565,7 +39208,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
38565
39208
|
userId: string(),
|
|
38566
39209
|
username: string(),
|
|
38567
39210
|
scopes: array(TokenScopeSchema)
|
|
38568
|
-
}).nullable(), { access: "view" }), method(
|
|
39211
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
39212
|
+
userId: string(),
|
|
39213
|
+
issuer: string()
|
|
39214
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
39215
|
+
userId: string(),
|
|
39216
|
+
issuer: string().min(1),
|
|
39217
|
+
label: string().optional()
|
|
39218
|
+
}), object({ success: literal(true) }), {
|
|
39219
|
+
kind: "mutation",
|
|
39220
|
+
auth: "admin",
|
|
39221
|
+
access: "create"
|
|
39222
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
39223
|
+
kind: "mutation",
|
|
39224
|
+
auth: "admin",
|
|
39225
|
+
access: "delete"
|
|
39226
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
38569
39227
|
kind: "mutation",
|
|
38570
39228
|
auth: "admin",
|
|
38571
39229
|
access: "delete"
|
|
@@ -39267,6 +39925,16 @@ var zoneRulesCapability = {
|
|
|
39267
39925
|
durability: "restored"
|
|
39268
39926
|
};
|
|
39269
39927
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
39928
|
+
Object.freeze({
|
|
39929
|
+
person: .5,
|
|
39930
|
+
vehicle: .5,
|
|
39931
|
+
animal: .5
|
|
39932
|
+
});
|
|
39933
|
+
Object.freeze({
|
|
39934
|
+
person: .65,
|
|
39935
|
+
vehicle: .65,
|
|
39936
|
+
animal: .65
|
|
39937
|
+
});
|
|
39270
39938
|
/**
|
|
39271
39939
|
* Accessory device helpers — shared across drivers.
|
|
39272
39940
|
*
|
|
@@ -40965,6 +41633,12 @@ Object.freeze({
|
|
|
40965
41633
|
addonId: null,
|
|
40966
41634
|
access: "view"
|
|
40967
41635
|
},
|
|
41636
|
+
"addons.listInstallations": {
|
|
41637
|
+
capName: "addons",
|
|
41638
|
+
capScope: "system",
|
|
41639
|
+
addonId: null,
|
|
41640
|
+
access: "view"
|
|
41641
|
+
},
|
|
40968
41642
|
"addons.listJobs": {
|
|
40969
41643
|
capName: "addons",
|
|
40970
41644
|
capScope: "system",
|
|
@@ -42147,90 +42821,18 @@ Object.freeze({
|
|
|
42147
42821
|
addonId: null,
|
|
42148
42822
|
access: "create"
|
|
42149
42823
|
},
|
|
42150
|
-
"decoder.createSession": {
|
|
42151
|
-
capName: "decoder",
|
|
42152
|
-
capScope: "system",
|
|
42153
|
-
addonId: null,
|
|
42154
|
-
access: "view"
|
|
42155
|
-
},
|
|
42156
|
-
"decoder.destroySession": {
|
|
42157
|
-
capName: "decoder",
|
|
42158
|
-
capScope: "system",
|
|
42159
|
-
addonId: null,
|
|
42160
|
-
access: "delete"
|
|
42161
|
-
},
|
|
42162
|
-
"decoder.getFrame": {
|
|
42163
|
-
capName: "decoder",
|
|
42164
|
-
capScope: "system",
|
|
42165
|
-
addonId: null,
|
|
42166
|
-
access: "view"
|
|
42167
|
-
},
|
|
42168
42824
|
"decoder.getInfo": {
|
|
42169
42825
|
capName: "decoder",
|
|
42170
42826
|
capScope: "system",
|
|
42171
42827
|
addonId: null,
|
|
42172
42828
|
access: "view"
|
|
42173
42829
|
},
|
|
42174
|
-
"decoder.getShmStats": {
|
|
42175
|
-
capName: "decoder",
|
|
42176
|
-
capScope: "system",
|
|
42177
|
-
addonId: null,
|
|
42178
|
-
access: "view"
|
|
42179
|
-
},
|
|
42180
|
-
"decoder.getStats": {
|
|
42181
|
-
capName: "decoder",
|
|
42182
|
-
capScope: "system",
|
|
42183
|
-
addonId: null,
|
|
42184
|
-
access: "view"
|
|
42185
|
-
},
|
|
42186
|
-
"decoder.listActiveSessions": {
|
|
42187
|
-
capName: "decoder",
|
|
42188
|
-
capScope: "system",
|
|
42189
|
-
addonId: null,
|
|
42190
|
-
access: "view"
|
|
42191
|
-
},
|
|
42192
|
-
"decoder.openStream": {
|
|
42193
|
-
capName: "decoder",
|
|
42194
|
-
capScope: "system",
|
|
42195
|
-
addonId: null,
|
|
42196
|
-
access: "view"
|
|
42197
|
-
},
|
|
42198
|
-
"decoder.pullFrames": {
|
|
42199
|
-
capName: "decoder",
|
|
42200
|
-
capScope: "system",
|
|
42201
|
-
addonId: null,
|
|
42202
|
-
access: "view"
|
|
42203
|
-
},
|
|
42204
|
-
"decoder.pullHandles": {
|
|
42205
|
-
capName: "decoder",
|
|
42206
|
-
capScope: "system",
|
|
42207
|
-
addonId: null,
|
|
42208
|
-
access: "view"
|
|
42209
|
-
},
|
|
42210
|
-
"decoder.pushPacket": {
|
|
42211
|
-
capName: "decoder",
|
|
42212
|
-
capScope: "system",
|
|
42213
|
-
addonId: null,
|
|
42214
|
-
access: "view"
|
|
42215
|
-
},
|
|
42216
42830
|
"decoder.reprobeHwaccel": {
|
|
42217
42831
|
capName: "decoder",
|
|
42218
42832
|
capScope: "system",
|
|
42219
42833
|
addonId: null,
|
|
42220
42834
|
access: "create"
|
|
42221
42835
|
},
|
|
42222
|
-
"decoder.supportsCodec": {
|
|
42223
|
-
capName: "decoder",
|
|
42224
|
-
capScope: "system",
|
|
42225
|
-
addonId: null,
|
|
42226
|
-
access: "view"
|
|
42227
|
-
},
|
|
42228
|
-
"decoder.updateConfig": {
|
|
42229
|
-
capName: "decoder",
|
|
42230
|
-
capScope: "system",
|
|
42231
|
-
addonId: null,
|
|
42232
|
-
access: "view"
|
|
42233
|
-
},
|
|
42234
42836
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
42235
42837
|
capName: "detection-pipeline",
|
|
42236
42838
|
capScope: "device",
|
|
@@ -43719,12 +44321,24 @@ Object.freeze({
|
|
|
43719
44321
|
addonId: null,
|
|
43720
44322
|
access: "view"
|
|
43721
44323
|
},
|
|
44324
|
+
"localNetwork.addCustomAddress": {
|
|
44325
|
+
capName: "local-network",
|
|
44326
|
+
capScope: "system",
|
|
44327
|
+
addonId: null,
|
|
44328
|
+
access: "create"
|
|
44329
|
+
},
|
|
43722
44330
|
"localNetwork.downloadCa": {
|
|
43723
44331
|
capName: "local-network",
|
|
43724
44332
|
capScope: "system",
|
|
43725
44333
|
addonId: null,
|
|
43726
44334
|
access: "view"
|
|
43727
44335
|
},
|
|
44336
|
+
"localNetwork.getAddresses": {
|
|
44337
|
+
capName: "local-network",
|
|
44338
|
+
capScope: "system",
|
|
44339
|
+
addonId: null,
|
|
44340
|
+
access: "view"
|
|
44341
|
+
},
|
|
43728
44342
|
"localNetwork.getAllowedAddresses": {
|
|
43729
44343
|
capName: "local-network",
|
|
43730
44344
|
capScope: "system",
|
|
@@ -43737,6 +44351,12 @@ Object.freeze({
|
|
|
43737
44351
|
addonId: null,
|
|
43738
44352
|
access: "view"
|
|
43739
44353
|
},
|
|
44354
|
+
"localNetwork.getHubAddresses": {
|
|
44355
|
+
capName: "local-network",
|
|
44356
|
+
capScope: "system",
|
|
44357
|
+
addonId: null,
|
|
44358
|
+
access: "view"
|
|
44359
|
+
},
|
|
43740
44360
|
"localNetwork.getNotificationEndpoint": {
|
|
43741
44361
|
capName: "local-network",
|
|
43742
44362
|
capScope: "system",
|
|
@@ -43773,6 +44393,12 @@ Object.freeze({
|
|
|
43773
44393
|
addonId: null,
|
|
43774
44394
|
access: "create"
|
|
43775
44395
|
},
|
|
44396
|
+
"localNetwork.removeCustomAddress": {
|
|
44397
|
+
capName: "local-network",
|
|
44398
|
+
capScope: "system",
|
|
44399
|
+
addonId: null,
|
|
44400
|
+
access: "delete"
|
|
44401
|
+
},
|
|
43776
44402
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
43777
44403
|
capName: "local-network",
|
|
43778
44404
|
capScope: "system",
|
|
@@ -43785,6 +44411,12 @@ Object.freeze({
|
|
|
43785
44411
|
addonId: null,
|
|
43786
44412
|
access: "create"
|
|
43787
44413
|
},
|
|
44414
|
+
"localNetwork.setAddressRole": {
|
|
44415
|
+
capName: "local-network",
|
|
44416
|
+
capScope: "system",
|
|
44417
|
+
addonId: null,
|
|
44418
|
+
access: "create"
|
|
44419
|
+
},
|
|
43788
44420
|
"localNetwork.setAllowedAddresses": {
|
|
43789
44421
|
capName: "local-network",
|
|
43790
44422
|
capScope: "system",
|
|
@@ -45231,6 +45863,12 @@ Object.freeze({
|
|
|
45231
45863
|
addonId: null,
|
|
45232
45864
|
access: "create"
|
|
45233
45865
|
},
|
|
45866
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
45867
|
+
capName: "pipeline-analytics",
|
|
45868
|
+
capScope: "device",
|
|
45869
|
+
addonId: null,
|
|
45870
|
+
access: "create"
|
|
45871
|
+
},
|
|
45234
45872
|
"pipelineAnalytics.setTrackFlags": {
|
|
45235
45873
|
capName: "pipeline-analytics",
|
|
45236
45874
|
capScope: "device",
|
|
@@ -45267,6 +45905,12 @@ Object.freeze({
|
|
|
45267
45905
|
addonId: null,
|
|
45268
45906
|
access: "delete"
|
|
45269
45907
|
},
|
|
45908
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
45909
|
+
capName: "pipeline-analytics",
|
|
45910
|
+
capScope: "device",
|
|
45911
|
+
addonId: null,
|
|
45912
|
+
access: "create"
|
|
45913
|
+
},
|
|
45270
45914
|
"pipelineExecutor.cacheFrameInPool": {
|
|
45271
45915
|
capName: "pipeline-executor",
|
|
45272
45916
|
capScope: "system",
|
|
@@ -45279,13 +45923,13 @@ Object.freeze({
|
|
|
45279
45923
|
addonId: null,
|
|
45280
45924
|
access: "delete"
|
|
45281
45925
|
},
|
|
45282
|
-
"pipelineExecutor.
|
|
45926
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
45283
45927
|
capName: "pipeline-executor",
|
|
45284
45928
|
capScope: "system",
|
|
45285
45929
|
addonId: null,
|
|
45286
45930
|
access: "delete"
|
|
45287
45931
|
},
|
|
45288
|
-
"pipelineExecutor.
|
|
45932
|
+
"pipelineExecutor.deleteModel": {
|
|
45289
45933
|
capName: "pipeline-executor",
|
|
45290
45934
|
capScope: "system",
|
|
45291
45935
|
addonId: null,
|
|
@@ -45429,12 +46073,6 @@ Object.freeze({
|
|
|
45429
46073
|
addonId: null,
|
|
45430
46074
|
access: "view"
|
|
45431
46075
|
},
|
|
45432
|
-
"pipelineExecutor.listTemplates": {
|
|
45433
|
-
capName: "pipeline-executor",
|
|
45434
|
-
capScope: "system",
|
|
45435
|
-
addonId: null,
|
|
45436
|
-
access: "view"
|
|
45437
|
-
},
|
|
45438
46076
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
45439
46077
|
capName: "pipeline-executor",
|
|
45440
46078
|
capScope: "system",
|
|
@@ -45459,12 +46097,6 @@ Object.freeze({
|
|
|
45459
46097
|
addonId: null,
|
|
45460
46098
|
access: "create"
|
|
45461
46099
|
},
|
|
45462
|
-
"pipelineExecutor.saveTemplate": {
|
|
45463
|
-
capName: "pipeline-executor",
|
|
45464
|
-
capScope: "system",
|
|
45465
|
-
addonId: null,
|
|
45466
|
-
access: "create"
|
|
45467
|
-
},
|
|
45468
46100
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
45469
46101
|
capName: "pipeline-executor",
|
|
45470
46102
|
capScope: "system",
|
|
@@ -45483,41 +46115,35 @@ Object.freeze({
|
|
|
45483
46115
|
addonId: null,
|
|
45484
46116
|
access: "create"
|
|
45485
46117
|
},
|
|
45486
|
-
"pipelineExecutor.updateTemplate": {
|
|
45487
|
-
capName: "pipeline-executor",
|
|
45488
|
-
capScope: "system",
|
|
45489
|
-
addonId: null,
|
|
45490
|
-
access: "create"
|
|
45491
|
-
},
|
|
45492
46118
|
"pipelineExecutor.validatePipeline": {
|
|
45493
46119
|
capName: "pipeline-executor",
|
|
45494
46120
|
capScope: "system",
|
|
45495
46121
|
addonId: null,
|
|
45496
46122
|
access: "view"
|
|
45497
46123
|
},
|
|
45498
|
-
"pipelineOrchestrator.
|
|
46124
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
45499
46125
|
capName: "pipeline-orchestrator",
|
|
45500
46126
|
capScope: "system",
|
|
45501
46127
|
addonId: null,
|
|
45502
46128
|
access: "create"
|
|
45503
46129
|
},
|
|
45504
|
-
"pipelineOrchestrator.
|
|
46130
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
45505
46131
|
capName: "pipeline-orchestrator",
|
|
45506
46132
|
capScope: "system",
|
|
45507
46133
|
addonId: null,
|
|
45508
46134
|
access: "create"
|
|
45509
46135
|
},
|
|
45510
|
-
"pipelineOrchestrator.
|
|
46136
|
+
"pipelineOrchestrator.assignAudio": {
|
|
45511
46137
|
capName: "pipeline-orchestrator",
|
|
45512
46138
|
capScope: "system",
|
|
45513
46139
|
addonId: null,
|
|
45514
46140
|
access: "create"
|
|
45515
46141
|
},
|
|
45516
|
-
"pipelineOrchestrator.
|
|
46142
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
45517
46143
|
capName: "pipeline-orchestrator",
|
|
45518
46144
|
capScope: "system",
|
|
45519
46145
|
addonId: null,
|
|
45520
|
-
access: "
|
|
46146
|
+
access: "create"
|
|
45521
46147
|
},
|
|
45522
46148
|
"pipelineOrchestrator.getAgentLoad": {
|
|
45523
46149
|
capName: "pipeline-orchestrator",
|
|
@@ -45609,6 +46235,12 @@ Object.freeze({
|
|
|
45609
46235
|
addonId: null,
|
|
45610
46236
|
access: "view"
|
|
45611
46237
|
},
|
|
46238
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
46239
|
+
capName: "pipeline-orchestrator",
|
|
46240
|
+
capScope: "system",
|
|
46241
|
+
addonId: null,
|
|
46242
|
+
access: "view"
|
|
46243
|
+
},
|
|
45612
46244
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
45613
46245
|
capName: "pipeline-orchestrator",
|
|
45614
46246
|
capScope: "system",
|
|
@@ -45645,19 +46277,19 @@ Object.freeze({
|
|
|
45645
46277
|
addonId: null,
|
|
45646
46278
|
access: "view"
|
|
45647
46279
|
},
|
|
45648
|
-
"pipelineOrchestrator.
|
|
46280
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
45649
46281
|
capName: "pipeline-orchestrator",
|
|
45650
46282
|
capScope: "system",
|
|
45651
46283
|
addonId: null,
|
|
45652
46284
|
access: "view"
|
|
45653
46285
|
},
|
|
45654
|
-
"pipelineOrchestrator.
|
|
46286
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
45655
46287
|
capName: "pipeline-orchestrator",
|
|
45656
46288
|
capScope: "system",
|
|
45657
46289
|
addonId: null,
|
|
45658
46290
|
access: "view"
|
|
45659
46291
|
},
|
|
45660
|
-
"pipelineOrchestrator.
|
|
46292
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
45661
46293
|
capName: "pipeline-orchestrator",
|
|
45662
46294
|
capScope: "system",
|
|
45663
46295
|
addonId: null,
|
|
@@ -45669,6 +46301,12 @@ Object.freeze({
|
|
|
45669
46301
|
addonId: null,
|
|
45670
46302
|
access: "create"
|
|
45671
46303
|
},
|
|
46304
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
46305
|
+
capName: "pipeline-orchestrator",
|
|
46306
|
+
capScope: "system",
|
|
46307
|
+
addonId: null,
|
|
46308
|
+
access: "view"
|
|
46309
|
+
},
|
|
45672
46310
|
"pipelineOrchestrator.rebalance": {
|
|
45673
46311
|
capName: "pipeline-orchestrator",
|
|
45674
46312
|
capScope: "system",
|
|
@@ -45711,12 +46349,6 @@ Object.freeze({
|
|
|
45711
46349
|
addonId: null,
|
|
45712
46350
|
access: "create"
|
|
45713
46351
|
},
|
|
45714
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
45715
|
-
capName: "pipeline-orchestrator",
|
|
45716
|
-
capScope: "system",
|
|
45717
|
-
addonId: null,
|
|
45718
|
-
access: "create"
|
|
45719
|
-
},
|
|
45720
46352
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
45721
46353
|
capName: "pipeline-orchestrator",
|
|
45722
46354
|
capScope: "system",
|
|
@@ -45729,12 +46361,6 @@ Object.freeze({
|
|
|
45729
46361
|
addonId: null,
|
|
45730
46362
|
access: "create"
|
|
45731
46363
|
},
|
|
45732
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
45733
|
-
capName: "pipeline-orchestrator",
|
|
45734
|
-
capScope: "system",
|
|
45735
|
-
addonId: null,
|
|
45736
|
-
access: "create"
|
|
45737
|
-
},
|
|
45738
46364
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
45739
46365
|
capName: "pipeline-orchestrator",
|
|
45740
46366
|
capScope: "system",
|
|
@@ -45771,6 +46397,12 @@ Object.freeze({
|
|
|
45771
46397
|
addonId: null,
|
|
45772
46398
|
access: "create"
|
|
45773
46399
|
},
|
|
46400
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
46401
|
+
capName: "pipeline-orchestrator",
|
|
46402
|
+
capScope: "system",
|
|
46403
|
+
addonId: null,
|
|
46404
|
+
access: "create"
|
|
46405
|
+
},
|
|
45774
46406
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
45775
46407
|
capName: "pipeline-orchestrator",
|
|
45776
46408
|
capScope: "system",
|
|
@@ -45789,25 +46421,37 @@ Object.freeze({
|
|
|
45789
46421
|
addonId: null,
|
|
45790
46422
|
access: "create"
|
|
45791
46423
|
},
|
|
46424
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
46425
|
+
capName: "pipeline-orchestrator",
|
|
46426
|
+
capScope: "system",
|
|
46427
|
+
addonId: null,
|
|
46428
|
+
access: "create"
|
|
46429
|
+
},
|
|
45792
46430
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
45793
46431
|
capName: "pipeline-orchestrator",
|
|
45794
46432
|
capScope: "system",
|
|
45795
46433
|
addonId: null,
|
|
45796
46434
|
access: "create"
|
|
45797
46435
|
},
|
|
45798
|
-
"pipelineOrchestrator.
|
|
46436
|
+
"pipelineOrchestrator.setShareSource": {
|
|
45799
46437
|
capName: "pipeline-orchestrator",
|
|
45800
46438
|
capScope: "system",
|
|
45801
46439
|
addonId: null,
|
|
45802
46440
|
access: "create"
|
|
45803
46441
|
},
|
|
45804
|
-
"pipelineOrchestrator.
|
|
46442
|
+
"pipelineOrchestrator.suggestShares": {
|
|
46443
|
+
capName: "pipeline-orchestrator",
|
|
46444
|
+
capScope: "system",
|
|
46445
|
+
addonId: null,
|
|
46446
|
+
access: "view"
|
|
46447
|
+
},
|
|
46448
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
45805
46449
|
capName: "pipeline-orchestrator",
|
|
45806
46450
|
capScope: "system",
|
|
45807
46451
|
addonId: null,
|
|
45808
46452
|
access: "create"
|
|
45809
46453
|
},
|
|
45810
|
-
"pipelineOrchestrator.
|
|
46454
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
45811
46455
|
capName: "pipeline-orchestrator",
|
|
45812
46456
|
capScope: "system",
|
|
45813
46457
|
addonId: null,
|
|
@@ -47247,12 +47891,6 @@ Object.freeze({
|
|
|
47247
47891
|
addonId: null,
|
|
47248
47892
|
access: "view"
|
|
47249
47893
|
},
|
|
47250
|
-
"streamBroker.pullFrameHandles": {
|
|
47251
|
-
capName: "stream-broker",
|
|
47252
|
-
capScope: "system",
|
|
47253
|
-
addonId: null,
|
|
47254
|
-
access: "view"
|
|
47255
|
-
},
|
|
47256
47894
|
"streamBroker.regenerateRtspToken": {
|
|
47257
47895
|
capName: "stream-broker",
|
|
47258
47896
|
capScope: "system",
|
|
@@ -47319,12 +47957,6 @@ Object.freeze({
|
|
|
47319
47957
|
addonId: null,
|
|
47320
47958
|
access: "create"
|
|
47321
47959
|
},
|
|
47322
|
-
"streamBroker.subscribeFrames": {
|
|
47323
|
-
capName: "stream-broker",
|
|
47324
|
-
capScope: "system",
|
|
47325
|
-
addonId: null,
|
|
47326
|
-
access: "create"
|
|
47327
|
-
},
|
|
47328
47960
|
"streamBroker.unassignProfile": {
|
|
47329
47961
|
capName: "stream-broker",
|
|
47330
47962
|
capScope: "system",
|
|
@@ -47337,12 +47969,6 @@ Object.freeze({
|
|
|
47337
47969
|
addonId: null,
|
|
47338
47970
|
access: "create"
|
|
47339
47971
|
},
|
|
47340
|
-
"streamBroker.unsubscribeFrames": {
|
|
47341
|
-
capName: "stream-broker",
|
|
47342
|
-
capScope: "system",
|
|
47343
|
-
addonId: null,
|
|
47344
|
-
access: "create"
|
|
47345
|
-
},
|
|
47346
47972
|
"streamCatalog.getCatalog": {
|
|
47347
47973
|
capName: "stream-catalog",
|
|
47348
47974
|
capScope: "device",
|
|
@@ -47637,18 +48263,36 @@ Object.freeze({
|
|
|
47637
48263
|
addonId: null,
|
|
47638
48264
|
access: "delete"
|
|
47639
48265
|
},
|
|
48266
|
+
"userManagement.findUserByExternalIdentity": {
|
|
48267
|
+
capName: "user-management",
|
|
48268
|
+
capScope: "system",
|
|
48269
|
+
addonId: null,
|
|
48270
|
+
access: "view"
|
|
48271
|
+
},
|
|
47640
48272
|
"userManagement.getTotpStatus": {
|
|
47641
48273
|
capName: "user-management",
|
|
47642
48274
|
capScope: "system",
|
|
47643
48275
|
addonId: null,
|
|
47644
48276
|
access: "view"
|
|
47645
48277
|
},
|
|
48278
|
+
"userManagement.linkExternalIdentity": {
|
|
48279
|
+
capName: "user-management",
|
|
48280
|
+
capScope: "system",
|
|
48281
|
+
addonId: null,
|
|
48282
|
+
access: "create"
|
|
48283
|
+
},
|
|
47646
48284
|
"userManagement.listApiKeys": {
|
|
47647
48285
|
capName: "user-management",
|
|
47648
48286
|
capScope: "system",
|
|
47649
48287
|
addonId: null,
|
|
47650
48288
|
access: "view"
|
|
47651
48289
|
},
|
|
48290
|
+
"userManagement.listExternalIdentities": {
|
|
48291
|
+
capName: "user-management",
|
|
48292
|
+
capScope: "system",
|
|
48293
|
+
addonId: null,
|
|
48294
|
+
access: "view"
|
|
48295
|
+
},
|
|
47652
48296
|
"userManagement.listOauthSessions": {
|
|
47653
48297
|
capName: "user-management",
|
|
47654
48298
|
capScope: "system",
|
|
@@ -47727,6 +48371,12 @@ Object.freeze({
|
|
|
47727
48371
|
addonId: null,
|
|
47728
48372
|
access: "create"
|
|
47729
48373
|
},
|
|
48374
|
+
"userManagement.unlinkExternalIdentity": {
|
|
48375
|
+
capName: "user-management",
|
|
48376
|
+
capScope: "system",
|
|
48377
|
+
addonId: null,
|
|
48378
|
+
access: "delete"
|
|
48379
|
+
},
|
|
47730
48380
|
"userManagement.updateUser": {
|
|
47731
48381
|
capName: "user-management",
|
|
47732
48382
|
capScope: "system",
|
|
@@ -48039,6 +48689,12 @@ Object.freeze({
|
|
|
48039
48689
|
addonId: null,
|
|
48040
48690
|
access: "create"
|
|
48041
48691
|
},
|
|
48692
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
48693
|
+
capName: "webrtc-session",
|
|
48694
|
+
capScope: "device",
|
|
48695
|
+
addonId: null,
|
|
48696
|
+
access: "create"
|
|
48697
|
+
},
|
|
48042
48698
|
"webrtcSession.closeSession": {
|
|
48043
48699
|
capName: "webrtc-session",
|
|
48044
48700
|
capScope: "device",
|
|
@@ -49916,11 +50572,6 @@ Object.freeze({
|
|
|
49916
50572
|
form: "single",
|
|
49917
50573
|
optional: false
|
|
49918
50574
|
}],
|
|
49919
|
-
"decoder.createSession": [{
|
|
49920
|
-
name: "deviceId",
|
|
49921
|
-
form: "single",
|
|
49922
|
-
optional: true
|
|
49923
|
-
}],
|
|
49924
50575
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
49925
50576
|
name: "deviceId",
|
|
49926
50577
|
form: "single",
|
|
@@ -51131,6 +51782,11 @@ Object.freeze({
|
|
|
51131
51782
|
form: "single",
|
|
51132
51783
|
optional: false
|
|
51133
51784
|
}],
|
|
51785
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
51786
|
+
name: "deviceId",
|
|
51787
|
+
form: "single",
|
|
51788
|
+
optional: false
|
|
51789
|
+
}],
|
|
51134
51790
|
"pipelineAnalytics.setTrackFlags": [{
|
|
51135
51791
|
name: "deviceId",
|
|
51136
51792
|
form: "single",
|
|
@@ -51151,6 +51807,11 @@ Object.freeze({
|
|
|
51151
51807
|
form: "single",
|
|
51152
51808
|
optional: false
|
|
51153
51809
|
}],
|
|
51810
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
51811
|
+
name: "deviceIds",
|
|
51812
|
+
form: "array",
|
|
51813
|
+
optional: true
|
|
51814
|
+
}],
|
|
51154
51815
|
"pipelineExecutor.runPipeline": [{
|
|
51155
51816
|
name: "deviceId",
|
|
51156
51817
|
form: "single",
|
|
@@ -51256,6 +51917,11 @@ Object.freeze({
|
|
|
51256
51917
|
form: "single",
|
|
51257
51918
|
optional: false
|
|
51258
51919
|
}],
|
|
51920
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
51921
|
+
name: "deviceId",
|
|
51922
|
+
form: "single",
|
|
51923
|
+
optional: false
|
|
51924
|
+
}],
|
|
51259
51925
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
51260
51926
|
name: "deviceId",
|
|
51261
51927
|
form: "single",
|
|
@@ -52027,6 +52693,11 @@ Object.freeze({
|
|
|
52027
52693
|
form: "single",
|
|
52028
52694
|
optional: false
|
|
52029
52695
|
}],
|
|
52696
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
52697
|
+
name: "deviceId",
|
|
52698
|
+
form: "single",
|
|
52699
|
+
optional: false
|
|
52700
|
+
}],
|
|
52030
52701
|
"webrtcSession.closeSession": [{
|
|
52031
52702
|
name: "deviceId",
|
|
52032
52703
|
form: "single",
|
|
@@ -52256,6 +52927,8 @@ new Map(Object.entries({
|
|
|
52256
52927
|
"detection-blind": "device-events",
|
|
52257
52928
|
"node-online": "system",
|
|
52258
52929
|
"node-offline": "system",
|
|
52930
|
+
"node-restarting": "system",
|
|
52931
|
+
"node-updating": "system",
|
|
52259
52932
|
"node-inference-unavailable": "system",
|
|
52260
52933
|
"addon-crash-loop": "system",
|
|
52261
52934
|
"addon-update-available": "system",
|
|
@@ -52333,6 +53006,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52333
53006
|
kinds: [
|
|
52334
53007
|
"node-offline",
|
|
52335
53008
|
"node-online",
|
|
53009
|
+
"node-restarting",
|
|
52336
53010
|
"node-inference-unavailable"
|
|
52337
53011
|
]
|
|
52338
53012
|
},
|
|
@@ -52354,6 +53028,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
52354
53028
|
label: "Server & container updates",
|
|
52355
53029
|
kinds: [
|
|
52356
53030
|
"server-update-available",
|
|
53031
|
+
"node-updating",
|
|
52357
53032
|
"server-updated",
|
|
52358
53033
|
"wrapper-update-available"
|
|
52359
53034
|
]
|
|
@@ -52501,6 +53176,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52501
53176
|
kinds: [
|
|
52502
53177
|
"node-offline",
|
|
52503
53178
|
"node-online",
|
|
53179
|
+
"node-restarting",
|
|
52504
53180
|
"node-inference-unavailable"
|
|
52505
53181
|
]
|
|
52506
53182
|
},
|
|
@@ -52522,6 +53198,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
52522
53198
|
example: "server 1.2.377 → 1.2.378",
|
|
52523
53199
|
kinds: [
|
|
52524
53200
|
"server-update-available",
|
|
53201
|
+
"node-updating",
|
|
52525
53202
|
"server-updated",
|
|
52526
53203
|
"wrapper-update-available"
|
|
52527
53204
|
]
|
|
@@ -52554,7 +53231,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
52554
53231
|
{
|
|
52555
53232
|
name: "summarySection",
|
|
52556
53233
|
label: "Summary: this section",
|
|
52557
|
-
description: "The section a per-section summary row is about
|
|
53234
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
52558
53235
|
example: "Batterie scariche",
|
|
52559
53236
|
group: "system",
|
|
52560
53237
|
families: ["rule"],
|
|
@@ -53315,7 +53992,7 @@ var rtspCameraSchema = object({
|
|
|
53315
53992
|
})).min(1)).describe("Published RTSP streams"),
|
|
53316
53993
|
snapshotUrl: string().default("").describe("Snapshot URL (optional)"),
|
|
53317
53994
|
username: string().default("").describe("Username"),
|
|
53318
|
-
password: string().default("").describe("Password")
|
|
53995
|
+
password: string().default("").describe("Password").meta({ secret: true })
|
|
53319
53996
|
});
|
|
53320
53997
|
/**
|
|
53321
53998
|
* Legacy storage shape: `[{ label: 'high'|'mid'|'low', url }]`.
|