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