@camstack/addon-provider-hikvision 1.2.144 → 1.2.146
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
|
@@ -33,7 +33,7 @@ let node_net = require("node:net");
|
|
|
33
33
|
let node_http = require("node:http");
|
|
34
34
|
let node_https = require("node:https");
|
|
35
35
|
let node_os = require("node:os");
|
|
36
|
-
//#region ../types/dist/event-category-
|
|
36
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
37
37
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
38
38
|
EventCategory["SystemBoot"] = "system.boot";
|
|
39
39
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -534,15 +534,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
534
534
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
535
535
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
536
536
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
537
|
-
/**
|
|
538
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
539
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
540
|
-
* `createSession`, so running sessions keep their current backend until
|
|
541
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
542
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
543
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
544
|
-
*/
|
|
545
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
546
537
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
547
538
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
548
539
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5413,7 +5404,7 @@ var ZodIssueCode = {
|
|
|
5413
5404
|
var ZodFirstPartyTypeKind;
|
|
5414
5405
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5415
5406
|
//#endregion
|
|
5416
|
-
//#region ../types/dist/sleep-
|
|
5407
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5417
5408
|
/**
|
|
5418
5409
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5419
5410
|
* window to float samples (D455).
|
|
@@ -6779,32 +6770,12 @@ object({
|
|
|
6779
6770
|
audioCodec: string().optional(),
|
|
6780
6771
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6781
6772
|
});
|
|
6782
|
-
var EncodedPacketSchema = object({
|
|
6783
|
-
type: _enum(["video", "audio"]),
|
|
6784
|
-
data: _instanceof(Uint8Array),
|
|
6785
|
-
pts: number(),
|
|
6786
|
-
dts: number(),
|
|
6787
|
-
keyframe: boolean(),
|
|
6788
|
-
codec: string()
|
|
6789
|
-
});
|
|
6790
|
-
var DecodedFrameSchema = object({
|
|
6791
|
-
data: _instanceof(Uint8Array),
|
|
6792
|
-
width: number(),
|
|
6793
|
-
height: number(),
|
|
6794
|
-
format: _enum([
|
|
6795
|
-
"jpeg",
|
|
6796
|
-
"rgb",
|
|
6797
|
-
"bgr",
|
|
6798
|
-
"yuv420",
|
|
6799
|
-
"gray"
|
|
6800
|
-
]),
|
|
6801
|
-
timestamp: number()
|
|
6802
|
-
});
|
|
6803
6773
|
/**
|
|
6804
6774
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6805
6775
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6806
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6807
|
-
*
|
|
6776
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6777
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6778
|
+
* over tRPC / Moleculer.
|
|
6808
6779
|
*
|
|
6809
6780
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6810
6781
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6830,50 +6801,6 @@ var FrameHandleSchema = object({
|
|
|
6830
6801
|
slotCount: number().int().positive()
|
|
6831
6802
|
});
|
|
6832
6803
|
/**
|
|
6833
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6834
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6835
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6836
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6837
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6838
|
-
*/
|
|
6839
|
-
var FrameHandleFormatSchema = _enum([
|
|
6840
|
-
"rgb",
|
|
6841
|
-
"bgr",
|
|
6842
|
-
"yuv420",
|
|
6843
|
-
"gray"
|
|
6844
|
-
]);
|
|
6845
|
-
/**
|
|
6846
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6847
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6848
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6849
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6850
|
-
* they asked for with no broker-side conversion.
|
|
6851
|
-
*/
|
|
6852
|
-
var SubscribeFramesInputSchema = object({
|
|
6853
|
-
brokerId: string(),
|
|
6854
|
-
format: FrameHandleFormatSchema,
|
|
6855
|
-
/**
|
|
6856
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6857
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6858
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6859
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6860
|
-
*/
|
|
6861
|
-
maxFps: number().positive().optional(),
|
|
6862
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6863
|
-
tag: string().optional()
|
|
6864
|
-
});
|
|
6865
|
-
/**
|
|
6866
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6867
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6868
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6869
|
-
*/
|
|
6870
|
-
var SubscribeFramesResultSchema = object({
|
|
6871
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6872
|
-
subscriptionId: string(),
|
|
6873
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6874
|
-
maxFps: number().nonnegative()
|
|
6875
|
-
});
|
|
6876
|
-
/**
|
|
6877
6804
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6878
6805
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6879
6806
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6881,8 +6808,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6881
6808
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6882
6809
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6883
6810
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6884
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6885
|
-
*
|
|
6811
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6812
|
+
* it.
|
|
6886
6813
|
*/
|
|
6887
6814
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6888
6815
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6900,11 +6827,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6900
6827
|
format: AudioChunkFormatSchema.optional()
|
|
6901
6828
|
});
|
|
6902
6829
|
/**
|
|
6903
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6904
|
-
*
|
|
6905
|
-
*
|
|
6906
|
-
*
|
|
6907
|
-
* `pullAudioChunks`.
|
|
6830
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6831
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6832
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6833
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6908
6834
|
*/
|
|
6909
6835
|
var SubscribeAudioChunksInputSchema = object({
|
|
6910
6836
|
brokerId: string(),
|
|
@@ -6935,9 +6861,7 @@ var BrokerStatsSchema = object({
|
|
|
6935
6861
|
"stopped"
|
|
6936
6862
|
]),
|
|
6937
6863
|
inputFps: number(),
|
|
6938
|
-
decodeFps: number(),
|
|
6939
6864
|
encodedSubscribers: number(),
|
|
6940
|
-
decodedSubscribers: number(),
|
|
6941
6865
|
uptimeMs: number(),
|
|
6942
6866
|
bitrateKbps: number(),
|
|
6943
6867
|
idrIntervalMs: number(),
|
|
@@ -6950,14 +6874,6 @@ var BrokerStatsSchema = object({
|
|
|
6950
6874
|
preBufferMs: number(),
|
|
6951
6875
|
preBufferPackets: number(),
|
|
6952
6876
|
/**
|
|
6953
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6954
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6955
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6956
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6957
|
-
* a separate cap call per broker.
|
|
6958
|
-
*/
|
|
6959
|
-
decoderNodeId: string().nullable(),
|
|
6960
|
-
/**
|
|
6961
6877
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6962
6878
|
* when the stream has no audio track or the broker is in cold start.
|
|
6963
6879
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10315,70 +10231,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10315
10231
|
"backup"
|
|
10316
10232
|
]).optional()
|
|
10317
10233
|
});
|
|
10318
|
-
var DecoderStatsSchema = object({
|
|
10319
|
-
inputFps: number(),
|
|
10320
|
-
outputFps: number(),
|
|
10321
|
-
avgDecodeTimeMs: number(),
|
|
10322
|
-
droppedFrames: number(),
|
|
10323
|
-
/**
|
|
10324
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10325
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10326
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10327
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10328
|
-
*/
|
|
10329
|
-
lagMs: number().optional(),
|
|
10330
|
-
effectiveFps: number().optional(),
|
|
10331
|
-
adaptiveFps: number().optional()
|
|
10332
|
-
});
|
|
10333
|
-
var DecoderSessionConfigSchema = object({
|
|
10334
|
-
codec: string(),
|
|
10335
|
-
maxFps: number().default(0),
|
|
10336
|
-
outputFormat: _enum([
|
|
10337
|
-
"jpeg",
|
|
10338
|
-
"rgb",
|
|
10339
|
-
"bgr",
|
|
10340
|
-
"yuv420",
|
|
10341
|
-
"gray"
|
|
10342
|
-
]).default("jpeg"),
|
|
10343
|
-
scale: number().default(1),
|
|
10344
|
-
width: number().optional(),
|
|
10345
|
-
height: number().optional(),
|
|
10346
|
-
/**
|
|
10347
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10348
|
-
* because the cap is generic (any caller could request decode), but
|
|
10349
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10350
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10351
|
-
* sendPacket errors on a single hung camera).
|
|
10352
|
-
*/
|
|
10353
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10354
|
-
/**
|
|
10355
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10356
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10357
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10358
|
-
* profile cleanly.
|
|
10359
|
-
*/
|
|
10360
|
-
tag: string().optional(),
|
|
10361
|
-
/**
|
|
10362
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10363
|
-
*
|
|
10364
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10365
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10366
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10367
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10368
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10369
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10370
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10371
|
-
*/
|
|
10372
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10373
|
-
/**
|
|
10374
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10375
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10376
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10377
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10378
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10379
|
-
*/
|
|
10380
|
-
debug: boolean().optional()
|
|
10381
|
-
});
|
|
10382
10234
|
var EU_DST = {
|
|
10383
10235
|
offsetHours: 1,
|
|
10384
10236
|
startMonth: 3,
|
|
@@ -10802,57 +10654,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10802
10654
|
"balanced",
|
|
10803
10655
|
"strict"
|
|
10804
10656
|
]);
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
id: "person",
|
|
10808
|
-
name: "Person"
|
|
10809
|
-
},
|
|
10810
|
-
{
|
|
10811
|
-
id: "vehicle",
|
|
10812
|
-
name: "Vehicle"
|
|
10813
|
-
},
|
|
10814
|
-
{
|
|
10815
|
-
id: "animal",
|
|
10816
|
-
name: "Animal"
|
|
10817
|
-
},
|
|
10818
|
-
{
|
|
10819
|
-
id: "package",
|
|
10820
|
-
name: "Package"
|
|
10821
|
-
}
|
|
10822
|
-
].map((l) => l.id));
|
|
10823
|
-
var COCO_TO_MACRO = {
|
|
10824
|
-
mapping: {
|
|
10825
|
-
person: "person",
|
|
10826
|
-
bicycle: "vehicle",
|
|
10827
|
-
car: "vehicle",
|
|
10828
|
-
motorcycle: "vehicle",
|
|
10829
|
-
airplane: "vehicle",
|
|
10830
|
-
bus: "vehicle",
|
|
10831
|
-
train: "vehicle",
|
|
10832
|
-
truck: "vehicle",
|
|
10833
|
-
boat: "vehicle",
|
|
10834
|
-
bird: "animal",
|
|
10835
|
-
cat: "animal",
|
|
10836
|
-
dog: "animal",
|
|
10837
|
-
horse: "animal",
|
|
10838
|
-
sheep: "animal",
|
|
10839
|
-
cow: "animal",
|
|
10840
|
-
elephant: "animal",
|
|
10841
|
-
bear: "animal",
|
|
10842
|
-
zebra: "animal",
|
|
10843
|
-
giraffe: "animal",
|
|
10844
|
-
suitcase: "package",
|
|
10845
|
-
backpack: "package",
|
|
10846
|
-
handbag: "package"
|
|
10847
|
-
},
|
|
10848
|
-
preserveOriginal: false
|
|
10849
|
-
};
|
|
10850
|
-
/** Steps a root detector may declare it fills. */
|
|
10851
|
-
var FILLABLE_STEP_IDS = [
|
|
10657
|
+
/** Steps whose effect a root label can BE. */
|
|
10658
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10852
10659
|
"animal-classifier",
|
|
10853
10660
|
"vehicle-classifier",
|
|
10854
10661
|
"package-detection"
|
|
10855
10662
|
];
|
|
10663
|
+
/** Steps whose box a root detection can BE. */
|
|
10664
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10665
|
+
/**
|
|
10666
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10667
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10668
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10669
|
+
* no camera tree carries.)
|
|
10670
|
+
*/
|
|
10671
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10672
|
+
[
|
|
10673
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10674
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10675
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10676
|
+
];
|
|
10856
10677
|
var MODEL_FORMATS = [
|
|
10857
10678
|
"onnx",
|
|
10858
10679
|
"coreml",
|
|
@@ -10881,7 +10702,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10881
10702
|
/** Multi-file payload (directory members or sibling files). */
|
|
10882
10703
|
files: array(string()).readonly().optional(),
|
|
10883
10704
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10884
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10705
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10706
|
+
/**
|
|
10707
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10708
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10709
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10710
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10711
|
+
* node records the revision it downloaded next to the file
|
|
10712
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10713
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10714
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10715
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10716
|
+
*/
|
|
10717
|
+
revision: string().min(1).optional()
|
|
10718
|
+
});
|
|
10719
|
+
/**
|
|
10720
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10721
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10722
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10723
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10724
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10725
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10726
|
+
*/
|
|
10727
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10728
|
+
"current",
|
|
10729
|
+
"stale",
|
|
10730
|
+
"missing"
|
|
10731
|
+
]);
|
|
10732
|
+
/**
|
|
10733
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10734
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10735
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10736
|
+
*/
|
|
10737
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10738
|
+
"fp32",
|
|
10739
|
+
"fp16",
|
|
10740
|
+
"int8"
|
|
10741
|
+
]);
|
|
10742
|
+
/**
|
|
10743
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10744
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10745
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10746
|
+
*/
|
|
10747
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10748
|
+
downloaded: boolean(),
|
|
10749
|
+
sizeMB: number(),
|
|
10750
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10751
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10885
10752
|
});
|
|
10886
10753
|
/**
|
|
10887
10754
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10985,12 +10852,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10985
10852
|
/** True when the weights or their data forbid commercial use. */
|
|
10986
10853
|
nonCommercial: boolean().optional()
|
|
10987
10854
|
}));
|
|
10988
|
-
/**
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
|
|
10992
|
-
|
|
10993
|
-
|
|
10855
|
+
/**
|
|
10856
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10857
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10858
|
+
*
|
|
10859
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10860
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10861
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10862
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10863
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10864
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10865
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10866
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10867
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10868
|
+
* postprocessor on read, never stored by an import.
|
|
10869
|
+
*/
|
|
10870
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10871
|
+
object({
|
|
10872
|
+
kind: literal("label"),
|
|
10873
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10874
|
+
labelToEffect: record(string(), string()),
|
|
10875
|
+
uncovered: array(string()).readonly()
|
|
10876
|
+
}),
|
|
10877
|
+
object({
|
|
10878
|
+
kind: literal("crop"),
|
|
10879
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10880
|
+
rootLabels: array(string()).readonly(),
|
|
10881
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10882
|
+
childClass: _enum(["plate", "face"]),
|
|
10883
|
+
/**
|
|
10884
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10885
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10886
|
+
* stored by an import.
|
|
10887
|
+
*/
|
|
10888
|
+
rootInputPx: number().int().positive().optional()
|
|
10889
|
+
}),
|
|
10890
|
+
object({
|
|
10891
|
+
kind: literal("mask"),
|
|
10892
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10893
|
+
})
|
|
10894
|
+
]);
|
|
10994
10895
|
var ModelCatalogEntrySchema = object({
|
|
10995
10896
|
id: string(),
|
|
10996
10897
|
name: string(),
|
|
@@ -11056,6 +10957,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
11056
10957
|
*/
|
|
11057
10958
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
11058
10959
|
/**
|
|
10960
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10961
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10962
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10963
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10964
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10965
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10966
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10967
|
+
*/
|
|
10968
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10969
|
+
/**
|
|
10970
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10971
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10972
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10973
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10974
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10975
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10976
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10977
|
+
*/
|
|
10978
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10979
|
+
/**
|
|
10980
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10981
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10982
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10983
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10984
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10985
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10986
|
+
*/
|
|
10987
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10988
|
+
/**
|
|
11059
10989
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
11060
10990
|
* onto the canonical template) before this step runs, instead of a plain
|
|
11061
10991
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -11117,15 +11047,15 @@ var ModelCatalogEntrySchema = object({
|
|
|
11117
11047
|
*/
|
|
11118
11048
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
11119
11049
|
/**
|
|
11120
|
-
* The pipeline steps this ROOT detector
|
|
11121
|
-
* its labels name
|
|
11122
|
-
*
|
|
11123
|
-
* labelmap by `
|
|
11124
|
-
*
|
|
11125
|
-
*
|
|
11126
|
-
* `
|
|
11050
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
11051
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
11052
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
11053
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
11054
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
11055
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
11056
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
11127
11057
|
*/
|
|
11128
|
-
|
|
11058
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
11129
11059
|
/**
|
|
11130
11060
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
11131
11061
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
@@ -12728,13 +12658,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12728
12658
|
lastRtpAt: number(),
|
|
12729
12659
|
bytesSent: number()
|
|
12730
12660
|
});
|
|
12731
|
-
var BrokerDecodedClientSchema = object({
|
|
12732
|
-
tag: string(),
|
|
12733
|
-
subscribedAt: number(),
|
|
12734
|
-
maxFps: number(),
|
|
12735
|
-
framesDelivered: number(),
|
|
12736
|
-
framesDropped: number()
|
|
12737
|
-
});
|
|
12738
12661
|
var BrokerAudioClientSchema = object({
|
|
12739
12662
|
tag: string(),
|
|
12740
12663
|
subscribedAt: number(),
|
|
@@ -12826,7 +12749,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12826
12749
|
});
|
|
12827
12750
|
var BrokerClientsSchema = object({
|
|
12828
12751
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12829
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12830
12752
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12831
12753
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12832
12754
|
pipeClients: number(),
|
|
@@ -13195,11 +13117,7 @@ method(object({
|
|
|
13195
13117
|
auth: "admin"
|
|
13196
13118
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
13197
13119
|
brokerId: string(),
|
|
13198
|
-
channel: _enum([
|
|
13199
|
-
"rtsp",
|
|
13200
|
-
"decoded",
|
|
13201
|
-
"audio"
|
|
13202
|
-
]),
|
|
13120
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13203
13121
|
handle: string()
|
|
13204
13122
|
}), object({ killed: boolean() }), {
|
|
13205
13123
|
kind: "mutation",
|
|
@@ -13234,10 +13152,7 @@ method(object({
|
|
|
13234
13152
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
13235
13153
|
subscriptionId: string(),
|
|
13236
13154
|
maxCount: number().int().positive().default(8)
|
|
13237
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
13238
|
-
subscriptionId: string(),
|
|
13239
|
-
maxCount: number().int().positive().default(4)
|
|
13240
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13155
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
13241
13156
|
brokerId: string(),
|
|
13242
13157
|
seconds: number().min(0).max(30)
|
|
13243
13158
|
}), _void(), {
|
|
@@ -14496,54 +14411,12 @@ id: union([string(), number()]) }), {
|
|
|
14496
14411
|
kind: "mutation",
|
|
14497
14412
|
auth: "admin"
|
|
14498
14413
|
});
|
|
14499
|
-
|
|
14500
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14501
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14502
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
14503
|
-
*/
|
|
14504
|
-
var ShmRingStatsSchema = object({
|
|
14505
|
-
sessionId: string(),
|
|
14506
|
-
slotCount: number().int(),
|
|
14507
|
-
slotByteLength: number().int(),
|
|
14508
|
-
segmentBytes: number().int(),
|
|
14509
|
-
budgetMb: number().int(),
|
|
14510
|
-
framesWritten: number().int(),
|
|
14511
|
-
getFrameHits: number().int(),
|
|
14512
|
-
getFrameMisses: number().int()
|
|
14513
|
-
});
|
|
14514
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14414
|
+
method(_void(), object({
|
|
14515
14415
|
id: string(),
|
|
14516
14416
|
name: string(),
|
|
14517
|
-
isPullMode: boolean().optional(),
|
|
14518
|
-
priority: number().optional(),
|
|
14519
14417
|
hwaccel: string().optional(),
|
|
14520
14418
|
probedBestHwaccel: string().optional()
|
|
14521
|
-
})), method(
|
|
14522
|
-
sessionId: string(),
|
|
14523
|
-
nodeId: string()
|
|
14524
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14525
|
-
sessionId: string(),
|
|
14526
|
-
packet: EncodedPacketSchema
|
|
14527
|
-
}), _void()), method(object({
|
|
14528
|
-
sessionId: string(),
|
|
14529
|
-
url: string()
|
|
14530
|
-
}), _void()), method(object({
|
|
14531
|
-
sessionId: string(),
|
|
14532
|
-
maxCount: number().default(1),
|
|
14533
|
-
waitMs: number().optional()
|
|
14534
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14535
|
-
sessionId: string(),
|
|
14536
|
-
maxCount: number().default(1),
|
|
14537
|
-
waitMs: number().optional()
|
|
14538
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14539
|
-
sessionId: string(),
|
|
14540
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14541
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14542
|
-
sessionId: string(),
|
|
14543
|
-
codec: string(),
|
|
14544
|
-
outputFormat: string(),
|
|
14545
|
-
createdAtMs: number()
|
|
14546
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14419
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14547
14420
|
kind: "mutation",
|
|
14548
14421
|
auth: "admin"
|
|
14549
14422
|
});
|
|
@@ -15656,6 +15529,10 @@ var DeviceInfoSchema = object({
|
|
|
15656
15529
|
isCamera: boolean(),
|
|
15657
15530
|
/** Current config values — serializable snapshot */
|
|
15658
15531
|
config: record(string(), unknown()),
|
|
15532
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
15533
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
15534
|
+
* when the owning runner has not reported them. */
|
|
15535
|
+
secretConfigPaths: array(string()).optional(),
|
|
15659
15536
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15660
15537
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15661
15538
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15861,7 +15738,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15861
15738
|
* call (workers re-register on init), so probe-driven updates
|
|
15862
15739
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15863
15740
|
features: array(string()).optional(),
|
|
15864
|
-
config: record(string(), unknown())
|
|
15741
|
+
config: record(string(), unknown()),
|
|
15742
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15743
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15744
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15745
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15746
|
+
* omits it and the keyword backstop applies. */
|
|
15747
|
+
secretConfigPaths: array(string()).optional()
|
|
15865
15748
|
});
|
|
15866
15749
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15867
15750
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16707,6 +16590,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16707
16590
|
kind: "mutation",
|
|
16708
16591
|
auth: "admin"
|
|
16709
16592
|
});
|
|
16593
|
+
var HUB_ADDRESS_ROLES = [
|
|
16594
|
+
"appConnections",
|
|
16595
|
+
"notificationTaps",
|
|
16596
|
+
"internal",
|
|
16597
|
+
"publicEndpoint"
|
|
16598
|
+
];
|
|
16710
16599
|
/**
|
|
16711
16600
|
* Transport bounds for AI capability methods.
|
|
16712
16601
|
*
|
|
@@ -17533,7 +17422,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
17533
17422
|
icon: string().optional(),
|
|
17534
17423
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
17535
17424
|
startUrl: string(),
|
|
17536
|
-
stage: LoginStageEnum
|
|
17425
|
+
stage: LoginStageEnum,
|
|
17426
|
+
/**
|
|
17427
|
+
* The provider names an external identity a signed-in user can link to
|
|
17428
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
17429
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
17430
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
17431
|
+
*/
|
|
17432
|
+
linkable: boolean().optional()
|
|
17537
17433
|
}),
|
|
17538
17434
|
object({
|
|
17539
17435
|
kind: literal("widget"),
|
|
@@ -18469,6 +18365,51 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
18469
18365
|
kind: "mutation",
|
|
18470
18366
|
auth: "admin"
|
|
18471
18367
|
});
|
|
18368
|
+
new Set([
|
|
18369
|
+
{
|
|
18370
|
+
id: "person",
|
|
18371
|
+
name: "Person"
|
|
18372
|
+
},
|
|
18373
|
+
{
|
|
18374
|
+
id: "vehicle",
|
|
18375
|
+
name: "Vehicle"
|
|
18376
|
+
},
|
|
18377
|
+
{
|
|
18378
|
+
id: "animal",
|
|
18379
|
+
name: "Animal"
|
|
18380
|
+
},
|
|
18381
|
+
{
|
|
18382
|
+
id: "package",
|
|
18383
|
+
name: "Package"
|
|
18384
|
+
}
|
|
18385
|
+
].map((l) => l.id));
|
|
18386
|
+
var COCO_TO_MACRO = {
|
|
18387
|
+
mapping: {
|
|
18388
|
+
person: "person",
|
|
18389
|
+
bicycle: "vehicle",
|
|
18390
|
+
car: "vehicle",
|
|
18391
|
+
motorcycle: "vehicle",
|
|
18392
|
+
airplane: "vehicle",
|
|
18393
|
+
bus: "vehicle",
|
|
18394
|
+
train: "vehicle",
|
|
18395
|
+
truck: "vehicle",
|
|
18396
|
+
boat: "vehicle",
|
|
18397
|
+
bird: "animal",
|
|
18398
|
+
cat: "animal",
|
|
18399
|
+
dog: "animal",
|
|
18400
|
+
horse: "animal",
|
|
18401
|
+
sheep: "animal",
|
|
18402
|
+
cow: "animal",
|
|
18403
|
+
elephant: "animal",
|
|
18404
|
+
bear: "animal",
|
|
18405
|
+
zebra: "animal",
|
|
18406
|
+
giraffe: "animal",
|
|
18407
|
+
suitcase: "package",
|
|
18408
|
+
backpack: "package",
|
|
18409
|
+
handbag: "package"
|
|
18410
|
+
},
|
|
18411
|
+
preserveOriginal: false
|
|
18412
|
+
};
|
|
18472
18413
|
var AUDIO_MACRO_LABELS = [
|
|
18473
18414
|
{
|
|
18474
18415
|
id: "speech",
|
|
@@ -20871,7 +20812,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20871
20812
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20872
20813
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20873
20814
|
*/
|
|
20874
|
-
notifySensorRewatched: boolean().optional()
|
|
20815
|
+
notifySensorRewatched: boolean().optional(),
|
|
20816
|
+
/**
|
|
20817
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20818
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20819
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20820
|
+
*/
|
|
20821
|
+
notifySensorIgnored: boolean().optional()
|
|
20875
20822
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20876
20823
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20877
20824
|
mode: AlarmArmModeSchema,
|
|
@@ -20884,7 +20831,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20884
20831
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20885
20832
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20886
20833
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20887
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20834
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20835
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20836
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20888
20837
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20889
20838
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20890
20839
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21862,8 +21811,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21862
21811
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21863
21812
|
stepId: "face-embedding",
|
|
21864
21813
|
key: "minLandmarkFaceSize",
|
|
21865
|
-
label: "Min face size
|
|
21866
|
-
description: "
|
|
21814
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21815
|
+
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.",
|
|
21867
21816
|
type: "slider",
|
|
21868
21817
|
min: 0,
|
|
21869
21818
|
max: 64,
|
|
@@ -22915,7 +22864,13 @@ var RetrainFrameSchema = object({
|
|
|
22915
22864
|
sizeBytes: number().int(),
|
|
22916
22865
|
width: number().int(),
|
|
22917
22866
|
height: number().int(),
|
|
22918
|
-
copiedAt: number()
|
|
22867
|
+
copiedAt: number(),
|
|
22868
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22869
|
+
capturedAt: number().optional(),
|
|
22870
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22871
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22872
|
+
* a false positive. */
|
|
22873
|
+
complete: boolean()
|
|
22919
22874
|
});
|
|
22920
22875
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22921
22876
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22936,6 +22891,51 @@ var RetrainFrameListSchema = object({
|
|
|
22936
22891
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22937
22892
|
autoPickMediaId: number().int().optional()
|
|
22938
22893
|
});
|
|
22894
|
+
/**
|
|
22895
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22896
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22897
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22898
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22899
|
+
* export carried (`exportedInBatch`).
|
|
22900
|
+
*/
|
|
22901
|
+
var RetrainExportFilterSchema = object({
|
|
22902
|
+
deviceIds: array(number()).optional(),
|
|
22903
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22904
|
+
batchId: string().optional(),
|
|
22905
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22906
|
+
completeOnly: boolean().optional()
|
|
22907
|
+
});
|
|
22908
|
+
/**
|
|
22909
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22910
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22911
|
+
* convention — the classifier layout.
|
|
22912
|
+
*/
|
|
22913
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22914
|
+
/**
|
|
22915
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22916
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22917
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22918
|
+
* logged.
|
|
22919
|
+
*/
|
|
22920
|
+
var RetrainArchiveTargetSchema = object({
|
|
22921
|
+
kind: literal("http"),
|
|
22922
|
+
method: _enum(["PUT", "POST"]),
|
|
22923
|
+
url: string().url(),
|
|
22924
|
+
headers: record(string(), string()).optional()
|
|
22925
|
+
});
|
|
22926
|
+
var RetrainArchiveResultSchema = object({
|
|
22927
|
+
batchId: string(),
|
|
22928
|
+
frames: number().int(),
|
|
22929
|
+
crops: number().int(),
|
|
22930
|
+
annotations: number().int(),
|
|
22931
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22932
|
+
missing: number().int(),
|
|
22933
|
+
bytes: number().int(),
|
|
22934
|
+
/** sha256 of the exact bytes sent. */
|
|
22935
|
+
sha256: string(),
|
|
22936
|
+
/** The target's HTTP status. */
|
|
22937
|
+
status: number().int()
|
|
22938
|
+
});
|
|
22939
22939
|
/** What the operator asked the assist to look for. */
|
|
22940
22940
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22941
22941
|
kind: literal("package"),
|
|
@@ -23730,9 +23730,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23730
23730
|
}), RetrainTransitionResultSchema, {
|
|
23731
23731
|
kind: "mutation",
|
|
23732
23732
|
auth: "admin"
|
|
23733
|
-
}), method(
|
|
23733
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23734
23734
|
kind: "query",
|
|
23735
23735
|
auth: "admin"
|
|
23736
|
+
}), method(object({
|
|
23737
|
+
deviceId: number(),
|
|
23738
|
+
trackId: string(),
|
|
23739
|
+
frameId: string(),
|
|
23740
|
+
complete: boolean()
|
|
23741
|
+
}), RetrainFrameSchema, {
|
|
23742
|
+
kind: "mutation",
|
|
23743
|
+
auth: "admin"
|
|
23744
|
+
}), method(object({
|
|
23745
|
+
filter: RetrainExportFilterSchema,
|
|
23746
|
+
layout: RetrainExportLayoutSchema,
|
|
23747
|
+
target: RetrainArchiveTargetSchema
|
|
23748
|
+
}), RetrainArchiveResultSchema, {
|
|
23749
|
+
kind: "mutation",
|
|
23750
|
+
auth: "admin",
|
|
23751
|
+
timeoutMs: 60 * 6e4
|
|
23736
23752
|
}), method(object({
|
|
23737
23753
|
/** Which of the three event tables owns the row. */
|
|
23738
23754
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23783,6 +23799,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23783
23799
|
timestamp: number()
|
|
23784
23800
|
});
|
|
23785
23801
|
/**
|
|
23802
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23803
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23804
|
+
*/
|
|
23805
|
+
var SuppliedRootOutputSchema = object({
|
|
23806
|
+
stepId: string(),
|
|
23807
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23808
|
+
modelId: string(),
|
|
23809
|
+
detections: array(object({
|
|
23810
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23811
|
+
bbox: tuple([
|
|
23812
|
+
number(),
|
|
23813
|
+
number(),
|
|
23814
|
+
number(),
|
|
23815
|
+
number()
|
|
23816
|
+
]),
|
|
23817
|
+
score: number(),
|
|
23818
|
+
/**
|
|
23819
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23820
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23821
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23822
|
+
*/
|
|
23823
|
+
landmarks: array(object({
|
|
23824
|
+
x: number(),
|
|
23825
|
+
y: number()
|
|
23826
|
+
})).optional()
|
|
23827
|
+
})).min(1)
|
|
23828
|
+
});
|
|
23829
|
+
/**
|
|
23786
23830
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23787
23831
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23788
23832
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23830,7 +23874,7 @@ var FrameRefSchema = object({
|
|
|
23830
23874
|
timestamp: number(),
|
|
23831
23875
|
capturedAt: number().optional()
|
|
23832
23876
|
});
|
|
23833
|
-
var ModelFormatSchema$
|
|
23877
|
+
var ModelFormatSchema$2 = _enum([
|
|
23834
23878
|
"onnx",
|
|
23835
23879
|
"coreml",
|
|
23836
23880
|
"openvino",
|
|
@@ -23848,7 +23892,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23848
23892
|
var PipelineEngineChoiceSchema = object({
|
|
23849
23893
|
runtime: literal("python"),
|
|
23850
23894
|
backend: string(),
|
|
23851
|
-
format: ModelFormatSchema$
|
|
23895
|
+
format: ModelFormatSchema$2,
|
|
23852
23896
|
device: string().optional()
|
|
23853
23897
|
});
|
|
23854
23898
|
/**
|
|
@@ -23887,33 +23931,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23887
23931
|
group: string().optional(),
|
|
23888
23932
|
settings: record(string(), unknown()).optional()
|
|
23889
23933
|
}));
|
|
23890
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23891
|
-
addonId: string(),
|
|
23892
|
-
enabled: boolean(),
|
|
23893
|
-
modelId: string(),
|
|
23894
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23895
|
-
settings: record(string(), unknown()).optional()
|
|
23896
|
-
}));
|
|
23897
|
-
var PipelineTemplateSchema$1 = object({
|
|
23898
|
-
id: string(),
|
|
23899
|
-
name: string(),
|
|
23900
|
-
createdAt: string(),
|
|
23901
|
-
updatedAt: string(),
|
|
23902
|
-
engine: PipelineEngineChoiceSchema,
|
|
23903
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23904
|
-
});
|
|
23905
23934
|
var PipelineModelOptionSchema = object({
|
|
23906
23935
|
id: string(),
|
|
23907
23936
|
name: string(),
|
|
23908
|
-
formats: record(string(),
|
|
23909
|
-
downloaded: boolean(),
|
|
23910
|
-
sizeMB: number()
|
|
23911
|
-
})),
|
|
23937
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23912
23938
|
group: ModelVariantGroupSchema.optional(),
|
|
23913
23939
|
legacy: boolean().optional(),
|
|
23914
23940
|
provider: ModelProviderIdSchema.optional(),
|
|
23915
23941
|
defaultConfidence: number().optional(),
|
|
23916
|
-
|
|
23942
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23917
23943
|
});
|
|
23918
23944
|
var ConfigFieldBridge = custom();
|
|
23919
23945
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -24075,6 +24101,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24075
24101
|
}), {
|
|
24076
24102
|
kind: "mutation",
|
|
24077
24103
|
auth: "admin"
|
|
24104
|
+
}), method(object({
|
|
24105
|
+
nodeId: string(),
|
|
24106
|
+
deviceIds: array(number()).readonly().optional(),
|
|
24107
|
+
dryRun: boolean()
|
|
24108
|
+
}), object({
|
|
24109
|
+
entries: array(object({
|
|
24110
|
+
deviceId: number(),
|
|
24111
|
+
keys: array(string()).readonly()
|
|
24112
|
+
})).readonly(),
|
|
24113
|
+
refused: array(object({
|
|
24114
|
+
deviceId: number(),
|
|
24115
|
+
reason: string()
|
|
24116
|
+
})).readonly()
|
|
24117
|
+
}), {
|
|
24118
|
+
kind: "mutation",
|
|
24119
|
+
auth: "admin"
|
|
24078
24120
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
24079
24121
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
24080
24122
|
deviceKey: string(),
|
|
@@ -24100,22 +24142,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24100
24142
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
24101
24143
|
steps: array(PipelineStepInputSchema),
|
|
24102
24144
|
deviceKey: string().optional()
|
|
24103
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
24104
|
-
name: string(),
|
|
24105
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
24106
|
-
engine: PipelineEngineChoiceSchema
|
|
24107
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
24108
|
-
id: string(),
|
|
24109
|
-
name: string().optional(),
|
|
24110
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
24111
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24145
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
24112
24146
|
addonId: string(),
|
|
24113
24147
|
modelId: string(),
|
|
24114
|
-
format: ModelFormatSchema$
|
|
24148
|
+
format: ModelFormatSchema$2
|
|
24115
24149
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
24116
24150
|
addonId: string(),
|
|
24117
24151
|
modelId: string(),
|
|
24118
|
-
format: ModelFormatSchema$
|
|
24152
|
+
format: ModelFormatSchema$2
|
|
24119
24153
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
24120
24154
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24121
24155
|
frame: FrameInputSchema.optional(),
|
|
@@ -24181,7 +24215,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24181
24215
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
24182
24216
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
24183
24217
|
*/
|
|
24184
|
-
replay: literal(true).optional()
|
|
24218
|
+
replay: literal(true).optional(),
|
|
24219
|
+
/**
|
|
24220
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
24221
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
24222
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
24223
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
24224
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
24225
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
24226
|
+
*/
|
|
24227
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
24185
24228
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
24186
24229
|
steps: array(PipelineStepInputSchema).min(1),
|
|
24187
24230
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -24263,6 +24306,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
24263
24306
|
filename: string().optional(),
|
|
24264
24307
|
settings: record(string(), unknown()).optional()
|
|
24265
24308
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
24309
|
+
/**
|
|
24310
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
24311
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
24312
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
24313
|
+
* schemas are what crosses the cap boundary.
|
|
24314
|
+
*/
|
|
24315
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
24316
|
+
/** The operator's range for it. */
|
|
24317
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
24318
|
+
min: 1,
|
|
24319
|
+
max: 8
|
|
24320
|
+
};
|
|
24321
|
+
var HardwareClassIdSchema = _enum([
|
|
24322
|
+
"intel-core-ultra",
|
|
24323
|
+
"intel-n-series",
|
|
24324
|
+
"apple-m-base",
|
|
24325
|
+
"apple-m-pro",
|
|
24326
|
+
"unknown"
|
|
24327
|
+
]);
|
|
24328
|
+
var AcceleratorKindSchema = _enum([
|
|
24329
|
+
"intel-npu",
|
|
24330
|
+
"intel-igpu",
|
|
24331
|
+
"x86-cpu",
|
|
24332
|
+
"arm-cpu",
|
|
24333
|
+
"apple-ane",
|
|
24334
|
+
"coral"
|
|
24335
|
+
]);
|
|
24336
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
24337
|
+
object({
|
|
24338
|
+
kind: literal("capacity"),
|
|
24339
|
+
sessions: number(),
|
|
24340
|
+
minSessions: number()
|
|
24341
|
+
}),
|
|
24342
|
+
object({
|
|
24343
|
+
kind: literal("tie-faster"),
|
|
24344
|
+
over: string(),
|
|
24345
|
+
recallDelta: number()
|
|
24346
|
+
}),
|
|
24347
|
+
object({
|
|
24348
|
+
kind: literal("stepped-down"),
|
|
24349
|
+
from: string(),
|
|
24350
|
+
to: string(),
|
|
24351
|
+
limitedBy: string()
|
|
24352
|
+
}),
|
|
24353
|
+
object({
|
|
24354
|
+
kind: literal("no-fit-lightest"),
|
|
24355
|
+
sessions: number(),
|
|
24356
|
+
minSessions: number()
|
|
24357
|
+
}),
|
|
24358
|
+
object({
|
|
24359
|
+
kind: literal("derived-latency"),
|
|
24360
|
+
modelId: string()
|
|
24361
|
+
}),
|
|
24362
|
+
object({ kind: literal("cpu-device") }),
|
|
24363
|
+
object({ kind: literal("coral-untouched") }),
|
|
24364
|
+
object({ kind: literal("device-disabled") }),
|
|
24365
|
+
object({ kind: literal("device-unavailable") }),
|
|
24366
|
+
object({ kind: literal("node-offline") }),
|
|
24367
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
24368
|
+
object({
|
|
24369
|
+
kind: literal("no-measured-data"),
|
|
24370
|
+
hardwareClass: HardwareClassIdSchema
|
|
24371
|
+
}),
|
|
24372
|
+
object({
|
|
24373
|
+
kind: literal("no-family-build"),
|
|
24374
|
+
format: ModelFormatSchema$1
|
|
24375
|
+
})
|
|
24376
|
+
]);
|
|
24377
|
+
var DeviceModelChoiceSchema = object({
|
|
24378
|
+
modelId: string(),
|
|
24379
|
+
p50Ms: number(),
|
|
24380
|
+
fps: number(),
|
|
24381
|
+
measured: boolean(),
|
|
24382
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
24383
|
+
capacitySessions: number(),
|
|
24384
|
+
personRecall: number()
|
|
24385
|
+
});
|
|
24386
|
+
var DeviceRecommendationSchema = object({
|
|
24387
|
+
deviceKey: string(),
|
|
24388
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
24389
|
+
enabled: boolean(),
|
|
24390
|
+
available: boolean(),
|
|
24391
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
24392
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24393
|
+
});
|
|
24394
|
+
var NodeRecommendationSchema = object({
|
|
24395
|
+
nodeId: string(),
|
|
24396
|
+
reachable: boolean(),
|
|
24397
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
24398
|
+
cpuModel: string().nullable(),
|
|
24399
|
+
skipped: boolean(),
|
|
24400
|
+
acceleratorModelId: string().nullable(),
|
|
24401
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
24402
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
24403
|
+
});
|
|
24404
|
+
var ModelPinChangeSchema = object({
|
|
24405
|
+
stepId: string(),
|
|
24406
|
+
before: string().nullable(),
|
|
24407
|
+
after: string().nullable()
|
|
24408
|
+
});
|
|
24409
|
+
var NodeDeviceChangeSchema = object({
|
|
24410
|
+
nodeId: string(),
|
|
24411
|
+
deviceKey: string(),
|
|
24412
|
+
madeExplicit: boolean(),
|
|
24413
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
24414
|
+
thresholds: array(object({
|
|
24415
|
+
stepId: string(),
|
|
24416
|
+
keys: array(string()).readonly()
|
|
24417
|
+
})).readonly()
|
|
24418
|
+
});
|
|
24419
|
+
var CameraOverrideClearSchema = object({
|
|
24420
|
+
deviceId: number(),
|
|
24421
|
+
source: _enum(["step-override", "wholesale"]),
|
|
24422
|
+
nodeId: string(),
|
|
24423
|
+
deviceKey: string().nullable(),
|
|
24424
|
+
stepId: string(),
|
|
24425
|
+
modelIdBefore: string().nullable(),
|
|
24426
|
+
keys: array(string()).readonly()
|
|
24427
|
+
});
|
|
24428
|
+
var DetectorStoreClearSchema = object({
|
|
24429
|
+
deviceId: number(),
|
|
24430
|
+
keys: array(string()).readonly()
|
|
24431
|
+
});
|
|
24432
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
24433
|
+
object({
|
|
24434
|
+
kind: literal("detector-store-cluster-wide"),
|
|
24435
|
+
skippedNodes: array(string()).readonly()
|
|
24436
|
+
}),
|
|
24437
|
+
object({
|
|
24438
|
+
kind: literal("detector-store-unreadable"),
|
|
24439
|
+
error: string()
|
|
24440
|
+
}),
|
|
24441
|
+
object({
|
|
24442
|
+
kind: literal("coral-enabled"),
|
|
24443
|
+
nodeId: string(),
|
|
24444
|
+
deviceKey: string()
|
|
24445
|
+
})
|
|
24446
|
+
]);
|
|
24447
|
+
var AutoTuneOptionsSchema = object({
|
|
24448
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
24449
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24450
|
+
/**
|
|
24451
|
+
* The least number of parallel sessions every device must sustain at the
|
|
24452
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
24453
|
+
* that reaches it wins.
|
|
24454
|
+
*/
|
|
24455
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24456
|
+
});
|
|
24457
|
+
var AutoTunePlanSchema = object({
|
|
24458
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
24459
|
+
planHash: string(),
|
|
24460
|
+
family: literal("yolov9"),
|
|
24461
|
+
headroom: number(),
|
|
24462
|
+
minSessionsPerDevice: number(),
|
|
24463
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
24464
|
+
cameraFps: number(),
|
|
24465
|
+
generatedAt: number(),
|
|
24466
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
24467
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
24468
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
24469
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
24470
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
24471
|
+
});
|
|
24472
|
+
var AutoTuneApplyInputSchema = object({
|
|
24473
|
+
planHash: string(),
|
|
24474
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24475
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
24476
|
+
});
|
|
24477
|
+
var AutoTunePhaseResultSchema = object({
|
|
24478
|
+
phase: _enum([
|
|
24479
|
+
"download",
|
|
24480
|
+
"camera-overrides",
|
|
24481
|
+
"detector-thresholds",
|
|
24482
|
+
"node-models",
|
|
24483
|
+
"redispatch"
|
|
24484
|
+
]),
|
|
24485
|
+
ok: boolean(),
|
|
24486
|
+
detail: string()
|
|
24487
|
+
});
|
|
24488
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
24489
|
+
object({
|
|
24490
|
+
kind: literal("applied"),
|
|
24491
|
+
planHash: string(),
|
|
24492
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24493
|
+
}),
|
|
24494
|
+
object({
|
|
24495
|
+
kind: literal("aborted"),
|
|
24496
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
24497
|
+
}),
|
|
24498
|
+
object({
|
|
24499
|
+
kind: literal("stale"),
|
|
24500
|
+
plan: AutoTunePlanSchema
|
|
24501
|
+
}),
|
|
24502
|
+
object({
|
|
24503
|
+
kind: literal("refused"),
|
|
24504
|
+
reason: _enum(["apply-in-progress"])
|
|
24505
|
+
})
|
|
24506
|
+
]);
|
|
24507
|
+
/**
|
|
24508
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
24509
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
24510
|
+
* hardware share suggestion and the stale device pins.
|
|
24511
|
+
*/
|
|
24512
|
+
/**
|
|
24513
|
+
* How a new detection session picks its node and device.
|
|
24514
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
24515
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
24516
|
+
* weight only bites once a node already holds a session.
|
|
24517
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
24518
|
+
* full or drowning node yields to a free one (D748).
|
|
24519
|
+
*/
|
|
24520
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
24521
|
+
var LoadBalancingSharesInputSchema = object({
|
|
24522
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
24523
|
+
nodes: record(string(), number().positive()).default({}),
|
|
24524
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
24525
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
24526
|
+
});
|
|
24527
|
+
var PlacementStatsInputSchema = object({
|
|
24528
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
24529
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
24530
|
+
var PlacementDeviceStatsSchema = object({
|
|
24531
|
+
deviceKey: string(),
|
|
24532
|
+
/** Sessions running on this device now. */
|
|
24533
|
+
sessionsNow: number(),
|
|
24534
|
+
/** Sessions started on this device inside the window. */
|
|
24535
|
+
sessionsStarted: number(),
|
|
24536
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
24537
|
+
observedShare: number().nullable()
|
|
24538
|
+
});
|
|
24539
|
+
var PlacementNodeStatsSchema = object({
|
|
24540
|
+
nodeId: string(),
|
|
24541
|
+
sessionsNow: number(),
|
|
24542
|
+
sessionsStarted: number(),
|
|
24543
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
24544
|
+
observedShare: number().nullable(),
|
|
24545
|
+
/** Most sessions this node ran at once inside the window. */
|
|
24546
|
+
peakSessions: number(),
|
|
24547
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
24548
|
+
yieldsAway: number(),
|
|
24549
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
24550
|
+
});
|
|
24551
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
24552
|
+
var StaleDevicePinSchema = object({
|
|
24553
|
+
deviceId: number(),
|
|
24554
|
+
deviceKey: string(),
|
|
24555
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
24556
|
+
reason: _enum(["disabled", "absent"])
|
|
24557
|
+
});
|
|
24558
|
+
var PlacementStatsSchema = object({
|
|
24559
|
+
policy: SessionPlacementPolicySchema,
|
|
24560
|
+
windowMs: number(),
|
|
24561
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
24562
|
+
observedForMs: number(),
|
|
24563
|
+
sessionsNow: number(),
|
|
24564
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
24565
|
+
clusterPeakSessions: number(),
|
|
24566
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
24567
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
24568
|
+
});
|
|
24569
|
+
/**
|
|
24570
|
+
* Where an automatic share's capacity comes from (D755).
|
|
24571
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
24572
|
+
* the measured latency table for the node's hardware class.
|
|
24573
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
24574
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
24575
|
+
*/
|
|
24576
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
24577
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
24578
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
24579
|
+
var SuggestSharesInputSchema = object({
|
|
24580
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
24581
|
+
/** Default `hardware`. */
|
|
24582
|
+
source: CapacitySourceSchema.default("hardware")
|
|
24583
|
+
});
|
|
24584
|
+
var SuggestedDeviceShareSchema = object({
|
|
24585
|
+
deviceKey: string(),
|
|
24586
|
+
/** Share of the node (0–100, rounded). */
|
|
24587
|
+
share: number(),
|
|
24588
|
+
modelId: string().nullable(),
|
|
24589
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
24590
|
+
fps: number().nullable(),
|
|
24591
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
24592
|
+
measured: boolean(),
|
|
24593
|
+
/**
|
|
24594
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
24595
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
24596
|
+
*/
|
|
24597
|
+
suggestedMaxSessions: number().nullable()
|
|
24598
|
+
});
|
|
24599
|
+
var SuggestedNodeShareSchema = object({
|
|
24600
|
+
nodeId: string(),
|
|
24601
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
24602
|
+
share: number().nullable(),
|
|
24603
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24604
|
+
capacitySessions: number(),
|
|
24605
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24606
|
+
skippedReason: string().nullable(),
|
|
24607
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24608
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24609
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24610
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24611
|
+
});
|
|
24612
|
+
var SuggestSharesResultSchema = object({
|
|
24613
|
+
headroom: number(),
|
|
24614
|
+
/** The source asked for; each node says what it actually used. */
|
|
24615
|
+
source: CapacitySourceSchema,
|
|
24616
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24617
|
+
cameraFps: number(),
|
|
24618
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24619
|
+
minSessionsPerDevice: number(),
|
|
24620
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24621
|
+
});
|
|
24622
|
+
/**
|
|
24623
|
+
* Where the node and device shares come from (D750, D755).
|
|
24624
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24625
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24626
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24627
|
+
* switched on or off, or changes model. No load input.
|
|
24628
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24629
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24630
|
+
* - `manual` — the operator's stored sliders.
|
|
24631
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24632
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24633
|
+
*/
|
|
24634
|
+
var ShareSourceSchema = _enum([
|
|
24635
|
+
"hardware",
|
|
24636
|
+
"benchmark",
|
|
24637
|
+
"manual"
|
|
24638
|
+
]);
|
|
24639
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24640
|
+
object({
|
|
24641
|
+
nodes: record(string(), number()),
|
|
24642
|
+
devices: record(string(), record(string(), number()))
|
|
24643
|
+
});
|
|
24644
|
+
var EffectiveDeviceShareSchema = object({
|
|
24645
|
+
deviceKey: string(),
|
|
24646
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24647
|
+
eligible: boolean(),
|
|
24648
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24649
|
+
configuredPct: number(),
|
|
24650
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24651
|
+
effectivePct: number()
|
|
24652
|
+
});
|
|
24653
|
+
var EffectiveNodeShareSchema = object({
|
|
24654
|
+
nodeId: string(),
|
|
24655
|
+
eligible: boolean(),
|
|
24656
|
+
configuredPct: number(),
|
|
24657
|
+
effectivePct: number(),
|
|
24658
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24659
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24660
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24661
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24662
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24663
|
+
});
|
|
24664
|
+
var EffectiveSharesSchema = object({
|
|
24665
|
+
source: ShareSourceSchema,
|
|
24666
|
+
policy: SessionPlacementPolicySchema,
|
|
24667
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24668
|
+
autoPending: boolean(),
|
|
24669
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24670
|
+
computedAt: number().nullable(),
|
|
24671
|
+
/** What made the system recompute them last. */
|
|
24672
|
+
trigger: string().nullable(),
|
|
24673
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24674
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24675
|
+
nodeWeights: record(string(), number()),
|
|
24676
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24677
|
+
});
|
|
24266
24678
|
object({
|
|
24267
24679
|
activeCameras: number(),
|
|
24268
24680
|
throttledCameras: number(),
|
|
@@ -25180,14 +25592,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
25180
25592
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
25181
25593
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
25182
25594
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
25183
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
25184
|
-
* per
|
|
25595
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
25596
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
25597
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
25598
|
+
* (D762).
|
|
25185
25599
|
*/
|
|
25186
25600
|
devices: array(object({
|
|
25187
25601
|
deviceKey: string(),
|
|
25188
25602
|
backend: string(),
|
|
25189
|
-
attachedCameras: number()
|
|
25190
|
-
queueDepthTotal: number()
|
|
25603
|
+
attachedCameras: number()
|
|
25191
25604
|
})).default([]),
|
|
25192
25605
|
/** Hardware capability flags reported by this node. */
|
|
25193
25606
|
hardware: object({
|
|
@@ -25323,7 +25736,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
25323
25736
|
*/
|
|
25324
25737
|
cropJpeg: string().optional(),
|
|
25325
25738
|
parent: DetailParentSchema,
|
|
25326
|
-
steps: array(string()).optional()
|
|
25739
|
+
steps: array(string()).optional(),
|
|
25740
|
+
/**
|
|
25741
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25742
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25743
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25744
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25745
|
+
* requested step infers as before.
|
|
25746
|
+
*/
|
|
25747
|
+
supplied: object({
|
|
25748
|
+
stepId: string(),
|
|
25749
|
+
modelId: string(),
|
|
25750
|
+
boxes: array(object({
|
|
25751
|
+
bbox: NativeCropBboxSchema,
|
|
25752
|
+
score: number()
|
|
25753
|
+
})).min(1)
|
|
25754
|
+
}).optional()
|
|
25327
25755
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
25328
25756
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
25329
25757
|
stepId: string(),
|
|
@@ -25386,14 +25814,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
25386
25814
|
settings: record(string(), unknown()).readonly().optional()
|
|
25387
25815
|
}).nullable().optional()
|
|
25388
25816
|
});
|
|
25389
|
-
var PipelineTemplateSchema = object({
|
|
25390
|
-
id: string(),
|
|
25391
|
-
name: string(),
|
|
25392
|
-
description: string().optional(),
|
|
25393
|
-
config: CameraPipelineConfigSchema,
|
|
25394
|
-
createdAt: string(),
|
|
25395
|
-
updatedAt: string()
|
|
25396
|
-
});
|
|
25397
25817
|
var DeviceStepConfigSchema = object({
|
|
25398
25818
|
modelId: string().optional(),
|
|
25399
25819
|
settings: record(string(), unknown()).optional(),
|
|
@@ -25467,9 +25887,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
25467
25887
|
modelId: string().optional(),
|
|
25468
25888
|
settings: record(string(), unknown()).readonly().optional()
|
|
25469
25889
|
});
|
|
25890
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
25470
25891
|
var CameraPipelineSettingsSchema = object({
|
|
25471
|
-
pinnedAgentNodeId: string().optional(),
|
|
25472
25892
|
stepToggles: record(string(), boolean()).optional(),
|
|
25893
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
25473
25894
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
25474
25895
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
25475
25896
|
});
|
|
@@ -25502,7 +25923,10 @@ var PipelineAssignmentSchema = object({
|
|
|
25502
25923
|
});
|
|
25503
25924
|
/**
|
|
25504
25925
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
25505
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25926
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25927
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25928
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25929
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
25506
25930
|
*/
|
|
25507
25931
|
var AgentLoadSummarySchema = object({
|
|
25508
25932
|
nodeId: string(),
|
|
@@ -25591,26 +26015,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
25591
26015
|
width: number(),
|
|
25592
26016
|
height: number(),
|
|
25593
26017
|
subscribers: number(),
|
|
25594
|
-
|
|
25595
|
-
|
|
26018
|
+
/**
|
|
26019
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
26020
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
26021
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
26022
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
26023
|
+
* camera and is not served (D758).
|
|
26024
|
+
*/
|
|
26025
|
+
inFps: number().nullable()
|
|
25596
26026
|
})).readonly(),
|
|
25597
26027
|
webrtcSessions: number(),
|
|
25598
26028
|
rtspRestream: boolean()
|
|
25599
26029
|
});
|
|
25600
|
-
/**
|
|
25601
|
-
|
|
25602
|
-
|
|
25603
|
-
|
|
25604
|
-
|
|
25605
|
-
|
|
25606
|
-
|
|
25607
|
-
|
|
25608
|
-
var CameraDecoderStatusSchema = object({
|
|
25609
|
-
nodeId: string(),
|
|
25610
|
-
formats: array(string()).readonly(),
|
|
25611
|
-
sessionCount: number(),
|
|
25612
|
-
shm: CameraDecoderShmSchema
|
|
25613
|
-
});
|
|
26030
|
+
/**
|
|
26031
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
26032
|
+
* construction); null when the camera has no detection node. It carries no
|
|
26033
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
26034
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
26035
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
26036
|
+
* detector), never from a counter nothing feeds.
|
|
26037
|
+
*/
|
|
26038
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
25614
26039
|
/** Motion block — null when motion detection is not active for this device. */
|
|
25615
26040
|
var CameraMotionStatusSchema = object({
|
|
25616
26041
|
enabled: boolean(),
|
|
@@ -25967,12 +26392,6 @@ method(object({
|
|
|
25967
26392
|
}), object({ success: literal(true) }), {
|
|
25968
26393
|
kind: "mutation",
|
|
25969
26394
|
auth: "admin"
|
|
25970
|
-
}), method(object({
|
|
25971
|
-
agentNodeId: string(),
|
|
25972
|
-
detectWeight: number().positive().nullable()
|
|
25973
|
-
}), object({ success: literal(true) }), {
|
|
25974
|
-
kind: "mutation",
|
|
25975
|
-
auth: "admin"
|
|
25976
26395
|
}), method(object({
|
|
25977
26396
|
agentNodeId: string(),
|
|
25978
26397
|
detect: boolean().nullable().optional(),
|
|
@@ -26014,6 +26433,15 @@ method(object({
|
|
|
26014
26433
|
}), {
|
|
26015
26434
|
kind: "mutation",
|
|
26016
26435
|
auth: "admin"
|
|
26436
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
26437
|
+
kind: "mutation",
|
|
26438
|
+
auth: "admin"
|
|
26439
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
26440
|
+
kind: "mutation",
|
|
26441
|
+
auth: "admin"
|
|
26442
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
26443
|
+
kind: "mutation",
|
|
26444
|
+
auth: "admin"
|
|
26017
26445
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
26018
26446
|
deviceId: number(),
|
|
26019
26447
|
addonId: string(),
|
|
@@ -26030,6 +26458,13 @@ method(object({
|
|
|
26030
26458
|
}), object({ success: literal(true) }), {
|
|
26031
26459
|
kind: "mutation",
|
|
26032
26460
|
auth: "admin"
|
|
26461
|
+
}), method(object({
|
|
26462
|
+
deviceId: number(),
|
|
26463
|
+
addonId: string(),
|
|
26464
|
+
settings: record(string(), unknown()).nullable()
|
|
26465
|
+
}), object({ success: literal(true) }), {
|
|
26466
|
+
kind: "mutation",
|
|
26467
|
+
auth: "admin"
|
|
26033
26468
|
}), method(object({
|
|
26034
26469
|
deviceId: number(),
|
|
26035
26470
|
agentNodeId: string(),
|
|
@@ -26053,25 +26488,7 @@ method(object({
|
|
|
26053
26488
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
26054
26489
|
kind: "mutation",
|
|
26055
26490
|
auth: "admin"
|
|
26056
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
26057
|
-
name: string(),
|
|
26058
|
-
description: string().optional(),
|
|
26059
|
-
config: CameraPipelineConfigSchema
|
|
26060
|
-
}), PipelineTemplateSchema, {
|
|
26061
|
-
kind: "mutation",
|
|
26062
|
-
auth: "admin"
|
|
26063
|
-
}), method(object({
|
|
26064
|
-
id: string(),
|
|
26065
|
-
name: string().optional(),
|
|
26066
|
-
description: string().optional(),
|
|
26067
|
-
config: CameraPipelineConfigSchema.optional()
|
|
26068
|
-
}), PipelineTemplateSchema, {
|
|
26069
|
-
kind: "mutation",
|
|
26070
|
-
auth: "admin"
|
|
26071
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
26072
|
-
kind: "mutation",
|
|
26073
|
-
auth: "admin"
|
|
26074
|
-
});
|
|
26491
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
26075
26492
|
/**
|
|
26076
26493
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
26077
26494
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26765,7 +27182,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26765
27182
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26766
27183
|
* operator already consented to.
|
|
26767
27184
|
*/
|
|
26768
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
27185
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
27186
|
+
/**
|
|
27187
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
27188
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
27189
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
27190
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
27191
|
+
*/
|
|
27192
|
+
linkIntent: string().optional(),
|
|
27193
|
+
/**
|
|
27194
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
27195
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
27196
|
+
*/
|
|
27197
|
+
issuer: string().optional()
|
|
26769
27198
|
});
|
|
26770
27199
|
method(object({
|
|
26771
27200
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -28842,8 +29271,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
28842
29271
|
]).nullable(),
|
|
28843
29272
|
/** Input FPS from the camera (null for adaptive). */
|
|
28844
29273
|
inputFps: number().nullable(),
|
|
28845
|
-
/** Decoded FPS (null for adaptive). */
|
|
28846
|
-
decodeFps: number().nullable(),
|
|
28847
29274
|
/** Bitrate in kbps (null for adaptive). */
|
|
28848
29275
|
bitrateKbps: number().nullable()
|
|
28849
29276
|
});
|
|
@@ -29120,7 +29547,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29120
29547
|
* field their hints were silently stripped by the schema and the
|
|
29121
29548
|
* adaptive ladder started blind on the client's display size.
|
|
29122
29549
|
*/
|
|
29123
|
-
hints: webrtcClientHintsSchema.optional()
|
|
29550
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
29551
|
+
/**
|
|
29552
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
29553
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
29554
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
29555
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
29556
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
29557
|
+
*
|
|
29558
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
29559
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
29560
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
29561
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
29562
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
29563
|
+
* flag must not become a second door to the camera's speaker.
|
|
29564
|
+
*/
|
|
29565
|
+
talkback: boolean().optional()
|
|
29124
29566
|
}), object({
|
|
29125
29567
|
sessionId: string(),
|
|
29126
29568
|
sdpAnswer: string()
|
|
@@ -29175,6 +29617,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
29175
29617
|
*/
|
|
29176
29618
|
alive: boolean()
|
|
29177
29619
|
})), method(object({
|
|
29620
|
+
deviceId: number().int().nonnegative(),
|
|
29621
|
+
sessionId: string(),
|
|
29622
|
+
downlinkMbps: number().nonnegative()
|
|
29623
|
+
}), object({
|
|
29624
|
+
outcome: _enum(["switching", "held"]),
|
|
29625
|
+
tier: CamProfileSchema.nullable(),
|
|
29626
|
+
reason: string()
|
|
29627
|
+
}), { kind: "mutation" }), method(object({
|
|
29178
29628
|
deviceId: number().int().nonnegative(),
|
|
29179
29629
|
sessionId: string()
|
|
29180
29630
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -29414,6 +29864,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
29414
29864
|
var RestartAddonResultSchema = unknown();
|
|
29415
29865
|
var InstallPackageResultSchema = unknown();
|
|
29416
29866
|
var ReloadPackagesResultSchema = unknown();
|
|
29867
|
+
/**
|
|
29868
|
+
* What an uninstall did on ONE node.
|
|
29869
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
29870
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
29871
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
29872
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
29873
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
29874
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
29875
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
29876
|
+
*/
|
|
29877
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
29878
|
+
"uninstalled",
|
|
29879
|
+
"not-installed",
|
|
29880
|
+
"refused",
|
|
29881
|
+
"failed",
|
|
29882
|
+
"pending-reconnect"
|
|
29883
|
+
]);
|
|
29884
|
+
var UninstallNodeResultSchema = object({
|
|
29885
|
+
nodeId: string(),
|
|
29886
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
29887
|
+
error: string().optional(),
|
|
29888
|
+
addonIds: array(string()).readonly(),
|
|
29889
|
+
runnersStopped: array(string()).readonly(),
|
|
29890
|
+
warnings: array(string()).readonly()
|
|
29891
|
+
});
|
|
29892
|
+
var UninstallPackageResultSchema = object({
|
|
29893
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
29894
|
+
success: boolean(),
|
|
29895
|
+
packageName: string(),
|
|
29896
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
29897
|
+
});
|
|
29898
|
+
/**
|
|
29899
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
29900
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
29901
|
+
*/
|
|
29902
|
+
var PackageInstallationsSchema = object({
|
|
29903
|
+
installations: array(object({
|
|
29904
|
+
packageName: string(),
|
|
29905
|
+
nodeId: string(),
|
|
29906
|
+
nodeName: string(),
|
|
29907
|
+
isHub: boolean(),
|
|
29908
|
+
isOnline: boolean(),
|
|
29909
|
+
version: string().nullable(),
|
|
29910
|
+
addonIds: array(string()).readonly(),
|
|
29911
|
+
source: _enum(["live", "recorded"]),
|
|
29912
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
29913
|
+
onHub: boolean()
|
|
29914
|
+
})).readonly(),
|
|
29915
|
+
unreachable: array(object({
|
|
29916
|
+
nodeId: string(),
|
|
29917
|
+
error: string()
|
|
29918
|
+
})).readonly()
|
|
29919
|
+
});
|
|
29417
29920
|
var BulkUpdateItemStatusSchema = _enum([
|
|
29418
29921
|
"queued",
|
|
29419
29922
|
"updating",
|
|
@@ -29496,10 +29999,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
29496
29999
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
29497
30000
|
kind: "mutation",
|
|
29498
30001
|
auth: "admin"
|
|
29499
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30002
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
30003
|
+
packageName: string().min(1),
|
|
30004
|
+
nodeId: string().optional(),
|
|
30005
|
+
everywhere: boolean().optional()
|
|
30006
|
+
}), UninstallPackageResultSchema, {
|
|
29500
30007
|
kind: "mutation",
|
|
29501
30008
|
auth: "admin"
|
|
29502
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
30009
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
29503
30010
|
kind: "mutation",
|
|
29504
30011
|
auth: "admin"
|
|
29505
30012
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -32986,7 +33493,8 @@ var ConnectionEndpointSchema = object({
|
|
|
32986
33493
|
"lan-ipv6",
|
|
32987
33494
|
"public",
|
|
32988
33495
|
"loopback",
|
|
32989
|
-
"app-link"
|
|
33496
|
+
"app-link",
|
|
33497
|
+
"custom"
|
|
32990
33498
|
]),
|
|
32991
33499
|
/**
|
|
32992
33500
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -33055,7 +33563,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
33055
33563
|
localPort: AdvertisedLocalPortSchema
|
|
33056
33564
|
});
|
|
33057
33565
|
/**
|
|
33058
|
-
* The address flagged for notification
|
|
33566
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
33059
33567
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
33060
33568
|
* so the UI can show it either way.
|
|
33061
33569
|
*/
|
|
@@ -33088,6 +33596,72 @@ var ViewerEndpointsSchema = object({
|
|
|
33088
33596
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
33089
33597
|
resolved: array(string()).readonly()
|
|
33090
33598
|
});
|
|
33599
|
+
/**
|
|
33600
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
33601
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
33602
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
33603
|
+
*/
|
|
33604
|
+
var HubAddressSnapshotSchema = object({
|
|
33605
|
+
override: string().nullable(),
|
|
33606
|
+
resolved: string().nullable(),
|
|
33607
|
+
source: _enum([
|
|
33608
|
+
"override",
|
|
33609
|
+
"auto",
|
|
33610
|
+
"none"
|
|
33611
|
+
])
|
|
33612
|
+
});
|
|
33613
|
+
var HubAddressesSchema = object({
|
|
33614
|
+
cluster: HubAddressSnapshotSchema,
|
|
33615
|
+
browser: HubAddressSnapshotSchema
|
|
33616
|
+
});
|
|
33617
|
+
/**
|
|
33618
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
33619
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
33620
|
+
* by at most one address.
|
|
33621
|
+
*/
|
|
33622
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
33623
|
+
var RoleSourceSchema = _enum([
|
|
33624
|
+
"flagged",
|
|
33625
|
+
"auto",
|
|
33626
|
+
"none"
|
|
33627
|
+
]);
|
|
33628
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
33629
|
+
var HubAddressRoleResolutionSchema = object({
|
|
33630
|
+
/** The address carrying the flag, or null = automatic. */
|
|
33631
|
+
flagged: string().nullable(),
|
|
33632
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
33633
|
+
resolved: string().nullable(),
|
|
33634
|
+
source: RoleSourceSchema
|
|
33635
|
+
});
|
|
33636
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
33637
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
33638
|
+
flagged: array(string()).readonly(),
|
|
33639
|
+
/** What the apps race right now. */
|
|
33640
|
+
resolved: array(string()).readonly(),
|
|
33641
|
+
source: RoleSourceSchema
|
|
33642
|
+
});
|
|
33643
|
+
var HubAddressBookSchema = object({
|
|
33644
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
33645
|
+
/** In the hub's detected palette right now. */
|
|
33646
|
+
detected: boolean(),
|
|
33647
|
+
/** Entered by the operator (removable). */
|
|
33648
|
+
custom: boolean(),
|
|
33649
|
+
/** The roles explicitly flagged on this address. */
|
|
33650
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
33651
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
33652
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
33653
|
+
/** The roles this address may be flagged with. */
|
|
33654
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
33655
|
+
})).readonly(),
|
|
33656
|
+
roles: object({
|
|
33657
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
33658
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
33659
|
+
internal: HubAddressRoleResolutionSchema,
|
|
33660
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
33661
|
+
}),
|
|
33662
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
33663
|
+
appLinkHub: string().nullable()
|
|
33664
|
+
});
|
|
33091
33665
|
var AllowedAddressesSchema = object({
|
|
33092
33666
|
/**
|
|
33093
33667
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -33131,10 +33705,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
33131
33705
|
* tunnel always emits `https://` regardless. */
|
|
33132
33706
|
scheme: _enum(["http", "https"]).optional(),
|
|
33133
33707
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
33134
|
-
* an address notification
|
|
33708
|
+
* an address notification taps can be flagged with, not a hub
|
|
33135
33709
|
* route. Default `false`: racers and rankers never see it. */
|
|
33136
33710
|
includeAppLink: boolean().optional()
|
|
33137
|
-
}), 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(
|
|
33711
|
+
}), 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({
|
|
33712
|
+
baseUrl: string(),
|
|
33713
|
+
label: string().max(80)
|
|
33714
|
+
}), HubAddressBookSchema, {
|
|
33715
|
+
kind: "mutation",
|
|
33716
|
+
auth: "admin"
|
|
33717
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
33718
|
+
kind: "mutation",
|
|
33719
|
+
auth: "admin"
|
|
33720
|
+
}), method(object({
|
|
33721
|
+
role: HubAddressRoleSchema,
|
|
33722
|
+
baseUrl: string().nullable(),
|
|
33723
|
+
enabled: boolean(),
|
|
33724
|
+
acceptInsecureHttp: boolean().optional()
|
|
33725
|
+
}), HubAddressBookSchema, {
|
|
33726
|
+
kind: "mutation",
|
|
33727
|
+
auth: "admin"
|
|
33728
|
+
}), 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, {
|
|
33138
33729
|
kind: "mutation",
|
|
33139
33730
|
auth: "admin"
|
|
33140
33731
|
}), method(object({
|
|
@@ -39886,6 +40477,32 @@ var TotpStatusSchema = object({
|
|
|
39886
40477
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
39887
40478
|
confirmedAt: number().nullable()
|
|
39888
40479
|
});
|
|
40480
|
+
/**
|
|
40481
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
40482
|
+
* and scoped tokens.
|
|
40483
|
+
*
|
|
40484
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
40485
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
40486
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
40487
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
40488
|
+
* provider.
|
|
40489
|
+
*/
|
|
40490
|
+
var ExternalIdentitySchema = object({
|
|
40491
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
40492
|
+
provider: string(),
|
|
40493
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
40494
|
+
subject: string(),
|
|
40495
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
40496
|
+
issuer: string(),
|
|
40497
|
+
userId: string(),
|
|
40498
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
40499
|
+
label: string().optional(),
|
|
40500
|
+
linkedAt: number()
|
|
40501
|
+
});
|
|
40502
|
+
var ExternalIdentityKeySchema = object({
|
|
40503
|
+
provider: string().min(1),
|
|
40504
|
+
subject: string().min(1)
|
|
40505
|
+
});
|
|
39889
40506
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
39890
40507
|
kind: "mutation",
|
|
39891
40508
|
auth: "admin",
|
|
@@ -39999,7 +40616,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
39999
40616
|
userId: string(),
|
|
40000
40617
|
username: string(),
|
|
40001
40618
|
scopes: array(TokenScopeSchema)
|
|
40002
|
-
}).nullable(), { access: "view" }), method(
|
|
40619
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
40620
|
+
userId: string(),
|
|
40621
|
+
issuer: string()
|
|
40622
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
40623
|
+
userId: string(),
|
|
40624
|
+
issuer: string().min(1),
|
|
40625
|
+
label: string().optional()
|
|
40626
|
+
}), object({ success: literal(true) }), {
|
|
40627
|
+
kind: "mutation",
|
|
40628
|
+
auth: "admin",
|
|
40629
|
+
access: "create"
|
|
40630
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
40631
|
+
kind: "mutation",
|
|
40632
|
+
auth: "admin",
|
|
40633
|
+
access: "delete"
|
|
40634
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
40003
40635
|
kind: "mutation",
|
|
40004
40636
|
auth: "admin",
|
|
40005
40637
|
access: "delete"
|
|
@@ -40701,6 +41333,16 @@ var zoneRulesCapability = {
|
|
|
40701
41333
|
durability: "restored"
|
|
40702
41334
|
};
|
|
40703
41335
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
41336
|
+
Object.freeze({
|
|
41337
|
+
person: .5,
|
|
41338
|
+
vehicle: .5,
|
|
41339
|
+
animal: .5
|
|
41340
|
+
});
|
|
41341
|
+
Object.freeze({
|
|
41342
|
+
person: .65,
|
|
41343
|
+
vehicle: .65,
|
|
41344
|
+
animal: .65
|
|
41345
|
+
});
|
|
40704
41346
|
/**
|
|
40705
41347
|
* Accessory device helpers — shared across drivers.
|
|
40706
41348
|
*
|
|
@@ -42414,6 +43056,12 @@ Object.freeze({
|
|
|
42414
43056
|
addonId: null,
|
|
42415
43057
|
access: "view"
|
|
42416
43058
|
},
|
|
43059
|
+
"addons.listInstallations": {
|
|
43060
|
+
capName: "addons",
|
|
43061
|
+
capScope: "system",
|
|
43062
|
+
addonId: null,
|
|
43063
|
+
access: "view"
|
|
43064
|
+
},
|
|
42417
43065
|
"addons.listJobs": {
|
|
42418
43066
|
capName: "addons",
|
|
42419
43067
|
capScope: "system",
|
|
@@ -43596,90 +44244,18 @@ Object.freeze({
|
|
|
43596
44244
|
addonId: null,
|
|
43597
44245
|
access: "create"
|
|
43598
44246
|
},
|
|
43599
|
-
"decoder.createSession": {
|
|
43600
|
-
capName: "decoder",
|
|
43601
|
-
capScope: "system",
|
|
43602
|
-
addonId: null,
|
|
43603
|
-
access: "view"
|
|
43604
|
-
},
|
|
43605
|
-
"decoder.destroySession": {
|
|
43606
|
-
capName: "decoder",
|
|
43607
|
-
capScope: "system",
|
|
43608
|
-
addonId: null,
|
|
43609
|
-
access: "delete"
|
|
43610
|
-
},
|
|
43611
|
-
"decoder.getFrame": {
|
|
43612
|
-
capName: "decoder",
|
|
43613
|
-
capScope: "system",
|
|
43614
|
-
addonId: null,
|
|
43615
|
-
access: "view"
|
|
43616
|
-
},
|
|
43617
44247
|
"decoder.getInfo": {
|
|
43618
44248
|
capName: "decoder",
|
|
43619
44249
|
capScope: "system",
|
|
43620
44250
|
addonId: null,
|
|
43621
44251
|
access: "view"
|
|
43622
44252
|
},
|
|
43623
|
-
"decoder.getShmStats": {
|
|
43624
|
-
capName: "decoder",
|
|
43625
|
-
capScope: "system",
|
|
43626
|
-
addonId: null,
|
|
43627
|
-
access: "view"
|
|
43628
|
-
},
|
|
43629
|
-
"decoder.getStats": {
|
|
43630
|
-
capName: "decoder",
|
|
43631
|
-
capScope: "system",
|
|
43632
|
-
addonId: null,
|
|
43633
|
-
access: "view"
|
|
43634
|
-
},
|
|
43635
|
-
"decoder.listActiveSessions": {
|
|
43636
|
-
capName: "decoder",
|
|
43637
|
-
capScope: "system",
|
|
43638
|
-
addonId: null,
|
|
43639
|
-
access: "view"
|
|
43640
|
-
},
|
|
43641
|
-
"decoder.openStream": {
|
|
43642
|
-
capName: "decoder",
|
|
43643
|
-
capScope: "system",
|
|
43644
|
-
addonId: null,
|
|
43645
|
-
access: "view"
|
|
43646
|
-
},
|
|
43647
|
-
"decoder.pullFrames": {
|
|
43648
|
-
capName: "decoder",
|
|
43649
|
-
capScope: "system",
|
|
43650
|
-
addonId: null,
|
|
43651
|
-
access: "view"
|
|
43652
|
-
},
|
|
43653
|
-
"decoder.pullHandles": {
|
|
43654
|
-
capName: "decoder",
|
|
43655
|
-
capScope: "system",
|
|
43656
|
-
addonId: null,
|
|
43657
|
-
access: "view"
|
|
43658
|
-
},
|
|
43659
|
-
"decoder.pushPacket": {
|
|
43660
|
-
capName: "decoder",
|
|
43661
|
-
capScope: "system",
|
|
43662
|
-
addonId: null,
|
|
43663
|
-
access: "view"
|
|
43664
|
-
},
|
|
43665
44253
|
"decoder.reprobeHwaccel": {
|
|
43666
44254
|
capName: "decoder",
|
|
43667
44255
|
capScope: "system",
|
|
43668
44256
|
addonId: null,
|
|
43669
44257
|
access: "create"
|
|
43670
44258
|
},
|
|
43671
|
-
"decoder.supportsCodec": {
|
|
43672
|
-
capName: "decoder",
|
|
43673
|
-
capScope: "system",
|
|
43674
|
-
addonId: null,
|
|
43675
|
-
access: "view"
|
|
43676
|
-
},
|
|
43677
|
-
"decoder.updateConfig": {
|
|
43678
|
-
capName: "decoder",
|
|
43679
|
-
capScope: "system",
|
|
43680
|
-
addonId: null,
|
|
43681
|
-
access: "view"
|
|
43682
|
-
},
|
|
43683
44259
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
43684
44260
|
capName: "detection-pipeline",
|
|
43685
44261
|
capScope: "device",
|
|
@@ -45168,12 +45744,24 @@ Object.freeze({
|
|
|
45168
45744
|
addonId: null,
|
|
45169
45745
|
access: "view"
|
|
45170
45746
|
},
|
|
45747
|
+
"localNetwork.addCustomAddress": {
|
|
45748
|
+
capName: "local-network",
|
|
45749
|
+
capScope: "system",
|
|
45750
|
+
addonId: null,
|
|
45751
|
+
access: "create"
|
|
45752
|
+
},
|
|
45171
45753
|
"localNetwork.downloadCa": {
|
|
45172
45754
|
capName: "local-network",
|
|
45173
45755
|
capScope: "system",
|
|
45174
45756
|
addonId: null,
|
|
45175
45757
|
access: "view"
|
|
45176
45758
|
},
|
|
45759
|
+
"localNetwork.getAddresses": {
|
|
45760
|
+
capName: "local-network",
|
|
45761
|
+
capScope: "system",
|
|
45762
|
+
addonId: null,
|
|
45763
|
+
access: "view"
|
|
45764
|
+
},
|
|
45177
45765
|
"localNetwork.getAllowedAddresses": {
|
|
45178
45766
|
capName: "local-network",
|
|
45179
45767
|
capScope: "system",
|
|
@@ -45186,6 +45774,12 @@ Object.freeze({
|
|
|
45186
45774
|
addonId: null,
|
|
45187
45775
|
access: "view"
|
|
45188
45776
|
},
|
|
45777
|
+
"localNetwork.getHubAddresses": {
|
|
45778
|
+
capName: "local-network",
|
|
45779
|
+
capScope: "system",
|
|
45780
|
+
addonId: null,
|
|
45781
|
+
access: "view"
|
|
45782
|
+
},
|
|
45189
45783
|
"localNetwork.getNotificationEndpoint": {
|
|
45190
45784
|
capName: "local-network",
|
|
45191
45785
|
capScope: "system",
|
|
@@ -45222,6 +45816,12 @@ Object.freeze({
|
|
|
45222
45816
|
addonId: null,
|
|
45223
45817
|
access: "create"
|
|
45224
45818
|
},
|
|
45819
|
+
"localNetwork.removeCustomAddress": {
|
|
45820
|
+
capName: "local-network",
|
|
45821
|
+
capScope: "system",
|
|
45822
|
+
addonId: null,
|
|
45823
|
+
access: "delete"
|
|
45824
|
+
},
|
|
45225
45825
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
45226
45826
|
capName: "local-network",
|
|
45227
45827
|
capScope: "system",
|
|
@@ -45234,6 +45834,12 @@ Object.freeze({
|
|
|
45234
45834
|
addonId: null,
|
|
45235
45835
|
access: "create"
|
|
45236
45836
|
},
|
|
45837
|
+
"localNetwork.setAddressRole": {
|
|
45838
|
+
capName: "local-network",
|
|
45839
|
+
capScope: "system",
|
|
45840
|
+
addonId: null,
|
|
45841
|
+
access: "create"
|
|
45842
|
+
},
|
|
45237
45843
|
"localNetwork.setAllowedAddresses": {
|
|
45238
45844
|
capName: "local-network",
|
|
45239
45845
|
capScope: "system",
|
|
@@ -46680,6 +47286,12 @@ Object.freeze({
|
|
|
46680
47286
|
addonId: null,
|
|
46681
47287
|
access: "create"
|
|
46682
47288
|
},
|
|
47289
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
47290
|
+
capName: "pipeline-analytics",
|
|
47291
|
+
capScope: "device",
|
|
47292
|
+
addonId: null,
|
|
47293
|
+
access: "create"
|
|
47294
|
+
},
|
|
46683
47295
|
"pipelineAnalytics.setTrackFlags": {
|
|
46684
47296
|
capName: "pipeline-analytics",
|
|
46685
47297
|
capScope: "device",
|
|
@@ -46716,6 +47328,12 @@ Object.freeze({
|
|
|
46716
47328
|
addonId: null,
|
|
46717
47329
|
access: "delete"
|
|
46718
47330
|
},
|
|
47331
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
47332
|
+
capName: "pipeline-analytics",
|
|
47333
|
+
capScope: "device",
|
|
47334
|
+
addonId: null,
|
|
47335
|
+
access: "create"
|
|
47336
|
+
},
|
|
46719
47337
|
"pipelineExecutor.cacheFrameInPool": {
|
|
46720
47338
|
capName: "pipeline-executor",
|
|
46721
47339
|
capScope: "system",
|
|
@@ -46728,13 +47346,13 @@ Object.freeze({
|
|
|
46728
47346
|
addonId: null,
|
|
46729
47347
|
access: "delete"
|
|
46730
47348
|
},
|
|
46731
|
-
"pipelineExecutor.
|
|
47349
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
46732
47350
|
capName: "pipeline-executor",
|
|
46733
47351
|
capScope: "system",
|
|
46734
47352
|
addonId: null,
|
|
46735
47353
|
access: "delete"
|
|
46736
47354
|
},
|
|
46737
|
-
"pipelineExecutor.
|
|
47355
|
+
"pipelineExecutor.deleteModel": {
|
|
46738
47356
|
capName: "pipeline-executor",
|
|
46739
47357
|
capScope: "system",
|
|
46740
47358
|
addonId: null,
|
|
@@ -46878,12 +47496,6 @@ Object.freeze({
|
|
|
46878
47496
|
addonId: null,
|
|
46879
47497
|
access: "view"
|
|
46880
47498
|
},
|
|
46881
|
-
"pipelineExecutor.listTemplates": {
|
|
46882
|
-
capName: "pipeline-executor",
|
|
46883
|
-
capScope: "system",
|
|
46884
|
-
addonId: null,
|
|
46885
|
-
access: "view"
|
|
46886
|
-
},
|
|
46887
47499
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
46888
47500
|
capName: "pipeline-executor",
|
|
46889
47501
|
capScope: "system",
|
|
@@ -46908,12 +47520,6 @@ Object.freeze({
|
|
|
46908
47520
|
addonId: null,
|
|
46909
47521
|
access: "create"
|
|
46910
47522
|
},
|
|
46911
|
-
"pipelineExecutor.saveTemplate": {
|
|
46912
|
-
capName: "pipeline-executor",
|
|
46913
|
-
capScope: "system",
|
|
46914
|
-
addonId: null,
|
|
46915
|
-
access: "create"
|
|
46916
|
-
},
|
|
46917
47523
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
46918
47524
|
capName: "pipeline-executor",
|
|
46919
47525
|
capScope: "system",
|
|
@@ -46932,41 +47538,35 @@ Object.freeze({
|
|
|
46932
47538
|
addonId: null,
|
|
46933
47539
|
access: "create"
|
|
46934
47540
|
},
|
|
46935
|
-
"pipelineExecutor.updateTemplate": {
|
|
46936
|
-
capName: "pipeline-executor",
|
|
46937
|
-
capScope: "system",
|
|
46938
|
-
addonId: null,
|
|
46939
|
-
access: "create"
|
|
46940
|
-
},
|
|
46941
47541
|
"pipelineExecutor.validatePipeline": {
|
|
46942
47542
|
capName: "pipeline-executor",
|
|
46943
47543
|
capScope: "system",
|
|
46944
47544
|
addonId: null,
|
|
46945
47545
|
access: "view"
|
|
46946
47546
|
},
|
|
46947
|
-
"pipelineOrchestrator.
|
|
47547
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
46948
47548
|
capName: "pipeline-orchestrator",
|
|
46949
47549
|
capScope: "system",
|
|
46950
47550
|
addonId: null,
|
|
46951
47551
|
access: "create"
|
|
46952
47552
|
},
|
|
46953
|
-
"pipelineOrchestrator.
|
|
47553
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
46954
47554
|
capName: "pipeline-orchestrator",
|
|
46955
47555
|
capScope: "system",
|
|
46956
47556
|
addonId: null,
|
|
46957
47557
|
access: "create"
|
|
46958
47558
|
},
|
|
46959
|
-
"pipelineOrchestrator.
|
|
47559
|
+
"pipelineOrchestrator.assignAudio": {
|
|
46960
47560
|
capName: "pipeline-orchestrator",
|
|
46961
47561
|
capScope: "system",
|
|
46962
47562
|
addonId: null,
|
|
46963
47563
|
access: "create"
|
|
46964
47564
|
},
|
|
46965
|
-
"pipelineOrchestrator.
|
|
47565
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
46966
47566
|
capName: "pipeline-orchestrator",
|
|
46967
47567
|
capScope: "system",
|
|
46968
47568
|
addonId: null,
|
|
46969
|
-
access: "
|
|
47569
|
+
access: "create"
|
|
46970
47570
|
},
|
|
46971
47571
|
"pipelineOrchestrator.getAgentLoad": {
|
|
46972
47572
|
capName: "pipeline-orchestrator",
|
|
@@ -47058,6 +47658,12 @@ Object.freeze({
|
|
|
47058
47658
|
addonId: null,
|
|
47059
47659
|
access: "view"
|
|
47060
47660
|
},
|
|
47661
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
47662
|
+
capName: "pipeline-orchestrator",
|
|
47663
|
+
capScope: "system",
|
|
47664
|
+
addonId: null,
|
|
47665
|
+
access: "view"
|
|
47666
|
+
},
|
|
47061
47667
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
47062
47668
|
capName: "pipeline-orchestrator",
|
|
47063
47669
|
capScope: "system",
|
|
@@ -47094,19 +47700,19 @@ Object.freeze({
|
|
|
47094
47700
|
addonId: null,
|
|
47095
47701
|
access: "view"
|
|
47096
47702
|
},
|
|
47097
|
-
"pipelineOrchestrator.
|
|
47703
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
47098
47704
|
capName: "pipeline-orchestrator",
|
|
47099
47705
|
capScope: "system",
|
|
47100
47706
|
addonId: null,
|
|
47101
47707
|
access: "view"
|
|
47102
47708
|
},
|
|
47103
|
-
"pipelineOrchestrator.
|
|
47709
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
47104
47710
|
capName: "pipeline-orchestrator",
|
|
47105
47711
|
capScope: "system",
|
|
47106
47712
|
addonId: null,
|
|
47107
47713
|
access: "view"
|
|
47108
47714
|
},
|
|
47109
|
-
"pipelineOrchestrator.
|
|
47715
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
47110
47716
|
capName: "pipeline-orchestrator",
|
|
47111
47717
|
capScope: "system",
|
|
47112
47718
|
addonId: null,
|
|
@@ -47118,6 +47724,12 @@ Object.freeze({
|
|
|
47118
47724
|
addonId: null,
|
|
47119
47725
|
access: "create"
|
|
47120
47726
|
},
|
|
47727
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
47728
|
+
capName: "pipeline-orchestrator",
|
|
47729
|
+
capScope: "system",
|
|
47730
|
+
addonId: null,
|
|
47731
|
+
access: "view"
|
|
47732
|
+
},
|
|
47121
47733
|
"pipelineOrchestrator.rebalance": {
|
|
47122
47734
|
capName: "pipeline-orchestrator",
|
|
47123
47735
|
capScope: "system",
|
|
@@ -47160,12 +47772,6 @@ Object.freeze({
|
|
|
47160
47772
|
addonId: null,
|
|
47161
47773
|
access: "create"
|
|
47162
47774
|
},
|
|
47163
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
47164
|
-
capName: "pipeline-orchestrator",
|
|
47165
|
-
capScope: "system",
|
|
47166
|
-
addonId: null,
|
|
47167
|
-
access: "create"
|
|
47168
|
-
},
|
|
47169
47775
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
47170
47776
|
capName: "pipeline-orchestrator",
|
|
47171
47777
|
capScope: "system",
|
|
@@ -47178,12 +47784,6 @@ Object.freeze({
|
|
|
47178
47784
|
addonId: null,
|
|
47179
47785
|
access: "create"
|
|
47180
47786
|
},
|
|
47181
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
47182
|
-
capName: "pipeline-orchestrator",
|
|
47183
|
-
capScope: "system",
|
|
47184
|
-
addonId: null,
|
|
47185
|
-
access: "create"
|
|
47186
|
-
},
|
|
47187
47787
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
47188
47788
|
capName: "pipeline-orchestrator",
|
|
47189
47789
|
capScope: "system",
|
|
@@ -47220,6 +47820,12 @@ Object.freeze({
|
|
|
47220
47820
|
addonId: null,
|
|
47221
47821
|
access: "create"
|
|
47222
47822
|
},
|
|
47823
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
47824
|
+
capName: "pipeline-orchestrator",
|
|
47825
|
+
capScope: "system",
|
|
47826
|
+
addonId: null,
|
|
47827
|
+
access: "create"
|
|
47828
|
+
},
|
|
47223
47829
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
47224
47830
|
capName: "pipeline-orchestrator",
|
|
47225
47831
|
capScope: "system",
|
|
@@ -47238,25 +47844,37 @@ Object.freeze({
|
|
|
47238
47844
|
addonId: null,
|
|
47239
47845
|
access: "create"
|
|
47240
47846
|
},
|
|
47847
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
47848
|
+
capName: "pipeline-orchestrator",
|
|
47849
|
+
capScope: "system",
|
|
47850
|
+
addonId: null,
|
|
47851
|
+
access: "create"
|
|
47852
|
+
},
|
|
47241
47853
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
47242
47854
|
capName: "pipeline-orchestrator",
|
|
47243
47855
|
capScope: "system",
|
|
47244
47856
|
addonId: null,
|
|
47245
47857
|
access: "create"
|
|
47246
47858
|
},
|
|
47247
|
-
"pipelineOrchestrator.
|
|
47859
|
+
"pipelineOrchestrator.setShareSource": {
|
|
47248
47860
|
capName: "pipeline-orchestrator",
|
|
47249
47861
|
capScope: "system",
|
|
47250
47862
|
addonId: null,
|
|
47251
47863
|
access: "create"
|
|
47252
47864
|
},
|
|
47253
|
-
"pipelineOrchestrator.
|
|
47865
|
+
"pipelineOrchestrator.suggestShares": {
|
|
47866
|
+
capName: "pipeline-orchestrator",
|
|
47867
|
+
capScope: "system",
|
|
47868
|
+
addonId: null,
|
|
47869
|
+
access: "view"
|
|
47870
|
+
},
|
|
47871
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
47254
47872
|
capName: "pipeline-orchestrator",
|
|
47255
47873
|
capScope: "system",
|
|
47256
47874
|
addonId: null,
|
|
47257
47875
|
access: "create"
|
|
47258
47876
|
},
|
|
47259
|
-
"pipelineOrchestrator.
|
|
47877
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
47260
47878
|
capName: "pipeline-orchestrator",
|
|
47261
47879
|
capScope: "system",
|
|
47262
47880
|
addonId: null,
|
|
@@ -48696,12 +49314,6 @@ Object.freeze({
|
|
|
48696
49314
|
addonId: null,
|
|
48697
49315
|
access: "view"
|
|
48698
49316
|
},
|
|
48699
|
-
"streamBroker.pullFrameHandles": {
|
|
48700
|
-
capName: "stream-broker",
|
|
48701
|
-
capScope: "system",
|
|
48702
|
-
addonId: null,
|
|
48703
|
-
access: "view"
|
|
48704
|
-
},
|
|
48705
49317
|
"streamBroker.regenerateRtspToken": {
|
|
48706
49318
|
capName: "stream-broker",
|
|
48707
49319
|
capScope: "system",
|
|
@@ -48768,12 +49380,6 @@ Object.freeze({
|
|
|
48768
49380
|
addonId: null,
|
|
48769
49381
|
access: "create"
|
|
48770
49382
|
},
|
|
48771
|
-
"streamBroker.subscribeFrames": {
|
|
48772
|
-
capName: "stream-broker",
|
|
48773
|
-
capScope: "system",
|
|
48774
|
-
addonId: null,
|
|
48775
|
-
access: "create"
|
|
48776
|
-
},
|
|
48777
49383
|
"streamBroker.unassignProfile": {
|
|
48778
49384
|
capName: "stream-broker",
|
|
48779
49385
|
capScope: "system",
|
|
@@ -48786,12 +49392,6 @@ Object.freeze({
|
|
|
48786
49392
|
addonId: null,
|
|
48787
49393
|
access: "create"
|
|
48788
49394
|
},
|
|
48789
|
-
"streamBroker.unsubscribeFrames": {
|
|
48790
|
-
capName: "stream-broker",
|
|
48791
|
-
capScope: "system",
|
|
48792
|
-
addonId: null,
|
|
48793
|
-
access: "create"
|
|
48794
|
-
},
|
|
48795
49395
|
"streamCatalog.getCatalog": {
|
|
48796
49396
|
capName: "stream-catalog",
|
|
48797
49397
|
capScope: "device",
|
|
@@ -49086,18 +49686,36 @@ Object.freeze({
|
|
|
49086
49686
|
addonId: null,
|
|
49087
49687
|
access: "delete"
|
|
49088
49688
|
},
|
|
49689
|
+
"userManagement.findUserByExternalIdentity": {
|
|
49690
|
+
capName: "user-management",
|
|
49691
|
+
capScope: "system",
|
|
49692
|
+
addonId: null,
|
|
49693
|
+
access: "view"
|
|
49694
|
+
},
|
|
49089
49695
|
"userManagement.getTotpStatus": {
|
|
49090
49696
|
capName: "user-management",
|
|
49091
49697
|
capScope: "system",
|
|
49092
49698
|
addonId: null,
|
|
49093
49699
|
access: "view"
|
|
49094
49700
|
},
|
|
49701
|
+
"userManagement.linkExternalIdentity": {
|
|
49702
|
+
capName: "user-management",
|
|
49703
|
+
capScope: "system",
|
|
49704
|
+
addonId: null,
|
|
49705
|
+
access: "create"
|
|
49706
|
+
},
|
|
49095
49707
|
"userManagement.listApiKeys": {
|
|
49096
49708
|
capName: "user-management",
|
|
49097
49709
|
capScope: "system",
|
|
49098
49710
|
addonId: null,
|
|
49099
49711
|
access: "view"
|
|
49100
49712
|
},
|
|
49713
|
+
"userManagement.listExternalIdentities": {
|
|
49714
|
+
capName: "user-management",
|
|
49715
|
+
capScope: "system",
|
|
49716
|
+
addonId: null,
|
|
49717
|
+
access: "view"
|
|
49718
|
+
},
|
|
49101
49719
|
"userManagement.listOauthSessions": {
|
|
49102
49720
|
capName: "user-management",
|
|
49103
49721
|
capScope: "system",
|
|
@@ -49176,6 +49794,12 @@ Object.freeze({
|
|
|
49176
49794
|
addonId: null,
|
|
49177
49795
|
access: "create"
|
|
49178
49796
|
},
|
|
49797
|
+
"userManagement.unlinkExternalIdentity": {
|
|
49798
|
+
capName: "user-management",
|
|
49799
|
+
capScope: "system",
|
|
49800
|
+
addonId: null,
|
|
49801
|
+
access: "delete"
|
|
49802
|
+
},
|
|
49179
49803
|
"userManagement.updateUser": {
|
|
49180
49804
|
capName: "user-management",
|
|
49181
49805
|
capScope: "system",
|
|
@@ -49488,6 +50112,12 @@ Object.freeze({
|
|
|
49488
50112
|
addonId: null,
|
|
49489
50113
|
access: "create"
|
|
49490
50114
|
},
|
|
50115
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
50116
|
+
capName: "webrtc-session",
|
|
50117
|
+
capScope: "device",
|
|
50118
|
+
addonId: null,
|
|
50119
|
+
access: "create"
|
|
50120
|
+
},
|
|
49491
50121
|
"webrtcSession.closeSession": {
|
|
49492
50122
|
capName: "webrtc-session",
|
|
49493
50123
|
capScope: "device",
|
|
@@ -51517,11 +52147,6 @@ Object.freeze({
|
|
|
51517
52147
|
form: "single",
|
|
51518
52148
|
optional: false
|
|
51519
52149
|
}],
|
|
51520
|
-
"decoder.createSession": [{
|
|
51521
|
-
name: "deviceId",
|
|
51522
|
-
form: "single",
|
|
51523
|
-
optional: true
|
|
51524
|
-
}],
|
|
51525
52150
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
51526
52151
|
name: "deviceId",
|
|
51527
52152
|
form: "single",
|
|
@@ -52732,6 +53357,11 @@ Object.freeze({
|
|
|
52732
53357
|
form: "single",
|
|
52733
53358
|
optional: false
|
|
52734
53359
|
}],
|
|
53360
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
53361
|
+
name: "deviceId",
|
|
53362
|
+
form: "single",
|
|
53363
|
+
optional: false
|
|
53364
|
+
}],
|
|
52735
53365
|
"pipelineAnalytics.setTrackFlags": [{
|
|
52736
53366
|
name: "deviceId",
|
|
52737
53367
|
form: "single",
|
|
@@ -52752,6 +53382,11 @@ Object.freeze({
|
|
|
52752
53382
|
form: "single",
|
|
52753
53383
|
optional: false
|
|
52754
53384
|
}],
|
|
53385
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
53386
|
+
name: "deviceIds",
|
|
53387
|
+
form: "array",
|
|
53388
|
+
optional: true
|
|
53389
|
+
}],
|
|
52755
53390
|
"pipelineExecutor.runPipeline": [{
|
|
52756
53391
|
name: "deviceId",
|
|
52757
53392
|
form: "single",
|
|
@@ -52857,6 +53492,11 @@ Object.freeze({
|
|
|
52857
53492
|
form: "single",
|
|
52858
53493
|
optional: false
|
|
52859
53494
|
}],
|
|
53495
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
53496
|
+
name: "deviceId",
|
|
53497
|
+
form: "single",
|
|
53498
|
+
optional: false
|
|
53499
|
+
}],
|
|
52860
53500
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
52861
53501
|
name: "deviceId",
|
|
52862
53502
|
form: "single",
|
|
@@ -53628,6 +54268,11 @@ Object.freeze({
|
|
|
53628
54268
|
form: "single",
|
|
53629
54269
|
optional: false
|
|
53630
54270
|
}],
|
|
54271
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
54272
|
+
name: "deviceId",
|
|
54273
|
+
form: "single",
|
|
54274
|
+
optional: false
|
|
54275
|
+
}],
|
|
53631
54276
|
"webrtcSession.closeSession": [{
|
|
53632
54277
|
name: "deviceId",
|
|
53633
54278
|
form: "single",
|
|
@@ -54161,7 +54806,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
54161
54806
|
{
|
|
54162
54807
|
name: "summarySection",
|
|
54163
54808
|
label: "Summary: this section",
|
|
54164
|
-
description: "The section a per-section summary row is about
|
|
54809
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
54165
54810
|
example: "Batterie scariche",
|
|
54166
54811
|
group: "system",
|
|
54167
54812
|
families: ["rule"],
|
|
@@ -55677,7 +56322,7 @@ function createClipStreamHandler(deps) {
|
|
|
55677
56322
|
* Node-only (`node:child_process`), so it lives under `@camstack/types/node`.
|
|
55678
56323
|
*/
|
|
55679
56324
|
/** The detail a site refusing for want of a binary puts in its refusal. */
|
|
55680
|
-
var NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node
|
|
56325
|
+
var NO_PINNED_FFMPEG_DETAIL = "no pinned ffmpeg on this node";
|
|
55681
56326
|
/**
|
|
55682
56327
|
* {@link pinnedFfmpegSpawner}, asked at the point of use through the node's
|
|
55683
56328
|
* resolver (`memoizePinnedFfmpeg`). A site that keeps the RESOLVER rather than
|
|
@@ -58302,7 +58947,7 @@ var hikvisionCameraSchema = object({
|
|
|
58302
58947
|
*/
|
|
58303
58948
|
https: boolean().default(false),
|
|
58304
58949
|
username: string().default("admin").describe("ISAPI user"),
|
|
58305
|
-
password: string().describe("ISAPI password"),
|
|
58950
|
+
password: string().describe("ISAPI password").meta({ secret: true }),
|
|
58306
58951
|
/**
|
|
58307
58952
|
* RTSP transport hint forwarded to the broker as `transportmode`.
|
|
58308
58953
|
* Most installations use `unicast`; multicast needs explicit
|