@camstack/addon-provider-onvif 1.2.121 → 1.2.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +1148 -471
- package/dist/addon.mjs +1148 -471
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
4
4
|
//#endregion
|
|
5
|
-
//#region ../types/dist/event-category-
|
|
5
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
6
6
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
7
7
|
EventCategory["SystemBoot"] = "system.boot";
|
|
8
8
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -503,15 +503,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
503
503
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
504
504
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
505
505
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
506
|
-
/**
|
|
507
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
508
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
509
|
-
* `createSession`, so running sessions keep their current backend until
|
|
510
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
511
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
512
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
513
|
-
*/
|
|
514
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
515
506
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
516
507
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
517
508
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5382,7 +5373,7 @@ var ZodIssueCode = {
|
|
|
5382
5373
|
var ZodFirstPartyTypeKind;
|
|
5383
5374
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5384
5375
|
//#endregion
|
|
5385
|
-
//#region ../types/dist/sleep-
|
|
5376
|
+
//#region ../types/dist/sleep-B0JG7-_F.mjs
|
|
5386
5377
|
/**
|
|
5387
5378
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5388
5379
|
* window to float samples (D455).
|
|
@@ -6748,32 +6739,12 @@ object({
|
|
|
6748
6739
|
audioCodec: string().optional(),
|
|
6749
6740
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6750
6741
|
});
|
|
6751
|
-
var EncodedPacketSchema = object({
|
|
6752
|
-
type: _enum(["video", "audio"]),
|
|
6753
|
-
data: _instanceof(Uint8Array),
|
|
6754
|
-
pts: number(),
|
|
6755
|
-
dts: number(),
|
|
6756
|
-
keyframe: boolean(),
|
|
6757
|
-
codec: string()
|
|
6758
|
-
});
|
|
6759
|
-
var DecodedFrameSchema = object({
|
|
6760
|
-
data: _instanceof(Uint8Array),
|
|
6761
|
-
width: number(),
|
|
6762
|
-
height: number(),
|
|
6763
|
-
format: _enum([
|
|
6764
|
-
"jpeg",
|
|
6765
|
-
"rgb",
|
|
6766
|
-
"bgr",
|
|
6767
|
-
"yuv420",
|
|
6768
|
-
"gray"
|
|
6769
|
-
]),
|
|
6770
|
-
timestamp: number()
|
|
6771
|
-
});
|
|
6772
6742
|
/**
|
|
6773
6743
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6774
6744
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6775
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6776
|
-
*
|
|
6745
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6746
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6747
|
+
* over tRPC / Moleculer.
|
|
6777
6748
|
*
|
|
6778
6749
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6779
6750
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6799,50 +6770,6 @@ var FrameHandleSchema = object({
|
|
|
6799
6770
|
slotCount: number().int().positive()
|
|
6800
6771
|
});
|
|
6801
6772
|
/**
|
|
6802
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6803
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6804
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6805
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6806
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6807
|
-
*/
|
|
6808
|
-
var FrameHandleFormatSchema = _enum([
|
|
6809
|
-
"rgb",
|
|
6810
|
-
"bgr",
|
|
6811
|
-
"yuv420",
|
|
6812
|
-
"gray"
|
|
6813
|
-
]);
|
|
6814
|
-
/**
|
|
6815
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6816
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6817
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6818
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6819
|
-
* they asked for with no broker-side conversion.
|
|
6820
|
-
*/
|
|
6821
|
-
var SubscribeFramesInputSchema = object({
|
|
6822
|
-
brokerId: string(),
|
|
6823
|
-
format: FrameHandleFormatSchema,
|
|
6824
|
-
/**
|
|
6825
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6826
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6827
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6828
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6829
|
-
*/
|
|
6830
|
-
maxFps: number().positive().optional(),
|
|
6831
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6832
|
-
tag: string().optional()
|
|
6833
|
-
});
|
|
6834
|
-
/**
|
|
6835
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6836
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6837
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6838
|
-
*/
|
|
6839
|
-
var SubscribeFramesResultSchema = object({
|
|
6840
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6841
|
-
subscriptionId: string(),
|
|
6842
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6843
|
-
maxFps: number().nonnegative()
|
|
6844
|
-
});
|
|
6845
|
-
/**
|
|
6846
6773
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6847
6774
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6848
6775
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6850,8 +6777,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6850
6777
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6851
6778
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6852
6779
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6853
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6854
|
-
*
|
|
6780
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6781
|
+
* it.
|
|
6855
6782
|
*/
|
|
6856
6783
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6857
6784
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6869,11 +6796,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6869
6796
|
format: AudioChunkFormatSchema.optional()
|
|
6870
6797
|
});
|
|
6871
6798
|
/**
|
|
6872
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6873
|
-
*
|
|
6874
|
-
*
|
|
6875
|
-
*
|
|
6876
|
-
* `pullAudioChunks`.
|
|
6799
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6800
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6801
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6802
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6877
6803
|
*/
|
|
6878
6804
|
var SubscribeAudioChunksInputSchema = object({
|
|
6879
6805
|
brokerId: string(),
|
|
@@ -6904,9 +6830,7 @@ var BrokerStatsSchema = object({
|
|
|
6904
6830
|
"stopped"
|
|
6905
6831
|
]),
|
|
6906
6832
|
inputFps: number(),
|
|
6907
|
-
decodeFps: number(),
|
|
6908
6833
|
encodedSubscribers: number(),
|
|
6909
|
-
decodedSubscribers: number(),
|
|
6910
6834
|
uptimeMs: number(),
|
|
6911
6835
|
bitrateKbps: number(),
|
|
6912
6836
|
idrIntervalMs: number(),
|
|
@@ -6919,14 +6843,6 @@ var BrokerStatsSchema = object({
|
|
|
6919
6843
|
preBufferMs: number(),
|
|
6920
6844
|
preBufferPackets: number(),
|
|
6921
6845
|
/**
|
|
6922
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6923
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6924
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6925
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6926
|
-
* a separate cap call per broker.
|
|
6927
|
-
*/
|
|
6928
|
-
decoderNodeId: string().nullable(),
|
|
6929
|
-
/**
|
|
6930
6846
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6931
6847
|
* when the stream has no audio track or the broker is in cold start.
|
|
6932
6848
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10258,70 +10174,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10258
10174
|
"backup"
|
|
10259
10175
|
]).optional()
|
|
10260
10176
|
});
|
|
10261
|
-
var DecoderStatsSchema = object({
|
|
10262
|
-
inputFps: number(),
|
|
10263
|
-
outputFps: number(),
|
|
10264
|
-
avgDecodeTimeMs: number(),
|
|
10265
|
-
droppedFrames: number(),
|
|
10266
|
-
/**
|
|
10267
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10268
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10269
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10270
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10271
|
-
*/
|
|
10272
|
-
lagMs: number().optional(),
|
|
10273
|
-
effectiveFps: number().optional(),
|
|
10274
|
-
adaptiveFps: number().optional()
|
|
10275
|
-
});
|
|
10276
|
-
var DecoderSessionConfigSchema = object({
|
|
10277
|
-
codec: string(),
|
|
10278
|
-
maxFps: number().default(0),
|
|
10279
|
-
outputFormat: _enum([
|
|
10280
|
-
"jpeg",
|
|
10281
|
-
"rgb",
|
|
10282
|
-
"bgr",
|
|
10283
|
-
"yuv420",
|
|
10284
|
-
"gray"
|
|
10285
|
-
]).default("jpeg"),
|
|
10286
|
-
scale: number().default(1),
|
|
10287
|
-
width: number().optional(),
|
|
10288
|
-
height: number().optional(),
|
|
10289
|
-
/**
|
|
10290
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10291
|
-
* because the cap is generic (any caller could request decode), but
|
|
10292
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10293
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10294
|
-
* sendPacket errors on a single hung camera).
|
|
10295
|
-
*/
|
|
10296
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10297
|
-
/**
|
|
10298
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10299
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10300
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10301
|
-
* profile cleanly.
|
|
10302
|
-
*/
|
|
10303
|
-
tag: string().optional(),
|
|
10304
|
-
/**
|
|
10305
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10306
|
-
*
|
|
10307
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10308
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10309
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10310
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10311
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10312
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10313
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10314
|
-
*/
|
|
10315
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10316
|
-
/**
|
|
10317
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10318
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10319
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10320
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10321
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10322
|
-
*/
|
|
10323
|
-
debug: boolean().optional()
|
|
10324
|
-
});
|
|
10325
10177
|
/**
|
|
10326
10178
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10327
10179
|
* an addon declares its channels in.
|
|
@@ -10464,6 +10316,26 @@ var ClipSearchStrictnessSchema = _enum([
|
|
|
10464
10316
|
"balanced",
|
|
10465
10317
|
"strict"
|
|
10466
10318
|
]);
|
|
10319
|
+
/** Steps whose effect a root label can BE. */
|
|
10320
|
+
var LABEL_SUPPLY_STEP_IDS = [
|
|
10321
|
+
"animal-classifier",
|
|
10322
|
+
"vehicle-classifier",
|
|
10323
|
+
"package-detection"
|
|
10324
|
+
];
|
|
10325
|
+
/** Steps whose box a root detection can BE. */
|
|
10326
|
+
var CROP_SUPPLY_STEP_IDS = ["plate-detection", "face-detection"];
|
|
10327
|
+
/**
|
|
10328
|
+
* Steps whose per-detection MASK a root detection can carry (D737). The live
|
|
10329
|
+
* mask step is `segmentation` — a frame-plane refiner that runs its own model
|
|
10330
|
+
* once per detection crop. (`instance-segmentation` is a dormant step id that
|
|
10331
|
+
* no camera tree carries.)
|
|
10332
|
+
*/
|
|
10333
|
+
var MASK_SUPPLY_STEP_IDS = ["segmentation"];
|
|
10334
|
+
[
|
|
10335
|
+
...LABEL_SUPPLY_STEP_IDS,
|
|
10336
|
+
...CROP_SUPPLY_STEP_IDS,
|
|
10337
|
+
...MASK_SUPPLY_STEP_IDS
|
|
10338
|
+
];
|
|
10467
10339
|
var MODEL_FORMATS = [
|
|
10468
10340
|
"onnx",
|
|
10469
10341
|
"coreml",
|
|
@@ -10492,7 +10364,53 @@ var ModelFormatEntrySchema = object({
|
|
|
10492
10364
|
/** Multi-file payload (directory members or sibling files). */
|
|
10493
10365
|
files: array(string()).readonly().optional(),
|
|
10494
10366
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
10495
|
-
runtimes: array(_enum(["python"])).readonly().optional()
|
|
10367
|
+
runtimes: array(_enum(["python"])).readonly().optional(),
|
|
10368
|
+
/**
|
|
10369
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
10370
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
10371
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
10372
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
10373
|
+
* node records the revision it downloaded next to the file
|
|
10374
|
+
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
10375
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
10376
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
10377
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
10378
|
+
*/
|
|
10379
|
+
revision: string().min(1).optional()
|
|
10380
|
+
});
|
|
10381
|
+
/**
|
|
10382
|
+
* What a node holds for one (model, format) (D746). `current` is a complete
|
|
10383
|
+
* copy at its catalog revision — exactly what `downloaded: true` means.
|
|
10384
|
+
* `stale` is bytes on disk that are not (yet) proven current under D743/D744:
|
|
10385
|
+
* no or a different revision record, or a missing sibling. `missing` is no
|
|
10386
|
+
* copy. `downloaded` alone folds `stale` into "not downloaded", which hid
|
|
10387
|
+
* reclaimable bytes and a copy about to be replaced.
|
|
10388
|
+
*/
|
|
10389
|
+
var ModelOnDiskStateSchema = _enum([
|
|
10390
|
+
"current",
|
|
10391
|
+
"stale",
|
|
10392
|
+
"missing"
|
|
10393
|
+
]);
|
|
10394
|
+
/**
|
|
10395
|
+
* The numeric precision of one format's BUILD (D746) — reported only when the
|
|
10396
|
+
* build states it (file-name token, an INT8 variant, an EdgeTPU compile, a
|
|
10397
|
+
* CamStack Core ML export). Absent means "not stated", never "fp32".
|
|
10398
|
+
*/
|
|
10399
|
+
var ModelFormatPrecisionSchema = _enum([
|
|
10400
|
+
"fp32",
|
|
10401
|
+
"fp16",
|
|
10402
|
+
"int8"
|
|
10403
|
+
]);
|
|
10404
|
+
/**
|
|
10405
|
+
* One format of one model as a node's `pipelineExecutor.getSchema` reports it.
|
|
10406
|
+
* `onDisk` / `precision` are optional for version skew: a runner that predates
|
|
10407
|
+
* them omits them, and a reader falls back to `downloaded`.
|
|
10408
|
+
*/
|
|
10409
|
+
var PipelineModelFormatStatusSchema = object({
|
|
10410
|
+
downloaded: boolean(),
|
|
10411
|
+
sizeMB: number(),
|
|
10412
|
+
onDisk: ModelOnDiskStateSchema.optional(),
|
|
10413
|
+
precision: ModelFormatPrecisionSchema.optional()
|
|
10496
10414
|
});
|
|
10497
10415
|
/**
|
|
10498
10416
|
* Extra file that must be downloaded alongside the model (e.g., labels JSON, dict.txt).
|
|
@@ -10596,6 +10514,46 @@ var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { wei
|
|
|
10596
10514
|
/** True when the weights or their data forbid commercial use. */
|
|
10597
10515
|
nonCommercial: boolean().optional()
|
|
10598
10516
|
}));
|
|
10517
|
+
/**
|
|
10518
|
+
* One step a ROOT detector can supply from its own output (D730) — see
|
|
10519
|
+
* `ModelCatalogEntry.suppliesSteps`.
|
|
10520
|
+
*
|
|
10521
|
+
* - `label`: the root's raw class IS the step's answer. `labelToEffect` maps
|
|
10522
|
+
* the root's label to the step's vocabulary; `uncovered` is the vocabulary
|
|
10523
|
+
* the root cannot produce (shown as unavailable, never a blocker).
|
|
10524
|
+
* - `crop`: the root draws the box the step would have found (`license_plate`
|
|
10525
|
+
* for plate-detection, `face` for face-detection). The box becomes a detail
|
|
10526
|
+
* child of the `parentMacro` detection that contains it — never a track.
|
|
10527
|
+
* - `mask`: the root's decode emits an instance mask with every detection (a
|
|
10528
|
+
* YOLO26-seg root, D737) — the `segmentation` step's result, carried on the
|
|
10529
|
+
* detection in the shape that step produces. Derived from the model's
|
|
10530
|
+
* postprocessor on read, never stored by an import.
|
|
10531
|
+
*/
|
|
10532
|
+
var RootStepSupplySchema = discriminatedUnion("kind", [
|
|
10533
|
+
object({
|
|
10534
|
+
kind: literal("label"),
|
|
10535
|
+
stepId: _enum(LABEL_SUPPLY_STEP_IDS),
|
|
10536
|
+
labelToEffect: record(string(), string()),
|
|
10537
|
+
uncovered: array(string()).readonly()
|
|
10538
|
+
}),
|
|
10539
|
+
object({
|
|
10540
|
+
kind: literal("crop"),
|
|
10541
|
+
stepId: _enum(CROP_SUPPLY_STEP_IDS),
|
|
10542
|
+
rootLabels: array(string()).readonly(),
|
|
10543
|
+
parentMacro: _enum(["vehicle", "person"]),
|
|
10544
|
+
childClass: _enum(["plate", "face"]),
|
|
10545
|
+
/**
|
|
10546
|
+
* The root's smaller input side, stamped on read by `rootSuppliesOf` from
|
|
10547
|
+
* the model entry — what a step's `minRootInputPx` gate judges. Never
|
|
10548
|
+
* stored by an import.
|
|
10549
|
+
*/
|
|
10550
|
+
rootInputPx: number().int().positive().optional()
|
|
10551
|
+
}),
|
|
10552
|
+
object({
|
|
10553
|
+
kind: literal("mask"),
|
|
10554
|
+
stepId: _enum(MASK_SUPPLY_STEP_IDS)
|
|
10555
|
+
})
|
|
10556
|
+
]);
|
|
10599
10557
|
var ModelCatalogEntrySchema = object({
|
|
10600
10558
|
id: string(),
|
|
10601
10559
|
name: string(),
|
|
@@ -10661,6 +10619,35 @@ var ModelCatalogEntrySchema = object({
|
|
|
10661
10619
|
*/
|
|
10662
10620
|
defaultConfidence: number().min(0).max(1).optional(),
|
|
10663
10621
|
/**
|
|
10622
|
+
* Per-MODEL default of the per-class confidence floors (`minConfidence<Macro>`
|
|
10623
|
+
* on a detector step), keyed by macro class: `{ person: 0.45 }`. A class
|
|
10624
|
+
* absent here runs at the step slider's global default. The same row shape
|
|
10625
|
+
* the floor measurement produces (`model-floors.json`: modelId → floors), so
|
|
10626
|
+
* a measured table is copied in as-is. An operator override is bound to the
|
|
10627
|
+
* model it was made for and does not survive a model change (D738). A custom
|
|
10628
|
+
* / imported model may declare it; without it, the global defaults apply.
|
|
10629
|
+
*/
|
|
10630
|
+
defaultClassFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10631
|
+
/**
|
|
10632
|
+
* The inference precision this model's OpenVINO IR needs on an Intel GPU.
|
|
10633
|
+
* Absent ⇒ the device default (f16 on a GPU). Set to `'f32'` for an FP32 IR
|
|
10634
|
+
* that produces invalid output at f16 — measured 2026-10-07 for YOLO26
|
|
10635
|
+
* base IRs (`yolo26s`: 0 true / 146 false positives; `yolo26m*`: NaN
|
|
10636
|
+
* scores) on the Core Ultra iGPU and the N100. Threaded to the pool as
|
|
10637
|
+
* `PoolModelConfig.gpuInferencePrecision`; the pool sets
|
|
10638
|
+
* INFERENCE_PRECISION_HINT on a GPU only. Costs ~60% latency on the GPU.
|
|
10639
|
+
*/
|
|
10640
|
+
gpuInferencePrecision: _enum(["f32", "f16"]).optional(),
|
|
10641
|
+
/**
|
|
10642
|
+
* ROOT detectors only: per supplied step (`animal-classifier`, …), the
|
|
10643
|
+
* minimum DETECTION score from which this root's own fine label (species,
|
|
10644
|
+
* vehicle type — D736 root supply) is taken (D741). Below it the detection
|
|
10645
|
+
* keeps its macro class without the fine label. `1` = never take it from
|
|
10646
|
+
* this root. Absent ⇒ no floor beyond the macro floor. The supplied step's
|
|
10647
|
+
* `minConfidence` slider, bound to the ROOT model, overrides it.
|
|
10648
|
+
*/
|
|
10649
|
+
suppliedLabelFloors: record(string(), number().min(0).max(1)).optional(),
|
|
10650
|
+
/**
|
|
10664
10651
|
* When true, the executor produces a landmark-aligned crop (similarity warp
|
|
10665
10652
|
* onto the canonical template) before this step runs, instead of a plain
|
|
10666
10653
|
* axis-aligned bbox crop. Required for face-recognition embedders (ArcFace):
|
|
@@ -10722,6 +10709,16 @@ var ModelCatalogEntrySchema = object({
|
|
|
10722
10709
|
*/
|
|
10723
10710
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
10724
10711
|
/**
|
|
10712
|
+
* The pipeline steps this ROOT detector can supply from its own output
|
|
10713
|
+
* (D730): its labels name a step's effect (`deer` for `animal-classifier`)
|
|
10714
|
+
* or draw a step's box (`license_plate` for `plate-detection`). Computed at
|
|
10715
|
+
* import from THIS model's labelmap by `deriveRootSupplies`, never written
|
|
10716
|
+
* by hand and never assumed per family; a row without it is derived on read
|
|
10717
|
+
* (`rootSuppliesOf`). Whether a camera uses it is the step's own
|
|
10718
|
+
* `useRootModel` flag (`resolveRootSupply`).
|
|
10719
|
+
*/
|
|
10720
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional(),
|
|
10721
|
+
/**
|
|
10725
10722
|
* The model's CLIP feature-space contract (text encoder, dimension, vector
|
|
10726
10723
|
* index, token window, search floor) — see `clip-model.ts`. Present ONLY on a
|
|
10727
10724
|
* CLIP image encoder; its absence is what "not a CLIP model" means to the
|
|
@@ -12323,13 +12320,6 @@ var BrokerRtspClientSchema = object({
|
|
|
12323
12320
|
lastRtpAt: number(),
|
|
12324
12321
|
bytesSent: number()
|
|
12325
12322
|
});
|
|
12326
|
-
var BrokerDecodedClientSchema = object({
|
|
12327
|
-
tag: string(),
|
|
12328
|
-
subscribedAt: number(),
|
|
12329
|
-
maxFps: number(),
|
|
12330
|
-
framesDelivered: number(),
|
|
12331
|
-
framesDropped: number()
|
|
12332
|
-
});
|
|
12333
12323
|
var BrokerAudioClientSchema = object({
|
|
12334
12324
|
tag: string(),
|
|
12335
12325
|
subscribedAt: number(),
|
|
@@ -12421,7 +12411,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
12421
12411
|
});
|
|
12422
12412
|
var BrokerClientsSchema = object({
|
|
12423
12413
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
12424
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
12425
12414
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
12426
12415
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
12427
12416
|
pipeClients: number(),
|
|
@@ -12790,11 +12779,7 @@ method(object({
|
|
|
12790
12779
|
auth: "admin"
|
|
12791
12780
|
}), method(object({ brokerId: string() }), BrokerClientsSchema), method(object({
|
|
12792
12781
|
brokerId: string(),
|
|
12793
|
-
channel: _enum([
|
|
12794
|
-
"rtsp",
|
|
12795
|
-
"decoded",
|
|
12796
|
-
"audio"
|
|
12797
|
-
]),
|
|
12782
|
+
channel: _enum(["rtsp", "audio"]),
|
|
12798
12783
|
handle: string()
|
|
12799
12784
|
}), object({ killed: boolean() }), {
|
|
12800
12785
|
kind: "mutation",
|
|
@@ -12829,10 +12814,7 @@ method(object({
|
|
|
12829
12814
|
}), method(SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, { kind: "mutation" }), method(object({
|
|
12830
12815
|
subscriptionId: string(),
|
|
12831
12816
|
maxCount: number().int().positive().default(8)
|
|
12832
|
-
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(
|
|
12833
|
-
subscriptionId: string(),
|
|
12834
|
-
maxCount: number().int().positive().default(4)
|
|
12835
|
-
}), array(FrameHandleSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12817
|
+
}), array(DecodedAudioChunkSchema).readonly()), method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }), method(object({
|
|
12836
12818
|
brokerId: string(),
|
|
12837
12819
|
seconds: number().min(0).max(30)
|
|
12838
12820
|
}), _void(), {
|
|
@@ -13989,54 +13971,12 @@ id: union([string(), number()]) }), {
|
|
|
13989
13971
|
kind: "mutation",
|
|
13990
13972
|
auth: "admin"
|
|
13991
13973
|
});
|
|
13992
|
-
|
|
13993
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
13994
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
13995
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
13996
|
-
*/
|
|
13997
|
-
var ShmRingStatsSchema = object({
|
|
13998
|
-
sessionId: string(),
|
|
13999
|
-
slotCount: number().int(),
|
|
14000
|
-
slotByteLength: number().int(),
|
|
14001
|
-
segmentBytes: number().int(),
|
|
14002
|
-
budgetMb: number().int(),
|
|
14003
|
-
framesWritten: number().int(),
|
|
14004
|
-
getFrameHits: number().int(),
|
|
14005
|
-
getFrameMisses: number().int()
|
|
14006
|
-
});
|
|
14007
|
-
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
13974
|
+
method(_void(), object({
|
|
14008
13975
|
id: string(),
|
|
14009
13976
|
name: string(),
|
|
14010
|
-
isPullMode: boolean().optional(),
|
|
14011
|
-
priority: number().optional(),
|
|
14012
13977
|
hwaccel: string().optional(),
|
|
14013
13978
|
probedBestHwaccel: string().optional()
|
|
14014
|
-
})), method(
|
|
14015
|
-
sessionId: string(),
|
|
14016
|
-
nodeId: string()
|
|
14017
|
-
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14018
|
-
sessionId: string(),
|
|
14019
|
-
packet: EncodedPacketSchema
|
|
14020
|
-
}), _void()), method(object({
|
|
14021
|
-
sessionId: string(),
|
|
14022
|
-
url: string()
|
|
14023
|
-
}), _void()), method(object({
|
|
14024
|
-
sessionId: string(),
|
|
14025
|
-
maxCount: number().default(1),
|
|
14026
|
-
waitMs: number().optional()
|
|
14027
|
-
}), array(DecodedFrameSchema)), method(object({
|
|
14028
|
-
sessionId: string(),
|
|
14029
|
-
maxCount: number().default(1),
|
|
14030
|
-
waitMs: number().optional()
|
|
14031
|
-
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14032
|
-
sessionId: string(),
|
|
14033
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14034
|
-
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14035
|
-
sessionId: string(),
|
|
14036
|
-
codec: string(),
|
|
14037
|
-
outputFormat: string(),
|
|
14038
|
-
createdAtMs: number()
|
|
14039
|
-
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
13979
|
+
})), method(_void(), object({ backend: string() }), {
|
|
14040
13980
|
kind: "mutation",
|
|
14041
13981
|
auth: "admin"
|
|
14042
13982
|
});
|
|
@@ -15042,6 +14982,10 @@ var DeviceInfoSchema = object({
|
|
|
15042
14982
|
isCamera: boolean(),
|
|
15043
14983
|
/** Current config values — serializable snapshot */
|
|
15044
14984
|
config: record(string(), unknown()),
|
|
14985
|
+
/** Paths inside `config` the device's schema declares secret (D783) —
|
|
14986
|
+
* what the non-admin redaction withholds. Paths, never values. Absent
|
|
14987
|
+
* when the owning runner has not reported them. */
|
|
14988
|
+
secretConfigPaths: array(string()).optional(),
|
|
15045
14989
|
/** Hardware + identity blob (manufacturer / model / firmware / sn /
|
|
15046
14990
|
* uid / mac / …). Populated by drivers; editable via setMetadata. */
|
|
15047
14991
|
metadata: record(string(), unknown()).nullable().optional(),
|
|
@@ -15247,7 +15191,13 @@ var DeviceRegisterPayloadSchema = object({
|
|
|
15247
15191
|
* call (workers re-register on init), so probe-driven updates
|
|
15248
15192
|
* (e.g. PTZ flag flipping after the abilities probe) propagate. */
|
|
15249
15193
|
features: array(string()).optional(),
|
|
15250
|
-
config: record(string(), unknown())
|
|
15194
|
+
config: record(string(), unknown()),
|
|
15195
|
+
/** Config paths the device's own schema DECLARES secret
|
|
15196
|
+
* (`.meta({ secret: true })` — dotted, `[]` for array items, e.g.
|
|
15197
|
+
* `connection.password`). Re-published on every register; the non-admin
|
|
15198
|
+
* redaction withholds them at any depth (D783). Optional: an older runner
|
|
15199
|
+
* omits it and the keyword backstop applies. */
|
|
15200
|
+
secretConfigPaths: array(string()).optional()
|
|
15251
15201
|
});
|
|
15252
15202
|
var DeviceRemovePayloadSchema = object({ deviceId: number() });
|
|
15253
15203
|
var DevicePersistConfigPayloadSchema = object({
|
|
@@ -16074,6 +16024,12 @@ method(_void(), array(string()).readonly(), { auth: "admin" }), method(object({
|
|
|
16074
16024
|
kind: "mutation",
|
|
16075
16025
|
auth: "admin"
|
|
16076
16026
|
});
|
|
16027
|
+
var HUB_ADDRESS_ROLES = [
|
|
16028
|
+
"appConnections",
|
|
16029
|
+
"notificationTaps",
|
|
16030
|
+
"internal",
|
|
16031
|
+
"publicEndpoint"
|
|
16032
|
+
];
|
|
16077
16033
|
/**
|
|
16078
16034
|
* Transport bounds for AI capability methods.
|
|
16079
16035
|
*
|
|
@@ -16900,7 +16856,14 @@ var LoginMethodContributionSchema = discriminatedUnion("kind", [
|
|
|
16900
16856
|
icon: string().optional(),
|
|
16901
16857
|
/** Addon-owned HTTP route the button navigates to (GET). */
|
|
16902
16858
|
startUrl: string(),
|
|
16903
|
-
stage: LoginStageEnum
|
|
16859
|
+
stage: LoginStageEnum,
|
|
16860
|
+
/**
|
|
16861
|
+
* The provider names an external identity a signed-in user can link to
|
|
16862
|
+
* their own account (D782): `auth.listLinkableProviders` /
|
|
16863
|
+
* `beginExternalLink` offer exactly the redirect methods that set this,
|
|
16864
|
+
* whatever their id. Absent / false — a login button only (magic-link).
|
|
16865
|
+
*/
|
|
16866
|
+
linkable: boolean().optional()
|
|
16904
16867
|
}),
|
|
16905
16868
|
object({
|
|
16906
16869
|
kind: literal("widget"),
|
|
@@ -18638,6 +18601,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
18638
18601
|
"stream-offline",
|
|
18639
18602
|
"node-online",
|
|
18640
18603
|
"node-offline",
|
|
18604
|
+
"node-restarting",
|
|
18605
|
+
"node-updating",
|
|
18641
18606
|
"node-inference-unavailable",
|
|
18642
18607
|
"detection-blind",
|
|
18643
18608
|
"addon-crash-loop",
|
|
@@ -20243,7 +20208,13 @@ var NcAlarmModeDelaysListSchema = array(object({
|
|
|
20243
20208
|
* Absent = false (logged, not sent). Even when true it is not sent when that same sensor
|
|
20244
20209
|
* is the one that starts the entry delay — the entry-delay notification already names it.
|
|
20245
20210
|
*/
|
|
20246
|
-
notifySensorRewatched: boolean().optional()
|
|
20211
|
+
notifySensorRewatched: boolean().optional(),
|
|
20212
|
+
/**
|
|
20213
|
+
* D735: notify "ignored" when a sensor this arm bypassed really MOVED while armed (its own
|
|
20214
|
+
* change time is after the arm) and set nothing off. Absent = false (logged, not sent). A
|
|
20215
|
+
* re-sync, a recovery from `unavailable` or a duplicate is never announced, switch or not.
|
|
20216
|
+
*/
|
|
20217
|
+
notifySensorIgnored: boolean().optional()
|
|
20247
20218
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20248
20219
|
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20249
20220
|
mode: AlarmArmModeSchema,
|
|
@@ -20256,7 +20227,9 @@ var NcAlarmModeDelaysEditListSchema = array(object({
|
|
|
20256
20227
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20257
20228
|
notifyDuringEntryDelay: boolean().nullable().optional(),
|
|
20258
20229
|
/** D706: set the switch, or `null` to clear it (back to the default, false). */
|
|
20259
|
-
notifySensorRewatched: boolean().nullable().optional()
|
|
20230
|
+
notifySensorRewatched: boolean().nullable().optional(),
|
|
20231
|
+
/** D735: set the switch, or `null` to clear it (back to the default, false). */
|
|
20232
|
+
notifySensorIgnored: boolean().nullable().optional()
|
|
20260
20233
|
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20261
20234
|
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20262
20235
|
var NcAlarmNonBlockingEditSchema = object({
|
|
@@ -21234,8 +21207,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
21234
21207
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
21235
21208
|
stepId: "face-embedding",
|
|
21236
21209
|
key: "minLandmarkFaceSize",
|
|
21237
|
-
label: "Min face size
|
|
21238
|
-
description: "
|
|
21210
|
+
label: "Min face size to embed (detection-frame px)",
|
|
21211
|
+
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.",
|
|
21239
21212
|
type: "slider",
|
|
21240
21213
|
min: 0,
|
|
21241
21214
|
max: 64,
|
|
@@ -22287,7 +22260,13 @@ var RetrainFrameSchema = object({
|
|
|
22287
22260
|
sizeBytes: number().int(),
|
|
22288
22261
|
width: number().int(),
|
|
22289
22262
|
height: number().int(),
|
|
22290
|
-
copiedAt: number()
|
|
22263
|
+
copiedAt: number(),
|
|
22264
|
+
/** When the CAMERA captured the frame. Absent on a copy taken before D785. */
|
|
22265
|
+
capturedAt: number().optional(),
|
|
22266
|
+
/** The operator's "every subject in this frame is boxed". Detector
|
|
22267
|
+
* evaluation keeps only complete frames: an unboxed subject would count as
|
|
22268
|
+
* a false positive. */
|
|
22269
|
+
complete: boolean()
|
|
22291
22270
|
});
|
|
22292
22271
|
/** Why a copy-on-select could not be honoured — named, never a silent skip. */
|
|
22293
22272
|
var RetrainCopyRefusalSchema = _enum([
|
|
@@ -22308,6 +22287,51 @@ var RetrainFrameListSchema = object({
|
|
|
22308
22287
|
/** What the page pre-selects — the native key frame when one survives. */
|
|
22309
22288
|
autoPickMediaId: number().int().optional()
|
|
22310
22289
|
});
|
|
22290
|
+
/**
|
|
22291
|
+
* Which frames an annotated export carries. Every field narrows; an empty
|
|
22292
|
+
* filter is every annotated copy. A dataset VERSION is a frozen `frameIds`
|
|
22293
|
+
* list owned by whoever trains (the training orchestrator), so `frameIds` is
|
|
22294
|
+
* the primitive a version export uses; `batchId` re-selects what an earlier
|
|
22295
|
+
* export carried (`exportedInBatch`).
|
|
22296
|
+
*/
|
|
22297
|
+
var RetrainExportFilterSchema = object({
|
|
22298
|
+
deviceIds: array(number()).optional(),
|
|
22299
|
+
frameIds: array(string()).max(2e4).optional(),
|
|
22300
|
+
batchId: string().optional(),
|
|
22301
|
+
/** Only frames the operator marked complete (all subjects boxed). */
|
|
22302
|
+
completeOnly: boolean().optional()
|
|
22303
|
+
});
|
|
22304
|
+
/**
|
|
22305
|
+
* `frames`: the full frame copies, boxes in `annotations.json`.
|
|
22306
|
+
* `crops`: additionally one JPEG per subject, cut with the runtime detail-crop
|
|
22307
|
+
* convention — the classifier layout.
|
|
22308
|
+
*/
|
|
22309
|
+
var RetrainExportLayoutSchema = _enum(["frames", "crops"]);
|
|
22310
|
+
/**
|
|
22311
|
+
* Where `writeRetrainArchive` streams the tar: one HTTP request whose body is
|
|
22312
|
+
* the archive, sent chunk by chunk. Covers a presigned PUT and a provider
|
|
22313
|
+
* addon's data-plane upload route alike. Headers are sent verbatim and never
|
|
22314
|
+
* logged.
|
|
22315
|
+
*/
|
|
22316
|
+
var RetrainArchiveTargetSchema = object({
|
|
22317
|
+
kind: literal("http"),
|
|
22318
|
+
method: _enum(["PUT", "POST"]),
|
|
22319
|
+
url: string().url(),
|
|
22320
|
+
headers: record(string(), string()).optional()
|
|
22321
|
+
});
|
|
22322
|
+
var RetrainArchiveResultSchema = object({
|
|
22323
|
+
batchId: string(),
|
|
22324
|
+
frames: number().int(),
|
|
22325
|
+
crops: number().int(),
|
|
22326
|
+
annotations: number().int(),
|
|
22327
|
+
/** Frames planned but not shipped (unreadable copy, path too long). */
|
|
22328
|
+
missing: number().int(),
|
|
22329
|
+
bytes: number().int(),
|
|
22330
|
+
/** sha256 of the exact bytes sent. */
|
|
22331
|
+
sha256: string(),
|
|
22332
|
+
/** The target's HTTP status. */
|
|
22333
|
+
status: number().int()
|
|
22334
|
+
});
|
|
22311
22335
|
/** What the operator asked the assist to look for. */
|
|
22312
22336
|
var RetrainAssistSubjectSchema = discriminatedUnion("kind", [object({
|
|
22313
22337
|
kind: literal("package"),
|
|
@@ -23102,9 +23126,25 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23102
23126
|
}), RetrainTransitionResultSchema, {
|
|
23103
23127
|
kind: "mutation",
|
|
23104
23128
|
auth: "admin"
|
|
23105
|
-
}), method(
|
|
23129
|
+
}), method(RetrainExportFilterSchema.extend({ layout: RetrainExportLayoutSchema.optional() }), object({ url: string() }), {
|
|
23106
23130
|
kind: "query",
|
|
23107
23131
|
auth: "admin"
|
|
23132
|
+
}), method(object({
|
|
23133
|
+
deviceId: number(),
|
|
23134
|
+
trackId: string(),
|
|
23135
|
+
frameId: string(),
|
|
23136
|
+
complete: boolean()
|
|
23137
|
+
}), RetrainFrameSchema, {
|
|
23138
|
+
kind: "mutation",
|
|
23139
|
+
auth: "admin"
|
|
23140
|
+
}), method(object({
|
|
23141
|
+
filter: RetrainExportFilterSchema,
|
|
23142
|
+
layout: RetrainExportLayoutSchema,
|
|
23143
|
+
target: RetrainArchiveTargetSchema
|
|
23144
|
+
}), RetrainArchiveResultSchema, {
|
|
23145
|
+
kind: "mutation",
|
|
23146
|
+
auth: "admin",
|
|
23147
|
+
timeoutMs: 60 * 6e4
|
|
23108
23148
|
}), method(object({
|
|
23109
23149
|
/** Which of the three event tables owns the row. */
|
|
23110
23150
|
ownerType: EventOwnerTypeSchema,
|
|
@@ -23155,6 +23195,34 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
23155
23195
|
timestamp: number()
|
|
23156
23196
|
});
|
|
23157
23197
|
/**
|
|
23198
|
+
* A root model's boxes standing in for one crop-kind step's own inference
|
|
23199
|
+
* (D730) — see `runPipeline.suppliedRoot`.
|
|
23200
|
+
*/
|
|
23201
|
+
var SuppliedRootOutputSchema = object({
|
|
23202
|
+
stepId: string(),
|
|
23203
|
+
/** The root model that drew the boxes — stamped on the result. */
|
|
23204
|
+
modelId: string(),
|
|
23205
|
+
detections: array(object({
|
|
23206
|
+
/** `[x1, y1, x2, y2]` in the pixels of the call's image. */
|
|
23207
|
+
bbox: tuple([
|
|
23208
|
+
number(),
|
|
23209
|
+
number(),
|
|
23210
|
+
number(),
|
|
23211
|
+
number()
|
|
23212
|
+
]),
|
|
23213
|
+
score: number(),
|
|
23214
|
+
/**
|
|
23215
|
+
* Five facial landmarks in the same pixels — a face the step's own
|
|
23216
|
+
* detector already re-found inside a root face box (D730), so its
|
|
23217
|
+
* embedder child aligns it exactly as it aligns any detected face.
|
|
23218
|
+
*/
|
|
23219
|
+
landmarks: array(object({
|
|
23220
|
+
x: number(),
|
|
23221
|
+
y: number()
|
|
23222
|
+
})).optional()
|
|
23223
|
+
})).min(1)
|
|
23224
|
+
});
|
|
23225
|
+
/**
|
|
23158
23226
|
* Reference to the frame's retained NATIVE surface + the parent crop's placement
|
|
23159
23227
|
* within the frame, so the executor can re-cut a leaf child ROI at native
|
|
23160
23228
|
* resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
|
|
@@ -23202,7 +23270,7 @@ var FrameRefSchema = object({
|
|
|
23202
23270
|
timestamp: number(),
|
|
23203
23271
|
capturedAt: number().optional()
|
|
23204
23272
|
});
|
|
23205
|
-
var ModelFormatSchema$
|
|
23273
|
+
var ModelFormatSchema$2 = _enum([
|
|
23206
23274
|
"onnx",
|
|
23207
23275
|
"coreml",
|
|
23208
23276
|
"openvino",
|
|
@@ -23220,7 +23288,7 @@ var PipelineSlotSchema = _enum([
|
|
|
23220
23288
|
var PipelineEngineChoiceSchema = object({
|
|
23221
23289
|
runtime: literal("python"),
|
|
23222
23290
|
backend: string(),
|
|
23223
|
-
format: ModelFormatSchema$
|
|
23291
|
+
format: ModelFormatSchema$2,
|
|
23224
23292
|
device: string().optional()
|
|
23225
23293
|
});
|
|
23226
23294
|
/**
|
|
@@ -23259,32 +23327,15 @@ var PipelineDefaultStepSchema = lazy(() => object({
|
|
|
23259
23327
|
group: string().optional(),
|
|
23260
23328
|
settings: record(string(), unknown()).optional()
|
|
23261
23329
|
}));
|
|
23262
|
-
var PipelineTemplateStepSchema = lazy(() => object({
|
|
23263
|
-
addonId: string(),
|
|
23264
|
-
enabled: boolean(),
|
|
23265
|
-
modelId: string(),
|
|
23266
|
-
children: array(PipelineTemplateStepSchema).readonly(),
|
|
23267
|
-
settings: record(string(), unknown()).optional()
|
|
23268
|
-
}));
|
|
23269
|
-
var PipelineTemplateSchema$1 = object({
|
|
23270
|
-
id: string(),
|
|
23271
|
-
name: string(),
|
|
23272
|
-
createdAt: string(),
|
|
23273
|
-
updatedAt: string(),
|
|
23274
|
-
engine: PipelineEngineChoiceSchema,
|
|
23275
|
-
steps: array(PipelineTemplateStepSchema).readonly()
|
|
23276
|
-
});
|
|
23277
23330
|
var PipelineModelOptionSchema = object({
|
|
23278
23331
|
id: string(),
|
|
23279
23332
|
name: string(),
|
|
23280
|
-
formats: record(string(),
|
|
23281
|
-
downloaded: boolean(),
|
|
23282
|
-
sizeMB: number()
|
|
23283
|
-
})),
|
|
23333
|
+
formats: record(string(), PipelineModelFormatStatusSchema),
|
|
23284
23334
|
group: ModelVariantGroupSchema.optional(),
|
|
23285
23335
|
legacy: boolean().optional(),
|
|
23286
23336
|
provider: ModelProviderIdSchema.optional(),
|
|
23287
|
-
defaultConfidence: number().optional()
|
|
23337
|
+
defaultConfidence: number().optional(),
|
|
23338
|
+
suppliesSteps: array(RootStepSupplySchema).readonly().optional()
|
|
23288
23339
|
});
|
|
23289
23340
|
var ConfigFieldBridge = custom();
|
|
23290
23341
|
var PipelineAddonSchemaSchema = object({
|
|
@@ -23446,6 +23497,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23446
23497
|
}), {
|
|
23447
23498
|
kind: "mutation",
|
|
23448
23499
|
auth: "admin"
|
|
23500
|
+
}), method(object({
|
|
23501
|
+
nodeId: string(),
|
|
23502
|
+
deviceIds: array(number()).readonly().optional(),
|
|
23503
|
+
dryRun: boolean()
|
|
23504
|
+
}), object({
|
|
23505
|
+
entries: array(object({
|
|
23506
|
+
deviceId: number(),
|
|
23507
|
+
keys: array(string()).readonly()
|
|
23508
|
+
})).readonly(),
|
|
23509
|
+
refused: array(object({
|
|
23510
|
+
deviceId: number(),
|
|
23511
|
+
reason: string()
|
|
23512
|
+
})).readonly()
|
|
23513
|
+
}), {
|
|
23514
|
+
kind: "mutation",
|
|
23515
|
+
auth: "admin"
|
|
23449
23516
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
23450
23517
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
23451
23518
|
deviceKey: string(),
|
|
@@ -23471,22 +23538,14 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23471
23538
|
}), method(_void(), PipelineSchemaSchema), method(_void(), array(PipelineDefaultStepSchema).readonly().nullable()), method(_void(), PipelineConfigBridge), method(_void(), ConfigUISchemaBridge), method(object({
|
|
23472
23539
|
steps: array(PipelineStepInputSchema),
|
|
23473
23540
|
deviceKey: string().optional()
|
|
23474
|
-
}), PipelineValidationResultSchema), method(_void(),
|
|
23475
|
-
name: string(),
|
|
23476
|
-
steps: array(PipelineTemplateStepSchema).readonly(),
|
|
23477
|
-
engine: PipelineEngineChoiceSchema
|
|
23478
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({
|
|
23479
|
-
id: string(),
|
|
23480
|
-
name: string().optional(),
|
|
23481
|
-
steps: array(PipelineTemplateStepSchema).readonly().optional()
|
|
23482
|
-
}), PipelineTemplateSchema$1, { kind: "mutation" }), method(object({ id: string() }), _void(), { kind: "mutation" }), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23541
|
+
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
23483
23542
|
addonId: string(),
|
|
23484
23543
|
modelId: string(),
|
|
23485
|
-
format: ModelFormatSchema$
|
|
23544
|
+
format: ModelFormatSchema$2
|
|
23486
23545
|
}), DownloadModelResultSchema, { kind: "mutation" }), method(object({
|
|
23487
23546
|
addonId: string(),
|
|
23488
23547
|
modelId: string(),
|
|
23489
|
-
format: ModelFormatSchema$
|
|
23548
|
+
format: ModelFormatSchema$2
|
|
23490
23549
|
}), object({ success: literal(true) }), { kind: "mutation" }), method(object({
|
|
23491
23550
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23492
23551
|
frame: FrameInputSchema.optional(),
|
|
@@ -23552,7 +23611,16 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23552
23611
|
* `device-not-servable`), and nothing reaches the camera's live
|
|
23553
23612
|
* trace stream. Absent ⇒ unchanged behaviour.
|
|
23554
23613
|
*/
|
|
23555
|
-
replay: literal(true).optional()
|
|
23614
|
+
replay: literal(true).optional(),
|
|
23615
|
+
/**
|
|
23616
|
+
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
23617
|
+
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
23618
|
+
* step (a Frigate+ `license_plate` for `plate-detection`): the step is
|
|
23619
|
+
* NOT inferred, these boxes are its output, and its children (the plate
|
|
23620
|
+
* reader) run on them through their own crop policy. Boxes are in the
|
|
23621
|
+
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
23622
|
+
*/
|
|
23623
|
+
suppliedRoot: SuppliedRootOutputSchema.optional()
|
|
23556
23624
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
23557
23625
|
steps: array(PipelineStepInputSchema).min(1),
|
|
23558
23626
|
frames: array(FrameInputSchema).min(1).max(255),
|
|
@@ -23634,6 +23702,375 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
23634
23702
|
filename: string().optional(),
|
|
23635
23703
|
settings: record(string(), unknown()).optional()
|
|
23636
23704
|
}), AudioTestResultSchema, { kind: "mutation" }), method(_void(), ConfigUISchemaNullableBridge);
|
|
23705
|
+
/**
|
|
23706
|
+
* The wire shapes of the Auto tune plan and apply (D745), used by the
|
|
23707
|
+
* `pipeline-orchestrator` cap. The recommender's own types
|
|
23708
|
+
* (`recommend.ts`) are the TS face of the same data; these
|
|
23709
|
+
* schemas are what crosses the cap boundary.
|
|
23710
|
+
*/
|
|
23711
|
+
var ModelFormatSchema$1 = _enum(MODEL_FORMATS);
|
|
23712
|
+
/** The operator's range for it. */
|
|
23713
|
+
var MIN_SESSIONS_PER_DEVICE_RANGE = {
|
|
23714
|
+
min: 1,
|
|
23715
|
+
max: 8
|
|
23716
|
+
};
|
|
23717
|
+
var HardwareClassIdSchema = _enum([
|
|
23718
|
+
"intel-core-ultra",
|
|
23719
|
+
"intel-n-series",
|
|
23720
|
+
"apple-m-base",
|
|
23721
|
+
"apple-m-pro",
|
|
23722
|
+
"unknown"
|
|
23723
|
+
]);
|
|
23724
|
+
var AcceleratorKindSchema = _enum([
|
|
23725
|
+
"intel-npu",
|
|
23726
|
+
"intel-igpu",
|
|
23727
|
+
"x86-cpu",
|
|
23728
|
+
"arm-cpu",
|
|
23729
|
+
"apple-ane",
|
|
23730
|
+
"coral"
|
|
23731
|
+
]);
|
|
23732
|
+
var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
23733
|
+
object({
|
|
23734
|
+
kind: literal("capacity"),
|
|
23735
|
+
sessions: number(),
|
|
23736
|
+
minSessions: number()
|
|
23737
|
+
}),
|
|
23738
|
+
object({
|
|
23739
|
+
kind: literal("tie-faster"),
|
|
23740
|
+
over: string(),
|
|
23741
|
+
recallDelta: number()
|
|
23742
|
+
}),
|
|
23743
|
+
object({
|
|
23744
|
+
kind: literal("stepped-down"),
|
|
23745
|
+
from: string(),
|
|
23746
|
+
to: string(),
|
|
23747
|
+
limitedBy: string()
|
|
23748
|
+
}),
|
|
23749
|
+
object({
|
|
23750
|
+
kind: literal("no-fit-lightest"),
|
|
23751
|
+
sessions: number(),
|
|
23752
|
+
minSessions: number()
|
|
23753
|
+
}),
|
|
23754
|
+
object({
|
|
23755
|
+
kind: literal("derived-latency"),
|
|
23756
|
+
modelId: string()
|
|
23757
|
+
}),
|
|
23758
|
+
object({ kind: literal("cpu-device") }),
|
|
23759
|
+
object({ kind: literal("coral-untouched") }),
|
|
23760
|
+
object({ kind: literal("device-disabled") }),
|
|
23761
|
+
object({ kind: literal("device-unavailable") }),
|
|
23762
|
+
object({ kind: literal("node-offline") }),
|
|
23763
|
+
object({ kind: literal("no-hardware-facts") }),
|
|
23764
|
+
object({
|
|
23765
|
+
kind: literal("no-measured-data"),
|
|
23766
|
+
hardwareClass: HardwareClassIdSchema
|
|
23767
|
+
}),
|
|
23768
|
+
object({
|
|
23769
|
+
kind: literal("no-family-build"),
|
|
23770
|
+
format: ModelFormatSchema$1
|
|
23771
|
+
})
|
|
23772
|
+
]);
|
|
23773
|
+
var DeviceModelChoiceSchema = object({
|
|
23774
|
+
modelId: string(),
|
|
23775
|
+
p50Ms: number(),
|
|
23776
|
+
fps: number(),
|
|
23777
|
+
measured: boolean(),
|
|
23778
|
+
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
23779
|
+
capacitySessions: number(),
|
|
23780
|
+
personRecall: number()
|
|
23781
|
+
});
|
|
23782
|
+
var DeviceRecommendationSchema = object({
|
|
23783
|
+
deviceKey: string(),
|
|
23784
|
+
accelerator: AcceleratorKindSchema.nullable(),
|
|
23785
|
+
enabled: boolean(),
|
|
23786
|
+
available: boolean(),
|
|
23787
|
+
chosen: DeviceModelChoiceSchema.nullable(),
|
|
23788
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23789
|
+
});
|
|
23790
|
+
var NodeRecommendationSchema = object({
|
|
23791
|
+
nodeId: string(),
|
|
23792
|
+
reachable: boolean(),
|
|
23793
|
+
hardwareClass: HardwareClassIdSchema.nullable(),
|
|
23794
|
+
cpuModel: string().nullable(),
|
|
23795
|
+
skipped: boolean(),
|
|
23796
|
+
acceleratorModelId: string().nullable(),
|
|
23797
|
+
devices: array(DeviceRecommendationSchema).readonly(),
|
|
23798
|
+
reasons: array(RecommendationReasonSchema).readonly()
|
|
23799
|
+
});
|
|
23800
|
+
var ModelPinChangeSchema = object({
|
|
23801
|
+
stepId: string(),
|
|
23802
|
+
before: string().nullable(),
|
|
23803
|
+
after: string().nullable()
|
|
23804
|
+
});
|
|
23805
|
+
var NodeDeviceChangeSchema = object({
|
|
23806
|
+
nodeId: string(),
|
|
23807
|
+
deviceKey: string(),
|
|
23808
|
+
madeExplicit: boolean(),
|
|
23809
|
+
modelPins: array(ModelPinChangeSchema).readonly(),
|
|
23810
|
+
thresholds: array(object({
|
|
23811
|
+
stepId: string(),
|
|
23812
|
+
keys: array(string()).readonly()
|
|
23813
|
+
})).readonly()
|
|
23814
|
+
});
|
|
23815
|
+
var CameraOverrideClearSchema = object({
|
|
23816
|
+
deviceId: number(),
|
|
23817
|
+
source: _enum(["step-override", "wholesale"]),
|
|
23818
|
+
nodeId: string(),
|
|
23819
|
+
deviceKey: string().nullable(),
|
|
23820
|
+
stepId: string(),
|
|
23821
|
+
modelIdBefore: string().nullable(),
|
|
23822
|
+
keys: array(string()).readonly()
|
|
23823
|
+
});
|
|
23824
|
+
var DetectorStoreClearSchema = object({
|
|
23825
|
+
deviceId: number(),
|
|
23826
|
+
keys: array(string()).readonly()
|
|
23827
|
+
});
|
|
23828
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
23829
|
+
object({
|
|
23830
|
+
kind: literal("detector-store-cluster-wide"),
|
|
23831
|
+
skippedNodes: array(string()).readonly()
|
|
23832
|
+
}),
|
|
23833
|
+
object({
|
|
23834
|
+
kind: literal("detector-store-unreadable"),
|
|
23835
|
+
error: string()
|
|
23836
|
+
}),
|
|
23837
|
+
object({
|
|
23838
|
+
kind: literal("coral-enabled"),
|
|
23839
|
+
nodeId: string(),
|
|
23840
|
+
deviceKey: string()
|
|
23841
|
+
})
|
|
23842
|
+
]);
|
|
23843
|
+
var AutoTuneOptionsSchema = object({
|
|
23844
|
+
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
23845
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23846
|
+
/**
|
|
23847
|
+
* The least number of parallel sessions every device must sustain at the
|
|
23848
|
+
* camera rate with the headroom kept free (D755). The most accurate model
|
|
23849
|
+
* that reaches it wins.
|
|
23850
|
+
*/
|
|
23851
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23852
|
+
});
|
|
23853
|
+
var AutoTunePlanSchema = object({
|
|
23854
|
+
/** Hash of everything the apply will write — the apply refuses a different one. */
|
|
23855
|
+
planHash: string(),
|
|
23856
|
+
family: literal("yolov9"),
|
|
23857
|
+
headroom: number(),
|
|
23858
|
+
minSessionsPerDevice: number(),
|
|
23859
|
+
/** The detection rate a session is counted at (the fastest camera running the pipeline root). */
|
|
23860
|
+
cameraFps: number(),
|
|
23861
|
+
generatedAt: number(),
|
|
23862
|
+
nodes: array(NodeRecommendationSchema).readonly(),
|
|
23863
|
+
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
23864
|
+
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
23865
|
+
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
23866
|
+
warnings: array(AutoTuneWarningSchema).readonly()
|
|
23867
|
+
});
|
|
23868
|
+
var AutoTuneApplyInputSchema = object({
|
|
23869
|
+
planHash: string(),
|
|
23870
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23871
|
+
minSessionsPerDevice: number().int().min(MIN_SESSIONS_PER_DEVICE_RANGE.min).max(MIN_SESSIONS_PER_DEVICE_RANGE.max).default(2)
|
|
23872
|
+
});
|
|
23873
|
+
var AutoTunePhaseResultSchema = object({
|
|
23874
|
+
phase: _enum([
|
|
23875
|
+
"download",
|
|
23876
|
+
"camera-overrides",
|
|
23877
|
+
"detector-thresholds",
|
|
23878
|
+
"node-models",
|
|
23879
|
+
"redispatch"
|
|
23880
|
+
]),
|
|
23881
|
+
ok: boolean(),
|
|
23882
|
+
detail: string()
|
|
23883
|
+
});
|
|
23884
|
+
var AutoTuneApplyResultSchema = discriminatedUnion("kind", [
|
|
23885
|
+
object({
|
|
23886
|
+
kind: literal("applied"),
|
|
23887
|
+
planHash: string(),
|
|
23888
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23889
|
+
}),
|
|
23890
|
+
object({
|
|
23891
|
+
kind: literal("aborted"),
|
|
23892
|
+
phases: array(AutoTunePhaseResultSchema).readonly()
|
|
23893
|
+
}),
|
|
23894
|
+
object({
|
|
23895
|
+
kind: literal("stale"),
|
|
23896
|
+
plan: AutoTunePlanSchema
|
|
23897
|
+
}),
|
|
23898
|
+
object({
|
|
23899
|
+
kind: literal("refused"),
|
|
23900
|
+
reason: _enum(["apply-in-progress"])
|
|
23901
|
+
})
|
|
23902
|
+
]);
|
|
23903
|
+
/**
|
|
23904
|
+
* Wire shapes of the Load balancing surface (D748): the session placement
|
|
23905
|
+
* policy, the atomic share write, the observed placement statistics, the
|
|
23906
|
+
* hardware share suggestion and the stale device pins.
|
|
23907
|
+
*/
|
|
23908
|
+
/**
|
|
23909
|
+
* How a new detection session picks its node and device.
|
|
23910
|
+
* - `least-loaded` — the historical rule: lowest `attached / weight`, a
|
|
23911
|
+
* constant node order at a tie (D37). An idle node always ties at 0, so a
|
|
23912
|
+
* weight only bites once a node already holds a session.
|
|
23913
|
+
* - `share` — the share of PARALLEL sessions is held to the weights, and a
|
|
23914
|
+
* full or drowning node yields to a free one (D748).
|
|
23915
|
+
*/
|
|
23916
|
+
var SessionPlacementPolicySchema = _enum(["least-loaded", "share"]);
|
|
23917
|
+
var LoadBalancingSharesInputSchema = object({
|
|
23918
|
+
/** nodeId → share (> 0). A node left out keeps its weight. */
|
|
23919
|
+
nodes: record(string(), number().positive()).default({}),
|
|
23920
|
+
/** nodeId → deviceKey → share (> 0). A device left out keeps its weight. */
|
|
23921
|
+
devices: record(string(), record(string(), number().positive())).default({})
|
|
23922
|
+
});
|
|
23923
|
+
var PlacementStatsInputSchema = object({
|
|
23924
|
+
/** Window the observed shares are averaged over (default 1 h, max 24 h). */
|
|
23925
|
+
windowMs: number().int().min(6e4).max(1440 * 60 * 1e3).default(3600 * 1e3) });
|
|
23926
|
+
var PlacementDeviceStatsSchema = object({
|
|
23927
|
+
deviceKey: string(),
|
|
23928
|
+
/** Sessions running on this device now. */
|
|
23929
|
+
sessionsNow: number(),
|
|
23930
|
+
/** Sessions started on this device inside the window. */
|
|
23931
|
+
sessionsStarted: number(),
|
|
23932
|
+
/** Time-weighted share of the node's parallel sessions over the window (0–1); null = no session ran. */
|
|
23933
|
+
observedShare: number().nullable()
|
|
23934
|
+
});
|
|
23935
|
+
var PlacementNodeStatsSchema = object({
|
|
23936
|
+
nodeId: string(),
|
|
23937
|
+
sessionsNow: number(),
|
|
23938
|
+
sessionsStarted: number(),
|
|
23939
|
+
/** Time-weighted share of the cluster's parallel sessions over the window (0–1); null = none ran. */
|
|
23940
|
+
observedShare: number().nullable(),
|
|
23941
|
+
/** Most sessions this node ran at once inside the window. */
|
|
23942
|
+
peakSessions: number(),
|
|
23943
|
+
/** Sessions a share election handed elsewhere because this node was full or drowning. */
|
|
23944
|
+
yieldsAway: number(),
|
|
23945
|
+
devices: array(PlacementDeviceStatsSchema).readonly()
|
|
23946
|
+
});
|
|
23947
|
+
/** A camera's device pin that the session path cannot honour. */
|
|
23948
|
+
var StaleDevicePinSchema = object({
|
|
23949
|
+
deviceId: number(),
|
|
23950
|
+
deviceKey: string(),
|
|
23951
|
+
/** `disabled` — the key exists on some node but is not enabled anywhere; `absent` — no node has it. */
|
|
23952
|
+
reason: _enum(["disabled", "absent"])
|
|
23953
|
+
});
|
|
23954
|
+
var PlacementStatsSchema = object({
|
|
23955
|
+
policy: SessionPlacementPolicySchema,
|
|
23956
|
+
windowMs: number(),
|
|
23957
|
+
/** How much of the window was actually observed (the hub keeps it in memory). */
|
|
23958
|
+
observedForMs: number(),
|
|
23959
|
+
sessionsNow: number(),
|
|
23960
|
+
/** Most parallel sessions across the cluster inside the window. */
|
|
23961
|
+
clusterPeakSessions: number(),
|
|
23962
|
+
nodes: array(PlacementNodeStatsSchema).readonly(),
|
|
23963
|
+
stalePins: array(StaleDevicePinSchema).readonly()
|
|
23964
|
+
});
|
|
23965
|
+
/**
|
|
23966
|
+
* Where an automatic share's capacity comes from (D755).
|
|
23967
|
+
* - `hardware` — the static capacity of each device at its Auto tune model:
|
|
23968
|
+
* the measured latency table for the node's hardware class.
|
|
23969
|
+
* - `benchmark` — the node's own measured capacity (node benchmark results).
|
|
23970
|
+
* A node with no results falls back to `hardware`, and says so.
|
|
23971
|
+
*/
|
|
23972
|
+
var CapacitySourceSchema = _enum(["hardware", "benchmark"]);
|
|
23973
|
+
/** Why a node under the `benchmark` source was sized from hardware instead. */
|
|
23974
|
+
var CapacityFallbackSchema = _enum(["no-benchmark-results", "partial-benchmark-results"]);
|
|
23975
|
+
var SuggestSharesInputSchema = object({
|
|
23976
|
+
headroom: number().min(.3).max(.5).default(.4),
|
|
23977
|
+
/** Default `hardware`. */
|
|
23978
|
+
source: CapacitySourceSchema.default("hardware")
|
|
23979
|
+
});
|
|
23980
|
+
var SuggestedDeviceShareSchema = object({
|
|
23981
|
+
deviceKey: string(),
|
|
23982
|
+
/** Share of the node (0–100, rounded). */
|
|
23983
|
+
share: number(),
|
|
23984
|
+
modelId: string().nullable(),
|
|
23985
|
+
/** Inferences per second at that model, from the measured table; null when sized by a benchmark. */
|
|
23986
|
+
fps: number().nullable(),
|
|
23987
|
+
/** False for a table cell derived from another chip; true for a measured cell or a benchmark. */
|
|
23988
|
+
measured: boolean(),
|
|
23989
|
+
/**
|
|
23990
|
+
* Advisory session cap: ⌊fps × (1 − headroom) / camera fps⌋ from the table,
|
|
23991
|
+
* or the benchmark's measured max sessions. Never enforced.
|
|
23992
|
+
*/
|
|
23993
|
+
suggestedMaxSessions: number().nullable()
|
|
23994
|
+
});
|
|
23995
|
+
var SuggestedNodeShareSchema = object({
|
|
23996
|
+
nodeId: string(),
|
|
23997
|
+
/** Share of the cluster (0–100, rounded); null = node skipped (offline, unknown hardware). */
|
|
23998
|
+
share: number().nullable(),
|
|
23999
|
+
/** Parallel sessions the node sustains at the suggested models with the headroom kept free. */
|
|
24000
|
+
capacitySessions: number(),
|
|
24001
|
+
devices: array(SuggestedDeviceShareSchema).readonly(),
|
|
24002
|
+
skippedReason: string().nullable(),
|
|
24003
|
+
/** What this node's capacity was read from; null when the node is skipped. */
|
|
24004
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24005
|
+
/** Set when the `benchmark` source was asked for and this node used `hardware`. */
|
|
24006
|
+
capacityFallback: CapacityFallbackSchema.nullable()
|
|
24007
|
+
});
|
|
24008
|
+
var SuggestSharesResultSchema = object({
|
|
24009
|
+
headroom: number(),
|
|
24010
|
+
/** The source asked for; each node says what it actually used. */
|
|
24011
|
+
source: CapacitySourceSchema,
|
|
24012
|
+
/** Camera detection rate the capacity is counted in (the fastest camera's fps). */
|
|
24013
|
+
cameraFps: number(),
|
|
24014
|
+
/** The Auto tune capacity floor the models were picked at. */
|
|
24015
|
+
minSessionsPerDevice: number(),
|
|
24016
|
+
nodes: array(SuggestedNodeShareSchema).readonly()
|
|
24017
|
+
});
|
|
24018
|
+
/**
|
|
24019
|
+
* Where the node and device shares come from (D750, D755).
|
|
24020
|
+
* - `hardware` (default) — computed by the system from each node's static
|
|
24021
|
+
* capacity (its accelerators at their Auto tune models, from the measured
|
|
24022
|
+
* latency table), recomputed whenever a node or device joins, leaves, is
|
|
24023
|
+
* switched on or off, or changes model. No load input.
|
|
24024
|
+
* - `benchmark` — the same, from each node's measured capacity (node
|
|
24025
|
+
* benchmark results); a node without results falls back to `hardware`.
|
|
24026
|
+
* - `manual` — the operator's stored sliders.
|
|
24027
|
+
* Either way a node or device that cannot take sessions gives its share to
|
|
24028
|
+
* the others in proportion; the stored values are never rewritten for that.
|
|
24029
|
+
*/
|
|
24030
|
+
var ShareSourceSchema = _enum([
|
|
24031
|
+
"hardware",
|
|
24032
|
+
"benchmark",
|
|
24033
|
+
"manual"
|
|
24034
|
+
]);
|
|
24035
|
+
var SetShareSourceInputSchema = object({ source: ShareSourceSchema });
|
|
24036
|
+
object({
|
|
24037
|
+
nodes: record(string(), number()),
|
|
24038
|
+
devices: record(string(), record(string(), number()))
|
|
24039
|
+
});
|
|
24040
|
+
var EffectiveDeviceShareSchema = object({
|
|
24041
|
+
deviceKey: string(),
|
|
24042
|
+
/** Can take sessions now (enabled, available, can run the root). */
|
|
24043
|
+
eligible: boolean(),
|
|
24044
|
+
/** The share the source assigns, as a percentage of the node's devices. */
|
|
24045
|
+
configuredPct: number(),
|
|
24046
|
+
/** The share actually used, after an ineligible device's share went to the others. */
|
|
24047
|
+
effectivePct: number()
|
|
24048
|
+
});
|
|
24049
|
+
var EffectiveNodeShareSchema = object({
|
|
24050
|
+
nodeId: string(),
|
|
24051
|
+
eligible: boolean(),
|
|
24052
|
+
configuredPct: number(),
|
|
24053
|
+
effectivePct: number(),
|
|
24054
|
+
/** Automatic sources: what this node's share was computed from; null under `manual` or before the first answer. */
|
|
24055
|
+
capacitySource: CapacitySourceSchema.nullable(),
|
|
24056
|
+
/** Automatic `benchmark`: why this node used `hardware` instead. */
|
|
24057
|
+
capacityFallback: CapacityFallbackSchema.nullable(),
|
|
24058
|
+
devices: array(EffectiveDeviceShareSchema).readonly()
|
|
24059
|
+
});
|
|
24060
|
+
var EffectiveSharesSchema = object({
|
|
24061
|
+
source: ShareSourceSchema,
|
|
24062
|
+
policy: SessionPlacementPolicySchema,
|
|
24063
|
+
/** An automatic source with no computed answer yet: the stored sliders are used meanwhile. */
|
|
24064
|
+
autoPending: boolean(),
|
|
24065
|
+
/** When the automatic shares were last computed (ms epoch); null = never. */
|
|
24066
|
+
computedAt: number().nullable(),
|
|
24067
|
+
/** What made the system recompute them last. */
|
|
24068
|
+
trigger: string().nullable(),
|
|
24069
|
+
nodes: array(EffectiveNodeShareSchema).readonly(),
|
|
24070
|
+
/** The relative weights the election reads (before eligibility). */
|
|
24071
|
+
nodeWeights: record(string(), number()),
|
|
24072
|
+
deviceWeights: record(string(), record(string(), number()))
|
|
24073
|
+
});
|
|
23637
24074
|
object({
|
|
23638
24075
|
activeCameras: number(),
|
|
23639
24076
|
throttledCameras: number(),
|
|
@@ -24511,14 +24948,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24511
24948
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
24512
24949
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
24513
24950
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
24514
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
24515
|
-
* per
|
|
24951
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
24952
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
24953
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
24954
|
+
* (D762).
|
|
24516
24955
|
*/
|
|
24517
24956
|
devices: array(object({
|
|
24518
24957
|
deviceKey: string(),
|
|
24519
24958
|
backend: string(),
|
|
24520
|
-
attachedCameras: number()
|
|
24521
|
-
queueDepthTotal: number()
|
|
24959
|
+
attachedCameras: number()
|
|
24522
24960
|
})).default([]),
|
|
24523
24961
|
/** Hardware capability flags reported by this node. */
|
|
24524
24962
|
hardware: object({
|
|
@@ -24654,7 +25092,22 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
24654
25092
|
*/
|
|
24655
25093
|
cropJpeg: string().optional(),
|
|
24656
25094
|
parent: DetailParentSchema,
|
|
24657
|
-
steps: array(string()).optional()
|
|
25095
|
+
steps: array(string()).optional(),
|
|
25096
|
+
/**
|
|
25097
|
+
* The camera's root model already drew this step's boxes (D730): a
|
|
25098
|
+
* `license_plate` inside the parent vehicle. The named step is NOT
|
|
25099
|
+
* inferred — these FRAME-space boxes are its output — and its
|
|
25100
|
+
* requested children (the plate reader) run on them. Absent ⇒ every
|
|
25101
|
+
* requested step infers as before.
|
|
25102
|
+
*/
|
|
25103
|
+
supplied: object({
|
|
25104
|
+
stepId: string(),
|
|
25105
|
+
modelId: string(),
|
|
25106
|
+
boxes: array(object({
|
|
25107
|
+
bbox: NativeCropBboxSchema,
|
|
25108
|
+
score: number()
|
|
25109
|
+
})).min(1)
|
|
25110
|
+
}).optional()
|
|
24658
25111
|
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" }), method(object({
|
|
24659
25112
|
/** Catalog step id, e.g. `clip-embedding`. */
|
|
24660
25113
|
stepId: string(),
|
|
@@ -24717,14 +25170,6 @@ var CameraPipelineConfigSchema = object({
|
|
|
24717
25170
|
settings: record(string(), unknown()).readonly().optional()
|
|
24718
25171
|
}).nullable().optional()
|
|
24719
25172
|
});
|
|
24720
|
-
var PipelineTemplateSchema = object({
|
|
24721
|
-
id: string(),
|
|
24722
|
-
name: string(),
|
|
24723
|
-
description: string().optional(),
|
|
24724
|
-
config: CameraPipelineConfigSchema,
|
|
24725
|
-
createdAt: string(),
|
|
24726
|
-
updatedAt: string()
|
|
24727
|
-
});
|
|
24728
25173
|
var DeviceStepConfigSchema = object({
|
|
24729
25174
|
modelId: string().optional(),
|
|
24730
25175
|
settings: record(string(), unknown()).optional(),
|
|
@@ -24798,9 +25243,10 @@ var CameraStepOverridePatchSchema = object({
|
|
|
24798
25243
|
modelId: string().optional(),
|
|
24799
25244
|
settings: record(string(), unknown()).readonly().optional()
|
|
24800
25245
|
});
|
|
25246
|
+
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
24801
25247
|
var CameraPipelineSettingsSchema = object({
|
|
24802
|
-
pinnedAgentNodeId: string().optional(),
|
|
24803
25248
|
stepToggles: record(string(), boolean()).optional(),
|
|
25249
|
+
stepSettings: CameraStepSettingsSchema.optional(),
|
|
24804
25250
|
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
24805
25251
|
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
24806
25252
|
});
|
|
@@ -24833,7 +25279,10 @@ var PipelineAssignmentSchema = object({
|
|
|
24833
25279
|
});
|
|
24834
25280
|
/**
|
|
24835
25281
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
24836
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
25282
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
25283
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
25284
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
25285
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
24837
25286
|
*/
|
|
24838
25287
|
var AgentLoadSummarySchema = object({
|
|
24839
25288
|
nodeId: string(),
|
|
@@ -24922,26 +25371,27 @@ var CameraBrokerStatusSchema = object({
|
|
|
24922
25371
|
width: number(),
|
|
24923
25372
|
height: number(),
|
|
24924
25373
|
subscribers: number(),
|
|
24925
|
-
|
|
24926
|
-
|
|
25374
|
+
/**
|
|
25375
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
25376
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
25377
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
25378
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
25379
|
+
* camera and is not served (D758).
|
|
25380
|
+
*/
|
|
25381
|
+
inFps: number().nullable()
|
|
24927
25382
|
})).readonly(),
|
|
24928
25383
|
webrtcSessions: number(),
|
|
24929
25384
|
rtspRestream: boolean()
|
|
24930
25385
|
});
|
|
24931
|
-
/**
|
|
24932
|
-
|
|
24933
|
-
|
|
24934
|
-
|
|
24935
|
-
|
|
24936
|
-
|
|
24937
|
-
|
|
24938
|
-
|
|
24939
|
-
var CameraDecoderStatusSchema = object({
|
|
24940
|
-
nodeId: string(),
|
|
24941
|
-
formats: array(string()).readonly(),
|
|
24942
|
-
sessionCount: number(),
|
|
24943
|
-
shm: CameraDecoderShmSchema
|
|
24944
|
-
});
|
|
25386
|
+
/**
|
|
25387
|
+
* Decoder block — WHERE decode runs (co-located with the detection node by
|
|
25388
|
+
* construction); null when the camera has no detection node. It carries no
|
|
25389
|
+
* frame counter: the shared-memory plane whose counters it used to serve is
|
|
25390
|
+
* gone, and those fields read 0 forever. Whether frames actually flow is read
|
|
25391
|
+
* from `detection.actualFps` (frames delivered to and processed by the
|
|
25392
|
+
* detector), never from a counter nothing feeds.
|
|
25393
|
+
*/
|
|
25394
|
+
var CameraDecoderStatusSchema = object({ nodeId: string() });
|
|
24945
25395
|
/** Motion block — null when motion detection is not active for this device. */
|
|
24946
25396
|
var CameraMotionStatusSchema = object({
|
|
24947
25397
|
enabled: boolean(),
|
|
@@ -25298,12 +25748,6 @@ method(object({
|
|
|
25298
25748
|
}), object({ success: literal(true) }), {
|
|
25299
25749
|
kind: "mutation",
|
|
25300
25750
|
auth: "admin"
|
|
25301
|
-
}), method(object({
|
|
25302
|
-
agentNodeId: string(),
|
|
25303
|
-
detectWeight: number().positive().nullable()
|
|
25304
|
-
}), object({ success: literal(true) }), {
|
|
25305
|
-
kind: "mutation",
|
|
25306
|
-
auth: "admin"
|
|
25307
25751
|
}), method(object({
|
|
25308
25752
|
agentNodeId: string(),
|
|
25309
25753
|
detect: boolean().nullable().optional(),
|
|
@@ -25345,6 +25789,15 @@ method(object({
|
|
|
25345
25789
|
}), {
|
|
25346
25790
|
kind: "mutation",
|
|
25347
25791
|
auth: "admin"
|
|
25792
|
+
}), method(AutoTuneOptionsSchema, AutoTunePlanSchema, { auth: "admin" }), method(AutoTuneApplyInputSchema, AutoTuneApplyResultSchema, {
|
|
25793
|
+
kind: "mutation",
|
|
25794
|
+
auth: "admin"
|
|
25795
|
+
}), method(LoadBalancingSharesInputSchema, object({ success: literal(true) }), {
|
|
25796
|
+
kind: "mutation",
|
|
25797
|
+
auth: "admin"
|
|
25798
|
+
}), method(PlacementStatsInputSchema, PlacementStatsSchema, { auth: "admin" }), method(SuggestSharesInputSchema, SuggestSharesResultSchema, { auth: "admin" }), method(_void(), EffectiveSharesSchema, { auth: "admin" }), method(SetShareSourceInputSchema, object({ success: literal(true) }), {
|
|
25799
|
+
kind: "mutation",
|
|
25800
|
+
auth: "admin"
|
|
25348
25801
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
25349
25802
|
deviceId: number(),
|
|
25350
25803
|
addonId: string(),
|
|
@@ -25361,6 +25814,13 @@ method(object({
|
|
|
25361
25814
|
}), object({ success: literal(true) }), {
|
|
25362
25815
|
kind: "mutation",
|
|
25363
25816
|
auth: "admin"
|
|
25817
|
+
}), method(object({
|
|
25818
|
+
deviceId: number(),
|
|
25819
|
+
addonId: string(),
|
|
25820
|
+
settings: record(string(), unknown()).nullable()
|
|
25821
|
+
}), object({ success: literal(true) }), {
|
|
25822
|
+
kind: "mutation",
|
|
25823
|
+
auth: "admin"
|
|
25364
25824
|
}), method(object({
|
|
25365
25825
|
deviceId: number(),
|
|
25366
25826
|
agentNodeId: string(),
|
|
@@ -25384,25 +25844,7 @@ method(object({
|
|
|
25384
25844
|
}), method(_void(), DiskReconcileJobSchema, {
|
|
25385
25845
|
kind: "mutation",
|
|
25386
25846
|
auth: "admin"
|
|
25387
|
-
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" })
|
|
25388
|
-
name: string(),
|
|
25389
|
-
description: string().optional(),
|
|
25390
|
-
config: CameraPipelineConfigSchema
|
|
25391
|
-
}), PipelineTemplateSchema, {
|
|
25392
|
-
kind: "mutation",
|
|
25393
|
-
auth: "admin"
|
|
25394
|
-
}), method(object({
|
|
25395
|
-
id: string(),
|
|
25396
|
-
name: string().optional(),
|
|
25397
|
-
description: string().optional(),
|
|
25398
|
-
config: CameraPipelineConfigSchema.optional()
|
|
25399
|
-
}), PipelineTemplateSchema, {
|
|
25400
|
-
kind: "mutation",
|
|
25401
|
-
auth: "admin"
|
|
25402
|
-
}), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
25403
|
-
kind: "mutation",
|
|
25404
|
-
auth: "admin"
|
|
25405
|
-
});
|
|
25847
|
+
}), method(_void(), DiskReconcileJobSchema, { auth: "admin" });
|
|
25406
25848
|
/**
|
|
25407
25849
|
* Cap → event-kind mapping for the SENSOR / CONTROL cap families — the table
|
|
25408
25850
|
* `pipeline-analytics.listEventKinds` uses to turn a linked device's bound
|
|
@@ -26096,7 +26538,19 @@ var SsoBridgeClaimsSchema = object({
|
|
|
26096
26538
|
* editing a descriptor must not retroactively extend or shorten a link the
|
|
26097
26539
|
* operator already consented to.
|
|
26098
26540
|
*/
|
|
26099
|
-
refreshTtl: union([number().int().positive(), literal("never")]).optional()
|
|
26541
|
+
refreshTtl: union([number().int().positive(), literal("never")]).optional(),
|
|
26542
|
+
/**
|
|
26543
|
+
* Opaque handle of a hub-side LINK intent (D782). Set by an OIDC callback
|
|
26544
|
+
* that was started from a signed-in user's "Link" button: the finish then
|
|
26545
|
+
* links this identity to the intent's user instead of signing anyone in.
|
|
26546
|
+
* The handle carries no user id — the hub resolves it, single-use.
|
|
26547
|
+
*/
|
|
26548
|
+
linkIntent: string().optional(),
|
|
26549
|
+
/**
|
|
26550
|
+
* Verified `iss` of the id_token behind an OIDC login bridge (D782). A
|
|
26551
|
+
* subject is unique only per issuer, so a link is bound to it.
|
|
26552
|
+
*/
|
|
26553
|
+
issuer: string().optional()
|
|
26100
26554
|
});
|
|
26101
26555
|
method(object({
|
|
26102
26556
|
claims: SsoBridgeClaimsSchema,
|
|
@@ -27726,8 +28180,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
27726
28180
|
]).nullable(),
|
|
27727
28181
|
/** Input FPS from the camera (null for adaptive). */
|
|
27728
28182
|
inputFps: number().nullable(),
|
|
27729
|
-
/** Decoded FPS (null for adaptive). */
|
|
27730
|
-
decodeFps: number().nullable(),
|
|
27731
28183
|
/** Bitrate in kbps (null for adaptive). */
|
|
27732
28184
|
bitrateKbps: number().nullable()
|
|
27733
28185
|
});
|
|
@@ -28004,7 +28456,22 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28004
28456
|
* field their hints were silently stripped by the schema and the
|
|
28005
28457
|
* adaptive ladder started blind on the client's display size.
|
|
28006
28458
|
*/
|
|
28007
|
-
hints: webrtcClientHintsSchema.optional()
|
|
28459
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
28460
|
+
/**
|
|
28461
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
28462
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
28463
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
28464
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
28465
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
28466
|
+
*
|
|
28467
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
28468
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
28469
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
28470
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
28471
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
28472
|
+
* flag must not become a second door to the camera's speaker.
|
|
28473
|
+
*/
|
|
28474
|
+
talkback: boolean().optional()
|
|
28008
28475
|
}), object({
|
|
28009
28476
|
sessionId: string(),
|
|
28010
28477
|
sdpAnswer: string()
|
|
@@ -28059,6 +28526,14 @@ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), ar
|
|
|
28059
28526
|
*/
|
|
28060
28527
|
alive: boolean()
|
|
28061
28528
|
})), method(object({
|
|
28529
|
+
deviceId: number().int().nonnegative(),
|
|
28530
|
+
sessionId: string(),
|
|
28531
|
+
downlinkMbps: number().nonnegative()
|
|
28532
|
+
}), object({
|
|
28533
|
+
outcome: _enum(["switching", "held"]),
|
|
28534
|
+
tier: CamProfileSchema.nullable(),
|
|
28535
|
+
reason: string()
|
|
28536
|
+
}), { kind: "mutation" }), method(object({
|
|
28062
28537
|
deviceId: number().int().nonnegative(),
|
|
28063
28538
|
sessionId: string()
|
|
28064
28539
|
}), WebrtcSessionDebugSchema, { kind: "query" });
|
|
@@ -28298,6 +28773,59 @@ var AddonAutoUpdateSchema = ChannelWithInheritSchema;
|
|
|
28298
28773
|
var RestartAddonResultSchema = unknown();
|
|
28299
28774
|
var InstallPackageResultSchema = unknown();
|
|
28300
28775
|
var ReloadPackagesResultSchema = unknown();
|
|
28776
|
+
/**
|
|
28777
|
+
* What an uninstall did on ONE node.
|
|
28778
|
+
* - `uninstalled` — removed: runner(s) stopped, caps gone, code deleted.
|
|
28779
|
+
* - `not-installed` — the node did not have it (nothing to do).
|
|
28780
|
+
* - `refused` — protected / bootstrap package; nothing touched.
|
|
28781
|
+
* - `failed` — attempted and did not complete; `error` says why.
|
|
28782
|
+
* - `pending-reconnect` — the node is OFFLINE: its record was pruned so the
|
|
28783
|
+
* back-fill never returns the package, and the stale-addon sweep removes the
|
|
28784
|
+
* copy when the node registers again (only once the hub no longer has it).
|
|
28785
|
+
*/
|
|
28786
|
+
var UninstallNodeOutcomeSchema = _enum([
|
|
28787
|
+
"uninstalled",
|
|
28788
|
+
"not-installed",
|
|
28789
|
+
"refused",
|
|
28790
|
+
"failed",
|
|
28791
|
+
"pending-reconnect"
|
|
28792
|
+
]);
|
|
28793
|
+
var UninstallNodeResultSchema = object({
|
|
28794
|
+
nodeId: string(),
|
|
28795
|
+
outcome: UninstallNodeOutcomeSchema,
|
|
28796
|
+
error: string().optional(),
|
|
28797
|
+
addonIds: array(string()).readonly(),
|
|
28798
|
+
runnersStopped: array(string()).readonly(),
|
|
28799
|
+
warnings: array(string()).readonly()
|
|
28800
|
+
});
|
|
28801
|
+
var UninstallPackageResultSchema = object({
|
|
28802
|
+
/** Every targeted node ended `uninstalled`, `not-installed` or `pending-reconnect`. */
|
|
28803
|
+
success: boolean(),
|
|
28804
|
+
packageName: string(),
|
|
28805
|
+
results: array(UninstallNodeResultSchema).readonly()
|
|
28806
|
+
});
|
|
28807
|
+
/**
|
|
28808
|
+
* `unreachable` lists online agents whose status read FAILED — absence from
|
|
28809
|
+
* `installations` is only "not installed" for a node that answered (D315).
|
|
28810
|
+
*/
|
|
28811
|
+
var PackageInstallationsSchema = object({
|
|
28812
|
+
installations: array(object({
|
|
28813
|
+
packageName: string(),
|
|
28814
|
+
nodeId: string(),
|
|
28815
|
+
nodeName: string(),
|
|
28816
|
+
isHub: boolean(),
|
|
28817
|
+
isOnline: boolean(),
|
|
28818
|
+
version: string().nullable(),
|
|
28819
|
+
addonIds: array(string()).readonly(),
|
|
28820
|
+
source: _enum(["live", "recorded"]),
|
|
28821
|
+
/** The hub installs this package too. `false` on an agent row = an orphan. */
|
|
28822
|
+
onHub: boolean()
|
|
28823
|
+
})).readonly(),
|
|
28824
|
+
unreachable: array(object({
|
|
28825
|
+
nodeId: string(),
|
|
28826
|
+
error: string()
|
|
28827
|
+
})).readonly()
|
|
28828
|
+
});
|
|
28301
28829
|
var BulkUpdateItemStatusSchema = _enum([
|
|
28302
28830
|
"queued",
|
|
28303
28831
|
"updating",
|
|
@@ -28380,10 +28908,14 @@ method(_void(), array(AddonListItemSchema).readonly()), method(object({
|
|
|
28380
28908
|
}), method(object({ packageName: string() }), InstallPackageResultSchema, {
|
|
28381
28909
|
kind: "mutation",
|
|
28382
28910
|
auth: "admin"
|
|
28383
|
-
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28911
|
+
}), method(_void(), boolean()), method(_void(), array(unknown()).readonly()), method(object({
|
|
28912
|
+
packageName: string().min(1),
|
|
28913
|
+
nodeId: string().optional(),
|
|
28914
|
+
everywhere: boolean().optional()
|
|
28915
|
+
}), UninstallPackageResultSchema, {
|
|
28384
28916
|
kind: "mutation",
|
|
28385
28917
|
auth: "admin"
|
|
28386
|
-
}), method(_void(), ReloadPackagesResultSchema, {
|
|
28918
|
+
}), method(object({ packageName: string().optional() }), PackageInstallationsSchema, { auth: "admin" }), method(_void(), ReloadPackagesResultSchema, {
|
|
28387
28919
|
kind: "mutation",
|
|
28388
28920
|
auth: "admin"
|
|
28389
28921
|
}), method(object({ query: string().optional() }), array(SearchResultSchema)), method(object({ nodeId: string().optional() }), array(PackageUpdateSchema).readonly(), { auth: "admin" }), method(object({
|
|
@@ -30734,7 +31266,8 @@ var ConnectionEndpointSchema = object({
|
|
|
30734
31266
|
"lan-ipv6",
|
|
30735
31267
|
"public",
|
|
30736
31268
|
"loopback",
|
|
30737
|
-
"app-link"
|
|
31269
|
+
"app-link",
|
|
31270
|
+
"custom"
|
|
30738
31271
|
]),
|
|
30739
31272
|
/**
|
|
30740
31273
|
* Originating-interface kind — `lan`/`wifi`/`docker`/`vpn`/`other`/
|
|
@@ -30803,7 +31336,7 @@ var GetConnectionEndpointsResultSchema = object({
|
|
|
30803
31336
|
localPort: AdvertisedLocalPortSchema
|
|
30804
31337
|
});
|
|
30805
31338
|
/**
|
|
30806
|
-
* The address flagged for notification
|
|
31339
|
+
* The address flagged for notification taps (`notificationTaps`). `baseUrl: null` = AUTO, which
|
|
30807
31340
|
* since D709 is the CamStack app link; `resolved` reports the effective value,
|
|
30808
31341
|
* so the UI can show it either way.
|
|
30809
31342
|
*/
|
|
@@ -30836,6 +31369,72 @@ var ViewerEndpointsSchema = object({
|
|
|
30836
31369
|
/** What the ranking currently resolves to (may be empty if nothing is up). */
|
|
30837
31370
|
resolved: array(string()).readonly()
|
|
30838
31371
|
});
|
|
31372
|
+
/**
|
|
31373
|
+
* DEPRECATED compatibility shape of `getHubAddresses` (D729 amendment, kept
|
|
31374
|
+
* for addons built against it): `cluster` is the `internal` role, `browser`
|
|
31375
|
+
* the `publicEndpoint` role; `override` is the flagged address.
|
|
31376
|
+
*/
|
|
31377
|
+
var HubAddressSnapshotSchema = object({
|
|
31378
|
+
override: string().nullable(),
|
|
31379
|
+
resolved: string().nullable(),
|
|
31380
|
+
source: _enum([
|
|
31381
|
+
"override",
|
|
31382
|
+
"auto",
|
|
31383
|
+
"none"
|
|
31384
|
+
])
|
|
31385
|
+
});
|
|
31386
|
+
var HubAddressesSchema = object({
|
|
31387
|
+
cluster: HubAddressSnapshotSchema,
|
|
31388
|
+
browser: HubAddressSnapshotSchema
|
|
31389
|
+
});
|
|
31390
|
+
/**
|
|
31391
|
+
* What an address is used for (`hub-address.ts`, D734). `appConnections` is
|
|
31392
|
+
* many-valued; `notificationTaps`, `publicEndpoint` and `internal` are carried
|
|
31393
|
+
* by at most one address.
|
|
31394
|
+
*/
|
|
31395
|
+
var HubAddressRoleSchema = _enum(HUB_ADDRESS_ROLES);
|
|
31396
|
+
var RoleSourceSchema = _enum([
|
|
31397
|
+
"flagged",
|
|
31398
|
+
"auto",
|
|
31399
|
+
"none"
|
|
31400
|
+
]);
|
|
31401
|
+
/** One single-valued role: the flagged address, the one in use, and why. */
|
|
31402
|
+
var HubAddressRoleResolutionSchema = object({
|
|
31403
|
+
/** The address carrying the flag, or null = automatic. */
|
|
31404
|
+
flagged: string().nullable(),
|
|
31405
|
+
/** The address in use, or null when nothing qualifies (never loopback). */
|
|
31406
|
+
resolved: string().nullable(),
|
|
31407
|
+
source: RoleSourceSchema
|
|
31408
|
+
});
|
|
31409
|
+
var HubAppConnectionsResolutionSchema = object({
|
|
31410
|
+
/** The addresses flagged `appConnections`, or empty = automatic. */
|
|
31411
|
+
flagged: array(string()).readonly(),
|
|
31412
|
+
/** What the apps race right now. */
|
|
31413
|
+
resolved: array(string()).readonly(),
|
|
31414
|
+
source: RoleSourceSchema
|
|
31415
|
+
});
|
|
31416
|
+
var HubAddressBookSchema = object({
|
|
31417
|
+
rows: array(ConnectionEndpointSchema.extend({
|
|
31418
|
+
/** In the hub's detected palette right now. */
|
|
31419
|
+
detected: boolean(),
|
|
31420
|
+
/** Entered by the operator (removable). */
|
|
31421
|
+
custom: boolean(),
|
|
31422
|
+
/** The roles explicitly flagged on this address. */
|
|
31423
|
+
flags: array(HubAddressRoleSchema).readonly(),
|
|
31424
|
+
/** The roles this address serves right now — flagged or automatic. */
|
|
31425
|
+
inUse: array(HubAddressRoleSchema).readonly(),
|
|
31426
|
+
/** The roles this address may be flagged with. */
|
|
31427
|
+
eligible: array(HubAddressRoleSchema).readonly()
|
|
31428
|
+
})).readonly(),
|
|
31429
|
+
roles: object({
|
|
31430
|
+
appConnections: HubAppConnectionsResolutionSchema,
|
|
31431
|
+
notificationTaps: HubAddressRoleResolutionSchema,
|
|
31432
|
+
internal: HubAddressRoleResolutionSchema,
|
|
31433
|
+
publicEndpoint: HubAddressRoleResolutionSchema
|
|
31434
|
+
}),
|
|
31435
|
+
/** The `hub=` an app link carries (D709), or null. */
|
|
31436
|
+
appLinkHub: string().nullable()
|
|
31437
|
+
});
|
|
30839
31438
|
var AllowedAddressesSchema = object({
|
|
30840
31439
|
/**
|
|
30841
31440
|
* Allowlist of interface addresses operators have explicitly opted
|
|
@@ -30879,10 +31478,27 @@ method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(obje
|
|
|
30879
31478
|
* tunnel always emits `https://` regardless. */
|
|
30880
31479
|
scheme: _enum(["http", "https"]).optional(),
|
|
30881
31480
|
/** Append the CamStack app link entry (`kind: 'app-link'`, D709) —
|
|
30882
|
-
* an address notification
|
|
31481
|
+
* an address notification taps can be flagged with, not a hub
|
|
30883
31482
|
* route. Default `false`: racers and rankers never see it. */
|
|
30884
31483
|
includeAppLink: boolean().optional()
|
|
30885
|
-
}), 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(
|
|
31484
|
+
}), 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({
|
|
31485
|
+
baseUrl: string(),
|
|
31486
|
+
label: string().max(80)
|
|
31487
|
+
}), HubAddressBookSchema, {
|
|
31488
|
+
kind: "mutation",
|
|
31489
|
+
auth: "admin"
|
|
31490
|
+
}), method(object({ baseUrl: string() }), HubAddressBookSchema, {
|
|
31491
|
+
kind: "mutation",
|
|
31492
|
+
auth: "admin"
|
|
31493
|
+
}), method(object({
|
|
31494
|
+
role: HubAddressRoleSchema,
|
|
31495
|
+
baseUrl: string().nullable(),
|
|
31496
|
+
enabled: boolean(),
|
|
31497
|
+
acceptInsecureHttp: boolean().optional()
|
|
31498
|
+
}), HubAddressBookSchema, {
|
|
31499
|
+
kind: "mutation",
|
|
31500
|
+
auth: "admin"
|
|
31501
|
+
}), 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, {
|
|
30886
31502
|
kind: "mutation",
|
|
30887
31503
|
auth: "admin"
|
|
30888
31504
|
}), method(object({
|
|
@@ -31272,7 +31888,8 @@ object({
|
|
|
31272
31888
|
* writes this slice (not even a boot seed), and neither does the runner's
|
|
31273
31889
|
* phase machine: its phase is "a session is attached" for every on-motion
|
|
31274
31890
|
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
31275
|
-
* A provider's `isDetected`
|
|
31891
|
+
* A provider's `isDetected` and `getStatus` answer from the hub's slice
|
|
31892
|
+
* (`hubMotionNativeProvider`).
|
|
31276
31893
|
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
31277
31894
|
* imports) — the provider pushes both edges itself, from the upstream
|
|
31278
31895
|
* system's own state change. That is the sensor's own fact.
|
|
@@ -35990,6 +36607,32 @@ var TotpStatusSchema = object({
|
|
|
35990
36607
|
/** Null when no row exists OR the row is still pending confirmation. */
|
|
35991
36608
|
confirmedAt: number().nullable()
|
|
35992
36609
|
});
|
|
36610
|
+
/**
|
|
36611
|
+
* user-management — singleton capability for user accounts, API keys,
|
|
36612
|
+
* and scoped tokens.
|
|
36613
|
+
*
|
|
36614
|
+
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
36615
|
+
* — the subset check on `setUserScopes` / `createScopedToken` is moot
|
|
36616
|
+
* because non-admins never reach these. If/when we open non-admin
|
|
36617
|
+
* delegation, structural caller-scope subset check goes inside the
|
|
36618
|
+
* provider.
|
|
36619
|
+
*/
|
|
36620
|
+
var ExternalIdentitySchema = object({
|
|
36621
|
+
/** Login-method id of the provider instance, e.g. `auth-oidc/authentik`. */
|
|
36622
|
+
provider: string(),
|
|
36623
|
+
/** The IdP's stable subject (`sub`) for this account. */
|
|
36624
|
+
subject: string(),
|
|
36625
|
+
/** The verified `iss` of the IdP the identity was linked under — `sub` is unique only per issuer. */
|
|
36626
|
+
issuer: string(),
|
|
36627
|
+
userId: string(),
|
|
36628
|
+
/** What the IdP called the account at link time (username / email) — display only. */
|
|
36629
|
+
label: string().optional(),
|
|
36630
|
+
linkedAt: number()
|
|
36631
|
+
});
|
|
36632
|
+
var ExternalIdentityKeySchema = object({
|
|
36633
|
+
provider: string().min(1),
|
|
36634
|
+
subject: string().min(1)
|
|
36635
|
+
});
|
|
35993
36636
|
method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserInputSchema, UserSummarySchema, {
|
|
35994
36637
|
kind: "mutation",
|
|
35995
36638
|
auth: "admin",
|
|
@@ -36103,7 +36746,22 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
36103
36746
|
userId: string(),
|
|
36104
36747
|
username: string(),
|
|
36105
36748
|
scopes: array(TokenScopeSchema)
|
|
36106
|
-
}).nullable(), { access: "view" }), method(
|
|
36749
|
+
}).nullable(), { access: "view" }), method(object({ userId: string() }), array(ExternalIdentitySchema), { auth: "admin" }), method(ExternalIdentityKeySchema, object({
|
|
36750
|
+
userId: string(),
|
|
36751
|
+
issuer: string()
|
|
36752
|
+
}).nullable(), { auth: "admin" }), method(ExternalIdentityKeySchema.extend({
|
|
36753
|
+
userId: string(),
|
|
36754
|
+
issuer: string().min(1),
|
|
36755
|
+
label: string().optional()
|
|
36756
|
+
}), object({ success: literal(true) }), {
|
|
36757
|
+
kind: "mutation",
|
|
36758
|
+
auth: "admin",
|
|
36759
|
+
access: "create"
|
|
36760
|
+
}), method(ExternalIdentityKeySchema.extend({ userId: string() }), object({ success: boolean() }), {
|
|
36761
|
+
kind: "mutation",
|
|
36762
|
+
auth: "admin",
|
|
36763
|
+
access: "delete"
|
|
36764
|
+
}), method(_void(), array(OauthSessionSummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: boolean() }), {
|
|
36107
36765
|
kind: "mutation",
|
|
36108
36766
|
auth: "admin",
|
|
36109
36767
|
access: "delete"
|
|
@@ -36495,6 +37153,16 @@ DeviceType.Camera, method(object({
|
|
|
36495
37153
|
package: array(ZoneRuleSchema).readonly()
|
|
36496
37154
|
});
|
|
36497
37155
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
37156
|
+
Object.freeze({
|
|
37157
|
+
person: .5,
|
|
37158
|
+
vehicle: .5,
|
|
37159
|
+
animal: .5
|
|
37160
|
+
});
|
|
37161
|
+
Object.freeze({
|
|
37162
|
+
person: .65,
|
|
37163
|
+
vehicle: .65,
|
|
37164
|
+
animal: .65
|
|
37165
|
+
});
|
|
36498
37166
|
/**
|
|
36499
37167
|
* Accessory device helpers — shared across drivers.
|
|
36500
37168
|
*
|
|
@@ -37488,6 +38156,12 @@ Object.freeze({
|
|
|
37488
38156
|
addonId: null,
|
|
37489
38157
|
access: "view"
|
|
37490
38158
|
},
|
|
38159
|
+
"addons.listInstallations": {
|
|
38160
|
+
capName: "addons",
|
|
38161
|
+
capScope: "system",
|
|
38162
|
+
addonId: null,
|
|
38163
|
+
access: "view"
|
|
38164
|
+
},
|
|
37491
38165
|
"addons.listJobs": {
|
|
37492
38166
|
capName: "addons",
|
|
37493
38167
|
capScope: "system",
|
|
@@ -38670,90 +39344,18 @@ Object.freeze({
|
|
|
38670
39344
|
addonId: null,
|
|
38671
39345
|
access: "create"
|
|
38672
39346
|
},
|
|
38673
|
-
"decoder.createSession": {
|
|
38674
|
-
capName: "decoder",
|
|
38675
|
-
capScope: "system",
|
|
38676
|
-
addonId: null,
|
|
38677
|
-
access: "view"
|
|
38678
|
-
},
|
|
38679
|
-
"decoder.destroySession": {
|
|
38680
|
-
capName: "decoder",
|
|
38681
|
-
capScope: "system",
|
|
38682
|
-
addonId: null,
|
|
38683
|
-
access: "delete"
|
|
38684
|
-
},
|
|
38685
|
-
"decoder.getFrame": {
|
|
38686
|
-
capName: "decoder",
|
|
38687
|
-
capScope: "system",
|
|
38688
|
-
addonId: null,
|
|
38689
|
-
access: "view"
|
|
38690
|
-
},
|
|
38691
39347
|
"decoder.getInfo": {
|
|
38692
39348
|
capName: "decoder",
|
|
38693
39349
|
capScope: "system",
|
|
38694
39350
|
addonId: null,
|
|
38695
39351
|
access: "view"
|
|
38696
39352
|
},
|
|
38697
|
-
"decoder.getShmStats": {
|
|
38698
|
-
capName: "decoder",
|
|
38699
|
-
capScope: "system",
|
|
38700
|
-
addonId: null,
|
|
38701
|
-
access: "view"
|
|
38702
|
-
},
|
|
38703
|
-
"decoder.getStats": {
|
|
38704
|
-
capName: "decoder",
|
|
38705
|
-
capScope: "system",
|
|
38706
|
-
addonId: null,
|
|
38707
|
-
access: "view"
|
|
38708
|
-
},
|
|
38709
|
-
"decoder.listActiveSessions": {
|
|
38710
|
-
capName: "decoder",
|
|
38711
|
-
capScope: "system",
|
|
38712
|
-
addonId: null,
|
|
38713
|
-
access: "view"
|
|
38714
|
-
},
|
|
38715
|
-
"decoder.openStream": {
|
|
38716
|
-
capName: "decoder",
|
|
38717
|
-
capScope: "system",
|
|
38718
|
-
addonId: null,
|
|
38719
|
-
access: "view"
|
|
38720
|
-
},
|
|
38721
|
-
"decoder.pullFrames": {
|
|
38722
|
-
capName: "decoder",
|
|
38723
|
-
capScope: "system",
|
|
38724
|
-
addonId: null,
|
|
38725
|
-
access: "view"
|
|
38726
|
-
},
|
|
38727
|
-
"decoder.pullHandles": {
|
|
38728
|
-
capName: "decoder",
|
|
38729
|
-
capScope: "system",
|
|
38730
|
-
addonId: null,
|
|
38731
|
-
access: "view"
|
|
38732
|
-
},
|
|
38733
|
-
"decoder.pushPacket": {
|
|
38734
|
-
capName: "decoder",
|
|
38735
|
-
capScope: "system",
|
|
38736
|
-
addonId: null,
|
|
38737
|
-
access: "view"
|
|
38738
|
-
},
|
|
38739
39353
|
"decoder.reprobeHwaccel": {
|
|
38740
39354
|
capName: "decoder",
|
|
38741
39355
|
capScope: "system",
|
|
38742
39356
|
addonId: null,
|
|
38743
39357
|
access: "create"
|
|
38744
39358
|
},
|
|
38745
|
-
"decoder.supportsCodec": {
|
|
38746
|
-
capName: "decoder",
|
|
38747
|
-
capScope: "system",
|
|
38748
|
-
addonId: null,
|
|
38749
|
-
access: "view"
|
|
38750
|
-
},
|
|
38751
|
-
"decoder.updateConfig": {
|
|
38752
|
-
capName: "decoder",
|
|
38753
|
-
capScope: "system",
|
|
38754
|
-
addonId: null,
|
|
38755
|
-
access: "view"
|
|
38756
|
-
},
|
|
38757
39359
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
38758
39360
|
capName: "detection-pipeline",
|
|
38759
39361
|
capScope: "device",
|
|
@@ -40242,12 +40844,24 @@ Object.freeze({
|
|
|
40242
40844
|
addonId: null,
|
|
40243
40845
|
access: "view"
|
|
40244
40846
|
},
|
|
40847
|
+
"localNetwork.addCustomAddress": {
|
|
40848
|
+
capName: "local-network",
|
|
40849
|
+
capScope: "system",
|
|
40850
|
+
addonId: null,
|
|
40851
|
+
access: "create"
|
|
40852
|
+
},
|
|
40245
40853
|
"localNetwork.downloadCa": {
|
|
40246
40854
|
capName: "local-network",
|
|
40247
40855
|
capScope: "system",
|
|
40248
40856
|
addonId: null,
|
|
40249
40857
|
access: "view"
|
|
40250
40858
|
},
|
|
40859
|
+
"localNetwork.getAddresses": {
|
|
40860
|
+
capName: "local-network",
|
|
40861
|
+
capScope: "system",
|
|
40862
|
+
addonId: null,
|
|
40863
|
+
access: "view"
|
|
40864
|
+
},
|
|
40251
40865
|
"localNetwork.getAllowedAddresses": {
|
|
40252
40866
|
capName: "local-network",
|
|
40253
40867
|
capScope: "system",
|
|
@@ -40260,6 +40874,12 @@ Object.freeze({
|
|
|
40260
40874
|
addonId: null,
|
|
40261
40875
|
access: "view"
|
|
40262
40876
|
},
|
|
40877
|
+
"localNetwork.getHubAddresses": {
|
|
40878
|
+
capName: "local-network",
|
|
40879
|
+
capScope: "system",
|
|
40880
|
+
addonId: null,
|
|
40881
|
+
access: "view"
|
|
40882
|
+
},
|
|
40263
40883
|
"localNetwork.getNotificationEndpoint": {
|
|
40264
40884
|
capName: "local-network",
|
|
40265
40885
|
capScope: "system",
|
|
@@ -40296,6 +40916,12 @@ Object.freeze({
|
|
|
40296
40916
|
addonId: null,
|
|
40297
40917
|
access: "create"
|
|
40298
40918
|
},
|
|
40919
|
+
"localNetwork.removeCustomAddress": {
|
|
40920
|
+
capName: "local-network",
|
|
40921
|
+
capScope: "system",
|
|
40922
|
+
addonId: null,
|
|
40923
|
+
access: "delete"
|
|
40924
|
+
},
|
|
40299
40925
|
"localNetwork.resetAllowlistToBestMatch": {
|
|
40300
40926
|
capName: "local-network",
|
|
40301
40927
|
capScope: "system",
|
|
@@ -40308,6 +40934,12 @@ Object.freeze({
|
|
|
40308
40934
|
addonId: null,
|
|
40309
40935
|
access: "create"
|
|
40310
40936
|
},
|
|
40937
|
+
"localNetwork.setAddressRole": {
|
|
40938
|
+
capName: "local-network",
|
|
40939
|
+
capScope: "system",
|
|
40940
|
+
addonId: null,
|
|
40941
|
+
access: "create"
|
|
40942
|
+
},
|
|
40311
40943
|
"localNetwork.setAllowedAddresses": {
|
|
40312
40944
|
capName: "local-network",
|
|
40313
40945
|
capScope: "system",
|
|
@@ -41754,6 +42386,12 @@ Object.freeze({
|
|
|
41754
42386
|
addonId: null,
|
|
41755
42387
|
access: "create"
|
|
41756
42388
|
},
|
|
42389
|
+
"pipelineAnalytics.setRetrainFrameComplete": {
|
|
42390
|
+
capName: "pipeline-analytics",
|
|
42391
|
+
capScope: "device",
|
|
42392
|
+
addonId: null,
|
|
42393
|
+
access: "create"
|
|
42394
|
+
},
|
|
41757
42395
|
"pipelineAnalytics.setTrackFlags": {
|
|
41758
42396
|
capName: "pipeline-analytics",
|
|
41759
42397
|
capScope: "device",
|
|
@@ -41790,6 +42428,12 @@ Object.freeze({
|
|
|
41790
42428
|
addonId: null,
|
|
41791
42429
|
access: "delete"
|
|
41792
42430
|
},
|
|
42431
|
+
"pipelineAnalytics.writeRetrainArchive": {
|
|
42432
|
+
capName: "pipeline-analytics",
|
|
42433
|
+
capScope: "device",
|
|
42434
|
+
addonId: null,
|
|
42435
|
+
access: "create"
|
|
42436
|
+
},
|
|
41793
42437
|
"pipelineExecutor.cacheFrameInPool": {
|
|
41794
42438
|
capName: "pipeline-executor",
|
|
41795
42439
|
capScope: "system",
|
|
@@ -41802,13 +42446,13 @@ Object.freeze({
|
|
|
41802
42446
|
addonId: null,
|
|
41803
42447
|
access: "delete"
|
|
41804
42448
|
},
|
|
41805
|
-
"pipelineExecutor.
|
|
42449
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
41806
42450
|
capName: "pipeline-executor",
|
|
41807
42451
|
capScope: "system",
|
|
41808
42452
|
addonId: null,
|
|
41809
42453
|
access: "delete"
|
|
41810
42454
|
},
|
|
41811
|
-
"pipelineExecutor.
|
|
42455
|
+
"pipelineExecutor.deleteModel": {
|
|
41812
42456
|
capName: "pipeline-executor",
|
|
41813
42457
|
capScope: "system",
|
|
41814
42458
|
addonId: null,
|
|
@@ -41952,12 +42596,6 @@ Object.freeze({
|
|
|
41952
42596
|
addonId: null,
|
|
41953
42597
|
access: "view"
|
|
41954
42598
|
},
|
|
41955
|
-
"pipelineExecutor.listTemplates": {
|
|
41956
|
-
capName: "pipeline-executor",
|
|
41957
|
-
capScope: "system",
|
|
41958
|
-
addonId: null,
|
|
41959
|
-
access: "view"
|
|
41960
|
-
},
|
|
41961
42599
|
"pipelineExecutor.rearmInferenceDevice": {
|
|
41962
42600
|
capName: "pipeline-executor",
|
|
41963
42601
|
capScope: "system",
|
|
@@ -41982,12 +42620,6 @@ Object.freeze({
|
|
|
41982
42620
|
addonId: null,
|
|
41983
42621
|
access: "create"
|
|
41984
42622
|
},
|
|
41985
|
-
"pipelineExecutor.saveTemplate": {
|
|
41986
|
-
capName: "pipeline-executor",
|
|
41987
|
-
capScope: "system",
|
|
41988
|
-
addonId: null,
|
|
41989
|
-
access: "create"
|
|
41990
|
-
},
|
|
41991
42623
|
"pipelineExecutor.setVideoPipelineSteps": {
|
|
41992
42624
|
capName: "pipeline-executor",
|
|
41993
42625
|
capScope: "system",
|
|
@@ -42006,41 +42638,35 @@ Object.freeze({
|
|
|
42006
42638
|
addonId: null,
|
|
42007
42639
|
access: "create"
|
|
42008
42640
|
},
|
|
42009
|
-
"pipelineExecutor.updateTemplate": {
|
|
42010
|
-
capName: "pipeline-executor",
|
|
42011
|
-
capScope: "system",
|
|
42012
|
-
addonId: null,
|
|
42013
|
-
access: "create"
|
|
42014
|
-
},
|
|
42015
42641
|
"pipelineExecutor.validatePipeline": {
|
|
42016
42642
|
capName: "pipeline-executor",
|
|
42017
42643
|
capScope: "system",
|
|
42018
42644
|
addonId: null,
|
|
42019
42645
|
access: "view"
|
|
42020
42646
|
},
|
|
42021
|
-
"pipelineOrchestrator.
|
|
42647
|
+
"pipelineOrchestrator.applyAutoTune": {
|
|
42022
42648
|
capName: "pipeline-orchestrator",
|
|
42023
42649
|
capScope: "system",
|
|
42024
42650
|
addonId: null,
|
|
42025
42651
|
access: "create"
|
|
42026
42652
|
},
|
|
42027
|
-
"pipelineOrchestrator.
|
|
42653
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": {
|
|
42028
42654
|
capName: "pipeline-orchestrator",
|
|
42029
42655
|
capScope: "system",
|
|
42030
42656
|
addonId: null,
|
|
42031
42657
|
access: "create"
|
|
42032
42658
|
},
|
|
42033
|
-
"pipelineOrchestrator.
|
|
42659
|
+
"pipelineOrchestrator.assignAudio": {
|
|
42034
42660
|
capName: "pipeline-orchestrator",
|
|
42035
42661
|
capScope: "system",
|
|
42036
42662
|
addonId: null,
|
|
42037
42663
|
access: "create"
|
|
42038
42664
|
},
|
|
42039
|
-
"pipelineOrchestrator.
|
|
42665
|
+
"pipelineOrchestrator.assignPipeline": {
|
|
42040
42666
|
capName: "pipeline-orchestrator",
|
|
42041
42667
|
capScope: "system",
|
|
42042
42668
|
addonId: null,
|
|
42043
|
-
access: "
|
|
42669
|
+
access: "create"
|
|
42044
42670
|
},
|
|
42045
42671
|
"pipelineOrchestrator.getAgentLoad": {
|
|
42046
42672
|
capName: "pipeline-orchestrator",
|
|
@@ -42132,6 +42758,12 @@ Object.freeze({
|
|
|
42132
42758
|
addonId: null,
|
|
42133
42759
|
access: "view"
|
|
42134
42760
|
},
|
|
42761
|
+
"pipelineOrchestrator.getEffectiveShares": {
|
|
42762
|
+
capName: "pipeline-orchestrator",
|
|
42763
|
+
capScope: "system",
|
|
42764
|
+
addonId: null,
|
|
42765
|
+
access: "view"
|
|
42766
|
+
},
|
|
42135
42767
|
"pipelineOrchestrator.getGlobalMetrics": {
|
|
42136
42768
|
capName: "pipeline-orchestrator",
|
|
42137
42769
|
capScope: "system",
|
|
@@ -42168,19 +42800,19 @@ Object.freeze({
|
|
|
42168
42800
|
addonId: null,
|
|
42169
42801
|
access: "view"
|
|
42170
42802
|
},
|
|
42171
|
-
"pipelineOrchestrator.
|
|
42803
|
+
"pipelineOrchestrator.getPlacementStats": {
|
|
42172
42804
|
capName: "pipeline-orchestrator",
|
|
42173
42805
|
capScope: "system",
|
|
42174
42806
|
addonId: null,
|
|
42175
42807
|
access: "view"
|
|
42176
42808
|
},
|
|
42177
|
-
"pipelineOrchestrator.
|
|
42809
|
+
"pipelineOrchestrator.getReconcileFromDiskStatus": {
|
|
42178
42810
|
capName: "pipeline-orchestrator",
|
|
42179
42811
|
capScope: "system",
|
|
42180
42812
|
addonId: null,
|
|
42181
42813
|
access: "view"
|
|
42182
42814
|
},
|
|
42183
|
-
"pipelineOrchestrator.
|
|
42815
|
+
"pipelineOrchestrator.listAgentSettings": {
|
|
42184
42816
|
capName: "pipeline-orchestrator",
|
|
42185
42817
|
capScope: "system",
|
|
42186
42818
|
addonId: null,
|
|
@@ -42192,6 +42824,12 @@ Object.freeze({
|
|
|
42192
42824
|
addonId: null,
|
|
42193
42825
|
access: "create"
|
|
42194
42826
|
},
|
|
42827
|
+
"pipelineOrchestrator.planAutoTune": {
|
|
42828
|
+
capName: "pipeline-orchestrator",
|
|
42829
|
+
capScope: "system",
|
|
42830
|
+
addonId: null,
|
|
42831
|
+
access: "view"
|
|
42832
|
+
},
|
|
42195
42833
|
"pipelineOrchestrator.rebalance": {
|
|
42196
42834
|
capName: "pipeline-orchestrator",
|
|
42197
42835
|
capScope: "system",
|
|
@@ -42234,12 +42872,6 @@ Object.freeze({
|
|
|
42234
42872
|
addonId: null,
|
|
42235
42873
|
access: "create"
|
|
42236
42874
|
},
|
|
42237
|
-
"pipelineOrchestrator.saveTemplate": {
|
|
42238
|
-
capName: "pipeline-orchestrator",
|
|
42239
|
-
capScope: "system",
|
|
42240
|
-
addonId: null,
|
|
42241
|
-
access: "create"
|
|
42242
|
-
},
|
|
42243
42875
|
"pipelineOrchestrator.setAgentCapabilities": {
|
|
42244
42876
|
capName: "pipeline-orchestrator",
|
|
42245
42877
|
capScope: "system",
|
|
@@ -42252,12 +42884,6 @@ Object.freeze({
|
|
|
42252
42884
|
addonId: null,
|
|
42253
42885
|
access: "create"
|
|
42254
42886
|
},
|
|
42255
|
-
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
42256
|
-
capName: "pipeline-orchestrator",
|
|
42257
|
-
capScope: "system",
|
|
42258
|
-
addonId: null,
|
|
42259
|
-
access: "create"
|
|
42260
|
-
},
|
|
42261
42887
|
"pipelineOrchestrator.setAgentInferenceDevices": {
|
|
42262
42888
|
capName: "pipeline-orchestrator",
|
|
42263
42889
|
capScope: "system",
|
|
@@ -42294,6 +42920,12 @@ Object.freeze({
|
|
|
42294
42920
|
addonId: null,
|
|
42295
42921
|
access: "create"
|
|
42296
42922
|
},
|
|
42923
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
42924
|
+
capName: "pipeline-orchestrator",
|
|
42925
|
+
capScope: "system",
|
|
42926
|
+
addonId: null,
|
|
42927
|
+
access: "create"
|
|
42928
|
+
},
|
|
42297
42929
|
"pipelineOrchestrator.setCameraStepToggle": {
|
|
42298
42930
|
capName: "pipeline-orchestrator",
|
|
42299
42931
|
capScope: "system",
|
|
@@ -42312,25 +42944,37 @@ Object.freeze({
|
|
|
42312
42944
|
addonId: null,
|
|
42313
42945
|
access: "create"
|
|
42314
42946
|
},
|
|
42947
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
42948
|
+
capName: "pipeline-orchestrator",
|
|
42949
|
+
capScope: "system",
|
|
42950
|
+
addonId: null,
|
|
42951
|
+
access: "create"
|
|
42952
|
+
},
|
|
42315
42953
|
"pipelineOrchestrator.setPipelineDevicePin": {
|
|
42316
42954
|
capName: "pipeline-orchestrator",
|
|
42317
42955
|
capScope: "system",
|
|
42318
42956
|
addonId: null,
|
|
42319
42957
|
access: "create"
|
|
42320
42958
|
},
|
|
42321
|
-
"pipelineOrchestrator.
|
|
42959
|
+
"pipelineOrchestrator.setShareSource": {
|
|
42322
42960
|
capName: "pipeline-orchestrator",
|
|
42323
42961
|
capScope: "system",
|
|
42324
42962
|
addonId: null,
|
|
42325
42963
|
access: "create"
|
|
42326
42964
|
},
|
|
42327
|
-
"pipelineOrchestrator.
|
|
42965
|
+
"pipelineOrchestrator.suggestShares": {
|
|
42966
|
+
capName: "pipeline-orchestrator",
|
|
42967
|
+
capScope: "system",
|
|
42968
|
+
addonId: null,
|
|
42969
|
+
access: "view"
|
|
42970
|
+
},
|
|
42971
|
+
"pipelineOrchestrator.unassignAudio": {
|
|
42328
42972
|
capName: "pipeline-orchestrator",
|
|
42329
42973
|
capScope: "system",
|
|
42330
42974
|
addonId: null,
|
|
42331
42975
|
access: "create"
|
|
42332
42976
|
},
|
|
42333
|
-
"pipelineOrchestrator.
|
|
42977
|
+
"pipelineOrchestrator.unassignPipeline": {
|
|
42334
42978
|
capName: "pipeline-orchestrator",
|
|
42335
42979
|
capScope: "system",
|
|
42336
42980
|
addonId: null,
|
|
@@ -43770,12 +44414,6 @@ Object.freeze({
|
|
|
43770
44414
|
addonId: null,
|
|
43771
44415
|
access: "view"
|
|
43772
44416
|
},
|
|
43773
|
-
"streamBroker.pullFrameHandles": {
|
|
43774
|
-
capName: "stream-broker",
|
|
43775
|
-
capScope: "system",
|
|
43776
|
-
addonId: null,
|
|
43777
|
-
access: "view"
|
|
43778
|
-
},
|
|
43779
44417
|
"streamBroker.regenerateRtspToken": {
|
|
43780
44418
|
capName: "stream-broker",
|
|
43781
44419
|
capScope: "system",
|
|
@@ -43842,12 +44480,6 @@ Object.freeze({
|
|
|
43842
44480
|
addonId: null,
|
|
43843
44481
|
access: "create"
|
|
43844
44482
|
},
|
|
43845
|
-
"streamBroker.subscribeFrames": {
|
|
43846
|
-
capName: "stream-broker",
|
|
43847
|
-
capScope: "system",
|
|
43848
|
-
addonId: null,
|
|
43849
|
-
access: "create"
|
|
43850
|
-
},
|
|
43851
44483
|
"streamBroker.unassignProfile": {
|
|
43852
44484
|
capName: "stream-broker",
|
|
43853
44485
|
capScope: "system",
|
|
@@ -43860,12 +44492,6 @@ Object.freeze({
|
|
|
43860
44492
|
addonId: null,
|
|
43861
44493
|
access: "create"
|
|
43862
44494
|
},
|
|
43863
|
-
"streamBroker.unsubscribeFrames": {
|
|
43864
|
-
capName: "stream-broker",
|
|
43865
|
-
capScope: "system",
|
|
43866
|
-
addonId: null,
|
|
43867
|
-
access: "create"
|
|
43868
|
-
},
|
|
43869
44495
|
"streamCatalog.getCatalog": {
|
|
43870
44496
|
capName: "stream-catalog",
|
|
43871
44497
|
capScope: "device",
|
|
@@ -44160,18 +44786,36 @@ Object.freeze({
|
|
|
44160
44786
|
addonId: null,
|
|
44161
44787
|
access: "delete"
|
|
44162
44788
|
},
|
|
44789
|
+
"userManagement.findUserByExternalIdentity": {
|
|
44790
|
+
capName: "user-management",
|
|
44791
|
+
capScope: "system",
|
|
44792
|
+
addonId: null,
|
|
44793
|
+
access: "view"
|
|
44794
|
+
},
|
|
44163
44795
|
"userManagement.getTotpStatus": {
|
|
44164
44796
|
capName: "user-management",
|
|
44165
44797
|
capScope: "system",
|
|
44166
44798
|
addonId: null,
|
|
44167
44799
|
access: "view"
|
|
44168
44800
|
},
|
|
44801
|
+
"userManagement.linkExternalIdentity": {
|
|
44802
|
+
capName: "user-management",
|
|
44803
|
+
capScope: "system",
|
|
44804
|
+
addonId: null,
|
|
44805
|
+
access: "create"
|
|
44806
|
+
},
|
|
44169
44807
|
"userManagement.listApiKeys": {
|
|
44170
44808
|
capName: "user-management",
|
|
44171
44809
|
capScope: "system",
|
|
44172
44810
|
addonId: null,
|
|
44173
44811
|
access: "view"
|
|
44174
44812
|
},
|
|
44813
|
+
"userManagement.listExternalIdentities": {
|
|
44814
|
+
capName: "user-management",
|
|
44815
|
+
capScope: "system",
|
|
44816
|
+
addonId: null,
|
|
44817
|
+
access: "view"
|
|
44818
|
+
},
|
|
44175
44819
|
"userManagement.listOauthSessions": {
|
|
44176
44820
|
capName: "user-management",
|
|
44177
44821
|
capScope: "system",
|
|
@@ -44250,6 +44894,12 @@ Object.freeze({
|
|
|
44250
44894
|
addonId: null,
|
|
44251
44895
|
access: "create"
|
|
44252
44896
|
},
|
|
44897
|
+
"userManagement.unlinkExternalIdentity": {
|
|
44898
|
+
capName: "user-management",
|
|
44899
|
+
capScope: "system",
|
|
44900
|
+
addonId: null,
|
|
44901
|
+
access: "delete"
|
|
44902
|
+
},
|
|
44253
44903
|
"userManagement.updateUser": {
|
|
44254
44904
|
capName: "user-management",
|
|
44255
44905
|
capScope: "system",
|
|
@@ -44562,6 +45212,12 @@ Object.freeze({
|
|
|
44562
45212
|
addonId: null,
|
|
44563
45213
|
access: "create"
|
|
44564
45214
|
},
|
|
45215
|
+
"webrtcSession.applyDownlinkProbe": {
|
|
45216
|
+
capName: "webrtc-session",
|
|
45217
|
+
capScope: "device",
|
|
45218
|
+
addonId: null,
|
|
45219
|
+
access: "create"
|
|
45220
|
+
},
|
|
44565
45221
|
"webrtcSession.closeSession": {
|
|
44566
45222
|
capName: "webrtc-session",
|
|
44567
45223
|
capScope: "device",
|
|
@@ -46439,11 +47095,6 @@ Object.freeze({
|
|
|
46439
47095
|
form: "single",
|
|
46440
47096
|
optional: false
|
|
46441
47097
|
}],
|
|
46442
|
-
"decoder.createSession": [{
|
|
46443
|
-
name: "deviceId",
|
|
46444
|
-
form: "single",
|
|
46445
|
-
optional: true
|
|
46446
|
-
}],
|
|
46447
47098
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
46448
47099
|
name: "deviceId",
|
|
46449
47100
|
form: "single",
|
|
@@ -47654,6 +48305,11 @@ Object.freeze({
|
|
|
47654
48305
|
form: "single",
|
|
47655
48306
|
optional: false
|
|
47656
48307
|
}],
|
|
48308
|
+
"pipelineAnalytics.setRetrainFrameComplete": [{
|
|
48309
|
+
name: "deviceId",
|
|
48310
|
+
form: "single",
|
|
48311
|
+
optional: false
|
|
48312
|
+
}],
|
|
47657
48313
|
"pipelineAnalytics.setTrackFlags": [{
|
|
47658
48314
|
name: "deviceId",
|
|
47659
48315
|
form: "single",
|
|
@@ -47674,6 +48330,11 @@ Object.freeze({
|
|
|
47674
48330
|
form: "single",
|
|
47675
48331
|
optional: false
|
|
47676
48332
|
}],
|
|
48333
|
+
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
48334
|
+
name: "deviceIds",
|
|
48335
|
+
form: "array",
|
|
48336
|
+
optional: true
|
|
48337
|
+
}],
|
|
47677
48338
|
"pipelineExecutor.runPipeline": [{
|
|
47678
48339
|
name: "deviceId",
|
|
47679
48340
|
form: "single",
|
|
@@ -47779,6 +48440,11 @@ Object.freeze({
|
|
|
47779
48440
|
form: "single",
|
|
47780
48441
|
optional: false
|
|
47781
48442
|
}],
|
|
48443
|
+
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
48444
|
+
name: "deviceId",
|
|
48445
|
+
form: "single",
|
|
48446
|
+
optional: false
|
|
48447
|
+
}],
|
|
47782
48448
|
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
47783
48449
|
name: "deviceId",
|
|
47784
48450
|
form: "single",
|
|
@@ -48550,6 +49216,11 @@ Object.freeze({
|
|
|
48550
49216
|
form: "single",
|
|
48551
49217
|
optional: false
|
|
48552
49218
|
}],
|
|
49219
|
+
"webrtcSession.applyDownlinkProbe": [{
|
|
49220
|
+
name: "deviceId",
|
|
49221
|
+
form: "single",
|
|
49222
|
+
optional: false
|
|
49223
|
+
}],
|
|
48553
49224
|
"webrtcSession.closeSession": [{
|
|
48554
49225
|
name: "deviceId",
|
|
48555
49226
|
form: "single",
|
|
@@ -48779,6 +49450,8 @@ new Map(Object.entries({
|
|
|
48779
49450
|
"detection-blind": "device-events",
|
|
48780
49451
|
"node-online": "system",
|
|
48781
49452
|
"node-offline": "system",
|
|
49453
|
+
"node-restarting": "system",
|
|
49454
|
+
"node-updating": "system",
|
|
48782
49455
|
"node-inference-unavailable": "system",
|
|
48783
49456
|
"addon-crash-loop": "system",
|
|
48784
49457
|
"addon-update-available": "system",
|
|
@@ -48856,6 +49529,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
48856
49529
|
kinds: [
|
|
48857
49530
|
"node-offline",
|
|
48858
49531
|
"node-online",
|
|
49532
|
+
"node-restarting",
|
|
48859
49533
|
"node-inference-unavailable"
|
|
48860
49534
|
]
|
|
48861
49535
|
},
|
|
@@ -48877,6 +49551,7 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
48877
49551
|
label: "Server & container updates",
|
|
48878
49552
|
kinds: [
|
|
48879
49553
|
"server-update-available",
|
|
49554
|
+
"node-updating",
|
|
48880
49555
|
"server-updated",
|
|
48881
49556
|
"wrapper-update-available"
|
|
48882
49557
|
]
|
|
@@ -49024,6 +49699,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
49024
49699
|
kinds: [
|
|
49025
49700
|
"node-offline",
|
|
49026
49701
|
"node-online",
|
|
49702
|
+
"node-restarting",
|
|
49027
49703
|
"node-inference-unavailable"
|
|
49028
49704
|
]
|
|
49029
49705
|
},
|
|
@@ -49045,6 +49721,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
49045
49721
|
example: "server 1.2.377 → 1.2.378",
|
|
49046
49722
|
kinds: [
|
|
49047
49723
|
"server-update-available",
|
|
49724
|
+
"node-updating",
|
|
49048
49725
|
"server-updated",
|
|
49049
49726
|
"wrapper-update-available"
|
|
49050
49727
|
]
|
|
@@ -49077,7 +49754,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
49077
49754
|
{
|
|
49078
49755
|
name: "summarySection",
|
|
49079
49756
|
label: "Summary: this section",
|
|
49080
|
-
description: "The section a per-section summary row is about
|
|
49757
|
+
description: "The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.",
|
|
49081
49758
|
example: "Batterie scariche",
|
|
49082
49759
|
group: "system",
|
|
49083
49760
|
families: ["rule"],
|
|
@@ -58645,7 +59322,7 @@ var onvifCameraSchema = object({
|
|
|
58645
59322
|
host: string().describe("Camera IP address or hostname"),
|
|
58646
59323
|
port: number().default(80).describe("ONVIF port (default: 80)"),
|
|
58647
59324
|
username: string().default("").describe("ONVIF username"),
|
|
58648
|
-
password: string().default("").describe("ONVIF password"),
|
|
59325
|
+
password: string().default("").describe("ONVIF password").meta({ secret: true }),
|
|
58649
59326
|
rtspUrl: string().describe("Primary RTSP stream URL"),
|
|
58650
59327
|
subStreamUrl: string().default("").describe("Sub-stream RTSP URL (optional)"),
|
|
58651
59328
|
snapshotUrl: string().default("").describe("Native snapshot URL (optional)"),
|