@camstack/addon-provider-amcrest 0.2.131 → 0.2.132
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 +1177 -532
- package/dist/addon.mjs +1177 -532
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -34,7 +34,7 @@ let node_stream = require("node:stream");
|
|
|
34
34
|
let node_stream_promises = require("node:stream/promises");
|
|
35
35
|
let node_child_process = require("node:child_process");
|
|
36
36
|
let node_os = require("node:os");
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -535,15 +535,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
535
535
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
536
536
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
537
537
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
538
|
-
/**
|
|
539
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
540
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
541
|
-
* `createSession`, so running sessions keep their current backend until
|
|
542
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
543
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
544
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
545
|
-
*/
|
|
546
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
547
538
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
548
539
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
549
540
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5414,7 +5405,7 @@ var ZodIssueCode = {
|
|
|
5414
5405
|
var ZodFirstPartyTypeKind;
|
|
5415
5406
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5416
5407
|
//#endregion
|
|
5417
|
-
//#region ../types/dist/sleep-
|
|
5408
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5418
5409
|
/**
|
|
5419
5410
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5420
5411
|
* window to float samples (D455).
|
|
@@ -6780,32 +6771,12 @@ object({
|
|
|
6780
6771
|
audioCodec: string().optional(),
|
|
6781
6772
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6782
6773
|
});
|
|
6783
|
-
var EncodedPacketSchema = object({
|
|
6784
|
-
type: _enum(["video", "audio"]),
|
|
6785
|
-
data: _instanceof(Uint8Array),
|
|
6786
|
-
pts: number(),
|
|
6787
|
-
dts: number(),
|
|
6788
|
-
keyframe: boolean(),
|
|
6789
|
-
codec: string()
|
|
6790
|
-
});
|
|
6791
|
-
var DecodedFrameSchema = object({
|
|
6792
|
-
data: _instanceof(Uint8Array),
|
|
6793
|
-
width: number(),
|
|
6794
|
-
height: number(),
|
|
6795
|
-
format: _enum([
|
|
6796
|
-
"jpeg",
|
|
6797
|
-
"rgb",
|
|
6798
|
-
"bgr",
|
|
6799
|
-
"yuv420",
|
|
6800
|
-
"gray"
|
|
6801
|
-
]),
|
|
6802
|
-
timestamp: number()
|
|
6803
|
-
});
|
|
6804
6774
|
/**
|
|
6805
6775
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6806
6776
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6807
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6808
|
-
*
|
|
6777
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6778
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6779
|
+
* over tRPC / Moleculer.
|
|
6809
6780
|
*
|
|
6810
6781
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6811
6782
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6831,50 +6802,6 @@ var FrameHandleSchema = object({
|
|
|
6831
6802
|
slotCount: number().int().positive()
|
|
6832
6803
|
});
|
|
6833
6804
|
/**
|
|
6834
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6835
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6836
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6837
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6838
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6839
|
-
*/
|
|
6840
|
-
var FrameHandleFormatSchema = _enum([
|
|
6841
|
-
"rgb",
|
|
6842
|
-
"bgr",
|
|
6843
|
-
"yuv420",
|
|
6844
|
-
"gray"
|
|
6845
|
-
]);
|
|
6846
|
-
/**
|
|
6847
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6848
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6849
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6850
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6851
|
-
* they asked for with no broker-side conversion.
|
|
6852
|
-
*/
|
|
6853
|
-
var SubscribeFramesInputSchema = object({
|
|
6854
|
-
brokerId: string(),
|
|
6855
|
-
format: FrameHandleFormatSchema,
|
|
6856
|
-
/**
|
|
6857
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6858
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6859
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6860
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6861
|
-
*/
|
|
6862
|
-
maxFps: number().positive().optional(),
|
|
6863
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6864
|
-
tag: string().optional()
|
|
6865
|
-
});
|
|
6866
|
-
/**
|
|
6867
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6868
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6869
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6870
|
-
*/
|
|
6871
|
-
var SubscribeFramesResultSchema = object({
|
|
6872
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6873
|
-
subscriptionId: string(),
|
|
6874
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6875
|
-
maxFps: number().nonnegative()
|
|
6876
|
-
});
|
|
6877
|
-
/**
|
|
6878
6805
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6879
6806
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6880
6807
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6882,8 +6809,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6882
6809
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6883
6810
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6884
6811
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6885
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6886
|
-
*
|
|
6812
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6813
|
+
* it.
|
|
6887
6814
|
*/
|
|
6888
6815
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6889
6816
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6901,11 +6828,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6901
6828
|
format: AudioChunkFormatSchema.optional()
|
|
6902
6829
|
});
|
|
6903
6830
|
/**
|
|
6904
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6905
|
-
*
|
|
6906
|
-
*
|
|
6907
|
-
*
|
|
6908
|
-
* `pullAudioChunks`.
|
|
6831
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6832
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6833
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6834
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6909
6835
|
*/
|
|
6910
6836
|
var SubscribeAudioChunksInputSchema = object({
|
|
6911
6837
|
brokerId: string(),
|
|
@@ -6936,9 +6862,7 @@ var BrokerStatsSchema = object({
|
|
|
6936
6862
|
"stopped"
|
|
6937
6863
|
]),
|
|
6938
6864
|
inputFps: number(),
|
|
6939
|
-
decodeFps: number(),
|
|
6940
6865
|
encodedSubscribers: number(),
|
|
6941
|
-
decodedSubscribers: number(),
|
|
6942
6866
|
uptimeMs: number(),
|
|
6943
6867
|
bitrateKbps: number(),
|
|
6944
6868
|
idrIntervalMs: number(),
|
|
@@ -6951,14 +6875,6 @@ var BrokerStatsSchema = object({
|
|
|
6951
6875
|
preBufferMs: number(),
|
|
6952
6876
|
preBufferPackets: number(),
|
|
6953
6877
|
/**
|
|
6954
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6955
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6956
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6957
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6958
|
-
* a separate cap call per broker.
|
|
6959
|
-
*/
|
|
6960
|
-
decoderNodeId: string().nullable(),
|
|
6961
|
-
/**
|
|
6962
6878
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6963
6879
|
* when the stream has no audio track or the broker is in cold start.
|
|
6964
6880
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10304,70 +10220,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10304
10220
|
"backup"
|
|
10305
10221
|
]).optional()
|
|
10306
10222
|
});
|
|
10307
|
-
var DecoderStatsSchema = object({
|
|
10308
|
-
inputFps: number(),
|
|
10309
|
-
outputFps: number(),
|
|
10310
|
-
avgDecodeTimeMs: number(),
|
|
10311
|
-
droppedFrames: number(),
|
|
10312
|
-
/**
|
|
10313
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10314
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10315
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10316
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10317
|
-
*/
|
|
10318
|
-
lagMs: number().optional(),
|
|
10319
|
-
effectiveFps: number().optional(),
|
|
10320
|
-
adaptiveFps: number().optional()
|
|
10321
|
-
});
|
|
10322
|
-
var DecoderSessionConfigSchema = object({
|
|
10323
|
-
codec: string(),
|
|
10324
|
-
maxFps: number().default(0),
|
|
10325
|
-
outputFormat: _enum([
|
|
10326
|
-
"jpeg",
|
|
10327
|
-
"rgb",
|
|
10328
|
-
"bgr",
|
|
10329
|
-
"yuv420",
|
|
10330
|
-
"gray"
|
|
10331
|
-
]).default("jpeg"),
|
|
10332
|
-
scale: number().default(1),
|
|
10333
|
-
width: number().optional(),
|
|
10334
|
-
height: number().optional(),
|
|
10335
|
-
/**
|
|
10336
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10337
|
-
* because the cap is generic (any caller could request decode), but
|
|
10338
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10339
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10340
|
-
* sendPacket errors on a single hung camera).
|
|
10341
|
-
*/
|
|
10342
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10343
|
-
/**
|
|
10344
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10345
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10346
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10347
|
-
* profile cleanly.
|
|
10348
|
-
*/
|
|
10349
|
-
tag: string().optional(),
|
|
10350
|
-
/**
|
|
10351
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10352
|
-
*
|
|
10353
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10354
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10355
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10356
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10357
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10358
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10359
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10360
|
-
*/
|
|
10361
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10362
|
-
/**
|
|
10363
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10364
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10365
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10366
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10367
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10368
|
-
*/
|
|
10369
|
-
debug: boolean().optional()
|
|
10370
|
-
});
|
|
10371
10223
|
/**
|
|
10372
10224
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10373
10225
|
* an addon declares its channels in.
|
|
@@ -10510,57 +10362,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10510
10362
|
"balanced",
|
|
10511
10363
|
"strict"
|
|
10512
10364
|
]);
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
id: "person",
|
|
10516
|
-
name: "Person"
|
|
10517
|
-
},
|
|
10518
|
-
{
|
|
10519
|
-
id: "vehicle",
|
|
10520
|
-
name: "Vehicle"
|
|
10521
|
-
},
|
|
10522
|
-
{
|
|
10523
|
-
id: "animal",
|
|
10524
|
-
name: "Animal"
|
|
10525
|
-
},
|
|
10526
|
-
{
|
|
10527
|
-
id: "package",
|
|
10528
|
-
name: "Package"
|
|
10529
|
-
}
|
|
10530
|
-
].map((l) => l.id));
|
|
10531
|
-
var COCO_TO_MACRO = {
|
|
10532
|
-
mapping: {
|
|
10533
|
-
person: "person",
|
|
10534
|
-
bicycle: "vehicle",
|
|
10535
|
-
car: "vehicle",
|
|
10536
|
-
motorcycle: "vehicle",
|
|
10537
|
-
airplane: "vehicle",
|
|
10538
|
-
bus: "vehicle",
|
|
10539
|
-
train: "vehicle",
|
|
10540
|
-
truck: "vehicle",
|
|
10541
|
-
boat: "vehicle",
|
|
10542
|
-
bird: "animal",
|
|
10543
|
-
cat: "animal",
|
|
10544
|
-
dog: "animal",
|
|
10545
|
-
horse: "animal",
|
|
10546
|
-
sheep: "animal",
|
|
10547
|
-
cow: "animal",
|
|
10548
|
-
elephant: "animal",
|
|
10549
|
-
bear: "animal",
|
|
10550
|
-
zebra: "animal",
|
|
10551
|
-
giraffe: "animal",
|
|
10552
|
-
suitcase: "package",
|
|
10553
|
-
backpack: "package",
|
|
10554
|
-
handbag: "package"
|
|
10555
|
-
},
|
|
10556
|
-
preserveOriginal: false
|
|
10557
|
-
};
|
|
10558
|
-
/** Steps a root detector may declare it fills. */
|
|
10559
|
-
var FILLABLE_STEP_IDS = [
|
|
10365
|
+
/** Steps whose effect a root label can BE. */
|
|
10366
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10560
10367
|
"animal-classifier",
|
|
10561
10368
|
"vehicle-classifier",
|
|
10562
10369
|
"package-detection"
|
|
10563
10370
|
];
|
|
10371
|
+
/** Steps whose box a root detection can BE. */
|
|
10372
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10373
|
+
/**
|
|
10374
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10375
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10376
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10377
|
+
* no camera tree carries.)
|
|
10378
|
+
*/
|
|
10379
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10380
|
+
[
|
|
10381
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10382
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10383
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10384
|
+
];
|
|
10564
10385
|
var MODEL_FORMATS = [
|
|
10565
10386
|
"onnx",
|
|
10566
10387
|
"coreml",
|
|
@@ -10589,7 +10410,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10589
10410
|
/** Multi-file payload (directory members or sibling files). */
|
|
10590
10411
|
files: array(string()).readonly().optional(),
|
|
10591
10412
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10592
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10413
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10414
|
+
/**
|
|
10415
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10416
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10417
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10418
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10419
|
+
* node records the revision it downloaded next to the file
|
|
10420
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10421
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10422
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10423
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10424
|
+
*/
|
|
10425
|
+
revision: string().min(1).optional()
|
|
10426
|
+
});
|
|
10427
|
+
/**
|
|
10428
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10429
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10430
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10431
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10432
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10433
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10434
|
+
*/
|
|
10435
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10436
|
+
"current",
|
|
10437
|
+
"stale",
|
|
10438
|
+
"missing"
|
|
10439
|
+
]);
|
|
10440
|
+
/**
|
|
10441
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10442
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10443
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10444
|
+
*/
|
|
10445
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10446
|
+
"fp32",
|
|
10447
|
+
"fp16",
|
|
10448
|
+
"int8"
|
|
10449
|
+
]);
|
|
10450
|
+
/**
|
|
10451
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10452
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10453
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10454
|
+
*/
|
|
10455
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10456
|
+
downloaded: boolean(),
|
|
10457
|
+
sizeMB: number(),
|
|
10458
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10459
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10593
10460
|
});
|
|
10594
10461
|
/**
|
|
10595
10462
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10693,12 +10560,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10693
10560
|
/** True when the weights or their data forbid commercial use. */
|
|
10694
10561
|
nonCommercial: boolean().optional()
|
|
10695
10562
|
}));
|
|
10696
|
-
/**
|
|
10697
|
-
|
|
10698
|
-
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10563
|
+
/**
|
|
10564
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10565
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10566
|
+
*
|
|
10567
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10568
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10569
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10570
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10571
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10572
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10573
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10574
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10575
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10576
|
+
* postprocessor on read, never stored by an import.
|
|
10577
|
+
*/
|
|
10578
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10579
|
+
object({
|
|
10580
|
+
kind: literal("label"),
|
|
10581
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10582
|
+
labelToEffect: record(string(), string()),
|
|
10583
|
+
uncovered: array(string()).readonly()
|
|
10584
|
+
}),
|
|
10585
|
+
object({
|
|
10586
|
+
kind: literal("crop"),
|
|
10587
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10588
|
+
rootLabels: array(string()).readonly(),
|
|
10589
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10590
|
+
childClass: _enum(["plate", "face"]),
|
|
10591
|
+
/**
|
|
10592
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10593
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10594
|
+
* stored by an import.
|
|
10595
|
+
*/
|
|
10596
|
+
rootInputPx: number().int().positive().optional()
|
|
10597
|
+
}),
|
|
10598
|
+
object({
|
|
10599
|
+
kind: literal("mask"),
|
|
10600
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10601
|
+
})
|
|
10602
|
+
]);
|
|
10702
10603
|
var ModelCatalogEntrySchema = object({
|
|
10703
10604
|
id: string(),
|
|
10704
10605
|
name: string(),
|
|
@@ -10764,6 +10665,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10764
10665
|
*/
|
|
10765
10666
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10766
10667
|
/**
|
|
10668
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10669
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10670
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10671
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10672
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10673
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10674
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10675
|
+
*/
|
|
10676
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10677
|
+
/**
|
|
10678
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10679
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10680
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10681
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10682
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10683
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10684
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10685
|
+
*/
|
|
10686
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10687
|
+
/**
|
|
10688
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10689
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10690
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10691
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10692
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10693
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10694
|
+
*/
|
|
10695
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10696
|
+
/**
|
|
10767
10697
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10768
10698
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10769
10699
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10825,15 +10755,15 @@ var ModelCatalogEntrySchema = object({
|
|
|
10825
10755
|
*/
|
|
10826
10756
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10827
10757
|
/**
|
|
10828
|
-
* The pipeline steps this ROOT detector
|
|
10829
|
-
* its labels name
|
|
10830
|
-
*
|
|
10831
|
-
* labelmap by `
|
|
10832
|
-
*
|
|
10833
|
-
*
|
|
10834
|
-
* `
|
|
10758
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10759
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10760
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10761
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10762
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10763
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10764
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10835
10765
|
*/
|
|
10836
|
-
|
|
10766
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10837
10767
|
/**
|
|
10838
10768
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10839
10769
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
@@ -12436,13 +12366,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12436
12366
|
lastRtpAt: number(),
|
|
12437
12367
|
bytesSent: number()
|
|
12438
12368
|
});
|
|
12439
|
-
var BrokerDecodedClientSchema = object({
|
|
12440
|
-
tag: string(),
|
|
12441
|
-
subscribedAt: number(),
|
|
12442
|
-
maxFps: number(),
|
|
12443
|
-
framesDelivered: number(),
|
|
12444
|
-
framesDropped: number()
|
|
12445
|
-
});
|
|
12446
12369
|
var BrokerAudioClientSchema = object({
|
|
12447
12370
|
tag: string(),
|
|
12448
12371
|
subscribedAt: number(),
|
|
@@ -12534,7 +12457,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12534
12457
|
});
|
|
12535
12458
|
var BrokerClientsSchema = object({
|
|
12536
12459
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12537
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12538
12460
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12539
12461
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12540
12462
|
pipeClients: number(),
|
|
@@ -12903,11 +12825,7 @@ method(object({
|
|
|
12903
12825
|
auth: "admin"
|
|
12904
12826
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12905
12827
|
brokerId: string(),
|
|
12906
|
-
channel: _enum([
|
|
12907
|
-
"rtsp",
|
|
12908
|
-
"decoded",
|
|
12909
|
-
"audio"
|
|
12910
|
-
]),
|
|
12828
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12911
12829
|
handle: string()
|
|
12912
12830
|
}), object({ killed: boolean() }), {
|
|
12913
12831
|
kind: "mutation",
|
|
@@ -12942,10 +12860,7 @@ method(object({
|
|
|
12942
12860
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12943
12861
|
subscriptionId: string(),
|
|
12944
12862
|
maxCount: number().int().positive().default(8)
|
|
12945
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12946
|
-
subscriptionId: string(),
|
|
12947
|
-
maxCount: number().int().positive().default(4)
|
|
12948
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12863
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12949
12864
|
brokerId: string(),
|
|
12950
12865
|
seconds: number().min(0).max(30)
|
|
12951
12866
|
}), _void(), {
|
|
@@ -14204,54 +14119,12 @@ id: union([string(), number()]) }), {
|
|
|
14204
14119
|
kind: "mutation",
|
|
14205
14120
|
auth: "admin"
|
|
14206
14121
|
});
|
|
14207
|
-
|
|
14208
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14209
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14210
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14211
|
-
*/
|
|
14212
|
-
var ShmRingStatsSchema = object({
|
|
14213
|
-
sessionId: string(),
|
|
14214
|
-
slotCount: number().int(),
|
|
14215
|
-
slotByteLength: number().int(),
|
|
14216
|
-
segmentBytes: number().int(),
|
|
14217
|
-
budgetMb: number().int(),
|
|
14218
|
-
framesWritten: number().int(),
|
|
14219
|
-
getFrameHits: number().int(),
|
|
14220
|
-
getFrameMisses: number().int()
|
|
14221
|
-
});
|
|
14222
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14122
|
+
method(_void(), object({
|
|
14223
14123
|
id: string(),
|
|
14224
14124
|
name: string(),
|
|
14225
|
-
isPullMode: boolean().optional(),
|
|
14226
|
-
priority: number().optional(),
|
|
14227
14125
|
hwaccel: string().optional(),
|
|
14228
14126
|
probedBestHwaccel: string().optional()
|
|
14229
|
-
})), method(
|
|
14230
|
-
sessionId: string(),
|
|
14231
|
-
nodeId: string()
|
|
14232
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14233
|
-
sessionId: string(),
|
|
14234
|
-
packet: EncodedPacketSchema
|
|
14235
|
-
}), _void()), method(object({
|
|
14236
|
-
sessionId: string(),
|
|
14237
|
-
url: string()
|
|
14238
|
-
}), _void()), method(object({
|
|
14239
|
-
sessionId: string(),
|
|
14240
|
-
maxCount: number().default(1),
|
|
14241
|
-
waitMs: number().optional()
|
|
14242
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14243
|
-
sessionId: string(),
|
|
14244
|
-
maxCount: number().default(1),
|
|
14245
|
-
waitMs: number().optional()
|
|
14246
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14247
|
-
sessionId: string(),
|
|
14248
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14249
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14250
|
-
sessionId: string(),
|
|
14251
|
-
codec: string(),
|
|
14252
|
-
outputFormat: string(),
|
|
14253
|
-
createdAtMs: number()
|
|
14254
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14127
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14255
14128
|
kind: "mutation",
|
|
14256
14129
|
auth: "admin"
|
|
14257
14130
|
});
|
|
@@ -15364,6 +15237,10 @@ var DeviceInfoSchema = object({
|
|
|
15364
15237
|
isCamera: boolean(),
|
|
15365
15238
|
/** Current config values — serializable snapshot */
|
|
15366
15239
|
config: record(string(), unknown()),
|
|
15240
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15241
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15242
|
+
* when the owning runner has not reported them. */
|
|
15243
|
+
secretConfigPaths: array(string()).optional(),
|
|
15367
15244
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15368
15245
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15369
15246
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15569,7 +15446,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15569
15446
|
* call (workers re-register on init), so probe-driven updates
|
|
15570
15447
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15571
15448
|
features: array(string()).optional(),
|
|
15572
|
-
config: record(string(), unknown())
|
|
15449
|
+
config: record(string(), unknown()),
|
|
15450
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15451
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15452
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15453
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15454
|
+
* omits it and the keyword backstop applies. */
|
|
15455
|
+
secretConfigPaths: array(string()).optional()
|
|
15573
15456
|
});
|
|
15574
15457
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15575
15458
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16396,6 +16279,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16396
16279
|
kind: "mutation",
|
|
16397
16280
|
auth: "admin"
|
|
16398
16281
|
});
|
|
16282
|
+
var HUB_ADDRESS_ROLES = [
|
|
16283
|
+
"appConnections",
|
|
16284
|
+
"notificationTaps",
|
|
16285
|
+
"internal",
|
|
16286
|
+
"publicEndpoint"
|
|
16287
|
+
];
|
|
16399
16288
|
/**
|
|
16400
16289
|
* Transport bounds for AI capability methods.
|
|
16401
16290
|
*
|
|
@@ -17222,7 +17111,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17222
17111
|
icon: string().optional(),
|
|
17223
17112
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17224
17113
|
startUrl: string(),
|
|
17225
|
-
stage: LoginStageEnum
|
|
17114
|
+
stage: LoginStageEnum,
|
|
17115
|
+
/**
|
|
17116
|
+
* The provider names an external identity a signed-in user can link to
|
|
17117
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17118
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17119
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17120
|
+
*/
|
|
17121
|
+
linkable: boolean().optional()
|
|
17226
17122
|
}),
|
|
17227
17123
|
object({
|
|
17228
17124
|
kind: literal("widget"),
|
|
@@ -18158,6 +18054,51 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
18158
18054
|
kind: "mutation",
|
|
18159
18055
|
auth: "admin"
|
|
18160
18056
|
});
|
|
18057
|
+
new Set([
|
|
18058
|
+
{
|
|
18059
|
+
id: "person",
|
|
18060
|
+
name: "Person"
|
|
18061
|
+
},
|
|
18062
|
+
{
|
|
18063
|
+
id: "vehicle",
|
|
18064
|
+
name: "Vehicle"
|
|
18065
|
+
},
|
|
18066
|
+
{
|
|
18067
|
+
id: "animal",
|
|
18068
|
+
name: "Animal"
|
|
18069
|
+
},
|
|
18070
|
+
{
|
|
18071
|
+
id: "package",
|
|
18072
|
+
name: "Package"
|
|
18073
|
+
}
|
|
18074
|
+
].map((l) => l.id));
|
|
18075
|
+
var COCO_TO_MACRO = {
|
|
18076
|
+
mapping: {
|
|
18077
|
+
person: "person",
|
|
18078
|
+
bicycle: "vehicle",
|
|
18079
|
+
car: "vehicle",
|
|
18080
|
+
motorcycle: "vehicle",
|
|
18081
|
+
airplane: "vehicle",
|
|
18082
|
+
bus: "vehicle",
|
|
18083
|
+
train: "vehicle",
|
|
18084
|
+
truck: "vehicle",
|
|
18085
|
+
boat: "vehicle",
|
|
18086
|
+
bird: "animal",
|
|
18087
|
+
cat: "animal",
|
|
18088
|
+
dog: "animal",
|
|
18089
|
+
horse: "animal",
|
|
18090
|
+
sheep: "animal",
|
|
18091
|
+
cow: "animal",
|
|
18092
|
+
elephant: "animal",
|
|
18093
|
+
bear: "animal",
|
|
18094
|
+
zebra: "animal",
|
|
18095
|
+
giraffe: "animal",
|
|
18096
|
+
suitcase: "package",
|
|
18097
|
+
backpack: "package",
|
|
18098
|
+
handbag: "package"
|
|
18099
|
+
},
|
|
18100
|
+
preserveOriginal: false
|
|
18101
|
+
};
|
|
18161
18102
|
var AUDIO_MACRO_LABELS = [
|
|
18162
18103
|
{
|
|
18163
18104
|
id: "speech",
|
|
@@ -20560,7 +20501,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20560
20501
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20561
20502
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20562
20503
|
*/
|
|
20563
|
-
notifySensorRewatched: boolean().optional()
|
|
20504
|
+
notifySensorRewatched: boolean().optional(),
|
|
20505
|
+
/**
|
|
20506
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20507
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20508
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20509
|
+
*/
|
|
20510
|
+
notifySensorIgnored: boolean().optional()
|
|
20564
20511
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20565
20512
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20566
20513
|
mode: AlarmArmModeSchema,
|
|
@@ -20573,7 +20520,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20573
20520
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20574
20521
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20575
20522
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20576
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20523
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20524
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20525
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20577
20526
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20578
20527
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20579
20528
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21551,8 +21500,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21551
21500
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21552
21501
|
stepId: "face-embedding",
|
|
21553
21502
|
key: "minLandmarkFaceSize",
|
|
21554
|
-
label: "Min face size
|
|
21555
|
-
description: "
|
|
21503
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21504
|
+
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.",
|
|
21556
21505
|
type: "slider",
|
|
21557
21506
|
min: 0,
|
|
21558
21507
|
max: 64,
|
|
@@ -22604,7 +22553,13 @@ var RetrainFrameSchema = object({
|
|
|
22604
22553
|
sizeBytes: number().int(),
|
|
22605
22554
|
width: number().int(),
|
|
22606
22555
|
height: number().int(),
|
|
22607
|
-
copiedAt: number()
|
|
22556
|
+
copiedAt: number(),
|
|
22557
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22558
|
+
capturedAt: number().optional(),
|
|
22559
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22560
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22561
|
+
* a false positive. */
|
|
22562
|
+
complete: boolean()
|
|
22608
22563
|
});
|
|
22609
22564
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22610
22565
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22625,6 +22580,51 @@ var RetrainFrameListSchema = object({
|
|
|
22625
22580
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22626
22581
|
autoPickMediaId: number().int().optional()
|
|
22627
22582
|
});
|
|
22583
|
+
/**
|
|
22584
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22585
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22586
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22587
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22588
|
+
* export carried (`exportedInBatch`).
|
|
22589
|
+
*/
|
|
22590
|
+
var RetrainExportFilterSchema = object({
|
|
22591
|
+
deviceIds: array(number()).optional(),
|
|
22592
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22593
|
+
batchId: string().optional(),
|
|
22594
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22595
|
+
completeOnly: boolean().optional()
|
|
22596
|
+
});
|
|
22597
|
+
/**
|
|
22598
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22599
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22600
|
+
* convention — the classifier layout.
|
|
22601
|
+
*/
|
|
22602
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22603
|
+
/**
|
|
22604
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22605
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22606
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22607
|
+
* logged.
|
|
22608
|
+
*/
|
|
22609
|
+
var RetrainArchiveTargetSchema = object({
|
|
22610
|
+
kind: literal("http"),
|
|
22611
|
+
method: _enum(["PUT", "POST"]),
|
|
22612
|
+
url: string().url(),
|
|
22613
|
+
headers: record(string(), string()).optional()
|
|
22614
|
+
});
|
|
22615
|
+
var RetrainArchiveResultSchema = object({
|
|
22616
|
+
batchId: string(),
|
|
22617
|
+
frames: number().int(),
|
|
22618
|
+
crops: number().int(),
|
|
22619
|
+
annotations: number().int(),
|
|
22620
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22621
|
+
missing: number().int(),
|
|
22622
|
+
bytes: number().int(),
|
|
22623
|
+
/** sha256 of the exact bytes sent. */
|
|
22624
|
+
sha256: string(),
|
|
22625
|
+
/** The target's HTTP status. */
|
|
22626
|
+
status: number().int()
|
|
22627
|
+
});
|
|
22628
22628
|
/** What the operator asked the assist to look for. */
|
|
22629
22629
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22630
22630
|
kind: literal("package"),
|
|
@@ -23419,9 +23419,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23419
23419
|
}), RetrainTransitionResultSchema, {
|
|
23420
23420
|
kind: "mutation",
|
|
23421
23421
|
auth: "admin"
|
|
23422
|
-
}), method(
|
|
23422
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23423
23423
|
kind: "query",
|
|
23424
23424
|
auth: "admin"
|
|
23425
|
+
}), method(object({
|
|
23426
|
+
deviceId: number(),
|
|
23427
|
+
trackId: string(),
|
|
23428
|
+
frameId: string(),
|
|
23429
|
+
complete: boolean()
|
|
23430
|
+
}), RetrainFrameSchema, {
|
|
23431
|
+
kind: "mutation",
|
|
23432
|
+
auth: "admin"
|
|
23433
|
+
}), method(object({
|
|
23434
|
+
filter: RetrainExportFilterSchema,
|
|
23435
|
+
layout: RetrainExportLayoutSchema,
|
|
23436
|
+
target: RetrainArchiveTargetSchema
|
|
23437
|
+
}), RetrainArchiveResultSchema, {
|
|
23438
|
+
kind: "mutation",
|
|
23439
|
+
auth: "admin",
|
|
23440
|
+
timeoutMs: 60 * 6e4
|
|
23425
23441
|
}), method(object({
|
|
23426
23442
|
/** Which of the three event tables owns the row. */
|
|
23427
23443
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23472,6 +23488,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23472
23488
|
timestamp: number()
|
|
23473
23489
|
});
|
|
23474
23490
|
/**
|
|
23491
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23492
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23493
|
+
*/
|
|
23494
|
+
var SuppliedRootOutputSchema = object({
|
|
23495
|
+
stepId: string(),
|
|
23496
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23497
|
+
modelId: string(),
|
|
23498
|
+
detections: array(object({
|
|
23499
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23500
|
+
bbox: tuple([
|
|
23501
|
+
number(),
|
|
23502
|
+
number(),
|
|
23503
|
+
number(),
|
|
23504
|
+
number()
|
|
23505
|
+
]),
|
|
23506
|
+
score: number(),
|
|
23507
|
+
/**
|
|
23508
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23509
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23510
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23511
|
+
*/
|
|
23512
|
+
landmarks: array(object({
|
|
23513
|
+
x: number(),
|
|
23514
|
+
y: number()
|
|
23515
|
+
})).optional()
|
|
23516
|
+
})).min(1)
|
|
23517
|
+
});
|
|
23518
|
+
/**
|
|
23475
23519
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23476
23520
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23477
23521
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23519,7 +23563,7 @@ var FrameRefSchema = object({
|
|
|
23519
23563
|
timestamp: number(),
|
|
23520
23564
|
capturedAt: number().optional()
|
|
23521
23565
|
});
|
|
23522
|
-
var ModelFormatSchema$
|
|
23566
|
+
var ModelFormatSchema$2 = _enum([
|
|
23523
23567
|
"onnx",
|
|
23524
23568
|
"coreml",
|
|
23525
23569
|
"openvino",
|
|
@@ -23537,7 +23581,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23537
23581
|
var PipelineEngineChoiceSchema = object({
|
|
23538
23582
|
runtime: literal("python"),
|
|
23539
23583
|
backend: string(),
|
|
23540
|
-
format: ModelFormatSchema$
|
|
23584
|
+
format: ModelFormatSchema$2,
|
|
23541
23585
|
device: string().optional()
|
|
23542
23586
|
});
|
|
23543
23587
|
/**
|
|
@@ -23576,33 +23620,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23576
23620
|
group: string().optional(),
|
|
23577
23621
|
settings: record(string(), unknown()).optional()
|
|
23578
23622
|
}));
|
|
23579
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23580
|
-
addonId: string(),
|
|
23581
|
-
enabled: boolean(),
|
|
23582
|
-
modelId: string(),
|
|
23583
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23584
|
-
settings: record(string(), unknown()).optional()
|
|
23585
|
-
}));
|
|
23586
|
-
var PipelineTemplateSchema$1 = object({
|
|
23587
|
-
id: string(),
|
|
23588
|
-
name: string(),
|
|
23589
|
-
createdAt: string(),
|
|
23590
|
-
updatedAt: string(),
|
|
23591
|
-
engine: PipelineEngineChoiceSchema,
|
|
23592
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23593
|
-
});
|
|
23594
23623
|
var PipelineModelOptionSchema = object({
|
|
23595
23624
|
id: string(),
|
|
23596
23625
|
name: string(),
|
|
23597
|
-
formats: record(string(),
|
|
23598
|
-
downloaded: boolean(),
|
|
23599
|
-
sizeMB: number()
|
|
23600
|
-
})),
|
|
23626
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23601
23627
|
group: ModelVariantGroupSchema.optional(),
|
|
23602
23628
|
legacy: boolean().optional(),
|
|
23603
23629
|
provider: ModelProviderIdSchema.optional(),
|
|
23604
23630
|
defaultConfidence: number().optional(),
|
|
23605
|
-
|
|
23631
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23606
23632
|
});
|
|
23607
23633
|
var ConfigFieldBridge = custom();
|
|
23608
23634
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23764,6 +23790,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23764
23790
|
}), {
|
|
23765
23791
|
kind: "mutation",
|
|
23766
23792
|
auth: "admin"
|
|
23793
|
+
}), method(object({
|
|
23794
|
+
nodeId: string(),
|
|
23795
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23796
|
+
dryRun: boolean()
|
|
23797
|
+
}), object({
|
|
23798
|
+
entries: array(object({
|
|
23799
|
+
deviceId: number(),
|
|
23800
|
+
keys: array(string()).readonly()
|
|
23801
|
+
})).readonly(),
|
|
23802
|
+
refused: array(object({
|
|
23803
|
+
deviceId: number(),
|
|
23804
|
+
reason: string()
|
|
23805
|
+
})).readonly()
|
|
23806
|
+
}), {
|
|
23807
|
+
kind: "mutation",
|
|
23808
|
+
auth: "admin"
|
|
23767
23809
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23768
23810
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23769
23811
|
deviceKey: string(),
|
|
@@ -23789,22 +23831,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23789
23831
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23790
23832
|
steps: array(PipelineStepInputSchema),
|
|
23791
23833
|
deviceKey: string().optional()
|
|
23792
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23793
|
-
name: string(),
|
|
23794
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23795
|
-
engine: PipelineEngineChoiceSchema
|
|
23796
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23797
|
-
id: string(),
|
|
23798
|
-
name: string().optional(),
|
|
23799
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23800
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23834
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23801
23835
|
addonId: string(),
|
|
23802
23836
|
modelId: string(),
|
|
23803
|
-
format: ModelFormatSchema$
|
|
23837
|
+
format: ModelFormatSchema$2
|
|
23804
23838
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23805
23839
|
addonId: string(),
|
|
23806
23840
|
modelId: string(),
|
|
23807
|
-
format: ModelFormatSchema$
|
|
23841
|
+
format: ModelFormatSchema$2
|
|
23808
23842
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23809
23843
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23810
23844
|
frame: FrameInputSchema.optional(),
|
|
@@ -23870,7 +23904,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23870
23904
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23871
23905
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23872
23906
|
*/
|
|
23873
|
-
replay: literal(true).optional()
|
|
23907
|
+
replay: literal(true).optional(),
|
|
23908
|
+
/**
|
|
23909
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23910
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23911
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23912
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23913
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23914
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23915
|
+
*/
|
|
23916
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23874
23917
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23875
23918
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23876
23919
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23952,6 +23995,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23952
23995
|
filename: string().optional(),
|
|
23953
23996
|
settings: record(string(), unknown()).optional()
|
|
23954
23997
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23998
|
+
/**
|
|
23999
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24000
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24001
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24002
|
+
* schemas are what crosses the cap boundary.
|
|
24003
|
+
*/
|
|
24004
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24005
|
+
/** The operator's range for it. */
|
|
24006
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24007
|
+
min: 1,
|
|
24008
|
+
max: 8
|
|
24009
|
+
};
|
|
24010
|
+
var HardwareClassIdSchema = _enum([
|
|
24011
|
+
"intel-core-ultra",
|
|
24012
|
+
"intel-n-series",
|
|
24013
|
+
"apple-m-base",
|
|
24014
|
+
"apple-m-pro",
|
|
24015
|
+
"unknown"
|
|
24016
|
+
]);
|
|
24017
|
+
var AcceleratorKindSchema = _enum([
|
|
24018
|
+
"intel-npu",
|
|
24019
|
+
"intel-igpu",
|
|
24020
|
+
"x86-cpu",
|
|
24021
|
+
"arm-cpu",
|
|
24022
|
+
"apple-ane",
|
|
24023
|
+
"coral"
|
|
24024
|
+
]);
|
|
24025
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24026
|
+
object({
|
|
24027
|
+
kind: literal("capacity"),
|
|
24028
|
+
sessions: number(),
|
|
24029
|
+
minSessions: number()
|
|
24030
|
+
}),
|
|
24031
|
+
object({
|
|
24032
|
+
kind: literal("tie-faster"),
|
|
24033
|
+
over: string(),
|
|
24034
|
+
recallDelta: number()
|
|
24035
|
+
}),
|
|
24036
|
+
object({
|
|
24037
|
+
kind: literal("stepped-down"),
|
|
24038
|
+
from: string(),
|
|
24039
|
+
to: string(),
|
|
24040
|
+
limitedBy: string()
|
|
24041
|
+
}),
|
|
24042
|
+
object({
|
|
24043
|
+
kind: literal("no-fit-lightest"),
|
|
24044
|
+
sessions: number(),
|
|
24045
|
+
minSessions: number()
|
|
24046
|
+
}),
|
|
24047
|
+
object({
|
|
24048
|
+
kind: literal("derived-latency"),
|
|
24049
|
+
modelId: string()
|
|
24050
|
+
}),
|
|
24051
|
+
object({ kind: literal("cpu-device") }),
|
|
24052
|
+
object({ kind: literal("coral-untouched") }),
|
|
24053
|
+
object({ kind: literal("device-disabled") }),
|
|
24054
|
+
object({ kind: literal("device-unavailable") }),
|
|
24055
|
+
object({ kind: literal("node-offline") }),
|
|
24056
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24057
|
+
object({
|
|
24058
|
+
kind: literal("no-measured-data"),
|
|
24059
|
+
hardwareClass: HardwareClassIdSchema
|
|
24060
|
+
}),
|
|
24061
|
+
object({
|
|
24062
|
+
kind: literal("no-family-build"),
|
|
24063
|
+
format: ModelFormatSchema$1
|
|
24064
|
+
})
|
|
24065
|
+
]);
|
|
24066
|
+
var DeviceModelChoiceSchema = object({
|
|
24067
|
+
modelId: string(),
|
|
24068
|
+
p50Ms: number(),
|
|
24069
|
+
fps: number(),
|
|
24070
|
+
measured: boolean(),
|
|
24071
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24072
|
+
capacitySessions: number(),
|
|
24073
|
+
personRecall: number()
|
|
24074
|
+
});
|
|
24075
|
+
var DeviceRecommendationSchema = object({
|
|
24076
|
+
deviceKey: string(),
|
|
24077
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24078
|
+
enabled: boolean(),
|
|
24079
|
+
available: boolean(),
|
|
24080
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24081
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24082
|
+
});
|
|
24083
|
+
var NodeRecommendationSchema = object({
|
|
24084
|
+
nodeId: string(),
|
|
24085
|
+
reachable: boolean(),
|
|
24086
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24087
|
+
cpuModel: string().nullable(),
|
|
24088
|
+
skipped: boolean(),
|
|
24089
|
+
acceleratorModelId: string().nullable(),
|
|
24090
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24091
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24092
|
+
});
|
|
24093
|
+
var ModelPinChangeSchema = object({
|
|
24094
|
+
stepId: string(),
|
|
24095
|
+
before: string().nullable(),
|
|
24096
|
+
after: string().nullable()
|
|
24097
|
+
});
|
|
24098
|
+
var NodeDeviceChangeSchema = object({
|
|
24099
|
+
nodeId: string(),
|
|
24100
|
+
deviceKey: string(),
|
|
24101
|
+
madeExplicit: boolean(),
|
|
24102
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24103
|
+
thresholds: array(object({
|
|
24104
|
+
stepId: string(),
|
|
24105
|
+
keys: array(string()).readonly()
|
|
24106
|
+
})).readonly()
|
|
24107
|
+
});
|
|
24108
|
+
var CameraOverrideClearSchema = object({
|
|
24109
|
+
deviceId: number(),
|
|
24110
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24111
|
+
nodeId: string(),
|
|
24112
|
+
deviceKey: string().nullable(),
|
|
24113
|
+
stepId: string(),
|
|
24114
|
+
modelIdBefore: string().nullable(),
|
|
24115
|
+
keys: array(string()).readonly()
|
|
24116
|
+
});
|
|
24117
|
+
var DetectorStoreClearSchema = object({
|
|
24118
|
+
deviceId: number(),
|
|
24119
|
+
keys: array(string()).readonly()
|
|
24120
|
+
});
|
|
24121
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24122
|
+
object({
|
|
24123
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24124
|
+
skippedNodes: array(string()).readonly()
|
|
24125
|
+
}),
|
|
24126
|
+
object({
|
|
24127
|
+
kind: literal("detector-store-unreadable"),
|
|
24128
|
+
error: string()
|
|
24129
|
+
}),
|
|
24130
|
+
object({
|
|
24131
|
+
kind: literal("coral-enabled"),
|
|
24132
|
+
nodeId: string(),
|
|
24133
|
+
deviceKey: string()
|
|
24134
|
+
})
|
|
24135
|
+
]);
|
|
24136
|
+
var AutoTuneOptionsSchema = object({
|
|
24137
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24138
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24139
|
+
/**
|
|
24140
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24141
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24142
|
+
* that reaches it wins.
|
|
24143
|
+
*/
|
|
24144
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24145
|
+
});
|
|
24146
|
+
var AutoTunePlanSchema = object({
|
|
24147
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24148
|
+
planHash: string(),
|
|
24149
|
+
family: literal("yolov9"),
|
|
24150
|
+
headroom: number(),
|
|
24151
|
+
minSessionsPerDevice: number(),
|
|
24152
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24153
|
+
cameraFps: number(),
|
|
24154
|
+
generatedAt: number(),
|
|
24155
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24156
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24157
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24158
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24159
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24160
|
+
});
|
|
24161
|
+
var AutoTuneApplyInputSchema = object({
|
|
24162
|
+
planHash: string(),
|
|
24163
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24164
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24165
|
+
});
|
|
24166
|
+
var AutoTunePhaseResultSchema = object({
|
|
24167
|
+
phase: _enum([
|
|
24168
|
+
"download",
|
|
24169
|
+
"camera-overrides",
|
|
24170
|
+
"detector-thresholds",
|
|
24171
|
+
"node-models",
|
|
24172
|
+
"redispatch"
|
|
24173
|
+
]),
|
|
24174
|
+
ok: boolean(),
|
|
24175
|
+
detail: string()
|
|
24176
|
+
});
|
|
24177
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24178
|
+
object({
|
|
24179
|
+
kind: literal("applied"),
|
|
24180
|
+
planHash: string(),
|
|
24181
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24182
|
+
}),
|
|
24183
|
+
object({
|
|
24184
|
+
kind: literal("aborted"),
|
|
24185
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24186
|
+
}),
|
|
24187
|
+
object({
|
|
24188
|
+
kind: literal("stale"),
|
|
24189
|
+
plan: AutoTunePlanSchema
|
|
24190
|
+
}),
|
|
24191
|
+
object({
|
|
24192
|
+
kind: literal("refused"),
|
|
24193
|
+
reason: _enum(["apply-in-progress"])
|
|
24194
|
+
})
|
|
24195
|
+
]);
|
|
24196
|
+
/**
|
|
24197
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24198
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24199
|
+
* hardware share suggestion and the stale device pins.
|
|
24200
|
+
*/
|
|
24201
|
+
/**
|
|
24202
|
+
* How a new detection session picks its node and device.
|
|
24203
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24204
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24205
|
+
* weight only bites once a node already holds a session.
|
|
24206
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24207
|
+
* full or drowning node yields to a free one (D748).
|
|
24208
|
+
*/
|
|
24209
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24210
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24211
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24212
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24213
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24214
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24215
|
+
});
|
|
24216
|
+
var PlacementStatsInputSchema = object({
|
|
24217
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24218
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24219
|
+
var PlacementDeviceStatsSchema = object({
|
|
24220
|
+
deviceKey: string(),
|
|
24221
|
+
/** Sessions running on this device now. */
|
|
24222
|
+
sessionsNow: number(),
|
|
24223
|
+
/** Sessions started on this device inside the window. */
|
|
24224
|
+
sessionsStarted: number(),
|
|
24225
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24226
|
+
observedShare: number().nullable()
|
|
24227
|
+
});
|
|
24228
|
+
var PlacementNodeStatsSchema = object({
|
|
24229
|
+
nodeId: string(),
|
|
24230
|
+
sessionsNow: number(),
|
|
24231
|
+
sessionsStarted: number(),
|
|
24232
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24233
|
+
observedShare: number().nullable(),
|
|
24234
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24235
|
+
peakSessions: number(),
|
|
24236
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24237
|
+
yieldsAway: number(),
|
|
24238
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24239
|
+
});
|
|
24240
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24241
|
+
var StaleDevicePinSchema = object({
|
|
24242
|
+
deviceId: number(),
|
|
24243
|
+
deviceKey: string(),
|
|
24244
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24245
|
+
reason: _enum(["disabled", "absent"])
|
|
24246
|
+
});
|
|
24247
|
+
var PlacementStatsSchema = object({
|
|
24248
|
+
policy: SessionPlacementPolicySchema,
|
|
24249
|
+
windowMs: number(),
|
|
24250
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24251
|
+
observedForMs: number(),
|
|
24252
|
+
sessionsNow: number(),
|
|
24253
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24254
|
+
clusterPeakSessions: number(),
|
|
24255
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24256
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24257
|
+
});
|
|
24258
|
+
/**
|
|
24259
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24260
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24261
|
+
* the measured latency table for the node's hardware class.
|
|
24262
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24263
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24264
|
+
*/
|
|
24265
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24266
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24267
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24268
|
+
var SuggestSharesInputSchema = object({
|
|
24269
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24270
|
+
/** Default `hardware`. */
|
|
24271
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24272
|
+
});
|
|
24273
|
+
var SuggestedDeviceShareSchema = object({
|
|
24274
|
+
deviceKey: string(),
|
|
24275
|
+
/** Share of the node (0–100, rounded). */
|
|
24276
|
+
share: number(),
|
|
24277
|
+
modelId: string().nullable(),
|
|
24278
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24279
|
+
fps: number().nullable(),
|
|
24280
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24281
|
+
measured: boolean(),
|
|
24282
|
+
/**
|
|
24283
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24284
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24285
|
+
*/
|
|
24286
|
+
suggestedMaxSessions: number().nullable()
|
|
24287
|
+
});
|
|
24288
|
+
var SuggestedNodeShareSchema = object({
|
|
24289
|
+
nodeId: string(),
|
|
24290
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24291
|
+
share: number().nullable(),
|
|
24292
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24293
|
+
capacitySessions: number(),
|
|
24294
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24295
|
+
skippedReason: string().nullable(),
|
|
24296
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24297
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24298
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24299
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24300
|
+
});
|
|
24301
|
+
var SuggestSharesResultSchema = object({
|
|
24302
|
+
headroom: number(),
|
|
24303
|
+
/** The source asked for; each node says what it actually used. */
|
|
24304
|
+
source: CapacitySourceSchema,
|
|
24305
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24306
|
+
cameraFps: number(),
|
|
24307
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24308
|
+
minSessionsPerDevice: number(),
|
|
24309
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24310
|
+
});
|
|
24311
|
+
/**
|
|
24312
|
+
* Where the node and device shares come from (D750, D755).
|
|
24313
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24314
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24315
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24316
|
+
* switched on or off, or changes model. No load input.
|
|
24317
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24318
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24319
|
+
* - `manual` — the operator's stored sliders.
|
|
24320
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24321
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24322
|
+
*/
|
|
24323
|
+
var ShareSourceSchema = _enum([
|
|
24324
|
+
"hardware",
|
|
24325
|
+
"benchmark",
|
|
24326
|
+
"manual"
|
|
24327
|
+
]);
|
|
24328
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24329
|
+
object({
|
|
24330
|
+
nodes: record(string(), number()),
|
|
24331
|
+
devices: record(string(), record(string(), number()))
|
|
24332
|
+
});
|
|
24333
|
+
var EffectiveDeviceShareSchema = object({
|
|
24334
|
+
deviceKey: string(),
|
|
24335
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24336
|
+
eligible: boolean(),
|
|
24337
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24338
|
+
configuredPct: number(),
|
|
24339
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24340
|
+
effectivePct: number()
|
|
24341
|
+
});
|
|
24342
|
+
var EffectiveNodeShareSchema = object({
|
|
24343
|
+
nodeId: string(),
|
|
24344
|
+
eligible: boolean(),
|
|
24345
|
+
configuredPct: number(),
|
|
24346
|
+
effectivePct: number(),
|
|
24347
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24348
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24349
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24350
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24351
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24352
|
+
});
|
|
24353
|
+
var EffectiveSharesSchema = object({
|
|
24354
|
+
source: ShareSourceSchema,
|
|
24355
|
+
policy: SessionPlacementPolicySchema,
|
|
24356
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24357
|
+
autoPending: boolean(),
|
|
24358
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24359
|
+
computedAt: number().nullable(),
|
|
24360
|
+
/** What made the system recompute them last. */
|
|
24361
|
+
trigger: string().nullable(),
|
|
24362
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24363
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24364
|
+
nodeWeights: record(string(), number()),
|
|
24365
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24366
|
+
});
|
|
23955
24367
|
object({
|
|
23956
24368
|
activeCameras: number(),
|
|
23957
24369
|
throttledCameras: number(),
|
|
@@ -24869,14 +25281,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24869
25281
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24870
25282
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24871
25283
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24872
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24873
|
-
* per
|
|
25284
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25285
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25286
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25287
|
+
* (D762).
|
|
24874
25288
|
*/
|
|
24875
25289
|
devices: array(object({
|
|
24876
25290
|
deviceKey: string(),
|
|
24877
25291
|
backend: string(),
|
|
24878
|
-
attachedCameras: number()
|
|
24879
|
-
queueDepthTotal: number()
|
|
25292
|
+
attachedCameras: number()
|
|
24880
25293
|
})).default([]),
|
|
24881
25294
|
/** Hardware capability flags reported by this node. */
|
|
24882
25295
|
hardware: object({
|
|
@@ -25012,7 +25425,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
25012
25425
|
*/
|
|
25013
25426
|
cropJpeg: string().optional(),
|
|
25014
25427
|
parent: DetailParentSchema,
|
|
25015
|
-
steps: array(string()).optional()
|
|
25428
|
+
steps: array(string()).optional(),
|
|
25429
|
+
/**
|
|
25430
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25431
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25432
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25433
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25434
|
+
* requested step infers as before.
|
|
25435
|
+
*/
|
|
25436
|
+
supplied: object({
|
|
25437
|
+
stepId: string(),
|
|
25438
|
+
modelId: string(),
|
|
25439
|
+
boxes: array(object({
|
|
25440
|
+
bbox: NativeCropBboxSchema,
|
|
25441
|
+
score: number()
|
|
25442
|
+
})).min(1)
|
|
25443
|
+
}).optional()
|
|
25016
25444
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
25017
25445
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
25018
25446
|
stepId: string(),
|
|
@@ -25075,14 +25503,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25075
25503
|
settings: record(string(), unknown()).readonly().optional()
|
|
25076
25504
|
}).nullable().optional()
|
|
25077
25505
|
});
|
|
25078
|
-
var PipelineTemplateSchema = object({
|
|
25079
|
-
id: string(),
|
|
25080
|
-
name: string(),
|
|
25081
|
-
description: string().optional(),
|
|
25082
|
-
config: CameraPipelineConfigSchema,
|
|
25083
|
-
createdAt: string(),
|
|
25084
|
-
updatedAt: string()
|
|
25085
|
-
});
|
|
25086
25506
|
var DeviceStepConfigSchema = object({
|
|
25087
25507
|
modelId: string().optional(),
|
|
25088
25508
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25156,9 +25576,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25156
25576
|
modelId: string().optional(),
|
|
25157
25577
|
settings: record(string(), unknown()).readonly().optional()
|
|
25158
25578
|
});
|
|
25579
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25159
25580
|
var CameraPipelineSettingsSchema = object({
|
|
25160
|
-
pinnedAgentNodeId: string().optional(),
|
|
25161
25581
|
stepToggles: record(string(), boolean()).optional(),
|
|
25582
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25162
25583
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25163
25584
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25164
25585
|
});
|
|
@@ -25191,7 +25612,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25191
25612
|
});
|
|
25192
25613
|
/**
|
|
25193
25614
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25194
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25615
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25616
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25617
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25618
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25195
25619
|
*/
|
|
25196
25620
|
var AgentLoadSummarySchema = object({
|
|
25197
25621
|
nodeId: string(),
|
|
@@ -25280,26 +25704,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25280
25704
|
width: number(),
|
|
25281
25705
|
height: number(),
|
|
25282
25706
|
subscribers: number(),
|
|
25283
|
-
|
|
25284
|
-
|
|
25707
|
+
/**
|
|
25708
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25709
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25710
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25711
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25712
|
+
* camera and is not served (D758).
|
|
25713
|
+
*/
|
|
25714
|
+
inFps: number().nullable()
|
|
25285
25715
|
})).readonly(),
|
|
25286
25716
|
webrtcSessions: number(),
|
|
25287
25717
|
rtspRestream: boolean()
|
|
25288
25718
|
});
|
|
25289
|
-
/**
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
|
|
25293
|
-
|
|
25294
|
-
|
|
25295
|
-
|
|
25296
|
-
|
|
25297
|
-
var CameraDecoderStatusSchema = object({
|
|
25298
|
-
nodeId: string(),
|
|
25299
|
-
formats: array(string()).readonly(),
|
|
25300
|
-
sessionCount: number(),
|
|
25301
|
-
shm: CameraDecoderShmSchema
|
|
25302
|
-
});
|
|
25719
|
+
/**
|
|
25720
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25721
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25722
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25723
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25724
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25725
|
+
* detector), never from a counter nothing feeds.
|
|
25726
|
+
*/
|
|
25727
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25303
25728
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25304
25729
|
var CameraMotionStatusSchema = object({
|
|
25305
25730
|
enabled: boolean(),
|
|
@@ -25656,12 +26081,6 @@ method(object({
|
|
|
25656
26081
|
}), object({ success: literal(true) }), {
|
|
25657
26082
|
kind: "mutation",
|
|
25658
26083
|
auth: "admin"
|
|
25659
|
-
}), method(object({
|
|
25660
|
-
agentNodeId: string(),
|
|
25661
|
-
detectWeight: number().positive().nullable()
|
|
25662
|
-
}), object({ success: literal(true) }), {
|
|
25663
|
-
kind: "mutation",
|
|
25664
|
-
auth: "admin"
|
|
25665
26084
|
}), method(object({
|
|
25666
26085
|
agentNodeId: string(),
|
|
25667
26086
|
detect: boolean().nullable().optional(),
|
|
@@ -25703,6 +26122,15 @@ method(object({
|
|
|
25703
26122
|
}), {
|
|
25704
26123
|
kind: "mutation",
|
|
25705
26124
|
auth: "admin"
|
|
26125
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26126
|
+
kind: "mutation",
|
|
26127
|
+
auth: "admin"
|
|
26128
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26129
|
+
kind: "mutation",
|
|
26130
|
+
auth: "admin"
|
|
26131
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26132
|
+
kind: "mutation",
|
|
26133
|
+
auth: "admin"
|
|
25706
26134
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25707
26135
|
deviceId: number(),
|
|
25708
26136
|
addonId: string(),
|
|
@@ -25719,6 +26147,13 @@ method(object({
|
|
|
25719
26147
|
}), object({ success: literal(true) }), {
|
|
25720
26148
|
kind: "mutation",
|
|
25721
26149
|
auth: "admin"
|
|
26150
|
+
}), method(object({
|
|
26151
|
+
deviceId: number(),
|
|
26152
|
+
addonId: string(),
|
|
26153
|
+
settings: record(string(), unknown()).nullable()
|
|
26154
|
+
}), object({ success: literal(true) }), {
|
|
26155
|
+
kind: "mutation",
|
|
26156
|
+
auth: "admin"
|
|
25722
26157
|
}), method(object({
|
|
25723
26158
|
deviceId: number(),
|
|
25724
26159
|
agentNodeId: string(),
|
|
@@ -25742,25 +26177,7 @@ method(object({
|
|
|
25742
26177
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25743
26178
|
kind: "mutation",
|
|
25744
26179
|
auth: "admin"
|
|
25745
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25746
|
-
name: string(),
|
|
25747
|
-
description: string().optional(),
|
|
25748
|
-
config: CameraPipelineConfigSchema
|
|
25749
|
-
}), PipelineTemplateSchema, {
|
|
25750
|
-
kind: "mutation",
|
|
25751
|
-
auth: "admin"
|
|
25752
|
-
}), method(object({
|
|
25753
|
-
id: string(),
|
|
25754
|
-
name: string().optional(),
|
|
25755
|
-
description: string().optional(),
|
|
25756
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25757
|
-
}), PipelineTemplateSchema, {
|
|
25758
|
-
kind: "mutation",
|
|
25759
|
-
auth: "admin"
|
|
25760
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25761
|
-
kind: "mutation",
|
|
25762
|
-
auth: "admin"
|
|
25763
|
-
});
|
|
26180
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25764
26181
|
/**
|
|
25765
26182
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25766
26183
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26454,7 +26871,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26454
26871
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26455
26872
|
* operator already consented to.
|
|
26456
26873
|
*/
|
|
26457
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26874
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26875
|
+
/**
|
|
26876
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26877
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26878
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26879
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26880
|
+
*/
|
|
26881
|
+
linkIntent: string().optional(),
|
|
26882
|
+
/**
|
|
26883
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26884
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26885
|
+
*/
|
|
26886
|
+
issuer: string().optional()
|
|
26458
26887
|
});
|
|
26459
26888
|
method(object({
|
|
26460
26889
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -28522,8 +28951,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28522
28951
|
]).nullable(),
|
|
28523
28952
|
/** Input FPS from the camera (null for adaptive). */
|
|
28524
28953
|
inputFps: number().nullable(),
|
|
28525
|
-
/** Decoded FPS (null for adaptive). */
|
|
28526
|
-
decodeFps: number().nullable(),
|
|
28527
28954
|
/** Bitrate in kbps (null for adaptive). */
|
|
28528
28955
|
bitrateKbps: number().nullable()
|
|
28529
28956
|
});
|
|
@@ -28800,7 +29227,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28800
29227
|
* field their hints were silently stripped by the schema and the
|
|
28801
29228
|
* adaptive ladder started blind on the client's display size.
|
|
28802
29229
|
*/
|
|
28803
|
-
hints: webrtcClientHintsSchema.optional()
|
|
29230
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
29231
|
+
/**
|
|
29232
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
29233
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
29234
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
29235
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
29236
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
29237
|
+
*
|
|
29238
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
29239
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
29240
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
29241
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
29242
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
29243
|
+
* flag must not become a second door to the camera's speaker.
|
|
29244
|
+
*/
|
|
29245
|
+
talkback: boolean().optional()
|
|
28804
29246
|
}), object({
|
|
28805
29247
|
sessionId: string(),
|
|
28806
29248
|
sdpAnswer: string()
|
|
@@ -28855,6 +29297,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28855
29297
|
*/
|
|
28856
29298
|
alive: boolean()
|
|
28857
29299
|
})), method(object({
|
|
29300
|
+
deviceId: number().int().nonnegative(),
|
|
29301
|
+
sessionId: string(),
|
|
29302
|
+
downlinkMbps: number().nonnegative()
|
|
29303
|
+
}), object({
|
|
29304
|
+
outcome: _enum(["switching", "held"]),
|
|
29305
|
+
tier: CamProfileSchema.nullable(),
|
|
29306
|
+
reason: string()
|
|
29307
|
+
}), { kind: "mutation" }), method(object({
|
|
28858
29308
|
deviceId: number().int().nonnegative(),
|
|
28859
29309
|
sessionId: string()
|
|
28860
29310
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -29094,6 +29544,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29094
29544
|
var RestartAddonResultSchema = unknown();
|
|
29095
29545
|
var InstallPackageResultSchema = unknown();
|
|
29096
29546
|
var ReloadPackagesResultSchema = unknown();
|
|
29547
|
+
/**
|
|
29548
|
+
* What an uninstall did on ONE node.
|
|
29549
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29550
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29551
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29552
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29553
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29554
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29555
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29556
|
+
*/
|
|
29557
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29558
|
+
"uninstalled",
|
|
29559
|
+
"not-installed",
|
|
29560
|
+
"refused",
|
|
29561
|
+
"failed",
|
|
29562
|
+
"pending-reconnect"
|
|
29563
|
+
]);
|
|
29564
|
+
var UninstallNodeResultSchema = object({
|
|
29565
|
+
nodeId: string(),
|
|
29566
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29567
|
+
error: string().optional(),
|
|
29568
|
+
addonIds: array(string()).readonly(),
|
|
29569
|
+
runnersStopped: array(string()).readonly(),
|
|
29570
|
+
warnings: array(string()).readonly()
|
|
29571
|
+
});
|
|
29572
|
+
var UninstallPackageResultSchema = object({
|
|
29573
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29574
|
+
success: boolean(),
|
|
29575
|
+
packageName: string(),
|
|
29576
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29577
|
+
});
|
|
29578
|
+
/**
|
|
29579
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29580
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29581
|
+
*/
|
|
29582
|
+
var PackageInstallationsSchema = object({
|
|
29583
|
+
installations: array(object({
|
|
29584
|
+
packageName: string(),
|
|
29585
|
+
nodeId: string(),
|
|
29586
|
+
nodeName: string(),
|
|
29587
|
+
isHub: boolean(),
|
|
29588
|
+
isOnline: boolean(),
|
|
29589
|
+
version: string().nullable(),
|
|
29590
|
+
addonIds: array(string()).readonly(),
|
|
29591
|
+
source: _enum(["live", "recorded"]),
|
|
29592
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29593
|
+
onHub: boolean()
|
|
29594
|
+
})).readonly(),
|
|
29595
|
+
unreachable: array(object({
|
|
29596
|
+
nodeId: string(),
|
|
29597
|
+
error: string()
|
|
29598
|
+
})).readonly()
|
|
29599
|
+
});
|
|
29097
29600
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29098
29601
|
"queued",
|
|
29099
29602
|
"updating",
|
|
@@ -29176,10 +29679,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29176
29679
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29177
29680
|
kind: "mutation",
|
|
29178
29681
|
auth: "admin"
|
|
29179
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29682
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
29683
|
+
packageName: string().min(1),
|
|
29684
|
+
nodeId: string().optional(),
|
|
29685
|
+
everywhere: boolean().optional()
|
|
29686
|
+
}), UninstallPackageResultSchema, {
|
|
29180
29687
|
kind: "mutation",
|
|
29181
29688
|
auth: "admin"
|
|
29182
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
29689
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29183
29690
|
kind: "mutation",
|
|
29184
29691
|
auth: "admin"
|
|
29185
29692
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -32666,7 +33173,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32666
33173
|
"lan-ipv6",
|
|
32667
33174
|
"public",
|
|
32668
33175
|
"loopback",
|
|
32669
|
-
"app-link"
|
|
33176
|
+
"app-link",
|
|
33177
|
+
"custom"
|
|
32670
33178
|
]),
|
|
32671
33179
|
/**
|
|
32672
33180
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -32735,7 +33243,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
32735
33243
|
localPort: AdvertisedLocalPortSchema
|
|
32736
33244
|
});
|
|
32737
33245
|
/**
|
|
32738
|
-
* The address flagged for notification
|
|
33246
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
32739
33247
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
32740
33248
|
* so the UI can show it either way.
|
|
32741
33249
|
*/
|
|
@@ -32768,6 +33276,72 @@ var ViewerEndpointsSchema = object({
|
|
|
32768
33276
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
32769
33277
|
resolved: array(string()).readonly()
|
|
32770
33278
|
});
|
|
33279
|
+
/**
|
|
33280
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
33281
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
33282
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
33283
|
+
*/
|
|
33284
|
+
var HubAddressSnapshotSchema = object({
|
|
33285
|
+
override: string().nullable(),
|
|
33286
|
+
resolved: string().nullable(),
|
|
33287
|
+
source: _enum([
|
|
33288
|
+
"override",
|
|
33289
|
+
"auto",
|
|
33290
|
+
"none"
|
|
33291
|
+
])
|
|
33292
|
+
});
|
|
33293
|
+
var HubAddressesSchema = object({
|
|
33294
|
+
cluster: HubAddressSnapshotSchema,
|
|
33295
|
+
browser: HubAddressSnapshotSchema
|
|
33296
|
+
});
|
|
33297
|
+
/**
|
|
33298
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
33299
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
33300
|
+
* by at most one address.
|
|
33301
|
+
*/
|
|
33302
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
33303
|
+
var RoleSourceSchema = _enum([
|
|
33304
|
+
"flagged",
|
|
33305
|
+
"auto",
|
|
33306
|
+
"none"
|
|
33307
|
+
]);
|
|
33308
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
33309
|
+
var HubAddressRoleResolutionSchema = object({
|
|
33310
|
+
/** The address carrying the flag, or null = automatic. */
|
|
33311
|
+
flagged: string().nullable(),
|
|
33312
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
33313
|
+
resolved: string().nullable(),
|
|
33314
|
+
source: RoleSourceSchema
|
|
33315
|
+
});
|
|
33316
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
33317
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
33318
|
+
flagged: array(string()).readonly(),
|
|
33319
|
+
/** What the apps race right now. */
|
|
33320
|
+
resolved: array(string()).readonly(),
|
|
33321
|
+
source: RoleSourceSchema
|
|
33322
|
+
});
|
|
33323
|
+
var HubAddressBookSchema = object({
|
|
33324
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
33325
|
+
/** In the hub's detected palette right now. */
|
|
33326
|
+
detected: boolean(),
|
|
33327
|
+
/** Entered by the operator (removable). */
|
|
33328
|
+
custom: boolean(),
|
|
33329
|
+
/** The roles explicitly flagged on this address. */
|
|
33330
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
33331
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
33332
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
33333
|
+
/** The roles this address may be flagged with. */
|
|
33334
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
33335
|
+
})).readonly(),
|
|
33336
|
+
roles: object({
|
|
33337
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
33338
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
33339
|
+
internal: HubAddressRoleResolutionSchema,
|
|
33340
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
33341
|
+
}),
|
|
33342
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
33343
|
+
appLinkHub: string().nullable()
|
|
33344
|
+
});
|
|
32771
33345
|
var AllowedAddressesSchema = object({
|
|
32772
33346
|
/**
|
|
32773
33347
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -32811,10 +33385,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
32811
33385
|
* tunnel always emits `https://` regardless. */
|
|
32812
33386
|
scheme: _enum(["http", "https"]).optional(),
|
|
32813
33387
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
32814
|
-
* an address notification
|
|
33388
|
+
* an address notification taps can be flagged with, not a hub
|
|
32815
33389
|
* route. Default `false`: racers and rankers never see it. */
|
|
32816
33390
|
includeAppLink: boolean().optional()
|
|
32817
|
-
}), 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(
|
|
33391
|
+
}), 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({
|
|
33392
|
+
baseUrl: string(),
|
|
33393
|
+
label: string().max(80)
|
|
33394
|
+
}), HubAddressBookSchema, {
|
|
33395
|
+
kind: "mutation",
|
|
33396
|
+
auth: "admin"
|
|
33397
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
33398
|
+
kind: "mutation",
|
|
33399
|
+
auth: "admin"
|
|
33400
|
+
}), method(object({
|
|
33401
|
+
role: HubAddressRoleSchema,
|
|
33402
|
+
baseUrl: string().nullable(),
|
|
33403
|
+
enabled: boolean(),
|
|
33404
|
+
acceptInsecureHttp: boolean().optional()
|
|
33405
|
+
}), HubAddressBookSchema, {
|
|
33406
|
+
kind: "mutation",
|
|
33407
|
+
auth: "admin"
|
|
33408
|
+
}), 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, {
|
|
32818
33409
|
kind: "mutation",
|
|
32819
33410
|
auth: "admin"
|
|
32820
33411
|
}), method(object({
|
|
@@ -39467,6 +40058,32 @@ var TotpStatusSchema = object({
|
|
|
39467
40058
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
39468
40059
|
confirmedAt: number().nullable()
|
|
39469
40060
|
});
|
|
40061
|
+
/**
|
|
40062
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
40063
|
+
* and scoped tokens.
|
|
40064
|
+
*
|
|
40065
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
40066
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
40067
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
40068
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
40069
|
+
* provider.
|
|
40070
|
+
*/
|
|
40071
|
+
var ExternalIdentitySchema = object({
|
|
40072
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
40073
|
+
provider: string(),
|
|
40074
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
40075
|
+
subject: string(),
|
|
40076
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
40077
|
+
issuer: string(),
|
|
40078
|
+
userId: string(),
|
|
40079
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
40080
|
+
label: string().optional(),
|
|
40081
|
+
linkedAt: number()
|
|
40082
|
+
});
|
|
40083
|
+
var ExternalIdentityKeySchema = object({
|
|
40084
|
+
provider: string().min(1),
|
|
40085
|
+
subject: string().min(1)
|
|
40086
|
+
});
|
|
39470
40087
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
39471
40088
|
kind: "mutation",
|
|
39472
40089
|
auth: "admin",
|
|
@@ -39580,7 +40197,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
39580
40197
|
userId: string(),
|
|
39581
40198
|
username: string(),
|
|
39582
40199
|
scopes: array(TokenScopeSchema)
|
|
39583
|
-
}).nullable(), { access: "view" }), method(
|
|
40200
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
40201
|
+
userId: string(),
|
|
40202
|
+
issuer: string()
|
|
40203
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
40204
|
+
userId: string(),
|
|
40205
|
+
issuer: string().min(1),
|
|
40206
|
+
label: string().optional()
|
|
40207
|
+
}), object({ success: literal(true) }), {
|
|
40208
|
+
kind: "mutation",
|
|
40209
|
+
auth: "admin",
|
|
40210
|
+
access: "create"
|
|
40211
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
40212
|
+
kind: "mutation",
|
|
40213
|
+
auth: "admin",
|
|
40214
|
+
access: "delete"
|
|
40215
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
39584
40216
|
kind: "mutation",
|
|
39585
40217
|
auth: "admin",
|
|
39586
40218
|
access: "delete"
|
|
@@ -40282,6 +40914,16 @@ var zoneRulesCapability = {
|
|
|
40282
40914
|
durability: "restored"
|
|
40283
40915
|
};
|
|
40284
40916
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
40917
|
+
Object.freeze({
|
|
40918
|
+
person: .5,
|
|
40919
|
+
vehicle: .5,
|
|
40920
|
+
animal: .5
|
|
40921
|
+
});
|
|
40922
|
+
Object.freeze({
|
|
40923
|
+
person: .65,
|
|
40924
|
+
vehicle: .65,
|
|
40925
|
+
animal: .65
|
|
40926
|
+
});
|
|
40285
40927
|
/**
|
|
40286
40928
|
* Accessory device helpers — shared across drivers.
|
|
40287
40929
|
*
|
|
@@ -41980,6 +42622,12 @@ Object.freeze({
|
|
|
41980
42622
|
addonId: null,
|
|
41981
42623
|
access: "view"
|
|
41982
42624
|
},
|
|
42625
|
+
"addons.listInstallations": {
|
|
42626
|
+
capName: "addons",
|
|
42627
|
+
capScope: "system",
|
|
42628
|
+
addonId: null,
|
|
42629
|
+
access: "view"
|
|
42630
|
+
},
|
|
41983
42631
|
"addons.listJobs": {
|
|
41984
42632
|
capName: "addons",
|
|
41985
42633
|
capScope: "system",
|
|
@@ -43162,90 +43810,18 @@ Object.freeze({
|
|
|
43162
43810
|
addonId: null,
|
|
43163
43811
|
access: "create"
|
|
43164
43812
|
},
|
|
43165
|
-
"decoder.createSession": {
|
|
43166
|
-
capName: "decoder",
|
|
43167
|
-
capScope: "system",
|
|
43168
|
-
addonId: null,
|
|
43169
|
-
access: "view"
|
|
43170
|
-
},
|
|
43171
|
-
"decoder.destroySession": {
|
|
43172
|
-
capName: "decoder",
|
|
43173
|
-
capScope: "system",
|
|
43174
|
-
addonId: null,
|
|
43175
|
-
access: "delete"
|
|
43176
|
-
},
|
|
43177
|
-
"decoder.getFrame": {
|
|
43178
|
-
capName: "decoder",
|
|
43179
|
-
capScope: "system",
|
|
43180
|
-
addonId: null,
|
|
43181
|
-
access: "view"
|
|
43182
|
-
},
|
|
43183
43813
|
"decoder.getInfo": {
|
|
43184
43814
|
capName: "decoder",
|
|
43185
43815
|
capScope: "system",
|
|
43186
43816
|
addonId: null,
|
|
43187
43817
|
access: "view"
|
|
43188
43818
|
},
|
|
43189
|
-
"decoder.getShmStats": {
|
|
43190
|
-
capName: "decoder",
|
|
43191
|
-
capScope: "system",
|
|
43192
|
-
addonId: null,
|
|
43193
|
-
access: "view"
|
|
43194
|
-
},
|
|
43195
|
-
"decoder.getStats": {
|
|
43196
|
-
capName: "decoder",
|
|
43197
|
-
capScope: "system",
|
|
43198
|
-
addonId: null,
|
|
43199
|
-
access: "view"
|
|
43200
|
-
},
|
|
43201
|
-
"decoder.listActiveSessions": {
|
|
43202
|
-
capName: "decoder",
|
|
43203
|
-
capScope: "system",
|
|
43204
|
-
addonId: null,
|
|
43205
|
-
access: "view"
|
|
43206
|
-
},
|
|
43207
|
-
"decoder.openStream": {
|
|
43208
|
-
capName: "decoder",
|
|
43209
|
-
capScope: "system",
|
|
43210
|
-
addonId: null,
|
|
43211
|
-
access: "view"
|
|
43212
|
-
},
|
|
43213
|
-
"decoder.pullFrames": {
|
|
43214
|
-
capName: "decoder",
|
|
43215
|
-
capScope: "system",
|
|
43216
|
-
addonId: null,
|
|
43217
|
-
access: "view"
|
|
43218
|
-
},
|
|
43219
|
-
"decoder.pullHandles": {
|
|
43220
|
-
capName: "decoder",
|
|
43221
|
-
capScope: "system",
|
|
43222
|
-
addonId: null,
|
|
43223
|
-
access: "view"
|
|
43224
|
-
},
|
|
43225
|
-
"decoder.pushPacket": {
|
|
43226
|
-
capName: "decoder",
|
|
43227
|
-
capScope: "system",
|
|
43228
|
-
addonId: null,
|
|
43229
|
-
access: "view"
|
|
43230
|
-
},
|
|
43231
43819
|
"decoder.reprobeHwaccel": {
|
|
43232
43820
|
capName: "decoder",
|
|
43233
43821
|
capScope: "system",
|
|
43234
43822
|
addonId: null,
|
|
43235
43823
|
access: "create"
|
|
43236
43824
|
},
|
|
43237
|
-
"decoder.supportsCodec": {
|
|
43238
|
-
capName: "decoder",
|
|
43239
|
-
capScope: "system",
|
|
43240
|
-
addonId: null,
|
|
43241
|
-
access: "view"
|
|
43242
|
-
},
|
|
43243
|
-
"decoder.updateConfig": {
|
|
43244
|
-
capName: "decoder",
|
|
43245
|
-
capScope: "system",
|
|
43246
|
-
addonId: null,
|
|
43247
|
-
access: "view"
|
|
43248
|
-
},
|
|
43249
43825
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43250
43826
|
capName: "detection-pipeline",
|
|
43251
43827
|
capScope: "device",
|
|
@@ -44734,12 +45310,24 @@ Object.freeze({
|
|
|
44734
45310
|
addonId: null,
|
|
44735
45311
|
access: "view"
|
|
44736
45312
|
},
|
|
45313
|
+
"localNetwork.addCustomAddress": {
|
|
45314
|
+
capName: "local-network",
|
|
45315
|
+
capScope: "system",
|
|
45316
|
+
addonId: null,
|
|
45317
|
+
access: "create"
|
|
45318
|
+
},
|
|
44737
45319
|
"localNetwork.downloadCa": {
|
|
44738
45320
|
capName: "local-network",
|
|
44739
45321
|
capScope: "system",
|
|
44740
45322
|
addonId: null,
|
|
44741
45323
|
access: "view"
|
|
44742
45324
|
},
|
|
45325
|
+
"localNetwork.getAddresses": {
|
|
45326
|
+
capName: "local-network",
|
|
45327
|
+
capScope: "system",
|
|
45328
|
+
addonId: null,
|
|
45329
|
+
access: "view"
|
|
45330
|
+
},
|
|
44743
45331
|
"localNetwork.getAllowedAddresses": {
|
|
44744
45332
|
capName: "local-network",
|
|
44745
45333
|
capScope: "system",
|
|
@@ -44752,6 +45340,12 @@ Object.freeze({
|
|
|
44752
45340
|
addonId: null,
|
|
44753
45341
|
access: "view"
|
|
44754
45342
|
},
|
|
45343
|
+
"localNetwork.getHubAddresses": {
|
|
45344
|
+
capName: "local-network",
|
|
45345
|
+
capScope: "system",
|
|
45346
|
+
addonId: null,
|
|
45347
|
+
access: "view"
|
|
45348
|
+
},
|
|
44755
45349
|
"localNetwork.getNotificationEndpoint": {
|
|
44756
45350
|
capName: "local-network",
|
|
44757
45351
|
capScope: "system",
|
|
@@ -44788,6 +45382,12 @@ Object.freeze({
|
|
|
44788
45382
|
addonId: null,
|
|
44789
45383
|
access: "create"
|
|
44790
45384
|
},
|
|
45385
|
+
"localNetwork.removeCustomAddress": {
|
|
45386
|
+
capName: "local-network",
|
|
45387
|
+
capScope: "system",
|
|
45388
|
+
addonId: null,
|
|
45389
|
+
access: "delete"
|
|
45390
|
+
},
|
|
44791
45391
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
44792
45392
|
capName: "local-network",
|
|
44793
45393
|
capScope: "system",
|
|
@@ -44800,6 +45400,12 @@ Object.freeze({
|
|
|
44800
45400
|
addonId: null,
|
|
44801
45401
|
access: "create"
|
|
44802
45402
|
},
|
|
45403
|
+
"localNetwork.setAddressRole": {
|
|
45404
|
+
capName: "local-network",
|
|
45405
|
+
capScope: "system",
|
|
45406
|
+
addonId: null,
|
|
45407
|
+
access: "create"
|
|
45408
|
+
},
|
|
44803
45409
|
"localNetwork.setAllowedAddresses": {
|
|
44804
45410
|
capName: "local-network",
|
|
44805
45411
|
capScope: "system",
|
|
@@ -46246,6 +46852,12 @@ Object.freeze({
|
|
|
46246
46852
|
addonId: null,
|
|
46247
46853
|
access: "create"
|
|
46248
46854
|
},
|
|
46855
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
46856
|
+
capName: "pipeline-analytics",
|
|
46857
|
+
capScope: "device",
|
|
46858
|
+
addonId: null,
|
|
46859
|
+
access: "create"
|
|
46860
|
+
},
|
|
46249
46861
|
"pipelineAnalytics.setTrackFlags": {
|
|
46250
46862
|
capName: "pipeline-analytics",
|
|
46251
46863
|
capScope: "device",
|
|
@@ -46282,6 +46894,12 @@ Object.freeze({
|
|
|
46282
46894
|
addonId: null,
|
|
46283
46895
|
access: "delete"
|
|
46284
46896
|
},
|
|
46897
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
46898
|
+
capName: "pipeline-analytics",
|
|
46899
|
+
capScope: "device",
|
|
46900
|
+
addonId: null,
|
|
46901
|
+
access: "create"
|
|
46902
|
+
},
|
|
46285
46903
|
"pipelineExecutor.cacheFrameInPool": {
|
|
46286
46904
|
capName: "pipeline-executor",
|
|
46287
46905
|
capScope: "system",
|
|
@@ -46294,13 +46912,13 @@ Object.freeze({
|
|
|
46294
46912
|
addonId: null,
|
|
46295
46913
|
access: "delete"
|
|
46296
46914
|
},
|
|
46297
|
-
"pipelineExecutor.
|
|
46915
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46298
46916
|
capName: "pipeline-executor",
|
|
46299
46917
|
capScope: "system",
|
|
46300
46918
|
addonId: null,
|
|
46301
46919
|
access: "delete"
|
|
46302
46920
|
},
|
|
46303
|
-
"pipelineExecutor.
|
|
46921
|
+
"pipelineExecutor.deleteModel": {
|
|
46304
46922
|
capName: "pipeline-executor",
|
|
46305
46923
|
capScope: "system",
|
|
46306
46924
|
addonId: null,
|
|
@@ -46444,12 +47062,6 @@ Object.freeze({
|
|
|
46444
47062
|
addonId: null,
|
|
46445
47063
|
access: "view"
|
|
46446
47064
|
},
|
|
46447
|
-
"pipelineExecutor.listTemplates": {
|
|
46448
|
-
capName: "pipeline-executor",
|
|
46449
|
-
capScope: "system",
|
|
46450
|
-
addonId: null,
|
|
46451
|
-
access: "view"
|
|
46452
|
-
},
|
|
46453
47065
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
46454
47066
|
capName: "pipeline-executor",
|
|
46455
47067
|
capScope: "system",
|
|
@@ -46474,12 +47086,6 @@ Object.freeze({
|
|
|
46474
47086
|
addonId: null,
|
|
46475
47087
|
access: "create"
|
|
46476
47088
|
},
|
|
46477
|
-
"pipelineExecutor.saveTemplate": {
|
|
46478
|
-
capName: "pipeline-executor",
|
|
46479
|
-
capScope: "system",
|
|
46480
|
-
addonId: null,
|
|
46481
|
-
access: "create"
|
|
46482
|
-
},
|
|
46483
47089
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
46484
47090
|
capName: "pipeline-executor",
|
|
46485
47091
|
capScope: "system",
|
|
@@ -46498,41 +47104,35 @@ Object.freeze({
|
|
|
46498
47104
|
addonId: null,
|
|
46499
47105
|
access: "create"
|
|
46500
47106
|
},
|
|
46501
|
-
"pipelineExecutor.updateTemplate": {
|
|
46502
|
-
capName: "pipeline-executor",
|
|
46503
|
-
capScope: "system",
|
|
46504
|
-
addonId: null,
|
|
46505
|
-
access: "create"
|
|
46506
|
-
},
|
|
46507
47107
|
"pipelineExecutor.validatePipeline": {
|
|
46508
47108
|
capName: "pipeline-executor",
|
|
46509
47109
|
capScope: "system",
|
|
46510
47110
|
addonId: null,
|
|
46511
47111
|
access: "view"
|
|
46512
47112
|
},
|
|
46513
|
-
"pipelineOrchestrator.
|
|
47113
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46514
47114
|
capName: "pipeline-orchestrator",
|
|
46515
47115
|
capScope: "system",
|
|
46516
47116
|
addonId: null,
|
|
46517
47117
|
access: "create"
|
|
46518
47118
|
},
|
|
46519
|
-
"pipelineOrchestrator.
|
|
47119
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
46520
47120
|
capName: "pipeline-orchestrator",
|
|
46521
47121
|
capScope: "system",
|
|
46522
47122
|
addonId: null,
|
|
46523
47123
|
access: "create"
|
|
46524
47124
|
},
|
|
46525
|
-
"pipelineOrchestrator.
|
|
47125
|
+
"pipelineOrchestrator.assignAudio": {
|
|
46526
47126
|
capName: "pipeline-orchestrator",
|
|
46527
47127
|
capScope: "system",
|
|
46528
47128
|
addonId: null,
|
|
46529
47129
|
access: "create"
|
|
46530
47130
|
},
|
|
46531
|
-
"pipelineOrchestrator.
|
|
47131
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
46532
47132
|
capName: "pipeline-orchestrator",
|
|
46533
47133
|
capScope: "system",
|
|
46534
47134
|
addonId: null,
|
|
46535
|
-
access: "
|
|
47135
|
+
access: "create"
|
|
46536
47136
|
},
|
|
46537
47137
|
"pipelineOrchestrator.getAgentLoad": {
|
|
46538
47138
|
capName: "pipeline-orchestrator",
|
|
@@ -46624,6 +47224,12 @@ Object.freeze({
|
|
|
46624
47224
|
addonId: null,
|
|
46625
47225
|
access: "view"
|
|
46626
47226
|
},
|
|
47227
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47228
|
+
capName: "pipeline-orchestrator",
|
|
47229
|
+
capScope: "system",
|
|
47230
|
+
addonId: null,
|
|
47231
|
+
access: "view"
|
|
47232
|
+
},
|
|
46627
47233
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
46628
47234
|
capName: "pipeline-orchestrator",
|
|
46629
47235
|
capScope: "system",
|
|
@@ -46660,19 +47266,19 @@ Object.freeze({
|
|
|
46660
47266
|
addonId: null,
|
|
46661
47267
|
access: "view"
|
|
46662
47268
|
},
|
|
46663
|
-
"pipelineOrchestrator.
|
|
47269
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
46664
47270
|
capName: "pipeline-orchestrator",
|
|
46665
47271
|
capScope: "system",
|
|
46666
47272
|
addonId: null,
|
|
46667
47273
|
access: "view"
|
|
46668
47274
|
},
|
|
46669
|
-
"pipelineOrchestrator.
|
|
47275
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
46670
47276
|
capName: "pipeline-orchestrator",
|
|
46671
47277
|
capScope: "system",
|
|
46672
47278
|
addonId: null,
|
|
46673
47279
|
access: "view"
|
|
46674
47280
|
},
|
|
46675
|
-
"pipelineOrchestrator.
|
|
47281
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
46676
47282
|
capName: "pipeline-orchestrator",
|
|
46677
47283
|
capScope: "system",
|
|
46678
47284
|
addonId: null,
|
|
@@ -46684,6 +47290,12 @@ Object.freeze({
|
|
|
46684
47290
|
addonId: null,
|
|
46685
47291
|
access: "create"
|
|
46686
47292
|
},
|
|
47293
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47294
|
+
capName: "pipeline-orchestrator",
|
|
47295
|
+
capScope: "system",
|
|
47296
|
+
addonId: null,
|
|
47297
|
+
access: "view"
|
|
47298
|
+
},
|
|
46687
47299
|
"pipelineOrchestrator.rebalance": {
|
|
46688
47300
|
capName: "pipeline-orchestrator",
|
|
46689
47301
|
capScope: "system",
|
|
@@ -46726,12 +47338,6 @@ Object.freeze({
|
|
|
46726
47338
|
addonId: null,
|
|
46727
47339
|
access: "create"
|
|
46728
47340
|
},
|
|
46729
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
46730
|
-
capName: "pipeline-orchestrator",
|
|
46731
|
-
capScope: "system",
|
|
46732
|
-
addonId: null,
|
|
46733
|
-
access: "create"
|
|
46734
|
-
},
|
|
46735
47341
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
46736
47342
|
capName: "pipeline-orchestrator",
|
|
46737
47343
|
capScope: "system",
|
|
@@ -46744,12 +47350,6 @@ Object.freeze({
|
|
|
46744
47350
|
addonId: null,
|
|
46745
47351
|
access: "create"
|
|
46746
47352
|
},
|
|
46747
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
46748
|
-
capName: "pipeline-orchestrator",
|
|
46749
|
-
capScope: "system",
|
|
46750
|
-
addonId: null,
|
|
46751
|
-
access: "create"
|
|
46752
|
-
},
|
|
46753
47353
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
46754
47354
|
capName: "pipeline-orchestrator",
|
|
46755
47355
|
capScope: "system",
|
|
@@ -46786,6 +47386,12 @@ Object.freeze({
|
|
|
46786
47386
|
addonId: null,
|
|
46787
47387
|
access: "create"
|
|
46788
47388
|
},
|
|
47389
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47390
|
+
capName: "pipeline-orchestrator",
|
|
47391
|
+
capScope: "system",
|
|
47392
|
+
addonId: null,
|
|
47393
|
+
access: "create"
|
|
47394
|
+
},
|
|
46789
47395
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
46790
47396
|
capName: "pipeline-orchestrator",
|
|
46791
47397
|
capScope: "system",
|
|
@@ -46804,25 +47410,37 @@ Object.freeze({
|
|
|
46804
47410
|
addonId: null,
|
|
46805
47411
|
access: "create"
|
|
46806
47412
|
},
|
|
47413
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47414
|
+
capName: "pipeline-orchestrator",
|
|
47415
|
+
capScope: "system",
|
|
47416
|
+
addonId: null,
|
|
47417
|
+
access: "create"
|
|
47418
|
+
},
|
|
46807
47419
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
46808
47420
|
capName: "pipeline-orchestrator",
|
|
46809
47421
|
capScope: "system",
|
|
46810
47422
|
addonId: null,
|
|
46811
47423
|
access: "create"
|
|
46812
47424
|
},
|
|
46813
|
-
"pipelineOrchestrator.
|
|
47425
|
+
"pipelineOrchestrator.setShareSource": {
|
|
46814
47426
|
capName: "pipeline-orchestrator",
|
|
46815
47427
|
capScope: "system",
|
|
46816
47428
|
addonId: null,
|
|
46817
47429
|
access: "create"
|
|
46818
47430
|
},
|
|
46819
|
-
"pipelineOrchestrator.
|
|
47431
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47432
|
+
capName: "pipeline-orchestrator",
|
|
47433
|
+
capScope: "system",
|
|
47434
|
+
addonId: null,
|
|
47435
|
+
access: "view"
|
|
47436
|
+
},
|
|
47437
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
46820
47438
|
capName: "pipeline-orchestrator",
|
|
46821
47439
|
capScope: "system",
|
|
46822
47440
|
addonId: null,
|
|
46823
47441
|
access: "create"
|
|
46824
47442
|
},
|
|
46825
|
-
"pipelineOrchestrator.
|
|
47443
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
46826
47444
|
capName: "pipeline-orchestrator",
|
|
46827
47445
|
capScope: "system",
|
|
46828
47446
|
addonId: null,
|
|
@@ -48262,12 +48880,6 @@ Object.freeze({
|
|
|
48262
48880
|
addonId: null,
|
|
48263
48881
|
access: "view"
|
|
48264
48882
|
},
|
|
48265
|
-
"streamBroker.pullFrameHandles": {
|
|
48266
|
-
capName: "stream-broker",
|
|
48267
|
-
capScope: "system",
|
|
48268
|
-
addonId: null,
|
|
48269
|
-
access: "view"
|
|
48270
|
-
},
|
|
48271
48883
|
"streamBroker.regenerateRtspToken": {
|
|
48272
48884
|
capName: "stream-broker",
|
|
48273
48885
|
capScope: "system",
|
|
@@ -48334,12 +48946,6 @@ Object.freeze({
|
|
|
48334
48946
|
addonId: null,
|
|
48335
48947
|
access: "create"
|
|
48336
48948
|
},
|
|
48337
|
-
"streamBroker.subscribeFrames": {
|
|
48338
|
-
capName: "stream-broker",
|
|
48339
|
-
capScope: "system",
|
|
48340
|
-
addonId: null,
|
|
48341
|
-
access: "create"
|
|
48342
|
-
},
|
|
48343
48949
|
"streamBroker.unassignProfile": {
|
|
48344
48950
|
capName: "stream-broker",
|
|
48345
48951
|
capScope: "system",
|
|
@@ -48352,12 +48958,6 @@ Object.freeze({
|
|
|
48352
48958
|
addonId: null,
|
|
48353
48959
|
access: "create"
|
|
48354
48960
|
},
|
|
48355
|
-
"streamBroker.unsubscribeFrames": {
|
|
48356
|
-
capName: "stream-broker",
|
|
48357
|
-
capScope: "system",
|
|
48358
|
-
addonId: null,
|
|
48359
|
-
access: "create"
|
|
48360
|
-
},
|
|
48361
48961
|
"streamCatalog.getCatalog": {
|
|
48362
48962
|
capName: "stream-catalog",
|
|
48363
48963
|
capScope: "device",
|
|
@@ -48652,18 +49252,36 @@ Object.freeze({
|
|
|
48652
49252
|
addonId: null,
|
|
48653
49253
|
access: "delete"
|
|
48654
49254
|
},
|
|
49255
|
+
"userManagement.findUserByExternalIdentity": {
|
|
49256
|
+
capName: "user-management",
|
|
49257
|
+
capScope: "system",
|
|
49258
|
+
addonId: null,
|
|
49259
|
+
access: "view"
|
|
49260
|
+
},
|
|
48655
49261
|
"userManagement.getTotpStatus": {
|
|
48656
49262
|
capName: "user-management",
|
|
48657
49263
|
capScope: "system",
|
|
48658
49264
|
addonId: null,
|
|
48659
49265
|
access: "view"
|
|
48660
49266
|
},
|
|
49267
|
+
"userManagement.linkExternalIdentity": {
|
|
49268
|
+
capName: "user-management",
|
|
49269
|
+
capScope: "system",
|
|
49270
|
+
addonId: null,
|
|
49271
|
+
access: "create"
|
|
49272
|
+
},
|
|
48661
49273
|
"userManagement.listApiKeys": {
|
|
48662
49274
|
capName: "user-management",
|
|
48663
49275
|
capScope: "system",
|
|
48664
49276
|
addonId: null,
|
|
48665
49277
|
access: "view"
|
|
48666
49278
|
},
|
|
49279
|
+
"userManagement.listExternalIdentities": {
|
|
49280
|
+
capName: "user-management",
|
|
49281
|
+
capScope: "system",
|
|
49282
|
+
addonId: null,
|
|
49283
|
+
access: "view"
|
|
49284
|
+
},
|
|
48667
49285
|
"userManagement.listOauthSessions": {
|
|
48668
49286
|
capName: "user-management",
|
|
48669
49287
|
capScope: "system",
|
|
@@ -48742,6 +49360,12 @@ Object.freeze({
|
|
|
48742
49360
|
addonId: null,
|
|
48743
49361
|
access: "create"
|
|
48744
49362
|
},
|
|
49363
|
+
"userManagement.unlinkExternalIdentity": {
|
|
49364
|
+
capName: "user-management",
|
|
49365
|
+
capScope: "system",
|
|
49366
|
+
addonId: null,
|
|
49367
|
+
access: "delete"
|
|
49368
|
+
},
|
|
48745
49369
|
"userManagement.updateUser": {
|
|
48746
49370
|
capName: "user-management",
|
|
48747
49371
|
capScope: "system",
|
|
@@ -49054,6 +49678,12 @@ Object.freeze({
|
|
|
49054
49678
|
addonId: null,
|
|
49055
49679
|
access: "create"
|
|
49056
49680
|
},
|
|
49681
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
49682
|
+
capName: "webrtc-session",
|
|
49683
|
+
capScope: "device",
|
|
49684
|
+
addonId: null,
|
|
49685
|
+
access: "create"
|
|
49686
|
+
},
|
|
49057
49687
|
"webrtcSession.closeSession": {
|
|
49058
49688
|
capName: "webrtc-session",
|
|
49059
49689
|
capScope: "device",
|
|
@@ -51071,11 +51701,6 @@ Object.freeze({
|
|
|
51071
51701
|
form: "single",
|
|
51072
51702
|
optional: false
|
|
51073
51703
|
}],
|
|
51074
|
-
"decoder.createSession": [{
|
|
51075
|
-
name: "deviceId",
|
|
51076
|
-
form: "single",
|
|
51077
|
-
optional: true
|
|
51078
|
-
}],
|
|
51079
51704
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
51080
51705
|
name: "deviceId",
|
|
51081
51706
|
form: "single",
|
|
@@ -52286,6 +52911,11 @@ Object.freeze({
|
|
|
52286
52911
|
form: "single",
|
|
52287
52912
|
optional: false
|
|
52288
52913
|
}],
|
|
52914
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
52915
|
+
name: "deviceId",
|
|
52916
|
+
form: "single",
|
|
52917
|
+
optional: false
|
|
52918
|
+
}],
|
|
52289
52919
|
"pipelineAnalytics.setTrackFlags": [{
|
|
52290
52920
|
name: "deviceId",
|
|
52291
52921
|
form: "single",
|
|
@@ -52306,6 +52936,11 @@ Object.freeze({
|
|
|
52306
52936
|
form: "single",
|
|
52307
52937
|
optional: false
|
|
52308
52938
|
}],
|
|
52939
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
52940
|
+
name: "deviceIds",
|
|
52941
|
+
form: "array",
|
|
52942
|
+
optional: true
|
|
52943
|
+
}],
|
|
52309
52944
|
"pipelineExecutor.runPipeline": [{
|
|
52310
52945
|
name: "deviceId",
|
|
52311
52946
|
form: "single",
|
|
@@ -52411,6 +53046,11 @@ Object.freeze({
|
|
|
52411
53046
|
form: "single",
|
|
52412
53047
|
optional: false
|
|
52413
53048
|
}],
|
|
53049
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
53050
|
+
name: "deviceId",
|
|
53051
|
+
form: "single",
|
|
53052
|
+
optional: false
|
|
53053
|
+
}],
|
|
52414
53054
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
52415
53055
|
name: "deviceId",
|
|
52416
53056
|
form: "single",
|
|
@@ -53182,6 +53822,11 @@ Object.freeze({
|
|
|
53182
53822
|
form: "single",
|
|
53183
53823
|
optional: false
|
|
53184
53824
|
}],
|
|
53825
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
53826
|
+
name: "deviceId",
|
|
53827
|
+
form: "single",
|
|
53828
|
+
optional: false
|
|
53829
|
+
}],
|
|
53185
53830
|
"webrtcSession.closeSession": [{
|
|
53186
53831
|
name: "deviceId",
|
|
53187
53832
|
form: "single",
|
|
@@ -53715,7 +54360,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
53715
54360
|
{
|
|
53716
54361
|
name: "summarySection",
|
|
53717
54362
|
label: "Summary: this section",
|
|
53718
|
-
description: "The section a per-section summary row is about
|
|
54363
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
53719
54364
|
example: "Batterie scariche",
|
|
53720
54365
|
group: "system",
|
|
53721
54366
|
families: ["rule"],
|
|
@@ -56313,7 +56958,7 @@ var amcrestCameraSchema = object({
|
|
|
56313
56958
|
port: number().int().min(1).max(65535).default(80).describe("HTTP CGI port"),
|
|
56314
56959
|
https: boolean().default(false).describe("Use HTTPS for CGI"),
|
|
56315
56960
|
username: string().default("admin").describe("Username"),
|
|
56316
|
-
password: string().default("").describe("Password"),
|
|
56961
|
+
password: string().default("").describe("Password").meta({ secret: true }),
|
|
56317
56962
|
channel: number().int().min(1).default(1).describe("Camera channel (1-based)"),
|
|
56318
56963
|
deviceCache: amcrestDeviceCacheSchema.optional()
|
|
56319
56964
|
});
|
|
@@ -59485,7 +60130,7 @@ function writeJpeg(res, bytes, headOnly) {
|
|
|
59485
60130
|
* Node-only (`node:child_process`), so it lives under `@camstack/types/node`.
|
|
59486
60131
|
*/
|
|
59487
60132
|
/** The detail a site refusing for want of a binary puts in its refusal. */
|
|
59488
|
-
var NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node
|
|
60133
|
+
var NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node";
|
|
59489
60134
|
/**
|
|
59490
60135
|
* {@link pinnedFfmpegSpawner}, asked at the point of use through the node's
|
|
59491
60136
|
* resolver (`memoizePinnedFfmpeg`). A site that keeps the RESOLVER rather than
|